/* ===== FOOTER – BARVY ===== */

#footer,
footer {
    background: #13413b !important;
}

#footer,
#footer p,
#footer li,
#footer a,
footer,
footer p,
footer li,
footer a {
    color: #f4f1ea !important;
}

#footer h2,
#footer h3,
#footer h4,
footer h2,
footer h3,
footer h4 {
    color: #ffffff !important;
}

#footer a:hover,
footer a:hover {
    color: #9bc3bb !important;
}


/* ===== ZRUŠENÍ ZLATÉHO PRUHU ===== */

.odber {
    background: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -20px !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

.odber::before,
.odber::after {
    display: none !important;
    content: none !important;
}

.odber-in {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

/* ===== NEWSLETTER BOX ===== */

.custom-footer__newsletter.extended.newsletter {
    background: #1f5a52 !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
}

.custom-footer__newsletter.extended.newsletter > * {
    position: relative !important;
    z-index: 2 !important;
}

/* ===== INPUT ===== */

.custom-footer__newsletter input {
    color: #fff !important;
}

.custom-footer__newsletter input::placeholder {
    color: #fff !important;
    opacity: 1 !important;
}

/* ===== BUTTON ===== */

.custom-footer__newsletter button,
.custom-footer__newsletter .btn,
.custom-footer__newsletter input[type="submit"] {
    background: #13413b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
}

/* ===== DESKTOP (PC) ===== */

@media (min-width: 992px) {

   .custom-footer__newsletter.extended.newsletter {
    max-width: 1120px !important;
    margin: -10px auto -135px auto !important;
    padding: 38px 42px !important;
    border-radius: 28px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(calc(-50% + 14px)) translateY(+25px) !important;
}

    #footer.footer {
        padding-top: 145px !important;
    }

    .custom-footer__newsletter.extended.newsletter::before {
        content: "";
        position: absolute;
        left: 260px;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 260px;
        height: 180px;
        border: 16px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        pointer-events: none;
        z-index: 0;
        box-sizing: border-box;
    }

    .custom-footer__newsletter.extended.newsletter::after {
        content: "";
        position: absolute;
        left: 260px;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 220px;
        height: 120px;
        background:
            linear-gradient(35deg,
                transparent 48%,
                rgba(255,255,255,0.08) 48%,
                rgba(255,255,255,0.08) 52%,
                transparent 52%) left bottom / 50% 100% no-repeat,
            linear-gradient(-35deg,
                transparent 48%,
                rgba(255,255,255,0.08) 48%,
                rgba(255,255,255,0.08) 52%,
                transparent 52%) right bottom / 50% 100% no-repeat;
        pointer-events: none;
        z-index: 0;
    }
}

/* ===== MOBIL ===== */

@media (max-width: 991px) {

    .custom-footer__newsletter.extended.newsletter {
        width: calc(100% - 24px) !important;
        margin: -22px auto -30px auto !important;
        padding: 20px 16px 24px 16px !important;
        border-radius: 24px !important;
        transform: none !important;
        background: #1f5a52 !important;
    }

    #footer.footer {
        padding-top: 45px !important;
    }

    .custom-footer__newsletter.extended.newsletter::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 55%;
        transform: translate(-50%, -50%);
        width: 120%;
        aspect-ratio: 260 / 180;
        height: auto;
        border: 5px solid rgba(255,255,255,0.06);
        border-radius: 14px;
        box-sizing: border-box;
        pointer-events: none;
        z-index: 0;
    }

    .custom-footer__newsletter.extended.newsletter::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 55%;
        transform: translate(-50%, -50%);
        width: 120%;
        aspect-ratio: 220 / 120;
        height: auto;
        background:
            linear-gradient(35deg,
                transparent 48%,
                rgba(255,255,255,0.06) 48%,
                rgba(255,255,255,0.06) 52%,
                transparent 52%) left bottom / 50% 100% no-repeat,
            linear-gradient(-35deg,
                transparent 48%,
                rgba(255,255,255,0.06) 48%,
                rgba(255,255,255,0.06) 52%,
                transparent 52%) right bottom / 50% 100% no-repeat;
        pointer-events: none;
        z-index: 0;
    }
}

#footer .container.footer-rows {
    margin-top: -50px !important;
}