
a {
    color: #0645AD;
}

a:hover {
    color: #fd641b;
}

header {
    background: #404040;
    height: 50px;
    min-width: 1000px;
}

header.index {
    height: 50px;
}

header .logo {
    margin: 5px 0;
    display: block;
    text-indent: -9999px;
}

header .form-search {
    margin: -5px 0 0 0;
}

header .form-search .input-append {
    height: 30px;
    overflow: hidden;
}

header .form-search .search-query {
    -webkit-border-top-right-radius: 0 !important;
    -webkit-border-bottom-right-radius: 0 !important;
    -webkit-border-bottom-left-radius: 3px !important;
    -webkit-border-top-left-radius: 3px !important;
    -moz-border-radius-topright: 0 !important;
    -moz-border-radius-bottomright: 0 !important;
    -moz-border-radius-bottomleft: 3px !important;
    -moz-border-radius-topleft: 3px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 3px !important;
    border-top-left-radius: 3px !important;
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.15);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.15);
}

header .form-search button {
    background: #ffffff;
    -webkit-border-top-right-radius: 3px !important;
    -webkit-border-bottom-right-radius: 3px !important;
    -webkit-border-bottom-left-radius: 0 !important;
    -webkit-border-top-left-radius: 0 !important;
    -moz-border-radius-topright: 3px !important;
    -moz-border-radius-bottomright: 3px !important;
    -moz-border-radius-bottomleft: 0 !important;
    -moz-border-radius-topleft: 0 !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    -webkit-box-shadow: inset -1px 1px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset -1px 1px 3px rgba(0, 0, 0, 0.15);
    box-shadow: inset -1px 1px 3px rgba(0, 0, 0, 0.15);
}

header .form-search button:hover {
    background: #f2f2f2;
}

header .form-search .icon-search {
    display: block;
    overflow: hidden;
    width: 16px;
    height: 20px;
    background: url(../images/icon-search.png) no-repeat center 2px;
}

header nav {
    margin: 11px 0 0 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
}

header nav .active a {
    color: #f26826 !important;
    background: none !important;
}

header nav li > a {
    background: none !important;
    padding-bottom: 9px !important;
}

header nav a {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    text-align: left;
    color: #ffffff;
    border: none !important;
    text-shadow: none !important;
}

header nav a:hover {
    color: #ffffff !important;
}

header nav .nav-tabs {
    border-bottom: none;
}

.nav-tabs > li.dropdown {
    padding-bottom: 5px;
}
header nav .open .dropdown-toggle,
header nav .nav > li.dropdown.open.active > a:hover {
    background: none !important;
    color: #f26826 !important;
}

header nav ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
    margin: 0;
}

header nav .dropdown-menu {
    background: #ffffff;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -ms-border-radius: 0 !important;
    -o-border-radius: 0 !important;
    border-radius: 0 !important;
}

header nav .dropdown-menu a {
    color: #404040 !important;
    padding: 4px 12px;
}

header nav .dropdown-menu a:hover {
    color: #f26826 !important;
}

header nav ul.nav li.dropdown:hover ul.dropdown-menu {
    border-top: 0px;
    margin: 0px 0px 0px -1px;
}

header nav .dropdown-submenu a {
    padding-right: 20px;
}

header nav li.dropdown a, header nav li.dropdown .lnk {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 170px;
    white-space: nowrap;
    font-weight: 500;
    padding-top: 5px;
    padding-right: 25px;
}

header nav li.dropdown span.lnk {
    color: #fff;
    padding: 9px 12px 9px 12px;
}
header nav li.dropdown-submenu span.lnk {
    color: #404040;
    font-weight: normal;
}
header nav li.dropdown span.lnk:hover {
    color: #f26826;
}
header nav li.dropdown span {
    display: block;
}

.dropdown-submenu>a:after {
    margin-right: -16px;
    padding-right: 2px;
}
li.dropdown ul.dropdown-menu {
    min-width: 100%;
}
header nav li.active-tab > a {
    text-decoration: underline;
}

/*The user icon dropdown in the header*/
#user-icon-top {
    float: right;
    height: 32px;
    width: 32px;
    margin-top: 10px;
    padding-right: 20px;
    padding-left: 8px;
    padding-bottom: 8px;
}
#user-icon-top:hover #user-menu-top {
    display: block;
}
#user-menu-top:hover {
    display: block;
}
#user-menu-top {
    z-index: 100;
    display: none;
    position: absolute;
    top: 50px;
    font-size: 14px;
    background-color: #ffffff;
    color: #404040;
    width: fit-content;
    min-width: 160px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#user-menu-top a {
    display: block;
    color: #404040;
    padding: 14px 12px;
}
#user-menu-top a:hover {
    color: #f26826 !important;
    text-decoration: none !important;
}
#user-menu-top .user-email {
    padding: 10px 20px;
    border-bottom: 1px solid #969696;
}
#user-menu-top a.top-border:nth-child(n+2) {
    border-top: 1px solid #969696;
}
#user-menu-top  .bottom-border {
    border-bottom: 1px solid #969696;
}
