@media(max-width:1280px) {
    .patient-icon {
        flex-wrap: wrap;
    }

    .note-patient-content p {
        display: -webkit-box;
        max-width: 170px;
        -webkit-line-clamp: 7;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width:1200px) {
    .custmPatientName {
        display: flex;
        justify-content: space-between;
    }
}
@media(max-width:1024px) {
    .login_bg {
        grid-template-columns: 1fr;
    }

        .login_bg .login_form .form_box {
            width: 100%;
            padding: 40px;
            max-width: 90%;
        }

        .login_bg .login_formbox {
            display: none;
        }

        .login_bg .login_form .form_box .form-box {
            flex-direction: column;
        }

    .login_btn {
        margin-top: 30px;
    }

    .form_box h3 {
        font-size: 24px;
    }

    .form_box p {
        font-size: 12px;
    }

    .login_form {
        padding: 30px;
        box-sizing: border-box;
    }

    .table_header {
        flex-wrap: wrap;
    }
}



@media (max-width:767px) {
    .login_form {
        padding: unset;
        box-sizing: border-box;
    }
}

@media (max-height:768px) {
    .login_form {
        padding: 0px;
    }

        .login_form .form_box {
            padding: 20px 60px;
        }

    .form_logo img {
        width: 120px;
    }

    .form_logo, .form-group {
        margin-bottom: 12px;
    }

    .form_box p {
        margin-bottom: 8px;
    }

    .login_btn {
        margin-top: 20px;
    }

        .login_btn button.btn {
            padding: 12px 24px;
        }
    .dbBodysection {
    padding: 12px 16px!important;
    }

        .dbBodysection :is(.treatedPatientText, button, .dt-info, label, h5, div, .form-control ) {
            font-size: 14px;
        }

    .dbBodysection .searchBox button {
        height: 37px!important;
        font-size: 14px!important;
    }

    .heart-ecg {
        width: 28px;
        height: 28px;
    }

    .favorite-button .text {
        font-size: 14px;
        padding: 0px;
    }

    .embossed-nav .nav-item .nav-link {
        padding: 6px 24px;
        font-size: 14px;
    }

    .dbBodysection table :is(thead tr th, tbody tr td ) {
        font-size: 12px !important;
        line-height: 13px;
        padding: 5px 10px;
    }

    .dbBodysection .navbar {
        padding: 4px 0px;
    }

    #patientsListContainer .dt-scroll-body {
        max-height: calc(100vh - 360px) !important;
    }

    .note-patient-content p {
        margin-bottom: 0px;
        -webkit-line-clamp: 3;
        max-width: 100%;
    }

    .dbBodysection .patient-icon button {
        width: 28px;
        height: 28px;
        padding: 0px !important;
    }

/*        .dbBodysection :is(.patient-icon button) {
        width: 28px;
        height: 28px;
        padding: 0px!important;
    }
*/
    .dbBodysection .card-body, .primarybox-outer {
        padding: 6px;
    }

    .dbBodysection .dt-layout-table {
        margin-top: 8px !important;
    }
    .searchBox {
    --bs-gutter-y: 8px!important;
    }
    .headersec {
        height: 54px;
    }
    .logobox img {
        width: 70px;
    }
    .patient-info-upper-card > div {
    margin-bottom: 0px!important;
    }
    .patient-info-upper-card {
    height: 180px;
    }

    .anaphylactic-container > span {
    padding: 2px 4px;
    font-size:12px;
    }

    .list-group-item-light {
    line-height: 14px;
    height: 54px;
    }
    .zoom-btn {
    width:30px;
    height:30px;
    }
    :is( .category-box).patient-cardbody .card-header {
        padding: 0px 0px 8px 0px !important;
    }
    #viewFullTreatmentHistoryBtn {
        font-size: 12px;
    padding: 4px 8px!important;
    }
    .primary-box, .category-box.p-2 {
        padding: 4px!important;
    }
    .treatmentHistoryBlock {
        height: calc(100vh - 478px);
    }

        .treatmentHistoryBlock .accordion-item {
        margin-bottom: 8px!important;
        }

    :is(.treatmentHistoryBlock, #Treatment)  .accordion-body {
        padding: 6px!important;
    }

            .treatmentHistoryBlock .accordion-body .card-header {
                padding: 6px !important;
                font-size: 12px;
            }

            .treatmentHistoryBlock .accordion-body .card-body p {
                font-size: 12px;
                margin-bottom: 4px;
            }
    .cstmaccrodion .accordion-button {
        padding: 4px;
        font-size: 12px;
        margin-bottom: 4px;
    }
        .cstmaccrodion .accordion-button h6 {
        font-size: 12px;
        margin-bottom: 0px;
        }

    .partial-view-section {
        max-height: calc(100vh - 250px);
    }

    .chart-allergy-conatiner.p-3, .allergy-list.p-3, .initial-test-right-allergy-conatiner.p-3, #testingTabItemsContainer :is(.card.p-3, ul.p-3), .list-unstyled.custom-dropdown {
        padding: 8px !important;
    }

    .chart-allergy-conatiner .allergy-item-chart, .allergy-item-initial-test-left, .allergy-item-initial-test-right {
        font-size: 12px;
    }
    .custome-checkbox-chart label:before, .custome-checkbox label:before {
        margin-top: 0px;
    }
