/* 通用 */
/* #region */
*{
    padding: 0;
    border: 0;
    margin: 0;
    color: #3f4d5a;
}
html{
    font-size: 12px !important;
}
li{
    list-style: none;
}
a{
    color: #333;
}
.mainbody{
    max-width: 85rem;
    margin: 0 auto;
}
.labelTitle{
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 5rem;
}
.mask {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}
.mask>div{
    position: relative;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mask>div>div{
    position: relative;
}
.mask .closemask{
    display: none;
    background: white;
    width: 3rem;
    height: 3rem;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 0.1rem 1rem;
}
.mask .closemask>img{
    width: 100%;
}
.carousel-control{
    margin: 0;
}
.mainbody.carousel-control{
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    pointer-events: none;
}
.carousel-control-next, .carousel-control-prev{
    opacity: .3;
    pointer-events: auto;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    border-radius: 50%;
    transition: opacity 0.3s;
    width: 3.6rem;
    height: 3.6rem;
}
.carousel-control-next-icon {
    background: rgba(0,0,0,0.7) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='23' height='23' viewBox='0 0 8 8'%3e%3cpath d='M1.92,7.47l3.42-3.42c0.02-0.02,0.02-0.06,0-0.09L1.92,0.52C1.86,0.47,1.83,0.4,1.83,0.32V0.29C1.83,0.13,1.96,0,2.12,0 h0.04c0.07,0,0.15,0.03,0.2,0.08L6.1,3.82c0.1,0.1,0.1,0.26,0,0.35L2.36,7.91C2.31,7.96,2.23,8,2.14,8l0,0 C1.97,8,1.83,7.86,1.83,7.69l0,0C1.83,7.61,1.87,7.53,1.92,7.47z'/%3e%3c/svg%3e") no-repeat center!important;
}
.carousel-control-prev-icon {
    background: rgba(0,0,0,0.7) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='23' height='23' viewBox='0 0 8 8'%3e%3cpath d='M6.17,7.69L6.17,7.69C6.17,7.86,6.03,8,5.86,8l0,0C5.77,8,5.69,7.96,5.64,7.91L1.9,4.18c-0.1-0.1-0.1-0.26,0-0.35l3.74-3.74 C5.7,0.03,5.77,0,5.85,0l0.04,0c0.16,0,0.29,0.13,0.29,0.29v0.04c0,0.07-0.03,0.15-0.08,0.2L2.65,3.96c-0.02,0.03-0.02,0.07,0,0.09 l3.42,3.42C6.13,7.53,6.17,7.61,6.17,7.69z'/%3e%3c/svg%3e") no-repeat center!important;
}
.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover{
    opacity: 0.7;
}
/* #endregion */

/* 头部菜单 */
/* #region */
.web_nav{
    position: fixed;
    display: flex;
    justify-content: center;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all .3s;
}
.web_nav .body{
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}
.web_nav .logo{
    height: calc((10/3)*1rem);
    background: rgba(255, 255, 255, 0.8);
    width: 12.5rem;
    padding: 0.3rem 0.12rem;
    text-align: center;
    border-radius: calc((10/3)*1rem);
    /* outline: 1px solid rgba(255, 255, 255, 0.2); */
}
.web_nav .logo>img{
    width: auto;
    height: 100%;
}
.web_nav .age{
    position: absolute;
    height: calc(100% - 2rem);
    left: 15rem;
}
.web_nav .navbar{
    font-size: 1.166rem;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 2rem;
    height: calc((10/3)*1rem);
}
.web_nav .navbar>div{
    display: flex;
    align-items: center;
}
.web_nav .navbar>div>div{
    margin: 0 0.5rem;
}
.web_nav .navbar .gamelist{
    position: relative;
    display: flex;
    justify-content: center;
}
.web_nav .navbar .gamelist>span{
    cursor: pointer;
    color: white;
}
.web_nav .navbar .gamelist>span *{
    color: white;
}
.web_nav .navbar .gamelist>ul a{
    padding: 1rem;
    width: 100%;
    text-align: center;
    display: block;
}
.web_nav .navbar .gamelist>ul a:hover{
    background-color: rgba(51, 51, 51, 0.5);
}
.web_nav .navbar .gamelist>ul a:first-child{
    border-bottom: 1px solid rgba(51, 51, 51, 0.2);
}
.web_nav .navbar .gamelist>ul{
    position: absolute;
    background-color: white;
    display:none;
    flex-direction: column;
    align-items: center;
    width: max-content;
    min-width: 12rem;
    top: 2.6rem;
    border: 1px solid rgba(51, 51, 51, 0.2);
    border-radius: 0.3rem;
}
.web_nav .navbar .gamelist>ul a:hover{
    color: unset;
    text-decoration: unset;
}
.web_nav .navbar .contact ul{
    margin-bottom: 0;
    display: flex;
    align-items: center;
}
.web_nav .navbar .contact ul li{
    float: left;
    margin: 0 0.5rem;
}
.web_nav .navbar .contact ul li>a{
    color: white;
}
.web_nav .navbar .contact ul li>a:hover{
    text-decoration:none;
}
.web_nav .navbar .contact ul li span{
    font-size: 1.5rem;
    color: white;
}
.web_nav .navbar .contact ul li .wechat{
    display: flex;
    justify-content: center;
}
.web_nav .navbar .contact ul li .wechat:hover img{
    display: block;
}
.web_nav .navbar .contact ul li .wechat img{
    transition: all .3s;
    position: absolute;
    top: 3.3rem;
    display: none;
    background-color: white;
    padding: 0.5rem;
    border: 1px solid rgba(51, 51, 51, 0.2);
    border-radius: 0.3rem;
}
/* 高亮状态 */
.lightNav{
    background: #eee;
    box-shadow: 0px 0px 1rem rgba(0,0,0,0.05);
}
.lightNav .logo{
    outline: unset;
    background: unset;
}
.lightNav .navbar{
    background: unset;
    color: unset;
}
.lightNav .navbar .contact *,.lightNav .navbar .gamelist>span{
    color: #3f4d5a!important;
}
.lightNav .navbar .gamelist>span *{
    color: #3f4d5a!important;
}
/* #endregion */

/* 移动端头部 */
/* #region */
.web_nav .wap>div {
    position: absolute;
    width: 100%;
    top: 5.3rem;
    left: 0;
    background: white;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 1.5rem;
    display: none;
}

.web_nav .wap {
    position: unset;
    padding: unset;
}
.web_nav .wap>button {
    display: none;
}
.web_nav .wap>div {
    box-shadow: 0px 5px 10px -5px #eee
}
.web_nav .wap>div>div {
    padding: 0 1.5rem;
}

.web_nav .wap .gamelist {
    width: 100%;
    margin: unset;
}
.web_nav .wap .gamelist>span {
    display: none;
}

.web_nav .wap .gamelist>ul {
    display: flex;
    position: unset!important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    width: inherit;
    background-color: unset;
    border: unset;
}

.web_nav .wap .gamelist>ul li {
    display: inline-block;
}
.web_nav .wap .gamelist>ul a {
    border: 1px solid #eee!important;
    margin-bottom: 1rem;
    border-radius: 0.3rem;
    width: calc(50% - 1rem);
    float: left;
}
.web_nav .wap .gamelist>ul a:first-child {
    width: 100%;
    margin-right: unset!important;
    margin-left: unset!important;
}
.web_nav .wap .gamelist>ul a:nth-child(even) {
    margin-right: 1rem;
}
.web_nav .wap .gamelist>ul a:nth-child(odd) {
    margin-left: 1rem;
}
.web_nav .wap .contact ul li * {
    color: #3f4d5a!important;
}
.web_nav .wap .contact{
    width: 100%;
    margin-top: 1rem;
}
.web_nav .wap .contact ul{
    justify-content: space-between;
}
/* #endregion */

/* 游戏列表 */
/* #region */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem 0 0;
}
.content>a {
    width: calc(50% - 4rem);
    display: inline-block;
    margin: 2rem;
    position: relative;
}
.content>a:hover {
    text-decoration: underline white;
}
.content>a>img {
    width: 100%;
}
.content .more{
    width: 100%;
}
.content .more>div{
    text-align: center;
}
.content .mini{
    width: calc(50% - 4rem);
}
.content .title {
    background: rgba(0,0,0,.5);
    padding: 1rem;
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
}
.content .title *{
    color: white;
}
.content>a:hover .title >h4,.content>a:hover .title >span{
    text-decoration: underline;
}
.content .title >span{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
/* #endregion */

/* 游戏详情 */
/* #region */
.gamemain{
    position: relative;
}
.gamemain .logo{
    max-width: 100%;
    margin: 2rem auto;
}
.gamemain .mainbody{
    text-align: center;
}
.gamemain .down{
    margin-bottom: 5rem;
}
.gamemain .down>a{
    margin: 0 2rem;
}
.gamemain .down img{
    width: 12rem;
}
.gamemain .richtext *{
    text-align:left
}
.gamemain .gamepic{
    display: flex;
    flex-wrap: wrap;   
}
.gamemain .gamepic>img{
    width: calc(100% / 3);
    padding: 1.5rem;
}
.gamemain .gamebody{
    overflow: hidden;
}
.gamemain .gamebody .swiper img,.jslghtbx-next, .jslghtbx-prev{
    padding: unset!important;
}
.gamemain .gamebody .head>img{
    /* position: absolute;
    top: 0;
    left: 50%;
    margin-left: -953px;
    z-index: 0; */
    padding: unset;
}
.gamemain .gamebody .mainbody img{
    padding: 0 2rem;
    max-width: 100%;
}
.gamemain .gamebody .head{
    position: relative;
    display: flex;
    justify-content: center;
}
.gamemain .gamebody .head>div{
    position: absolute;
    top: 42rem;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 1;
}
.gamebody .main>img{
    margin: 2rem 0;
}
.gamebody .endvideo{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}
.gamebody .endvideo .play{
    position: absolute;
    animation: plays 1s linear infinite;
    height: 35%;
    max-height: 10rem;
}
@keyframes plays {100% {opacity:0; transform:scale(1.3);}}
.gamebody .bottombg{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}
.gamebody .bottombg>img{
    width: 100%;
}
.downlist{
    display: flex;
    flex-wrap: wrap;
    max-width: 75rem!important;
    margin: 1.5rem auto!important;
}
.downlist>li{
    display: inline-block;
    padding: 0.5rem;
}
.downlist>li img{
    max-width: 15rem;
}
#carousel .downlist{
    position: absolute;
    width: 100%;
    bottom: 170px;
    left: 0;
    right: 0;
    margin: 0 auto;
    pointer-events: auto;
}
/* #endregion */

