/* Heading */
.text-content .h3 {
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
}
@media (max-width: 991px) {
    .text-content .h3 {
        font-size: 18px;
        line-height: 28px;
    }
}

/*.textonly-heading .banner.ke {
    height: 220px;
}*/

/* Hero photo */
.internal-heading-photo .caption {
    max-width: 55%;
}
.internal-heading-photo .caption .breadcrumb {
    text-shadow: 2px 2px 5px #4A4D50;
}

.internal-heading-photo.hero-soluzione .caption {
    max-width: 80%;
}

.internal-heading-photo .caption .breadcrumb {
    margin-bottom: 80px;
}

.internal-heading-photo.hero-soluzione .caption .breadcrumb {
    margin-bottom: 0px;
}

.hero-soluzione .solution-title-centered {
    flex: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
/* Button */
.contact-banner-dark .btn-large {
    padding: 14px 50px;
}

/* Internal Navigation*/
.internal-navigation.sticky-top {
    top: 96px;
    z-index: 2;
    padding:0px;
}
.internal-menu .nav-item.current::after {
    bottom: 5px;
}
.internal-navigation ul.internal-menu{
    margin-bottom: 10px;
}

.internal-navigation .internal-menu .nav-link {
    font-size: 16px;
    padding: 10px 12px;
}

.internal-navigation .internal-menu .btn {
    line-height: 15px;
    font-size: 14px;
    margin-top:5px;
    margin-bottom: -5px;
    padding: 12px;
}
/*Internal navigation History/Decade */
.decade-banner {
    position: sticky;
    /*top: 85px;*/
    top: 96px;
    z-index: 10;
}

.decade-banner .internal-navigation, .internal-navigation.dark {
    padding: 0;
}

/* Main Menu Desktop */
.primary-menu .mega-menu {
    overflow-y: auto;
}

/*.primary-menu .nav-item .nav-link {
    padding: 35px 35px 35px 20px;
}*/
.primary-menu .nav-item .nav-link {
    padding: 35px 25px 35px 10px;
}

.primary-menu .nav-link.mega-toggle::after {
    right: 10px;
}
/*.mega-menu .nav-link.fake-link{
    min-height: 41px;
}*/

/* Main Menu Mobile*/
.menu-ovl nav .secondary-menu {
    height: 100vh;
}

.menu-ovl nav h5 {
    font-size: 16px;
    line-height: 32px;
    color: #1D1E20;
}

.menu-ovl .secondary-menu .nav-item .nav-link.country-toggle::after {
    background: none;
}
/*Secondary Menu Mobile*/

.menu-ovl nav .secondary-menu .nav-item .nav-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 32px;
    color: #003671;
    padding: 16px 0;
}

.menu-ovl nav .secondary-menu .nav-item {
    padding: 0;
}

.menu-ovl nav .secondary-menu .dropdown-toggle-language {
    position: relative;
}

.menu-ovl nav .secondary-menu .dropdown-toggle-language::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    height: 20px;
    width: 12px;
    margin-top: -10px;
    background: transparent url("../img/angle-down-blue.svg") center/12px no-repeat;
    border: none;
}

.menu-ovl nav .secondary-menu input.language-toggler:checked + .dropdown-toggle-language::after {
    transform: rotate(180deg);
}

.menu-ovl nav .secondary-menu .dropdown-menu-languages {
    display: none;
}

.menu-ovl nav .secondary-menu input.language-toggler:checked ~ .dropdown-menu-languages {
    display: block;
}

.menu-ovl nav .secondary-menu .nav-item .nav-link.country-mobile-toggle {
    position: relative;
    padding-left: 25px;
}

.menu-ovl nav .secondary-menu .nav-item .nav-link.country-mobile-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    height: 20px;
    width: 16px;
    margin-top: -10px;
    background: transparent url("../img/globe-blue.svg") center/16px no-repeat;
    border: none;
}

/*Country Menu*/
.secondary-menu .nav-item .country-menu {
    grid-template-columns: repeat(4, 24%);
}

/*Mobile Country Page*/
.mobile-country-page a {
    text-decoration: none;
}

