.slide-content .slide-title h2 {
    font-weight: 700;
    font-family: "Kanit";
}

.cp-header-area .main-menu ul>li>a.active {
    color: #1A9120;
}

.cp-header-area .topbar span {
    text-transform: none;
}

.cp-header-area .main-menu ul>li>a {
    padding: 40px 20px;
    font-size: 16px;
}



#header_logo {
    width: 100%;
    height: 100px;
    margin: 10px 0;
}

#header_logo a {
    display: block;
    width: 100%;
    height: 100%;
}

#header_logo a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}




.header-right-menu-wrap .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 110px;
}

.header-right-menu-wrap .logo img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
}

@media only screen and (min-width: 1200px) and (max-width: 1399.98px) {
    .cp-header-area .main-menu ul>li>a {
        padding: 40px 15px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .cp-header-area .main-menu ul>li>a {
        padding: 40px 8px;
        font-size: 15px;
    }
}

@media only screen and (min-width:380px) and (max-width: 991.98px) {
    #header_logo {
        width: 100%;
        height: auto;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    #header_logo a {
        display: block;
        width: 50%;
        height: 55px;
    }
}

@media only screen and (max-width: 379.98px) {
    #header_logo {
        width: 100%;
        height: auto;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    #header_logo a {
        display: block;
        width: 50%;
        height: 46px;
    }
}


.pagination-wrapper {
    text-align: center !important;
}


.cp-header-area .main-menu ul>li.has-submenu>a:before {
    right: 0 !important;
    font-size: 10px;
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .cp-header-area .main-menu ul>li.has-submenu>a:before {
        right: -3px !important;
        font-size: 9px;
    }
}


