#sidebar {
    background: var(--custom-primary-dark);
    color: #fff;
    height: 100vh;
    transition: .5s ease-in-out;
}

#sidebar .sidebar-header {
    background: var(--custom-secondary-dark);
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid var(--custom-secondary-light);
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: var(--custom-primary-light);
    background: #fff;
}

#sidebar ul li.active {
    color: #fff;
    background: var(--custom-secondary-dark);
}

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

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: var(--custom-secondary-dark);
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

ul.CTAs {
    padding: 20px;
}

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

a.btn-white {
    background: #fff;
    color: var(--custom-primary-dark);
}

a.article,
a.article:hover {
    background: var(--custom-secondary-dark) !important;
    color: #fff !important;
}

#sidebarCol {
    transition: all 0.3s;
    z-index: 400;
}

#sidebarCol.close {
    margin-left: -520px;
}

#flashMessage.alert {
    bottom: 8px;
    z-index: 5;
    position: absolute;
    width: 94%;
}

#searchMessages button, #searchProperties button {
    border-top: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    border-left: none !important;
    border-radius: 0.25rem;
    background-color: #fff;
}

@media (max-width: 575px){
    .btn-full-width {
        width: 100% !important;
    }
    .btn-static-width {
        width: 200px !important;
    }
}

/* Media queries */
@media (max-width: 768px){
    #sidebar {
        width: 275px;
    }
}

.overlay {
    background-color:#EFEFEF;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 300;
    top: 0px;
    left: 0px;
    opacity: .5; /* in FireFox */
    filter: alpha(opacity=50); /* in IE */
}

#copyRight {
    position: absolute;
    bottom: 3px;
    width: 100%;
    text-align: center;
}