/* 关于我们 */
/* #region */
.about{
    padding-top: 1rem!important;
}
#about_img{
    display: flex;
    flex-wrap: wrap;
}
#about_img>figure {
    width: calc(25% - 4rem);
    margin: 2rem;
}
#about_img img {
    width: 100%;
}
/* #endregion */

/* 尾部菜单 */
/* #region */
.web_foot{
    background: #151316;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    margin-top: 10rem;
}
.web_foot *{
    color: gray;
}
.web_foot * a:hover{
    color: white;
}
.web_foot box{
    display: block;
    width: 100%;
    position: relative;
}
#footMenu ul,.web_foot .contact ul{
    display: flex;
    flex-wrap: wrap;
}
#footMenu ul li,.web_foot .contact ul li{
    display: inline-flex;
    border-left: 1px solid #3f4d5a;
    flex-basis: 0;
    flex-grow: 1;
    margin-bottom: 1rem;
    justify-content: center;
}
#footMenu ul li:nth-child(4n),.web_foot .contact ul li:nth-child(4n),#footMenu ul li:last-child,.web_foot .contact ul li:last-child{
    border-right: 1px solid #3f4d5a;
}
#footMenu ul li a,.web_foot .contact ul li a{
    color: #eee;
    position: relative;
}
.web_foot .contact ul li a>span{
    margin-right: 0.3rem;
    color: white;
}
.web_foot .wechat:hover>img{
    display: block;
}
.web_foot .wechat>img{
    transition: all .3s;
    position: absolute;
    bottom: 3rem;
    display: none;
    background-color: white;
    padding: 0.5rem;
    border: 1px solid rgba(51, 51, 51, 0.2);
    border-radius: 0.3rem;
    left: -50%;
}
.web_foot .info{
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid #2c2c2c;
    border-bottom: 1px solid #2c2c2c;
}
.web_foot .info>div{
    width: 50%;
}
.web_foot .copyright{
    text-align: center;
    margin-top: 2rem;
}
.web_foot .subicon {
    position: absolute;
    top: -1.9rem;
    right: 0;
}

