#header {
    background:#a4bfdd;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(10, 107, 189, 0.2);
    margin: 0;
    padding: 0;
}

#header.lab {
    background: #efa97a
}

#primary-nav {
    position: absolute;
    right: 300px;
    top: 0;
    margin-right: 60px;
}

#topMenu {
    float: left;
    width: calc(100% - 200px);
    height: 36px;
}

#topMenu .menuList > li {
    position: relative;
    float: left;
    z-index: 1000;
}
#topMenu .menuList > li > a {
    color:#fff;
    padding:8px 15px;
    text-decoration: none;
    display: block;
}
#topMenu .menuList > li.menubar > a > i {
    display: inline-block;
    margin-left: 3px;
    font-weight: bold;
}
#topMenu .menuList > li:hover > a {
    background:#fff;
    color:#49A5DE;
}
.lab #topMenu .menuList > li:hover > a {
    color: #efa97a
}

#primary-nav > li.menubar > ul {
    width:200px;
    position: absolute;
    left:0;
    display: none;
    margin-left:-1px;
}

#topMenu .menuList > li:hover > ul {
    display: block;
    background:#fff;
    border-bottom: 1px solid #dedede;
    box-sizing: border-box;
    border:1px solid #dedede;
}

#topMenu .menuList li:hover > ul > li {
    border-bottom: 1px solid #eaeaea;
    margin-top: 1px;
    box-sizing: border-box;
    position: relative;
}

#topMenu .menuList > li > ul > li:hover {
    background:#A4BFDD;
    border-bottom: 1px solid #A4BFDD;
}
.lab #topMenu .menuList > li > ul > li:hover {
    background: #efa97a;
    border-bottom: 1px solid #efa97a;
}

#topMenu .menuList > li:hover > ul > li > a {
    padding:5px;
    color:#333;
    display: block;
    text-decoration: none;
    font-weight: normal;
    background:transparent;
}

#topMenu .menuList > li > ul > li:hover > a {
    color:#fff;
}

#topMenu .menuList > li:hover > ul > li > a > i {
    float: right;
    margin-right: 5px;
    font-size: 16px;
}

#topMenu .menuList > li:hover > ul > li > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 198px;
    width: 160px;
}
#topMenu .menuList > li:hover > ul > li > ul a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#topMenu .menuList > li:hover > ul > li:hover ul {
    display: block;
    border: 1px solid #dedede;
    background:#fff;
}

#topMenu .menuList > li:hover > ul > li:hover ul li {
    border-bottom: 1px solid #eaeaea;
    margin-top: 1px;
    box-sizing: border-box;
}

#topMenu .menuList > li:hover > ul > li:hover ul li:hover {
    border-bottom: 1px solid #A4BFDD;
}

#topMenu .menuList > li:hover > ul > li:hover ul li a {
    padding:5px;
    color:#333;
    display: block;
    text-decoration: none;
    font-weight: normal;
}

#topMenu .menuList > li:hover > ul > li:hover ul li a:hover {
    background:#A4BFDD;
    color:#fff;
}
.lab #topMenu .menuList > li:hover > ul > li:hover ul li a:hover {
    background: #efa97a
}

.right-top {
    float: right;
    position: relative;
}
.right-top > a.head-icon {
    width: 60px;
    height: 36px;
    padding: 6px 10px;
    display: inline-block;
}
.right-top > a.home-icon {
    font-size: 20px;
    width: 30px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
}
.right-top > a.home-icon span {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    background: #7ab0ec;
    border: 1px solid #7ab0ec;
    color: #fff;
    border-radius: 24px;
    vertical-align: middle;
    text-align: center;
}
.right-top > a.home-icon:hover {
    background: #7ab0ec;
}
.right-top > a.home-icon:hover span {
    background: transparent;
    border: 0;
}
.right-top ul {
    display: none;
}
.right-top > a.head-icon.hover {
    background: #74aae5;
    text-decoration: none;
    vertical-align: middle;
    text-decoration: none;
    color: #fff;
}
.lab .right-top > a.head-icon.hover {
    background: #f60;
}
.right-top > a.head-icon img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.right-top > a.head-icon:hover img {
    animation: headimg .3s ease-in-out;
    -webkit-animation: headimg .3s ease-in-out;
}
@keyframes headimg {
    0% {
        transform:scale(1);
        -webkit-transform:scale(1);
        -ms-transform:scale(1);
        -moz-transform:scale(1);
        -o-transform:scale(1);
        opacity: 1;
    }
    70% {
        transform:scale(0.5);
        -webkit-transform:scale(0.5);
        -ms-transform:scale(0.5);
        -moz-transform:scale(0.5);
        -o-transform:scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform:scale(1);
        -webkit-transform:scale(1);
        -ms-transform:scale(1);
        -moz-transform:scale(1);
        -o-transform:scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes headimg {
    0% {
        transform:scale(1);
        -webkit-transform:scale(1);
        -ms-transform:scale(1);
        -moz-transform:scale(1);
        -o-transform:scale(1);
        opacity: 1;
    }
    70% {
        transform:scale(0.5);
        -webkit-transform:scale(0.5);
        -ms-transform:scale(0.5);
        -moz-transform:scale(0.5);
        -o-transform:scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform:scale(1);
        -webkit-transform:scale(1);
        -ms-transform:scale(1);
        -moz-transform:scale(1);
        -o-transform:scale(1);
        opacity: 1;
    }
}
.right-top > a.head-icon i {
    opacity: 0;
}
.right-top > a.hover.head-icon i {
    opacity: 1;
}

.right-top ul {
    display: none;
}
.right-top ul.active {
    border: 1px solid #ccc;
    border-top: 0;
    border-bottom: 0;
    position: absolute;
    width: 160px;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0, .2);
    color: #444;
    font-weight: normal;
    z-index: 10;
    display: block;
}
.right-top ul.active a {
    color: #444;
}

.right-top ul.active li {
    padding: 6px 10px;
    border-bottom: 1px solid #ddd;
}
.right-top ul.active li.last {
    border-bottom: none;
}
.right-top ul.active li:hover {
    cursor: pointer;
    background: #74aae5;
    color: #fff;
}
.right-top ul.active li:hover a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.logo-wrap {
    width: 115px;
    float: left;
    padding: 3px 10px;
}
.logo-wrap img {
    width: 100%;
}

/*tabs*/
.orangemenu {
    border-bottom: 1px solid #ccc;
    height: 28px;
    box-sizing: content-box;
}
.orangemenu ul.menuList {
    margin-left:20px;
    height: 27px;
    border: 1px solid #ccc;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom: 0;
    float:left;
}
.orangemenu ul.menuList li {
    float:left;
    margin-right: -1px;
    margin-left: -1px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: #eee;
    
}

.orangemenu ul.menuList li a {
    color:#666;
    padding:5px 10px;
    display: block;
    text-decoration: none;
    font-weight: bold;
    height: 27px;
}

.orangemenu ul.menuList li a:hover {
    background:#e6e6e6;
    color:#333;
}

.orangemenu ul.menuList li.selected {
    box-sizing: border-box;
    background:#fff;
    height: 28px;
}

.orangemenu ul.menuList li.selected a:hover {
    background: #fff;
}
.orangemenu ul.menuList li.selected a {
    padding: 6px 10px 5px 10px;
    color:#49A5DE;
}