﻿.custom-dropdown img.avatar {
    height: 40px;
}
body img.avatar {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border: solid 1px #ffffff;
    border-radius: 50%;
    margin-right: .5em;
}

body .logo {
    max-width: 110px;
}

.custom-dropdown span {
    font-size: 14px;
}

.main-nav .btn-link:hover {
    color: #f8f9fa;
    text-decoration: none;
}

.nav-responsive li.nav-link.active > a, .nav-responsive li.nav-link:hover > a, .nav-responsive li.nav-link.active > div > a, .nav-responsive li.nav-link:hover > div > a {
    font-weight: bold;
    color: #70bf32 !important;
}

@media (min-width: 992px) {
    .nav-responsive li.nav-link.active, .nav-responsive li.nav-link:hover {
        font-weight: bold;
        border-bottom: 3px solid #70bf32;
    }

    .nav-responsive li.nav-link.active > a , .nav-responsive li.nav-link:hover > a{
        color: #70bf32 !important;
    }
}

.sub-nav .navbar-nav .nav-link {
    color: #70BF32;
    font-size: 15px;
}

    .sub-nav .navbar-nav .nav-link:focus, .sub-nav .navbar-nav .nav-link:hover {
        color: #41AD49;
    }

.custom-dropdown .dropdown-menu {
    z-index: 1021;
}

.custom-dropdown .dropdown-item.active, .dropdown-item:active, .dropdown-item.active, .dropdown-item:hover {
    color: #fff !important;
    text-decoration: none;
    background-color: #70bf32 !important;
}

.custom-dropdown .dropdown-menu {
    right: 0;
    left: inherit;
}

.nav-responsive {
    margin: 0;
    padding: 0;
}

    .nav-responsive ul li {
        color: #70bf32;
    }

body .nav-responsive.scrolled {
    background-color: #70bf32 !important;
    transition: background-color 200ms linear;
    z-index: 1;
}

.nav-responsive .open {
    left: 0;
}

.nav-responsive nav {
    background-color: #34495e;
}

.nav-responsive .logo {
    display: flex;
}

.nav-responsive .toggle {
    display: none;
}

    .nav-responsive .toggle a {
        text-decoration: none;
        color: white;
        display: block;
        font-size: 25px;
    }

@media (max-width: 992px) {
    .nav-responsive .toggle {
        align-items: center;
        display: flex;
    }
}

.nav-responsive .content-menu {
    width: 100%;
    position: relative;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.nav-responsive ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
}

    .nav-responsive ul.dropdown-menu {
        display: none;
    }

        .nav-responsive ul.dropdown-menu.show {
            display: block !important;
        }

.dropdown-item {
    color: rgba(0,0,0,.5) !important;
}

@media (max-width: 992px) {
    .nav-responsive ul {
        align-items: center;
        position: absolute;
        flex-direction: column;
        top: 0;
        left: -1000px;
        transition: 0.3s;
        background-color: white;
        width: 100%;
        height: 100vh;
    }
}

@media (max-width: 992px) {
        .nav-responsive ul li:first-child {
            padding: 15px 10px;
        }

        .nav-responsive ul li.nav-link {
            width: 100%;
            border-bottom: 1px solid #dee2e6;
            padding: 0.75rem 0;
        }
            .nav-responsive ul li > div > a:not(:first-child), .nav-responsive ul li.nav-link a, .nav-responsive ul li.nav-link div.btn-group {
                padding: 0px 2rem;
            }
        .nav-responsive ul li:last-child {
            border: none;
        }

    #collapseOne a, #collapseTwo a, #collapseThree a, #collapseFour a, #collapseFive a {
        padding: 0.75rem 2rem;
    }
}
@media (min-width: 1200px) {
    .nav-responsive ul li.nav-link {
        margin: 0 2rem !important;
        white-space: nowrap;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media (min-width: 994px) and (max-width: 1198px) {
    .nav-responsive ul li.nav-link {
        margin: 0 1rem !important;
        white-space: nowrap;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media only screen and (max-width: 992px) {
    .nav-responsive .content-menu {
        width: 100% !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

@media only screen and (min-width: 992px) {
    li.nav-item {
        padding-left: 1rem;
        padding-right: 1rem;
    }

        li.nav-item.active > a, li.nav-item.active > div > a {
            border-bottom: 4px #71c035 solid;
            height: 36px;
            color: #71c035 !important;
            padding-left: 0px;
            padding-right: 0px;
        }

        li.nav-item > a:hover, li.nav-item > div >  a:hover {
            border-bottom: 4px #71c035 solid;
            height: 37px;
            color: #71c035 !important;
            padding-left: 0px;
            padding-right: 0px;
        }

    li.nav-item > div#dropdownitem > a:hover {
        margin-top: 2px;
        margin-bottom: -1px;
    }

    svg.feather.feather-chevron-down.text-slate-gray {
        height: 19px;
        width: 19px;
    }

    .mx-auto {
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
        color: #71c035 !important;
    }
    .nav-link.dropdown.show {
        color: #71c035 !important;
    }
    li.nav-item a.dropdown-item:hover {
        border-bottom: 0px;
        height: auto;
        color: #ffffff !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .-secondary li.nav-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .-secondary li.nav-item a:hover {
        border-bottom: 0 !important;
        height: 100% !important;
    }
}

.nav-responsive ul li.nav-link > a, .nav-responsive ul li.nav-link .dropdown > a, .nav-responsive ul li.nav-link .accordion > a {
    text-decoration: none;
    color: rgba(0,0,0,.5);
}


.mobile-nav .row > div {
    position: static !important;
    display: none;
}