/* 
Theme Name: Fondazione Paideia
Author: web@quattrolinee.it
Author URI: www.quattrolinee.it
Version: 0.0.0
*/


/* 
// Example usage
.container {
    // Default, mobile first
    padding: 0 15px;

    // 576px window width and more
    @include sm {
        padding: 0 20px;
    }

    // 992px window width and more
    @include lg {
        padding: 0 40px;
    }

    // 1200px window width and more
    @include xl {
        padding: 0 60px;
    }

    // 1600px window width and more withc custom rwd
    @include rwd(1623) {
        padding: 0 80px;
    }
} 
*/

@import url("https://fonts.googleapis.com/css?family=Heebo:300,400,700");
@import url("https://fonts.googleapis.com/css?family=Fjalla One:300,400,700");
@font-face {
    font-family: 'EasyReadingCY';
    font-weight: 400;
    font-style: normal;
    src: url('fonts/easyreading/EasyReadingCY.eot') format('eot');
    src: url('fonts/easyreading/EasyReadingCY.svg') format('svg');
    src: url('fonts/easyreading/EasyReadingCY.ttf') format('truetype');
    src: url('fonts/easyreading/EasyReadingCY.woff') format('woff');
}

@font-face {
    font-family: 'EasyReadingCY';
    font-weight: 700;
    font-style: normal;
    src: url('fonts/easyreading/EasyReadingCYBold.eot') format('eot');
    src: url('fonts/easyreading/EasyReadingCYBold.svg') format('svg');
    src: url('fonts/easyreading/EasyReadingCYBold.ttf') format('truetype');
    src: url('fonts/easyreading/EasyReadingCYBold.woff') format('woff');
}

@font-face {
    font-family: 'EasyReadingCY';
    font-weight: 700;
    font-style: italic;
    src: url('fonts/easyreading/EasyReadingCYBoldItalic.eot') format('eot');
    src: url('fonts/easyreading/EasyReadingCYBoldItalic.svg') format('svg');
    src: url('fonts/easyreading/EasyReadingCYBoldItalic.ttf') format('truetype');
    src: url('fonts/easyreading/EasyReadingCYBoldItalic.woff') format('woff');
}

@font-face {
    font-family: 'EasyReadingCY';
    font-weight: 400;
    font-style: italic;
    src: url('fonts/easyreading/EasyReadingCYItalic.eot') format('eot');
    src: url('fonts/easyreading/EasyReadingCYItalic.svg') format('svg');
    src: url('fonts/easyreading/EasyReadingCYItalic.ttf') format('truetype');
    src: url('fonts/easyreading/EasyReadingCYItalic.woff') format('woff');
}

.b-t-red {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-top-width: 1px;
    padding-top: 0px;
}

.b-t-white {
    border-color: #ffffff;
    border-style: solid;
    border-width: 0;
    border-top-width: 1px;
    padding-top: 0px;
}

.b-b-white {
    border-color: white;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 0px;
}

.b-b-grey {
    border-color: #626262;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 0px;
}

.b-b-light-grey {
    border-color: #dddddd;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 0px;
}

a {
    color: #626262;
    text-decoration: none;
}

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

a.white:hover {
    color: #ffffff;
}

a.grey:hover {
    color: #626262;
}

.hide{
    display: none;
}

@media (max-width: 1440px) {
    /* .testo-persone {
        max-height: 25rem !important;
    } */
}
@media (max-width: 1680px){
    h1,
    .h1 {
        font-size: 3em !important;
    }
    h2,
    .h2 {
        font-size: 2.5em !important;
    }
    #number-carousel h4,
    #number-carousel .h4 {
        font-size: 1.3em !important;
    }
    .cosa-header-body:before{
        right: -16em !important;
        bottom: -1em !important;
    }
    .testo-persone {
        max-height: 25rem !important;
    }
}
@media (min-width: 1680px){
    #number-carousel .card-body {
        padding: 3em !important;
    }
}


@media (min-width: 1880px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1680px;
    }
}

@media (max-width: 1879px) {
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item {
        margin-right: 1.5rem !important;
    }
    .btn.btn-expanded {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        /* padding-top: 0; */
        padding-bottom: 0;
        line-height: 40px;
        font-size: 12px;
    }
    .testo-persone p {
        font-size: 1.6em !important;
    }
    .testo-persone-trunc {
        -webkit-line-clamp: 9 !important;
    }
    .content-slider-title {
        margin-top: 0.6em !important;
        max-width: 13em;
        z-index: 10;
    }
    .cont-slider-subt {
        margin-top: 4em;
    }
    .cosa-facciamo-head {
        margin-top: 2em !important;
    }
    .info-quad-container .den-num {
        font-size: 1.5em
    }
    .sub-circle h2 {
        font-size: 2.5em;
    }
    .sub-circle h4 {
        font-size: 1em;
    }
    .info-torte-container .testo h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 1199px) {
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item {
        /* line-height: 50px !important; */
        margin-right: 0.6rem !important;
    }
    .btn.btn-expanded {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .navbar-brand {
        margin-right: 1rem !important;
    }
    .immagine-colonna .immagine-colonna-img-container:after {
        right: -7vw !important;
    }
}

footer .copy {
    border-color: #AAAAAA;
    border-style: solid;
    border-width: 0;
    border-top-width: 1px;
    padding-top: 0px;
}
footer .copy .design-by{
    font-size: 14px;
}
footer .partner-img{
    max-height: 90px;
}

[data-aos][data-aos][data-aos-easing=ease-in-out],
body[data-aos-easing=ease-in-out] [data-aos] {
    transition-duration: 0.375s;
}

* {
    scroll-behavior: smooth !important;
    scroll-padding-top: 190px;
    font-family: "Heebo", sans-serif;
    font-size: 16px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Fjalla One", sans-serif;
}

h1,
.h1 {
    font-size: 4em;
}

h2,
.h2 {
    font-size: 3em;
}

h3,
.h3 {
    font-size: 1.8em;
}

h4,
.h4 {
    font-size: 1.7em;
}

h5,
.h5 {
    font-size: 20px;
}

#main-navigation .nav-item a {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

#main-navigation .nav-item ul.sub-menu .nav-item {
    line-height: 2;
    padding-right: 25vw;
}

#main-navigation .nav-item ul.sub-menu .nav-item a {
    color: #626262;
    font-size: 14px;
}

.navbar-wrapper.light #main-navigation .nav-item a,
.navbar-wrapper.expanded #main-navigation .nav-item a,
.navbar-wrapper.always-light #main-navigation .nav-item a {
    color: #626262;
}

.btn {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.wide-spacing {
    letter-spacing: 1.6px;
}

footer .copy {
    font-size: 16px;
}

footer .copy a {
    font-size: 14px;
}

footer .copy a:hover {
    color: #B9202F
}

.red {
    color: #B9202F;
}

.red-bg {
    background-color: #B9202F;
}

.red-border {
    border-color: #B9202F;
}

.white {
    color: #ffffff;
}

.white-bg {
    background-color: #ffffff;
}

.light-grey-bg {
    background-color: #F2F2F2;
}

.white-border {
    border-color: #ffffff;
}

.dark-white {
    color: #dddddd;
}

.dark-white-bg {
    background-color: #dddddd;
}

.dark-white-border {
    border-color: #dddddd;
}

.grey {
    color: #626262;
}

.medium-grey {
    color: #8E8E8E;
}

.light-grey {
    color: #dddddd;
}

.grey-bg {
    background-color: #626262;
}

.grey-border {
    border-color: #B9202F;
}

.light-grey {
    color: #AAAAAA;
}

.medium-grey-bg {
    background-color: #AAAAAA;
}
.carica.medium-grey-bg {
    background-color: #DEDEDE !important;
}

.light-grey-border {
    border-color: #AAAAAA;
}

button,
button:focus {
    border: none;
    background-color: #B9202F;
    outline: none;
}

.btn {
    border-radius: 0;
    padding: 0.3rem 3rem;
    line-height: 40px;
    transition: background-color 0.375s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.375s cubic-bezier(0.4, 0, 0.2, 1), color 0.375s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.btn-primary {
    background-color: #B9202F;
    border-color: #B9202F;
}

.btn.btn-primary:hover {
    color: #B9202F;
    background-color: white;
    border-color: #B9202F;
}

.btn.btn-navbar {
    color: white;
    background-color: #B9202F;
    border-color: #B9202F;
}

.btn.btn-navbar:hover {
    color: white;
    background-color: #74151e;
    border-color: #74151e;
}

.btn.btn-outline-primary {
    color: #626262;
    border-color: #626262;
    background-color: rgba(185, 32, 47, 0);
}

.btn.btn-outline-primary:hover {
    color: #ffffff;
    border-color: #B9202F;
    background-color: #b9202f;
}

.btn.btn-secondary {
    background-color: white;
    border-color: white;
    color: #B9202F;
}

.btn.btn-secondary:hover {
    background-color: #B9202F;
    border-color: white;
    color: white;
}

.btn.btn-tertiary {
    background-color: #AAAAAA;
    border-color: #AAAAAA;
    color: #ffffff;
}

.btn.btn-tertiary:hover {
    background-color: #5e5e5e;
    border-color: #5e5e5e;
    color: #ffffff;
}

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

.btn.btn-expanded {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

.btn.btn-full {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

input[type="text"],
input[type="text"]:focus,
input[type="password"],
input[type="password"]:focus,
input[type="email"],
input[type="email"]:focus,
input[type="number"],
input[type="number"]:focus,
textarea[type="text"],
textarea[type="text"]:focus,
textarea[type="password"],
textarea[type="password"]:focus,
textarea[type="email"],
textarea[type="email"]:focus,
textarea[type="number"],
textarea[type="number"]:focus,
textarea:focus[type="text"],
textarea:focus[type="text"]:focus,
textarea:focus[type="password"],
textarea:focus[type="password"]:focus,
textarea:focus[type="email"],
textarea:focus[type="email"]:focus,
textarea:focus[type="number"],
textarea:focus[type="number"]:focus {
    background-color: transparent;
    border: none;
    outline: none;
    border-radius: 0;
}

#amount_redirect input[type="radio"] {
    position: absolute;
    left: -9999px;
}

#amount_redirect label {
    width: 33%;
    padding-right: 10px;
    padding-bottom: 10px;
    margin: 0;
    display: inline-block;
    line-height: 80px;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

#amount_redirect label:hover span {
    background-color: rgba(255, 255, 255, 0.2);
}

#amount_redirect label:nth-child(2n+3) {
    padding-right: 0px;
}

#amount_redirect label span {
    display: block;
    background-color: rgba(255, 255, 255, 0.35);
}

