/**
 * This file containts the CSS Styles for the header
 * with it's toolbar, the userbar and the whole main navigation
 *
 * @project     OTRS (http://www.otrs.org) - Agent Frontend
 * @copyright   OTRS AG
 * @license     AGPL (http://www.gnu.org/licenses/agpl.txt)
 */

/**
 * @package     Skin "Default"
 * @section     Header
 */

@media screen,projection,tv,handheld {

/**
 * @subsection  Header
 */
#Header {
    height: 72px;
    padding: 10px 0 12px;
    background: rgba(0, 0, 0, 0) url("../img/header_bg.png") repeat-x scroll 0 0;
    color: #FFF;
    position: relative;
    z-index: 10;
}

/**
 * @subsection  Logo
 */
#Logo {
    top: -4px;
    right: 38px;
    width: 244px;
    height: 67px;
    background: url(../img/logo_bg.png) no-repeat;
    position: absolute;
}

.RTL #Logo {
    right: auto;
    left: 38px;
}


/**
 * @subsection  Toolbar
 */
#ToolBar {
    left: 10px;
    top: 10px;
    right: 10px;
    position: absolute;
}

#ToolBar:last-child {
    margin-left: 0px;
}

.RTL #ToolBar {
    float: right;
}

#ToolBar li {
    width: 24px;
    height: 34px;
    margin: 0 5px;
    float: left;
    position: relative;
}

.RTL #ToolBar li {
    float: right;
}

#ToolBar li.Extended {
    width: auto;
}

#ToolBar li.Extended form * {
    float: left;
}

#ToolBar li.Extended form select {
    margin-top: 1px;
}

#ToolBar a {
    height: 20px;
    width: 24px;
    text-indent: -9999px;
    position: relative;
    display: block;
    color: #79b002 !important;
}

#ToolBar a i {
    display: block !important;
    font-size: 18px;
    font-style: normal;
    font-weight: normal !important;
    padding: 0;
    text-align: center;
    text-indent: 0;
    text-shadow: 1px 1px 0 #000000;
    width: 24px;
    position: relative;
    top: -9px;
}

#ToolBar a i.icon-small {
    font-size: 12px !important;
    position: absolute;
    right: -7px;
    text-align: center;
    top: -3px;
    width: 15px;
    display: none !important;
}

#ToolBar .New .icon-small.icon-show-new {
    display: block !important;
}

#ToolBar .Reached .icon-small.icon-show-reached {
    display: block !important;
}

#ToolBar a span.Counter {
    bottom: -14px;
    color: #FFFFFF;
    display: block;
    font-size: 11px;
    left: 50%;
    margin-left: -12px;
    position: absolute;
    text-align: center;
    text-indent: 0 !important;
    width: 24px;
}

/**
 * @subsection  UserInfo
 */

#UserPref {
display: inline !important;
}

#ToolBar li.UserInfo {
    top: 0px;
    right: 17px;
    padding: 4px 25px 0 0;
    color: #BBB;
    font-size: 11px;
    position: absolute;
    cursor: default;
    width: auto;
}

#ToolBar li.UserInfo a {
    color:#78ae02;
}
#ToolBar li.UserInfo a:hover, #ToolBar li.UserInfo a:active {
    color:#478312;
}

.RTL #ToolBar li.UserInfo {
    right: auto;
    left: 17px;
    padding: 4px 0 0 25px;
}

.fa-power-off::before {
    content: none;
}

#Toolbar a.LogoutButton {
    top: 4px !important;
}

.fa-power-off{
    top: 4px !important;
    right: 0px !important;
    width: 20px !important;
    height: 18px !important;
    text-indent: -9999px !important;
    background: url(../img/logout_sprite.png) no-repeat left top;
    position: absolute !important;
}

.RTL .fa-power-off {
    right: auto !important;
    left: 0 !important;
}

.fa-power-off:hover {
    background-position: left bottom;
}

.RTL .fa-power-off:hover {
    background-position: right bottom;
}

#ToolBar li.Last {
   right: 0px;
   position: absolute;
}

