/* 
Theme Name: SaoKim Digital
Theme URI: https://saokim.digital/
Description: A product designed and implemented by SaoKim Digital for customers. Hotline 0964.699.499
Author: Sao Kim Team
Template: hello-elementor
Author URI: https://saokim.digital/
Version: 1.0.0
*/
@media only screen and (max-width: 600px) {}

@media only screen and (min-width: 1140px) {
    .e-con-boxed>.e-con-inner {
        max-width: 1120px !important;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (min-width: 1200px) {
    .e-con-boxed>.e-con-inner {
        max-width: 1140px !important;
        margin-left: auto;
        margin-right: auto;
    }
}


@media only screen and (min-width: 1440px) {
    .e-con-boxed>.e-con-inner {
        max-width: 1240px !important;
        margin-left: auto;
        margin-right: auto;
    }
}

body {
    overflow-x: hidden;
}

.key-title {
    display: flex;
    position: relative;
}

.key-title>*>div {
    display: inline-block;
    position: relative;
}

.key-title div.elementor-widget-container {
    position: relative;
    padding: 0 90px;
}

.key-title div.elementor-widget-container:before {
    display: block;
    content: '';
    background: url(./assets/images/arrow-left.svg) center center no-repeat;
    background-size: contain;
    height: 100%;
    width: 90px;
    position: absolute;
    top: 0;
    left: 0;
}

.key-title div.elementor-widget-container:after {
    display: block;
    content: '';
    background: url(./assets/images/arrow-right.svg) center center no-repeat;
    background-size: contain;
    height: 100%;
    width: 90px;
    position: absolute;
    top: 0;
    right: 0;
}

.key-title--h4 {
    color: #525252;
    font-size: 18px;
    line-height: 150%;
    /* 27px */
    margin: 0;
}

.key-title--h2 {
    font-family: "SVN-Miller", Sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 150%;
    color: #8C191F;
}

.counter-bg {
    position: relative;
    padding: 0 40px;
}

.counter-bg:before {
    display: block;
    content: '';
    background: url(./assets/images/arrow-left.svg) center center no-repeat;
    background-size: contain;
    height: 100%;
    width: 60px;
    position: absolute;
    top: 0;
    left: 0;
}

.counter-bg:after {
    display: block;
    content: '';
    background: url(./assets/images/arrow-right.svg) center center no-repeat;
    background-size: contain;
    height: 100%;
    width: 60px;
    position: absolute;
    top: 0;
    right: 0;
}

.counter-bg .elementor-counter-number {
    margin-bottom: 5px;
}

.counter-bg .elementor-counter-title {
    text-align: justify;
    text-align-last: center;
}

.service-home .elementor-widget-image img {
    transition: all .5s;
    object-fit: cover;
}

.service-home .elementor-widget-text-editor,
.service-home .elementor-widget-button {
    transition: all .5s;
    opacity: 0;
}

.service-home .elementor-widget-text-editor>*,
.service-home .elementor-widget-button>* {
    /*display: none;*/
}

.service-home:hover .elementor-widget-image img {
    aspect-ratio: 392 / 332 !important;
}

.service-home:hover .elementor-widget-text-editor,
.service-home:hover .elementor-widget-button {
    opacity: 1;
}

.service-home:hover .elementor-widget-text-editor>*,
.service-home:hover .elementor-widget-button>* {
    /*display: block;*/
}





.slider-sp-1-item .elementor-button {
    padding: 0;
    background: none;
    background: linear-gradient(121deg, #FFF -24.95%, #8C191F 40.94%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-sp-1-item .elementor-button-icon {
    width: 50px;
    height: 50px;
    border: 1px solid #8c191f;
    border-radius: 50%;
    border-left: 2px solid transparent;
    transition: all 0.4s ease;
    /* transform: rotate(270deg); */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-sp-1-item a.elementor-button .elementor-button-content-wrapper {
    align-items: center;
}

.slider-sp-1-item a.elementor-button:hover .elementor-button-icon {
    background: #8C191F;
}


.slider-sp-1-item a.elementor-button:hover .elementor-button-icon svg path {
    fill: #fff !important;
}

.slider-sp-1-item a.elementor-button .elementor-button-content-wrapper {
    transition: 0.3s all;
}

.slider-sp-1-item a.elementor-button:hover .elementor-button-icon {
    transform: ;
    transform: translateX(10px) rotate(-45deg);
}

@media screen and (max-width:967px) {
    .slider-sp-1-item .elementor-button-icon {
        width: 30px;
        height: 30px;
    }
}

.slider-sp-1-item {
    display: flex !important;
    gap: 30px;
}

.slider-sp-1-item>* {
    width: 50%;
}

.slider-sp-1-item img {
    border-radius: 16px;
    aspect-ratio: 121/76;
    object-fit: cover;
}

.slider-sp-2-item img {
    object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 286/120;
}

.slider-sp-2 .slick-arrow {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    z-index: 2;
}

.slider-sp-2 .slick-arrow:hover {
    background: linear-gradient(123deg, #C3922E 1.48%, #CCA246 36%, #E7D18D 73.89%, #FFFBCC 155.68%);
}

.slider-sp-2 .slick-arrow:hover svg path {
    fill: #fff;
}

.slider-sp-2 .slick-arrow:before {
    display: none;
}

.slider-sp-1--content>h3 {
    margin-top: 0;
}

.slider-sp-1--content>h3 a {
    color: #292929;
    font-family: "SVN-Miller", Sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.slider-sp-1 {
    padding: 40px 0;
}

.slider-sp-2-item {
    position: relative;
    padding: 0 16px;
    cursor: pointer;
}

.slider-sp-2-item h3 {
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(140, 25, 31, 0.00) 0%, #8C191F 100%);
    position: absolute;
    margin: 0;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.slider-sp-2-item img {
    border-radius: 8px;
}

.slick-dots li button {
    display: none;
}

.slick-dots li,
.swiper-pagination .swiper-pagination-bullet {
    width: 20px;
    background: #DCDCDC;
    opacity: 1;
    height: 5px;
    padding: 0;
    border-radius: 10px;
    transition: all .5s;
}

.slick-dots li.slick-active,
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 50px;
    background: #BA965C;
}

.rank-math-breadcrumb p {
    margin-bottom: 0;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
    color: #fff;
    font-size: 20px
}

/*#gallery-1 {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
  will-change: transform;
}

#gallery-1 .gallery-item {
  flex: 0 0 auto;
}*/
.list-icon-prd-dm {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-icon-prd-dm .item {
    align-items: center;
    display: flex;
    gap: 5px;
}

.list-icon-prd-dm .item img {
    height: 16px;
    width: auto;
}

.list-icon-prd {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.list-icon-prd .item {
    text-align: center;
    font-size: 20px;
    padding: 20px;
}

.list-icon-prd .item img {
    height: 42px;
    width: auto;
    margin-bottom: 5px;
}

.sp-slider .item {
    height: 460px;
    display: flex !important;
    align-items: center;
}

.sp-slider img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: all .235s;
}

.sp-slider .slick-current img {
    height: 460px;
}

.sp-slider .item {
    padding: 8px;
}







/*slider chay*/


.logo_carousel_trackToRight .elementor-image-gallery,
.logo_carousel_trackToLeft .elementor-image-gallery {
    overflow-x: clip;
    position: relative;
    width: 100%;
}

.logo_carousel_trackToRight .gallery-size-full,
.logo_carousel_trackToLeft .gallery-size-full {
    display: flex;
    align-items: center;
    gap: 24px;
    will-change: transform;
}

.logo_carousel_trackToRight .gallery-item,
.logo_carousel_trackToLeft .gallery-item {
    height: 100%;
    flex-shrink: 0;
    /*padding: 10px 30px;*/

    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.logo_carousel_trackToRight img,
.logo_carousel_trackToLeft img {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    transition: filter 0.3s ease;
    border-radius: 12px;
}

.logo_carousel_trackToRight .gallery-item:hover img,
.logo_carousel_trackToLeft .gallery-item:hover img {
    filter: none;
    opacity: 1;
}


@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/*@media only screen and (max-width: 600px) {
    .logo_carousel_track .logo_carousel_img {
        width: 180px;
    }
}
*/







/*End slider chay*/




.slider-pop{
    display: none;
}
.slider-pop.active{
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000000cf;
    left: 0;
    top: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
}
.slider-pop .slider-pop--body{
    display: flex;
    width: 1200px;
    max-width: calc(100% - 30px);
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    gap: 20px;
}
.slider-pop .slider-pop--body>div{
    width: 50%;
}
.slider-pop .slider-pop--body-left img{
    aspect-ratio: 570 / 440;
    object-fit: cover;
}
.show-pop-new{
    cursor: pointer;
}
.slider-pop__close{
    display: flex;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    top: 0;
    background: #8C191F;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    width: auto !important;
}
.slider-pop--body-right__content{
    max-height: 380px;
    overflow-y: auto;
    padding-right: 5px;
}
.slider-pop--body-right__content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.slider-pop--body-right__content::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.slider-pop--body-right__content::-webkit-scrollbar-thumb {
    background-color: #8C191F;
}







@media only screen and (max-width: 1550px) {
    .key-title--h2 {
        font-size: 30px;
    }

    .rank-math-breadcrumb a,
    .rank-math-breadcrumb span {
        font-size: 18px
    }

}

/*ipad pro*/
@media only screen and (max-width: 1024px) {
    .key-title--h2 {
        font-size: 28px;
    }

    .key-title div.elementor-widget-container {
        padding: 0 60px;
    }

    .key-title div.elementor-widget-container:before,
    .key-title div.elementor-widget-container:after {
        height: 100%;
        width: 60px;
    }

    .service-home .elementor-widget-text-editor,
    .service-home .elementor-widget-button {
        opacity: 1;
    }

    .rank-math-breadcrumb a,
    .rank-math-breadcrumb span {
        font-size: 16px
    }

    .sp-slider .item {
        height: 300px;
    }

    .sp-slider img {
        height: 240px;
    }

    .sp-slider .slick-current img {
        height: 300px;
    }


}

/*ipad*/
@media only screen and (max-width: 967px) {
    .key-title--h2 {
        font-size: 24px;
    }

    .sp-slider .item {
        height: 320px;
    }

    .sp-slider img {
        height: 240px;
    }

    .sp-slider .slick-current img {
        height: 320px;
    }

    .list-icon-prd {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .slider-pop--body-right__content{
        max-height: 230px;
    }

}

/*ipad*/
@media only screen and (max-width: 767px) {
    .slider-sp-2 .slick-arrow {
        width: 44px;
        height: 44px;
    }

    .slider-sp-2-item {
        padding: 0 8px;
    }

    .slider-sp-1-item {
        display: block !important;
    }

    .slider-sp-1-item>* {
        width: 100%;
    }

    .slider-sp-1 {
        padding: 20px 0;
    }

    .slider-sp-2-item h3 {
        padding: 8px;
        left: 8px;
        width: calc(100% - 16px);
        font-size: 14px;
    }

    .slider-sp-1-item img {
        margin-bottom: 10px;
    }

    .key-title--h2 {
        font-size: 22px;
    }

    .key-title div.elementor-widget-container {
        padding: 0 40px;
    }

    .key-title div.elementor-widget-container:before,
    .key-title div.elementor-widget-container:after {
        height: 100%;
        width: 40px;
    }

    .list-icon-prd {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .list-icon-prd .item {
        font-size: 16px;
    }
    .slider-pop--body-right__content{
        max-height: 300px;
    }
    .slider-pop .slider-pop--body {
        flex-direction: column;

    }
    .slider-pop .slider-pop--body>div {
        width: 100%;
    }
    .slider-pop__close {
        padding: 6px 15px;
        font-size: 14px;
    }

}

.max_line_1,
.max_line_1 a,
.max_line_1 p {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
}