#amount_redirect label input[type="radio"]:checked+span {
    background-color: #B9202F;
    cursor: default;
}

.card {
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    /* transition: padding 0.375s cubic-bezier(0.4, 0, 0.2, 1); */
    height: 100%;
    min-width: 200px;
    box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.1);
}

.card .card-img-icon {
    max-width: 100px;
}

.card.red-border-bottom {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 6px;
    padding-bottom: 3rem;
}

.card:hover {
    padding-bottom: 0;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card:hover .card-image:after {
    opacity: 1;
    transform: translateY(0px);
}

.card .card-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    transition: transform 0.375s cubic-bezier(0.4, 0, 0.2, 1);
}

.card .card-image a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.card .card-image:after {
    content: "+";
    font-size: 33px;
    position: absolute;
    z-index: 1;
    right: 30px;
    top: 25px;
    background-color: #B9202F;
    color: #ffffff;
    height: 60px;
    width: 60px;
    border-radius: 30px;
    text-align: center;
    line-height: 60px;
    opacity: 0;
    transition: all 0.375s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.card .card-category {
    font-size: 16px;
    padding-left: 1rem;
    padding-right: 1rem;
    top: 200px;
    line-height: 50px;
    transform: translateY(-50%);
}

.card .card-category a {
    color: #ffffff;
}

.card .card-date {
    font-size: 16px;
}

.card .card-body {
    padding: 2.5rem 2.5rem 2rem 2.5rem;
}

.card.card-news-item .card-body h4 {
    font-size: 1.5em;
}

.card.card-news-item .card-body h3 {
    font-size: 1.8em;
}

.card .card-image-trim {
    height: 300px;
    object-fit: cover;
}

.navbar-wrapper {
    z-index: 1001;
    width: 100vw;
    position: relative;
}

.navbar-wrapper:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    background-color: #ffffff;
    transition: opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-wrapper.light,
.navbar-wrapper.expanded,
.navbar-wrapper.always-light {
    /* box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.1);  */
    border-bottom: 1px solid #f2f2f2;
}

.navbar-wrapper.light:before,
.navbar-wrapper.expanded:before,
.navbar-wrapper.always-light:before {
    opacity: 1;
}

.navbar-wrapper.light nav.navbar .navbar-action-search i,
.navbar-wrapper.expanded nav.navbar .navbar-action-search i,
.navbar-wrapper.always-light nav.navbar .navbar-action-search i {
    color: #626262;
}

.navbar-wrapper.light nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children:after,
.navbar-wrapper.expanded nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children:after,
.navbar-wrapper.always-light nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children:after {
    color: #626262;
}

.navbar-wrapper nav.navbar {
    background-color: transparent;
}

.navbar-wrapper nav.navbar .navbar-brand {
    z-index: 9;
    position: relative;
}

.navbar-wrapper nav.navbar .navbar-brand .logo {
    max-width: 75px;
}

.navbar-wrapper nav.navbar .navbar-brand .logo_fixed {
    max-width: 75px;
    display: none;
}

.navbar-wrapper nav.navbar .navbar-actions {
    z-index: 9;
    position: relative;
}

.navbar-wrapper nav.navbar .navbar-actions .navbar-action-button {
    font-size: 14px;
    margin-right: 1rem;
}

.navbar-wrapper nav.navbar .navbar-action-search i {
    transition: color 0.275s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    font-size: 21px;
}

.navbar-wrapper nav.navbar .navbar-action-search:hover i {
    color: #B9202F;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item {
    margin-right: 3rem;
    line-height: 75px;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item a {
    display: inline-block;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item ul.sub-menu {
    position: relative;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item ul.sub-menu li {
    line-height: 1.5;
    margin-right: 0;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children {
    position: relative;
    padding-right: 1rem;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children:hover ul.sub-menu {
    position: fixed;
    left: 14.3vw;
    opacity: 1;
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 4rem;
    padding-bottom: 1rem;
    position: absolute;
    left: -9999px;
    opacity: 0;
    transition: opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 22vw;
    transform: translateY(-30px);
    z-index: 10;
}

@media (min-width: 992px) {
    .hide-main-menu-size{
        display: none !important;
        height: 0 !important;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item ul.sub-menu li {
        padding-right: 0 !important;
        padding-left: 100px;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children:after {
        content: "\f054";
        left: 23vw;
        transform: translateY(10px) !important;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children ul.sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-top: 4rem;
        padding-bottom: 1rem;
        position: absolute;
        left: -9999px;
        opacity: 0;
        transition: opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-30px);
        z-index: 11;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children:hover ul.sub-menu {
        position: fixed;
        right: auto;
        width: 50vw;
        left: 25vw;
        top: 1.5em;
        bottom: 0;
        opacity: 1;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children ul.sub-menu:before {
        position: absolute;
        right: 0;
        left: 1.2em;
        bottom: 0;
        top: 1em;
        content: " ";
        background-color: transparent;
        z-index: -1;
        border: none;
        padding: 0px;
        box-shadow: none;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children ul.sub-menu:after {
        position: fixed;
        content: " ";
        height: 0;
        width: 0;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children ul.sub-menu:after {
        position: fixed;
        content: " ";
        height: 10.6em;
        width: 1px;
        left: 27vw;
        right: auto;
        top: 4.3em;
        bottom: auto;
        background-color: #D2D2D2;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children ul.sub-menu:before {
        min-height: 14em;
    }
    #embedded-app {
        position: relative;
        top: -9.1em;
    }
}

@media (max-width: 991px) {
    /* Menu terzo livello*/
    .hide-mobile-menu-size{
        display: none !important;
        height: 0 !important;
    }
    .mobile-menu-height {
        height: 100vh !important;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children:hover ul.sub-menu {
        position: absolute;
        width: 100%;
        left: 0;
        opacity: 1;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children:after {
        position: absolute;
        right: 1em;
        transform: translateY(8px);
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children ul.sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-top: 4rem;
        padding-bottom: 1rem;
        position: absolute;
        left: -9999px;
        opacity: 0;
        transition: opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-30px);
        z-index: 11;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children:hover ul.sub-menu {
        position: absolute;
        right: auto;
        left: 0;
        width: 50vw;
        top: 1.5em;
        bottom: 0;
        opacity: 1;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children ul.sub-menu:before {
        position: absolute;
        top: 0;
        right: -6999px;
        left: -6999px;
        content: " ";
        background-color: #ffffff;
        bottom: 0;
        z-index: -1;
        border-top: 1px solid #dddddd;
        margin-top: 2.5em;
        box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.1);
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav ul.sub-menu li.nav-item.menu-item-has-children ul.sub-menu:after {
        position: absolute;
        content: " ";
        height: 0;
        width: 0;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children ul.sub-menu:after {
        height: 0;
        width: 0;
        background-color: #ffffff;
    }
    /* Fine */
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children ul.sub-menu:before {
    position: absolute;
    top: 0;
    right: -6999px;
    left: -6999px;
    content: " ";
    min-height: 14em;
    background-color: #ffffff;
    bottom: 0;
    z-index: -1;
    border-top: 1px solid #dddddd;
    margin-top: 2.5em;
    box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.1);
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item.menu-item-has-children:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    content: "\f078";
    position: absolute;
    right: 0;
    top: -9px;
    color: #ffffff;
    transform: translateY(8px);
}

.navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item:last-child {
    margin-right: 0;
}

.navbar-wrapper.light nav.navbar,
.navbar-wrapper.expanded nav.navbar,
.navbar-wrapper.always-light nav.navbar {
    background-color: transparent;
}

.navbar-wrapper.light nav.navbar .navbar-brand .logo,
.navbar-wrapper.expanded nav.navbar .navbar-brand .logo,
.navbar-wrapper.always-light nav.navbar .navbar-brand .logo {
    display: none;
}

.navbar-wrapper.light nav.navbar .navbar-brand .logo_fixed,
.navbar-wrapper.expanded nav.navbar .navbar-brand .logo_fixed,
.navbar-wrapper.always-light nav.navbar .navbar-brand .logo_fixed {
    display: block;
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-item a {
    text-transform: uppercase;
    text-align: center;
    border: none;
    border-color: #626262;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 3px;
    padding: 1rem 0;
}

.nav-tabs .nav-item a.active {
    color: #B9202F;
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 4px;
    padding-bottom: 0px;
    padding: 1rem 0;
}

.carousel {
    position: relative;
}

.carousel .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: 50%;
    background-color: #F2F2F2;
    z-index: 0;
}

.carousel .carousel-arrows .carousel-arrows-wrapper {
    position: relative;
}

.carousel .carousel-arrows .carousel-arrows-wrapper a {
    color: #B9202F;
    margin-left: 1rem;
    border: 1px solid #B9202F;
    height: 40px;
    width: 40px;
    border-radius: 40px;
    text-align: center;
    line-height: 39px;
    opacity: .7;
    transition: opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel .carousel-arrows .carousel-arrows-wrapper a:hover {
    opacity: 1;
}

.carousel.feedback-carousel .carousel-arrows {
    right: 0;
    top: 0;
}

.carousel.carousel-empty .carousel-inner .carousel-item {
    height: 70vh;
}

.carousel.carousel-generic {
    position: relative;
    margin-bottom: 5rem;
}

.carousel.carousel-generic:before {
    content: " ";
    position: absolute;
    width: 60vw;
    height: 35vh;
    left: auto;
    right: -20%;
    bottom: auto;
    top: -10%;
    background-color: #F2F2F2;
}

.carousel.carousel-generic .carousel-arrows {
    right: -15%;
    /* bottom: 0; */
}

.carousel.carousel-generic .carousel-arrows:before {
    content: "";
}

.carousel .carousel-inner .carousel-item {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}

.carousel .carousel-inner .carousel-item .card {
    height: 100%;
}

.carousel#home-carousel .carousel-indicators {
    margin-right: 0;
    margin-left: 0;
    bottom: 0;
    left: auto;
    right: 8rem;
    top: 0;
    flex-direction: column;
    opacity: 1;
}

.carousel#home-carousel .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    margin-bottom: 10px;
}

.carousel#home-carousel .carousel-indicators li.active {
    background-color: #ffffff;
}

.carousel#content-slider .carousel-indicators {
    margin-right: 0;
    margin-left: 0;
    bottom: 0;
    left: auto;
    right: auto;
    flex-direction: row;
    opacity: 1;
}

.carousel#content-slider .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px solid #b7b7b7;
    background-color: transparent;
    /* margin-bottom: 10px; */
    margin-bottom: 0;
}

.carousel#content-slider .carousel-indicators li.active {
    background-color: #b9202f;
    border: 1px solid #b9202f;
}

.carousel#content-slider .carousel-item p {
    padding-top: 10px;
    padding-bottom: 10px;
}

.carousel#home-carousel .carousel-inner .carousel-item {
    height: 100vh;
}

.carousel#home-carousel .carousel-inner .carousel-image {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel#home-carousel .carousel-inner .carousel-image:after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.carousel#home-carousel .carousel-inner .carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.carousel#home-carousel .carousel-inner .carousel-caption .carousel-caption-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 10px;
    padding-left: 2rem;
    padding-bottom: 15px;
}

.carousel#home-carousel .carousel-stripe {
    font-size: 16px;
    letter-spacing: 1.6px;
    font-weight: 100;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}

.carousel#home-carousel .carousel-stripe:before {
    position: absolute;
    content: " ";
    height: 100px;
    width: 131px;
    left: auto;
    right: 8.5em;
    top: auto;
    bottom: 100px;
    background-color: transparent;
    z-index: 1;
    background-image: url(./assets/images/cuori2_grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}


/* News Carousel */

.carousel#news-carousel .carousel-inner .carousel-item {
    height: 100vh;
}

.carousel#news-carousel .carousel-inner .carousel-image {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel#news-carousel .carousel-inner .carousel-image:after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.carousel#news-carousel .carousel-inner .carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.carousel#news-carousel .carousel-inner .carousel-caption .carousel-caption-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 10px;
    padding-left: 2rem;
    padding-bottom: 15px;
}

.carousel#home-carousel .carousel-inner .carousel-caption .carousel-caption-body {
    opacity: 0;
    transition: opacity ease-out 1.7s;
}


/* Animazione caption body carosello home */

.carousel-item.active .carousel-caption-body {
    animation: animate-home-body 1.5s normal forwards;
}

@keyframes animate-home-body {
    0% {
        opacity: 0;
        transform: translate(1em, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}


/* Fine animazione */

.carousel#news-carousel .carousel-stripe {
    font-size: 16px;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}

.carousel#news-carousel .carousel-indicators {
    margin-right: 0;
    margin-left: 0;
    /* bottom: 0; */
    position: relative;
    opacity: 1;
}

.carousel#news-carousel .carousel-indicators li {
    width: 100% !important;
    height: 10px;
    margin-bottom: 10px;
}

.carousel#news-carousel .carousel-indicators li.active {
    background-color: rgba(255, 255, 255, 0.5);
}