.country-menu .mobile-country-label {
    color: #4A4D50;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

.country-menu ul.mobile-country-ul {
    padding-left: 0;
}

.country-menu ul.mobile-country-ul .country-disabled {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #666666;
}

.country-menu ul.mobile-country-ul .offices {
    display: flex;
    padding-left: 0;
}

.country-menu ul.mobile-country-ul a {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #003671;
}

.country-menu ul.mobile-country-ul li {
    padding: 10px 0;
    list-style: none;
}

.country-menu ul.mobile-country-ul img {
    width: 16px;
    height: 12px;
    margin-right: 10px;
}

@media (min-width: 990px) {
    /* Box Small */
    .icon-labels span {
        margin: 0 0 16px 0;
    }
    /* Card text */
    .service .custom-card .card-title {
        align-items: flex-start;
        min-height: 90px;
        max-height: 90px;
    }

    .solution .custom-card .card-title {
        align-items: flex-start;
        min-height: 90px;
        max-height: 90px;
        font-size: 30px;
    }

    .cards-list .custom-card .card-title {
        align-items: flex-start;
        min-height: 100px;
        max-height: 110px;
        /*new rules entered*/
        font-size: 30px;
        line-height: initial;
    }

    .consumer-services .custom-card .card-title {
        align-items: flex-start;
        min-height: 140px;
        max-height: 140px;
    }

    .benefit .custom-card .card-title {
        align-items: flex-start;
        min-height: 90px;
        max-height: 90px;
    }

    .custom-card .card-body p {
        min-height: 50px;
        max-height: 50px;
        overflow: hidden;
        max-width: 300px;
    }

    .benefit .card-body p {
        min-height: 75px;
        max-height: 75px;
        min-width: 100%;
        overflow: hidden;
    }

    .history .entry:last-of-type:before {
        content: '';
        display: block;
        width: 4px;
        height: 50%;
        position: absolute;
        top: 0;
        left: 6px;
        background-color: #fff
    }
}

@media (max-width: 991px) {
    /* Card text */
    .solution .custom-card .card-title {
        align-items: flex-start;
        min-height: 150px;
        max-height: 150px;
        font-size: 25px;
    }

    .custom-card p {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 16px;
    }

        .custom-card p.h3 {
            font-size: 20px;
            line-height: 24px;
            margin-bottom: 0;
        }

    .blue-hero .caption {
        max-width: 80%;
    }
}

.internal-heading-photo .breadcrumb {
    list-style: none;
    display: flex;
}

.internal-heading-photo .breadcrumb li, .internal-heading-photo .breadcrumb li a {
    color: #fff;
    text-decoration: none;
}

.internal-heading-photo .breadcrumb li:first-of-type::before {
    content: none
}

.internal-heading-photo .breadcrumb li {
    padding-right: 0.3em;
}

.internal-heading-photo .breadcrumb li::before {
    content: '/ ';
    display: inline;
    font-size: inherit;
    line-height: inherit;
    font-weight: 500;
    color: white;
}

@media (max-width: 991px) {
    /* Button */
    .contact-banner-dark .btn-large {
        padding: 4px 16px;
    }

    .internal-heading-photo .caption .breadcrumb, .internal-heading-photo .breadcrumb {
        margin-bottom: 20px;
    }

        .internal-heading-photo .breadcrumb li {
            font-size: 10px;
            line-height: 16px;
            font-weight: 500;
            padding-right: 0.3em;
        }

            .internal-heading-photo .breadcrumb li::before {
                content: '/ ';
                display: inline;
                font-size: inherit;
                line-height: inherit;
                font-weight: 500;
                color: white;
            }

        .internal-heading-photo .breadcrumb li {
            font-size: 10px;
            line-height: 16px;
            font-weight: 500;
            padding-right: 0.3em;
        }

    .blue-hero .caption ul {
        margin-bottom: .5rem;
    }

    /* Internal Navigation*/
    .internal-navigation.sticky-top {
        top: 63px;
    }

    /*Internal Navigation History Decade */
    .decade-banner {
        top: 63px;
    }

    /*Swiper KE Editable Card*/
    .custom-vertical-card .img-wrapper.ke-image-wrapper img {
        height: 70px;
    }
}

/* Swiper pagination */
.swiper.trends-carousel .swiper-pagination.KE-cards {
    bottom: -50px;
}
/* Key Points  */
.mixed-content.bg-white {
    background-color: #FFF;
}

/* Accordion link*/
.accordion-body p a {
    font-weight: 500;
    color: #003671;
}

.mixed-content .content-row.left:nth-of-type(odd) img {
    margin-right: 80px;
    margin-left: 0;
}

.mixed-content .content-row.left:nth-of-type(odd) {
    padding-right: 60px;
    padding-left: 0;
}

.mixed-content .content-row.right:nth-of-type(even) img {
    margin-left: 80px;
    margin-right: 0;
}

.mixed-content .content-row.right:nth-of-type(even) {
    padding-left: 60px;
    padding-right: 0;
}

.mixed-content .caption-text {
    margin-bottom: 30px;
}

    .mixed-content .caption-text p {
        margin-bottom: 10px;
    }

/**Fix for Box Small in Paragraph Block*/
.text-content .icon-labels img {
    padding: 0;
    width: 36px !important;
    height: auto;
}

.text-content .icon-labels {
    justify-content: center;
    column-gap: 2rem;
}

.small-box-link {
    margin: 0 0 16px 0;
}

.accordion-header .accordion-button.collapsed:after {
    content: '';
    -webkit-transform: none;
    transform: none;
}
/** Pagination */
.KE-main-pagination .pagination .page-item:first-of-type .page-link::after {
    display: none;
}

.KE-main-pagination .pagination .page-item:last-of-type .page-link::after {
    display: none;
}

.KE-main-pagination .pagination .first.page-item {
    font-size: 16px;
}

    .KE-main-pagination .pagination .first.page-item:first-of-type .page-link::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 64px;
        height: 64px;
        background: #f5f5f5 url(../img/angle-right.svg) center left 26px/16px no-repeat;
        margin-top: -32px;
        border-radius: 32px;
        transform: rotate(180deg)
    }

