/*
Theme Name: Vehica Child
Theme URI: https://vehicatheme.com/
Author: TangibleDesign
Author URI: https://tangibledesign.net/
Description: Vehica
Template: vehica
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: translation-ready
Text Domain: vehica
*/

.c-maker{
    display:inline-block;
    text-transform: uppercase;
}
.c-model{
    display:inline-block;
    text-transform: uppercase;
}
.c-title{
    display:block;
	font-size: 14px;
	white-space:normal;
}

.marca-menu ul {
    display: flex;
    align-items: stretch; /* Default */
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 0px;
    flex-flow: wrap;
}

.marca-menu li {
    display: block;
    flex: 0 1 auto; /* Default */
    list-style-type: none;
    padding: 0 0 0 16px;
    font-size: 120%;
    line-height: 180%;
}

.show-after-booked-check {
    display: none;
}

.elementor-nav-menu .sub-arrow + .sub-arrow{
    display:none;
}

.detail-car-booked .book-car-button {
    background: #ccc !important;
    cursor: not-allowed;
}

/*.detail-car-booked .book-car-button{
    display:none !important;
}*/

.vehica-car-card.car-booked .vehica-car-card-link:before, .detail-car-booked .vehica-gallery-v4__image-big:before {
    content: "Auto prenotata";
    display: inline-block;
    z-index: 1;
    background: #00000073;
    color: #fff;
    border-radius: 5px;
    padding: 4px 10px;
    margin: 10px;
    position: absolute;
    top: 0;
    left: 0;
}


.vehica-gallery-v4__images img {
    object-fit: contain;
}

/*.vehica-car-card__image img{
    object-fit: contain;
}*/

.elementor-editor-active #numreceventviewscontainer {
    display: block;
}

#numreceventviewscontainer {
    display: none;
    background: var(--primary);
    text-align: center;
    padding: 10px;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.7;
    }
}


body .vehica-inventory-v1__2-cols__right__inner {
    height: auto;
}


.vehica-inventory-v1__2-cols__left {
    /*min-width: 226px;*/
    /*max-width: 226px;*/
    min-width: 306px;
    max-width: 306px;
    margin-left: 30px;
    margin-right: 30px;
    flex: 1;
    /*z-index: 0;*/
}

.vehica-inventory-v1__2-cols__right {
    flex: 1;
    align-self: stretch;
    width: 100%;
    margin-left: -12px;
    margin-right: 0;
    display: flex;
    min-width: auto;
    max-width: none;
    /*z-index: 0;*/
}

.vehica-inventory-v1__2-cols__left .vehica-results__field {
    width: 100%;
    padding:0;
}

.vehica-inventory-v1__top {
    padding-top: 0;
}

.vs__dropdown-toggle {
    z-index: auto;
}

.vehica-inventory-v1__results .vehica-inventory-v1__results__card {
    width: 33.33%;
    padding: 0 15px 30px;
}

@media screen and (max-width: 1023px) {
    .vehica-inventory-v1__2-cols {
        flex-wrap: wrap;
    }

    .vehica-inventory-v1__2-cols__left {
        align-self: flex-end;
        order: 1;
    }

    body .vehica-inventory-v1__results .vehica-inventory-v1__results__card {
        width: 50%;
    }
}

@media screen and (max-width: 599px) {
    body .vehica-inventory-v1__results .vehica-inventory-v1__results__card {
        width: 100%;
    }
}
.vehica-inventory-v1__compare{
    margin-right: 30px;
    padding: 10px;
}
@media screen and (max-width: 1023px) {
    .vehica-inventory-v1__compare{
        margin-bottom: 20px;
    }
}




/** Slider home **/
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle {top: -.2em;margin-left: -.6em;}
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }

.ui-slider-handle {
    background: var(--primary);
    border-radius: 50%;
}

.ui-slider-horizontal {
    background:#7d7d7d;
    border-radius: 6px;
    height: 13px;
}
.ui-slider-handle.ui-state-active {
    border: var(--primary);
}

