﻿.flex-direction-nav a:before {
    color: white !important;
}


.swiper-pagination-bullets {
    margin-bottom: 2% !important;
    display: block !important;
}

.SwiperCategory  {
    height: 350px;
}
.SwiperPartner{
    height:150px;
}


/*.SwiperPartner .swiper-pagination-bullets {
    position: relative;
    top: 8px;
}*/
.btn-main {
    display: inline-flex;
    padding: var(--value-val-2, 8px) var(--space-s-4, 24px);
    justify-content: center;
    align-items: center;
    gap: var(--space-s-2, 8px);
    border-radius: var(--radius-r-2, 8px);
    background: var(--btn-color-bg-primary, #073E73);
    /* pBtnShadow */
    box-shadow: 0px 8px 24px 0px rgba(30, 72, 120, 0.15);
    color: white;
    font-size: 1rem;
}

    .btn-main:hover {
        display: inline-flex;
        padding: var(--value-val-2, 8px) var(--space-s-4, 24px);
        justify-content: center;
        align-items: center;
        gap: var(--space-s-2, 8px);
        border-radius: var(--radius-r-2, 8px);
        background: var(--btn-color-bg-primary-hover, #466488);
        /* pBtnShadow */
        box-shadow: 0px 8px 24px 0px rgba(30, 72, 120, 0.15);
        color: white;
    }

.btn-sm.btn-main {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-s-2, 8px);
    border-radius: var(--radius-r-2, 8px);
    background: var(--btn-color-bg-primary, #073E73);
    /* pBtnShadow */
    box-shadow: 0px 8px 24px 0px rgba(30, 72, 120, 0.15);
    color: white;
    padding: 4px 8px;
}

    .btn-sm.btn-main:hover {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: var(--space-s-2, 8px);
        border-radius: var(--radius-r-2, 8px);
        background: var(--btn-color-bg-primary-hover, #466488);
        /* pBtnShadow */
        box-shadow: 0px 8px 24px 0px rgba(30, 72, 120, 0.15);
        color: white;
        padding: 4px 8px;
    }


.btn-outline-main {
    display: inline-flex;
    padding: var(--value-val-2, 8px) var(--space-s-4, 24px);
    justify-content: center;
    align-items: center;
    gap: var(--space-s-2, 8px);
    border-radius: var(--radius-r-2, 8px);
    border: 1px solid var(--btn-color-stroke-primary-outline, #073E73);
    box-shadow: 0px 8px 24px 0px rgba(64, 62, 60, 0.15);
    color: #073E73;
}

    .btn-outline-main:hover {
        display: inline-flex;
        padding: var(--value-val-2, 8px) var(--space-s-4, 24px);
        justify-content: center;
        align-items: center;
        gap: var(--space-s-2, 8px);
        border-radius: var(--radius-r-2, 8px);
        background: var(--btn-color-bg-primary, #073E73);
        box-shadow: 0px 8px 24px 0px rgba(64, 62, 60, 0.15);
        color: white;
    }


.p-content {
    padding-top: 64px;
    padding-bottom: 64px;
}

.btn-shadow {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.btn-border-midder {
    border-left: 5px solid #121d64 !important;
    border-right: 5px solid #121d64 !important;
}

.menu-shadow {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.box-panel-number {
    border-radius: 30px;
    background-color: #F4F6FA;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 40px;
    /*min-height: 100px;*/
}

/*.box-number {
    background-color: white;
    text-align: center;
    font-weight: bold;
    color: #073E73;
    font-size: 25px;
    border-radius: 16px;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(7, 62, 115, 0.08);
    min-width: 110px;
    border-radius: 16px;
    padding: 16px;
}*/
.box-number {
    display: flex;
    padding: var(--radius-r-3, 16px) var(--space-s-3, 16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5.989px;
    border-radius: 11.979px;
    border: 0.749px solid rgba(7, 62, 115, 0.08);
    background: var(--color-default-white, #FFF);
    box-shadow: 0px 2.99463px 17.9678px 0px rgba(0, 0, 0, 0.10);
    color: #073E73;
}



.category-box {
    display: flex;
    min-height: 100px;
    padding: 0px var(--space-s-4, 24px);
    justify-content: space-between;
    align-items: center;
    gap: var(--space-s-4, 24px);
    flex-shrink: 0;
    border-radius: var(--space-s-3, 16px);
    background: #EBF5FE;
    margin-bottom: 10px;
}

.category-text-main {
    color: var(--text-primary, #073E73);
    /* Title/S */
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 32px */
}

.category-text-sub {
    color: var(--text-primary, #073E73);
    /* Text/S */
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 20.8px */
}

/* .category-box a {
        text-decoration: none;
        color: #121d64;
    }

    .category-box:hover {
        transition-duration: 0.2s !important;
        box-shadow: #52D5FF 0px 2px 8px !important;
    }*/



.box-delaer {
    display: flex;
    padding: var(--value-val-5, 32px) var(--space-s-9, 64px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-s-3, 16px);
    align-self: stretch;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    border-radius: var(--value-val-3, 16px);
    /*    background: url("../../Assets/Images/Home/Circle-bg-onesynnex.png"), lightgray 50% / cover no-repeat, linear-gradient(128deg, #E4F9B9 -0.03%, #D3EBFF 100%);
*/ background: url("../../Assets/Images/Home/Circle-bg 2.png"), no-repeat, linear-gradient(128deg, #E4F9B9 -0.03%, #D3EBFF 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
}

.p-brand {
    padding: var(--value-val-5, 32px) var(--value-val-9, 64px);
}

@media only screen and (max-width: 450px) {
    .box-delaer {
        display: flex;
        padding: 32px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-s-3, 16px);
        align-self: stretch;
        box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
        border-radius: var(--value-val-3, 16px);
        /*    background: url("../../Assets/Images/Home/Circle-bg-onesynnex.png"), lightgray 50% / cover no-repeat, linear-gradient(128deg, #E4F9B9 -0.03%, #D3EBFF 100%);
*/ background: url("../../Assets/Images/Home/Circle-bg 2.png"), no-repeat, linear-gradient(128deg, #E4F9B9 -0.03%, #D3EBFF 100%);
        background-size: cover;
        background-position: center;
        box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    }

    .p-brand {
        padding: 32px;
    }

   /* .swiper-slide {
        max-height: 200px;
    }*/

   
}





.service-box1 {
    min-height: 90px;
    border-radius: var(--value-val-2, 8px);
    background: linear-gradient(266deg, #FF809E 0%, #FFAFC2 32.81%);
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    position: relative;
    padding: 16px 24px;
    max-width: 380px;
    width: 100%;
}

.service-box2 {
    min-height: 90px;
    border-radius: var(--value-val-2, 8px);
    background: linear-gradient(266deg, #F99F2A 0%, #FFD298 100%);
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    position: relative;
    padding: 16px 24px;
    max-width: 380px;
    width: 100%;
}

.service-box3 {
    min-height: 90px;
    border-radius: var(--value-val-2, 8px);
    background: linear-gradient(266deg, #8EE4FF 0%, #B7D7F2 100%);
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    position: relative;
    padding: 16px 24px;
    max-width: 380px;
    width: 100%;
}

.service-box4 {
    min-height: 90px;
    border-radius: var(--value-val-2, 8px);
    background: linear-gradient(266deg, #9AE48E 0%, #9DEDB8 100%);
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    position: relative;
    padding: 16px 24px;
    max-width: 380px;
    width: 100%;
}

.service-box1 .service-img {
    width: 130px;
    position: absolute;
    right: 0px;
    bottom: 0;
}

.service-box2 .service-img {
    width: 130px;
    position: absolute;
    right: 0px;
    bottom: 0;
}

.service-box3 .service-img {
    width: 130px;
    position: absolute;
    right: 0px;
    bottom: 0;
}

.service-box4 .service-img {
    width: 130px;
    position: absolute;
    right: 0px;
    bottom: 0;
}

.service-text-main {
    font-weight: bold;
    font-size: x-large;
}



/* กล่องโลโก้บริษัทในเครือ: ขนาดเท่ากันทุกช่อง รูปย่อให้พอดีกล่องโดยไม่เสียสัดส่วน */
.company-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 110px;
    padding: 10px;
}

.company-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition-duration: 0.2s;
}

    .company-img img:hover {
        transition-duration: 0.2s;
        transform: scale(1.1);
    }




.bg-service {
    background: linear-gradient(180deg, #F2F9FF 0%, #F2F9FF 100%);
}

.box-content-news-last:last-child {
    margin-top: auto;
}

.box-content {
    display: flex;
    max-width: 478px;
    min-height: 450px;
    padding: 32px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-s-2, 8px);
    flex-shrink: 0;
    border-radius: var(--radius-r-3, 16px);
    border: 1px solid #FFF;
    background: #FFF;
    /* CardShadow */
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
    margin: auto;
}

.box-content-news {
    display: flex;
    /*    width: 674px;
*/ padding: var(--value-val-3, 16px) var(--space-s-3, 16px);
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 16px var(--space-s-3, 16px);
    flex-wrap: wrap;
    border-radius: var(--radius-r-3, 16px);
    background: #FFF;
    /* CardShadow */
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
}

.box-new-img {
    width: 100%;
    border-radius: var(--radius-r-3, 16px);
    object-fit: cover;
    max-height: 200px;
}

@keyframes Download {
    0% {
        bottom: 15px;
        right: 15px;
    }

    100% {
        bottom: 10px;
        right: 15px;
    }
}



.set-box-number {
    background-color: #00C800;
    color: white;
    padding: 5px;
    border-radius: 4px;
    text-align: center;
    font-size: 20px;
}

.set-box-income {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    min-height: 100px;
}

.set-box-img {
    transition-duration: 0.2s;
    width: 100%;
    height: auto;
}

    .set-box-img:hover {
        transition-duration: 0.2s;
        transform: scale(1.1);
    }

.set-box-download {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    min-height: 100px;
    position: relative;
}

.news-box {
    border-radius: 30px;
    background-color: #f4f6fa;
    padding: 30px 50px;
    min-height: 100px;
    position: relative;
}


.btn-back {
    position: absolute;
    top: 100px;
    left: -30px;
    width: 15px;
}

.btn-next {
    position: absolute;
    top: 100px;
    right: -30px;
    width: 15px;
}



.btn-readmore {
    border: 1px solid;
    color: #121d64;
    transition-duration: 0.2s
}

    .btn-readmore:hover {
        border: 1px solid #2AC8F8;
        color: #2AC8F8;
        position: relative;
        transition-duration: 0.2s;
    }


.owl-nav {
    margin-top: 0px !important;
}

.owl-dots {
    width: max-content;
    background-color: #4f5c75;
    margin: auto;
    display: flex;
    border-radius: 30px;
}




.img-zoom {
    transition: transform .2s;
}

    .img-zoom:hover {
        transform: scale(1.1);
    }





.circle-img-content1 {
    position: absolute;
    top: 50%; /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    width: 765px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.circle-img-content2 {
    position: absolute;
    top: -80px; /* position the top  edge of the element at the middle of the parent */
    right: 0; /* position the left edge of the element at the middle of the parent */
    height: 765px;
    z-index: -1;
}

.circle-img-content3 {
    position: absolute;
    bottom: -230px; /* position the top  edge of the element at the middle of the parent */
    left: 0; /* position the left edge of the element at the middle of the parent */
    height: 765px;
    z-index: -1;
}

.child {
    position: absolute;
    top: 50%; /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -50%); /* This is a shorthand of
                                         translateX(-50%) and translateY(-50%) */
}
/*
.testttt {
    background: url("../../Assets/Images/Home/Circle-bg 2 full.png");
    background-repeat: no-repeat;
    background-position-x: 250px;
    background-position-y: -203px
}*/


swiper-container {
    width: 100%;
}

swiper-slide {
    background-position: center;
    background-size: cover;
    width: 120px;
}



/* swiper-slide img {
        display: block;
        width: 100%;
    }*/
/*
.swiper-pagination-bullets {
    bottom: var(--swiper-pagination-bottom,8px) !important;
    top: var(--swiper-pagination-top,8px) !important;
    left: 0px !important;
    width: 100% !important;
    position: relative !important;
}
*/
.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}



.outline-badge {
    border-radius: 5px;
    border: 1px solid var(--btn-color-stroke-primary-outline, #073E73);
    background: var(--btn-color-bg-secondary, #FFF);
    color: #073E73;
}

.box-content-article {
    display: flex;
    /*    height: 373.339px;
*/ padding: var(--value-val-3, 16px) var(--space-s-4, 24px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-s-2, 8px);
    border-radius: var(--radius-r-3, 16px);
    background: #FFF;
    /* CardShadow */
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.10);
}

.img-slide-main {
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 1200px) {

    .service-box1 .service-img {
        width: 130px;
        position: absolute;
        right: 20px;
        bottom: 0;
    }

    .service-box2 .service-img {
        width: 130px;
        position: absolute;
        right: 20px;
        bottom: 0;
    }

    .service-box3 .service-img {
        width: 130px;
        position: absolute;
        right: 20px;
        bottom: 0;
    }

    .service-box4 .service-img {
        width: 130px;
        position: absolute;
        right: 20px;
        bottom: 0;
    }
}

/*video {
    margin-left: calc((100vw - (100vh * 1.7))/2);
    margin-right: calc((100vw - (100vh * 1.7))/2);
    min-height: 100vh;
    min-width: 100vw;
}*/
