/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

:root {
    --primary-color: #00B550;
    --bg: #060D1E;
    --highlight: #040D14;
}

* {
    scroll-behavior: smooth;
}

.row {
    margin: 0 0;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(0.9rem, 1rem, 1rem);
    color: white;
    background-color: var(--bg);
    -webkit-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
    transition: 0.3s all ease-in;

}

a {
    color: var(--primary-color);
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

a:hover {
    color: var(--primary-color);
}

footer a:hover,
nav a:hover {
    -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
            transform: translateY(-5px);
}

footer {
    padding: 1rem .2rem;
    background-color: var(--highlight);
}

footer img{
    object-fit: contain;
}

/* Navbar */

.navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-line-pack: center;
        align-content: center;
    padding: 1rem .2rem .3rem;
    background-color: var(--highlight);
}

.navbar-brand {
    text-align: center;
    margin-right: 0;
    padding: 0;
}

.navbar-brand#mobile {
    display: none;
}


.navbar-expand-lg .navbar-collapse {
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding: 0 2%;
}

.navbar-expand-lg .navbar-nav {
    padding: .5rem 1rem;
    margin-top: 20px;
}


.navbar-expand-lg .navbar-nav .nav-link {
    color: white;
    text-transform: uppercase;
    padding: .5rem 1rem;

}

.navbar-expand-lg .navbar-nav .nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2px;
    width: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: var(--primary-color);

}

.navbar-toggler {
    display: none;
}

