/* Reset */
.icw img.img-king {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.icw img.img-txt {
    width: 100%;
    max-width: 367px;
    margin: 0 auto;
    margin-left: 6%;
}

.splash-page .btn-img {
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}

.splash-page .btn-img img {
    display: block;
    width: 164px;
    cursor: pointer;
}

/* Splash */
#page.splash-page {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    text-align: center;
    background-image: url(../img/king-birthday2025/bg-desktop.jpg);
    background-repeat: no-repeat;
    background-position: center, center bottom;
    background-size: 100% 100%, cover;
}

.splash-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
    height: 100vh;
    min-height: 100vh;
}

.splash-wrap .splash-inner {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    padding: 10px 0 30px;
}

.splash-page .splash-heading {
    line-height: 1;
}

.splash-page .splash-heading .br {
    display: block;
}

.splash-page .action-bottom {
    margin-top: 20px;
}

.splash-image img {
    display: block;
    margin: 0 auto;
}

.btn-row {
    position: relative;
    margin: -5px -15px;
    font-size: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.btn-row .btn-col {
    display: inline-block;
    vertical-align: top;
    padding: 5px 15px;
    max-width: 50%;
}

.btn-row .btn-col .btn {
    margin: 0;
}

.btn-click {
    width: 191px;
    height: 47px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-transition: color ease-in-out .2s;
    -o-transition: color ease-in-out .2s;
    transition: color ease-in-out .2s;
}

.btn-click.th {
    background-image: url('../img/king-birthday2025/btn-th-th.png');
}

.btn-click.en {
    background-image: url('../img/king-birthday2025/btn-th-en.png');
}

.btn-click.th2 {
    background-image: url('../img/king-birthday2025/btn-en-th.png');
}

.btn-click.en2 {
    background-image: url('../img/king-birthday2025/btn-en-en.png');
}

.pd-lr {
    padding: 15px;
}

/*.container-md {max-width: 942px;}*/

.container-xs,
.container-sm,
.container-md {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 5% !important;
}


@media screen and (max-width:1024px) {
    #page.splash-page {
        background-image: url(../img/king-birthday2025/bg-ipad.jpg);
        background-repeat: no-repeat;
        background-position: center, center bottom;
        background-size: 100% 100%, cover;
    }

    .splash-body .tb,
    .splash-body .tbcell {
        display: block;
    }

    .icw img.img-king {
        position: relative;
        right: 0;
    }

    .icw img.img-txt {
        margin-top: -30px;
    }

    .container-md {
        margin-left: auto !important;
    }

    .container-xs,
    .container-sm,
    .container-md {
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px !important;
    }


}

@media screen and (max-width:376px) {
    img.img-king.visible-w767 {
        width: 100%;
    }

    .splash-body {
        margin-bottom: 0 !important;
    }

    .btn-click {
        width: 130px !important;
    }

    .pd-lr {padding: 0 15px !important;}
}

@media screen and (min-width:400px) and (max-width:450px) {
    img.img-king.visible-w767 {
        width: 100%;
    }

}



@media screen and (max-width: 1030px) {
    .icw img.img-txt {
        max-width: 467px !important;
        margin: 1% 0 0 0 !important;
    }
}

@media screen and (max-width:767px) {
    #page.splash-page {
        background-image: url(../img/king-birthday2025/bg-mb.jpg);
        background-repeat: no-repeat;
        background-position: center, center bottom;
        background-size: 100% 100%, cover;
    }

    .splash-body {
        margin-bottom: 20%;
    }

    .splash-page .btn {
        min-width: 150px;
    }

    .btn-row {
        margin-left: -5px;
        margin-right: -5px;
        flex-direction: row;
    }

    .btn-row .btn-col {
        padding-left: 5px;
        padding-right: 5px;
    }

    .splash-wrap .splash-inner {
        padding: 20px 0 20px;
    }

    .splash-body .tb,
    .splash-body .tbcell {
        display: block;
    }

    .icw img.img-txt {
        margin: 0 auto;
    }

    .icw img.img-king {
        max-width: 248px;
        position: relative;
        right: 0;
    }

    .icw img.img-txt {
        max-width: 260px;
    }

    .btn-row .btn-col {
        display: block;
        max-width: none;
    }

    .btn-click {
        width: 160px;
    }

    .splash-page .action-bottom {
        margin-top: 30px;
    }

    .container-md {
        margin-left: auto !important;
    }

}

@media screen and (min-width:1024px) {
    .btn-click.th:hover {
        background-image: url('../img/king-birthday2025/btn-en-th.png');
    }

    .btn-click.en:hover {
        background-image: url('../img/king-birthday2025/btn-en-en.png');
    }

    .btn-click.th2:hover {
        background-image: url('../img/king-birthday2025/btn-th-en.png');
    }

    .btn-click.en2:hover {
        background-image: url('../img/king-birthday2025/btn-th-th.png');
    }

    .icw img.img-king {
        width: 100%;
    }

    .tb {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 7%;
    }

    .icw img.img-txt {
        width: 100%;
        max-width: 567px;
        margin: 40% 0 0 auto;
    }

    .container-md {
        max-width: 1400px;
    }
    .splash-page .action-bottom {margin-top: 30px}

}

@media screen and (min-width:768px) and (max-width:1012px) {
    .icw img.img-king {
        width: 70%;
    }

    .icw img.img-txt {
        max-width: 515px;
    }

    .pd-lr {padding: 0 15px !important;}
}

@media screen and (min-width: 767px) and (max-width: 1024px) {
    .pd-img {
        padding-bottom: 50px;
    }

    .pd-text {
        padding-bottom: 30px;
    }
}

@media screen and (min-width: 321px) and (max-width: 413px) {
    .icw img.img-king {
        max-width: 330px;
    }
    .icw img.img-txt {
        max-width: 260px !important;
    }
}

@media screen and (min-width: 376px) and (max-width: 395px) {
    .icw img.img-king {
        max-width: 330px;
    }
    .icw img.img-txt {
        max-width: 320px !important;
    }
}

@media screen and (min-width: 412px) and (max-width: 429px) {
    .icw img.img-king {
        max-width: 330px;
    }
    .icw img.img-txt {
        max-width: 320px !important;
    }
}

@media screen and (min-width: 430px) and (max-width: 440px) {
    .icw img.img-king {
        max-width: 330px;
    }
    .icw img.img-txt {
        max-width: 320px !important;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1030px) {
    .icw img.img-king {
        max-width: 530px !important;
    }
    .icw img.img-txt {
        max-width: 320px !important;
    }
    .tb {margin-bottom: 25%;}
}


@media screen and (max-width: 321px) {
    .icw img.img-king {
        max-width: 270px;
    }
}