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

:root {
    /* Colors: */
    --grey: #757474;
    --light-grey: #f4f4f4;
    --black: #0C0905;
    --red: #D2000E;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    color: var(--black);
    font-size: 16px;
}

html {
    overflow-y: scroll;
}

:focus,
:active {
    outline: none !important;
}

:hover {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.clear {
    clear: both;
}

.modal-open {
    padding: 0!important;
}
a {
    text-decoration: none;
    color: inherit
}

.white-space-inherit {
    white-space: inherit;
}

a:hover {
    color: inherit;
}

footer {
    background-color: var(--black);
    color: var(--light-grey);
}

footer ul {
    list-style: none;
}

u {
    color: var(--red)!important;
}

.link-underline a {
    text-decoration: underline;
}

span[style*="color:#ff0000"] {
    color: var(--red) !important;
}

.p-mb-0 p{
    margin-bottom: 0;
}

.container-bigger {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.wrap-video {
    min-height: 100%;
    width: 100%;
    height: 100%;
    display: flex;
}

.wrap-img {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    min-height: 100%;
    /* min-height: 300px;*/
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.wrap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*sfondi*/
.bg-transparent {
    background: transparent!important;
}
.bg-light-grey {
    background-color: var(--light-grey);
}
.bg-red {
    background: var(--red);
}
/**/

/*bordi*/
.border-red {
    border: 1px solid var(--red);
}
.border-red:focus {
    border: 1px solid var(--red);
}
/**/

/*bottoni*/
.btn-solid-red {
    white-space: nowrap;
    width: auto !important;
    display: inline-block;

    background-color: var(--red);
    border: 1px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    color: white;
}

.btn-solid-red:hover,
.btn-solid-red:focus{
    background-color: white;
    border: 1px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    color: var(--red);
}

.btn-outline-red {
    white-space: nowrap;
    width: auto !important;
    display: inline-block;

    background-color: transparent;
    border: 1px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    color: black;
}

.btn-outline-red:hover,
.btn-outline-red:focus{
    background-color: var(--red);
    border: 1px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    color: white;
}
.btn-border-red {
    background-color: transparent;
    border: 1px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    color: black;
}

.btn-border-red:hover,
.btn-border-red:focus{
    background-color: var(--red);
    border: 1px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    color: white;
}

/*animazione bottone*/
.button-custom-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 1.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    overflow: hidden;
}

.button-custom-btn svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-dasharray: 90 300;
    stroke-dashoffset: 90;
    transition: stroke-dashoffset 1s ease-in-out;
    z-index: 0;
}

.button-custom-btn:hover svg {
    stroke-dashoffset: -300;
}

.button-text {
    position: relative;
    z-index: 1;
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
/**/

/*testi*/
.text-red {
    color: var(--red);
}
.small span {
    font-size: 0.8rem !important;
}
/**/

.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: end;
    justify-content: space-between;
}

.triangle {
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    background: red;
    width: 60px;
    height: 100px;
}

.form-contatti .form-control{
    border: 0;
    border-bottom: 1px solid;
    border-radius: 0;
}

/*list custom*/
.list-custom ul, .list-custom ol {
    list-style: none; padding-left: 0;margin: 15px 0;
}

.arrow ul li {
    margin-bottom: 11px;
    padding-left: 17px;
    position: relative;
}

.arrow ul li::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5LjQ2OCIgaGVpZ2h0PSIxOC45MzYiIHZpZXdCb3g9IjAgMCA5LjQ2OCAxOC45MzYiPgogIDxwYXRoIGlkPSJJY29uX2lvbmljLW1kLWFycm93LWRyb3ByaWdodCIgZGF0YS1uYW1lPSJJY29uIGlvbmljLW1kLWFycm93LWRyb3ByaWdodCIgZD0iTTEzLjUsOWw5LjQ2OCw5LjQ2OEwxMy41LDI3LjkzNloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMy41IC05KSIgZmlsbD0iI2Q0MDAwZCIvPgo8L3N2Zz4=");
    background-repeat: no-repeat;
    background-size: contain;
}

.numbered ul li {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    gap: 2%;
    align-items: center;
}

.numbered ul li:nth-child(1)::before {
    content: url('/assets/site/custom/img/Raggruppa 145.png');
}

.numbered ul li:nth-child(2)::before {
    content: url('/assets/site/custom/img/Raggruppa 144.png');
}

.numbered ul li:nth-child(3)::before {
    content: url('/assets/site/custom/img/Raggruppa 143.png');
}

.numbered ul li:nth-child(4)::before {
    content: url('/assets/site/custom/img/Raggruppa 142.png');
}
/**/

.categories.active {
    text-decoration: underline var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    font-weight: 600;
}

.top-44 {
    top: 44% !important;
}

/*swiper*/
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: var(--red) !important;
}
/**/

/*timeline*/
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-line {
    height: 3px;
    background: white;
}

.timeline-progress {
    height: 3px;
    background: var(--red);
    width: 0%;
    transition: width 0.4s ease;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: white;
    transition: background 0.3s, border 0.3s;
}

.timeline-dot.active {
    background: var(--red);
    border: 5px solid rgba(255, 255, 255, 0.4);
}

.timeline-year {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    margin-bottom: 1rem;
}

.year-display {
    opacity: .6;
    font-weight: bold;
}

.btn-next {
    background-color: rgba(255, 0, 0, 0.4);
}

.btn-prev {
    background-color: rgba(255, 255, 255, 0.4);
}

/*toggle search*/
.toggle-search {
 cursor: pointer;
}

#overlay-search {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    top:0;
    left: 0;
    position: absolute;
    z-index: -3;
    background-color: transparent;
    visibility: hidden;
    opacity: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay-search.open {
    background-color: grey;
    visibility: visible;
    opacity: 1;
    z-index: 999;
    transition: all .3s linear;
}

#overlay-search .toggle-search {
    z-index: 99;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    color: #fff;
}

#overlay-search input.form-control {
    border: 0;
    border-bottom: 3px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 25px;
}

#overlay-search input.form-control:focus,
#overlay-search .input-group button:focus {
    outline: none !important;
    box-shadow: 0 0 0 .2rem transparent;
}

#overlay-search input.form-control::-webkit-input-placeholder,
#overlay-search input.form-control::-moz-placeholder,
#overlay-search input.form-control:-ms-input-placeholder,
#overlay-search input.form-control::-ms-input-placeholder,
#overlay-search input.form-control::placeholder {
   color: #fff;
}
/*end toggle search*/

a:hover.to-right img {
 position: relative;
 animation-name: to-right;
 animation-duration: .3s;
 animation-fill-mode: forwards;
}

@keyframes to-right {
    from {
        right: 0;
    }
    to {
        right: -5px;
    }
}

.form-control:focus.shadow-red {
    box-shadow: 0 0 0 .05rem rgba(210, 0, 14, .25) !important;
}

.dropdown-item.active, .dropdown-item:active {
    background: var(--red);
}

.active>.page-link, .page-link.active {
    background-color: var(--red);
    border-color: var(--red);
    color: white;
}

.page-link,
.page-link:hover,
.page-link:focus{
    background-color: white;
    border-color: var(--red);
    color: var(--red);
}
.page-link:focus{
    box-shadow: 0 0 0 0.25rem rgba(210, 6, 14, 0.3);
}

/*video*/
#wrapVideo {
  position: relative;
  min-height: 1000px;
  overflow: hidden;
}



.banner-area iframe {
    margin-top: 0!important;
    height: 100% !important;
}