.KE-main-pagination .pagination .page-link {
    font-size: 16px;
}

.KE-main-pagination .pagination .last.page-item:last-of-type .page-link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 64px;
    height: 64px;
    background: #f5f5f5 url(../img/angle-right.svg) center left 26px/16px no-repeat;
    margin-top: -32px;
    border-radius: 32px;
}

.KE-main-pagination .pagination .page-item:first-of-type {
    margin-right: 0;
}

.KE-main-pagination .pagination .page-item:last-of-type {
    margin-left: 0;
}

/** Single News Events Pagination*/
.KE-heading .post-navigation .prev.disabled-, .KE-heading .post-navigation .next.disabled- {
    visibility: hidden;
}
/** Single News Events Share Bar*/
.social-wrapper div.social.link {
    cursor: pointer;
}

.pagination .page-item.disabled- {
    visibility: hidden;
}
/** Socials*/
footer .footer-menu .menu a, footer .iso, footer .legal, footer .social {
    color: #4A4D50;
}

.contact-banner .caption p {
    color: #4A4D50;
}

.secondary-menu .nav-item .country-menu .country img {
    width: 16px;
    height: 12px;
}

@media (min-width: 991px) {
    .office {
        max-width: 50%;
    }
}

.custom-vertical-card .card-body .card-title.only-title {
    height: 135px;
    align-items: start;
    margin-bottom: 0;
}

.custom-vertical-card .card-body a {
    text-decoration: none;
}

.bg-gray {
    background-color: #FAFAFA;
}

