﻿.navbar .navbar-brand-header {
    margin-left: -8px;
    margin-right: 8px;
    color: #777777;
}

.appLogo-header {
    max-width: 121px !important;
    max-height: 35px !important;
    float: left;
    margin-top: 15px;
    margin-left: 20px;
}

.farm-header {
    float: left;
    padding-top: 8px;
    margin-left: 15px;
}

#userbox {
   /* margin: 0px 10px 0 0px;*/
   margin-left: 0;
}

.nav-header li:last-child:hover {
    background-color: rgba(0,0,0, 0.3);
}

    .nav-header li:hover select {
        background-color: rgba(0,0,0, 0.3);
    }

    .nav-header li:hover .dropdown-menu .list-unstyled li {
        background-color: rgba(255,255,255, 0.3);
    }

.nav-header li .dropdown-menu .list-unstyled li {
    border-radius: 10px;
}


li.li-active > a {
    color: #17683a !important;
}
.header-user-dropdown {
    margin-left: 10px;
}

.dropdown-menu {
    background-color: white;
    margin-left: 10px;
    border-radius: 5px;
    margin-top: 2px;
    position: absolute;
    z-index: 60 !important;
    top: 47px !important;
}
.dropdown-button-ul {
    top: 32px !important;
    left: unset !important;
    right: 170px !important;
}
.dropdown-button-ul-trap {
    top: 32px !important;
    right: -2px !important;
    left: unset !important;
}
.dropdown-csv {
    margin-top: -25px;
}

logOffList-header {
    padding: 30px 0 30px 0;
    width: 100%;
}

.navbar .nav-header {
    display: flex;
    -webkit-box-align: stretch;
    align-items: stretch;
    padding-left: 0;
    list-style: none;
}

.nav-header:before {
    content: " ";
    display: table;
}

.nav-header > li {
    position: relative;
    display: block;
    clear: both;
}

.navbar .nav-header li:first-child {
    margin-right: 0;
}

.navbar .nav-header li {
    margin-right: 1em;
    transition: all ease-in-out .3s;
}

.navbar {
    margin-bottom: 0 !important;
    border: none;
    border-radius: 0;
}


.firstheader {
    position: fixed !important;
    z-index: 52;
    width: 100%;
    min-height: 58px;
}

.navbar.firstheader.fixed-bar {
    z-index: 200 !important;
}

.separator-header {
    background-color: #518e6b;
    background-image: -webkit-linear-gradient(#17683a 0%, #8ca092);
    background-image: linear-gradient(#17683a 0%, #8ca092);
    display: inline-block;
    height: 58.5px;
    margin: 0;
    width: 1.5px;
    vertical-align: middle;
    margin-left: 2px;
    margin-right: 2px;
}

.dashLanguage-header {
    height: 58px;
    margin-right: 20px;
    margin-top: 0.5px;
}

select#ddlLanguage {
    margin-top: -1px;
    -webkit-user-select: none;
    background-image: url(../images/arrow-down.png);
    background-size: 12px;
    background-position: 85% center;
    background-repeat: no-repeat;
   /* background-position-y: 53%;*/
}
   /* select#ddlLanguage:before {
        content: "\f107";
    }*/

.dashLanguage-header select option {
    background-color: white;
    color: gray;
    margin: 5px !important;
    width: 300px !important;
}

.dashLanguage-header select {
    height: 100%;
    padding: 0 15%;
    color: white;
    background: #17683a;
    border: #17683a;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    cursor: pointer;
}

.logout-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.name-header {
    float: left;
    margin-bottom: 5px;
}

.custom {
    font-size: 18px;
    font-weight: normal;
    opacity: 0.6;
    color: white;
    padding-right: 10px;
}

#userbox a .toggle:before {
    content: "\f107";
}

#userbox.open > .toggle:before {
    content: "\f106";
}

#userbox.open .dropdown-menu {
    left: -8px;
    width: 103%;
}

.row-stlye {
    margin-top: 70px;
}
#mobileMenuButton-div.openMobileMenu > .arrow-down:before {
    content: "\f106";
}
.userbox .profile-info{
    margin-bottom: 5px;
}
/*-------------------------MEDIA---------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 915px) {
    #userbox {
        /* margin: 0px 10px 0 0px; */
        margin-top: 0;
    }
}
    @media only screen and (max-width: 767px) {
        #agroFleetNav .navbar-header .navbar-brand-header {
            width: 100%;
            padding-bottom: 0;
            text-align: center;
        }

        #userbox.open .dropdown-menu {
            min-width: unset;
            width: 104%;
            text-align: center;
        }

        .farm-header {
            display: none;
        }

        #agroFleetNav ul.nav-header {
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            -webkit-box-align: center;
            align-items: center;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            margin: 0;
            height: 58px;
        }

        #userbox {
            margin: 10px 0px 0 0px;
        }

        .navbar .nav-header li {
            margin-right: 0;
        }

        /*.dropdown-menu {
        margin-left: -120px;
    }*/
        .appLogo-header {
            float: initial;
        }

        .navbar .navbar-brand-header {
            width: 100%;
            padding-bottom: 7px;
            text-align: center;
            float: left;
            /* padding: 7px 7px; */
            font-size: 18px;
            line-height: 20px;
            display: none;
        }

        .appLogo-header {
            margin-left: 0;
        }

        select#ddlLanguage {
            margin-left: 34px;
            padding-right: 10px;
        }
        #viewPlaceHolder {
            margin-left: 0;
            margin-right: 0;
        }
    }

@media only screen and (max-width: 768px) {
/*    #viewPlaceHolder {
         margin-left: 0; 
         margin-right: 0; 
    }*/
}

    @media only screen and (max-width: 400px) {

        .header-user-dropdown {
            margin-left: 0px;
        }

        .userbox .profile-info {
            margin: 0 5px 5px 5px;
        }
    }

    @media only screen and (max-width: 375px) {
        select#ddlLanguage {
            margin-left: -8px;
        }
    }

    @media only screen and (max-width: 320px) {
        select#ddlLanguage {
            margin-left: -14px;
        }
    }