.web_foot .subicon>img {
    max-height: 8rem;
    position: absolute;
    right: 0;
    bottom: 0;
}
/* #endregion */

/* 响应式 */
/* #region */
@media (min-width: 576px){
    /* .wap>div>div,.mainbody{
        max-width: 45rem;/*540*/
    /* } */
}
@media (max-width: 575px) {
    .content{
        flex-direction: column;
    }
}
@media (max-width: 767.98px){
    .gamemain,#carousel{
        margin-top: 64px;
    }
    .gamemain .gamecenter{
        width: 220%;
        margin-left: -60%;
    }
    .gamebody .banner_bg{
        display: none;
    }
    .gamebody .banner_wap{
        display: block;
        left: 0!important;
        position: relative!important;
        margin-left: unset!important;
        width: 100%;
    }
    .gamemain .gamebody .mainbody img{
        padding: 0;
    }
    .mainbody{
        margin: auto 2rem;
    }
    .content>a,.content .mini{
        width: 100%;
        margin: 2rem 0;
    }
    .gamemain .gamebody .head>div{
        top: unset;
        bottom: 3rem;
    }
    .web_foot .subicon>img{
        max-height: 4rem;
    }
    .web_foot{
        margin-top: 5rem;
    }
    .gamebody .main .t2_gameinfo{
        margin: 0rem 0 1rem
    }
    .gamemain .logo{
        margin: 1rem 0 2rem;
    }
    .richtext{
        margin: 0 auto 1rem!important;
        width: 100%!important;
    }
    .indexAbout{
        padding: 0 2rem;
    }
    .gamemain .gamepic>img{
        padding: 1.5rem 0!important;
    }
    .gamecenter .swiper-pagination-bullet{
        width: 1.5rem!important;
        height: 1.5rem!important;
    }
    #about_img>figure{
        width: 50%;
        margin: 2rem 0 0;
        padding-right: 1rem;
    }
    #about_img>figure:nth-child(2n){
        padding-left: 1rem;
        padding-right: unset;
    }
    .gamebody .bottombg{
        margin-top: 5rem;
    }
    .gamebody .bottombg>img {
        width: 100%;
    }
    #carousel .downlist{
        bottom: 70px;
        max-width: 15rem!important;
    }
    #carousel .downlist>li img{
        max-width: 8rem;
    }
}
@media (min-width: 768px) {
    /* .wap>div>div,.mainbody{
        max-width: 60rem;/*720*/
    /* } */
    .wap>div>div,.mainbody{
        max-width: 70rem;/*720*/
    }
    .gamebody .banner_bg{
        display: block;
    }
    .gamebody .banner_wap{
        display: none;
    }
    .gamebody .main .t2_gametitle{
        margin-top: 5rem;
    }
    .downlist{
        max-width: 50rem!important;
    }
}
@media (min-width: 992px) {
    .wap>div>div,.mainbody{
        max-width: 80rem;/*960*/
    }
    .downlist{
        max-width: 50rem!important;
    }
}
@media (min-width: 1200px) {
    .wap>div>div,.mainbody{
        max-width: 95rem;/*1140*/
    }
    .swiper{
        height: auto!important;
        max-height: unset!important;
    }
}
@media (min-width: 1920px) {
    .gamemain .gamebody .head>img{
        width: 100%;
    }
    .gamemain .gamebody .head>div{
        top: 48rem;
    }
}