/* Animations */
.parallax-img {
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*.h1 {
    animation: fadeInBox 1s ease-in-out;
}*/

.internal-heading-photo .h1 {
    animation: fadeInBox 1s ease-in-out;
}

.primary-menu h1, .KE-heading .caption .h1 {
    animation: none !important;
}

.fade-in-box.active {
    animation: fadeInBox 1s ease-in;
}

.pop-fade-in.active {
    animation: popFadeIn 1s ease-in-out;
}

.fade-in-left.active {
    animation: fadeInLeft 1s ease-in-out;
}

.custom-card:hover .img-wrapper img {
    transform: scale(1.1);
    transition-duration: 1s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(300px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-150px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(300px);
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInBox {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popFadeIn {
    50% {
        transform: scale(1.2);
    }
}

button.noText {
    color: transparent;
    text-indent: -9999px;
    width: 200px; /* set width */
    height: 25px; /* fixed height */
    *margin-left: 9999px; /* IE6 only */
    font-size: 0px;
    line-height: 16px; /* retains height */
}
/*Fix color*/
.secondary-menu .nav-item .nav-link, .primary-menu .mega-menu ul .hint, .secondary-menu .nav-item .country-menu p, .internal-menu .nav-link, .custom-vertical-card .card-body .date, .certifications-banner p {
    color: #4A4D50;
}

.news-carousel .swiper-button-prev, .news-carousel .swiper-button-next {
    color: #7B8085;
}

.custom-vertical-card .card-body .country {
    background: #7B8085;
}

.text-content.results .result .result-title a {
    font-weight: 600;
    font-size: 28px;
    line-height: 40px;
    color: #003671;
    text-decoration: none;
}

.swiper.kecards-carousel {
    overflow: visible !important
}

    .swiper.kecards-carousel .swiper-wrapper {
        padding-bottom: 68px
    }

    .swiper.kecards-carousel .swiper-slide {
        height: 320px
    }

    .swiper.kecards-carousel .swiper-pagination {
        bottom: -80px;
    }

    .swiper.kecards-carousel .swiper-pagination-bullet {
        width: 32px;
        height: 4px;
        background: #D7D9DB;
        opacity: 0.32;
        border-radius: 0
    }

        .swiper.kecards-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
            background: #B8BBBE;
            opacity: 0.8
        }

@media (max-width: 991px) {
    .text-content .icon-labels img {
        padding: 0;
        width: 20px !important;
        height: auto;
    }

    .swiper.kecards-carousel .swiper-wrapper {
        padding-bottom: 180px
    }

    .swiper.kecards-carousel .swiper-slide {
        height: 224px
    }

    .swiper.kecards-carousel .swiper-pagination-bullet {
        width: 32px;
        height: 4px;
        background: #D7D9DB;
        opacity: 0.32;
        border-radius: 0
    }

    .swiper.kecards-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: #B8BBBE;
        opacity: 0.8
    }
}

.menu-ovl section {
    justify-content: unset;
    height: auto;
}

.menu-ovl {
    overflow-y: scroll !important;
    max-height: 100vh;
    z-index: 103;
}

.menu-ovl .menu-toggle-icon {
    display: block;
    height: 30px;
    width: 30px;
    background: transparent url("../img/angle-right.svg") center/8px no-repeat;
}
.menu-ovl .nav-link.item-with-child {
    max-width: 90%;
}
.menu-ovl .menu-ovl-expandable {
    display: none;
}
.menu-ovl .menu-ovl-expandable .modal-submenu-head .modal-sumbenu-navigation {
    display: block;
    height: 30px;
    width: 30px;
    background: transparent url("../img/angle-right.svg") center/8px no-repeat;
    transform: rotate(180deg);
}
.menu-ovl .menu-ovl-expandable .modal-submenu-head .modal-submenu-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    color: #003671;
}
.menu-ovl input[type="checkbox"]:checked ~ .menu-ovl-expandable {
    display: block;
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    right:0;
    background: white;
    height: 100%;
}
.menu-ovl input[type="checkbox"]:checked ~ .menu-ovl-expandable.modal-subsubmenu{
    top:0;
}
/*Footer*/
footer .footer-menu .menu a.nav-link {
    white-space: unset;
}
footer .footer-menu ul.menu {
    display: flex;
    flex-wrap: wrap;
}
footer .footer-menu .menu a.nav-link {
    line-height: 28px;
}
/*Block Highlights*/
section.news.no-background {
    background-color: #fff;
}

section.news .news-wrapper .caption a.category {
    text-decoration: none;
}

    section.news .news-wrapper .caption a.category:hover {
        color: #003671;
    }

section.news .news-wrapper .caption {
    max-width: 57%;
}
/*Block Cards Large Image*/
section.classic-cards-block.extra-padding-top {
    padding-top: 120px;
}

section.classic-cards-block .classic-card .card-body {
/*    padding: 30px 16px 25px 30px;
*/    padding: 25px 16px 25px 25px;
}

section.classic-cards-block .classic-card .card-title {
    font-size: 18px;
    line-height: 17px;
/*
    font-size: 21px;
    line-height: 25px;
    height: 95px;
    height: 70px;
*/
    height: 35px;
    margin-bottom: 14px;
}

.classic-card p {
    height: 135px;
}

section.classic-cards-block .classic-card p {
    /*font-size: 16px;
    line-height: 23px;
    */
    font-size: 12px;
    line-height: 17px;
}

@media (max-width: 991px) {
    section.classic-cards-block .classic-card .card-body {
        padding: 10px 16px 25px 10px;
    }
    section.classic-cards-block .classic-card .card-title {
        font-size: 14px;
        line-height: 17px;
/*      height: 60px;
        height: 47px;
*/
        height: 50px;
        margin-bottom: 10px;
    }

    section.classic-cards-block .classic-card p {
        font-size: 10px;
        line-height: 12px;
    }
}
/*Block Table*/
table.custom-table tbody tr.no-border, table.custom-table thead tr.no-border {
    border-bottom: none;
}

table.custom-table thead tr.no-border th:not(:first-of-type) {
    border-bottom: 1px solid #D7D9DB;
}

.advantages-table .big-text p {
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    color: #1D1E20;
}

table.custom-table tbody td p {
    margin-bottom: 0;
}
/*Block Hero*/
.textonly-heading .banner {
    height: auto;
}

.consumer-heading .caption {
    max-width: 65%;
}

@media only screen and (max-width: 768px) {
    .consumer-heading .big-text {
        margin-bottom: 10px;
    }

    .consumer-heading .caption {
        max-width: 100%;
    }

    .consumer-heading.breadcrumb-only .caption {
        padding: 0;
    }

    .consumer-heading.breadcrumb-only ul.breadcrumb {
        padding: 0;
    }
}
/*Block Prodotti due Colonne*/
.restricted-cta {
    max-width: fit-content;
}
/*Block Lancio Prodotto*/
@media only screen and (min-width: 768px) {
    .consumer-solution .custom-spacing {
        padding-right: 3.5rem;
    }
}
/*Block Form*/
section.contact-form .form-check label {
    display: inline;
}
/*Block Card Soluzioni*/
.custom-card.soluzioni {
    min-height: 264px;
}

    .custom-card.soluzioni .img-wrapper img {
        width: 184px;
        height: 264px;
    }

@media (max-width: 991px) {
    .custom-card.soluzioni {
        min-height: 184px;
    }

    .custom-card.soluzioni .img-wrapper img {
        width: 130px;
        height: 184px;
    }

    .custom-card.soluzioni .card-title {
        min-height: 55px;
        max-height: 90px;
    }
}
/*Trend Topic Section*/
.decade-banner.z-10 {
    z-index: 10;
}
/*Cards Storie Di Successo*/
.trend-label {
    position: absolute;
    top: 160px;
    left: 16px;
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    color: #fff;
    padding: 4px 8px;
    background-color: #EF7B10;
    border: none;
    border-radius: 4px;
}
/*Articolo Storie Di Successo*/
.text-content .testo-iniziale {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 40px;
    color: #1D1E20;
}
/*Cards Articolo*/
.ricerche-category-label {
    position: absolute;
    top: 160px;
    left: 16px;
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    color: #fff;
    padding: 4px 8px;
    background-color: #7B8085;
    border: none;
    border-radius: 4px;
}
/*Hero Ricerche Academy Categoria*/
.ricerche-academy-categoria-description {
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    color: #4A4D50;
}

.textonly-heading.ricerche-academy-categoria-hero .caption {
    width: 77%;
}

@media (max-width: 991px) {
    .ricerche-academy-categoria-description {
        font-size: 10px;
        line-height: 16px;
    }
}
/*Header*/
header {
    z-index: 100;
}
/*header.tiny .navbar.primary-menu .menu-brand img {
    width: 100px;
}*/
/*Main Menu Dynamic*/
/*.primary-menu .mega-menu {
    background-color: unset;
    box-shadow: unset;
}
.primary-menu .mega-menu ul {
    box-shadow: 5px 5px 5px #EEE;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    box-shadow: -4px 4px 40px rgba(0,0,0,0.16);
}
.primary-menu .first-level-mega-menu {
    border-left: 1px solid #EEE;
}
.primary-menu .mega-menu .sub-menu, .primary-menu .mega-menu .sub-sub-menu {
    box-shadow: -1px 0px 0px #eee,1px 0px 0px #eee;
}
.primary-menu .mega-menu .sub-sub-menu {
    border-right:1px solid #EEE;
}*/
/*Block List Cards*/
.custom-card.trend-topics .card-body p {
    max-height: none;
}
/*Block Card Recensioni Con Loghi*/
.custom-card.recensione-cliente .card-body p {
    max-height: none;
}
/*Block Riconoscimenti*/
.custom-card.riconoscimento .card-body p {
    max-height: none;
    max-width: fit-content;
}
/*Block Internal Navigation*/
.internal-navigation.dark.special-sticky {
    position: sticky;
    /*top: 145px;*/
    top: 158px;
    z-index: 10;
}

@media screen and (max-width: 991px) {
    .internal-navigation.dark.special-sticky {
        top: 63px;
    }
}

/*Block Recensioni Clienti*/
.swiper.reviews-carousel figure blockquote {
    overflow-wrap: break-word;
}

/*Block Recensioni Clienti*/
@media screen and (max-width: 991px) {
    .swiper.reviews-carousel figure blockquote {
        font-size: 13px;
        overflow-wrap: break-word;
    }
}
/*Block Ricerca FAQ*/
.search-faq .faq-search-input::after {
    display: inline-block;
    content: url(../img/search-grey.svg);
}
.search-faq .search-no-result {
    padding-top: 3rem;
    display: none;
}
/*Hero, aggiustamento font*/
.internal-heading .caption {
    max-width: 51%;
}
.internal-heading .caption .h1 {
    line-height: 64px;
}
.internal-heading .caption .big-text {
    line-height: 34px;
}
.internal-heading .caption .big-text, .consumer-heading .caption .big-text, .textonly-heading .caption .big-text {
    font-size: 20px;
}
.internal-heading .img-wrapper {
    width: 47.543%;
}

@media screen and (max-width: 991px) {
    .internal-heading .caption {
        max-width: 90%;
    }

    .internal-heading .caption .h1 {
        font-size: 20px;
        line-height: 26px;
    }

    .internal-heading .caption .big-text, .consumer-heading .caption .big-text, .textonly-heading .caption .big-text {
        font-size: 10px;
        line-height: 13px;
    }
    .internal-heading .img-wrapper {
        width: 160px;
        display:none;
    }
}
/*Block Casi Uso*/
section.cards-block .custom-card.use-case.casi-uso .card-title {
    padding-top: 3px;
    margin-bottom: 10px;
    max-height: 83px;
}
/*Block Hero Swiper*/
.hero-swiper {
    padding: 0;
}
.hero-swiper .hero-carousel .caption {
    padding-left: 2rem;
}
.hero-swiper .caption.hero-swiper-caption {
    margin-left: 2rem;
    max-width: 50%;
}
.hero-swiper .caption.hero-swiper-caption.tertiary {
    max-width:90%;
}
.hero-carousel .swiper-button-prev, .hero-carousel .swiper-button-next {
    color: #7B8085;
}
.hero-carousel .swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    background: #D7D9DB;
    opacity: 0.32;
    border-radius: 0;
}
.hero-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #B8BBBE;
    opacity: 0.8;
}
.hero-carousel .swiper-horizontal > .swiper-pagination-bullets, .hero-carousel .swiper-pagination-bullets.swiper-pagination-horizontal{
    bottom: 0;
}
.hero-carousel .swiper-pagination {
    position: relative;
}
@media screen and (max-width: 991px) {
    .hero-swiper .caption.hero-swiper-caption {
        margin-left: 0rem;
        max-width: 60%;
        padding-left: 1rem;
    }
    .hero-swiper .hp-heading .img-wrapper img {
        width: 94%;
    }
}
/* Block List Card Swiper */
.trends-carousel .swiper-button-prev, .trends-carousel .swiper-button-next {
    color: #7B8085;
}
.trends-carousel .swiper-button-next {
    right: -3%;
    top: 43%;
}
.trends-carousel .swiper-button-prev {
    left: -3%;
    top: 43%;
}
/*Hero HomePage*/
/* pagination full width swiper slide hero nuove varianti blue background, full screen image */
.hero-swiper {
    padding: 0;
  }
  .hero-swiper .caption.hero-swiper-caption {
    margin-left: 2rem;
    max-width: 50%;
  }
  .hero-swiper .caption.hero-swiper-caption.tertiary {
    max-width: 90%;
  }
  
  .hero-carousel .caption {
    padding-left: 2rem;
  }
  .hero-carousel .swiper-button-prev {
    color: #7B8085;
  }
  .hero-carousel .swiper-button-next {
    color: #7B8085;
  }
  .hero-carousel .swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    background: #D7D9DB;
    opacity: 0.32;
    border-radius: 0;
  }
  .hero-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #B8BBBE;
    opacity: 0.8;
  }
  .hero-carousel .swiper-horizontal > .swiper-pagination-bullets {
    bottom: 0;
  }
  .hero-carousel .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0;
  }
  .hero-carousel .swiper-pagination {
    position: relative;
  }
  .hero-carousel .hp-heading.image-fullscreen .img-wrapper {
    width: 100%;
    right: 0px;
  }
  .hero-carousel .hp-heading.image-fullscreen .img-wrapper img {
    width: 100%;
  }
  .hero-carousel .hp-heading.image-fullscreen .img-wrapper:after {
    width: 100%;
    transform: unset;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
  }
  .hero-carousel .hp-heading.image-fullscreen .img-wrapper:before {
    content: unset;
  }
  .hero-carousel .hp-heading.image-fullscreen .img-wrapper:after {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
  }
  .hero-carousel .hp-heading.image-fullscreen.white-text h2, .hero-carousel .hp-heading.image-fullscreen.white-text .h2, .hero-carousel .hp-heading.image-fullscreen.white-text h1, .hero-carousel .hp-heading.image-fullscreen.white-text .h1 {
    color: white;
  }
  .hero-carousel .hp-heading.image-fullscreen.white-text .more {
    color: #EF7B10;
    background-image: url(../img/long-arrow-right-orange.svg);
  }
  .hero-carousel .hp-heading.image-fullscreen.white-text .img-wrapper:after {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  }
  .hero-carousel .hp-heading.image-fullscreen.no-shadow .img-wrapper:after {
    content: unset;
  }
  .hero-carousel .hp-heading.image-fullscreen.blue-shadow .img-wrapper:after {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 54, 113, 0.8) 100%);
  }
  .hero-carousel .hp-heading.image-fullscreen.blue-shadow h2, .hero-carousel .hp-heading.image-fullscreen.blue-shadow .h2, .hero-carousel .hp-heading.image-fullscreen.blue-shadow h1, .hero-carousel .hp-heading.image-fullscreen.blue-shadow .h1 {
    color: white;
  }
  .hero-carousel .hp-heading.image-fullscreen.blue-shadow .more {
    color: #EF7B10;
    background-image: url(../img/long-arrow-right-orange.svg);
  }
  .hero-carousel .hp-heading.blue-bg .banner {
    background-color: #003671;
  }
  .hero-carousel .hp-heading.blue-bg .banner h2, .hero-carousel .hp-heading.blue-bg .banner .h2, .hero-carousel .hp-heading.blue-bg .banner h1, .hero-carousel .hp-heading.blue-bg .banner .h1 {
    color: white;
  }
  .hero-carousel .hp-heading.blue-bg .banner .more {
    color: #EF7B10;
    background-image: url(../img/long-arrow-right-orange.svg);
  }
  .hero-carousel .hp-heading.blue-bg .img-wrapper {
    right: 0px;
  }
  .hero-carousel .hp-heading.blue-bg .img-wrapper:before {
    background-color: #003671;
  }
  
  .pagination-container {
    position: relative;
    padding: 25px 15px 15px 15px;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 47px;
  }
  .pagination-container .swiper-button-next {
    position: unset;
    display: flex;
    margin: 0;
    height: auto;
    width: auto;
  }
  .pagination-container .swiper-button-next:after {
    font-size: 2.2rem;
  }
  .pagination-container .swiper-button-prev {
    position: unset;
    display: flex;
    margin: 0;
    height: auto;
    width: auto;
  }
  .pagination-container .swiper-button-prev:after {
    font-size: 2.2rem;
  }
  .pagination-container .swiper-pagination {
    all: unset;
    display: flex;
    margin: 1px;
    padding: 5px;
  }
  .pagination-container .arrow {
    all: unset;
    display: flex;
    margin: 1px;
    padding: 5px;
    position: absolute;
    top: 5px;
    right: 15px;
    display: flex;
    gap: 45px;
  }
  
  @media screen and (max-width: 991px) {
    .hero-swiper .caption.hero-swiper-caption {
      margin-left: 0rem;
      max-width: 60%;
      padding-left: 1rem;
    }
    .hero-swiper .hp-heading .img-wrapper img {
      width: 100%;
    }
  }
