
/** 
    @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; }

.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 { align-content: center; padding: 20px; text-align: center;
    position: relative; background: transparent; transition: var(--wdt-Ad-Transition); z-index: 1; opacity: 0; visibility: hidden; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content:before { content: '';
    position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; background-color: rgba(var(--wdtPrimaryColorRgb), 1); z-index: -1; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-item-top-section-content > div:not(:last-child) { margin-bottom: 12px; }

.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings--title { margin: 0px; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings-group-button-hover-icon { display: none; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listing-view-details { 
    display: inline-block; margin: 0px; background-color: var(--wdtAccentTxtColor); color: var(--wdtHeadAltColor); }

.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 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.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:hover .wdt-listings-item-top-section .wdt-listings-item-top-section-content { opacity: 1; visibility: visible; }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section a:hover { color: var(--wdtHeadAltColor); }
.wdt-listings-item-wrapper.type1 .wdt-listings-item-top-section .wdt-listings--title { transform-origin: center top;
    transform: translateY(-100%); transition: transform .35s linear .15s, opacity .35s linear .15s; opacity: 0; }
.wdt-listings-item-wrapper.type1:hover .wdt-listings-item-top-section .wdt-listings--title { transform: translateY(0); opacity: 1; transform-origin: center top; }




/** 
    @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;}

}
