@font-face {
    font-family: 'Futura Bk BT';
    src: url('../fonts/futura/FuturaBT-Book.eot');
    src: url('../fonts/futura/FuturaBT-Book.eot?#iefix') format('embedded-opentype'),
        url('../fonts/futura/FuturaBT-Book.woff2') format('woff2'),
        url('../fonts/futura/FuturaBT-Book.woff') format('woff'),
        url('../fonts/futura/FuturaBT-Book.ttf') format('truetype'),
        url('../fonts/futura/FuturaBT-Book.svg#FuturaBT-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Md BT';
    src: url('../fonts/futura/FuturaBT-Bold.eot');
    src: url('../fonts/futura/FuturaBT-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/futura/FuturaBT-Bold.woff2') format('woff2'),
        url('../fonts/futura/FuturaBT-Bold.woff') format('woff'),
        url('../fonts/futura/FuturaBT-Bold.ttf') format('truetype'),
        url('../fonts/futura/FuturaBT-Bold.svg#FuturaBT-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-white: #ffffff;
    --dark-grey: #6c757d;
    --light-grey: #dee2e6;
    --primary-black: #000000;
    --header-height: 250px;
}

@media (min-width: 576px) {

    :root {
        --header-height: 150px;
        /* Altezza maggiore per mobile */
    }
}

*::selection {
    background: #808080;
    color: #ffffff;
}

html {
    scroll-padding-top: 150px;
    scroll-padding-top: var(--header-height);
    /* Modifica il valore in base alle tue esigenze */
}

body {
    font-family: 'Futura Bk BT', Helvetica, Arial, sans-serif;
    /*overflow: hidden;*/
    margin: 0;
    color: #222222;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    width: 100%;
    height: 100%;
    font-size: 18px;
    padding: 0;
    font-weight: 400;
    line-height: 1.5em;
}

.grecaptcha-badge {
    display: none !important;
}

.single-page-content {
    line-height: 1.7;
}

b {
    font-weight: 700;
}

strong {
    font-weight: 700;
}

h1,
.h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: 1.5em;
}

h1,
.h1 {
    font-size: 1.15em;
    font-weight: 600;
}

h2 {
    font-size: 1.1em;
}

h3 {
    font-size: 1em;
}

h4 {
    font-size: 1em;
    font-weight: normal;
}

h3.list_title {
    font-weight: 600;
}

h6 {
    font-size: 0.75rem;
    line-height: 1.5em;
}

.abstract {
    font-style: italic;
}


.error {
    color: red;
    text-transform: lowercase;
}

.error-margin-h #privacy-error {
    margin-left: .5em;
}


p.lead {
    font-weight: 500;
}

.fw-400 {
    font-weight: 400;
}

.fw-600 {
    font-weight: 600;
}

h1.small {
    font-size: 1.5rem;
}

