

@media (max-width:1560px) {
    .footer_content_r {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-direction: column-reverse;
    }
}

@media (max-width:1400px) {
    .dictionary_popup4{
        width: 100%;
    }
    .main_contents{
        min-height: unset;
    }
    .sub_wrep{
        width: 1400px;
    }
    .header{
        width: 1310px;
        position: unset !important;
        background-color: #ffffff !important;
    }
    .headerarea {
        width: 1290px;
    }
    .header.active2 {
        background-color: #ffffff !important;
        border:  unset !important;
    }
    header.active{
        background-color: #ffffff !important;
    }
    .sub_header_menubk{
        top: 76px;
    }
    .footer{
        width: 1400px;
    }
    .subpage_txtboxs{
        padding-top: 10px;
    }
}

@media (max-width:1300px) {
    .sub_contents{
        min-height: unset;
    }
    .headerarea {
        width: 1200px;
    }
}
@media (max-width:1000px) {
    #patientPopup,
    #viewComPopup,
    #viewComFrame4{
        overflow-x: auto;
        padding: 0px 10px;
        height: fit-content;
    }
    .dictionary_popup03_content{
        height: fit-content;
        overflow-x: auto;
        padding:10px;
        max-height: 90vh;
    }
    .load_dosage_popupcontent{
        width: 800px;
    }
    .load_dosage_popup{
        width: 90vw;
        overflow-x: auto;
        top: 10px;
        left: 20px;
        transform: unset;
    }
    .popuparea_contentbox{
        width: 90vw;
        height: fit-content;
        overflow-x: auto;
    }
    .sub_content_4{
        width: 100vw;
    }
    .payment_inforfixed.on {
        position: unset;
        padding: unset;
        top: unset;
        width: unset;
        z-index: unset;
    }
    .wrep_agreementbox {
        border-radius: 5px;
        margin-top: 20px;
        position: relative;
        overflow-x: auto;
        height: 95vh;
        width: 100vw;
    }
    .wrep_agreement{
        min-width: 800px;
    }
}