/*Card Contatto*/
.custom-card.interest.card-contatto .icon-wrapper img {
    height: 30px;
}

@media screen and (max-width: 991px) {
    .custom-card.interest.card-contatto .card-body .card-title {
        min-height: 48px;
        max-height: 75px;
    }
}
/*Card Contatti*/
@media screen and (min-width: 991px) {
    .customer-contact .custom-card .h3 {
        min-height: 85px;
    }

    .custom-card.interest.card-contatto .card-body .card-title {
        font-size: 32px;
        line-height: 42px;
        min-height: 60px;
        max-height: 80px;
    }

    .custom-card.interest.card-contatto .card-body p {
        font-size: 15px;
        line-height: 21px;
        max-height: 85px;
    }
}
/*FIX CROPPED IMAGES - Chrome */
@media screen and (min-width: 1441px) {
    section .hp-heading .img-wrapper img, section.cards-block .custom-card .img-wrapper img, section.internal-heading .img-wrapper img, .featured .custom-card .img-wrapper img {
        border-top: 1px solid white;
        border-left: 1px solid white;
    }

    section.contact-banner-dark .img-wrapper img {
        border-left: 2px solid #003671;
    }
}
/*Footer menu mobile*/
@media screen and (max-width: 991px) {
    footer .footer-menu {
        justify-content: flex-start;
    }
}
/*Custom Cards mobile*/
@media screen and (max-width: 991px) {
    .custom-card .img-wrapper + .card-body {
        max-width: 70%;
    }

    .custom-card .card-title {
        max-height: 70px;
    }

    .custom-card p {
        margin-bottom: 8px;
    }
}
/*Card Category*/
.cards-block .custom-card.card-family .card-title {
    min-height: 130px;
    max-height: 140px;
    font-size: 30px;
}

