img {
    display: block;
    max-width: 100%;
}
.preview {
    overflow: hidden;
    width: 130px; 
    height: 130px;
    margin: 10px;
    border: 1px solid red;
}
.fade:not(.show) {
    opacity: 1 !important;
}
.nav-pills .nav-link {
    border: none !important;
    background-color: rgb(101 116 96 / 82%);
    color: #fff !important;
}
.nav-pills .nav-link {
    border-radius: 0px !important;
}
.tab_link {
    padding: 10px 0px;
    border:1px solid #ccc;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #6c5f5f;
}

/* // new dashboard design */
.row-heading{
    display: flex;
    justify-content: space-between;
}
/* New design page css */
.icon_size{
    font-size: 2rem !important;
}
.card_border{
    border: 1px solid #336cfb;
    border-radius: 10px !important;
}
.card_alarm{
    /* background-color: #fef8f899 !important; */
    border: 1px solid #ccc;
    border-radius: 10px !important;
}
.card{
    margin-bottom: 1rem !important;
}
.card_patient_statics{
    height: 280px !important;
    border-radius: 20px !important;
}
.count{
    font-size: 1.8rem !important;
    font-weight: bold !important;
}
.row_shadow{
    box-shadow: 0px 0px 4px #ccc !important;
}
.table_background{
    background-color: #e0ebffb3 !important
}
.table_body{
    background-color: #fff !important;
}
.count_font{
    font-size: 12px !important;
    font-weight: bold;
}
.point {
    font-size: 1.8rem !important;
}
.patientcount1 {
    text-align: center;
    font-weight: bold !important;
    box-shadow: 0px 0px 4px #ccc;
    padding: 0.8rem 1.8rem;
    border-radius: 4rem;
}
.patient-card {
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 1.4rem;
}

.patient-list-image{
    min-width: 8vh !important;
}
.patient_image{
    width: 8vh !important;
}
.patient-card-text{
    font-size: 13px;
    color: #334D6E;
}
.patient_body{
    line-height: 1.8rem;
}
.details{
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
.details-last {
    border-bottom: 1px solid #000 !important;
}
.detail-center{
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    height: 100%;
}
.report-font{
    font-size: 12px;
}
/* Patient Profile page cc */
.first-row{
    box-shadow: 0px 2px 4px #ccc;
    padding: 1rem 2rem;
    border-radius: 2rem;
}
.patient-profile-image{
    height: 15vh !important;
}
.first-row-body{
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 2rem;
    margin-top: 2rem;
}
html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 10px; /* Remove scrollbar space */
    background: transparent; /* Optional: just make scrollbar invisible */
}
.patient-details{
    height: 22rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    line-height: 1.8rem;
}
.report_body{
    height: 28rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
.report-section{
    box-shadow: 0px 3px 4px #ccc;
    padding: 1rem 1.2rem;
    border-radius: 1.8rem;
}
.second-column-first {
    box-shadow: 0px 2px 4px #ccc;
    border-radius: 2rem;
}
.b-top{
    border-top: 1px solid #000;
    width:  100%;
    height:  100%;
}
.b-border {
    border-bottom: 1px solid #000;
    width:  100%;
    height:  100%;
}
.b-left{
    border-left:  1px solid #000;
    width:  100%;
    height:  100%;
}
.left-control{
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 1.8rem;
    display: flex;
    justify-content: center;
    margin-top: 2.6rem;
    padding: 0.6rem 0rem;
}
.control-image{
    height: 5vh;
}
.set-schedule{
    box-shadow: 0px 3px 4px #ccc;
    border-radius: 1.6rem;
    color: #000;
}
.input-field{
    background: #fff !important;
    color: #000 !important;
}
.pres-row{
    box-shadow: 0px 0px 4px #000;
    padding: 0rem 1.5rem;
    border-radius: 1.8rem;
}
.font_icon{
    font-size: 1rem !important;
}
.view_profile{
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 1rem;
    border: 1px solid #000;
}
/* consultation page css */

.consult-first{
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 1.8rem;
    display: flex;
    justify-content: center;
    padding: 0.6rem 2rem;
    background: #FFF9F9;
    border: 1px solid #000;
}

.consultation-report{
    box-shadow: 0px 3px 4px #ccc;
    padding: 1rem 1.2rem;
    border-radius: 1.8rem;
    margin-top: 1.5rem;
}

/* Consultation Graph page */
.view{
    box-shadow: 0px 2px 4px #ccc;
    border-radius: 2rem;
    display: flex;
    justify-content: space-between;
}
.yearView{
    height: 280px !important;
    border-radius: 20px !important;
}
.monthView{
    height: 280px !important;
    border-radius: 20px !important;
}

#myTab{
    border-radius: 1.8rem;
    box-shadow: 0px 0px 2px #ccc;
}
#tabs{
    background: #007b5e;
    color: #000;
}

