:root {
    --color-light: #eeeae2;
    --color-dark: #1E2422;
    --link-hover-dark: #4B5A55;
    --e-global-color-primary: #274B3C;

}
::selection {
    background: rgba(39, 75, 60, 0.8);
    color: #FFF;
}

::-moz-selection {
    background: rgba(39, 75, 60, 0.8);
    color: #FFF;
}
body {
    margin: 0;
    padding: 0;
    background-color: var(--color-light);
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    background-color: var(--color-dark);
    color:#FFFFFF;
    padding-top:2rem;
    padding-bottom:2rem;
    position:sticky;
    top:0;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    z-index:15;
}
footer {
    background-color: var(--color-dark);
    color:#FFFFFF;
    padding-top:2rem;
    padding-bottom:2rem;
    margin-top: auto;
}
footer a:hover {
    color:var(--link-hover-dark) !important;
}
hr.footer-top {
    border-color: #FFFFFF;
    opacity:1;
    margin-top:0;
    margin-bottom:2rem;
}
hr.footer-bottom {
    border-color: #FFFFFF;
    opacity:1;
    margin-top:2rem;
    margin-bottom:2rem;
}
main {
    flex-grow: 1;
}
footer a {
    display:block;
    margin-bottom:.5rem;
    text-decoration:none !important;
    line-height:normal;
}


.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible,
.btn-primary:focus:active,
.btn-primary.active,
.btn-primary.show,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    box-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus-visible {
    background-color: color-mix(in srgb, var(--e-global-color-primary) 85%, black) !important;
    border-color: color-mix(in srgb, var(--e-global-color-primary) 85%, black) !important;
}

.text-primary,
.blog-content a {
    color: var(--e-global-color-primary) !important;
}
a.text-primary:hover,
a.text-primary:focus,
.blog-content a:hover,
.blog-content a:focus {
    color: color-mix(in srgb, var(--e-global-color-primary) 75%, black) !important;
}

.blog-content h3 {
    font-size: 1.6rem; 
}

.bg-primary {
    background-color: var(--e-global-color-primary) !important;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: none;
    content: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumb-separator {
    font-size: 0.6em;
    opacity: 0.6;
}

/* Quill bullet lists nel frontend */
ol[data-list="bullet"],
ul[data-list="bullet"] {
    list-style-type: disc;
    padding-left: 1.5rem;
}

li[data-list="bullet"] {
    list-style-type: disc;
}

li[data-list="ordered"] {
    list-style-type: decimal;
}

.header-menu-link-container i {
    min-width:20px;
}

.header-logo {
    width:100%;
    max-width: 175px;
}
.menu-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:2rem;
    font-weight:500;
    height:100%;
}
.menu-header-row-1 {
    display:flex;
    gap:2rem;
    align-items:center;
    flex-grow: 1;
    justify-content: center;
}
.menu-header-row-2 {
    display:flex;
    gap:2rem;
    align-items:center;
    justify-content:end;
}
.menu-header .btn-light {
    color:#274B3C;
    font-weight:500;
}
.menu-header a {
    text-decoration:none !important;
}
.menu-header-item:hover a {
    color: var(--link-hover-dark) !important;
}

.dropdown-header-lang .dropdown-toggle::after {
    display:none !important;
}

.dropdown-header-lang .dropdown-toggle {
    display:flex;
    align-items:center;
}

.dropdown-menu {   
    background: transparent;
    border-radius:0;
    padding:0;
    overflow:hidden;
    min-width:30px;
    border:none;
}
.dropdown-header-lang .dropdown-menu {
    background: var(--color-light);
    border-radius: .5rem;
    border: solid 1px #CCC; 
}
.dropdown-header-lang .dropdown-item:active {
    background:#FFFFFF;
    color:initial;
}

.menu-header-item.dropdown .dropdown-menu > div {
    background: var(--color-light);
    width: max-content !important;
    padding:1.5rem;
    border-radius: 2rem;
    border:solid 1px #CCC;
}

.menu-header-item .dropdown-item {
    padding:0 !important;
    background-color:transparent !important;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    line-height: normal;
}
.menu-header-item .dropdown-item:hover {
    padding:0 !important;
    background-color:transparent !important;
    color: var(--link-hover-dark);
}

.row-dropdown-header {
    display: flex;
    gap: 4rem;
}
.header-menu-link-container {
    display:flex;
    flex-direction:column;
    gap: 1rem;
    max-width: 18rem;
}

.col-dropdown-header {
    /*max-width: 20rem;*/
    /*min-width:200px;*/
    width:max-content;
}

.col-dropdown-header h4 {
    border-bottom:solid 1px #CCC;
    padding-bottom:1rem;
    margin-bottom:1rem;
}

.col-dropdown-header .dropdown-item {
    display: flex;
    gap: .5rem;
    align-items:center;
}