.navbar-expand-lg .navbar-collapse .navbar-nav.status p {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.navbar-expand-lg .navbar-nav.status .closed p {
    color: #D63737;
    margin-top: 2px;
}

footer .navbar-nav.social-tray,
.navbar-expand-lg .navbar-nav.social-tray {
    font-size: 1.5rem;
    color: var(--primary-color);
}

footer .navbar-nav.social-tray i,
.navbar-expand-lg .navbar-nav.social-tray i {
    margin: 0 .5rem;
}

/* Fine Navbar */

/* BUTTONS */
button.butt {
    padding: 0 3rem;
    border-radius: 0;
    margin: 2rem 0;
    text-align: center;
}

button.butt:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

button.butt,
a.butt {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    text-transform: uppercase;
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: .9rem;
    font-size: 1.3rem;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

a.butt:hover {
    text-decoration: none;
    padding-bottom: 0.5rem;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

img, video{
    max-width: 100%;
    object-fit: cover;
}

.hero-home {
    height: 80vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
}

.hero-wrapper {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    height: 95%;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    position: relative;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
}

.main-hero-img,
.main-hero-sub {
    background-image: url(../img/auto-hero_new.jpg);
}

.main-hero-img {
    width: 50%;
    background-size: cover;
    background-position: right;
    position: relative;
    z-index: 2;
}

.main-hero-about img{
        width: 100%;
        height: 100%;
        max-height: 550px;
}

.filter-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #01217391;
    mix-blend-mode: overlay;
}

.main-hero-sub {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-size: 100%;
    background-position: right;
    background-blend-mode: soft-light;
    opacity: 0.05;
}

.elements-hero {
    width: 50%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 3;
    position: absolute;
    right: 0;
}


.hero-text {
    width: 80%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
            flex-direction: column;
            align-items: flex-start;
    position: absolute;
    right: 3%;
    padding-right: 1.5rem;
}

.hero-text h1 {
    font-size: 4rem;
    text-shadow: #00000059 0px 5px 5px;
}

.hero-text .butt {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-top: 2rem;
}


.assicurazione-grp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    margin-left: 2%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.assicurazione-grp-mobile {
    display: none;
}

.ass-logos{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.assicurazione-grp p,
.assicurazione-grp-mobile p {
    display: block;
    text-transform: uppercase;
    color: white;
}

.ass-logos img {
    margin: 0 1rem;
    margin-left: 0;
    max-width: 180px;
    object-fit: contain;
}

.recensioni-wrapper {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.review {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: var(--highlight);
    padding: 1rem 1.8em;
    justify-items: stretch;
}

.star-w i {
    color: goldenrod;
    margin: .5rem 2px 1rem;
}

.avatar {
    width: 150px;
    height: 150px;
    background-image: url(https://images.unsplash.com/photo-1598627446792-5d89ab3e3540?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=676&q=80);
    background-position: center;
    background-size: cover;
    border: 2px solid var(--primary-color)
}

.manuel {
    background-image: url(https://images.unsplash.com/photo-1557862921-37829c790f19?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1051&q=80);
}

.stasha {
    background-image: url(https://images.unsplash.com/photo-1511084392322-aa133fd00d31?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80);
}

.review .name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1em;
}

.about-img-home {
    height: 60vh;
    background-image: url(../img/speri.jpg);
    background-position: center;
    background-size: cover;
}

#services .container-fluid {
    padding: 8% 10%;
}

#contacts {
    padding: 5% 0;
    background-color: var(--highlight);
}

section .container-fluid {
    padding: 5% 10%;
}

.sec-title {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.services-wrapper {
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.inner-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.service {
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    cursor: pointer;
    color: white;
    margin-top: 20px;

}

.service:hover {
    text-decoration: none;
    color: white;

}

section.servizio {
    margin-top: 8%;
}

section.servizio .row:nth-child(1) {
    margin: 20% 0;
}

section.servizio ul a {
    color: white;
}

section.servizio a.butt {
    margin-top: 2rem;
}

section.servizio#carrozzeria a.butt {
    margin-right: 1rem;
}

.service-choice {
    height: 30vh;
    padding: 10% 20%;
}


.servizio-img {
    border: 2px var(--primary-color) solid;
}

.servizio-img img{
    width: 100%;
    height: 100%;
    max-height: 550px;
}

.nano-wrapper {
    padding: 0 3rem;
}

.nano-wrapper p:nth-child(1) {
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--primary-color);
}

.nano-wrapper .services-plus {
    padding-left: 0;
}

#detailing .row {
    margin: 8% 0;
}

/* BG IMMAGINI */

.img-about.hello-serv {
    background-image: url(../img/hello-service.jpg);
    background-position: right bottom;
}


.service-title {
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--primary-color);
}

.service-title img{
    margin-left: 2rem;
}

.det-pre {
    background-color: var(--highlight);
    margin-bottom: 5em;
}

.det-title {
    font-size: 3rem;
    margin: 5rem 0 3rem;
    text-align: center;
}

.services-plus {
    list-style: none;
    padding-left: 20px;
    width: 100%;
    margin-bottom: 3em;

}

.services-plus li.firstone {
    text-transform: uppercase;
    margin: .8rem 0;
}

.services-plus li {
    font-size: 1.1rem;
}

.service:hover .service-text {
    margin-top: 15px;
    margin-bottom: 5px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.square-service {
    width: 180px;
    height: 180px;
    padding: 2rem;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: var(--highlight);
}

.square-service.wide{
    padding: 1rem;
}

.square-service.wide img{
    flex-grow: 1;
    max-width: 100%;
}

.intro .container-fluid {
    padding-bottom: 2%;
}

.listino-service-wrap .square-service {
    width: 120px;
    height: 120px;
    padding: 1rem;
    border: 2px solid var(--primary-color);
}

.listino-service-wrap .square-service::before {
    content: '';
    width: 0;
}

.listino-service-wrap .service {
    margin: 2rem
}

#listino h1 {
    font-size: 2rem;
}

.listino-service-wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.square-service path {
    fill: var(--primary-color);
}

.square-service::before {
    content: '';
    width: 3px;
    height: 90%;
    background-color: var(--primary-color);
    position: absolute;
    left: 0%;
}

.service.reverse-service .square-service::before {
    content: '';
    width: 3px;
    position: absolute;
    right: 0;
    left: auto;
}

.service-text {
    text-transform: uppercase;
    font-size: 1.1rem;
    margin: 10px 0 15px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.more-info {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.more-info::after {
    content: '+';
    color: white;
    font-size: 1rem;
    margin-left: 10px;
}

#contacts .sec-title {
    margin-bottom: 8%;
}

#contacts iframe {
    border: 0;
    outline: 2px var(--primary-color) solid;
    outline-offset: .5rem;
}

.contacts-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 80%;
}

.contacts-wrap .butt {
    margin: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contacts-wrap .wp {
    color: var(--primary-color);
    border-bottom: var(--primary-color) 2px solid;
}

.contacts-wrap .butt i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.contacts-wrap .butt .fa-mobile-alt {
    -webkit-transform: rotate(5deg);
        -ms-transform: rotate(5deg);
            transform: rotate(5deg);
}

.txt-wrp .contacts-wrap {
    width: 100%;
}

.txt-wrp .contacts-wrap i,
.txt-wrp .contacts-wrap .butt {
    font-size: initial;
}

.txt-wrp .contacts-wrap .butt {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
}

.txt-wrp .contacts-wrap .wp {
    margin-left: 0;
}

#videomain {
    width: 100vw;
    height: 300px;
}

#videomain iframe html body {
    width: 100vw !important;
}