.prog-bar {
    width: 1px;
    height: 10px;
    background: white;
    /* transition: width 5s; */
    z-index: 999;
}

.carousel#news-carousel .carousel-indicators li.active .prog-bar {
    background-color: white;
    width: 100%;
    animation: animate-prog-bar 5s normal forwards;
}

@keyframes animate-prog-bar {
    0% {
        width: 1px;
        /* transform: translate(0, 0); */
    }
    100% {
        width: 100%;
        /* transform: translate(0, 0); */
    }
}

.carousel-arrow {
    z-index: 20;
    color: white;
    margin-left: 1rem;
    border: 1px solid white;
    height: 40px;
    width: 40px;
    border-radius: 40px;
    text-align: center;
    line-height: 40px;
    opacity: .7;
    transition: opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow:hover {
    opacity: 1;
    color: white;
}


/* News carousel style end */

.carousel-text {
    margin-bottom: 2rem;
    margin-left: 50%;
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 2px;
}

.carousel-text {
    /* display: block; */
    opacity: 0;
    transition: opacity ease-out 1.7s;
}


/* Animazione del testo sopra l'immagine */

.carousel-item.active .carousel-text {
    animation: animate-carousel-text 1s normal forwards;
    /* animation-delay: 1s; */
}

@keyframes animate-carousel-text {
    0% {
        opacity: 0;
        transform: translate(0, 1em);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes animate-carousel-text-mob {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 1em);
    }
}


/* Fine animazione */

.img-carousel {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}

#page-carousel:after {
    content: " ";
    position: absolute;
    background-color: #B9202F;
    width: 4px;
    left: auto;
    top: 65%;
    bottom: 0;
    transform: rotate(90deg);
}

.search-interface {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform 0.375s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-100%);
    opacity: 0;
}

.search-interface.open {
    transform: translateX(0%);
    opacity: 1;
}

.search-interface .close-search-interface {
    position: absolute;
    top: 2rem;
    right: 4rem;
    text-shadow: none;
    color: #ffffff;
    opacity: 1;
}

.search-interface .search-form {
    border-color: #ffffff66;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 2rem;
}

.search-interface .search-form input {
    width: 90%;
    color: #ffffff;
    line-height: 70px;
    border-color: #ffffff66;
    border-style: solid;
    border-width: 0;
    border-left-width: 4px;
    padding-left: 1rem;
}

.search-interface .search-form input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-interface .search-form input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-interface .search_result {
    border-color: #ffffff66;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 1rem;
    height: 100%;
    position: relative;
}

.search-interface .search_result .search_result_excerpt {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.search-interface .search_result .search_result_dot {
    position: absolute;
    left: 0;
    top: 3rem;
    height: 32px;
    width: 32px;
    line-height: 30px;
    text-align: center;
    border-radius: 20px;
    border-color: #ffffff;
    border-style: solid;
    border-width: 0;
    border-width: 1px;
    padding: 0rem;
}

.search-interface .search_result a {
    color: #ffffff;
}

.search-interface .search_result a:hover {
    color: #ffffff;
}

.search-interface #result_search,
.search-interface #suggested_search {
    overflow-y: auto;
    max-height: 65vh;
}

.banner-con-immagine {
    /* min-height: 30vh; */
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}

.bci-overlay {
    width: auto;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.banner-con-immagine:hover {
    cursor: pointer;
}

.banner-con-immagine:hover .btn-primary {
    color: #B9202F;
    border-color: #B9202F;
    background-color: white;
}

.banner-con-immagine:hover .bci-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.banner-con-immagine:before {
    position: absolute;
    content: " ";
    height: 192px;
    width: 240px;
    left: 0;
    right: auto;
    top: 2.5em;
    bottom: auto;
    background-color: transparent;
    z-index: 1;
    /* background-image: url(./assets/images/stelle_grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transform: translateX(-200px);
    animation: scrollbci 3s linear infinite;
    animation-play-state: paused;
    /* animation-fill-mode: both; */
    animation-delay: calc(var(--scroll) * -2s);
}

@keyframes scrollbci {
    to {
        transform: translateX(90px);
    }
}

#home-testimonianze-carousel .carousel-arrows {
    bottom: -2.3rem;
    right: 0;
    left: 67%;
    z-index: 999;
}

#home-testimonianze-carousel .testimonianza-item {
    position: relative;
}

#home-testimonianze-carousel .testimonianza-item .testimonianza-item-image {
    position: absolute;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    height: 40em;
    top: 0;
    left: 0;
    bottom: 3rem;
    right: 35%;
}

#home-testimonianze-carousel .testimonianza-item .testimonianza-item-payout {
    bottom: 3rem;
    left: 3rem;
    transform: translateY(50%);
}

#home-testimonianze-carousel .testimonianza-item .test-card {
    opacity: 0;
    transition: opacity ease-out 0.5s;
}

#home-testimonianze-carousel .testimonianza-item .test-body {
    opacity: 0;
    transition: opacity ease-out 0.5s;
}


/* Animazione caption carosello testimonianze */

.carousel-item.active .test-card {
    animation: animate-test-card 1s normal forwards;
}