#tabs h6.section-title{
    color: #eee;
}
.nav-tabs{
    border: none !important;
}
#tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #000;
    /* background-color: #007bff !important; */
    background-color: #e4e4e4 !important;
    border: none !important;
    font-weight: bold;
    border-radius:  1.8rem;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #fff !important;
}
#tabs .nav-tabs .nav-link {
    border: none !important;
    color: #eee;
    font-size: 20px;
}

.pharmacy-image{
    height: 20px !important;
    width: 20px !important;
}

/* Convert rpm patient css */
.first_trimester_checkbox_label{
    display:block;
    border:solid 2px #ccc;
    width: 100%;
    height:40px;
    /* margin-top:10px; */
    color:#000;
    text-align:center;
    line-height: 40px;
    border-radius: 1rem;
}

.first_trimester_checkbox_input{
    display: none;
}

input[name=first_trimester]:checked + label:before {
    content: "✓ ";
}

input[name=first_trimester]:checked + label {
    border: solid 2px purple;
    color: purple;
}

.second_trimester_checkbox_label{
    display:block;
    border:solid 2px #ccc;
    width: 100%;
    height:40px;
    /* margin-top:10px; */
    color:#000;
    text-align:center;
    line-height: 40px;
    border-radius: 1rem;
}

.second_trimester_checkbox_input{
    display: none;
}

input[name=second_trimester]:checked + label:before {
    content: "✓ ";
}

input[name=second_trimester]:checked + label {
    border: solid 2px purple;
    color: purple;
}

.third_trimester_checkbox_label{
    display:block;
    border:solid 2px #ccc;
    width: 100%;
    height:40px;
    /* margin-top:10px; */
    color:#000;
    text-align:center;
    line-height: 40px;
    border-radius: 1rem;
}

.third_trimester_checkbox_input{
    display: none;
}

input[name=third_trimester]:checked + label:before {
    content: "✓ ";
}

input[name=third_trimester]:checked + label {
    border: solid 2px purple;
    color: purple;
}
.schedule_button {
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 1.5rem;
    border:  1px solid #000;
}
.hide_button {
    box-shadow: 0px 0px 4px #ccc !important;
    border-radius: 1.5rem !important;
    border:  1px solid #000 !important;
}
.calender{
    box-shadow: 0px 0px 4px #ccc !important;
    border-radius: 1.5rem !important;
    border:  1px solid #000 !important;
}
.patient-image{
    height: 10vh !important; 
}
@media only screen and (max-width: 768px) {
    /* patient list page */
    .imagerow {
        display: flex;
        justify-content: center;
        border-bottom: 1px solid #000;
        margin-bottom: 1rem;
    }
    .patientImage{

        min-width: 8vh !important;
        height: 15vh !important;
        margin-bottom: 1rem;
    }
    .patient-card-text{
        font-size: 14px;
        color: #334D6E;
    }
    .first-row-body{
        display: flex;
        justify-content: center;
    }
    .mobile-text{
        font-size: 12px;
    }
    .control-sidebar{
        display: flex;
        flex-flow: row;
        justify-content: space-around;
    }
    .left-control{
        margin-top: 0rem;
        margin-bottom: 1.8rem;
        padding: 0.6rem 0.8rem;
    }
    .pres-text{
        font-size: 13px;
    }
    .report-font{
        font-size: 14px;
    }
}

.bg-light-gray {
    background-color: #f6f6f6;
}
.table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 2px;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #f6f6f6;
}
.table-bordered td, .table-bordered th {
    border: 1px solid #f6f6f6;
}

.padding-15px-lr {
    padding-left: 15px;
    padding-right: 15px;
}
.padding-5px-tb {
    padding-top: 5px;
    padding-bottom: 5px;
}
.margin-10px-bottom {
    margin-bottom: 10px;
}
.border-radius-5 {
    border-radius: 5px;
}

.margin-10px-top {
    margin-top: 10px;
}
.font-size14 {
    font-size: 14px;
}
.font-size13 {
    font-size: 13px;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #f6f6f6;
}
.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #f6f6f6;
}

.b-right {
    border-right:1px solid #000;
}
.b-left{
    border-left:1px solid #000;
}
.b-bottom{
    border-bottom:1px solid #000;
}
.b-top{
    border-top:1px solid #000;
}

.show_event{
    height: 188px !important;
    overflow-y: scroll;
    overflow-x: hidden;
}
.notes_div{
    height: 170px !important;
    overflow-y: scroll;
    overflow-x: hidden;
}
.alert-form-group{
        margin-bottom: 0px !important;
}
.arrow_icon{
    padding: 0px !important;
}

.my_tags{
    box-shadow:0px 0px 4px #ccc; 
    border-radius:0.8rem;
}