/*
.dropdown {
    position: static;
}

.dropdown .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
}
*/

.header-menu-left-margin {
    padding-left:1rem;
    margin-left:2rem;
    flex-direction:column;
    border-left:solid 1px;
    display:flex;
    gap:1rem;
    margin-top:1rem;
}

.top-element-image-home {
    background:var(--color-dark);
}
.top-element-image-home > div {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.big-txt {
    font-size:7rem;
}
.link-breadcrumbs {
    color:inherit;
    text-decoration:none;
}


.top-element-image-home-container {
    min-height: 500px;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
}

.top-element-black {
    margin-top:-50px;
    padding-top:50px;
    background:var(--color-dark);
    margin-bottom: 7rem;

}
.top-element-black-container, 
.top-element-container {
    padding-top:7rem;
    padding-bottom:7rem;
}

.top-element-black-container > .row {
    align-items:end;
}

.image-push-down {
    position: relative;
    margin-bottom: -5rem;
}
.image-push-down-placeholder {
    width: 100%;
    padding-top:5rem;
}
.image-push-down img {
    position: absolute;
    width:100%;
    bottom: -7rem;
    left:0;
}
.rounded-testimonial-container {
    margin-top:-50px;
    border-radius:100px;
    padding:2rem;
    background: var(--color-light);
    box-shadow: 7px 0px 21px 0px rgba(0, 0, 0, 0.3);
}

.rounded-testimonial-images {
    display: flex;
    align-items: center;
    width: 100%;
}

.rounded-testimonial-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rounded-testimonial-image img {
    max-width: 100%;
    height: auto;
}

.carousel-mod .carousel-inner {
    display:flex;
    align-items:center;
}

.text-pill {
    border-radius: 50px;
    background:#d9dfd5;
    color:var(--e-global-color-primary);
    padding:.5rem 1rem;
    font-weight:500;
    display: inline-block;
}
.text-pill-dark {
    border-radius: 50px;
    background:#333333;
    color:#FFFFFF;
    padding:.5rem 1rem;
    font-weight:500;
    display: inline-block;
}
.title {
    color:var(--e-global-color-primary);
}
.img-icon-sm {
    width:50px;
    height: 50px;
    object-fit: contain;
}
.bg-dark {
    background-color: var(--color-dark) !important;
}

.carousel-indicators li {
    width:12px !important;
    height:12px !important;
    border-radius:12px !important;
    border-top: none !important;
    border-bottom: none !important;
    transition: width 0.3s ease !important;
}
.carousel-indicators li.active {
    width:36px !important;
}
.card-form {
    padding:2rem;
    border-radius:2rem;
    border:solid 1px #CCC;
}
.card-border {
    border:solid 3px var(--e-global-color-primary);
    border-radius:2rem;
    padding:2rem;
    color: var(--e-global-color-primary);
    height:100%;
}

.light-bg-card {
    background:#F4F2ED;
}

.number-grow-container {
    text-align: center;
    font-size: 4rem;
    font-weight: 500;
}

.section-light-2 {
    background: #F4F2ED;
}

.card-btn-border-bottom {
    border-bottom:solid 1px #CCC
}

.card-light {
    background: #F4F2ED;
    border:solid 1px #CCC;
    border-radius:2rem;
    padding:2rem;
}
.intro-testimonial {
    font-size:2rem;
}
.card-testimonial-content {
    line-height:normal;
    margin-bottom:2rem;
}
.card-testimional-container {
    color:var(--e-global-color-primary);
    border-left:solid 5px;
    padding-left:2rem;
    font-size:1.25rem;
}
.image-card-signature {
    width:100px;
    mix-blend-mode: darken;
}
.carousel-indicators-primary li {
    background-color:var(--e-global-color-primary) !important;
}
.footer-pre {
    background: #F4F2ED;
    border-top-left-radius:2rem;
    border-top-right-radius:2rem;
    box-shadow: 0px -8px 24px -8px rgba(154.7, 154.7, 154.7, 0.5);
    padding:2rem;
    width:900px;
    margin:auto;
    position: relative;
}
.footer-pre::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #F4F2ED;
}

.card-signature-container {
    display:flex;
    align-items:center;
    justify-content:space-between;
}


.fixed-blog-item {
    display:flex;
    flex-direction: column;
    height:100%;
    justify-content: space-between;
}

article p,
.t-editor-box p {
    margin-bottom:0;
    min-height:1rem;
}
article h1, article h2, article h3,
.t-editor-box h1, .t-editor-box h2, .t-editor-box h3 {
    color:var(--e-global-color-primary);
}

#accordion-faq, 
#accordion-faq .accordion-item,
#accordion-faq .accordion-button {
    background:transparent;
}

.accordion-title {
    display:flex;
    gap:1.5rem;
}

.accordion {
    border:none;
}