@keyframes animate-test-card {
    0% {
        opacity: 0;
        transform: translate(5em, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.carousel-item.active .test-body {
    animation: animate-test-body 1s normal forwards;
    animation-delay: 0.5s;
}

@keyframes animate-test-body {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.dona-home {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
}

.dona-home:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: " ";
    background-color: rgba(0, 0, 0, 0.3);
}

.dona-home:after {
    position: absolute;
    content: " ";
    height: 300px;
    width: 300px;
    left: 5em;
    right: auto;
    top: auto;
    bottom: -3em;
    background-color: transparent;
    z-index: 0;
    /* background-image: url(./assets/images/tondo_tratt_02grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    /* transform: translateY(-30px); */
    animation: scrolldonaz 2s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -2s);
}

@keyframes scrolldonaz {
    to {
        transform: rotate(360deg);
    }
}

.loop-news:before {
    position: absolute;
    content: " ";
    height: 300px;
    width: 300px;
    left: 0;
    right: auto;
    /* top:auto;
    bottom: 0; */
    background-color: transparent;
    z-index: 0;
    background-image: url(./assets/images/tondo_tratt_03grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    transform: translateY(-40px);
    animation: scrollnews 3s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -3s);
}

@keyframes scrollnews {
    to {
        transform: translateY(340px);
    }
}

.cosa-facciamo:before {
    position: absolute;
    content: " ";
    height: 300px;
    width: 300px;
    left: auto;
    right: 0;
    /* top:auto;
    bottom: 0; */
    background-color: transparent;
    z-index: 0;
    /* background-image: url(./assets/images/tondo_tratt_05grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    transform: translateY(-90px);
    animation: scrollcf 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
}

@keyframes scrollcf {
    to {
        transform: translateY(240px);
    }
}

.donazione-header .donazione-header-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 8px;
    padding-left: 3rem;
}

.header {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    min-height: 40em;
}

.header.w-darken:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.header.header-fullheight {
    height: 100vh;
}

.header.cosa-header {
    height: calc(100vh - 66px);
}

.header.cosa-header .cosa-header-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 8px;
    padding-left: 3rem;
}

.header.cosa-header .cosa-header-body .cosa-header-handle {
    position: relative;
}

.header.cosa-header .cosa-header-body .cosa-header-handle img {
    margin-right: 1rem;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    width: 28px;
    border-color: #626262;
    border-style: solid;
    border-width: 0;
    border-width: 1px;
    padding: 5px;
    text-align: center;
    border-radius: 14px;
    font-size: 12px;
}

.header .header-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 8px;
    padding-left: 3rem;
}

.header.chi-siamo-header {
    height: 100vh;
}

.header.chi-siamo-header .chi-siamo-header-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 8px;
    padding-left: 3rem;
}

.header.chi-siamo-header .chi-siamo-header-body .chi-siamo-header-handle {
    position: relative;
}

.header.chi-siamo-header .chi-siamo-header-body .chi-siamo-header-handle img {
    margin-right: 1rem;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    width: 28px;
    border-color: #626262;
    border-style: solid;
    border-width: 0;
    border-width: 1px;
    padding: 5px;
    text-align: center;
    border-radius: 14px;
    font-size: 12px;
}

.chi-siamo-header-body:before {
    position: absolute;
    content: " ";
    height: 160px;
    width: 160px;
    left: auto;
    right: -10em;
    top: auto;
    bottom: -5em;
    background-color: transparent;
    z-index: 1;
    background-image: url(./assets/images/sole_red.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}

#organi-sociali{
    position: relative;
}

#organi-sociali .os-row:before{
    position: absolute;
    content: '';
    width: 200px;
    height: 200px;
    top: 25em;
    left: -10em;
    background-color: transparent;
    z-index: -1;
    background-image: url(./assets/images/tondo_tratt_02red.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}

#organi-sociali .os-row:after{
    position: absolute;
    content: '';
    width: 200px;
    height: 322px;
    bottom: 7em;
    right: 1em;
    background-color: transparent;
    z-index: -1;
    background-image: url(./assets/images/soffione_red.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}

.carica{
    border-left: 8px solid #B9202F;
}
.carica p{
    margin-bottom: 0 !important;
}
.carica.consiglieri{
    position: relative;
    overflow: hidden;
}
.carica.consiglieri img{
    position: absolute;
    bottom: -1em;
    right: -1em;
}
.revisore{
    border: 2px dotted #B9202F;
}

/* .cosa-header:before{
  position: absolute;
  content: " ";
  height: 100px;
  width: 131px;
  left: auto;
  right: 8.5em;
  top: 79vh;
  bottom: auto;
  background-color: transparent;
  z-index: 1;
  background-image: url(./assets/images/cuori2_grey.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
} */

.cosa-header-body:before{
    position: absolute;
    content: " ";
    height: 100px;
    width: 250px;
    left: auto;
    right: -12em;
    top: auto;
    bottom: -7em;
    background-color: transparent;
    z-index: 1;
    background-image: url(./assets/images/arcobaleno_red.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}

.header-social {
    transform: translateY(-50%);
    margin-bottom: -36px;
}

.cosa-header-submenu {
    background-color: white;
    position: sticky;
    top: 107px;
    display: flex;
    justify-content: space-around;
    border-color: #dddddd;
    border-style: solid;
    border-width: 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    padding-bottom: 1rem;
    padding-top: 1rem;
    /* margin-bottom: 5em; */
    z-index: 10;
}

.cosa-header-submenu a {
    font-size: 16px;
    letter-spacing: 1.6;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.cosa-header-submenu a:before {
    position: absolute;
    height: 8px;
    width: 8px;
    border-color: #dddddd;
    border-style: solid;
    border-width: 0;
    border-width: 1px;
    padding: 0px;
    border-radius: 4px;
    content: " ";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cosa-submenu-elem:hover {
    text-decoration: none;
    border-color: #B9202F;
}

.cosa-submenu-elem:hover:before {
    background-color: #B9202F;
    border-color: #B9202F;
}

.cosa-submenu-elem.active {
    color: #B9202F;
}

.cosa-submenu-elem.active:before {
    background-color: #B9202F;
    border-color: #B9202F;
}

.breadcrumbs {
    color: #626262;
    border-color: #dddddd;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.breadcrumbs a {
    color: #AAAAAA;
}

.breadcrumbs a:hover {
    color: #B9202F;
    text-decoration: none;
}

.strillo {
    border-color: #E0E0E0;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    padding-bottom: 0px;
}

.video-wrapper {
    position: relative;
}

.video-wrapper .video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    margin-bottom: 5rem;
    z-index: 2;
}

.video-wrapper .video-container iframe,
.video-wrapper .video-container object,
.video-wrapper .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper:before {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 70%;
    background-color: #dddddd;
}

.video-wrapper:after {
    content: " ";
    position: absolute;
    background-color: #B9202F;
    z-index: 3;
    width: 4px;
    left: 50%;
    bottom: -5%;
    top: 80%;
    right: auto;
    transform: rotate(0deg);
}

.blocco-video::before {
    position: absolute;
    content: " ";
    height: 350px;
    width: 350px;
    left: auto;
    right: 5em;
    background-color: transparent;
    z-index: 0;
    transform: translateY(-150px);
    background-image: url(./assets/images/tondo_tratt_02grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    animation: scrollnumdc 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
}

@keyframes scrollnumdc {
    to {
        transform: translateY(150px);
    }
}

.immagine-colonna{
    position: relative;
}

.immagine-colonna .immagine-colonna-img-container {
    position: relative;
}

.immagine-colonna .immagine-colonna-img-container:after {
    content: " ";
    position: absolute;
    background-color: #B9202F;
    z-index: 5;
    width: 20vw;
    height: 4px;
    left: auto;
    right: -15vw;
    bottom: auto;
    top: 4%;
}

.immagine-colonna .colonna-immagine-img-container {
    position: relative;
}

.immagine-colonna .colonna-immagine-img-container:after {
    content: " ";
    position: absolute;
    background-color: #B9202F;
    z-index: 5;
    width: 20vw;
    height: 4px;
    left: -15vw;
    right: auto;
    bottom: auto;
    top: 4%;
}

.hero {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}

.hero .hero-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 8px;
    padding-left: 3rem;
}

.hero .hero-body .hero-link {
    font-size: 16px;
}

.content-text-block {
    background-color: #ffffff;
    padding-right: 5em;
}

.img-smallest {
    height: 40px;
    width: auto;
    margin-top: -15px;
}

.bottom-search {
    margin-top: auto;
    min-height: 100px;
    align-content: center;
}

.img-content-slider {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.text-trunc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    /* margin-bottom: 4em; */
}

.text-trunc-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.text-trunc-8 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.testo-persone-trunc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    margin-bottom: 1em;
}


/* Download brochure page */

.download-brochure-container {
    background-color: #B9202F;
    /* min-height: 100vh; */
}

.download-brochure-container .container {
    min-height: 100vh;
}

.hearts-img {
    height: 90px;
    width: auto;
}

.download-brochure-container span.wpcf7-list-item {
    margin-right: 0;
}

.close-brochure-tab {
    position: fixed;
    top: 5em;
    right: 10em;
}


/* Infografiche */


/* Blocchi quadrati */

.info-quad-container {
    position: relative;
    margin-top: 6em;
    margin-bottom: 6em;
}

.den-num {
    opacity: 0.5;
}


/* Blocchi bolle*/

.info-bubble-container {
    position: relative;
    margin-top: 6em;
    margin-bottom: 6em;
}

.info-bubble-container .square {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.info-bubble-container .circle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-style: dotted;
    border-radius: 50%;
    padding: 0.6em;
}

.info-bubble-container .sub-circle {
    border-radius: 50%;
}


/* Blocchi torte */

.info-torte-container {
    position: relative;
    margin-top: 6em;
    margin-bottom: 6em;
}

.info-torte-container .square {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.info-torte-container .circle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* background-image: linear-gradient(to right, transparent 50%, #00000045 0); */
    color: transparent;
    text-align: center;
}

.info-torte-container .circle.torta-uno {
    background-image: linear-gradient(to right, transparent 50%, #72141B 0);
}

.info-torte-container .circle.torta-due {
    background-image: linear-gradient(to right, transparent 50%, #C4782C 0);
}

.info-torte-container .circle.torta-tre {
    background-image: linear-gradient(to right, transparent 50%, #707070 0);
}

.info-torte-container .circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    border-radius: 0 100% 100% 0 / 50%;
    background-color: inherit;
    transform-origin: left;
    /* animation: spin 50s linear infinite,
              bg 100s step-end infinite; */
    /* animation-play-state: paused;
  animation-delay: inherit; */
}

.info-torte-container .circle.torta-uno::before {
    animation: spin 50s linear infinite, bg1 100s step-end infinite;
    animation-play-state: paused;
    animation-delay: inherit;
}

.info-torte-container .circle.torta-due::before {
    animation: spin 50s linear infinite, bg2 100s step-end infinite;
    animation-play-state: paused;
    animation-delay: inherit;
}

.info-torte-container .circle.torta-tre::before {
    animation: spin 50s linear infinite, bg3 100s step-end infinite;
    animation-play-state: paused;
    animation-delay: inherit;
}

@keyframes spin {
    to {
        transform: rotate(.5turn);
    }
}

@keyframes bg1 {
    50% {
        background: #72141B;
    }
}

@keyframes bg2 {
    50% {
        background: #C4782C;
    }
}

@keyframes bg3 {
    50% {
        background: #707070;
    }
}

.info-torte-container .sub-circle {
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: white;
    border-radius: 50%;
    top: 15%;
    bottom: auto;
    left: 15%;
    right: auto;
}

.den-num-grey {
    color: #A0A0A0;
}

.info-torte-container .elem-tre {
    margin-top: -1em;
}


/* Media Query */

@media (max-width:500px) {
    .cosa-header-submenu a:before {
        display: none;
    }
    #quickaction-alt{
        right: 0.5rem !important;
        left: 0.5rem !important;
    }
    #quickaction-alt.quick-button{
        min-width: 15em !important;
    }
}

@media (max-width:768px) {
    .img-smallest {
        margin-top: 0px !important;
    }
    .copy .text-right, .copy .text-center{
        text-align: left !important;
    }
    .immagine-colonna .immagine-colonna-img-container:after {
        width: 70vw;
        height: 3px;
        left: auto;
        right: -2.5vw;
        bottom: 15%;
        top: auto;
    }
}

.carousel-item .icon {
    max-width: 60px;
}

@media (max-width: 600px) {
    .navbar-action-search {
        display: none !important;
    }
    .navbar-wrapper nav.navbar .navbar-brand .logo {
        max-height: 70px;
    }
    .navbar-wrapper nav.navbar .navbar-collapse .navbar-nav li.nav-item {
        width: 97%;
        line-height: 60px;
    }
    #main-navigation .nav-item a {
        color: #B9202F !important;
    }
    .navbar-brand {
        margin-right: 0.2em !important;
    }
    .navbar-wrapper nav.navbar .navbar-actions .navbar-action-button {
        margin-right: 0.5rem;
    }
    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4,
    h5,
    .h5,
    h6,
    .h6 {
        font-family: "Fjalla One", sans-serif;
    }
    h1,
    .h1 {
        font-size: 3em;
    }
    h2,
    .h2 {
        font-size: 2.5em;
    }
    h3,
    .h3 {
        font-size: 2em;
    }
    h4,
    .h4 {
        font-size: 1.2em;
    }
    h5,
    .h5 {
        font-size: 20px;
    }
    .carousel#home-carousel .carousel-inner .carousel-caption .carousel-caption-body {
        border-left-width: 10px;
        padding-left: 1rem;
        padding-bottom: 15px;
        border-left-width: 7px;
        margin-left: 0.5em;
    }
    .carousel#home-carousel .carousel-indicators {
        bottom: 5em;
        left: 4em;
        right: auto;
        top: auto;
        flex-direction: row;
    }
    .carousel-caption-body .btn-secondary {
        margin-top: 10px;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .carousel-item .icon {
        max-width: 50px;
    }
    .btn.btn-expanded {
        padding-left: 1.3rem;
        padding-right: 1.3rem;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 40px;
        font-size: 12px;
    }
    .carousel#home-testimonianze-carousel .carousel-arrows:before {
        width: 90vw;
        height: 1px;
        left: -70vw;
        right: 0;
        background-color: #dddddd;
    }
    .header.cosa-header {
        padding-top: 6em;
        padding-bottom: 12em;
        height: auto;
        /* background: none !important; */
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right bottom;
    }
    .header.cosa-header .cosa-header-body {
        border-left-width: 7px;
        padding-left: 1rem !important;
    }
    .header.cosa-header h1,
    .h1 {
        font-size: 2em !important;
    }
    .header.cosa-header h2,
    .h2 {
        font-size: 1.7em !important;
    }
    .header.chi-siamo-header {
        padding-top: 4em;
        padding-bottom: 25em;
        height: auto;
    }
    .header.chi-siamo-header .chi-siamo-header-body {
        border-left-width: 7px;
    }
    .header.chi-siamo-header h1,
    .h1 {
        font-size: 2em !important;
    }
    .header.chi-siamo-header h2,
    .h2 {
        font-size: 1.7em !important;
    }
    .card-test h3,
    .h3 {
        font-size: 1.3em !important;
    }
    .home-content-slider {
        max-height: 100vh !important;
        height: 37em !important;
    }
    .home-content-slider a {
        font-size: 14px !important;
    }
    .home-content-slider #content-slider-row {
        background-repeat:no-repeat;
        background-size: 70%;
        background-position: right bottom;
        padding-bottom: 5em;
    }

    .cosa-facciamo-head {
        margin-top: 1.5em;
        margin-bottom: 0.8em !important;
    }
    .social-cont-text {
        font-size: 14px;
    }
    .immagine-colonna .immagine-colonna-img-container:after {
        width: 70vw;
        height: 3px;
        left: auto;
        right: -2.5vw !important;
        bottom: 15%;
        top: auto;
    }
    .immagine-colonna .colonna-immagine-img-container:after {
        width: 70vw;
        height: 3px;
        left: -2.5vw;
        right: auto;
        bottom: 15%;
        top: auto;
    }
    .banner-con-immagine {
        /* min-height: 60vh; */
        height: 75vh !important;
        background-size: cover;
        background-position: 35% top;
        background-repeat: no-repeat;
    }
    .carousel.carousel-generic:before {
        content: " ";
        position: absolute;
        width: 100vw;
        height: 40vh;
        left: -2.5vh;
        right: 0;
        bottom: -2%;
        top: auto;
        background-color: #dddddd;
    }
    #page-carousel:after {
        content: " ";
        position: absolute;
        background-color: #B9202F;
        z-index: 5;
        width: 60vw;
        height: 3px;
        left: 0;
        right: auto;
        top: auto;
        bottom: 55%;
        transform: rotate(0deg);
    }
    .carousel-text-mob {
        margin-top: 1em;
        width: 70%;
        font-size: 12px;
        border-color: #B9202F;
        border-style: solid;
        border-width: 0;
        border-left-width: 2px;
        padding: 5px;
        bottom: 0;
    }
    .carousel-item.active .carousel-text-mob {
        animation: animate-carousel-text-mob 1s normal forwards;
        /* animation-delay: 1s; */
    }
    .carousel.carousel-empty .carousel-inner .carousel-item {
        height: 55vh;
    }
    .img-carousel {
        height: 70%;
        width: auto;
        overflow: hidden;
    }
    .search-interface #result_search,
    .search-interface #suggested_search {
        max-height: 50vh;
    }
    .search-interface .close-search-interface {
        top: 1.5rem;
        right: 1.5rem;
    }
    .val-guida:before {
        /* display: none !important; */
        position: absolute !important;
        content: " ";
        height: 82% !important;
        width: 1px !important;
        top: 14.5em !important;
        bottom: auto;
        left: 2.8em !important;
        right: auto;
        background-color: #E0E0E0;
        z-index: 0;
    }
    /* .people-cols {
        height: auto !important;
    } */
    .people-image {
        height: 150px !important;
        width: 150px !important;
    }
    .people-mobile-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 1em !important;
    }
    .cf-people-image {
        height: 70px !important;
        width: 70px !important;
    }
    .testo-persone {
        border-style: solid;
        border-width: 0 !important;
        border-top-width: 3px !important;
        padding-left: 0px !important;
        padding-top: 1em;
        max-height: 50rem !important;
    }
    .testo-persone p {
        font-family: "Fjalla One", sans-serif;
        font-size: 1.3em !important;
        color: #626262;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 21;
        -webkit-box-orient: vertical;
        margin-bottom: 1em;
    }
    .testo-persone p .rosso {
        font-family: "Fjalla One", sans-serif;
        font-size: 1em;
        color: #B9202F;
    }
    .testo-persone a {
        font-family: "Fjalla One", sans-serif;
        font-size: 1em;
        color: #B9202F;
    }
    #timeline-carousel.owl-carousel:before {
        width: 70% !important;
    }
    .carousel#carousel-infografiche .carousel-arrows:before {
        position: relative;
        content: " ";
        height: 1px;
        left: 0;
        right: 2em;
        top: auto;
        bottom: 0;
    }
    .carousel#carousel-infografiche .carousel-arrows-wrapper {
        margin-top: 0px !important;
        margin-right: 0px !important;
    }
    .change-section {
        height: auto !important;
        padding-bottom: 10em;
    }
    .payment-methods-text {
        font-size: 10px !important;
    }
    .payment-methods-text img {
        height: 20px !important;
    }
    .content-slider-title {
        margin-top: 1.4em !important;
    }
    .content-text-block {
        padding-right: 0px !important;
    }
    .testimonianze::before {
        z-index: -1 !important;
    }
    .banner-rosso:before {
        display: none !important;
    }
    .carousel#home-carousel .carousel-stripe:after {
        display: none !important;
    }
    .carousel#home-carousel .carousel-stripe:before {
        left: auto;
        right: 1em !important;
        bottom: 5em !important;
    }
    .banner-con-immagine:before {
        display: none !important;
    }
    .dona-home:after {
        left: 0 !important;
        z-index: -1 !important;
    }
    .cosa-facciamo::before {
        z-index: -1 !important;
    }
    .chi-siamo-header-body:before {
        opacity: 0.3;
        right: 0 !important;
        z-index: -1 !important;
    }
    .cosa-header:before {
        opacity: 0.3;
        z-index: -1 !important;
    }
    .cosa-header-body:before {
        display: none !important;
    }
    .numeri-centro-deco::before {
        opacity: 0.3;
        right: 0 !important;
        left: auto !important;
    }
    .change-section::after {
        display: none !important;
    }
    .persone-deco:before {
        opacity: 0.3;
    }
    .valori-guida:before {
        display: none !important;
    }
    .content-slider-text {
        margin-top: 1em !important;
    }
    .cont-slider-subt {
        margin-top: 0em !important;
    }
    .download-brochure-container {
        height: auto !important;
    }
    .download-brochure-container .container {
        background-color: #B9202F;
        height: auto !important;
        padding-top: 3em;
        padding-bottom: 3em;
    }
    .close-brochure-tab {
        top: 2em;
        right: 3em;
    }
    .brochure-cf {
        padding: 0.5em !important;
        padding-top: 2em !important;
    }
    .info-torte-container .elem-tre {
        margin-top: 0;
    }

    .breadcrumbs a, .breadcrumbs .ls-1-6{
        margin-left: 0.1em;
        font-size: 80%;
    }

    #main-navigation .nav-item ul.sub-menu .nav-item {
        padding-right: 0 !important;
        min-width: 19em;
        font-size: 90%
    }
    .navbar-collapse{
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 1em;
        min-height: 60vh;
    }
    .copy .footer-social{
        margin-bottom: 2em;
    }

    .card.card-news-item .card-body h4{
        font-size: 1.4em !important;
    }

    .ultimo-bilancio:before{
        width: 100% !important;
        right: 0 !important;
        left: auto !important;
    }

}

