header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

header .navbar-nav .nav-link {
    color: var(--site-color-900);
    padding: 15px 25px !important;
    font-size: 20px;
    font-weight: 600;
}

header .navbar-nav .nav-link.active {
    color: var(--site-color-900);
    font-weight: bold;
}

header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: fixed;
    top: 0px;
    z-index: 101;
}

header.sticky-header .navbar-nav .nav-link {
    color: #fff;
}

header.sticky-header .navbar-nav .nav-link.active {
    color: #fff;
    font-weight: bold;
}

header.sticky-header {
    background-image: linear-gradient(45deg, var(--site-color-900), var(--site-color-700));
}


.dark-logo,.light-logo {
    height: 40px;
}

.light-logo {
    display : none;
}

.sticky-header .dark-logo {
    display : none;
}

.sticky-header .light-logo {
    display : inline-block;
}

@media only screen and (max-width : 600px) {
    .light-logo {
        display : inline-block;
    }
    .dark-logo {
        display : none;
    }
}


.nav-menu {
    opacity: 0;
    visibility: hidden;
    padding: 0px;
    border: none;
    background: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    position: absolute;
    right: 0px;
    top: 100px;
    margin-top: 0px;
    width: 400px;
    background-color: #fff;
    box-shadow: 0px 0px 20px #00000029;
    border-radius: 5px;
}

header .navbar-nav .nav-item:hover>.nav-menu {
    opacity: 1;
    visibility: visible;
    top: 50px;
}

.nav-sub-menu {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

header .navbar-nav .nav-item {
    position: relative;
}

.nav-menu:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #fff;
    top: -10px;
    right: 30px;
}

.nav-menu>span {
    color: var(--site-color-400);
    padding: 10px;
    display: block;
}

.nav-sub-menu>li {
    display: flex;
}

.nav-sub-menu>li>a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: var(--site-color-900);
    width: 100%;
    padding: 5px 10px;
    align-items: center;
}

.nav-sub-menu>li:hover>a {
    background-color: var(--site-color-100);
}

.nav-sub-menu>li>a > img {
    max-width: 50px;
    height: auto;
    margin-right: 10px;
}


@media only screen and (max-width: 600px) {
    header {
        background-image: linear-gradient(45deg, var(--site-color-900), var(--site-color-700));
    }

    .navbar-collapse {
        background-color: var(--site-color-100);
        border-radius: 10px;
        padding: 0px 15px;
    }

    .navbar-collapse .nav-menu {
        visibility: visible;
        position: relative;
        opacity: 1;
        top: 0px;
        left: 0px;
        margin: 10px 0px;
        width: 100%;
        max-width: 100%;
    }

    .nav-menu:before {
        left: 20px;
        right: unset;
    }
}
