﻿@media (min-width: 768px) {
    .top-bar__wrapper {
        background-color: #e39f00;
    }
    .top-bar__wrapper .list-inline li a {
        color: #fff;
        font-weight: 500;
    }
    .affix {
        top: 0;
        width: 100%;
    }
    #sckMenu {
        background-color: white;
        z-index: 9999;
    }
    #mainMenu {
        max-height: 48px;
        overflow: hidden;
    }

    .navbar-default .navbar-brand {
        padding: 0;
    }
    #mainMenu .lmain > li > a:hover, #mainMenu .lmain > li > a:focus,
    #mainMenu .lmain > li > a.active {
        text-decoration: underline;
    }

    #mainMenu .navbar-nav > li > a {
        color: #fff;
    }
    #mainMenu .navbar-right.nav-bck {
        background: #e39e00;
        position: relative;
        min-height: 48px;
        line-height: 34px;
    }

        #mainMenu .navbar-right.nav-bck::after {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            clear: both;
            border-style: solid;
            border-color: #e39e00;
            border-color: transparent #e39e00 #4E5B31 transparent;
            line-height: 0px;
            _border-color: transparent #e39e00 #4E5B31 transparent;
            _filter: progid:DXImageTransform.Microsoft.Chroma(color='transparent');
        }

    .navbar-nav #notifications .dropdown-header {
        padding: 8px 20px;
    }
    .topMenu .dropdown {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .topMenu .header-icon {
        outline: none;
        padding: 0;
        position: relative;
        width: 50px;
        font-size: 16px;
        float: right;
        text-align: center;
    }
    .topMenu .caret {
        color: #a1a1a1;
    }

    .topMenu .navbar-nav > li > a:hover {
        text-decoration: underline;
    }

    .navbar-brand-text {
        color: #e39e00;
        text-align: left;
        font-size: 22px;
        float: left;
        margin-top: 28px;
        margin-left: 30px;
        font-weight: 500;
    }

    /*search*/
    .navbar-search {
        position: absolute;
    }
    #search-wrap {
        padding: 13px 15px;
    }
    #wrap {
        background: #fff none repeat scroll 0 0;
        bottom: -47px;
        position: absolute;
        right: 0;
        width: 280px;
        z-index: 99999;
        -webkit-box-shadow: 0px 3px 20px 0px #cccccc;
        -moz-box-shadow: 0px 3px 20px 0px #cccccc;
        box-shadow: 0px 3px 20px 0px #cccccc;
    }
        #wrap .search-term {
            background: #fff none repeat scroll 0 0;
            border: medium none;
            color: #444;
            display: block;
            float: left;
            font-size: 14px;
            font-style: italic;
            padding: 8px 10px;
            width: 234px;
            height: 44px;
        }

        #wrap input[type="submit"], #wrap button {
            background: #F2BE5E;
            border: medium none;
            color: #fff;
            display: inline-block;
            float: right;
            font-size: 17px;
            line-height: 35px;
            padding: 5px 15px;
            text-align: center;
        }
    #navbarTop .navbar-nav > li a {
        color: #465b21;
        font-weight: 500;
    }
    #navbarTop .navbar-nav .language .list-inline > li {
        padding-left: 0;
        padding-right: 0;
    }
    #navbarTop .navbar-nav .language .list-inline {
        margin-left: 20px;
    }
    #navbarTop .navbar-nav .language li:last-child::after {
        content: "";
    }
    #navbarTop .navbar-nav .language li:after {
        content: "/";
        padding: 0 5px;
    }
}
@media (max-width: 767px) {
    .top-bar__wrapper {
        display: none;
    }
    .navbar-header {
        width: 100%;
    }
    .navbar-brand-name {
        font-size: 24px;
        height: 40px;
        line-height: 40px;
    }
    .topMenu {
        margin-left: -15px;
        margin-right: -15px;
        z-index: 2;
        -webkit-transform-origin: 50% 100%;
        -moz-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px 1px;
        height: 40px;
        background-color: #4E5B31;
        position: fixed;
        width: 100%;
    }
    .topMenu .navbar-toggler {
        background-color: #344219;
    }
    .topMenu .navbar-brand {
        margin: 0 !important;
        max-width: 100%;
        display: block;
        padding-right: 1em;
    }
    .topMenu .header-icon {
        height: 40px;
        line-height: 40px;
        outline: none;
        padding: 0;
        position: relative;
        width: 70px;
        font-size: 20px;
        float: right;
        text-align: center;
        color: #fff;
    }
    .topMenu  .bar-line {
        background-color: #fff;
    }
        .topMenu .nav > li > a:hover, .nav > li > a:focus {
            color: #F2BE5E;
        }
    #mainMenu, #notifications-dropdown {
        position: fixed;
        top: 40px;
        left: 0px;
        z-index: 99;
        width: 100%;
        height: 100%;
        background-color: #344219;
        padding: 1.25rem 1.25rem 3.125rem;
        overflow: auto;
    }
    #notifications-dropdown, #notifications {
        background-color: #5d6b3c;
    }

        #mainMenu #slide-navbar-collapse {
            position: fixed;
            top: 0;
            left: 15px;
            z-index: 99;
            width: 280px;
            height: 100%;
            background-color: #ddd;
            overflow: auto;
        }
        #mainMenu .search-option {
            margin-top: 1rem !important;
            height: 35px;
            line-height: 34px;
        }
        #mainMenu .search-term {
            background: #fff none repeat scroll 0 0;
            border: medium none;
            color: #444;
            display: block;
            float: left;
            font-size: 14px;
            font-style: italic;
            padding: 0 10px;
            width: 85%;
        }
        #mainMenu button {
            background: #F2BE5E;
            border: medium none;
            color: #fff;
            display: inline-block;
            float: right;
            font-size: 17px;
            text-align: center;
            padding: 0;
            width: 15%;
        }
        #mainMenu .navbar-language li {
            padding: 0 1rem;
        }
        #mainMenu .lmain {
            /*margin: 1.25rem 0;*/
            margin: 0;
            width: 100%;
            border-bottom: 1px solid rgba(255,255,255,.5);
            border-top: 1px solid rgba(255,255,255,.5);
        }
        #mainMenu .lmain li {
            width: 50%;
            float: left;
            padding: 0 1rem;
        }
        #mainMenu li.dropdown.open {
            color: #fff;
        }
        #mainMenu .dropdown-menu > li > a, .navbar-account-btn {
            line-height: 1.4;
        }
        #mainMenu .dropdown-menu > li:last-child > a, .nav-srch li a {
            padding: 1.2rem 0.5rem !important;
        }
        #mainMenu .navbar-account-btn {
            width: 100%;
            text-align: left;
            background: #697353;
            padding: 1.2rem !important;
        }
        #mainMenu .dropdown-menu .divider {
            background-color: rgba(255,255,255,.5);
            margin: 5px 2px 0 2px;
        }
        .dropdown:not(.dropup) #notifications-dropdown.dropdown-menu:after {
            border-bottom-color: transparent;
        }
    #notifications-dropdown {
        border: none;
        box-shadow: none;
        margin-top: 0;
    }
        #notifications-dropdown .notification-content.p-a-lg {
            overflow: hidden;
            border-bottom: 1px solid rgba(255,255,255,.2);
            /*color: #fff;*/
            display: block;
            line-height: 1.4;
            margin: 0;
            padding: 1.2rem 1rem !important;
        }
}

.navbar-account-btn a, .navbar-account-btn > span {
    color: #fff;
}
#notifications .custom-scrollable-area .list-group-item:first-child {
    border-top: none;
}
#notifications .custom-scrollable-area .list-group-item {
    background: #f2f2f2;
    border: 1px solid #fff;
    margin: 0 !important;
}