@media (min-width: 601px) {
    .hide-on-desktop {
        display: none !important;
    }
    .home-content-slider .row {
        background: none !important;
    }
    .home-content-slider {
        height: 40em;
    }
    .cosa-header .container {
        background: none !important;
    }
}


/* Colore elementi correnti menu */

li.current_page_item>a {
    color: #B9202F !important;
}

li.current-menu-ancestor>a {
    color: #B9202F !important;
}


/* Colore hover elementi menu */

#main-navigation .nav-item a:hover {
    /* color: #B9202F !important; */
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-decoration: none !important;
}


/* Il testo del link diventa rosso all'hover di tutto il blocco menu-item corrente */

#main-navigation .menu-item:hover>a {
    color: #B9202F !important;
}


/* Cambio colore e rotazione della freccetta accanto all'elemento primario del menu su hover */

li.nav-item.menu-item-has-children:hover:after {
    /* basterà poi solo modificare l'icona di hover con la freccia su rossa */
    color: #B9202F !important;
    transform: rotate(180deg) translateY(-8px) !important;
}


/* Riga verticalmente metà grigia metà bianca */

.grey-white-bg {
    background: linear-gradient(to bottom, #F2F2F2 50%, white 50%);
}


/* Hamburger Menu*/

.hamburger-menu {
    background-color: transparent;
    border: none !important;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.menu button,
button:focus {
    background-color: transparent;
    border: none !important;
    outline: none;
}

.line {
    fill: none;
    stroke: #626262;
    stroke-width: 5;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.white-stroke .line {
    stroke: white !important;
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 5;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 5;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 5;
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 5;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 5;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 5;
}

/* .home-content-slider {
    max-height: 80vh;
} */

.home-content .icon {
    max-height: 100px;
}

.content-slider-text {
    margin-bottom: 1.5em;
    height: 6.9em;
    overflow: hidden;
}

.content-slider-text p {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.content-slider-title {
    position: absolute;
    margin-top: 1.7em;
}

.mobile-test-image {
    width: 70vh;
    height: auto;
    margin-bottom: -50px;
    /* float: right; */
    overflow: visible;
    left: 0;
    right: 0;
    margin-bottom: -50px !important;
}

#home-news-carousel .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: auto;
    bottom: 2em;
    background-color: #dddddd;
    z-index: -1;
}

.mobile-search {
    margin-top: 10px;
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    padding: 15px 10px;
}

.mobile-menu-footer {
    margin-bottom: 0;
}

.load-more-item{
    max-height: 32em;
}
.archive-card-body {
    padding-top: 1.25rem;
    height: 16em;
}
.archive-card-excerpt{
    height: 72px;
}
.archive-img {
    height: 200px;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
}



.product-img {
    height: 300px;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
}
.product-link:hover{
    text-decoration: none;
}

.alm-reveal .row {
    border-bottom: 1px solid red;
    margin-bottom: 1em;
}

.archive-border-grey {
    border-color: #dddddd;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    margin-bottom: 2em;
}

.testo-test {
    height: 4.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-test {
    height: 30em;
}

.testimonianze::before {
    position: absolute;
    content: " ";
    height: 250px;
    width: 250px;
    left: auto;
    right: 0;
    background-color: transparent;
    z-index: 1;
    /* background-image: url(./assets/images/tondo_tratt_01grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    transform: translateY(-80px);
    animation: scrolltest 1s linear infinite;
    animation-play-state: paused;
    animation-fill-mode: both;
    animation-delay: calc(var(--scroll) * -1s);
}

@keyframes scrolltest {
    to {
        transform: translateY(250px);
    }
}

.payments {
    overflow: hidden;
}

.no-before:before {
    display: none;
}

.carousel .no-before .carousel-arrows-wrapper {
    margin-top: -4.5em;
}

.carousel .no-before .carousel-arrows-wrapper a {
    color: #B9202F;
    margin-left: 1rem;
    border: 1px solid #B9202F;
    height: 30px;
    width: 30px;
    border-radius: 40px;
    text-align: center;
    line-height: 30px;
    opacity: .7;
    transition: opacity 0.375s cubic-bezier(0.4, 0, 0.2, 1);
}

a.grey:hover {
    color: #626262;
    text-decoration: none;
}

#def_header_trasparente {
    display: none;
}

.force-show {
    display: block !important;
}

.val-guida:before {
    position: relative;
    content: " ";
    height: 1px;
    width: 97%;
    top: 2em;
    bottom: auto;
    left: 2em;
    right: auto;
    background-color: #E0E0E0;
    z-index: 0;
}

.guida-card {
    min-width: 220px;
}

.valori-guida {
    position: relative;
    margin-top: 5em;
}

.valori-guida:before {
    position: absolute;
    content: " ";
    height: 250px;
    width: 250px;
    left: auto;
    right: 0;
    /* top: 10em;
  bottom: auto; */
    background-color: transparent;
    z-index: 1;
    /* background-image: url(./assets/images/sole_grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    transform: translateY(-200px);
    animation: scrollvalgui 3s linear infinite;
    animation-play-state: paused;
    /* animation-iteration-count: 1; */
    /* animation-fill-mode: both; */
    animation-delay: calc(var(--scroll) * -3s);
}

@keyframes scrollvalgui {
    to {
        transform: translateY(80px);
        ;
    }
}

#timeline-carousel .card-body {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 1px;
    margin-left: 2.3em;
    height: 24.3em;
    overflow: hidden;
}

.tl-year {
    margin-top: -0.5em;
    z-index: 5;
}

.owl-carousel .nav-button {
    height: 50px;
    width: 25px;
    cursor: pointer;
    position: absolute;
    bottom: 7.1em;
    top: auto;
    right: 0;
    left: auto;
    z-index: 10 !important;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.owl-carousel .owl-prev {
    right: 3.5rem;
}

.owl-carousel .owl-prev:hover {
    opacity: 1 !important;
}

.owl-carousel .owl-next {
    right: 0;
}

.owl-carousel .owl-next:hover {
    opacity: 1 !important;
}

.owl-theme .owl-nav [class*=owl-] {
    color: #B9202F;
    margin-left: 1rem;
    background-color: white;
    border: 1px solid #B9202F;
    height: 40px;
    width: 40px;
    border-radius: 39px;
    text-align: center;
    line-height: 40px;
    opacity: 0.8;
    z-index: 10 !important;
}

#timeline-carousel.owl-carousel:before {
    display: inline-block;
    content: "";
    background-color: #E0E0E0;
    width: 92%;
    height: 1px;
    transform: translateY(25rem);
    z-index: -1;
}

.tl-icon {
    /* margin:auto; */
    max-height: 150px !important;
    width: auto !important;
}

.tl-body {
    padding-left: 3em;
}

.tc-block {
    background-color: white;
    border: none;
    border-radius: 0;
    position: relative;
    padding-bottom: 50px;
    transition: padding 0.375s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.1);
}

.firma {
    background-color: white;
}

.firma::before {
    display: inline-block;
    content: "";
    background-color: #E0E0E0;
    width: 100%;
    height: 1px;
    transform: translateY(1.3rem);
    z-index: -1;
}

.carousel#number-carousel .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: auto;
    bottom: 2em;
    background-color: #dddddd;
    z-index: -1;
}

.carousel#center-number-carousel .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: auto;
    bottom: 2em;
    background-color: white;
    z-index: 0;
}
#center-number-carousel hr {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: auto;
    bottom: 2em;
    background-color: white;
    z-index: 0;
}