.info {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-left: 2rem;
}

.info p:nth-child(1) {
    font-size: 1.5rem;
}

#chi-siamo .container-fluid,
#servizi .container-fluid {
    padding: 0%;
}

#chi-siamo .row {
    margin: 20% 0;
}

.main-hero-about {
    height: 70vh;
    position: relative;
    background-position: center;
    background-size: cover;
}

/* .main-hero-about.car {
    background-image: url(../img/foto-carrozzeria.jpg);
} */

.main-hero-about.anni {
    background-image: url(../img/anni.jpg);
}

/* .main-hero-about.tech {
    background-image: url(../img/tech.jpg);
} */

.img-about {
    width: 100%;
    height: 100%;
    background-image: url(/assets/img/speri.jpg);
    background-size: cover;
    background-position: right;
}

.para {
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.txt-wrp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: center;
        align-content: center;
    padding-right: 20%;
}

.txt-wrp.reverse {
    padding-left: 20%;
    padding-right: 0;
}

.prezzi {
    margin-bottom: 10%;
}

.discount {
    width: 60%;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
    margin-bottom: 1rem;
}

.discount p {
    color: var(--primary-color);
}


/* Partners */

#partners{
    padding: 120px 10vw 300px;
}

.partners-grid{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 2vw;
    margin-top: 50px;
}

#partners-slider .swiper .swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-bottom: 50px;
}

#partners-slider{
    margin: 10vh 0;
    text-align: center;
}


#partners-slider h1{
    margin-bottom: 30px;
}

#partners-slider .swiper .swiper-slide img{
    width: 200px;
}


.listino-carrozzeria {
    width: 100%;
    background-color: var(--highlight);
    display: -ms-grid;
    display: grid;
    padding: 0 10%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-grid-columns: auto 20% 20% 20%;
    grid-template-columns: auto 20% 20% 20%;
    -ms-grid-rows: 60px 50px;
    grid-template-rows: 60px 50px;
    grid-auto-rows: auto;
        grid-template-areas: 'header header header header'
        'subheader subheader subheader  subheader '
        'title title title title'
}

