@media screen and (max-width: 1024px) {
    .hidden-device {
        display: none;
    }

    .visible-device {
        display: block;
    }

    .main {
        padding-top: 60px;
    }

    h1,
    .heading-h1 {
        font-size: 40px;
    }

    .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .heading-form h3 {
        font-size: 30px;
    }

    .share-group-show {
        width: 120px;
    }

    .share-group-show a.tw {
        border-right: 1px solid #eee;
    }

    .share-group-show a.li {
        display: block;
    }

    .sc-share-mobile a.li,
    .sc-share a.li {
        display: inline;
    }

    a[href^=tel] {
        cursor: pointer;
    }

}

@media screen and (max-width: 1023px) {

    h1,
    .heading-h1 {
        font-size: 35px;
    }

    .hidden-w1023 {
        display: none;
    }

    .visible-w1023 {
        display: block;
    }

    input[type=radio].css-checkbox + .css-label,
    input[type=checkbox].css-checkbox + .css-label {
        font-size: 22px;
    }

    .section-title h2.heading-h2 {
        font-size: 35px;
    }
    .select.change-lang select {
        padding: 0;
        background-color: unset;
        border: 0;
        color: #fff;
    }
    .select.change-lang {
        position: absolute;
        right: 40px;
        top: 20px;
    }
    .select.change-lang .select.select2 {
        background-color: unset;
        color: #fff;
        border: 0;
    }
}

@media screen and (max-width: 767px) {
    .modal-thk .box-splash{
        background: unset;
    }
    .px-splashGrid{
        background-image: url(https://www.nissanleasing.co.th/assets/img/popup/splash-m.png);
        /* background: saddlebrown; */
        background-size: cover;
    }
    span.br-desktop{
        display:none;
    }
    span.br {
        display: inline;
    }

    .hidden-w767 {
        display: none;
    }

    .visible-w767 {
        display: block;
    }

    span.br-767 {
        display: block;
    }

    .px-mobile-only {
        display: block;
    }

    .content-detail .heading-h1 {
        font-size: 30px;
    }

    .box-thk h3 {
        font-size: 25px;
    }

    .modal-thk .box-career {
        background: url(../img/popup-career-m.png) center;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 60px 20px;
        height: 600px;
    }

    .box-career .content-detail {
        width: 280px;
    }

    .box-career .content-detail .heading-h2 {
        font-size: 35px;
    }

    .box-career .content-detail .heading-h4 {
        margin: 10px 0;
        font-size: 22px;
    }

    .box-career .content-detail p {
        font-size: 20px;
    }

    .box-career .content-detail .btn {
        margin-top: 15px;
    }
    
    
    #popup-covid .mfp-close {
        top: 5px;
        right: 5px;
    }
    #popup-covid .mfp-close:before, 
    #popup-covid .mfp-close:after {
        width: 20px;
    }
    .modal-thk .box-covid {
        background: url(../img/popup/popup-mobile-5apr2022.png) center;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 60px 20px;
        height: 580px;
    }

    .box-covid .content-detail {
        max-width: 100%;
    }
    
    .box-covid .content-detail .btn {
        min-width: 120px;
        padding: 3px 15px;
    }

    .box-covid .content-detail .heading-h2 {
        font-size: 35px;
    }

    .box-covid .content-detail .heading-h4 {
        margin: 10px 0;
        font-size: 22px;
    }

    .box-covid .content-detail p {
        font-size: 20px;
    }

    .box-covid .content-detail .btn {
        margin-top: 15px;
    }

    .space-career {
        height: 220px;
    }
    .space-covid {
        height: 130px;
    }

    
}
