@charset "utf-8";
.topbar {
    width: 100%;
    height: 91px;
}
.topbar .topbar-wrap {
    width: 100%;
    height: 90px;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 90000;
    z-index: 9000;
    background-color: #f6f6f6;
    border-bottom: 1px solid #ccc;
}
/* ================================ main ================================ */

.topbar .main {
    height: 100%;
    text-align: center;
    position: relative;
}
/* ================================ nav ================================ */

.topbar .main .nav {
    display: inline-block;
    vertical-align: middle;
}
.topbar .main .nav.left {}
.topbar .main .nav.right {}
.topbar .main .nav ul {}
.topbar .main .nav ul li {
    display: inline-block;
    vertical-align: middle;
    margin: 0px 30px;
}
.topbar .main .nav ul li a {
    color: #5f1785;
    font-size: 16px;
    line-height: 24px;
}
.topbar .main .nav ul li a:hover {
    color: #c8a063;
}
.topbar .main .nav ul li a.chked {
    color: #c8a063;
}
/* ================================ logo ================================ */

.topbar .main .logo {
    display: inline-block;
    vertical-align: middle;
    margin: 0px 30px;
}
.topbar .main .logo img {
    display: block;
    height: 60px;
}
/* ================================ text ================================ */

.topbar .main .text {
    display: none;
}
/* ================================ flag ================================ */

.topbar .main .flag {
    height: 100%;
    position: absolute;
    left: 100%;
    top: 0px;
    padding-left: 100px;
}
.topbar .main .flag img {
    display: block;
}
/* ================================ topbar-fixed ================================ */

.topbar .topbar-fixed {
    position: fixed;
    right: 0px;
    bottom: 0px;
}
.topbar .topbar-fixed ul {
    display: none;
}
.topbar .topbar-fixed ul li {
    width: 45px;
}
.topbar .topbar-fixed ul li a {
    display: block;
    width: 65px;
    height: 45px;
    line-height: 45px;
    padding-left: 45px;
    color: #fff;
    font-size: 14px;
    background-color: #5f1785;
    position: relative;
    left: 0px;
    margin-top: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 400ms;
    -o-ransition: all 400ms;
    -ms-transition: all 400ms;
    -moz-transition: all 400ms;
    -webkit-transition: all 400ms;
}
.topbar .topbar-fixed ul li.qq a:hover, .topbar .topbar-fixed ul li.weibo a:hover {
    left: -65px;
    background-color: #000;
}
.topbar .topbar-fixed ul li a i {
    width: 45px;
    height: 45px;
    position: absolute;
    left: 0px;
    top: 0px;
    background: 50% 50% no-repeat;
    transition: all 400ms;
    -o-ransition: all 400ms;
    -ms-transition: all 400ms;
    -moz-transition: all 400ms;
    -webkit-transition: all 400ms;
}
.topbar .topbar-fixed ul li.qq a i {
    background-image: url(../../res/imgs/topbar/icon-qq.png);
}
.topbar .topbar-fixed ul li.weibo a i {
    background-image: url(../../res/imgs/topbar/icon-weibo.png);
}
.topbar .topbar-fixed ul li.weixin a i {
    background-image: url(../../res/imgs/topbar/icon-weixin.png);
}
.topbar .topbar-fixed ul li.back-to-top a {
    width: 45px;
    padding-left: 0px;
    background-color: #ccc;
    text-align: center;
}
.topbar .topbar-fixed ul li.back-to-top a:hover {
    background-color: #666;
}
.topbar .topbar-fixed ul li.back-to-top a i {
    width: 9px;
    height: 9px;
    position: absolute;
    left: 18px;
    top: -5px;
    background-color: #ccc;
    transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
}
.topbar .topbar-fixed ul li.back-to-top a:hover i {
    background-color: #666;
}
.topbar .topbar-fixed ul li.weixin .msg {
    display: none;
    width: 150px;
    height: 150px;
    position: absolute;
    left: -163px;
    bottom: 0px;
    border: 1px solid #888;
    border-radius: 5px;
    background: url(../../res/imgs/code-weixin.jpg) 50% 50% no-repeat;
    background-size: 150px auto;
    background-color: #fff;
}
.topbar .topbar-fixed ul li.weixin .msg i {
    width: 9px;
    height: 9px;
    position: absolute;
    right: -6px;
    bottom: 16px;
    border: 1px solid #888;
    border-left-color: transparent;
    border-bottom-color: transparent;
    background-color: #fff;
    transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
}
@media (min-width: 1px) and (max-width: 1310px) {
    /* ================================ flag ================================ */
    .topbar .main .flag {
        padding-left: 20px;
    }
}
@media (min-width: 1px) and (max-width: 1130px) {
    /* ================================ flag ================================ */
    .topbar .main .flag {
        display: none;
    }
}
@media (min-width: 1px) and (max-width: 1100px) {
    /* ================================ topbar-fixed ================================ */
    .topbar .topbar-fixed {
        display: none;
    }
}
@media (min-width: 1px) and (max-width: 1024px) {
    .topbar {
        height: 51px;
    }
    .topbar .topbar-wrap {
        height: 50px;
    }
    /* ================================ main ================================ */
    .topbar .main {
        text-align: left;
    }
    /* ================================ nav ================================ */
    .topbar .main .nav {
        display: none;
    }
    .topbar .main .nav.left {}
    .topbar .main .nav.right {}
    .topbar .main .nav ul {}
    .topbar .main .nav ul li {}
    .topbar .main .nav ul li a {}
    .topbar .main .nav ul li a:hover {}
    .topbar .main .nav ul li a.chked {}
    /* ================================ logo ================================ */
    .topbar .main .logo {
        margin: 0px;
        margin-left: 10px;
    }
    .topbar .main .logo img {
        height: 40px;
    }
    /* ================================ text ================================ */
    .topbar .main .text {
        display: inline-block;
        vertical-align: middle;
        color: #5f1785;
        font-size: 16px;
        margin-left: 10px;
    }
    /* ================================ flag ================================ */
    .topbar .main .flag {
        display: block;
        left: auto;
        right: 10px;
        padding-left: 0px;
    }
    .topbar .main .flag img {}
}