header .main-menu a{
    color: #000;
}

.main-menu > li:hover > a > span,
.main-menu > li.active > a > span{
    background-color: #000!important;
    color: #fff;
}

header .main-menu > li.active:last-child{
    margin-right: 0;
}

.find-directions {
    position: absolute;
    z-index: 2000000;
    bottom: 0;
    left: 5%;
    font-size: 0.8em;
    border-radius: 6px 6px 0 0;
    background: #247b7f!important;
    text-align: left;
    padding-right: 64px!important;
    -webkit-box-shadow: 0 -4px 6px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 -4px 6px rgba(0,0,0,0.3);
    box-shadow: 0 -4px 6px rgba(0,0,0,0.3);
}

.find-directions .icon{
    display: block;
    width: 32px;
    height: 32px;
    color: #fff;
    margin: 0 auto 4px;
    position: absolute;
    right: 16px;
}

.find-directions .icon svg{
    fill: #fff;
}

#map {
    width: 90%;
    height: 100vh;
    left: 0;
    top: 0;
    background: #f0f0f0;
    z-index: 0;
    pointer-events: all!important;
}

.leaflet-touch .leaflet-bar{
    pointer-events: all!important;
}

section.carousel.inverse .carousel{
    margin-left: 50%;
    width: 50%;
}

.inverse .right-cover-content{
    left: 0;
}

.inverse .right-cover-content .v-centered{
    top: 0;
    webkit-transform: none;
    -moz-transform: none;
    transform: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.right-cover-content .container,
.slides > .slide.active{
    width: 100%;
    height: 100%;
}



.img-test.come-arrivare{
    background-color: #fff;
    background-image: url("../../images/frontend/contatti/directions.svg");
    background-position: 25% 50%;
    background-size: auto 80%;
}

.carousel{
    pointer-events: none!important;
}

.right-cover-content *{
    pointer-events: all!important;
}

#map:after{
    content: '';
    position: absolute;
    background: #fff;
    width: 100px;
    height: 140%;
    transform-origin: 100% 100%;
    -webkit-transform: translate(100%,-10%) rotate(-4deg);
    -moz-transform: translate(100%,-10%) rotate(-4deg);
    transform: translate(100%,-10%) rotate(-4deg);
    right: 0;
    left: auto;
    z-index: 2000;
    pointer-events: none!important;
}

.leaflet-touch .leaflet-bar a{
    font-family: sans-serif;
}

.honey_pot {
    position: absolute;
    visibility: hidden;
}

.numbers{
    padding: 0 0.5em;
    color: var(--title-accented-color);
}

.numbers:before{
    content: attr(data-num);
    display: inline-block;
    font-size: inherit;
}

.plus:before {
    content: ' + ';
    color: var(--title-accented-color);
}

.button {
    border: 0;
    padding: 1em 2em;
}

.leaflet-control-attribution{
    display: none!important;
}

.leaflet-control-container {
    position: absolute;
    bottom: 140px;
    right: 96px;
}

.mapboxgl-control-container{
    position: absolute;
    bottom: 0;
    height: 120px;
    width: 64px;
    right: 32px;
}

.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right{
    display: none;
}

section.contact-form{
    background: #fff;
    min-height: 300px;
}

.error{
    display: none;
}


form .row > div{
    margin-bottom: 32px;
    position: relative;
}

input, textarea, select{
    width: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #d0d0d0;
    padding: 8px;
}

label{
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
    display: inline-block;
}

label sup{
    padding-left: 8px;
    color: #f00;
}

textarea{
    min-height: 100px;
}
input{
    line-height: 32px;
}

textarea.invalid,
input.invalid{
    border-color: #f00;
}

textarea + .error,
input + .error{
    background: #f00;
    color: #fff;
    position: absolute;
    padding: 2px 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    max-width: 100%;
    margin-top: 8px;
}

.error:after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #f00 transparent;
    border-width: 0 8px 8px;
    top: -8px;
    left: 32px;
    margin-left: -8px;
}

input.invalid + .error{
    display: block;
}

input[name="privacy"]{
    display: inline;
    position: relative;
    left: 0;
    width: auto;
    margin-right: 6px;
}

.contact-form{
    margin-top: -32px;
}

