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

:root {
    --black: #000000;
    --white: #ffffff;
    --red: #be1622;
    --orange: #e6332a;
    --yellow: #fdde04;
    --yellow-rgb: 252, 223, 3;
    --warm-orange: #f39400;
    --warm-orange-rgb: 243, 148, 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    color: var(--black);
    font-size: 17px;
    user-select: none;
}

.site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

/*per modale*/
html {
    overflow-y: scroll;
}

.focus-0:focus,
.focus-0:active {
    outline: none !important;
    box-shadow: none !important;
}

::selection {
    background-color: var(--yellow);
    color: var(--black);
}

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

img {
    border: none;
}

a {
    text-decoration: none !important;
    color: inherit;
}

a:hover {
    color: inherit;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    margin-bottom: 0;
}

.p-mb-0 p,
.mb-list-0 ul,
.mb-list-0 ol {
    margin-bottom: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.select-text {
    user-select: text !important;
}

.small,
.small p {
    font-size: 0.875em;
}

.x-small p,
.x-small {
    font-size: 0.775em;
}

.h-tags :is(h1, h2, h3, h4, h5, h6) {
    margin: 0.75em 0 0.5em 0;
    font-weight: 500;
    line-height: 1.2;
    font-family: "richmond-display", sans-serif;
}

.h-tags h1 {
    font-size: calc(1.375rem 22px + 1.5vw);
}
.h-tags h2 {
    font-size: calc(1.325rem + 0.9vw);
}
.h-tags h3 {
    font-size: calc(1.3rem + 0.6vw);
}
.h-tags h4 {
    font-size: calc(1.275rem + 0.3vw);
}
.h-tags h5 {
    font-size: 1.25rem;
}
.h-tags h6 {
    font-size: 1rem;
}

.richmond {
    font-family: "richmond-display", sans-serif !important;
    letter-spacing: 2px;
}

.shadow {
    box-shadow: 0 1px 1rem rgba(0, 0, 0, 0.15) !important;
}

.px-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.after-none::after {
    display: none;
}

.bg-opacity-90 {
    --bs-bg-opacity: 0.9;
}

.big-title {
    font-size: clamp(2.5rem, 11vw, 185px);
    line-height: 1.1;
    letter-spacing: 10px;
    position: relative;
    z-index: 3;
}

.lin-gradient-divider {
    height: 1px;
    background: linear-gradient(to right, var(--red) 60%, var(--yellow));
}

.mt-n4 {
    margin-top: -1.5rem;
}

.w-90 {
    width: 90% !important;
}

/* HOVERS */
.overlay-shield,
.hvr-gradient,
.hvr-card-document,
.hvr-card-document .circle {
    transition: all 0.3s ease-in-out;
}
.hvr-gradient:hover {
    background: linear-gradient(127deg, var(--red), var(--yellow)) !important;
    color: var(--white) !important;
}
.hvr-underline:hover {
    text-decoration: underline !important;
}
.hvr-plus:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
.hvr-plus:before {
    content: "\2b";
    color: var(--black);
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--yellow);
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
}
.hvr-plus:hover:before {
    opacity: 1;
}
.hvr-card-document:hover {
    transform: translateY(-8px);
}
.hvr-card-document:hover .circle {
    background-color: var(--yellow) !important;
}

.hvr-dark-plus {
    transition: background-color 0.3s ease-in-out;
}
.hvr-dark-plus a span {
    transition: color 0.3s ease-in-out;
}
.hvr-dark-plus:hover {
    background-color: rgba(var(--bs-dark-rgb), 0.75);
}
.hvr-dark-plus:hover a span {
    color: var(--white);
}
.hvr-dark-plus .plus {
    opacity: 0;
}
.hvr-dark-plus:hover .plus {
    opacity: 1;
}
button + .overlay-shield {
    transform: translateY(100%);
}
button:hover + .overlay-shield {
    transform: translateY(0);
}
/* END HOVERS */
/*  */
/*  */
/*  */
/* BUTTONS */
.btn-outline-yellow,
.btn-outline-orange {
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    padding: 0.5rem 1.5rem;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}
.btn-outline-yellow::before,
.btn-outline-yellow::after,
.btn-outline-orange::before,
.btn-outline-orange::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease-out;
}
.btn-outline-yellow::before,
.btn-outline-orange::before {
    top: 0;
    left: 0;
}
.btn-outline-yellow::after,
.btn-outline-orange::after {
    bottom: 0;
    right: 0;
}
.btn-outline-yellow:active::before,
.btn-outline-yellow:active::after,
.btn-outline-yellow:hover::before,
.btn-outline-yellow:hover::after,
.btn-outline-orange:active::before,
.btn-outline-orange:active::after,
.btn-outline-orange:hover::before,
.btn-outline-orange:hover::after {
    width: 200%;
    height: 200%;
    opacity: 0.75;
    transition: all 0.4s ease-out;
}
.btn-outline-yellow:active::before,
.btn-outline-yellow:hover::before,
.btn-outline-orange:active::before,
.btn-outline-orange:hover::before {
    top: -50%;
    left: -50%;
}
.btn-outline-yellow:active::after,
.btn-outline-yellow:hover::after,
.btn-outline-orange:active::after,
.btn-outline-orange:hover::after {
    bottom: -50%;
    right: -50%;
}

