.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

#sidebar .nav-item > a > i {
    font-size: 1.5rem;
    vertical-align: sub;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    padding-top: 56px;
    padding-bottom: var(--spravce-footer-height);
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}


#sidebar {
    min-width: 250px;
    max-width: 250px;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

    #sidebar.active {
        margin-left: -250px;
        transform: rotateY(100deg);
    }

    #sidebar ul.components {
        padding: 0px 0;
    }

    #sidebar ul p {
        color: rgb(var(--spravce-white));
        padding: 10px;
    }

    #sidebar ul li a {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 1px;
        padding-bottom: 1px;
        font-size: 0.95rem;
        display: block;
        text-decoration: none;
        font-weight: 500 !important;
        color: var(--spravce-black);
    }

        #sidebar ul li a:hover {
            color: rgb(var(--spravce-white));
            background: rgb(var(--spravce-lightblue));
        }

            #sidebar ul li a:hover > i {
                color: inherit !important;
                background: inherit;
            }

    #sidebar ul li.active > a {
        color: rgb(var(--spravce-white));
        background: rgb(var(--spravce-blue));
    }

        #sidebar ul li.active > a > i {
            color: rgb(var(--spravce-white)) !important;
        }

            #sidebar ul li.active > a > i:hover {
                color: rgb(var(--spravce-white));
            }

.sticky-offset {
    top: 65px;
}

a[data-toggle="collapse"] {
    position: relative;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: transparent;
    cursor: pointer;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }

        #sidebar.active {
            margin-left: 0;
            transform: none;
        }
}

@media only screen and (min-width: 768px) {
    #content {
        overflow-y: auto;
    }
}

/* ---------------------------------------------------
    FOOTER
----------------------------------------------------- */

:root {
    --spravce-footer-height: 2rem;
}

#footer {
    height: var(--spravce-footer-height);
    column-gap: 1rem;
}

/* Na telefonech se obsah footeru na jednu řádku nevejde, proto se skládá
   pod sebe. Výška footeru i odsazení obsahu se řídí jednou proměnnou. */
@media (max-width: 575.98px) {
    :root {
        --spravce-footer-height: 3rem;
    }

    #footer {
        flex-direction: column;
        row-gap: 0;
        line-height: 1.15;
        font-size: 0.8125rem;
    }
}
