
/** 
    @Common CSS for listing
*/

.wdt-listings-item-container:not(.swiper-wrapper) { width: auto; margin: -15px; }


/** 
    @Type 1 
*/

.wdt-listings-item-wrapper.type1 { border: none; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section {position: relative;overflow: hidden;display: grid; align-items: end;}

.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 {
    padding: 30px;
    transition: var(--wdt-Ad-Transition);
    z-index: 2;
    text-align: right;
    }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div:not(:last-child) {margin-bottom: 0;}

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings--title { margin: 0 0 5px; font-size: calc(var(--wdtFontSize_H6) + 2px); }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings--title a:hover{
    color:var(--wdtHeadAltColor);
}
.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%; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-feature-image-holder:before{ content:""; height:100%; width:100%; position:absolute; top:0; left:0;
    display:block; background-color:transparent; z-index:1; pointer-events: none; transition: var(--wdt-Ad-Transition); }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section:hover .wdt-listings-feature-image-holder:before{ 
    background-color: rgba(var(--wdtPrimaryColorRgb),0.9); }

.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; transition: var(--wdt-Ad-Transition); }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section:hover .wdt-listings-feature-image-holder img { scale: 1.2; }

.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-hover-icons { position: absolute; top: 20px; left: 20px; display:flex; flex-direction:row-reverse; gap:10px; }
.wdt-listings-item-wrapper.type1 .wdt-listings-hover-icons .wdt-view-details-btn{ height:45px; width:45px; display:flex; justify-content:center; align-items:center; 
    border-radius: var(--wdtRadius_Part); font-size:20px; border:1px solid var(--wdtAccentTxtColor); }
.wdt-listings-item-wrapper.type1 .wdt-listings-hover-icons .wdt-view-details-btn:hover{ background-color:var(--wdtAccentTxtColor); color:var(--wdtPrimaryColor); }
.wdt-listings-item-wrapper.type1 .wdt-listings-hover-icons .wdt-view-details-btn .detail-icon{ margin-left:0; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section div.wdt-listings-hover-image-icon { position: relative; top:0; left:0; height:45px; width:45px; display:flex; 
    justify-content:center; align-items:center; border-radius: var(--wdtRadius_Part); font-size:20px; border:1px solid var(--wdtAccentTxtColor); color: var(--wdtAccentTxtColor); 
    transition:var(--wdt-Ad-Transition); font-size: 22px; cursor: pointer; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section div.wdt-listings-hover-image-icon:hover{ background-color:var(--wdtAccentTxtColor); color:var(--wdtPrimaryColor); }

.wdt-listings-item-wrapper.type1 .wdt-listings-hover-image-icon .wdt-icon{ width:20px; height:20px; transition:var(--wdt-Ad-Transition); }

.wdt-listings-item-wrapper.type1 .wdt-listings-taxonomy-container ul li:first-child::before{ display: none; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section-content .wdt-listings-title-group{ border-right: 1px solid white; padding-right:20px; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-title-group{ transform:translateY(100px); opacity: 0;}
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section:hover .wdt-listings-title-group{ transform:translateY(0px); transition-delay:0.2s; opacity: 1;}

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-hover-icons > div,
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-hover-icons > a{ transform:translateY(-100px); transition: all 0.45s ease-out; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section:hover .wdt-listings-hover-icons > div{ transform:translateY(0px); transition-delay:0.2s; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section:hover .wdt-listings-hover-icons > a{ transform:translateY(0px); transition-delay:0.1s; }


/** 
    @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;}

}