.grid-header {

    -ms-grid-column-span: 4;
    grid-area: header;
    height: 100%;
    background-color: var(--primary-color);
    padding-left: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.grid-subheader {
    -ms-grid-column-span: 4;
    background-color: #020b11;
    grid-area: subheader;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-left: 1rem;
}

.item.full {
    -ms-grid-column-span: 4;
    grid-area: title;
}

.item.lav {
        grid-column-start: 2;
    -ms-grid-column-span: 3;
    grid-column-end: 5;
}

.item.index {
    font-weight: 700;
}

.item {
    text-align: center;
}

.item.a {
    justify-self: flex-start;
    padding-left: 5%;
    padding-left: 1rem;
}

.after-listino {
    margin: 2rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.after-listino .detail {
    font-size: 0.8rem;
    text-align: center;
}

.after-listino .butt {
    font-size: 1rem;
    color: var(--primary-color);
    border-bottom: 2px var(--primary-color) solid;
    margin: 1rem 2.5rem
}

form {
    margin-top: 8%;
}

.form-row {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

label {
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 1rem 0;
}

label.form-check-label {
    margin-top: 0;
}

textarea {
    display: block;
    width: 100%;
    border: 2px solid var(--primary-color);
    background-color: var(--highlight);
    color: white;
    padding: 1rem;
}

input.form-control {
    border-radius: 0;
    border: 0;
    color: white;
    border-bottom: var(--primary-color) 2px solid;
    background-color: var(--highlight);
    padding: 1.3rem;
}

form textarea:focus-visible {
    outline: none;
}

.form-control:focus {
    color: white;
    background-color: var(--highlight);
    border-color: var(--primary-color);
    -webkit-box-shadow: none;
            box-shadow: none
}




footer .row:nth-of-type(1) {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

footer .infos {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

footer .infos .navbar-nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

footer .infos p {
    margin: 0 1rem;
}

@media screen and (max-width: 1400px) {
    #partners{
        padding: 120px 5vw 300px;
    }
}


@media screen and (max-width: 1200px) {
    section .container-fluid {
        padding: 5%;
    }
    .service-choice{
        padding: 5% 0 0 0;
    }

    .partners-grid{
        grid-template-columns: repeat(4,1fr);
    }
}

@media screen and (max-width: 990px) {

    .navbar-collapse,
    .navbar-collapse.collapse,
    .navbar-collapse.in,
    .navbar-collapse.collapsing {
        visibility: hidden;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 99;
        background-color: var(--bg);
        opacity: 0;
        -webkit-transition: all 0.2s ease-in;
        -o-transition: all 0.2s ease-in;
        transition: all 0.2s ease-in;
    }

    .navbar-collapse.in {
        height: 100%;
    }


    .navbar-brand#mobile {
        display: block;
    }

    .navbar-collapse.show {
        visibility: visible;
        opacity: 1 !important;
    }

    .navbar-toggler.open,
    .navbar-toggler.closed {
        position: fixed;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        left: 5%;
        bottom: 2%;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .navbar-toggler.open {
        z-index: 98;
    }

    .navbar-toggler.close {
        z-index: 100;
    }
    
    .navbar-toggler.open,
    .navbar-toggler.closed {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 1px;
        font-size: 2.3rem;
        background-color: var(--primary-color);
        border: 1px solid transparent;
        border-radius: 50rem;
    }

    .navbar-toggler.closed {
        background-color: #dc3545;
    }

    .navbar-toggler-icon {
        width: 1.3em;
        height: 1.3em;
        border-radius: 50rem;
        background-color: black;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-animation: bounce 3s infinite;
                animation: bounce 3s infinite;
        -webkit-animation-delay: 5s;
                animation-delay: 5s;
        -webkit-animation-iteration-count: 3;
                animation-iteration-count: 3;
    }

    @-webkit-keyframes bounce {
        0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);transform: translateY(0);}
        40% {-webkit-transform: translateY(-30px);transform: translateY(-30px);}
        60% {-webkit-transform: translateY(-15px);transform: translateY(-15px);}
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);transform: translateY(0);}
        40% {-webkit-transform: translateY(-30px);transform: translateY(-30px);}
        60% {-webkit-transform: translateY(-15px);transform: translateY(-15px);}
    }

    .navbar-toggler-icon i {
        font-size: 1.2rem;
        color: var(--primary-color);
    }

    i.fas.fa-times {
        color: #dc3545;
    }

    .navbar-nav.status .opened,
    .navbar-nav.status .closed {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .navbar-nav.status {
        width: 100%;
        background-color: transparent;
    }

    .navbar-nav.status #mobile {
        margin-bottom: 3rem;
    }

    .navbar {
        padding: .8rem;
        z-index: 98;
    }

    .navbar-expand-lg .navbar-nav .nav-link.active {
        margin: .8rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 1.3rem;
        text-align: center;
    }

    nav .navbar-nav.social-tray {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }

    /* SERVIZI */

   

    .txt-wrp.reverse{
        padding-left: 0;
    }

    .txt-wrp{
        padding-right: 0;
    }

    .txt-wrp h1{
        margin: 2rem 0;
    }

    .service-title {
        margin-top: 2rem;
    }

    .ass-logos img{
        width: 25%;
    }
    

    .partners-grid{
        grid-template-columns: repeat(3,1fr);
    }

    #partners-slider img{
        width: 150px;
    }

}


@media screen and (max-width: 800px) {

    .para{
        margin-top: 3rem;
    }
    .service-choice{
        min-height: 35vh;
        height: auto;
        padding: 0;
    }
}