@media (max-width: 991px) {
    .cards-block .custom-card.card-family .card-title {
        min-height: 70px;
        max-height: 90px;
        font-size: 25px;
    }
}

/*Scroll Top Button*/

#scroll-top-button {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 40px;
    z-index: 2147483642;
    font-size: 22px;
    font-weight: 800;
    border: none;
    outline: none;
    background-color: #ef6905;
    color: white;
    cursor: pointer;
    height: 34px;
    width: 34px;
    opacity: 0.8;
    border-radius: 50%;
    background: #ef6905 url(../img/arrow-right-white.svg) center left 50.5%/12px no-repeat !important;
    transform: rotate(-90deg);
    box-shadow: 0px 3px 5px -1px rgb(0 0 0 / 20%), 0px 6px 10px rgb(0 0 0 / 14%), 0px 1px 18px rgb(0 0 0 / 12%);
}

    #scroll-top-button:hover {
        background-color: #bd5304 !important;
    }

@media (max-width: 991px) {
    #scroll-top-button {
        bottom: 80px;
        right: 30px;
        height: 34px;
        width: 34px;
        opacity: 0.8;
        background: #ef6905 url(../img/arrow-right-white.svg) center left 50.5%/12px no-repeat !important;
    }
}

@media (min-width: 768px) {
    #scroll-top-button {
        bottom: 110px;
        right: 57px;
        height: 34px;
        width: 34px;
        z-index: 99;
        opacity: 0.8;
        background: #ef6905 url(../img/arrow-right-white.svg) center left 50.5%/12px no-repeat !important;
    }
}

