header {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 64px;
    background: rgb(226,226,226);
    background: linear-gradient(90deg, rgba(226,226,226,1) 0%, rgba(108,108,108,1) 100%);
}

header .brand-logo{
    position: fixed;
    height: 64px;
    width: 250px;
    padding: .75rem;
    -webkit-box-shadow: 2px 0 2px -2px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 0 2px -2px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 991px) {
    header .brand-logo{
        width: auto;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

header .brand-logo img{
    max-height: 100%;
    max-width: 100%;
}

header nav {
    padding-left: 250px;
    height: 64px;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
    background: none;
}

@media screen and (max-width: 991px) {
    header nav {
        padding-left: 0;
    }
}

header > nav > li:hover{
    background-color: rgba(255, 255, 255, 0.1);
}

header .dropdown-content{
    top: 100% !important;
    width: auto !important;
    height: auto !important;
}

header .flag-icon {
    max-height: 32px;
    max-width: 24px;
}

header > nav > ul {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

header > nav > ul > li{
    height: 64px;
    float: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

header > nav > ul > li > a{
    height: 64px;
    padding: 0 1rem;
    float: none;
    display: flex !important;
    flex-flow: row nowrap;
    align-items: center;
}
header > nav > ul > li > a{
    height: 64px;
}

.dropdown-content > li{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    height: 48px;
}

.dropdown-content > li > a{
    display: flex !important;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    height: 48px;
    padding: 1rem;
    color: #757575;
    width: 100%;
}

.dropdown-content > li > a > .material-icons{
    width: 24px;
    height: 24px;
    float: none;
    margin-right: 1rem;
}

.dropdown-content h6{
    width: 100%;
    padding: 1rem;
}

#dropdown-languages .flag-icon {
    margin-right: 1rem;
}


header .notification-button {
    position: relative;
}

header .notification-button small{
    position: absolute;
    right: .825em;
    font-size: .7em;
    top: 1.0em;
    height: 1.6em;
    width: 1.6em;
    text-align: center;
    line-height: 1.6em;
    color: white;
    background-color: #ff4081;
    border-radius: 50%;
}

.profile-button {
    top: -.1em;
    position: relative;
}
.profile-button img {
    vertical-align: middle;
    background-color: lightgray;
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
}
.profile-button i {
    position: absolute;
    background-color: #00e676;
    width: .375em;
    height: .375em !important;
    top: 65%;
    right: .6em;
    border-radius: 50%;
    border: 1px solid white;
}

#notifications-dropdown > li:not(.divider)  {
    height: 64px;
}
#notifications-dropdown > li > a  {
    height: 64px;
}
#notifications-dropdown > li > a > .material-icons-wrap {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}
#notifications-dropdown > li > a .material-icons {
    color: white;
    padding: 8px;
}
#notifications-dropdown > li > a > .info {
    line-height: 1em;
}
#notifications-dropdown > li > a > .info > time {
    display: block;
    font-size: .7em;
}
#notifications-dropdown span.badge.new:after {
    content: none;
}
#notifications-dropdown span.badge {
    line-height: 18px;
    height: 18px;
}
#notifications-dropdown .no-new-notifications {
    color: #e4e4e4;
}
#notifications-dropdown .info time.new {
    font-weight: 700;
    color: #4CAF50;
}
#notifications-dropdown .info time {
    transition: all .2s ease-in-out;
}

@media screen and (max-width: 991px) {
    header .brand-logo{
        width: 150px;
    }
}

@media screen and (max-width: 400px) {
    header .brand-logo img{
        display: none;
    }
    header .brand-logo{
        width: 100px;
    }
}