﻿.tabs {
    width: 100%;
    height: 22px;
    z-index: 1;
    padding-left: 5px;
    background-color: #ffffff;
}

.tab {
    position: relative;
    width: 110px;
    float: left;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
    border: solid 1px #a6acb2;
    border-bottom: none;
    margin-left: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    -moz-border-top-right-radius: 5px;
    -moz-border-top-left-radius: 5px;
    background-color: #ffffff;
}

.tab img {
    position: absolute;
    vertical-align: middle;
    padding-left: 3px;
    float: left;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.tab a {
    position: absolute;
    left: 0px;
    width: 110px;
    float: right;
    text-align: center;
}

.tab[selected=false] {
    color: #666;
    background-color: #d1d5da;
    background: -moz-linear-gradient(top, #d1d5da 1%, #aeb3ba 100%);
    background: -webkit-gradient(linear, left top, left bottom,color-stop(1%,#d1d5da), color-stop(100%,#aeb3ba));
    background: -webkit-linear-gradient(top, #d1d5da 1%,#aeb3ba 100%);
    background: -o-linear-gradient(top, #d1d5da 1%,#aeb3ba 100%);
    background: -ms-linear-gradient(top, #d1d5da 1%,#aeb3ba 100%);
    box-shadow: 2px 2px 3px #777;
    background: linear-gradient(top, #d1d5da 1%,#aeb3ba 100%);
}
.tab[selected=false] a {
    color: #666;
    text-decoration: none;
}
.tab[selected=false] a:hover {
    color: #ffcf00;
    text-decoration: none;
}

.tab[selected=true] {
    color: #ffcf00;
    background: -moz-linear-gradient(top, #808080 1%, #555555 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#808080), color-stop(100%,#555555));
    background: -webkit-linear-gradient(top, #808080 1%,#555555 100%);
    background: -o-linear-gradient(top, #808080 1%,#555555 100%);
    background: -ms-linear-gradient(top, #808080 1%,#555555 100%);
    background-color: #555555;
    background: linear-gradient(top, #808080 1%,#555555 100%);
}

.tab[selected=true] a {
    color: #ffcf00;
    text-decoration: none;
    font-weight: bold;
}

/* Menubar Layout */

ul.topnav {
    list-style: none;
    margin: 0px;
    padding: 0px;
    line-height: 28px;
    vertical-align: middle;
    z-index: 1500 !important;
    width: 100%;
    height: 28px;
    background-color: #555555;
    background: -moz-linear-gradient(top, #555555 1%, #292c29 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#555555), color-stop(100%,#292c29));
    background: -webkit-linear-gradient(top, #555555 1%,#292c29 100%);
    background: -o-linear-gradient(top, #555555 1%,#292c29 100%);
    background: -ms-linear-gradient(top, #555555 1%,#292c29 100%);
    box-shadow: 2px 2px 3px #777;
    background: linear-gradient(top, #555555 1%,#292c29 100%);
    border: Solid 1px #555555;
    border-radius: 5px;
    -moz-border-radius: 5px;
    margin-top: -2px;
}
ul.topnav li {
    float: left;
    margin: 0;
    padding: 0 0 0 15px;
    position: relative;
}
ul.topnav li a {
    color: #fff;
    display: block;
    text-decoration: none;
    float: left;
}
ul.topnav li[selected=true] a {
    color: #ffcf00;
    font-weight: bold;
}
ul.topnav li[selected=true] li a {
    font-weight: normal;
}

ul.topnav li a:hover {
    color: #ffcf00;
    text-decoration: none;
}
ul.topnav li span {
    width: 18px;
    height: 28px;
    float: left;
    background: url(../images/subnav_btn.png) no-repeat center right;
}
ul.topnav li span.subhover {
    cursor: pointer;
}
ul.topnav li ul.subnav {
    list-style: none;
    position: absolute;
    left: 0;
    top: 28px;
    background: #333;
    margin-left: 10px;
    padding: 0;
    display: none;
    float: left;
    width: 170px;
    border: 1px solid #111;
    border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    box-shadow: 2px 2px 3px #777;
    z-index: 1500 !important;
}
ul.topnav li ul.subnav li {
    margin: 0;
    padding: 0;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #444;
    clear: both;
    width: 170px;
}
html ul.topnav li ul.subnav li a {
    float: left;
    width: 160px;
    background-color: #333;
    padding-left: 10px;
    color: #fff;
}
html ul.topnav li ul.subnav li a:hover {
    background-color: #222;
    color: #ffcf00;
}