a,
button,
input,
a::after,
a::before,
button::after,
button::before,
input::after,
input::before,
a:hover {
    outline: none !important;
    text-decoration: none !important;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    color: var(--primary-black);
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

span.fs-50 {
    font-size: 50%;
    font-weight: 500;
}

.link-base {
    position: relative;
    color: inherit;
}

.link-base:hover,
.link-base:active,
.link-base:focus {
    color: inherit;
}

.link-opa {
    position: relative;
    color: inherit;
    opacity: 0.75;
}

.link-opa:hover,
.link-opa:active,
.link-opa:focus {
    color: inherit;
    opacity: 1;
}

.pb-80 {
    padding-bottom: 80px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pt-40 {
    padding-top: 40px;
}

.content {
    position: relative;
    top: 60px;
}

.mt-200 {
    margin-top: 200px !important;
}

p {
    margin: 0;
}

.no-margin p {
    margin: 0 !important;
}

blockquote {
    font-style: italic;
    color: var(--dark-grey);
}

.form-floating input,
.form-floating textarea {
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.form-floating input:focus,
.form-floating textarea:focus {
    box-shadow: none;
}

.form-floating label {
    color: var(--dark-grey);
}

.navbar {
    background-color: var(--primary-white);
}

.navbar-nav>li.nav-item>a.nav-link {}

/*
#mainNav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--light-grey);
    background-color: #fff;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    min-height: 130px;
}

#mainNav .navbar-brand {
    font-weight: 800;
}

#mainNav .navbar-toggler {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.75rem;
    text-transform: uppercase;
}

#mainNav .navbar-nav>li.nav-item>a.nav-link {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.0625em;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    #mainNav {
        border-bottom: 1px solid transparent;
        background: transparent;
    }

    #mainNav .navbar-brand {
        color: #fff;
    }

    #mainNav .navbar-brand:focus,
    #mainNav .navbar-brand:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link {
        color: #fff;
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link:focus,
    #mainNav .navbar-nav>li.nav-item>a.nav-link:hover {
        color: rgba(255, 255, 255, 0.8);
    }
}

@media (min-width: 992px) {
    #mainNav {
        transition: background-color 0.2s;
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    #mainNav.is-fixed {
        position: fixed;
        top: -83px;
        transition: transform 0.2s;
        border-bottom: 1px solid white;
        background-color: rgba(255, 255, 255, 0.9);
    }

    #mainNav.is-fixed .navbar-brand {
        color: #212529;
    }

    #mainNav.is-fixed .navbar-brand:focus,
    #mainNav.is-fixed .navbar-brand:hover {
        color: #0085A1;
    }

    #mainNav.is-fixed .navbar-nav>li.nav-item>a {
        color: #212529;
    }

    #mainNav.is-fixed .navbar-nav>li.nav-item>a:focus,
    #mainNav.is-fixed .navbar-nav>li.nav-item>a:hover {
        color: #0085A1;
    }

    #mainNav.is-visible {
        transform: translate3d(0, 100%, 0);
    }
}
*/

/* ------------------------------ */
/* SECTIONS                       */
/* ------------------------------ */

section {
    position: relative;
    outline: none;
    border: none;
    /*overflow: hidden;*/
    padding: 0;
}

section.sec-25 {
    min-height: 25vh;
}

section.sec-50 {
    min-height: 50vh;
}

section.sec-75 {
    min-height: 75vh;
}

section.sec-100 {
    min-height: 100vh;
}

section.sec-jumbo {
    min-height: calc(90vh - 160px);
}

/*SECTION SQUARE*/
section.sec-square {
    padding-top: 80px;
    padding-bottom: 80px;
}

.col-square {
    min-height: 50vw;
}

.col-square-txt-pad {
    padding: 0 5vw;
}

section.sec-square.corner-dark::before {
    content: '';
    position: absolute;
    border: 2px solid #333;
    left: 2vw;
    top: 2vw;
    right: 2vw;
    bottom: 2vw;
    opacity: 0.5;
}

section.sec-square.corner-light::before {
    content: '';
    position: absolute;
    border: 2px solid #fff;
    left: 2vw;
    top: 2vw;
    right: 2vw;
    bottom: 2vw;
    opacity: 0.5;
}

@media (max-width: 576px) {
    section.sec-square {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /*.col-square-txt-pad {
                padding: 0 15px;
        }*/
}

/* ------------------------------ */
/* SECTION AUTO                   */
/* ------------------------------ */

section.sec-auto {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 576px) {
    section.sec-auto {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* ------------------------------ */
/* OTHER CLASS                    */
/* ------------------------------ */

.bg-overlay::before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    background-color: #4E4E4E;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 100;
}

.shadow::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    padding-bottom: 25%;
    left: 0;
    bottom: 0;
    background-image: url(../img/shadow-100.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 50% 50%;
    z-index: -1;
    opacity: 0.5;
    /*transform: translateY(25%);*/
}

.animated.delay-050s {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.animated.delay-025s {
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
}

.not-active {
    pointer-events: none;
    cursor: default;
}

/* ------------------------------- */
/* TABS                            */
/* ------------------------------- */


.tab {
    /* Center the content */
    align-items: center;
    display: flex;
    justify-content: center;
}

.tab__item {
    padding: 1rem;
    text-transform: uppercase;
    color: var(--primary-black);
}

.tab__item--active,
.tab__item:hover {
    /* border-bottom: 5px solid #000; */
    font-weight: 600;
    color: var(--primary-black);
}

.tab__item .nav-link:hover {
    color: var(--primary-black);
}

/* .tab__item--inactive {} */


/* ------------------------------- */
/* FOOTER                          */
/* ------------------------------- */

footer a,
footer a:focus,
footer a:visited {
    color: black;
    text-decoration: none;
}

footer a:hover {
    color: black;
    text-decoration: underline !important;
}

.social {
    width: 25px;
    height: 25px;
}

/* ------------------------------- */
/* Z ELEVATION                     */
/* ------------------------------- */

.elev-1 {
    z-index: 1;
}

footer {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

header.masthead {
    position: relative;
    margin-bottom: 3rem;
    padding-top: 25rem;
    padding-bottom: 15rem;
    background: no-repeat center center;
    background-color: var(--dark-grey);
    background-size: cover;
    background-attachment: scroll;
    padding-top: 25rem;
    padding-bottom: 15rem;
}

header.masthead:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #212529;
    opacity: 0.2;
}

header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
    color: #fff;
}

header.masthead .page-heading,
header.masthead .site-heading {
    text-align: center;
}

header.masthead .page-heading h1,
header.masthead .page-heading .h1,
header.masthead .site-heading h1,
header.masthead .site-heading .h1 {
    font-size: 3rem;
}

header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.1;
    display: block;
    margin-top: 0.625rem;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

header.masthead .post-heading h1,
header.masthead .post-heading .h1 {
    font-size: 2.25rem;
}

header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
    line-height: 1.1;
    display: block;
}

header.masthead .post-heading .subheading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.75rem 0 2rem;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

header.masthead .post-heading .meta {
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    font-family: "Lora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

header.masthead .post-heading .meta a {
    color: #fff;
}

header.masthead .header-title {
    min-height: 160px;
    max-height: 160px;
}

@media (min-width: 992px) {
    header.masthead {
        padding-top: 25rem;
        padding-bottom: 15rem;
    }

    header.masthead .page-heading h1,
    header.masthead .page-heading .h1,
    header.masthead .site-heading h1,
    header.masthead .site-heading .h1 {
        font-size: 5rem;
    }

    header.masthead .post-heading h1,
    header.masthead .post-heading .h1 {
        font-size: 3.5rem;
    }

    header.masthead .post-heading .subheading {
        font-size: 1.875rem;
    }
}

.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 3.75rem;
}

.caption {
    font-size: 0.875rem;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 0.625rem;
    text-align: center;
}

.post-preview>a {
    color: #212529;
}

.post-preview>a:focus,
.post-preview>a:hover {
    text-decoration: none;
    color: #0085A1;
}

.post-preview>a>.post-title {
    font-size: 1.875rem;
    margin-top: 1.875rem;
    margin-bottom: 0.625rem;
}

.post-preview>a>.post-subtitle {
    font-weight: 300;
    margin-bottom: 0.625rem;
}

.post-preview>.post-meta {
    font-size: 1.125rem;
    font-style: italic;
    margin-top: 0;
    color: var(--dark-grey);
}

.post-preview>.post-meta>a {
    text-decoration: none;
}

@media (min-width: 992px) {
    .post-preview>a>.post-title {
        font-size: 2.25rem;
    }
}

.fs-100 {
    font-size: 100px;
}

.fs-50 {
    font-size: 50px;
}

.navbar .navbar-brand img,
.sec-footer .navbar-brand img {
    height: 100px;
    width: auto;
}

.navbar.fixed-top {
    background-color: rgba(255, 255, 255, 0.5);
}

.prezzo {
    font-size: 12px;
    z-index: 3;
}

.navbar-prezzo {
    z-index: 9999;
}

.navbar-home,
.navbar-home .navbar-toggler {
    color: var(--primary-white);
    border: none;
}

.navbar-home a {
    color: var(--primary-white);
}

.nav-link {
    color: var(--dark-grey);
}

/* .nav-link small,
.nav-link .small {
    font-size: .75rem;
} */

.navbar-home .nav-link {
    color: var(--primary-white) !important;
}

.navbar-home.scrolled,
.navbar-home.open,
.navbar-home.scrolled .navbar-toggler,
.navbar-home.open .navbar-toggler,
.navbar-home.scrolled .nav-link,
.navbar-home.open .nav-link {
    color: var(--dark-grey) !important;
    background-color: var(--primary-white);
    /* border-bottom: 1px solid var(--light-grey); */
}

.navbar-home.scrolled a,
.navbar-home.open a {
    color: var(--dark-grey);
}

/* ------------------------------- */
/* COLORS                          */
/* ------------------------------- */

.clr--transparent-bg {
    background-color: transparent !important;
}

.clr--transparent-txt {
    color: transparent !important;
}

.clr--white-bg {
    background-color: var(--primary-white) !important;
}

.clr--white-txt {
    color: var(--primary-white) !important;
}

.border-white {
    border-color: var(--primary-white) !important;
}

.clr--black-bg {
    background-color: var(--primary-black) !important;
}

.clr--black-txt {
    color: var(--primary-black) !important;
}

.border-black {
    border-color: var(--primary-black) !important;
}

.clr--dark-grey-bg {
    background-color: var(--dark-grey) !important;
}

.clr--dark-grey-txt {
    color: var(--dark-grey) !important;
}

.border-dark-grey {
    border-color: var(--dark-grey) !important;
}

.clr--light-grey-bg {
    background-color: var(--light-grey) !important;
}

.clr--light-grey-txt {
    color: var(--light-grey) !important;
}

.border-light-grey {
    border-color: var(--light-grey) !important;
}


/* ------------------------------- */
/* BUTTONS                         */
/* ------------------------------- */

.btn {
    display: inline-block;
    /* font-weight: 600; */
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*
    border: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    */
    padding: 0px;

    font-size: 1.2rem;
    line-height: 1.5;
    border-radius: 0rem;

    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;

    /* letter-spacing: 0.0625em;
    text-transform: uppercase;
    font-weight: bold; */

}

.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: none;
    border-radius: 0rem;
}

.btn-sm,
.btn-group-sm>.btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0rem;
}

.btn-lg,
.btn-group-lg>.btn {
    padding: 1rem 1.50rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0rem;
}

.btn-xs,
.btn-group-xs>.btn {
    padding: 0.25rem 0.75rem;
    font-size: 12px;
    line-height: 22px;
    border-radius: 0rem;
}

/* transparent button */
.btn-skin-transparent {
    color: var(--primary-black);
    background-color: transparent;
    border-color: transparent;
    text-decoration: underline !important;
    font-style: italic;
    padding: 0px;
    margin: 0px;
}

.btn-skin-transparent:hover,
.btn-skin-transparent:focus,
.btn-skin-transparent:active,
.btn-skin-transparent.active {
    color: var(--primary-black);
    background-color: transparent;
    border-color: transparent;
    text-decoration: underline !important;
}

button.close:hover,
button.close:focus,
button.close:active,
button.close.active,
button.close {
    color: var(--primary-black);
    background-color: transparent;
    border-color: transparent;
    text-decoration: none;
    /* padding: 0px; */
    margin: 0px;
}

/* ------------------------------- */
/* TEXT COLUMNS                    */
/* ------------------------------- */

.ContenutoNumeroColonne-1 {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
}

.ContenutoNumeroColonne-2 {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
}

.ContenutoNumeroColonne-3 {
    column-count: 3;
    -moz-column-count: 3;
    -webkit-column-count: 3;
}

.ContenutoNumeroColonne-4 {
    column-count: 4;
    -moz-column-count: 4;
    -webkit-column-count: 4;
}

.ContenutoNumeroColonne-1,
.ContenutoNumeroColonne-2,
.ContenutoNumeroColonne-3,
.ContenutoNumeroColonne-4 {
    /* Distanza tra le colonne*/
    column-gap: 1.5rem;
    /*Stile per il bordo delle colonne*/
    /* column-rule: 1px solid rgb(222 222 222); */

    /*Amplifica il supporto alle vecchie versioni di Firefox e Chrome/Safari */
    -moz-column-gap: 30px;
    /* -moz-column-rule: 1px solid rgb(222 222 222); */

    -webkit-column-gap: 30px;
    /* -webkit-column-rule: 1px solid rgb(222 222 222); */

}

/* ------------------------------- */
/* OVERLAY                         */
/* ------------------------------- */
/* Container needed to position the overlay. Adjust the width as needed */
.img-container {
    position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.img-overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    /* background: rgba(0, 0, 0, 0.5); */
    /* Black see-through */
    color: #f1f1f1;
    width: 100%;
    height: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    /* font-size: 20px; */
    padding: 20px;
    /* padding-top: 70%; */
}

/* When you mouse over the container, fade in the overlay title */
.img-container:hover .img-overlay {
    opacity: 1;
}


@media (max-width: 576px) {
    .img-container .img-overlay {
        opacity: 1;
        font-size: 12px;
        padding: 10px;
    }
}

/* ------------------------------- */
/* SWIPER                          */
/* ------------------------------- */

.swiper {
    width: 100%;
    height: auto;
    padding-bottom: 30px !important;
}

/* sposto la paginazione fuori dallo slider */
.swiper .swiper-wrapper {
    overflow: visible;
}

.swiper-pagination-fraction {
    position: absolute;
    bottom: 0;
    left: 40%;
}

.swiper-slide {
    text-align: center;
    font-size: 12px;
}

.icona-link {
    width: 1rem;
    height: auto;
}

/* ------------------------------- */
/* LOADING DIV                     */
/* ------------------------------- */

.loader {
    height: 80px;
    width: 80px;
    margin: 0 auto;

    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60px 60px;

}

.cerca {
    border: none;
    border-bottom: 1px solid var(--dark-grey);
    border-radius: 0;
    box-shadow: none;
}

.cerca:focus {
    border: none;
    border-bottom: 1px solid var(--dark-grey);
    border-radius: 0;
    box-shadow: none;
}

.cerca::placeholder {
    color: var(--primary-black);
    opacity: 1;
    /* Firefox */
}

.cerca::-ms-input-placeholder {
    /* Edge 12 -18 */
    color: var(--primary-black);
}

.filtri-schede {
    max-height: 200px;
}

.btn-scheda-tipo {
    padding: 0;
    line-height: 1;
    border: none;
    text-align: end;
}

.btn-scheda-tipo.selected {
    font-weight: bold;
}

.btn-scheda-tipo.selected::after {
    content: " x";
}

/* ------------------------------- */
/* MENU HAMBURGER E X              */
/* ------------------------------- */

.navbar-light .navbar-toggler,
.navbar-light .navbar-toggler:focus {
    color: var(--primary-black);
    border: none;
    box-shadow: none;
    font-size: 1rem;
}


.navbar-toggler:focus,
.navbar-toggler:active {
    outline: 0;
}

.navbar-toggler span {
    display: block;
    background-color: var(--primary-black);
    height: 2px;
    width: 15px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    position: relative;
    left: 0;
    opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
    -webkit-transition: transform .35s ease-in-out;
    -moz-transition: transform .35s ease-in-out;
    -o-transition: transform .35s ease-in-out;
    transition: transform .35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    position: absolute;
    left: 12px;
    top: 10px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    height: 12px;
    visibility: hidden;
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    position: absolute;
    left: 12px;
    top: 10px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    opacity: 0.9;
}


.scheda-testo.overflow {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.scheda-testo.overflow:after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: "";
    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 5%,
            rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    /* so the text is still selectable */
}

.anchor-navigation {
    position: sticky;
    top: 6rem;
    background-color: #fff;
    z-index: 1;
}

.anchor-navigation .col-anchor-link {
    border-bottom: 1px #cccccc solid;
    text-align: center;
}

.anchor-navigation .col-anchor-link:hover,
.anchor-navigation .col-anchor-link.active {
    color: black;
    /* font-weight: bold; */
    border-color: black;
    border-width: 2px;
}



.mx-sm-topbar {
    margin-left: 0rem !important;
    margin-right: 0rem !important;
}

@media (min-width: 576px) {
    .mx-sm-topbar {
        margin-left: 2rem !important;
        margin-right: 2rem !important;
    }

    .anchor-navigation {
        top: 3rem;
    }
}

@media (min-width: 768px) {
    .mx-sm-topbar {
        margin-left: 4rem !important;
        margin-right: 4rem !important;
    }
}

@media (min-width: 992px) {
    .mx-sm-topbar {
        margin-left: 6rem !important;
        margin-right: 6rem !important;
    }
}

@media (min-width: 1200px) {
    .mx-sm-topbar {
        margin-left: 8rem !important;
        margin-right: 8rem !important;
    }
}

.offcanvas-header .btn-close {
    padding: 0px;
    margin: 0px;
    width: 1rem;
    height: 1rem;
    color: #000000;
}

.list-blocchi .blocco-riquadro {
    border: 2px #cccccc solid;
    padding: 2rem;
    border-left-color: transparent;
}

.list-blocchi .blocco-riquadro:first-of-type {
    border-left: transparent;
}

.list-blocchi .blocco-riquadro:last-of-type {
    border-right: transparent;
}

@media (max-width: 991.98px) {
    .list-blocchi .blocco-riquadro {
        border-color: transparent;
        border-bottom-color: #cccccc;
    }

    .list-blocchi .blocco-riquadro:last-of-type {
        border: transparent;
    }
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
    border-bottom: 2px #cccccc solid;
}

.form-control:focus {
    box-shadow: none;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    border-radius: 0 !important;
}

.select2-container {
    font-size: 1rem;
    margin-top: 7px !important;
    border-bottom: 2px #cccccc solid !important;
}

.file-title,
.file-size {
    font-style: italic;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.iubenda-cs-preferences-link img {
    display: none;
}

.form-check-input:focus {
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
}