﻿/*CB-003-2*/
@media (max-width: 768px) {
    .cb003 .swiper-pagination {
        bottom: 0 !important;
    }
}

.cb003 .swiper-pagination {
    position: absolute;
    width: 100%;
    bottom: 52px;
}

/*CB-003-2*/

/* CB-003 */

@media (max-width: 767px) {
    .cb_003 .btn-yellow {
        width: 270px !important;
    }

    .cb_003 .btn-brown {
        width: 270px !important;
    }

    .cb032 .swiper-horizontal > .swiper-pagination-bullets,
    .cb032 .swiper-pagination-bullets.swiper-pagination-horizontal,
    .cb032 .swiper-pagination-custom,
    .cb032 .swiper-pagination-fraction {
        bottom: 0px !important;
    }

    .cb002.cb360 .hb-text-bottom {
        margin-bottom: 48px !important;
        padding: 0%
    }
}

.cb_003 .btn-yellow {
    border-radius: 5px;
    background-color: #FFD400;
    color: #554242;
    font-family: Krungsri-Condensed-Bold;
    font-size: 16px;
    line-height: 27px;
    text-shadow: none;
    height: 44px !important;
    padding: 7px !important;
    width: 170px;
    margin-top: 32px;
    letter-spacing: 0;
    text-align: center;
}

.cb_003 .btn-brown {
    border-radius: 3px;
    background-color: #554242;
    color: #FFD400;
    font-family: Krungsri-Condensed-Bold;
    font-size: 16px;
    line-height: 27px;
    text-shadow: none;
    height: 44px !important;
    padding: 7px !important;
    width: 170px;
    margin-top: 32px;
    letter-spacing: 0;
    text-align: center;
}

.cb_003 .swiper-pagination-bullet-active {
    /*    opacity: var(--swiper - pagination - bullet - opacity, 1);
    background: var(--swiper - pagination - color, var(--swiper - theme - color));
    background: #ffd400;
    border: 0;*/
    background: #ffd400 !important;
    border: unset !important;
}

.cb_003 .swiper-pagination-bullet {
    color: inherit !important;
    /* border: none !important; */
    padding: 0 !important;
    font: inherit !important;
    width: 13px !important;
    height: 13px !important;
    border: 2px solid #ffffff;
    background: transparent;
    margin: 5px 7px !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    opacity: unset;
}

.cb032 .container--cover {
    margin: 0 auto;
    margin-bottom: unset;
    position: relative;
    width: 100%;
    max-width: 100% !important;
}

.cb032 .swiper-horizontal > .swiper-pagination-bullets,
.cb032 .swiper-pagination-bullets.swiper-pagination-horizontal,
.cb032 .swiper-pagination-custom,
.cb032 .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 8px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
    position: absolute;
    width: 100%;
    bottom: 55px;
}

@media (max-width: 767px) {
    .cb_003 .image.ks-image-banner {
        max-height: 520px !important;
        width: 100%;
        height: 520px !important;
        overflow: hidden;
        position: absolute;
    }

    .cb_003 .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: var(--swiper-pagination-bottom, 2px);
        top: var(--swiper-pagination-top, auto);
        left: 0;
        width: 100%;
    }
}

@media (max-width: 320px) {
    .cb_003 .h1 {
        text-shadow: none !important;
    }
}
.cb_003 .d-none.d-md-block.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cb_003 .text-center .css-description-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensures it takes up full height of parent container */
    width: 100%; /* Ensures it takes up full width of parent container */
}


.cb_003 .text-right .css-description-banner {
    display: flex;
    justify-content: right;
    align-items: center;
    height: 100%; /* Ensures it takes up full height of parent container */
    width: 100%; /* Ensures it takes up full width of parent container */
}

@media only screen and (max-width: 767px) {
    .cb_003 .block-banner .text-align-top,
    .cb_003 .block-banner .text-align-centermb,
    .cb_003 .block-banner .text-align-bottom {
        display: flex;
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        flex-direction: column;
    }

    .cb_003 .block-banner .text-align-bottom,
    .cb_003 .block-banner .text-align-centermb,
    .cb_003 .block-banner .text-align-top {
        margin: 0;
        padding-top: 24px;
        padding-bottom: 24px;
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .cb_003 .text-align-top {
        justify-content: flex-start;
    }

    .cb_003 .text-align-centermb {
        justify-content: center;
    }

    .cb_003 .text-align-bottom {
        justify-content: flex-end;
    }
}
@media (max-width: 767px) {
    .cb_003 .description-mb {
        color: #fff;
        font-size: 18px;
        line-height: 36px;
    }
}

.cb032 .text-centermb {
    height: 450px;
    display: Flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cb032 .text-top {
    height: 450px;
    display: Flex;
    justify-content: flex-start;
    flex-direction: column;
}

@media only screen and (max-width: 767px) {
    .cb_003 .text-right .css-description-banner {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }
}

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