.carousel#center-number-carousel-noicon .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: auto;
    bottom: 2em;
    background-color: white;
    z-index: 0;
  }
  #center-number-carousel-noicon hr {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 0;
    top: auto;
    bottom: 2em;
    background-color: white;
    z-index: 0;
  }

.carousel#carousel-infografiche .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 0;
    right: 2em;
    top: auto;
    bottom: 2.6em;
    background-color: #dddddd;
    z-index: -1;
}

.carousel#carousel-infografiche .carousel-arrows-wrapper {
    margin-top: -5em;
    margin-right: 2em;
}

.carousel#center-number-carousel .carousel-arrows .carousel-arrows-wrapper a {
    color: white;
    border: 1px solid white;
}

.carousel#center-number-carousel-noicon .carousel-arrows .carousel-arrows-wrapper a {
    color: white;
    border: 1px solid white;
}

.carousel#people-carousel .carousel-arrows:before {
    position: absolute;
    content: " ";
    height: 1px;
    left: 4em;
    right: 4em;
    top: auto;
    bottom: 2em;
    background-color: #E0E0E0;
    z-index: 0;
}

.carousel#people-carousel .carousel-arrows {
    position: absolute;
    top: auto;
    bottom: 0;
}

.people-image {
    height: 200px;
    width: 200px;
    padding: 15px;
    border: 1px solid #B9202F;
}

