/* COLORE */

:root {
    --verde: rgba(21, 86, 52, 1);
    --verdeSfumatura: rgba(66, 114, 90, 1);
    --verdeChiaro: rgba(218, 234, 187, 1);
}


/* STRUTTURA */
.text-green {
    color: var(--verde);
}

header {
    position: relative;
    #top-bar {
        background: var(--verdeChiaro);
        a {
            font-size:12px;
        }
        .list-inline-item:not(:last-child)::after {
            content: " |";
            margin-left: 8px;
            color:var(--verde);
        }
    }
    #middle-bar {
        input, button {
            border-radius:0;
            border-color: var(--verde);
        }
        button {
            color: white;
            background: var(--verde);
            transition: 0.2s linear;
            &:hover {
                color: var(--verde);
                background: var(--verdeChiaro);
            }
        }
        .btn-fidelity {
            border-radius: 0;
            font-size:12px;
        }
    }
    #bottom-bar {
        li {
            a {
                font-size:14px;
                transition: all linear 0.2s;
                &:hover {
                    color: var(--verde);
                }
            }
        }
    }
}

#top-site, #volantino-banner, #fidelity-card-banner, #iniziative-gecop {
    h1 {
        span {
            color: var(--verde);
        }
        &:after {
            content: '';
            width: 100px;
            height: 2px;
            display: block;
            background: var(--verde);
            margin: 20px auto 0;
        }
    }
    h5 {
        color: var(--verde);
    }
}

#app-banner, #lavora-con-noi-banner {
    background: var(--verdeChiaro);
    background: rgb(66,114,90);
    background: linear-gradient(90deg, var(--verdeSfumatura) 50%, var(--verde) 100%);
    position: relative;
    z-index: 1000;
}

img[alt='volantino'] {
    position: relative;
}

#lavora-con-noi-banner {
    margin-top:-56px;
    .btn {
        background: var(--verdeChiaro);
    }
    .custom-shape-divider-bottom-1735575184 {
        margin-top:-20px;
    }
}

.shape-fill {
    fill: white;
}

.custom-shape-divider-bottom-1735575184 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1735575184 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 73px;
}

#bg-newsletter {
    --verde: rgba(21, 86, 52, 0.4);
    --verdeSfumatura: rgba(66, 114, 90, 1);
    clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 92%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-image: linear-gradient(90deg, var(--verdeSfumatura) 35%, var(--verde) 100%), url("../img/newsletter-banner.jpg");
    .btn {
        background: var(--verdeChiaro);
    }
}

footer {
    p, a {
        font-size:12px;
    }
    a:hover {
        color: var(--verdeSfumatura);
    }
}


/* SITO */
#login-area {
    background: #F6FAFB;
    h5 {
        margin-bottom: 20px;
        color: #878787;
    }
    .container-input {
        border-radius: 10px;
        overflow: hidden;
        .input-group {
            width: 100% !important;
            input {
                border-radius:0;
            }
        }
        .input-group input, .input-group span {
            padding: 10px;
            border: 0 !important;
            background: #fff;
        }
    }
    p {
        margin: 0;
        font-size: 12px;
        color: #878787;
        margin-top: 20px;
        a {
            font-size: 12px;
        }
    }
}

.bg-login {
    background: #F6FAFB;
}

.box-registrazione {
    background-color: var(--verdeSfumatura);
    padding: 20px;
    color: var(--verdeChiaro);
    input, select {
        border: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--verde);
        margin-bottom: 15px;
        background: white;
    }
    input[type=submit] {
        border-bottom: 1px solid var(--verde);
        &:hover {
            background: var(--verdeChiaro);
            color: var(--verde);
        }
    }
    textarea {
        border-radius:0;
    }
    a {
        color: var(--verdeChiaro);
    }
    label {
        font-size: 12px;
    }
}

.testo-articolo {
    h2 {
        font-size:18px;
        font-weight: bold;
        color: var(--verde);
    }
    strong {
        color: var(--verde);
    }
    a {
        color: var(--verde) !important;
    }
    h3 {
        font-size:16px;
        font-weight: bold;
        color: var(--verde);
    }
}

.fidelity-form {
    .heading-title-sub {
        font-size:18px;
        color: var(--verde);
    }
    strong {
        color: var(--verde);
    }
    .input-group-text {
        color: white;
        padding-top:0;
    }
    .accordion-button {
        padding:6px;
        background: var(--verde);
        color: white;
        h2 {
            margin-bottom: 0;
            font-weight: lighter;
            font-size:20px;
        }
        &:after {
            color: white;
        }
    }
    .accordion-body {
        padding:0;
    }
}

.cookiesjsr-service-group--intro {
    font-size:12px !important;
}
.cookiesjsr-service--always-on {
    color:white !important;
}

.custom-shape-divider-top-1735572839 {
    display: none !important;
}

img[alt="Lavora con noi"] {
    max-width: 100%;
}

@media screen and (max-width: 992px) {
    .blocco-testo {
        display: none !important;
    }
    .testo-centro {
        text-align: center !important;
    }
    .carousel-item img {
        max-width: 100%;
    }
}


@media screen and (max-width: 1366px) {
    .blocco-testo {
        display: none !important;
    }
    .testo-centro {
        text-align: center !important;
    }
    .carousel-item img {
        max-width: 100%;
    }
}


.form-group {
    .position-absolute {
        max-height: 200px !important;
        overflow: hidden !important;
        overflow-y: scroll !important;
    }
}

.carousel-indicators [data-bs-target] {
    background: #006939;
    border-radius: 100%;
    height: 0;
    width: 20px;
}

.modal-body img {
    display: block;
    margin:0 auto;
    max-width: 500px;
}

.modal-content {
    background: none !important;
    border:0;
}