/*    .custome-checkbox-chart label, .custome-checkbox label {
        align-items: center;
    }*/
    .custome-checkbox-chart input:checked + label:after, .custome-checkbox input:checked + label:after {
        top: 4px !important;
    }
    .allergy-line.p-1 {
    padding: 0px!important;
padding-bottom:4px!important;
    }
    .no-icon-space {
    width: 16px;
    }

    .cstmCardHeadingWrapper h5 {
    margin-bottom: 0px;
    }

    .cstmCardHeadingWrapper {
        padding: 8px 4px;
        border-bottom: 1px solid rgba(0, 0, 0, .125);
        border-radius: 0px;
        box-shadow: none;

    }
   
        .cstmCardHeadingWrapper .favorite-button.cstm-transmit-btn .text {
            font-size: 14px;
            margin-left:4px;
        }
    .favorite-button.cstm-transmit-btn .icon {
    width:16px;
    height:16px;
    }
    .favorite-button.cstm-transmit-btn .heart-ecg {
        width: 16px;
        height: 16px;
    }
    .custmClerBtn button {
    min-height:31px;
    }
    .custome-checkbox {
    margin-bottom: 0px;
    }
    ul.allergy-list li, .list-unstyled.custom-dropdown li {
        margin-bottom: 4px;
    }
    div#initialTestContainer .primarybox-outer {
        height: calc(100vh - 230px);
        overflow-x:hidden;
    }

    .cstmAllergy-listWrapper {
        height: 100%;
        max-height: calc(100vh - 254px);
        min-height: calc(100vh - 314px);
    }
    .allergy-card {
        height: 100%;
    }

    .cstmCardHeadingWrapper > div.flex-wrap {
    flex-wrap: nowrap!important;
    }
    .cstmCardHeadingWrapper div.gap-2 {
        gap: 4px !important;
    }
    .cstmCardHeadingWrapper button, .favorite-button.cstm-transmit-btn {
        height: 31px;
        padding: 0px 8px!important;
    }

    #testingTabItemsContainer .mb-3 {
        margin-bottom: 8px !important;
    }


    .allergy-item, #treatmentCardsContainer strong, #testingTabItemsContainer label {
        font-size: 12px !important;
    }
    .allergy-list.level-2 .allergy-item {
        line-height: 12px;
    }
    .resizable-allergy-container {
        min-height: unset;
        height: calc(100vh - 480px);
    }
    .internal-btn {
    margin-top: 120px;
    }
    .btn {
    line-height: 1.1!important;
    padding: 4px 12px!important;
    }
    .list-unstyled.custom-dropdown {
        min-height: unset;
        height: calc(100vh - 290px)
    }
    div#treatmentCardsContainer {
        max-height: unset;
        height: calc(100vh - 300px);
    }
    #testingTabItemsContainer .p-2 {
    padding: 4px!important
    }

    .patient-table table {
        table-layout: fixed;
    }

    .clinic-info p {
    font-size: 12px;
    }

    #treatmentCardsContainer :is(.remove-item-btn, .remove-header-btn, .remove-focus-item ) {
        padding: 0px !important;
        height: 16px;
        width: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #allergyChartContainer {
    padding: 0px 12px!important;
    }

    #Treatment {
    padding: 12px!important;
    }

        #Treatment .cardWrapperBox, .cleared-toggle, .cstmTreatmentCompleteBtn, .cstmReturnToTestingTabBtn, .cstmAllergenClearedBtn, .unSelectedAllergenClearedBtn {
            padding: 6px;
        }

    .tmaccordion .toggle-select-btn {
    top: 10px;
    right: 11px!important;
    }

    #Treatment .cardWrapperBox > div {
        margin-bottom: 8px !important;
    }

    #Treatment > div.mt-4{
    margin-top:12px!important;
    }

    
    .modal-body {
    font-size: 14px;
    padding: 12px;
    }

        .modal-body .form-control {
        font-size: 14px;
        }

   .modal-body .mb-3 {
    margin-bottom: 8px!important;
    }
    .modal-header {
    padding: 12px 16px;
    }

    .patientchart-outer .mt-3 {
    margin-top: 6px!important;
    }

    .cstmaccrodion.tmaccordion .accordion-collapse .accordion-body .cstm-select-container {
        max-height: unset;
        min-height: unset;
        height: calc(100vh - 370px);
    }


    .cstmLocationDropdown button {
     line-height: normal!important;
     padding: 7px 10px!important;
    }

}