.service-single-page .service-details .details-img {
    margin-bottom: 30px;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.service-single-page .service-details .details-img iframe,
.service-single-page .service-details .details-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-single-page .service-details .details-img.has-video {
    position: relative;
}

.service-single-page .service-details .details-img.has-video::before {
    /* content: "\e6ce";
    content: "\e6ad";
    font-family: 'themify'; */
    content: "\e900";
    font-family: 'icomoon';
    font-size: 45px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid #fff;
    background: #1A9120;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-left: 10px;
}


@media only screen and (min-width: 1200px) and (max-width: 1399.98px) {
    .service-single-page .service-details .details-img {
        height: 440px;
    }

    .service-single-page .service-details .details-img.has-video::before {
        font-size: 42px;
        width: 130px;
        height: 130px;
        border: 7px solid #fff;
        padding-left: 9px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .service-single-page .service-details .details-img {
        height: 370px;
    }

    .service-single-page .service-details .details-img.has-video::before {
        font-size: 40px;
        width: 120px;
        height: 120px;
        border: 7px solid #fff;
        padding-left: 9px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .service-single-page .service-details .details-img {
        height: 420px;
    }

    .service-single-page .service-details .details-img.has-video::before {
        font-size: 40px;
        width: 120px;
        height: 120px;
        border: 7px solid #fff;
        padding-left: 9px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    .service-single-page .service-details .details-img {
        height: 310px;
    }

    .service-single-page .service-details .details-img.has-video::before {
        font-size: 35px;
        width: 90px;
        height: 90px;
        border: 6px solid #fff;
        padding-left: 7px;
    }
}

@media only screen and (max-width: 575.98px) {
    .service-single-page .service-details .details-img {
        height: 300px;
    }

    .service-single-page .service-details .details-img.has-video::before {
        font-size: 26px;
        width: 70px;
        height: 70px;
        border: 4px solid #fff;
        padding-left: 6px;
    }
}


.service-single-page-swiper {
    margin: 40px 0;
}

.service-single-page-swiper .swiper {
    width: 100%;
    height: 100%;
}

.service-single-page-swiper .swiper .swiper-slide {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.service-single-page-swiper .swiper .swiper-slide .item {
    width: calc((100% - 1 * 20px) / 2);
    height: 300px;
}

.service-single-page-swiper .swiper .swiper-slide .item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (min-width: 1200px) and (max-width: 1399.98px) {
    .service-single-page-swiper .swiper .swiper-slide {
        gap: 18px;
    }

    .service-single-page-swiper .swiper .swiper-slide .item {
        width: calc((100% - 1 * 18px) / 2);
        height: 270px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .service-single-page-swiper .swiper .swiper-slide {
        gap: 16px;
    }

    .service-single-page-swiper .swiper .swiper-slide .item {
        width: calc((100% - 1 * 16px) / 2);
        height: 240px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .service-single-page-swiper .swiper .swiper-slide {
        gap: 18px;
    }

    .service-single-page-swiper .swiper .swiper-slide .item {
        width: calc((100% - 1 * 18px) / 2);
        height: 270px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    .service-single-page-swiper .swiper .swiper-slide {
        gap: 16px;
    }

    .service-single-page-swiper .swiper .swiper-slide .item {
        width: calc((100% - 1 * 16px) / 2);
        height: 210px;
    }
}

@media only screen and (min-width: 400px) and (max-width: 575.98px) {
    .service-single-page-swiper .swiper .swiper-slide {
        gap: 12px;
    }

    .service-single-page-swiper .swiper .swiper-slide .item {
        width: calc((100% - 1 * 12px) / 2);
        height: 210px;
    }
}

@media only screen and (max-width: 399.98px) {
    .service-single-page-swiper .swiper .swiper-slide {
        gap: 10px;
    }

    .service-single-page-swiper .swiper .swiper-slide .item {
        width: calc((100% - 1 * 10px) / 2);
        height: 160px;
    }
}



/* Gallery */
#gallery {
    padding: 70px 0 50px;
}

#gallery .gallery_wrapper.pictures {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 25px;
}

#gallery .gallery_wrapper.pictures .gallery-item {
    width: calc((100% - 3 * 25px) / 4);
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: black;
}

#gallery .gallery_wrapper.pictures .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

#gallery .gallery_wrapper.pictures .gallery-item a::before {
    content: "\f00e";
    font: var(--fa-font-solid);
    color: #ffffff;
    font-size: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 30%;
    height: 30%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 145, 32, 0.7);
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
    transition: all 0.3s;
}

#gallery .gallery_wrapper.pictures .gallery-item a:hover::before {
    width: 100%;
    height: 100%;
    font-size: 50px;
    visibility: visible;
    opacity: 1;
}

#gallery .gallery_wrapper.pictures .gallery-item a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#gallery .gallery_wrapper.videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}
#gallery .gallery_wrapper.videos .gallery-item {
    width: calc((100% - 2 * 30px) / 3);
    height: 225px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: black;
}
#gallery .gallery_wrapper.videos .gallery-item iframe{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media only screen and (min-width: 1200px) and (max-width: 1399.98px) {
    #gallery .gallery_wrapper.pictures {
        gap: 21px;
    }
    
    #gallery .gallery_wrapper.pictures .gallery-item {
        width: calc((100% - 3 * 21px) / 4);
        height: 260px;
    }
    #gallery .gallery_wrapper.pictures .gallery-item a:hover::before {
        font-size: 47px;
    }
    #gallery .gallery_wrapper.videos {
        gap: 27px;
    }
    #gallery .gallery_wrapper.videos .gallery-item {
        width: calc((100% - 2 * 27px) / 3);
        height: 205px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    #gallery .gallery_wrapper.pictures {
        gap: 17px;
    }    
    #gallery .gallery_wrapper.pictures .gallery-item {
        width: calc((100% - 3 * 17px) / 4);
        height: 230px;
    }
    #gallery .gallery_wrapper.pictures .gallery-item a:hover::before {
        font-size: 44px;
    }
    #gallery .gallery_wrapper.videos {
        gap: 25px;
    }
    #gallery .gallery_wrapper.videos .gallery-item {
        width: calc((100% - 2 * 25px) / 3);
        height: 165px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    #gallery .gallery_wrapper.pictures {
        gap: 21px;
    }
    
    #gallery .gallery_wrapper.pictures .gallery-item {
        width: calc((100% - 2 * 21px) / 3);
        height: 230px;
    }
    #gallery .gallery_wrapper.pictures .gallery-item a:hover::before {
        font-size: 45px;
    }

    #gallery .gallery_wrapper.videos {
        gap: 25px;
    }
    #gallery .gallery_wrapper.videos .gallery-item {
        width: calc((100% - 1 * 25px) / 2);
        height: 190px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    #gallery .gallery_wrapper.pictures {
        gap: 20px;
    }
    
    #gallery .gallery_wrapper.pictures .gallery-item {
        width: calc((100% - 1 * 20px) / 2);
        height: 260px;
    }
    #gallery .gallery_wrapper.pictures .gallery-item a:hover::before {
        font-size: 42px;
    }
    #gallery .gallery_wrapper.videos {
        gap: 20px;
    }
    #gallery .gallery_wrapper.videos .gallery-item {
        width: calc((100% - 1 * 20px) / 2);
        height: 140px;
    }
}

@media only screen and (max-width: 575.98px) {
    #gallery .gallery_wrapper.pictures {
        gap: 15px;
    }
    
    #gallery .gallery_wrapper.pictures .gallery-item {
        width: calc((100% - 1 * 15px) / 2);
        height: auto;
    }
    #gallery .gallery_wrapper.pictures .gallery-item a:hover::before {
        font-size: 35px;
    }
    #gallery .gallery_wrapper.videos {
        gap: 15px;
    }
    #gallery .gallery_wrapper.videos .gallery-item {
        width: calc((100% - 1 * 15px) / 2);
        height: auto;
    }
}

/* Gallery */