@media (max-width: 768px) {
    .web_nav{
        background: white;
        box-shadow: 0px 0px 1rem rgba(0,0,0,0.05);
    }
    .web_nav .logo{
        border: 1px solid #eee;
        background: unset
    }
    .web_nav .navbar{
        background: unset;
        color: unset;
    }
    .web_nav .navbar>button{
        padding: 0.25rem 0.75rem;
        font-size: 1.6rem;
        line-height: 1;
        background: unset;
        border: 1px solid #eee;
        border-radius: 0.3rem;
        display: block;
    }
    .web_nav .navbar>button>span{
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
    }

    #footMenu ul li,.web_foot .contact ul li{
        padding: 0 0.5rem;
        border: unset;
    }
    #footMenu ul li:nth-child(4n), .web_foot .contact ul li:nth-child(4n), #footMenu ul li:last-child, .web_foot .contact ul li:last-child{
        border: unset;
    }
    #footMenu ul{
        justify-content: center;
    }
    .web_foot .contact ul li{
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 2rem;
    }
    .web_foot .contact ul li a{
        justify-content: left;
    }

    .web_foot .info{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .web_foot .info>div{
        width: 100%;
        padding: 0 1rem;
    }
    #swiper{
        margin-top: 3rem;
    }
    .gamemain .gamepic>img{
        width: 100%;
    }
}
/* #endregion */