.cf-people-image {
    height: 90px;
    width: 90px;
    padding: 5px;
    border: 1px solid #B9202F;
}

.people-cols {
    height: auto;
}

.testo-persone {
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-left-width: 5px;
    padding-left: 2.5rem;
    max-height: 20rem;
}

.testo-persone p {
    font-family: "Fjalla One", sans-serif;
    font-size: 1.8em;
    line-height: 1.5em;
    color: #626262;
    margin-bottom: 0;
}
.testo-persone p em{
    font-family: "Fjalla One", sans-serif;
    font-size: 1em;
    color: #626262;
}

.testo-persone p .rosso {
    font-family: "Fjalla One", sans-serif;
    font-size: 1em;
    color: #B9202F;
}

.testo-persone a {
    font-family: "Fjalla One", sans-serif;
    font-size: 1em;
    color: #B9202F;
}

.persone-deco:before {
    position: absolute;
    content: " ";
    height: 150px;
    width: 150px;
    left: auto;
    right: 0;
    background-color: transparent;
    z-index: 0;
    /* background-image: url(./assets/images/cuori2_grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    transform: translateX(0);
    animation: scrollbpe 3s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -2s);
}

@keyframes scrollbpe {
    to {
        transform: translateX(-200px);
    }
}

.cen-num-img {
    max-width: 150px;
}

.cont-infog {
    border: none;
    border-radius: 0;
    position: relative;
    background-color: white;
    padding-bottom: 50px;
    transition: padding 0.375s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.1);
}

.cont-infog::before {
    position: absolute;
    content: " ";
    height: 350px;
    width: 350px;
    left: -100px;
    right: auto;
    background-color: transparent;
    z-index: -999;
    /* background-image: url(./assets/images/tondo_tratt_01grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transform: translateY(-90px);
    animation: scrollinfograf 3s linear infinite;
    animation-play-state: paused;
    /* animation-iteration-count: 1; */
    /* animation-fill-mode: both; */
    animation-delay: calc(var(--scroll) * -3s);
}

@keyframes scrollinfograf {
    to {
        transform: translateY(300px);
    }
}

.change-section {
    height: 80vh;
}

.nuovo-prodotto:after {
    content: "NOVITÀ";
    font-size: 12px;
    letter-spacing: 1.6px;
    position: absolute;
    z-index: 1;
    left: 20px;
    top: 20px;
    background-color: #B9202F;
    color: #ffffff;
    height: 65px;
    width: 65px;
    border-radius: 40px;
    text-align: center;
    line-height: 65px;
}

.partner-logo {
    display: none;
    background-color: white;
}

.partner-logo img {
    height: 140px;
    width: auto;
}

.partner-sx a:hover {
    text-decoration: none;
}

.partner-dx a:hover {
    text-decoration: none;
}

.partner-sx a:hover+.partner-logo {
    display: block;
    position: absolute;
    left: 19vw;
    top: -3em;
    box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.1);
}

.partner-dx a:hover+.partner-logo {
    display: block;
    position: absolute;
    left: 19vw;
    top: -3em;
    box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.1);
}


/* CONTACT FORM */

.wpcf7-textarea {
    padding: 10px;
    background-color: transparent;
    width: 100%;
}

.wpcf7-form select {
    padding: 10px;
    background-color: transparent;
    width: 100%;
}

.wpcf7 input {
    padding: 10px;
    background-color: transparent;
    border: 1px solid #626262;
    width: 100%;
}

.wpcf7 input:focus {
    outline: -webkit-focus-ring-color auto 1px;
}

.wpcf7-submit {
    width: 10em !important;
    line-height: 30px !important;
}

input[type="checkbox"] {
    position: relative;
    cursor: pointer;
    padding: 0;
    margin-right: 1em;
    width: 20px;
}

.wpcf7-checkbox.nascondi-label .wpcf7-list-item-label{
    display: none;
    opacity: 0;
}
input[type="checkbox"]:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    margin-top: -2px;
    width: 20px;
    height: 20px;
    background: #fcfcfc;
    border: 1px solid #aaa;
    border-radius: 2px;
}

input[type="checkbox"]:checked:before {
    background: #626262;
    border-color: #626262;
}

input[type="checkbox"]:disabled {
    color: #b8b8b8;
    cursor: auto;
}

input[type="checkbox"]:disabled:before {
    box-shadow: none;
    background: #ddd;
}

input[type="checkbox"]:checked:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}

input[type="radio"] {
    position: relative;
    cursor: pointer;
    padding: 0;
    margin-right: 1em;
    width: 20px;
}

input[type="radio"]:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    margin-top: -2px;
    width: 20px;
    height: 20px;
    background: #fcfcfc;
    border: 1px solid #aaa;
    border-radius: 20px;
}

input[type="radio"]:checked:before {
    background: #626262;
    border-color: #626262;
}

input[type="radio"]:disabled {
    color: #b8b8b8;
    cursor: auto;
}

input[type="radio"]:disabled:before {
    box-shadow: none;
    background: #ddd;
}

input[type="radio"]:checked:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}

span.wpcf7-list-item {
    margin: 0px;
    margin-right: 1em;
}
#privacy-accept span.wpcf7-list-item{
    margin-right: 0 !important;
}

.cont-people-text {
    font-size: 14px;
    letter-spacing: 1px;
}


/* Carousel Fade */

.carousel-fade .carousel-item {
    opacity: 0;
    -webkit-transition: opacity 1.5s ease-in-out;
    -moz-transition: opacity 1.5s ease-in-out;
    -ms-transition: opacity 1.5s ease-in-out;
    -o-transition: opacity 1.5s ease-in-out;
    transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0 !important;
    -webkit-transition: opacity 0.75s ease-in-out !important;
    -moz-transition: opacity 0.75s ease-in-out !important;
    -ms-transition: opacity 0.75s ease-in-out !important;
    -o-transition: opacity 0.75s ease-in-out !important;
    transition: opacity 0.75s ease-in-out !important;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

.lock-scroll {
    overflow: hidden;
    height: 100%;
}


/* Vertical slide Carousel */

.vertical .carousel-item-next.carousel-item-left,
.vertical .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.vertical .carousel-item-next,
.vertical .active.carousel-item-right {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100% 0);
}

.vertical .carousel-item-prev,
.vertical .active.carousel-item-left {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}


/* Letter spacing 1.6 */

.ls-1-6 {
    letter-spacing: 1.6px;
}

.don-price {
    font-family: "Fjalla One", sans-serif;
    font-size: 1.3em;
}

.don-price::after {
    color: white;
    font-size: 0.65em;
    font-family: "Fjalla One", sans-serif;
    padding-bottom: 5px;
    content: " €";
    margin: auto;
    vertical-align: middle;
}

.news-body {
    height: 12em;
}

.cf-textblock {
    height: 6.5em;
}

.cft-textblock {
    height: 6em;
}

.pi-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.layer {
    background-color: #F2F2F2;
    transition: background-color 0.3s ease-in-out;
}

.pi-background:hover .layer {
    background-color: rgba(0, 0, 0, 0.5);
}

.pi-background:hover a {
    color: white;
    text-decoration: none;
}

.cf-container {
    min-height: 95vh;
    vertical-align: middle;
}

.social-icon {
    height: 16px;
}

.social-link:hover {
    text-decoration: none;
}

.payment-methods-text {
    font-size: 12px;
    letter-spacing: 0.8px;
}

.payment-methods-text img {
    height: 30px;
    width: auto;
}

.arrow-icon {
    height: 14px;
    width: auto;
}

