/* afacad-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Afacad';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/afacad-v1-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* afacad-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Afacad';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/afacad-v1-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    --bg-dark: #222;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

a{
    text-decoration: none;
}

html, body {
    height: 100%;
    font-family: 'Afacad', sans-serif;
    color:#222;
    scrollbar-width: thin;
    scrollbar-color: #999;
}

/* Works on Chrome, Edge, and Safari */
body::-webkit-scrollbar {
    width: 2px;
    border-radius: 20px;
    color: #999;
}

body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0);
}

body::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 20px;
    border: 0;
}

h1{
    font-size: calc(28px + (40 - 28) * ((100vw - 360px) / (1700 - 360)));
}
h2{
    font-size: calc(24px + (34 - 24) * ((100vw - 360px) / (1700 - 360)));
}
h3{
    font-size: calc(20px + (28 - 20) * ((100vw - 360px) / (1700 - 360)));
}
h4{
    font-size: calc(18px + (24 - 18) * ((100vw - 360px) / (1700 - 360)));
}

.font-18{
    font-size: 18px !important;
}

.font-18{
    font-size: 18px !important;
}

input:focus, select:focus, button:focus, a:focus{
    outline: none;
}

.overlayed{
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    transition: all 0.2s;
}

.slider-home-container{
    height: 80vh;
    overflow: hidden;
}

.slide-home{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80vh;
    float:left;
}

@media (orientation: portrait){
    .slider-home-container{
        height: 50vh;
    }

    .slide-home{
        height: 50vh;
    }
}

.ristretto{
    width:92vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1800px;
}

.strettissimo{
    width:90vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

.btn-mio{
    color: white;
    border-radius: 4px;
    outline: none;
    background-color:var(--bg-dark);
    border: 2px solid var(--bg-dark);
    padding: 0.2rem 1.2rem;
    text-align: center !important;
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: all .2s ease;
    transform-style: preserve-3d;
    font-size: calc(14px + (18 - 14) * ((100vw - 360px) / (1920 - 360)));
    min-width: 100px;
    text-shadow: none !important;
}

.btn-mio:before{
    z-index: -2;
    transform: translate3D(0,0,0);
}

.btn-mio:before, .btn-mio:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: white; /* onhover background color */
    z-index: -1;
    transition: all .2s ease-in-out;
    transform-origin: center center;
    transform: scale(1,0);
}

.btn-mio:not(.btn-disabled):hover:after{
    transform: translate3D(0,0,0);
    transition: all .2s ease-in-out;
}

.btn-mio:not(.btn-disabled):hover{
    color: #222;
}

.btn-mio.btn-disabled:hover{
    color: white;
}

.btn-mio:not(.btn-disabled):hover:before,
.btn-mio:not(.btn-disabled):hover:after{
    transform: scale(1);
}

.btn-mio-inverted{
    background-color: white;
    color: #222 !important;
    border: 2px solid white;
}

.btn-mio-inverted:before, .btn-mio-inverted:after{
    background: #222;
}

.btn-mio-inverted:hover{
    color: white !important;
}

.btn-mio-scuro{
    background-color: #222;
    border: 2px solid #222;
}

.lightGallery a{
    max-width: 500px;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}

.lightGallery .immagine{
    padding-bottom: 56.25%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lightGallery-small .immagine{
    padding-bottom: 56.25%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 2px solid white;
    border-radius: 4px;
}

.flex-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
}

.bg-cover{
    width: 100%;
    padding-bottom: 56.25%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bg-cover.bg-cover-quadrato{
    padding-bottom: 100%;
}

.bg-contain{
    width: 100%;
    padding-bottom: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

footer{
    background-color: white;
    border-top: 1px solid #ccc;
}


.breadcrumb{
    padding: 1rem 0;
    margin-top: 3rem;
    text-align: center;
}

.breadcrumb-item {
    padding-left: 0!important;
}

.breadcrumb a{
    color: #666;
}

.breadcrumb li.active{
    color:#222;
}

.breadcrumb-item+.breadcrumb-item:before{
    padding-left: 4px;
    padding-right: 4px;
}

@media (max-width: 700px) {
    .breadcrumb-item{
        font-size: 12px !important;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


.responsive-video, .rwd-video{
    height: 0;
    overflow: hidden;
    padding-bottom: 54%;
    padding-top: 30px;
    position: relative;
}

.responsive-video iframe, .rwd-video iframe{
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    width: 100%;
    height: 100%;
}

.spinner{
    position: relative;
}

.spinner:before{
    display:block;
    content: " ";
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    background-color: rgba(255,255,255, 0.7);
    z-index:998;
}

.spinner:after{
    display:block;
    content: "";
    z-index:999;
    position: absolute;
    left: 50%;
    top: 50%;
    height:60px;
    width:60px;
    margin:-30px  auto auto -30px;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left:6px solid rgba(92, 28, 3, 0.25);
    border-right:6px solid rgba(92, 28, 3, 0.25);
    border-bottom:6px solid rgba(92, 28, 3, 0.25);
    border-top:6px solid rgba(92, 28, 3, 0.8);
    border-radius:100%;
}

@media (max-width: 960px){
    .spinner:after{
        position: fixed;
    }
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

.responsive-map{
    height: 0;
    overflow: hidden;
    padding-bottom: 30%;
    padding-top: 30px;
    position: relative;
}

.responsive-alta{
    padding-bottom: 75%;
}

@media (max-width: 992px){
    .responsive-map{
        padding-bottom: 75%;
    }
}

.responsive-map iframe{
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    width: 100%;
    height: 100%;
}

.posizione{
    position: absolute;
    z-index: 999;
    color: white;
    font-weight: bold;
    top: 50%;
    transform: translateY(-60%);
    bottom:0;
    left: 4%;
    right: 4%;
    text-align: center;
    text-shadow: 1px 1px 3px #222;
    font-size: calc(34px + (80 - 34) * ((100vw - 360px) / (1700 - 360)));
    text-decoration: none;
}

.titolone{
    display: inline-block;
    padding-bottom: 0;
    border-bottom: 3px solid white;
}

.titolino{
    margin-top: 2vh;
    font-size: 44.5%;
}

.location{
    font-size: 50%;
    padding: 0;
}

.location a{
    color:white;
}
.coming{
    margin-top: 2vh;
    font-style: italic;
    transform: rotate(-5deg);
}

.ristretto{
    width:94vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1700px;
}

.text-shadow{
    text-shadow: 1px 1px 3px #222;
}

.py-6{
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

@media(max-width: 899px){
    .py-6{
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

.strettissimo{
    width:94vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.container-iscrizione{
    border-radius: 12px;
    background-color: rgba(0,0,0,0.65);
}

.container-sponsor{
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 2px solid #ccc;
    display: inline-block;
}

@media(min-width: 900px){
    .container-sponsor div{
        display: inline-block;
        float:left;
        margin: 0 3rem;
    }
}

.border-ccc{
    border-color: #ccc;
}

.border-radius{
    border-radius: 6px !important;
}

.con-riga, .con-riga-white{
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    position:relative;
}

.con-riga:after{
    width:80px;
    height:3px;
    content: " ";
    display: block;
    background-color: #222;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}
.con-riga-white:after{
    width:80px;
    height:3px;
    content: " ";
    display: block;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}