@media (max-width: 498px) {
    #scroll-top-button {
        bottom: 74px;
        right: 24px;
        height: 44px;
        width: 44px;
        opacity: 0.8;
        background: #ef6905 url(../img/arrow-right-white.svg) center left 50.5%/16px no-repeat !important;
    }
}

/* pagination full width swiper slide hero */
.pagination-container {
    position: relative;
    padding: 25px 15px 15px 15px;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 47px;
}

.pagination-container .swiper-button-next, .pagination-container .swiper-button-prev {
    position: unset;
    display: flex;
    margin: 0;
    height: auto;
    width: auto;
}

    .pagination-container .swiper-button-next:after, .pagination-container .swiper-button-prev:after {
        font-size: 1.5rem;
    }

.pagination-container .swiper-pagination, .pagination-container .arrow {
    all: unset;
    display: flex;
    margin: 1px;
    padding: 5px;
}

.pagination-container .arrow {
    /*position: absolute;*/
    top: 5px;
    right: 15px;
    display: flex;
    gap: 45px;
}
 
/* override article socials etc */
.sticky-container .sticky-housing {
    position: relative;
    width: 0px;
    padding-top: 25px;
}
@media (max-width: 991px) {
    .sticky-container .sticky-housing {
        display: none;
   }
}
.sticky-container .sticky-housing .sticky-top {
    position: sticky;
    top: 135px;
    z-index: 99;
}
.sticky-container {
    display: flex;
    flex-direction: row;
}
.sticky-container .sticky-article {
    flex: 1;
}
.sticky-container .share-bar .social-wrapper {
    position: unset;
}
.sticky-container .share-bar .social {
    width: 50px;
    height: 50px;
    background-size: 30px 30px;
}
.sticky-container .breadcrumb {
    list-style: none;
    display: flex;
    margin-bottom: 24px;
}
.sticky-container .breadcrumb li {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #4A4D50;
    padding-right: 0.3em;
}
.sticky-container .breadcrumb li a {
    color: #7B8085;
    text-decoration: none;
    font-weight: 500;
}
.sticky-container .breadcrumb li::before {
    content: '/ ';
    display: inline;
    font-size: inherit;
    line-height: inherit;
    font-weight: 500;
    color: #7B8085;
}
.sticky-container .breadcrumb li:first-of-type::before {
    content: none;
}
.sticky-container .image-wrapper {
    width: 100%;
    height: 480px;
}
.sticky-container .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sticky-container .post-navigation {
    position: absolute;
    top: 40px;
    right: 0;
    gap: 16px;
    z-index: 2;
}
.sticky-container .post-navigation .prev, .sticky-container .post-navigation .next {
    display: block;
    width: 64px;
    height: 64px;
    background: #f5f5f5 url(../img/angle-right.svg) center left 26px/16px no-repeat;
    border-radius: 32px;
}
.sticky-container .post-navigation .prev {
    transform: rotate(180deg);
}
.sticky-container .sticky-article > .caption {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 928px;
    padding: 48px 64px 0;
    margin: -120px auto 0;
    background-color: #FFFFFF;
    z-index: 1;
}
.sticky-container .sticky-article > .caption .h1 {
    font-weight: 600;
    font-size: 48px;
    line-height: 72px;
    margin-bottom: 32px;
}
.sticky-container .sticky-article > .caption .meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.sticky-container .sticky-article > .caption .meta .tags {
    display: flex;
    flex-wrap: wrap;
}
.sticky-container .sticky-article > .caption .meta .tags * {
    display: block;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    padding: 4px 8px;
    margin: 0 8px 8px 0px;
    border: none;
    border-radius: 4px;
    text-transform: none;
}
.sticky-container .sticky-article > .caption .meta .category {
    background-color: #003671;
}
.sticky-container .sticky-article > .caption .meta .accent {
    background-color: orange;
}
.sticky-container .sticky-article > .caption .meta .country {
    background-color: #7B8085;
}
.sticky-container .sticky-article > .caption .meta .published {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    position: relative;
    color: #7B8085;
    background-color: transparent;
    margin: 0 8px 8px;
}
.sticky-container .sticky-article > .caption .meta .published .post-navigation {
    top: auto;
    bottom: 0;
    right: 0;
}
@media (max-width: 1199px) {
    .sticky-container .post-navigation {
        gap: 8px;
   }
    .sticky-container .post-navigation .prev, .sticky-container .post-navigation .next {
        width: 48px;
        height: 48px;
        background-position: center left 18px;
   }
    .sticky-container .image-wrapper {
        width: 100%;
        height: auto;
   }
    .sticky-container .image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
   }
    .sticky-container .sticky-article > .caption {
        max-width: 100%;
        margin: 0 auto;
   }
    .sticky-container .sticky-article > .caption .meta {
        flex-direction: column;
        justify-content: space-between;
   }
    .sticky-container .sticky-article > .caption .meta .tags {
        display: flex;
        flex-wrap: wrap;
   }
    .sticky-container .sticky-article > .caption .meta .tags * {
        margin: 0 8px 8px 0;
        border: none;
        border-radius: 4px;
        text-transform: none;
   }
    .sticky-container .sticky-article > .caption .meta .published {
        margin: 0;
        min-height: 16px;
   }
    .sticky-container .sticky-article > .caption .meta .published .post-navigation {
        top: auto;
        bottom: 0;
        right: 0;
   }
}
@media (max-width: 991px) {
    .sticky-container .banner {
        padding: 0;
   }
    .sticky-container .breadcrumb {
        padding: 0 16px;
        margin-bottom: 8px;
   }
    .sticky-container .breadcrumb li {
        font-family: Inter, sans-serif;
        font-size: 10px;
        line-height: 16px;
   }
    .sticky-container .sticky-article > .caption {
        padding: 16px 16px 8px;
   }
    .sticky-container .sticky-article > .caption .h1 {
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 8px;
   }
    .sticky-container .sticky-article > .caption .meta .tags {
        display: flex;
        flex-wrap: wrap;
   }
    .sticky-container .sticky-article > .caption .meta .tags * {
        font-weight: 500;
        border: none;
   }
}

/*added a new class in order to set the home page header hero text size to 60px instead of the actual 80px (10/07/24)*/

.hp-heading .caption .h1 {
	font-weight: bold;
	font-size: 60px;
	line-height: 96px;
	margin-bottom: 20px;
}

@media (max-width: 991px) {
  .hp-heading .caption .h1 {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 5px;
  }
}

/* Umbraco forms field indicators in red in case a field is not filled */

.umbraco-forms-indicator {
    color: #ff0000;
}
 
.field-validation-error {
    color: #ff0000;
    font-size: 0.8em;
}

/* fix card size on mobile */

@media (max-width: 430px) {
.contact-banner .banner {
    height: 200px;
    padding-left: 132px;
    }
}

@media (max-width: 430px) {
    .contact-banner .img-wrapper {
        display: block;
        width: 132px;
        height: 200px;
    }
}

/* costum card change paddings */
.custom-card .card-body {
    height: 100%;
    width: 100%;
    padding: 30px 30px 10px;
}