/**
 * 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: 1468px) and (max-width: 1588px) { 
    .text-km {
        right: 2%;
    }
    .rang_1 {
        position: relative;
    }
} 
@media all and (min-width: 1440px) and (max-width: 1468px) { 
    .text-km {
        right: 2%;
    }
    .rang_1 {
        position: relative;
    }
}
@media all and (min-width: 1368px) and (max-width: 1440px) { 
    .text-km {
        right: 2%;
    }
    .rang_1 {
        position: relative;
    }
}
@media all and (min-width: 1280px) and (max-width: 1368px) { 
    .text-km {
        right: 2%;
    }
    .rang_1 {
        position: relative;
    }
}
@media all and (min-width: 1024px) and (max-width: 1280px) { 

}

@media all and (min-width: 768px) and (max-width: 1024px) { 

}

@media all and (min-width: 480px) and (max-width: 768px) { 
    .pc {
        display: none !important;
    }
    .mobile {
        display: block !important;
    }
    .section_mobile_one {
        position: relative;
        background: url(../images/bg-mb-1.jpg.webp) no-repeat top center;
        background-size: cover;
        height: auto;
    }

}

@media all and (max-width: 480px) {
    .pc {
        display: none !important;
    }
    .mobile {
        display: block !important;       
    }
    #sectionMobile {
        background: #0160a0;
    }
    .section_mobile_one {
        position: relative;
        background: url(../images/bg-mb-1.jpg.webp) no-repeat top center;
        background-size: cover;
        height: auto;
    }
    .section_mobile_one ul {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding-left: 0;
    }
    .title_section_mobile_one {
        padding-top: 20px;
    }
    .section_mobile_two {
        position: relative;
        background: url(../images/bg-mb-2.png.webp) no-repeat top center;
        background-size: cover;
        height: auto;
        margin-top: -10%;
    }
    .section_mobile_two img {
        max-width: 100%;
        height: auto;
    }
    .b1_section_mobile_two {
        padding-top: 110px;
    }
    .section_mobile_one ul li img {
        max-width: 100%;
        height: auto;
    }
    .container {
        padding-left: 0;
        padding-right: 0;
    }
    .btn_fixed img {
        margin: 0 auto;
    } 
    .register_lp .container {
        padding-left: 0;
    }
    .form_register {
        position: absolute;
        width: 90%;
        margin: 20px auto;
        right: 0;
        padding: 0;
        left: 0;
    }
    .footer__items {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        --bs-gutter-x: 0;
    }
    .logo__footer {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
    .address__footer {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: space-between;
        justify-content: center;
        align-items: center;
        padding-top: 20px;
        width: 100%;
    }
    p.address-f {
        text-align: center;
        margin: 10px auto;
    }  
    p.address-f-2 {
        text-align: center;
        margin: 10px auto;
    } 
    p.hotline-f {
        margin: 10px auto;
    }  
    p.mail-f {
        margin: 10px auto;
    }
    .logo__nsm__footer {
        padding-top: 0px;
    }
    .social__footer {
        width: 100%;
    }
    .social__footer ul {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    .address-f span {
        font-size: 16px;
    }
    .address-f-2 span {
        font-size: 16px;
    }
    .social__footer {
        padding-left: 0;
    }
    .fa-envelope a {
        font-size: 16px;
    }
    .fa-envelope {
        font-size: 16px;
    }
    .fa-phone a {
        font-size: 16px;
    }
    .getfly-select {
        width: 100%;
    }
    .section-header ul {
        grid-template-columns: repeat(2,1fr);
    }
    .section-header ul li.logo_jw {
        text-align: left;
        padding-left: 10px;
    }
    .icon-zalo {
        position: fixed;
        z-index: 999;
        bottom: 30px;
        right: 25px;
    }
    .hotline-phone-ring-wrap {
        bottom: 28%;
    }
    .btn_fixed {
        bottom: 33%;
    }
}

@media all and (max-width: 380px) {
    .slide_customer img {
        width: 330px !important;
        height: auto;
    }
    #slide_customer .item {
        max-width: 330px;
        margin: 0 auto;
    } 
    .section-two {
        position: relative;
        background: url(../images/page-2-mb.jpg.webp) no-repeat top center;
        background-size: 100%;
        height: 509px;
    }  
}
/* 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) {
}