body{
    padding-top:66px;
}
.g-doc {
    min-width: 1200px;
    max-width: 1920px;
    margin: 0 auto;
}

.g-hd {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 66px;
}

.g-hd .m-topbar {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.g-hd-adaptive{
    min-width: 1200px;
}
.g-hd-adaptive .m-topbar{
    padding: 16px 50px;
    box-sizing: border-box;
}
.m-topbar {
    position: static;
    padding: 16px 0 16px 0;
    background: #fff;
    -webkit-transition-property:padding-top, background-color;
    transition-property: padding-top, background-color;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

.m-topbar:hover {
    background: #1d2b40;
    background: rgba(28, 42, 64, 0.98);
}

.m-topbar:hover a {
    color: #ffffff !important
}
.m-topbar:hover .user-ring svg path{
    fill: #fff;
}
.m-topbar .user-ring-none{
    display: none;
}
.m-topbar .user-ring{
    position: relative;
    z-index: 0;
}
.m-topbar .user-ring:after{
    content: attr(data-content-text);
    position: absolute;
    z-index: 1;
    color:#fff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    transform: scale(.5);
    -webkit-transform: scale(.5);
    border-radius: 50%;
    background: #F24724;
    right: -12px;
    top: -12px;
}
.m-topbar .user-ring-none:after{
    display: none;
}
.m-topbar .user-ring-empty:after{
    display: none;
}
.m-topbar .user-ring .i-arrowTop{
    position: absolute;
    z-index: 0;
    bottom: -16px;
    left: 1px;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 12px solid #fff;
    border-top-width: 0;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,0.1);
    border-color: transparent transparent #fff;
    opacity: 0;
}
.m-topbar:hover .m-topbar-right-nav_active {
    color: #1983fa !important
}
.m-topbar .user-ring-drop .i-arrowTop{
    opacity: 1;
}
.m-topbar:hover .m-topbar-left a {
    /*background-image: url(https://res.yixinyouxi.cn/yxgame/8a49e81367a10d270167a11734c30003.png);*/
    background-image: url('/resource/images/logo-white.png');
}

.m-topbar:hover .m-topbar-regist-btn {
    border-color: #fff;
    border-color: hsla(0, 0%, 100%, .8)
}

.m-topbar_active {
    background-color: #1d2b40;
    background-color: rgba(29, 43, 64, .98);
}

.m-topbar_active_white {
    background: rgba(255,255,255,.9);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e6e6e6;
}

.m-topbar_active_white .m-topbar-left a {
    /*background-image: url(https://res.yixinyouxi.cn/yxgame/8a49e813679c9b5001679ca351780008.png);*/
    background-image: url('/resource/images/logo-black.png');
}

.m-topbar_active_white a {
    color: #222 !important;
}

.m-topbar_active_white .m-topbar-right-nav_active {
    color: #1983fa !important;
}

.m-topbar_active_white .m-topbar-regist-btn {
    border-color: #1983fa;
}

.m-topbar a {
    color: rgba(255, 255, 255, 1)
}

.m-topbar-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 auto;
    width: 1200px;
}
.g-hd-adaptive .m-topbar-wrap{
    width: 100%;
}
.m-topbar-left a {
    display: inline-block;
    width: 240px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
}

.m-topbar-right,
.m-topbar-right-nav,
.m-topbar-right-login {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.m-topbar-right-login .topbar-user-name{
    position: relative;
}

.m-topbar-right-login .topbar-user-name::after{
    position: absolute;
    top: 50%;
    right: 8px;
    margin-top: -2px;
    border-style: solid dashed dashed;
    border-width: 4px 4px 0;
    border-color: #ddd transparent transparent;
    content: "";
}

.m-topbar-right-login .topbar-dropdown{
    display: none;
    position: absolute;
    right: 5px;
    top: 98%;
    min-width: 106px;
    background-color: #1d2b40;
}

.m-topbar-right-login .topbar-dropdown li{
    height: 46px;
    line-height: 46px;
    text-align: center;
}

.m-topbar-right-login .topbar-dropdown li a{
    color: hsla(0,0%,100%,.4) !important;
}
.m-topbar-right-login .topbar-menu-item:hover .topbar-dropdown{
    display: block;
}

.m-topbar-right-nav li {
    margin-left: 40px;
    font-size: 16px;
}

.m-topbar-right-nav a {
    position: relative;
}
.m-topbar-right-nav a:hover {
    color: #3090fb !important;
}
.m-topbar-right-login .topbar-menu-item{
    position: relative;
    z-index: 0;
    line-height: 28px;
}
.m-topbar-right-login .topbar-menu-item-door{
    line-height:28px;
    padding:0 16px;
    border:1px solid #fff;
    border-radius: 4px;
    margin-left:20px;
}
.m-topbar-right-login .topbar-menu-item-door a{
    padding:0;
}
.m-topbar-right-login .topbar-menu-item-door:hover{
    color:#3090fb !important;
    border-color:#3090fb !important;
}
.m-topbar-right-login .topbar-menu-item-door:hover a{
    color:#3090fb !important;
}
.m-topbar-right-nav .m-topbar-right-nav_active {
    color: #1983fa;
}

.m-topbar-right-nav .m-topbar-right-nav_active::after {
    display: inline-block;
}

.m-topbar-right-nav a:hover:after {
    display: block;
    -webkit-animation: navhoverline 0.5s both;
    animation: navhoverline 0.5s both;
}

.m-topbar-right-nav a:after {
    display: none;
    content: "";
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1983fa;
}

.m-topbar-right-login {
    padding-left: 24px;
}

.m-topbar-right-login a {
    padding: 8px 25px;
    box-sizing: border-box;
    font-size: 14px;
}

.m-topbar-right-login a:hover{
    color:#dbdbdb;
    border-color: #dbdbdb;
    text-decoration: none;
}

.m-topbar-regist-btn {
    display: inline-block;
    margin-top: 1px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid transparent;
    border-color: #fff;
}

/* footer */

.g-ft {
    height: 230px;
    background-color: rgba(7, 1, 17, 1);
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.g-ft-wbg{
    background-color: #fff;
    color:#a0a0a0;
}
.m-ft-1,
.m-ft-2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.m-ft-2 {
    padding-top: 16px;
}

.m-ft-1-right {
    margin-left: 48px;
}
/* animate */

@-webkit-keyframes navhoverline {
    0% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }
    100% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@keyframes navhoverline {
    0% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }
    100% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

