
/* Default Template */
.td-image-box-holder.td-rc-template-default .td-content-item { text-align: center; }
.td-image-box-holder.td-rc-template-default .td-content-item .td-content-image > span, .td-image-box-holder.td-rc-template-default .td-content-item .td-content-image > a { -webkit-border-radius: 1em; border-radius: 1em; }
.td-image-box-holder.td-rc-template-default .td-content-item .td-content-media-group .td-content-image-wrapper { margin-bottom: 0; }
.td-image-box-holder.td-rc-template-default .td-content-item .td-content-media-group .td-content-image-wrapper + .td-content-icon-wrapper { display: block; font-size: 60px; line-height: 0; margin-top: -8px; margin-bottom: -0.4em; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.td-image-box-holder.td-rc-template-default .td-content-item .td-content-media-group .td-content-icon-wrapper .td-content-icon span { background-color: var(--td-elementor-color-white); color: rgba(var(--td-elementor-color-accent-rgb),0.85); font-size: 24px; height: 60px; width: 60px; -webkit-border-radius: 50%; border-radius: 50%; -webkit-box-shadow: 0 0 3px 0 rgba(var(--td-elementor-color-secondary-rgb),0.15); box-shadow: 0 0 3px 0 rgba(var(--td-elementor-color-secondary-rgb),0.15); }
.td-image-box-holder.td-rc-template-default .td-content-item:hover .td-content-media-group .td-content-icon-wrapper .td-content-icon span { background-color: var(--td-elementor-color-accent); color: var(--td-elementor-color-white); }

/* Standard Template */
.td-image-box-holder.td-rc-template-standard .td-content-item { text-align: center; -webkit-box-shadow: 0 0 1px 1px rgba(var(--td-elementor-color-secondary-rgb),0.15) inset; box-shadow: 0 0 1px 1px rgba(var(--td-elementor-color-secondary-rgb),0.15) inset; }
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group { background-color: #f5f5f5; margin-bottom: 0; }

.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group,
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-detail-group { padding: 20px; }

.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper,
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image,
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image > a,
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image > span { min-width: 100px; }

.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image > a,
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image > span { height: 100px; padding: 0; width: 100px; -webkit-border-radius: 50%; border-radius: 50%; -webkit-box-shadow: 0 0 2px rgba(var(--td-elementor-color-secondary-rgb),0.25); box-shadow: 0 0 2px rgba(var(--td-elementor-color-secondary-rgb),0.25); }

.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image > a img,
.td-image-box-holder.td-rc-template-standard .td-content-item .td-content-media-group .td-content-image-wrapper .td-content-image > span img { height: 100%; object-fit: cover; object-position: center center; }

.td-image-box-holder.td-rc-template-standard .td-content-item:hover .td-content-media-group { background-color: var(--td-elementor-color-accent); }

.td-image-box-holder.td-rc-template-standard .td-content-item:hover .td-content-media-group .td-content-title h5, .td-image-box-holder.td-rc-template-standard .td-content-item:hover .td-content-media-group .td-content-title h5 > a { color: var(--td-elementor-color-white); }

.td-image-box-holder.td-rc-template-standard .td-content-item:hover .td-content-media-group .td-content-title h5 > a:hover { color: var(--td-elementor-color-black); }


/* ---------------- */
/* Custom Style  */
/* ---------------- */

.td-custom-image-with-slide .td-content-item > div:not(:last-child), 
.td-custom-image-with-slide .td-content-item .td-content-media-group > div:not(:last-child), 
.td-custom-image-with-slide .td-content-item .td-content-detail-group > div:not(:last-child), 
.td-custom-image-with-slide .td-content-item .td-content-elements-group > div:not(:last-child) { margin: 0; }

.td-custom-image-with-slide .td-content-item { display: inline-flex; flex-wrap: wrap; height: 100%; }
.td-custom-image-with-slide .td-content-item .td-content-media-group { display: inherit; width: 100%; }

.td-custom-image-with-slide .td-content-item .td-content-detail-group { background: var(--tdTertiaryColor);
    width: calc(100% - 160px); margin-left: auto; margin-right: 0; padding: 20px 50px; box-shadow: 0 0 0 100vmax var(--tdTertiaryColor);
    -webkit-clip-path: inset(0 -100vmax -100vmax); clip-path: inset(0 -100vmax -100vmax); min-height: 82px; }
.td-custom-image-with-slide .td-content-item .td-content-detail-group:before { width: 2px;
    content: ""; position: absolute; top: -100%; left: 0; bottom: -100%; background-color: var(--tdSecondaryColor); }


.td-custom-image-with-slide .swiper-slide .td-content-item .td-content-media-group { animation: clip-animation 1s ease .05s forwards; }
.td-custom-image-with-slide .swiper-slide .td-content-item .td-content-detail-group { right: 0; bottom: 0; display: flex; align-items: center; }
.td-custom-image-with-slide .swiper-slide.swiper-slide-active .td-content-item .td-content-media-group {
    clip-path: polygon(100% 0,100% 0,100% 120%,100% 120%); opacity: 1; transition: opacity .8s; animation: clipshow .8s ease .36s forwards; }

.td-custom-image-with-slide .td-carousel-holder .swiper.swiper-horizontal + .td-carousel-pagination-wrapper .td-swiper-pagination,
.td-custom-image-with-slide .td-carousel-holder .td-carousel-pagination-wrapper .td-carousel-arrow-pagination > div,
.td-custom-image-with-slide .td-carousel-holder .swiper.swiper-horizontal + .td-carousel-pagination-wrapper .td-carousel-arrow-pagination { margin: 0; }

.td-custom-image-with-slide .td-carousel-holder .swiper.swiper-horizontal + .td-carousel-pagination-wrapper .td-carousel-arrow-pagination { 
    position: absolute; left: 0; bottom: 6px; width: 160px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.td-custom-image-with-slide .td-carousel-holder .td-carousel-pagination-wrapper .td-carousel-arrow-pagination > div > span { display: none; }
.td-custom-image-with-slide .td-carousel-holder .td-carousel-pagination-wrapper .td-carousel-arrow-pagination > div > i { font-size: 24px; }
.td-custom-image-with-slide .td-carousel-holder .td-carousel-pagination-wrapper .td-carousel-arrow-pagination > div { flex: 1; height: 80px; text-transform: uppercase; }

@-webkit-keyframes clipshow {
    to { clip-path: polygon(0 0,100% 0,100% 120%,0 120%) }
}
@keyframes clipshow {
    to { clip-path: polygon(0 0,100% 0,100% 120%,0 120%) }
}

@-webkit-keyframes clip-animation {
    0% { clip-path: polygon(-6% 0,114% 0,114% 120%,-6% 120%) }
    41% { clip-path: polygon(-6% 0,-6% 0,-6% 120%,-6% 120%) }
    41.01%,48% { clip-path: polygon(114% 0,114% 0,114% 120%,114% 120%) }
    100% { clip-path: polygon(-6% 0,114% 0,114% 120%,-6% 120%) }
}
@keyframes clip-animation {
    0% { clip-path: polygon(-6% 0,114% 0,114% 120%,-6% 120%) }
    41% { clip-path: polygon(-6% 0,-6% 0,-6% 120%,-6% 120%) }
    41.01%,48% { clip-path: polygon(114% 0,114% 0,114% 120%,114% 120%) }
    100% { clip-path: polygon(-6% 0,114% 0,114% 120%,-6% 120%) }
}

/* .td-custom-image-with-slide,
.td-custom-image-with-slide .elementor-widget-container,
.td-custom-image-with-slide .elementor-widget-container .td-image-box-holder,
.td-custom-image-with-slide .elementor-widget-container .td-image-box-holder .td-image-box-container { height: 100%; }

.td-custom-image-with-slide .swiper-slide .td-content-item .td-content-image > span > img, 
.td-custom-image-with-slide .swiper-slide .td-content-item .td-content-image > a > img { 
    height: 100%; width: 100%; object-fit: cover; object-position: center center;} */

@media ( max-width: 1280px) {
    .td-custom-image-with-slide .td-content-item .td-content-detail-group { padding: 20px 30px; }
}

@media ( max-width: 1540px) {
    .td-custom-image-with-slide .td-carousel-holder .swiper.swiper-horizontal + .td-carousel-pagination-wrapper .td-carousel-arrow-pagination { width: 120px; }
    .td-custom-image-with-slide .td-carousel-holder .td-carousel-pagination-wrapper .td-carousel-arrow-pagination > div { height: 60px; }
    .td-custom-image-with-slide .td-content-item .td-content-detail-group { width: 100%; min-height: 0; }
    .td-custom-image-with-slide .td-content-item .td-content-detail-group::before { display: none; }

    .td-custom-image-with-slide .td-carousel-holder .swiper.swiper-horizontal + .td-carousel-pagination-wrapper .td-carousel-arrow-pagination { 
        background-color: rgba(var(--tdTertiaryColorRgb),0.8); top: 0; right: 0; left: auto; bottom: auto; }
}