@charset "UTF-8";
/* CSS Document */

body,
h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Poppins', sans-serif;
}


.bg-light {
    background-color: #f8b12a !important;
    border-radius: 5px;
    box-shadow: 2px 2px 10px #161616;
}

.flynav {
    padding-top: 1rem;
    padding-left: 5rem;
    padding-right: 5rem;
}

.navbar-light .navbar-nav .nav-link {
    font-size: calc(18px + (25 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #080a0d;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 4rem;
}

.navbar-light .navbar-nav .nav-link-drop {
    font-size: calc(18px + (25 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600 !important;
    color: #080a0d;
    padding: 1rem;
    border-radius: 5px;
    background-color: #FF7800 !important;
}

.dropdown-item {
    font-size: calc(18px + (25 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600 !important;
    color: #080a0d;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 0.5rem;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #585C62;
    text-decoration: none;
    background-color: #FF7800;
}

.video-background-holder {
    position: relative;
    background-color: #fff;

    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-background-content {
    position: relative;
    z-index: 2;
}

.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    opacity: 0.1;
    z-index: 1;
}


.titolo {
    font-size: calc(40px + (150 - 40) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #f8b12a;
    line-height: calc(30px + (130 - 30) * ((100vw - 300px) / (1920 - 300)));
    padding-bottom: 40px;
}

.txt {
    font-size: calc(18px + (30 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    color: #292929;
}

hr {
    margin-top: 0rem;
    margin-bottom: 0rem;
    border: 0;
    border-top: 2px solid #2c4984;
}

.box-foot {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.txt-foot {
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    color: #292929;
}

.titolo-servizi {
    font-size: calc(30px + (100 - 30) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #2c4984;
    line-height: calc(26px + (90 - 26) * ((100vw - 300px) / (1920 - 300)));
    padding-top: 2rem;
    padding-bottom: 2rem;
    letter-spacing: 1px;
}

.titolo-h3 {
    font-size: calc(26px + (50 - 26) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #080a0d;
    line-height: calc(26px + (50 - 26) * ((100vw - 300px) / (1920 - 300)));
    padding-top: 2rem;
    padding-bottom: 2rem;
    letter-spacing: 1px;
}


.box {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 10rem;
    padding-right: 10rem;
}

.box-rally {
    padding-top: 15rem;
    padding-bottom: 15rem;
    padding-left: 10rem;
    padding-right: 10rem;
}

.titolo-rally {
    font-size: calc(40px + (150 - 40) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    color: #fff;
    line-height: calc(30px + (130 - 30) * ((100vw - 300px) / (1920 - 300)));
    padding-bottom: 40px;
}


.vertical-txt {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: calc(20px + (150 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #f8b12a;
    line-height: calc(0.01px + (0 - 0.01) * ((100vw - 300px) / (1920 - 300)));
    padding-top: 10rem;
    padding-bottom: 10rem;

}


.intermittenza {
    animation: blinker 2s linear infinite;
    color: #2c4984;
}

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


.box-servizi {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 5rem;
    padding-right: 5rem;
}


.tasto-servizi {
    background-color: #f8b12a;
    border-radius: 5px;
    transition: 2s;
}

.tasto-servizi1 {
    background-color: #f8b12a;
    border-radius: 5px;
    transition: 2s;
    background-image: url(../img/sfondo-camion.png);
    background-position: bottom right;
    background-repeat: no-repeat;
}

.tasto-servizi:hover {
    background-color: #f8b12a;
    border-radius: 5px;
    transition-duration: 2s;
    transform-duration: 2s;
    transform: scale(0.99);
}

.box-testiserv {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.box-testiserv2 {
    padding-top: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.box-porsche {
    padding-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.txt-black {
    font-size: calc(18px + (30 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #080a0d;
}

.txt-officina {
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #080a0d;
}

.txt-scopri {
    font-size: calc(13px + (15 - 13) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 900;
    color: #080a0d;
}

.nopadding {
    padding: 0px;
    margin: 0px;
}

.spazio-secondarie {
    padding-top: 50px;
}

$color-gray: #666;
$color-black: #000;
$stripe-height: 7px;
$btn-color: $color-gray;
$btn-background: #fff;
$btn-color-hover: #fff;
$btn-background-hover: $color-gray;
$border-color: $color-gray;
$border-color-hover: $color-black;

@mixin reset-button {
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: normal;
    cursor: pointer;
    -moz-user-select: text;

    &:-moz-focus-inner {
        padding: 0;
        border: 0;
    }
}


a:hover {
    color: #FF7800;
    text-decoration: underline;
}

@keyframes stripe-slide {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@-webkit-keyframes stripe-slide {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@keyframes stripe-slide {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.btn {
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: normal;
    cursor: pointer;
    -moz-user-select: text;
    display: block;
    text-decoration: none;

    padding: 16px 36px 22px;
    background-color: #f8b12a;
    color: #080a0d;
    border: 3px solid #2c4984;
    border-radius: 6px;
    margin-bottom: 16px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #2c4984;
}

.btn:-moz-focus-inner {
    padding: 0;
    border: 0;
}

.btn:focus {
    box-shadow: none;
}

.btn--stripe {
    overflow: hidden;
    position: relative;
}

.btn--stripe:after {
    content: "";
    display: block;
    height: 7px;
    width: 100%;
    background-image: repeating-linear-gradient(45deg, #2c4984, #2c4984 2px, transparent 2px, transparent 5px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-top: 1px solid #2c4984;
    position: absolute;
    left: 0;
    bottom: 0;
    background-size: 7px 7px;
}

.btn--stripe:hover {
    background-color: #f8b12a;
    color: #2c4984;
    border-color: #2c4984;
}

.btn--stripe:hover:after {
    background-image: repeating-linear-gradient(45deg, #2c4984, #2c4984 2px, transparent 2px, transparent 5px);
    border-top: 1px solid #2c4984;
    -webkit-animation: stripe-slide 12s infinite linear forwards;
    animation: stripe-slide 12s infinite linear forwards;
}

.btn--large {
    width: 80%;
}

.btn--radius {
    border-radius: 36px;
}




.btnrally {
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: normal;
    cursor: pointer;
    -moz-user-select: text;
    display: block;
    text-decoration: none;

    padding: 16px 36px 22px;
    background-color: transparent;
    color: #FF7800;
    border: 3px solid #FF7800;
    border-radius: 6px;
    margin-bottom: 16px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: calc(22px + (30 - 22) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: #FF7800;
}

.btnrally:-moz-focus-inner {
    padding: 0;
    border: 0;
}

.btnrally:focus {
    box-shadow: none;
}

.btnrally--stripe {
    overflow: hidden;
    position: relative;
}

.btnrally--stripe:after {
    content: "";
    display: block;
    height: 7px;
    width: 100%;
    background-image: repeating-linear-gradient(45deg, #FF7800, #FF7800 2px, transparent 2px, transparent 5px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-top: 1px solid #FF7800;
    position: absolute;
    left: 0;
    bottom: 0;
    background-size: 7px 7px;
}

.btnrally--stripe:hover {
    background-color: #FF7800;
    color: #080a0d;
    border-color: #080a0d;
}

.btnrally--stripe:hover:after {
    background-image: repeating-linear-gradient(45deg, #080a0d, #080a0d 2px, transparent 2px, transparent 5px);
    border-top: 1px solid #080a0d;
    -webkit-animation: stripe-slide 12s infinite linear forwards;
    animation: stripe-slide 12s infinite linear forwards;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
    max-width: 80%;
    margin-left: 10%;
}

.indent {
    padding-left: 0.7em;
}

.subtitle {
    font-size: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
}

/*=================================================================
    Banner
==================================================================*/

.popup {
    max-width: 320px;
    height: auto;
    position: fixed;
    z-index: 100000;
    right: -578px;
    bottom: 0;
    background:transparent;
}

.banner-content {
    background-color:transparent;
    padding:15px;
    text-align:center;
}

.banner-content h3 {
    letter-spacing:2px;
    font-size:20px;
    text-transform:uppercase;
    line-height:30px;
    margin:5px 0;
  font-weight: 600;
    color:#fff;
}

.divisore {
    border-bottom:dashed 10px #009ED6;
}

.banner-content a {
    color:#444;
    border-bottom:1px dashed #444;
}

.banner-content a:hover {
    color:rgba(144,8,46,1.00);
    border:none;
}

.popup i {
    font-size: 1.5em;
    position: absolute;
    padding: 0px;
    color:#000;
    z-index:999;
}

.popup i:hover {
    cursor: pointer;
    color:rgba(238,123,0,1);
}

@media only screen and (max-width: 1030px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: calc(19px + (22 - 19) * ((100vw - 300px) / (1920 - 300)));
        font-weight: 600;
        color: #080a0d;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 1.5rem;
        text-align: left;
    }

}


@media only screen and (max-width: 900px) {

    .box {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .box-rally {
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .box-servizi {
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .box-testiserv {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .flynav {
        padding-top: 1rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .spazio-mobile {
        padding-top: 4rem;
    }

    .navbar-toggler {
        padding-left: 0.3rem;
        padding-right: 2rem;
        font-size: 0.5rem;
        line-height: 1;
        background-color: transparent;
        border: 0px solid transparent;
        border-radius: .25rem;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url(../img/freccia.svg);
        width: 20px;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: calc(30px + (24 - 30) * ((100vw - 300px) / (1920 - 300)));
        font-weight: 600;
        color: #080a0d;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0rem;
        text-align: left;
    }

    .navbar {
        padding: .5rem 1rem;
    }

    .navbar-toggler:focus {
        text-decoration: none;
    }

    button:focus {
        outline: none;
        outline: none;
    }

    .navbar-toggler {
        padding-left: 0.3rem;
        padding-right: 90%;
    }

    .video-background-holder {
        position: relative;
        background-color: #fff;
        min-height: auto;
        width: 100%;
        overflow: hidden;
    }

    .indent {
        padding-left: 0;
    }

    .titolo-servizi {
        line-height: 1.2;
    }
}