/* 编辑器 */
/* #region */
.richtext{
    color: #3f4d5a;
    margin: 0 auto 3rem;
    line-height: 1.8rem;
    color: #3f4d5a;
    line-height: 1.8rem;
    width: calc(100% - 3rem);
}
.richtext *{
    font-size: calc((16/12)*1rem);
}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2
}
.h1,h1 {
    font-size: 2.5rem!important;
}
.h2,h2 {
    font-size: 2rem!important;
}
.h3,h3 {
    font-size: 1.75rem!important;
}
.h4,h4 {
    font-size: 1.5rem!important;
}
.h5,h5 {
    font-size: 1.25rem!important;
}
.h6,h6 {
    font-size: 1rem!important;
}
.richtext table {
    border-collapse: collapse;
    max-width: 100%;
    width: 100%;
}
.richtext table td, .richtext table th {
    border: 1px solid #eee;
    padding: 16px;
    padding-bottom: 15px;
}
.richtext h1, .richtext h2, .richtext h3, .richtext h4, .richtext h5, .richtext h6 {
    margin: 24px 0 16px;
    font-weight: 600;
    color: #111;
}
.richtext ol, .richtext ul {
    margin: 1em 0;
}
.richtext ol, body.ltr .richtext ul {
    padding-left: 2em;
}
.richtext ol li, .richtext ul li {
    text-align: left;
    list-style-type: decimal;
}
.richtext ol ol li {
    list-style-type: lower-alpha;
}
.richtext ol ol ol li {
    list-style-type: lower-roman;
}
.richtext ul li {
    list-style-type: disc;
}
.richtext blockquote:not(.note) {
    border-left: 4px solid rgba(51,64,77,.1);
}
.richtext blockquote:not(.note) {
    padding: 0 16px;
    color: #596673;
}
.richtext blockquote {
    margin: 16px 0;
}
.richtext blockquote {
    font-style: italic;
    color: rgba(0,0,0,.5);
    border: none;
}
.richtext img {
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
.richtext embed, .richtext img, .richtext object, .richtext video {
    height: auto!important;
}
.richtext audio, .richtext embed, .richtext img, .richtext object, .richtext video {
    max-width: 100%;
}
.richtext figcaption {
    display: block;
    opacity: .6;
    font-size: 12px;
    font-style: italic;
    text-align: left;
}
.richtext address, .richtext blockquote, .richtext dl, .richtext figure, .richtext hr, .richtext p, .richtext pre, .richtext table {
    padding: 0;
    margin: 0;
    margin-bottom: 1em;
}
.richtext pre {
    font-family: Consolas,Menlo,Monaco,"Courier New",monospace;
    font-size: .9em;
}
.richtext pre, .richtext pre code {
    background-color: #f6f7f8;
    padding: 0;
    top: 0;
    display: block;
    line-height: 1.5;
    color: rgba(51,51,51,.85);
    overflow: none;
    white-space: pre-wrap;
}
.richtext pre {
    padding: 1rem;
}
.re-button-tooltip, .redactor-context-toolbar, .redactor-dropdown-format .redactor-dropdown-item-pre, .redactor-source, .redactor-source:focus, .redactor-source:hover, .redactor-statusbar, .richtext code, .richtext kbd, .richtext mark, .richtext pre, .richtext small, .richtext time, .richtext var {
    font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;
    font-size: .9em!important;
}
.richtext code, .richtext kbd, .richtext mark, .richtext pre, .richtext small, .richtext time, .richtext var {
    color: #3f4d5a;
}
.richtext a, .richtext a:hover {
    color: #3397ff;
}
/* #endregion */
