
/** 
    @Common CSS for listing
*/

.wdt-listings-item-container:not(.swiper-wrapper) { width: auto; margin:calc(-1*clamp(0.625rem, 0.5553rem + 0.3185vw, 0.9375rem)); /*15px - 10px*/  }


/** 
    @Type 1 
*/

.wdt-listings-item-wrapper.type1 { border: none; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section{
    padding:clamp(1.25rem, 1.1803rem + 0.3185vw, 1.5625rem); /*20px - 25px*/
    background:var(--wdtTertiaryColor);
    border-radius: var(--wdtRadius_2X);
    border:1px solid var(--wdtBorderColor);
    transition:var(--wdtAltTransition);
}
.wdt-dark-bg .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section{
    background:var(--wdtAccentTxtColor);
}
.wdt-listings-item-wrapper.type1:hover .wdt-listings-item-top-section{
    background:var(--wdtSecondaryColor);
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section > div.wdt-listings-item-top-wrapper{
   display: grid;
   grid-template-columns: 0.7fr 1fr;
   align-items: center;
   gap: 30px;
   border-bottom: 1px solid rgba(var(--wdtHeadAltColorRgb),0.18);
   margin-bottom: clamp(1.25rem, 1.1107rem + 0.6369vw, 1.875rem); /*20px - 30px*/
  padding-bottom: clamp(1.25rem, 1.1107rem + 0.6369vw, 1.875rem); /*20px - 30px*/
    transition:var(--wdtAltTransition);
    
}
.wdt-listings-item-wrapper.type1:hover .wdt-listings-item-top-section > div.wdt-listings-item-top-wrapper{
   border-bottom: 1px solid rgba(var(--wdtAccentTxtColorRgb),0.18);
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section > div.wdt-listings-features-box-container{
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap:clamp(0.9375rem, 0.8678rem + 0.3185vw, 1.25rem); /*15px - 20px*/
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-image-gallery{
   order: 0;
   height: 100%;
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div:not(:last-child) {
    margin-bottom: clamp(0.5rem, 0.4555rem + 0.2454vw, 0.75rem); /*12px - 8px*/ }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div.wdt-listings-item-icon:not(:last-child) {
    margin-bottom: 20px; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-title {     
    font-family: var(--wdtFontTypo_Alt); font-size: clamp(1.5rem, 1.4333rem + 0.3681vw, 1.875rem); /*30px - 24px*/ 
    font-weight: var(--wdtFontWeight_Alt); text-transform: capitalize; margin: 0; }   

.wdt-listings-item-wrapper.type1:hover .wdt-listings-item-top-section .wdt-listings-title a { color:var(--wdtAccentTxtColor); } 
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-title a:hover { color:var(--wdtPrimaryColor); }  
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div.wdt-listings-item-excerpt {
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;color: var(--wdtBodyTxtColor); }
.wdt-listings-item-container div:is(.wdt-one-half)  .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div.wdt-listings-item-excerpt { -webkit-line-clamp: 3; line-clamp: 3;  }
.wdt-listings-item-wrapper.type1:hover .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div.wdt-listings-item-excerpt { color: var(--wdtAccentTxtColor); }

.wdt-listings-item-wrapper.type1 .wdt-listings-features-box-item > div{
    margin: 0;
}    
.wdt-listings-item-wrapper.type1 .wdt-listings-features-box-item .wdt-listings-features-box-item-title{
    font-size: var(--wdtFontSize_Base);
    font-weight: var(--wdtFontWeight_Ext);
    line-height: 1;
    margin-bottom: 10px;
    color: rgba(var(--wdtHeadAltColorRgb), 0.6);
    transition:var(--wdtAltTransition);
}

.wdt-listings-item-wrapper.type1 .wdt-listings-features-box-item .wdt-listings-features-box-item-sbuttle{
  font-size: var(--wdtFontSize_H6);
  line-height: 1;
  color: var(--wdtHeadAltColor);
    transition:var(--wdtAltTransition);
}
.wdt-listings-item-wrapper.type1:hover .wdt-listings-features-box-item .wdt-listings-features-box-item-title,
.wdt-listings-item-wrapper.type1:hover .wdt-listings-features-box-item .wdt-listings-features-box-item-sbuttle{
  color: var(--wdtAccentTxtColor);
}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listing-view-details { display: inline-block; margin: 0px; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-feature-image-holder { display: block; height: 100%;overflow: hidden;border-radius: var(--wdtRadius_2X); }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-feature-image-holder img { 
    display: block; height: 100%; object-fit: cover; object-position: center center; scale: 1; 
    -webkit-transition: var(--wdt-Ad-Transition); transition: var(--wdt-Ad-Transition);
    backface-visibility: hidden; will-change: transform; isolation: isolate;min-height: 190px; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section:hover .wdt-listings-feature-image-holder img { scale: 1.1; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-featured-item-container span {
    font-size: 12px; color: #ffffff; background-color: #000000; padding: 8px 18px; display: inline-block; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-featured-item-container a { padding: 0px; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-featured-item-container { 
    position: relative; top: 10px; right: 10px; z-index: 1; justify-self: end; align-self: start; display: inline-block; width: fit-content; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-hover-image-icon { 
    position: absolute; top: 20px; left: 20px; margin: 0px; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-read-more a {     
    display: inline-block; margin-top: 5px; position:relative; }

.wdt-listings-item-wrapper.type1:hover .wdt-listings-item-top-section .wdt-listings-item-read-more a { 
    color: var(--wdtAccentTxtColor); }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-read-more a:hover { 
    color: rgba(var(--wdtAccentTxtColorRgb),0.6); }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-read-more a:before { 
    content: ''; position: absolute; width: 100%; height: 1px; background-color: currentColor; top: auto; 
        left: 0; right: 0; bottom: 2px; -webkit-transform: scaleX(1); transform: scaleX(1); transform-origin: left bottom; 
        -webkit-transition: all .3s ease; transition: all .3s ease; opacity: 1; margin: auto; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-read-more a:hover:before { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; }


/** 
    @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 only screen and (max-width: 1024px) {
    .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section > div.wdt-listings-item-top-wrapper {
        grid-template-columns: 1fr; }   
     .wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-image-gallery{
        order: 0;  }
}

@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;}

    .elementor-widget-wdt-widget-df-listings-listing .wdt-listing-output-data-container:has(> .wdt-listing-output-data-holder + .wdt-swiper-pagination-holder > .wdt-swiper-bullet-pagination:only-child) { padding: 0; }
    .elementor-widget-wdt-widget-df-listings-listing .wdt-listing-output-data-container:has(> .wdt-listing-output-data-holder + .wdt-swiper-pagination-holder > .wdt-swiper-bullet-pagination:only-child)::before, 
    .elementor-widget-wdt-widget-df-listings-listing .wdt-listing-output-data-container:has(> .wdt-listing-output-data-holder + .wdt-swiper-pagination-holder > .wdt-swiper-bullet-pagination:only-child)::after {
        display: none !important; }
    .elementor-widget-wdt-widget-df-listings-listing .wdt-listing-output-data-container .wdt-swiper-pagination-holder > .wdt-swiper-bullet-pagination:only-child {
        position: relative; bottom: 0; margin-top: 30px; }
}
