@font-face {
    font-family: 'Noto Sans Thai';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local("Noto Sans Thai"), url('../fonts/NotoSansThai-Medium.ttf') format('truetype')
}

@font-face {
    font-family: 'Noto Sans Thai';
    font-style: medium;
    font-weight: 500;
    font-display: swap;
    src: local("Noto Sans Thai"), url('../fonts/NotoSansThai-SemiBold.ttf') format('truetype')
}

@font-face {
    font-family: 'Noto Sans Thai';
    font-style: semi-bold;
    font-weight: 600;
    font-display: swap;
    src: local("Noto Sans Thai"), url('../fonts/NotoSansThai-Bold.ttf') format('truetype')
}

@font-face {
    font-family: 'Noto Sans Thai';
    font-style: bold;
    font-weight: 700;
    font-display: swap;
    src: local("Noto Sans Thai"), url('../fonts/NotoSansThai-Black.ttf') format('truetype')
}

:root {
    --font-form-family: 'Noto Sans Thai', sans-serif;
    --cl-1: #0F4A5E;
    --cl-2: #2C2C2C;
    --cl-3: #308ACA;
    --cl-4: #45824C;
    --shadow-1: rgba(0, 0, 0, 0.25);
}

#blog, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-form-family) !important;
}

/* ========= Banner =========== */
.blog:before {
    content: "";
    background-image: url(../images/bg-wave.webp);
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-position-x: center;
    background-attachment: fixed;
    background-size: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    opacity: .3;
}

.banner-bg {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-image: url(../images/company/bki/bkibg.png);
}

.banner-bg img {
    position: sticky;
    top: 70%;
    margin-bottom: 20px;
}

.textinbanncer {
    margin-top: 100px;
    display: inline-block;
}


/* ========= Font =========== */
.font-24 {
    font-size: 24px !important
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.text-cl1 {
    color: var(--cl-1) !important;
}

.text-cl2 {
    color: var(--cl-2) !important;
}

.text-cl3 {
    color: var(--cl-3) !important;
}

.text-cl4 {
    color: var(--cl-4) !important;
}

.text-gradient-blue {
    background: linear-gradient(118.45deg, #44C6E5 -53.37%, #0F4A5E 123.75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

}

/* ======= Tab ================== */
#myTab {
    border-bottom: none;
}

#myTab .nav-link {
    color: var(--cl-2) !important;
    font-weight: 500;
}

#myTab .nav-link.active {
    color: var(--cl-1) !important;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid var(--cl-3) !important;
}

#myTab .nav-link.active h2 {
    font-weight: 600 !important;
}

/* ======= background ================== */
.bg-color-gradient3 {
    background: linear-gradient(90deg, #44C6E5 0%, var(--cl-3) 100%);
}


/* ======= border ================== */
.border-rd10px {
    border-radius: 10px !important
}

.border-rd5px {
    border-radius: 5px !important
}

.border-cl3-2 {
    border: 2px solid var(--cl-3) !important;
}

/* ======= other ================== */
.shadow1 {
    box-shadow: 0 4px 4px var(--shadow-1) !important
}

.cardplan {
    max-width: 350px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px !important;

}

.cardplan img {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    height: 150px;
    width: 100%;
}

#planDetail .modal-content {
    border-radius: 30px;
    border: 1px solid var(--light-green);
    background: var(--white-color);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

@media (min-width:992px) {
    #planDetail .modal-xl {
        --bs-modal-width: 1200px
    }
}
@media only screen and (max-width:1399px) {
    .container {
        max-width: 1240px;
    }
}
@media only screen and (max-width:992px) {
    .container {
        max-width: 920px;
    }
}

@media only screen and (max-width:768px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }
}
@media only screen and (max-width:460px) {
    .cardplan {
        max-width: 100%;
    }
    .tab-content.p-3{
        padding: 0px !important;
    }
}
.button-footer {
    border-radius: 30px;
    background: linear-gradient(90deg, #44C6E5 0%, var(--cl-3) 100%);
    color: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 13px 43px;
}
.button-footer:hover{
    color: white;
}