/**
 * 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: #4a4a4a;
    background: -moz-linear-gradient(top,  #000000 0%, #0f0f0f 1%, #4a4a4a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(1%,#0f0f0f), color-stop(100%,#4a4a4a));
    background: -webkit-linear-gradient(top,  #000000 0%,#0f0f0f 1%,#4a4a4a 100%);
    background: -o-linear-gradient(top,  #000000 0%,#0f0f0f 1%,#4a4a4a 100%);
    background: -ms-linear-gradient(top,  #000000 0%,#0f0f0f 1%,#4a4a4a 100%);
    background: linear-gradient(to bottom,  #000000 0%,#0f0f0f 1%,#4a4a4a 100%);
    border-bottom: 1px solid #4c4c4c;
    box-shadow: inset 0px -1px 0px #DDD;
    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 {
    top: 9px;
    left: 14px;
    position: absolute;
}

.RTL #ToolBar {
    left: auto;
    right: 14px;
}

#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;
}

#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;
}

.RTL #ToolBar a span.Counter {
    right: auto;
    left: -5px;
}

/**
 * @subsection  UserInfo
 */
#UserInfo {
    top: 8px;
    right: 17px;
    padding: 4px 25px 0 0;
    color: #BBB;
    font-size: 11px;
    position: absolute;
    cursor: default;
}

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

#UserInfo a.LogoutButton {
    top: 0px;
    right: -4px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    position: absolute;
}

.RTL #UserInfo a.LogoutButton {
    right: auto;
    left: 0;
}

/**
 * @subsection      Navigation Level-0
 */
#Navigation {
    top: 51px;
    left: 10px;
    position: absolute;
    z-index: 20;
}

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

/**
 * @subsection      Main hover effect
 */
#Navigation > li {
    float: left;
    position: relative;
    background: #000000;
    background: -moz-linear-gradient(top,  #000000 0%, #000000 11%, #3a3939 41%, #3a3939 50%, #000000 50%, #000000 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(11%,#000000), color-stop(41%,#3a3939), color-stop(50%,#3a3939), color-stop(50%,#000000), color-stop(100%,#000000));
    background: -webkit-linear-gradient(top,  #000000 0%,#000000 11%,#3a3939 41%,#3a3939 50%,#000000 50%,#000000 100%);
    background: -o-linear-gradient(top,  #000000 0%,#000000 11%,#3a3939 41%,#3a3939 50%,#000000 50%,#000000 100%);
    background: -ms-linear-gradient(top,  #000000 0%,#000000 11%,#3a3939 41%,#3a3939 50%,#000000 50%,#000000 100%);
    background: linear-gradient(to bottom,  #000000 0%,#000000 11%,#3a3939 41%,#3a3939 50%,#000000 50%,#000000 100%);
    border: 1px solid #030303;
    border-right: 1px solid #5f5f5f;
    border-bottom: 1px solid #5f5f5f;
    border-radius: 1px;
}

#Navigation > li > a {
    display: block;
    height: 24px;
    padding: 3px 15px 5px 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 12px;
    color: #DDD;
    text-transform: uppercase;
}

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

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

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

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

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

#Navigation > li:hover {
    border-top: 1px solid #46260d;
    border-left: 1px solid #46260d;
    border-right: 1px solid #5f5f5f;
    border-bottom: 1px solid #5f5f5f;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    cursor: pointer;
    background: #e26e31;
    background: -moz-linear-gradient(top,  #f2b13e 0%, #ed9b39 50%, #eb8435 50%, #e26e31 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2b13e), color-stop(50%,#ed9b39), color-stop(50%,#eb8435), color-stop(100%,#e26e31));
    background: -webkit-linear-gradient(top,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    background: -o-linear-gradient(top,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    background: -ms-linear-gradient(top,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    background: linear-gradient(to bottom,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    -webkit-box-shadow: none;
    box-shadow: none;
}

#Navigation > li:hover > a,
#Navigation > li:active > a {
    color: #FFF;
}

#Navigation > li:hover > span {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    top: 33px;
    left: -1px;
    border-top: none;
    border-left: 1px solid #46260d;
    border-right: 1px solid #5f5f5f;
    border-bottom: 1px solid #5f5f5f;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    background-color: #e26e31;
}

#Navigation > li:active {
    background: #f0a43b;
    background: -moz-linear-gradient(top,  #f0a43b 0%, #e37532 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0a43b), color-stop(100%,#e37532));
    background: -webkit-linear-gradient(top,  #f0a43b 0%,#e37532 100%);
    background: -o-linear-gradient(top,  #f0a43b 0%,#e37532 100%);
    background: -ms-linear-gradient(top,  #f0a43b 0%,#e37532 100%);
    background: linear-gradient(to bottom,  #f0a43b 0%,#e37532 100%);
}

#Navigation > .Selected {
    border: 1px solid #F92;
    -webkit-box-shadow: inset 1px 1px 1px 0px #F92, inset -1px -1px 1px 0px #F92;
    box-shadow: inset 1px 1px 1px 0px #F92, inset -1px -1px 1px 0px #F92;
    z-index: 90;
}

#Navigation > .Selected > a {
    color: #FFF;
}

/**
 * @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: 33px;
    left: -1px;
    display: block;
    min-width: 240px;
    padding: 1px 0px 5px 0px;
    z-index: 99;
    background: #333;
    -webkit-box-shadow: 3px 3px 15px 1px #222;
    box-shadow: 3px 3px 15px 1px #222;
}

.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: #f2b13e;
    background: -moz-linear-gradient(top,  #f2b13e 0%, #ed9b39 50%, #eb8435 50%, #e26e31 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2b13e), color-stop(50%,#ed9b39), color-stop(50%,#eb8435), color-stop(100%,#e26e31));
    background: -webkit-linear-gradient(top,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    background: -o-linear-gradient(top,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    background: -ms-linear-gradient(top,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
    background: linear-gradient(to bottom,  #f2b13e 0%,#ed9b39 50%,#eb8435 50%,#e26e31 100%);
}

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

#Navigation > .Active > ul > li > a {
    display: block;
    position: relative;
    color: #DDD;
    padding: 5px 10px 4px 8px;
    margin: 0px 4px 0px 4px;
    border-bottom: 1px solid #888;
}

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

} /* end @media */