.btn-outline-yellow {
    border: 1px solid var(--yellow);
    color: var(--white);
}
.btn-outline-yellow:hover {
    border: 1px solid var(--yellow) !important;
    color: var(--white) !important;
}
.btn-outline-yellow:focus,
.btn-outline-yellow:focus-visible,
.btn-outline-yellow:focus-within,
.btn-outline-yellow:active {
    border: 1px solid var(--yellow) !important;
    color: var(--red) !important;
    /* color: var(--black) !important; */
    background-color: var(--yellow) !important;
}
.btn-outline-yellow::before,
.btn-outline-yellow::after {
    background: radial-gradient(transparent, var(--yellow));
}

.btn-outline-orange {
    border: 1px solid var(--orange);
    color: var(--orange);
}
.btn-outline-orange:hover {
    border: 1px solid var(--orange) !important;
    color: var(--black) !important;
}
.btn-outline-orange:focus,
.btn-outline-orange:focus-visible,
.btn-outline-orange:focus-within,
.btn-outline-orange:active {
    border: 1px solid var(--orange) !important;
    color: var(--white) !important;
    background-color: var(--orange) !important;
}
.btn-outline-orange::before,
.btn-outline-orange::after {
    background: radial-gradient(transparent, var(--orange));
}

.btn-plus {
    position: relative;
    height: 50px;
    line-height: 40px;
    margin-top: 0.5rem;
    border: 0 !important;
}
.btn-plus::after {
    content: "\2b";
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--red);
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    text-align: center;
}
.btn-plus:hover::after {
    background-color: var(--red);
    color: var(--white);
}

.btn-border-custom {
    background-image: linear-gradient(to bottom, var(--yellow), var(--red));
    padding: 0;
    border: 0;
}
.btn-border-custom > span {
    transition: all 0.3s ease-in-out;
}
.btn-border-custom.active {
    background-image: linear-gradient(var(--yellow));
}
.btn-border-custom.active > span {
    background: var(--yellow) !important;
}
.btn-border-custom:not(.active):not(.no-hvr):hover {
    background-image: linear-gradient(var(--red));
}
.btn-border-custom:not(.active):not(.no-hvr):hover > span {
    background: var(--red) !important;
    color: var(--white) !important;
    /* background: color-mix(in srgb, var(--yellow), #000 5%) !important; */
}
/* END BUTTONS */
/*  */
/*  */
/*  */
/* LISTE */
.list-custom ul {
    list-style-type: none;
    padding-left: 0;
}
.list-custom.columns ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 colonne */
    column-gap: 1rem;
}
/* .list-custom.columns ul li {
    flex: 0 0 calc(100% / var(--col-number, 1));
    padding-right: 1rem;
} */
.list-check ul li,
.list-arrow ul li {
    position: relative;
    padding-left: 25px;
    margin: 0.25rem 0;
}
.list-check ul li::before,
.list-arrow ul li::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    width: 25px;
    position: absolute;
    top: 0;
    left: 0;
}
.list-check ul li::before {
    content: "\f058";
}
.list-check-orange ul li::before {
    color: var(--orange);
}
.list-arrow ul li::before {
    content: "\f061";
    color: var(--orange);
    font-weight: 900;
}
.list-base ul {
    padding-left: 1rem;
}
.list-base ul li {
    margin-bottom: 0.5rem;
}
/* END LISTE */
/*  */
/*  */
/*  */
/* COLORS & BORDERS*/
.bg-yellow {
    background-color: var(--yellow) !important;
}
.bg-warm-orange {
    background-color: var(--warm-orange) !important;
}
.bg-red {
    background-color: var(--red) !important;
}
.border-orange {
    border-color: var(--orange) !important;
}
.border-yellow {
    border-color: var(--yellow) !important;
}
.border-warm-orange {
    border-color: var(--warm-orange) !important;
}
.border-gradient {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(to bottom, var(--yellow), var(--red)) border-box;
}

.text-yellow {
    color: var(--yellow) !important;
}
.text-red {
    color: var(--red) !important;
}
.text-orange {
    color: var(--orange) !important;
}
/* END COLORS & BORDERS*/
/*  */
/*  */
/*  */
/* HEADER */
.navbar-nav .dropdown-item:not(:active):not(.active):hover,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:active,
.navbar-nav .nav-link.active {
    color: var(--orange) !important;
    background-color: transparent;
}
.navbar-nav .dropdown-item:active,
.navbar-nav .dropdown-item.active {
    background-color: var(--red);
    color: var(--white);
}
#goToHeaderBtn {
    position: fixed;
    z-index: 99;
    bottom: 64px;
    right: 10px;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#goToHeaderBtn.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* END HEADER */
