﻿/*IB-005*/

.ib005 .btn-text-right {
    text-align: -webkit-right;
}

.ib005 .btn-text-left {
    text-align: -webkit-left;
}

.ib005 .btn-text-center {
    text-align: -webkit-center;
}

.ib005 .text-top {
    height: 450px;
}

.ib005 .text-centermb {
    display: flex !important; /* บังคับใช้ */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100% !important; /* บังคับใช้ */
    text-align: center;
}

.text-bottom {
    height: unset;
}

.ib005 .page-title {
    color: #222222;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 40px;
    letter-spacing: 0;
    line-height: 48px;
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .ib005 .btn-yellow {
        border-radius: 3px;
        background-color: #FFD400;
        color: #554242;
        font-family: "Krungsri-Condensed-Bold";
        font-size: 16px;
        letter-spacing: 0;
        line-height: 27px;
        text-align: center;
        padding: 9px 35px;
    }

    .ib005 .btn-brown {
        border-radius: 3px;
        background-color: #554242;
        color: #FFD400;
        font-family: "Krungsri-Condensed-Bold";
        font-size: 16px;
        letter-spacing: 0;
        line-height: 27px;
        text-align: center;
        padding: 9px 35px;
    }

    .ib005 .btn-primary {
        border-radius: 3px;
        background-color: #FFD400;
        color: #554242;
        font-family: "Krungsri-Condensed-Bold";
        font-size: 16px;
        letter-spacing: 0;
        line-height: 27px;
        text-align: center;
        padding: 9px 35px;
    }

    .ib005 .btn-MaroonGrey {
        border-radius: 3px;
        background-color: #554242;
        color: #FFD400;
        font-family: "Krungsri-Condensed-Bold";
        font-size: 16px;
        letter-spacing: 0;
        line-height: 27px;
        text-align: center;
        padding: 9px 35px;
    }
}


.ib005 .btn-yellow {
    border-radius: 3px;
    background-color: #FFD400;
    color: #554242;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 16px;
    letter-spacing: 0;
    line-height: 27px;
    text-align: center;
    padding: 9px 15px;
    width: 200px;
    /*width: auto;*/
}

.ib005 .btn-primary {
    border-radius: 3px;
    background-color: #FFD400;
    color: #554242;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 16px;
    letter-spacing: 0;
    line-height: 27px;
    text-align: center;
    padding: 9px 15px;
    width: 200px;
    /*width: auto;*/
}

.ib005 .btn-MaroonGrey {
    border-radius: 3px;
    background-color: #554242;
    color: #FFD400;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 16px;
    letter-spacing: 0;
    line-height: 27px;
    text-align: center;
    padding: 9px 15px;
    width: 200px;
    /*width: auto;*/
}

.ib005 .btn-brown {
    border-radius: 3px;
    background-color: #554242;
    color: #FFD400;
    font-family: "Krungsri-Condensed-Bold";
    font-size: 16px;
    letter-spacing: 0;
    line-height: 27px;
    text-align: center;
    padding: 9px 15px;
    width: 200px;
    /*width: auto;*/
}


.ib005 .bg-banner-top {
    height: 440px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
}

@media only screen and (min-width: 1024px) {
    .ib005 .bg-banner-top div {
        margin-bottom: auto;
        margin-top: auto;
        /*margin-left: auto;
        margin-right: auto;*/
    }
}



@media (max-width: 768px) {
    .ib005 .container, .container-md, .container-sm {
        max-width: 720px;
    }

    .ib005 .bg-banner-top div {
        margin-bottom: auto;
        margin-top: auto;
        margin-left: 0%;
    }
}

@media only screen and (max-width: 767px) {
    .ib005 .bg-banner-top div {
        margin-right: auto;
        margin-left: 15px;
        margin-bottom: auto;
        text-align: left;
        width: 100%;
        position: relative;
        top: 15px;
    }
}

@media only screen and (min-width: 1024px) {
    .ib005 .bg-banner-top {
        background-position: right !important;
    }
}

@media only screen and (max-width: 767px) {
    .ib005 .hidden-xs {
        display: none !important;
    }
}

@media only screen and (max-width: 767px) {
    .ib005 .bg-banner-top div span {
        font-size: 18px;
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 768px) {
    .ib005 .bg-banner-top div span {
        color: #fff;
        text-shadow: 2px 2px #554242;
    }
}

@media only screen and (max-width: 767px) {
    .ib005 .bg-banner-top div span {
        color: #554242;
        text-shadow: unset;
    }
}


.ib005 .bg-banner-top div span {
    font-family: Krungsri-Condensed-Bold;
    font-size: 40px;
    line-height: 64px;
    display: block;
}

.ib005 .fz-32px-all-i {
    font-size: 32px !important;
}

@media only screen and (max-width: 768px) {
    .ib005 .bg-banner-top {
        box-shadow: inset 500px 350px 500px 160px rgba(9, 9, 9, .43);
    }
}

@media only screen and (max-width:426px) {
    .ib005 .bg-banner-top {
        box-shadow: unset;
    }
}

@media only screen and (max-width: 1024px) {
    .ib005 .bg-banner-top {
        background-position: right !important;
    }
}


/*IB-005*/

/* Swiper 10 ใช้ class root ว่า .swiper แต่ view ยังใช้ .swiper-container แบบ Swiper 6 ของ K13
   K13 ชดเชยด้วย swiper.custom.css ซึ่งหน้า XbyK ไม่ได้โหลด ถ้าไม่มีกฎนี้ .swiper-pagination จะหลุดออกนอกกรอบ */
.ib005 .swiper-container {
    position: relative;
    overflow: hidden;
}