.ui-slider-range {
    background: #1d1d1b;
}
#price-slider-max{
    float:right;
}
#price-slider-search-wrapper{
    display:block;
    text-align: center;
}
#price-slider-search{
    display: inline-block;
    padding: 10px;
    margin: 40px 10px 20px;
    background: #222732;
    color: #fff;
}
/****/


ul.cars-most-searched{
    list-style-type:none;
    margin:10px 15px;
    padding:0;
}
.cars-most-searched li{
    background: #8e8e8e;
    color: #fff;
    display: inline-block;
    padding: 5px 7px;
    margin: 2px;
    border-radius: 0;
    font-size: 13px;
}
.cars-most-searched li a{
    color:#fff;
}




.price_rate{
    display:block;
    font-size: 18px;
    color:#000;
}
.price_rate em{
    font-size: 27px;
    line-height: 35px;
    font-weight: 800;
    color: var(--primary);
    font-style: normal;
}
.elementor-element-5aa37ab9 .price_rate span{
    display:block;
}
.vehica-breadcrumbs__last{
    line-height:19px;
}

.review-rating{
    color: var(--primary);
}


body .elementor-18393 .elementor-element.elementor-element-d1ad025 > .elementor-element-populated {
    border-color: var(--primary);
}

body .elementor-18393 .elementor-element.elementor-element-7cef4b7 .jet-listing-dynamic-field.display-multiline, body .elementor-18393 .elementor-element.elementor-element-7cef4b7 .jet-listing-dynamic-field.display-inline .jet-listing-dynamic-field__inline-wrap{
    background-color: var(--primary);
}

.review-rating span {
    position: relative;
    font-size: 12px;
}
.review-rating span:after {

    animation: shine 1s ease-in-out  infinite;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 100%;
    opacity: 0;
    transform: rotate(30deg);

    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.13) 0%,
            rgba(255, 255, 255, 0.13) 77%,
            rgba(255, 255, 255, 0.5) 92%,
            rgba(255, 255, 255, 0.0) 100%
    );
}

.vehica-car-card__featured.vehica-car-offer {
  padding-right: 50px;
  clip-path: polygon(0 0%, 85% 0, 100% 100%, 0% 100%);
  padding: 10px 15px 0 10px;
  margin: 0rem 0 -35px 0;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  background: var(--primary);
  width: fit-content;
  z-index: 20;
  position: relative;
}



@keyframes shine{
    10% {
        opacity: 1;
        top: -30%;
        left: -30%;
        transition-property: left, top, opacity;
        transition-duration: 0.7s, 0.7s, 0.15s;
        transition-timing-function: ease;
    }
    100% {
        opacity: 0;
        top: -30%;
        left: -30%;
        transition-property: left, top, opacity;
    }
}

.elementor-field-type-submit.e-form__buttons {
    margin-top: 10px;
}

.elementor-field-group .elementor-field-textual:focus {
    -webkit-box-shadow: 0 0 0 0px rgba(0,0,0,.1) inset;
    box-shadow: inset 0 0 0 0px rgba(0,0,0,.1);
    outline: 0;
}

.mobile-listing-menu .listing-number{
    display:none;
}
.mobile-switch{
    display:none;
}