@media screen and (max-width: 700px){
    .partners-grid{
        grid-template-columns: repeat(2,1fr);
    }

    #partners-slider{
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

@media screen and (max-width: 500px) {
    section {
        margin: 20% 0;
    }

    section .container-fluid {
        padding: 5% 3%;
    }

    h1 {
        font-size: 2rem;
    }

    button.butt,
a.butt{
    display: block;
    margin:auto;
    font-size: 1rem;
}

.elements-hero .butt{
    margin: inherit
}

.ass-logos img{
    width: 40%;
}
    #services .container-fluid {
        padding: 8% 0;
    }

    .navbar-expand-lg .navbar-collapse {
        padding: 30% 0;
    }

    .social-tray {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-ordinal-group: 4;
            -ms-flex-order: 3;
                order: 3;
    }

    .navbar-brand img {
        height: 70px;
    }

    .navbar-nav.status .navbar-brand img {
        height: 80px;
        margin-top: 2px;
        margin-right: 20px;
    }

    .info {
        margin-left: 0;
    }

    .contacts-wrap {
        width: 100%;
    }

    .contacts-wrap .butt {
        margin: 2rem 1rem;
        font-size: 1rem;
    }

    .contacts-wrap .butt i {
        font-size: 1.1rem;
        margin-right: 10px;
    }

    #contacts iframe {
        height: 400px;
    }

    .elements-hero {
        width: 100%;
    }

    .hero-home {
        height: 80vh;
        overflow: hidden;
    }

    .hero-wrapper {
        height: 90%;
    }

    .sec-title {
        font-size: 1.6rem;
    }

    .main-hero-img {
        width: 96%;
        background-position: 70% 100%;

    }

    .main-hero-about{
        height: 40vh;
    }

    .main-hero-about img{
        object-position: center right;
    }

    .elements-hero {
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
        left: 5%;
        bottom: 5%;
    }

    .hero-text {
        left: 3%;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .butt {
        margin-top: .5rem;
    }

    .assicurazione-grp {
        display: none;
    }

    .assicurazione-grp-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .assicurazione-grp-mobile .ass-logos {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        -webkit-box-pack: space-evenly;
            -ms-flex-pack: space-evenly;
                justify-content: space-evenly;
    }

 .ass-logos img:nth-child(3){
        margin-top: 2rem;
    }


    .about-img-home {
        height: 35vh;
    }

    .recensioni-wrapper .col-12 {
        margin: 20px 0;
    }

    .service {
        width: 100%;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }

    .square-service {
        width: 40%;
    }

    .txt-service {
        width: 60%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        background-color: var(--highlight);
    }

    .service-text {
        font-size: 1.3rem;
    }

    .reverse-service {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
            -ms-flex-direction: row-reverse;
                flex-direction: row-reverse;
    }

    .service.reverse-service .txt-service {
        padding-left: 10%;
    }

    .img-about {
        background-position: center;
        margin: 1rem 0 3rem;
    }

    .txt-wrp,
    .txt-wrp.reverse {
        padding: 0 3%;
    }

    #chi-siamo .txt-wrp {
        margin: 2rem 0;
    }

    .txt-wrp .contacts-wrap{
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .txt-wrp .contacts-wrap .butt:nth-child(3) {
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .prezzi {
        margin-bottom: 20%;
    }

    .listino-service-wrap .service {
        margin: 0.8rem;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        width: -webkit-min-content;
        width: -moz-min-content;
        width: min-content;

    }

    .listino-service-wrap .txt-service {
        background-color: transparent;
        width: -webkit-min-content;
        width: -moz-min-content;
        width: min-content;
    }

    .listino-service-wrap .service-text {
        font-size: 0.9rem;
    }

    .listino-carrozzeria {
        padding: 0;
        font-size: 0.9rem
    }

    .item{
        text-align: left;
    }

    .item.lav{
        text-align: center;
    }

    .discount {
        width: 100%;
    }

    .after-listino .butt {
        font-size: .9rem;
        margin: 1rem;
    }

    .item.index {
        font-size: 1rem;
    }

    .servizio-img img {
        height: 40vh;
    }

    .service-title {
        margin-top: 2rem;
        line-height: 2rem;
        font-size: 1.6rem;
    }

    .service-title img{
        height: 25px;
        margin-top: 20px;
        margin-left: 0;
    }

    .services-plus li.firstone {
        text-transform: uppercase;
        margin: 2rem 0 1rem;

    }

    .services-plus li {
        font-size: 1.1rem;
        margin: 0.8rem 0;
    }

    section.servizio#carrozzeria a.butt {
        font-size: 1.2rem;
    }

    section.servizio .row:nth-child(1),
    section#detailing .row {
        margin: 8rem 0;
    }

    .services-plus {
        padding-left: 5px;
        margin-bottom: 2rem;
    }

    .det-title {
        font-size: 2rem;
        margin-bottom: 3rem;
        margin-top: 2rem;
        line-height: 2.3rem;
    }

    .nano-wrapper {
        margin-top: 3em;
        padding: 0;
    }

    #wrapping .row {
        margin-top: 0;
    }

    #partners .square-service.wide{
        width: 130px;
        height: 130px;
    }

    .partners-grid{
        justify-items: center;
    }
}

@media screen and (max-width: 360px){
    #partners{
        padding: 5vh 8vw 50px;
    }

    .partners-grid{
        grid-template-columns: repeat(1,1fr);
        justify-items: flex-start;
    }

    #partners .square-service.wide{
        width: 100%;
    }

    #partners .square-service.wide img{
        width: 150px;
        flex-grow: 0;
    }
}