:root {
    --color-red: #d50f3b;
    --bs-border-color: var(--color-red) !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Frutiger', sans-serif !important;
    font-weight: 400;
    color: #333;
}

body:not(#homepage) section#content {
    margin-top: -13vw;
    background-color: #fff;
}



a, a:active, a:visited {
    color: var(--color-red);
}

h1, h2, h3, h4, h5, h6 {
     font-family: 'Frutiger', sans-serif;
     font-weight: 700;
 }

[style*="--bg-image"] {
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
}

.position-sticky {
    z-index: 1000;
}


header hr {
    border-top: 10px solid var(--color-red);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    opacity: 1;
    max-width: 700px;
    margin: 20px auto;
}


ul.check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
ul.check-list li {
    position: relative;
    padding-left: 2.8rem;
}
ul.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background-image: var(--bg-check);
    background-size: contain;
    background-repeat: no-repeat;
}


.alert-danger {
    background-color: transparent;
    border: 4px solid var(--color-red) !important;
    color: var(--color-red);
}

.btn-danger {
    background-color: #fff;
    border: 2px solid var(--color-red) !important;
    color: #000 !important;
    min-width: 260px;
}
@media (max-width: 768px) {
    .btn-danger {
        min-width: 160px;
    }
}
.btn-danger + .btn-danger {
    margin-left: 20px !important;
}

.btn-danger:hover {
    background-color: var(--color-red);
    color: #fff !important;
}

.tns-inner .btn-danger {
    background-color: var(--color-red);
    color: #fff !important;
}
.tns-inner .btn-danger:hover {
    background-color: #fff;
    color: #000 !important;
}

.fa-solid.fa-plus {
    color: var(--color-red);
}


.placeholder-small input::placeholder {
    font-size: 0.8rem;
}

.form-select-lg, form {
    font-size: 1rem !important;
}

#sg-cookiesBar .btn {
    border-color: var(--color-red);
}
#sg-cookiesBar .btn:hover {
    background-color: var(--color-red);
}


.text-red {
    color: var(--color-red);
}

[type="checkbox"] {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#sg-cookiesBar [type="checkbox"] {
    width: 20px;
    height: 20px;
}

.file-info {
    padding-left: 20px;
    padding-right: 10px;
    position: relative;
    font-size: 12px;
    z-index: 1;
}
.file-info i {
    position: relative;
    z-index: 1;
}
.file-info:hover {
    z-index: 10;
}
.file-info::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #000;
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 0px;
}
[data-toggle]:hover::after {
    content: attr(title);
    position: absolute;
    display: block;
    color: #000;
    background-color: #fff;
    min-width: 200px;
    height: auto;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #000;
    line-height: 16px;
    font-size: 16px;
    font-family: 'ConduitITC', sans-serif;
    font-weight: 300;
    top: 0px;
    left: 10px;
    transform: translate(-50%,-110%);
}

[data-toggle][style*='--tooltip-image']:hover::after {
    content: '';
    background-image: var(--tooltip-image);
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) !important
}
.cursor-pointer {
    cursor: pointer;
}



.top-bar-fluid {
    padding: 1.5vw 4vw;
    box-sizing: border-box;
    margin: 0 auto;
}

.logo-ricoh-fluid {
    height: 5vw;
    width: auto;
    min-height: 15px;
    padding-left: 16px;
}


.mobile-logo {
    /* Usa un valore in pixel per avere il controllo esatto o i vw per renderlo fluido */
    width: 43vw; 
    height: auto;
    display: block;
}

.top-bar-right {
    gap: 2vw;
}

.top-bar-text {
    font-size: max(12px, 1.2vw);
    color: #000000;
}


.logo-eco-fluid {
    height: 3vw;
    width: auto;
    min-height: 12px;
}

.hero-container {
    font-size: 0;
    line-height: 0;
}

.hero-badge {
    width: 23.5%;
    left: 44.9%;
    top: 36%;
    transform: translateY(-50%);
}

.hero-badge-mobile {
    width: 39.5%;
    left: 54%;
    top: 39%;
    transform: translateY(-50%);
}


.main-footer {
    width: 100%;
    font-family: Arial, sans-serif;
    text-align: center;
}

.footer-legal-area {
    background-color: #e3e3e3;
    padding: 30px 5% 20px 5%;
    color: #000000;
    font-size: max(12px, 1.55vw);
}

.footer-legal-area p {
    margin: 0 0 15px 0;
}

.red-link {
    color: #E3002B;
    text-decoration: underline;
    font-weight: bold;
}

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

.underline-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.underline-link:hover {
    color: #E3002B;
}

.footer-email {
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
}

.footer-email a {
    color: #333;
    text-decoration: none;
}

.footer-email a:hover {
    color: #E3002B;
    text-decoration: underline;
}



.overlay-slide::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
    content: '';
    display: block;
}

.support-text {
    font-size: max(14px, 1.7vw);
    color: #000000;
}

.support-link {
    color: #d10000;
    transition: opacity 0.3s ease;
}

.support-link:hover {
    opacity: 0.8;
    color: #d10000;
}


.overlay::after {
    content: '';
    background-color: #000;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    opacity: .6;
}