/**
 * @subsection      Navigation Level-0
 */

#NavigationContainer {
    position: absolute;
    top: 51px;
    left: 10px;
    z-index: 20;
    width: 98%;
    height: 35px;
    overflow: hidden;
}

#NavigationContainer #Navigation {
    left: 0px;
    position: absolute;
}

.RTL #NavigationContainer {
    left: auto;
    right: 10px;
}

#NavigationContainer > a {
    background: #f3960d;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;
    height: 34px;
    line-height: 28px;
    position: absolute;
    text-align: center;
    width: 20px;
    z-index: 100;
}

#NavigationContainer > a.NavigationBarNavigateRight {
    right: 0px;
}

#NavigationContainer > a.NavigationBarNavigateLeft {
    left: 0px;
}

#NavigationContainer > a:hover {
    padding-top: 1px;
    padding-left: 1px;
    width: 19px;
    height: 33px;
}

#NavigationContainer > a i {
    margin-top: 10px;
    display: block;
}

#NavigationContainer > .fa-check {
    position: absolute;
    font-size: 15px;
    top: 8px;
    color: #777;
    display: none;
}

/**
 * @subsection      Main hover effect
 */

#Navigation > li,
#Navigation > li > a {
    background: url(../img/navigation_sprite.png) repeat-x 0 0;
}

#Navigation > li {
    background: url(../img/navigation_sprite.png) repeat-x 0 0;
    padding-left: 2px;
    padding-right: 0;
    float: left;
    background-position: top left;
    position: relative;
    margin-right: 0px;
    border-bottom: 0px;
}

#Navigation > li > a {
    height: 31px;
    padding: 4px 26px 3px 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 12px;
    color: #DDD;
    background-position: top right;
    text-transform: uppercase;
    display: block;
i}

#Navigation > li > a#GlobalSearchNav {
    padding-right: 21px;
}

#Navigation > li > a#GlobalSearchNav i {
    font-size: 15px;
    margin-top: 5px;
}

.RTL #Navigation > li > a {
    padding: 4px 4px 3px 15px;
}

.RTL #Navigation > li > a#GlobalSearchNav {
    padding-right: 4px;
    padding-left: 26px;
}

#Navigation > li:hover {
    background-position: left -38px;
    background-color: #bce234;
    cursor: pointer;
}

#Navigation > li:hover > a {
    color: #FFF;
    background-position: right -38px;
    background-color: #bce234;
}

#Navigation > li:active {
    background-position: left -114px;
}

#Navigation > li:active > a {
    background-position: right -114px;
}

#Navigation > .Selected {
    background-position: left -76px;
    background-color: #78ae02;
    z-index: 90;
    border: 0px;
}

#Navigation > .Selected > a {
    color: #FFF;
    background-position: right -76px;
    background-color: #78ae02;
}


/**
 * @subsection      Search icon
 */
#Navigation .Search {
    width: 16px;
}

#Navigation a i {
    top: 2px;
    left: 15px;
    font-size: 20px;
    position: absolute;
}

/**
 * @subsection      Navigation Second level
 */

#Navigation > li > ul {
    display: none;
}

#Navigation > .Active > ul {
    position: absolute;
    top: 35px;
    left: 0px;
    display: block;
    min-width: 240px;
    z-index: 99;
    background: #333;
}

.RTL #Navigation > .Active > ul {
    left: auto;
    right: -9px;
}

#Navigation > .Active > ul > li {
    font-size: 11px;
    line-height: 11px;
    margin-top: -1px;
    position: relative;
}

#Navigation > .Active > ul > li:hover {
    background: url(../img/navigation_hover.png) repeat-x;
}

#Navigation > .Active > ul > li:hover > a {
    color: #000;
}

#Navigation > .Active > ul > li > a {
    display: block;
    position: relative;
    color: #DDD;
    padding: 6px 10px 7px 8px;
    border-bottom: 1px solid #555;
}

#Navigation > .Active > ul > li:last-child > a {
    border-bottom: none;
}

} /* end @media */