/*  */
/*  */
/*  */
/* FORM */
form:not(.search) .form-control {
    background-color: var(--white);
    border-radius: 1.5rem;
    border: 1px solid #707070;
    padding: 0.75rem 1rem 1.5rem 1.25rem;
}
form:not(.search) .form-control::placeholder {
    font-family: "Richmond Display";
    color: var(--black);
    font-size: 18px;
}
.form-check-input {
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}
.form-check-input:focus,
.form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--red) 50%, transparent);
}
.form-check-input[type="checkbox"] {
    border-radius: 0;
}
/* END FORM */
/*  */
/*  */
/* SWIPER */
.swiper-pagination > .swiper-pagination-bullet:first-child {
    margin-left: 0;
}
.swiper-pagination > .swiper-pagination-bullet:last-child {
    margin-right: 0;
}
.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: var(--white);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: var(--yellow) !important;
}
.swiperTestata .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
}
/* END SWIPER */
.breadcrumb-item a,
.breadcrumb-item.active {
    color: var(--black);
}
.text-white .breadcrumb-item a,
.text-white .breadcrumb-item.active,
.text-white .breadcrumb-item + .breadcrumb-item::before {
    color: var(--white);
}
.breadcrumb-item a:hover {
    text-decoration: underline !important;
}
#accordionFAQ .accordion-button::after,
#accordionFAQ .accordion-button:not(.collapsed)::after {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    font-size: 18px;
    margin-left: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-image: linear-gradient(var(--black));
    background-size: auto;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}
#accordionFAQ .accordion-button:not(.collapsed)::after {
    background-image: linear-gradient(to right, var(--yellow), var(--red));
    transform: rotate(90deg);
}

.swiperPage .swiper-button-prev svg,
.swiperPage .swiper-button-next svg {
    color: var(--red);
}
.swiper-nav .swiper-button-prev svg,
.swiper-nav .swiper-button-next svg {
    display: none;
}
.swiper-nav .swiper-button-prev::before,
.swiper-nav .swiper-button-next::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    color: var(--white);
    font-size: 35px;
}
.swiper-nav .swiper-button-prev::before {
    content: "\f0a8";
}
.swiper-nav .swiper-button-next::before {
    content: "\f0a9";
}

.swiper-nav .swiper-button-next {
    top: 48px;
    right: 30px;
}
.swiper-nav .swiper-button-prev {
    top: 48px;
    right: 72px;
    left: auto;
}
.accordion-servizi .accordion-button:not(.collapsed) {
    color: var(--white) !important;
    background-color: var(--red);
}
.accordion-servizi .accordion-button.collapsed::after {
    background-image: url("../img/angle-red.svg");
}
.accordion-servizi .accordion-button:not(.collapsed)::after {
    background-image: url("../img/angle-white.svg");
}
.nav-pills button:hover {
    background-color: color-mix(in srgb, var(--red) 25%, transparent);
}
.nav-pills button .arrow {
    opacity: 0;
}
.nav-pills button.active .arrow {
    opacity: 1;
}
#accordionFaqPage .accordion-button .circle,
#accordionFaqPage .accordion-button .fa-plus,
#accordionFaqPage .accordion-button .fa-minus {
    transition: all 0.3s ease-in-out;
}
#accordionFaqPage .accordion-button.collapsed .circle {
    transform: rotate(-90deg);
}
#accordionFaqPage .accordion-button:not(.collapsed) .circle {
    transform: rotate(0);
}
#accordionFaqPage .accordion-button .circle .fa-plus {
    transform: translateX(50%);
}
#accordionFaqPage .accordion-button .circle .fa-minus {
    transform: translateX(-50%);
}
#accordionFaqPage .accordion-button:not(.collapsed) .circle .fa-plus,
#accordionFaqPage .accordion-button.collapsed .circle .fa-minus {
    opacity: 0;
    transform: scale(0);
}
.scroll-custom {
    overflow-y: auto;
    scrollbar-gutter: stable;
}
.scroll-custom::-webkit-scrollbar {
    width: 3px;
}
.scroll-custom::-webkit-scrollbar-track {
    background: transparent;
}
.scroll-custom::-webkit-scrollbar-thumb {
    background-color: #bdbdbd;
    border-radius: 10px;
}
.scroll-custom {
    scrollbar-width: thin;
    scrollbar-color: #bdbdbd transparent;
}
.shield-shape {
    mask: url("../img/shield.svg") center / contain no-repeat;
    -webkit-mask: url("../img/shield.svg") center / contain no-repeat;

    aspect-ratio: 274.287 / 345.312; /* rapporto dello svg */
    overflow: hidden;
}
.square {
    height: var(--dim, 50px) !important;
    width: var(--dim, 50px) !important;
    flex: 0 0 var(--dim, 50px) !important;
}
.modal-staff #dettagli_membro {
    height: 600px !important;
}