.navbar-action-search {
    display: inline-block;
    height: 42px;
}

.search-icon-grey {
    content: ' ';
    display: inline-block;
    background-image: url(./assets/images/icons/icon-search-grey.svg);
    width: 21px;
    height: 100%;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search-icon-grey:hover {
    background-image: url(./assets/images/icons/icon-search-red.svg);
}

.search-icon-white {
    content: ' ';
    display: inline-block;
    background-image: url(./assets/images/icons/icon-search-white.svg);
    width: 21px;
    height: 100%;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search-icon-white:hover {
    background-image: url(./assets/images/icons/icon-search-red.svg);
}

.wpcf7 input[type="submit"] {
    width: 13em !important;
}

#red-banner{
 min-height: 13em;
}
.banner-rosso:before {
    position: absolute;
    content: " ";
    height: 85px;
    width: 100%;
    left: auto;
    right: 2px;
    background-color: transparent;
    z-index: 0;
    background-image: url(./assets/images/freccia_grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    animation: scrollredban 5s ease-in-out infinite;
}

@keyframes scrollredban {
    0% {
        transform: translateY(60px);
    }
    50% {
        transform: translateY(45px);
    }
    100% {
        transform: translateY(60px);
        ;
    }
}

.numeri-centro-deco::before {
    position: absolute;
    content: " ";
    height: 120px;
    width: 120px;
    left: 1em;
    right: auto;
    background-color: transparent;
    z-index: 0;
    /* background-image: url(./assets/images/cuori1_grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transform: translateY(20px);
    animation: scrollnumdc 3s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -3s);
}

@keyframes scrollnumdc {
    to {
        transform: translateY(340px);
    }
}

.change-section::after {
    position: absolute;
    content: " ";
    height: 350px;
    width: 350px;
    left: auto;
    right: 0;
    background-color: transparent;
    z-index: 0;
    transform: translateY(35vh);
    background-image: url(./assets/images/tondo_tratt_05grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    animation: scrollchsec 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
}

@keyframes scrollchsec {
    to {
        transform: translateY(40vh);
    }
}

.contatti-deco:before {
    position: absolute;
    content: " ";
    height: 150px;
    width: 150px;
    left: auto;
    right: 0;
    background-color: transparent;
    z-index: 0;
    /* background-image: url(./assets/images/cuori2_grey.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    transform: translateX(0);
    animation: scrollbpe 3s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -2s);
}

.donazione-stripe {
    font-size: 16px;
    letter-spacing: 1.6px;
    font-weight: 100;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}

.donazione-stripe:before {
    position: absolute;
    content: " ";
    height: 100px;
    width: 131px;
    left: 0;
    right: auto;
    top: auto;
    bottom: 100px;
    background-color: transparent;
    z-index: 1;
    background-image: url(./assets/images/cuori2_grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}

.ultime-notizie::before {
    position: absolute;
    content: " ";
    height: 350px;
    width: 350px;
    left: auto;
    right: 0;
    background-color: transparent;
    z-index: 0;
    transform: translateY(10vh);
    background-image: url(./assets/images/tondo_tratt_02grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    animation: scrollultnew 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
}

@keyframes scrollultnew {
    to {
        transform: translateY(90vh);
    }
}

.related-news::before {
    position: absolute;
    content: " ";
    height: 350px;
    width: 350px;
    left: 0;
    right: auto;
    background-color: transparent;
    z-index: 0;
    transform: translateY(0);
    background-image: url(./assets/images/tondo_tratt_02grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    animation: scrollrelnew 3s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -3s);
}

@keyframes scrollrelnew {
    to {
        transform: translateY(200px);
    }
}

.due-col-deco::before {
    position: absolute;
    content: " ";
    height: 350px;
    width: 350px;
    left: 0;
    right: auto;
    background-color: transparent;
    z-index: -1;
    transform: translateY(0);
    background-image: url(./assets/images/tondo_tratt_02grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    animation: scrollduecol 3s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -3s);
}

@keyframes scrollduecol {
    to {
        transform: translateY(200px);
    }
}

.ultimo-bilancio:before {
    position: absolute;
    content: " ";
    height: 150px;
    width: 393px;
    left: 2em;
    right: auto;
    background-color: transparent;
    z-index: -1;
    transform: translateY(25vh);
    background-image: url(./assets/images/arcobaleno_grey.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    animation: scrollultbil 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
}

@keyframes scrollultbil {
    to {
        transform: translateY(55vh);
    }
}

.map {
    width: 100%;
    height: 100%;
    min-height: 30em;
    border: none !important;
}

#quickaction {
    background-color: #B9202F;
    color: white;
    display: block;
    position: fixed;
    right: 5rem;
    bottom: 2rem;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 20%);
    z-index: 200;
}
#quickaction.quick-button{
    border-radius: 50px;
    padding: 0.2em 2em;
}
#quickaction.quick-button:hover{
    background-color: white;
    color: #B9202F;
}

#quickaction-alt {
    background-color: #F2F2F2;
    /* background-position: right center;
    background-size: contain;
    background-repeat: no-repeat; */
    /* display: block; */
    position: fixed;
    right: 5rem;
    left: auto;
    bottom: 2rem;
    box-shadow: 0px 2px 8px 2px rgb(0 0 0 / 20%);
    z-index: 200;
    transition: all .3s;
}
#quickaction-alt.quick-button{
    border-radius: 20px;
    padding: 1em;
    min-width: 20em;
    min-height: 10em;
    display: flex;
}
#quickaction-alt .btn-image {
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
}
#quickaction-alt:hover{
    transform: scale(1.01);
    /* background-color: white; */
    box-shadow: 0px 2px 8px 2px rgb(0 0 0 / 18%);
}
#quickaction-alt.quick-button p{
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
}
#quickaction-alt.quick-button p span{
    font-size: 14px;
}


#tab-ri-e-in a:hover{
    text-decoration: none;
}

#tab-ri-e-in a{
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 2px;
    padding-bottom: 0px;
}
#tab-ri-e-in a.collapsed{
    color: #626262;
    border-bottom-width: 1px;
    border-color: #626262;
}
#tab-ri-e-in a[aria-expanded=true]{
	color: #B9202F;
    pointer-events: none !important;
}
#tab-ri-e-in .btn{
    padding: 0 !important;
}
.grey-block-icon{
    margin-right: 0.2rem;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    width: 20px;
    border-color: #B9202F;
    border-style: solid;
    border-width: 0;
    border-width: 1px;
    padding: 5px;
    text-align: center;
    border-radius: 14px;
    font-size: 12px;
    filter: invert(12%) sepia(94%) saturate(3566%) hue-rotate(345deg) brightness(102%) contrast(88%);
}
.hero-block-icon{
    margin-right: 0.5rem;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    width: 24px;
    border-color: #626262;
    border-style: solid;
    border-width: 0;
    border-width: 1px;
    padding: 5px;
    text-align: center;
    border-radius: 14px;
    font-size: 12px;
    transform: scaleY(-1); 
    -webkit-transform: scaleY(-1); 
    -moz-transform: scaleY(-1); 
    -ms-transform: scaleY(-1); 
    -o-transform: scaleY(-1); 
}

/* MOBILE NAVIGATION MENU */
#mobile-navigation{
    position: relative;
    height: 60vh;
    overflow: auto;
    padding-top: 1em;
    padding-bottom: 1em;
    transition: all 0.5s linear;
}
#mobile-navigation .submenu{
    opacity: 1;
    height: auto;
    /* transition: all 0.5s linear; */
}
#mobile-navigation .submenu.hide{
    opacity: 0;
    height: 0;
}
#mobile-navigation .mob-nav-item a {
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-decoration: none !important;
}
#mobile-navigation li.mob-nav-item{
    line-height: 60px;
}
#mobile-navigation .mob-nav-item ul.sub-menu .mob-nav-item {
    line-height: 40px;
}
#mobile-navigation li.mob-nav-item.menu-item-has-children {
    position: relative;
}
#mobile-navigation li.mob-nav-item.menu-item-has-children:after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    content: "\f078";
    color: #626262;
    right: 1em;
    top: -9px;
    transform: translateY(8px);
}
#mobile-navigation .sub-menu{
    list-style: none;
}
#mobile-navigation ul.sub-menu li.mob-nav-item.menu-item-has-children:after { 
    content: "";
}
#mobile-navigation ul.sub-menu li.mob-nav-item.menu-item-has-children >a{
    color: #626262;
    /* color: green; */
    text-decoration: none !important;
    padding-top: 1em;
    padding-bottom: 1em;
}
#mobile-navigation ul.sub-menu li.mob-nav-item.menu-item-has-children:before { 
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    /* content: "\f192"; */
    content: "-";
    color: #626262;
    top: -1px;
    left: -10px;
}
/* #mobile-navigation .first-level-item:hover>.sub-menu{
    display: block !important;
} */
#mobile-navigation li.mob-nav-item.menu-item-has-children.current:after{
    transform: rotate(180deg);
    transition: all 0.2s linear;
}
/* #mobile-navigation .second-level-item:hover>.sub-menu{
    display: block !important;
    opacity: 1;
    height: auto;
    transition: all 0.3s linear;
} */
/* END MOBILE NAVIGATION MENU */

.immagine-centrale{
    width: auto;
    height: auto;
    max-width: 100%;
}

/* Move reCAPTCHA v3 badge up */ 
.grecaptcha-badge {
    bottom: 5.2em !important;
}

.mouse-icon{
    max-height: 1.5em;
}
.circle-icon{
    max-height: 1.9em;
}
.arrow-icon-red,
.arrow-icon-white{
    max-height: 1em;
}