@media screen and (max-width: 899px) {
    .mobile-listing-menu .mobile-listing-menu-container{
        display:none;
    }
    .vehica-car-features-v2 {
        display: block;
    }

    .vehica-car-features-v2__feature:nth-child(3):after, .vehica-car-features-v2__feature:nth-child(5):after {
        content: "";
        display: none;
    }

    /*.vehica-car-features-v2__feature:nth-child(4){
      clear:left;
    }*/
    .vehica-car-features-v2__feature:nth-child(1) {
        width: 100%;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        padding: 10px;
        margin-bottom: 30px;
    }

    .vehica-car-features-v2__feature {
        width: 50%;
        padding: 0;
        float: left;
        margin: 0 0 10px;
    }

    .vehica-car-features-v2__feature__label {
        margin-bottom: 5px;
    }
    .vehica-breadcrumbs {
        display: block;
        white-space: normal;
        margin:0 15px;
    }
    .vehica-breadcrumbs__single:first-child {
        margin-left: 0;
    }

    body.single-vehica_car .vehica-breadcrumbs .vehica-breadcrumbs__single:nth-last-child(2) .vehica-breadcrumbs__separator,body.single-vehica_car .vehica-breadcrumbs .vehica-breadcrumbs__last{
        display:none;
    }

    .jet-listing-grid__slider-icon.slick-arrow{
        width: 25px;
        height: 40px;
        line-height: 5px;
        font-size: 19px;
    }
    .jet-listing-grid__item {
        padding-right: 20px;
        padding-left: 20px;
    }





    .mobile-switch{
        display:block;
    }
    .mobile-switch:before{
        content: "\f5de";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        display:block;
    }
    .mobile-listing-menu-open .mobile-switch:before{
        content: "\e87f";
        font-family: eicons;
    }
    .mobile-listing-menu .listing-number{.mobile-listing-menu .mobile-listing-menu-container
        display:block;
    }


    .mobile-switch{
        padding-right:20px;
        display:block;
        font-size: 21px;
        background:var(--e-global-color-0a7bf7a);
        height:32px;
        width: 32px !important;
        text-align: center;
        padding:0 5px;
        margin-right:10px;
        color:#fff;
    }
    body.mobile-listing-menu-open{
        overflow:hidden;
        height:100vh;
    }
    .mobile-listing-menu .mobile-listing-menu-container{
        height:0;
        transition: all 900ms ease;
        display:block;
        overflow:hidden;
        position: fixed;


        left: 0;
        max-height: calc(100% - 112px);
        top: 112px;
        z-index: 1000000;

        /*transition: visibility 0s, opacity 0.5s linear;*/
        width: 100vw;
    }
    .mobile-listing-menu-open .mobile-listing-menu .mobile-listing-menu-container{
        overflow-y: auto;
        height: calc(100% - 112px);
    }
    .mobile-listing-menu-container ul{
        list-style-type:none;
        padding:0;
        margin:0;
        display:block;
    }
    .mobile-listing-menu-container ul li{
        width:100%;
        display:block;
        padding:5px 20px;
        margin:0;
        border-bottom:1px solid #fff;
        background: #efefef;
    }
    .mobile-listing-menu-container ul li span.listing-model{
        float:left;
    }
    .mobile-listing-menu-container ul li span.listing-number{
        display:inline-block;
        padding:0 0 0 20px;
        margin:0;
        font-weight:normal;
        float:right;
    }
    .mobile-listing-menu-container ul li span.listing-number:after{
        content:" offerte";
    }
    .mobile-listing-menu-container ul li:after{
        clear:both;
        content:"";
        display:block;
    }
}


.listing-qr-code{
    max-width:150px;
}
.page-id-23307 ul.car-equipments {
    font-size: 12px;
    line-height: 13px;
}


.post-type-archive-vehica_car .vehica-car-card__name{
	text-transform:capitalize;
}

.elementor-18393 .elementor-element.elementor-element-ecbb885 .elementor-heading-title {
  text-transform: capitalize;
}


.promo-intro{
	text-align: center;
    padding: 20px;
}



/** yt home **/
#yt-home-ct{
    height:100%;
    width:100%;
    top:0;
    left:0;
    overflow:hidden;
    position:absolute;
}
.yt-video-container{
  width: 100vw;
  height: 100vh;
}
    
.yt-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
}
@media (min-aspect-ratio: 16/9) {
  .yt-video-container iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 56.25vw;
  }
}
    
@media (max-aspect-ratio: 16/9) {
  .yt-video-container iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}