.accordion-item,
.accordion-body {
    border-color: #CCC !important;
    border:solid 1px #CCC;
    border-left: none;
    border-right: none;
    border-radius: 0 !important;
}
.accordion-body {
    border-bottom:0;
}

.accordion-button:focus {
    box-shadow: none !important;
}
.item-blog-card {
    display: flex;
    flex-direction: column;
}
.item-blog-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow:1;
}

.img-blog-list {
    aspect-ratio:4/3;
    object-fit:cover;
}

/* 
lg bootstrap
mobile
*/
@media (max-width:992px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding-right: var(--bs-gutter-x);
        padding-left: var(--bs-gutter-x);
    }
    .rounded-testimonial-images {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom:20px;
    }

    .rounded-testimonial-image img {
        width: 100px;
        max-height: 60px;
        object-fit: contain;
    }

    .card-signature-container {
        flex-direction:column;
        gap:1rem;

    }
    .top-element-image-home-container {
        padding-top:100px;
        padding-bottom:100px;
    }
    .text-card-signature {
        text-align:center;
    }
    .footer-pre {
        width:100%;
    }
    .rounded-testimonial-image {
        flex: 0 0 150px;
    }
    .header-logo {
        max-width:150px;
    }
    .rounded-testimonial-container {
        border-radius:3rem;
    }
    .menu-header {
        position:fixed;
        top:0;
        left:-100dvw;
        width:100dvw;
        height:100dvh;
        background:var(--color-dark);
        flex-direction:column;
        justify-content:start;
        transition: left 0.25s ease;
        overflow-y:auto;
        z-index:99;
    }
    .menu-header-row-1, .menu-header-row-2 {
        flex-direction:column;
        width: 100%;
        flex-grow: initial;
        align-items: start;
        padding:0 2rem;
    }

    .header-menu-link-container {
        gap:1.25rem;
        max-width:auto;
    }
    .menu-header-mobile-open {
        height:100%;
        align-items:center;
        justify-content: end;
    }
    .menu-header-mobile-close {
        width: 100%;
        text-align: end;
        position:sticky;
        top:0;
        padding:2rem 1rem .5rem;
        background: var(--color-dark);
        z-index:15;
    }
    .menu-header-mobile-open i,
    .menu-header-mobile-close i {
        font-size:1.5rem;
        cursor:pointer;
    }
    .dropdown-header-lang {
        gap:1rem;
        padding-bottom: 2rem;
    }

    .row-dropdown-header {
        flex-direction:column;
    }
    .menu-header-item.dropdown {
        width:100%;
    }
    .col-dropdown-header h4 {
        color: var(--link-hover-dark);
        font-size:1rem;
        margin-bottom:1.25rem;
    }
    .col-dropdown-header {
        max-width: 100% !important;
        width:100% !important;
    }
    .header-menu-left-margin {
        border-left:solid 1px #FFFFFF;
    }
    .menu-header-item > a,
    .menu-header-row-2 > a {
        font-size:1.25rem;
    }
    .menu-header-item:hover a:not(.btn) {
        color:#FFF !important;
    }
    .dropdown-menu .header-menu-link-container .dropdown-item {
        color:#FFF !important;
    }
    .menu-header-item.dropdown > a::after {
        content: '›';
        float: right;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .menu-header-item.dropdown > a.open-arrow::after {
        transform: rotate(90deg);
    }

    .menu-header-item.dropdown .dropdown-menu {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        transform-origin: top;
        width:100% !important;
    }
    
    .menu-header-item.dropdown .dropdown-menu.open {
        width: 100% !important;
    }
    
    .menu-header-item.dropdown .dropdown-menu .row-dropdown-header,
    .menu-header-item.dropdown .dropdown-menu .col-dropdown-header {
        padding: 1rem !important;
        gap:1rem;
    }

    .menu-header-item.dropdown .dropdown-menu {
        transform: none !important;
    }

    .menu-header-item.dropdown .dropdown-menu > div {
        background: transparent !important;
        width: initial !important;
        border-radius: 0;
        border:none;
    }

    .top-element-black {
        margin-bottom: 7rem;
    }

    .card-testimonial-content-wrapper {
        position: relative;
    }
    
    .card-testimonial-content {
        max-height: 15rem;
        overflow-y: auto;
    }
    
    .card-testimonial-content-wrapper::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3rem;
        background: linear-gradient(to bottom, transparent, #F4F2ED);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .card-testimonial-content-wrapper.scrolled-to-bottom::after {
        opacity: 0;
    }

    .top-element-black {
        margin-bottom: 10rem;
    }
    .image-push-down-placeholder {
        padding-top:60%;
    }

    /*.image-push-down {
        margin-bottom: -7rem;
    }*/

    .image-push-down img {
        width: 100%;
        display: block;
        bottom:-60%;
    }
}