
/** 
    @Common CSS for listing
*/

.wdt-listings-item-container:not(.swiper-wrapper) { width: auto; margin: 0px; position: relative; height: auto; }


/** 
    @Type 1 
*/


.wdt-listings-item-wrapper.type1 {
    position: relative;
    border-radius: var(--wdtRadius_2X);
    overflow: hidden;
    margin-bottom: clamp(2.5rem, 2.0856rem + 1.387vw, 3.75rem);/*60-40*/
    z-index: 10;
}
.wdt-listings-item-wrapper.type1 .wdt-counter-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 0.8356rem + 1.387vw, 2.5rem);/*40-20*/
    padding: 20px 0;
    border-top: 1px solid rgba(var(--wdtHeadAltColorRgb) , 0.2);
    margin-top: 20px;
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section{
    display: grid;
    place-items:end;
    margin:auto;
    right:0;
    left:auto;
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section > div{
    grid-area: 1/1;
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content{
    background-color:rgba(var(--wdtAccentTxtColorRgb),0.875);
    padding: clamp(1.875rem, 1.6667rem + 0.6944vw, 2.5rem);/*40-30*/
    border-radius: var(--wdtRadius_2X);
    -webkit-border-radius: var(--wdtRadius_2X);
    max-width: 500px;
    margin: clamp(2.5rem, 1.2569rem + 4.1609vw, 6.25rem);/*100-40*/
    z-index: 3;
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-title h4,
.wdt-listings-item-wrapper.type1 .wdt-listings-item-title h4 a{
    color:var(--wdtHeadAltColor);
    margin-top: 0;
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-image-gallery{
    height: 100%;
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-image-gallery .wdt-listings-feature-image-holder,
.wdt-listings-item-wrapper.type1 .wdt-listings-item-image-gallery .wdt-listings-feature-image-holder img, 
.wdt-listings-item-wrapper.type1 .wdt-listings-image-gallery.swiper-wrapper .swiper-slide img{
    height: 100%;
    width: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: var(--wdtRadius_2X);
    -webkit-border-radius: var(--wdtRadius_2X);
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-image-gallery .wdt-listings-feature-image-holder:before{
    content:"";
    height:100%;
    width:100%;
    position:absolute;
    top:0;
    left:0;
    background-color:rgba(var(--wdtHeadAltColorRgb),0.1);
    z-index: 1;
}


.wdt-listings-item-wrapper.type1 .wdt-counter-container .wdt-content-item .wdt-content-detail-group > div:not(:last-child){
    margin-bottom: 5px;
 }
.wdt-listings-item-wrapper.type1 .wdt-counter-container .wdt-content-item .wdt-content-title h5{
    font-size: var(--wdtFontSize_Base);
    font-weight: var(--wdtFontWeight_Base);
    color: var(--wdtBodyTxtColor);
}
.wdt-listings-item-wrapper.type1 a.custom-button-style{
    font-size: 16px;
    border-radius: var(--wdtRadius_Zero);
    width:fit-content;
    background: transparent;
    color: var(--wdtHeadAltColor);
    overflow: hidden;
    padding: 0;
    margin-top:20px;
}
.wdt-listings-item-wrapper.type1 a.custom-button-style:after{
    content: "";
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    top: 0;
    bottom: 0;
    left:0;
    right: 0;
    margin: auto;
    margin-left:8px;
    mask-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cpath d='M97.5,50L44.1,19.1v61.7L97.5,50z M2.5,50v5.3h46.9V50v-5.3H2.5V50z'/%3E%3C/svg%3E%0A");
    background: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
}
.wdt-listings-item-wrapper.type1 a.custom-button-style:hover:after{
    animation: btn-arrow-move 0.375s linear;
    -webkit-animation: btn-arrow-move 0.375s linear;
}
.wdt-listings-item-wrapper.type1 .wdt-content-item .wdt-content-counter{
    font-weight: var(--wdtFontWeight_Alt);
    font-size: clamp(1.5rem, 1.4164rem + 0.3822vw, 1.875rem); /* Min-24 & Max-30 */
}


@media screen and (max-width:479px) {
    .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section{
        gap:0;
    }
    .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section > div.wdt-listings-item-image-gallery{
        grid-area:1/1/2/2;
    }
    .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section > div.wdt-listings-item-top-section-content{
        grid-area:2/1/3/2;
        width:100%;
        background-color:transparent;
        padding:0;
        margin: 15px 0 5px;
    }
    .wdt-listings-item-wrapper.type1 .wdt-listings-item-image-gallery .wdt-listings-feature-image-holder:before{
        display:none;
    }
    .wdt-listings-item-wrapper.type1 .wdt-counter-container{
        padding: 20px 0 30px;
    }
    .wdt-listings-item-wrapper.type1,
    .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content{
        border-bottom-left-radius: var(--wdtRadius_Zero);
        border-bottom-right-radius: var(--wdtRadius_Zero);
    }
    .wdt-listings-item-wrapper.type1 a.custom-button-style{
        margin-top: 0;
    }
}
/*-- Portfolio sticky --*/

@media screen and (min-width:480px) {
  .top-sticky{
  position: sticky;
  top: 50px;
}
}

/** 
    @Type 2 
*/


.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings-item-top-section-content { display: block;
  position: relative; float: left; width: 100%; padding: 20px 0 0; }

.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings--title { margin: 0px; color: var(--wdtHeadAltColor); }
.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings--title a { color: inherit; text-decoration: none; }
.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings--title a:hover { color: var(--wdtLinkHoverColor); }

.wdt-listings-item-wrapper.type2 .wdt-listings-taxonomy-container li a { line-height: normal; padding: 0; font-size: 14px; }
.wdt-listings-item-wrapper.type2 .wdt-listings-taxonomy-container li a:before { display: none; }

.wdt-listings-item-wrapper.type2 .wdt-listings-taxonomy-container li a span:first-child:not(:only-child) { margin-right: 5px; }

.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div:not(:last-child) { margin-bottom: 12px; }


.wdt-listings-item-wrapper.type2:not(.has-post-thumbnail) .wdt-listings-item-top-section { padding-top: 40px; }
.wdt-listings-item-wrapper.type2:not(.has-post-thumbnail) .wdt-listings-taxonomy-container { position: static; padding: 10px 30px 0; }
.wdt-listings-item-wrapper.type2:not(.has-post-thumbnail) .wdt-listings-item-bottom-section-content { padding-top: 20px; padding-bottom: 50px; }
.wdt-listings-item-wrapper.type2:not(.has-post-thumbnail) .wdt-listings-item-top-section div.wdt-listings-item-ad-section { right: 30px; }

.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings-featured-item-container,
.wdt-listings-item-wrapper.type2:hover .wdt-listings-item-top-section .wdt-listings-featured-item-container {
    left: 0; top: 0; right: auto; background: none; font-size: 0; padding: 0; position: absolute; }

.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings-featured-item-container a,
.wdt-listings-item-wrapper.type2:hover .wdt-listings-item-top-section .wdt-listings-featured-item-container a { background: none; }

.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings-featured-item-container a {
    display: flex; position: absolute; justify-content: flex-end; right: 0; top: 5px; opacity: 1; }

.wdt-listings-item-wrapper.type2 .wdt-listings-item-top-section .wdt-listings-featured-item-container span {
    font-size: 14px; color: #ffffff; background-color: #000000; padding: 5px 7px; }

.wdt-listings-item-wrapper.type2:hover .wdt-listings-item-top-section .wdt-listings-featured-item-container a { opacity: 0; }

.wdt-listings-item-wrapper.type2:hover .wdt-listings-item-top-section .wdt-listings-featured-item-container a:after { color: #fff; }




.wdt-listings-item-wrapper.type2 .wdt-listings-hover-image-icon { width: 30px; height: 30px; display: block; 
    position: absolute; top: 30px; right: 30px; background: transparent; z-index: 4; opacity: 0; visibility: hidden; 
    cursor: pointer; transition: .3s cubic-bezier(0.4, 0, 1, 1); -webkit-transition: .3s cubic-bezier(0.4, 0, 1, 1); }

.wdt-listings-item-wrapper.type2:hover .wdt-listings-hover-image-icon { opacity: 1; visibility: visible; cursor: pointer; }

.wdt-listings-hover-image-icon .wdt-icon {
    width: 30px; height: 30px; fill: var(--wdtAccentTxtColor); cursor: pointer; transform: scale(.8); -webkit-transform: scale(.8); }

.wdt-listings-hover-image-icon:hover .wdt-icon { transform: scale(.8) rotate(90deg); 
    -webkit-transform: scale(.8) rotate(90deg); fill: var(--wdtLinkHoverColor); }

.wdt-listings-item-wrapper.type2 .wdt-listings-hover-image-icon svg {
    transform: scale(.8); -webkit-transform: scale(.8); transition: .3s cubic-bezier(0, 0, 0.2, 1); 
    -webkit-transition: .3s cubic-bezier(0, 0, 0.2, 1); }

.wdt-listings-item-wrapper.type2 .wdt-listings-hover-image-icon:hover svg {
    transform: scale(.8) rotate(90deg); -webkit-transform: scale(.8) rotate(90deg); }





    

/** 
    @Type 3 
*/

.wdt-listings-item-wrapper.type3 { position: relative; border: none; background: transparent; }

.wdt-listings-item-wrapper.type3 .wdt-listings-item-hover-section { 
    z-index: 1; position: absolute; top: 0; left: 0; white-space: nowrap; padding: 1rem; background: transparent; 
    font-weight: 400; margin-top: -4rem; margin-left: 0; /*opacity: 0; box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.15); */
    width: auto; float: none; pointer-events: none; }

.wdt-listings-item-wrapper.type3:hover .wdt-listings-item-hover-section { opacity: 1; }

.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a span { font-size: 0.8rem; padding: 0px; }
.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a span:before,
.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a span:after { display: none; }

.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a:hover span { color: inherit; }
.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a:before { display: none; }
.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a:hover { box-shadow: none !important; }

.wdt-listings-item-wrapper ul li:not(:first-child) { display: none; }


.wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container li a { color: #000000; background-color: transparent; }


/** 
    @CSS Media Queries
*/

@media (min-width: 768px) {

    .wdt-listings-item-wrapper.type3 .wdt-listings-item-title { -webkit-transition: var(--wdt-Ad-Transition); transition: var(--wdt-Ad-Transition);
        margin: 0 0 6px 0; padding: 10px 15px 12px;background-color: #fff; -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }
    .wdt-listings-item-wrapper.type3 .wdt-listings-taxonomy-container { -webkit-transition: var(--wdt-Ad-Transition); transition: var(--wdt-Ad-Transition);
        margin: 0; padding: 10px 15px 12px; background-color: #fff; width: fit-content; -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }

    .wdt-listings-item-wrapper.type3:hover .wdt-listings-item-title { -webkit-clip-path: inset(0 0% 0 0); clip-path: inset(0 0% 0 0); }
    .wdt-listings-item-wrapper.type3:hover .wdt-listings-taxonomy-container { -webkit-clip-path: inset(0 0% 0 0); clip-path: inset(0 0% 0 0); }

}

@media (max-width: 767px) {

    .wdt-listings-item-wrapper.type3 .wdt-listings-item-hover-section { padding: 1.2rem 0 0; margin-top: 0; margin-left: 0; 
        transform: none !important; box-shadow: none; position: relative; opacity: 1; width: 100%; }
    
    .wdt-listings-item-wrapper.type3 .wdt-listings-item-hover-section .wdt-listings-item-title { margin: 0 0 10px; }
    .wdt-listings-item-wrapper.type3 { margin-bottom: 24px;}

}

/*  Dot Pagination  */

.wdt-swiper-bullet-pagination .swiper-pagination-bullet-active{
  background: var(--wdtSecondaryColor);
}