[name="thanks"]{
    -webkit-transform: translate(0, -300px);
    -moz-transform: translate(0, -300px);
    transform: translate(0, -300px);
    position: absolute;
    display: inline-block;
}

.contact-form > .container{
    margin-top: -32px;
}

.contact-form::before {
    content: ' ';
    position: absolute;
    width: 200%;
    height: 64px;
    -webkit-transform: translate(-50%, -50%) rotate(2deg);
    -moz-transform: translate(-50%, -50%) rotate(2deg);
    transform: translate(-50%, -50%) rotate(2deg);
    background: #fff;
    top: 0;
    left: 50%;
}

.thank-you strong{
    display: inline-block;
    background: #d66a01;
    padding: 4px 8px;
    margin-top: 0;
    color: #fff;
}

footer::before {
    content: ' ';
    position: absolute;
    width: 200%;
    height: 64px;
    -webkit-transform: translate(-50%, -50%) rotate(-2deg);
    -moz-transform: translate(-50%, -50%) rotate(-2deg);
    transform: translate(-50%, -50%) rotate(-2deg);
    background: var(--logo-color);
    top: 0;
    left: 50%;
    opacity: 1;
    max-width: none;
}

footer .where-we-are{
    display: none;
}

@media all and (max-width: 1300px){
    .img-test.come-arrivare{
        background-position: 50% 50%;
        background-size: auto 80%;
    }
}

@media all and (max-width: 980px){
    .img-test.come-arrivare{
        background-size: auto 75%;
    }
}



@media (max-width: 767px){
    .main-menu > li:hover > a > span,
    .main-menu > li.active > a > span{
        background-color: #fff!important;
        color: #000;
    }

    .inverse .right-cover-content {
        max-width: 100vw!important;
        position: relative;
        top: 0;
        margin: 0;
        padding: 0;
    }

    .right-cover-content:before{
        display: none;
    }

    .inverse .right-cover-content .v-centered{
        padding-top: 0!important;
    }

    #map{
        width: 100%;
    }

    #map:after{
       display: none;
    }

    .right-cover-content .container{
        width: 100%!important;
    }

    section.carousel.inverse .carousel, section.carousel.right .carousel {
        margin-left: 0;
        width: 100%;
        height: 100vh;
        flex: 0 0 100%;
    }

    section.carousel.full-width.full-height.inverse{
        flex-wrap: wrap;
    }

    section.carousel.inverse .carousel{
        top: 100vh;
        height: 60vh;
    }

    section.carousel.full-width.full-height.inverse{
        height: 160vh;
    }

    .img-test.come-arrivare {
        background-size: auto 100%;
    }

    section.carousel .carousel .covers {
        height: 75vh;
        min-height: auto;
        background: #fff;
    }

    section.carousel.full-width.full-height + section{
        padding-top: 50vh!important;
    }

    .main-menu a > span{
        color: #fff;
    }
}

@media (max-height: 700px) {
    section.carousel.full-width.full-height.inverse {
        max-height: 100vh!important;
    }
}

@media all and (max-width: 600px){
    .img-test.come-arrivare {
       height: 90%;
    }

    section.carousel.full-width.full-height + section {
        padding-top: 70vh!important;
        /* z-index: 2!important; */
    }
}

@media all and (max-width: 500px){
    form .row > .col-xs{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }
}@-webkit-keyframes leaflet-gestures-fadein{0%{opacity:0}100%{opacity:1}}@keyframes leaflet-gestures-fadein{0%{opacity:0}100%{opacity:1}}.leaflet-container:after{-webkit-animation:leaflet-gestures-fadein .8s backwards;animation:leaflet-gestures-fadein .8s backwards;color:#fff;font-family:Roboto,Arial,sans-serif;font-size:22px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:461;pointer-events:none}.leaflet-gesture-handling-scroll-warning:after,.leaflet-gesture-handling-touch-warning:after{-webkit-animation:leaflet-gestures-fadein .8s forwards;animation:leaflet-gestures-fadein .8s forwards}.leaflet-gesture-handling-touch-warning:after{content:attr(data-gesture-handling-touch-content)}.leaflet-gesture-handling-scroll-warning:after{content:attr(data-gesture-handling-scroll-content)}