/**
 * Basic CSS Media Query Template
 * TODO: I should probably use Sass...
 * Author: Michael Vieth
 * ------------------------------------------
 *  Responsive Grid Media Queries - 1280, 1024, 768, 480
 *   1280-1024   - desktop (default grid)
 *   1024-768    - tablet landscape
 *   768-480     - tablet 
 *   480-less    - phone landscape & smaller
 * --------------------------------------------
 */
@media all and (min-width: 1024px) and (max-width: 1280px) { 
    .title__section span {
        font-size: 45px;
    }
    .sub_title_section span {
        font-size: 30px;
    }
    p.tamnhin_items_3 span {
        font-size: 19px;
    }
    p.sumenh_items_3 span {
        font-size: 19px;
    }
    .info__title span {
        font-size: 25px;
    }
    .timeline_left {
        border-right: 6px solid #ccc;
        padding: 70px 30px 0 30px;
    }
    .timeline_right {
        border-left: 6px solid #ccc;
        padding: 70px 30px 0 30px;
    }
    li.text_timeline_right {
        padding: 15px 60px 15px 0;
        font-size: 17px;
    }
    li.text_timeline_left {
        padding: 15px 0 15px 60px;
        font-size: 17px;
    }
    .text__infobelow span {
        font-size: 17px;
    }
    .img_infobelow p span {
        font-size: 16px;
    }
    .video_infobelow p span {
        font-size: 16px;
    }
    .social__footer ul {
        display: grid;
        flex-direction: row;
        flex-wrap: wrap;
        justify-items: center;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) { 
.d-block {
        display: none !important;
    }
    .tamnhin_section {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        gap: 35px;
    }
    .image_items {
        width: 50%;
    }
    .tamnhin_items {
        width: 100%;
    }
    .sumenh_section {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        gap: 35px;
    }
    .sumenh_items {
        width: 100%;
    }
    .info__title span {
        font-size: 19px;
        padding-top: 0;
    }
    .info__title {
        margin-top: 30px;
    }
    .info__title p {
        margin-bottom: 0;
    }
    .info_timeline ul li {
        padding-bottom: 30px;
    }
    p.title_timeline_mb {
       width: 100%; 
       text-align: center; 
       border-top: 1px solid #005495; 
       line-height: 0.1em;
       margin: 10px 0 20px;         
    }
    p.title_timeline_mb span {
        background: #fff;
        padding: 0 20px;
        font-size: 45px;
        font-weight: 600;
        color: #005495;
    }
    p.text_timeline_mb {
        padding: 10px 5px 0;
    }
    p.text_timeline_mb span {
        font-size: 17px;
    }
    p.img_timeline_mb {
        padding: 10px 0;
        text-align: center;
    }
    p.img_timeline_mb img {
        max-width: 100%;
        height: auto;
    }
    .text__infobelow {
        padding: 15px 20px;
    }
    .video_infobelow {
        padding: 10px 15px 50px;
    }
    .footer__items {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 25px;
    }
    .logo__footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
    .social__footer ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
}

@media all and (min-width: 480px) and (max-width: 768px) { 

}

@media all and (max-width: 480px) {
    .ipad-block {
        display: none;
    }
    .title__section span {
        font-size: 28px;
    }
    .sub_title_section span {
        font-size: 21px;
    }  
    hr.line_title_section {
        height: 1px;
        background: #005495;
        margin: 10px 35% 0;
        opacity: 1;
    }
    .image_items img {
        padding-bottom: 15px;
    }
    .image_items {
        padding-left: 15px;
        padding-right: 15px;
    }
    .tamnhin_section {
        padding-top: 10px;
    }
    .tamnhin_items {
        padding: 15px;
    }
    p.tamnhin_items_1 span {
        font-size: 22px;
    }
    p.tamnhin_items_2 {
        padding-top: 5px;
    }
    p.tamnhin_items_2 span {
        font-size: 19px;
    }
    p.tamnhin_items_3 {
        padding-top: 5px;
    }
    p.tamnhin_items_3 span {
        font-size: 18px;
    }
    .sumenh_items {
        padding: 15px;
    }
    .sumenh_section {
        padding-top: 10px;
    }
    p.sumenh_items_1 span {
        font-size: 22px;
    }
    p.sumenh_items_3 {
        padding-top: 5px;
    }
    p.sumenh_items_3 span {
        font-size: 18px;
    }
    .info__title span {
        font-size: 19px;
        padding-top: 0;
    }
    .info__title {
        margin-top: 30px;
    }
    .info__title p {
        margin-bottom: 0;
    }
    .info_timeline ul li {
        padding-bottom: 30px;
    }
    p.title_timeline_mb {
       width: 100%; 
       text-align: center; 
       border-top: 1px solid #005495; 
       line-height: 0.1em;
       margin: 10px 0 20px;         
    }
    p.title_timeline_mb span {
        background: #fff;
        padding: 0 20px;
        font-size: 45px;
        font-weight: 600;
        color: #005495;
    }
    p.text_timeline_mb {
        padding: 10px 5px 0;
    }
    p.text_timeline_mb span {
        font-size: 17px;
    }
    p.img_timeline_mb {
        padding: 10px 0;
    }
    p.img_timeline_mb img {
        max-width: 100%;
        height: auto;
    }
    .text__infobelow {
        padding: 0 15px;
    }
    .text__infobelow span {
        font-size: 17px;
    }
    .img_infobelow {
        padding: 20px 0 0;
    }
    .img_infobelow img {
        max-width: 100%;
        height: auto;
    }
    p.subtext_img {
        max-width: 100%;
        padding: 5px 40px;
    }
    .img_infobelow p span {
        font-size: 14px;
        color: #000000;
    }
    .preview-intro-video {
        margin-top: 0;
    }
    .video_infobelow {
        padding: 0px 0 50px;
    }
    .video_infobelow p span {
        font-size: 14px;
        color: #000000;
    }
    .logo__footer {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
        align-items: center;
    }
    .address__footer {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: space-between;
        justify-content: center;
        align-items: center;
        padding-top: 20px;
    }
    p.address-f {
        text-align: center;
    }    
    .logo__nsm__footer {
        padding-top: 0px;
    }
    .small-wrapper {
        padding: 15px 0px;
    }
    h2.title-doctor {
        font-size: 22px;
    }
    h3.subtitle-doctor {
        font-size: 15px;
        padding: 0 10px;
    }
    p.main-title-doctor {
        padding: 10px 10px;
    }
    p.sub-title-doctor {
        padding: 0 5px;
    }
    #sync1 .item {
        gap: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        background: url(../images/bg-main-doctor-mb.png);
        background-size: cover;
        padding: 0;
        height: 815px;
        margin: 0;
    }
    .text_main_doctor {
        text-align: left;
        padding: 0;
        width: 100%;
        padding: 40px 15px 20px;
    }
    p.text_main_doctor_1 {
        font-size: 20px !important;
        text-align: center;
    }
    p.text_main_doctor_2 {
        font-size: 17px !important;
        text-align: center;
    }
    .text_main_doctor p {
        font-size: 15px;
    }
    p.hr-line-doctor {
        width: 260px;
        margin: 0 auto 20px;
    }
}

@media all and (max-width: 380px) {
    .title__section span {
        font-size: 26px;
    }
    .sub_title_section span {
        font-size: 19px;
    }
    .info__title span {
        font-size: 17px;
        padding-top: 0;
    }
    p.address-f {
        text-align: center;
    }
    .address__footer {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: space-between;
        justify-content: center;
        align-items: center;
        padding-top: 20px;
    }

}
/* Portrait */
@media screen and (orientation:portrait) { /* Portrait styles here */ }
/* Landscape */
@media screen and (orientation:landscape) { /* Landscape styles here */ }


/* CSS for iPhone, iPad, and Retina Displays */

/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
}

/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
} 

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation:landscape) {
}

/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation:portrait) {
}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation:landscape) {
}