* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "myfont";
    src: url(/static/fonts/myfonts.OTF);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    min-width: 1320px;
}

.breadth {
    width: 1094px;
    margin: 0 auto;
    position: relative;
}

.banner {
    display: block;
    width: 100%;
}


/* nav */

.nav_top {
    width: 100%;
    height: 50px;
    background: #e9e9e9;
    border-bottom: 2px solid #977862;
}

.map_info {
    /* width: 1280;  */
    padding: 0 35px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.map_logo {
    width: 130px;
    float: left;
}

.map_logo a {
    width: 130px;
    height: 38px;
    display: block;
    text-indent: -99999em;
    margin-top: 6px;
    background: url(http://atcn-cdn.xiyouxi.com/web/banner/xyx_logo.png) no-repeat;
}

.map_list {
    float: right;
}

.map_list li {
    float: left;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    padding-right: 15px;
    position: relative;
    vertical-align: middle;
}

.map_list li a {
    color: #828283;
}

.map_list li a:hover {
    color: #333;
}


/* nav end */


/* footer */

#footer {
    background-color: #181c23;
    height: 180px;
    min-width: 1000px;
}

.footer_con {
    color: #999;
    height: 125px;
    padding-top: 10px;
    width: 1000px;
    margin: 0 auto;
}

.footer_con a {
    color: #666;
}

.footer_con p {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 8px;
}

.footer_con p img {
    margin: 0px 20px;
}

.footer_con p span {
    color: #fff;
}


/* footer end */


/* 游戏背景 */

.game-text {
    height: 372px;
    padding-top: 50px;
    font-size: 16px;
    line-height: 25px;
}

.game-text-title {
    padding-bottom: 16px;
    font-family: 'myfont';
    font-size: 24px;
    color: #FA681E;
}


/* 游戏背景end */


/* 轮播图 */

.slideshow {
    height: 502px;
    background: url(http://web-cdn.xiyouxi.com/static/images/slideshow-bg.jpg) center no-repeat;
    background-size: 100%;
}

.slide-btn {
    padding-top: 3%;
    width: 15%;
    text-align: center;
    line-height: 90px;
    font-size: 20px;
    font-family: 'myfont';
    color: #b1b1b1;
}

.slide-btn li {
    cursor: pointer;
}

.slide-btn li.show {
    background: url(http://web-cdn.xiyouxi.com/static/images/text-bg.png) center no-repeat;
    color: #fff;
}

.slide-box {
    position: absolute;
    top: 0;
    left: 22%;
    height: 502px;
}

.slide-title {
    position: absolute;
    bottom: 10%;
    left: 22%;
    color: #f6f6f6;
    background: url(http://web-cdn.xiyouxi.com/static/images/title-bg.png) no-repeat;
    width: 808px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.slide-title li {
    display: none;
    text-align: center;
}

.slide-title li.show {
    display: block;
}

.slide-role {
    position: absolute;
}

.slide-role li {
    opacity: 0;
    transition: .6s;
    -moz-transition: .6s;
    /* Firefox 4 */
    -webkit-transition: .6s;
    /* Safari 和 Chrome */
    -o-transition: .6s;
    /* Opera */
}

.slide-role li.show {
    opacity: 1;
}

.text-border {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.slide-role-name {
    position: absolute;
    text-align: center;
    color: red;
    width: 39px;
    height: 92px;
}

.slide-role-name .text-border {
    animation: flash 2s linear infinite;
}

.slide-role-name .role-name {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* 特殊类英雄 */

.slide-role .role-cylq {
    animation: move1 3s linear infinite;
    position: absolute;
    left: -32px;
    top: -70px;
}

.slide-role .role-cylq .slide-role-name {
    left: 19%;
    top: 56%;
}

.slide-role .role-zzjb {
    animation: move2 3s linear infinite;
    position: absolute;
    left: 282px;
    top: 76px;
}

.slide-role .role-zzjb .slide-role-name {
    left: 79%;
    top: -3%;
}


/* 特殊类英雄end */


/* 近战型英雄 */

.slide-role .role-gy {
    animation: move1 3s linear infinite;
    position: absolute;
    left: 60px;
    top: -102px;
}

.slide-role .role-gy .slide-role-name {
    left: 10%;
    top: 52%;
}

.slide-role .role-shws {
    animation: move2 3s linear infinite;
    position: absolute;
    left: 402px;
    top: -48px;
}

.slide-role .role-shws .slide-role-name {
    left: 72%;
    top: 17%;
}


/* 近战型英雄end */


/* 远程型英雄 */

.slide-role .role-lbh {
    animation: move1 3s linear infinite;
    position: absolute;
    left: 124px;
    top: -102px;
}

.slide-role .role-lbh .slide-role-name {
    left: -10%;
    top: 52%;
}

.slide-role .role-xzjb {
    animation: move2 3s linear infinite;
    position: absolute;
    left: 335px;
    top: 64px;
}

.slide-role .role-xzjb .slide-role-name {
    left: 70%;
    top: -2%;
}


/* 远程型英雄end */


/* 魔法型英雄 */

.slide-role .role-zgl {
    animation: move1 3s linear infinite;
    position: absolute;
    left: -4px;
    top: -8px;
}

.slide-role .role-zgl .slide-role-name {
    left: 26%;
    top: 46%;
}

.slide-role .role-hyfs {
    animation: move2 3s linear infinite;
    position: absolute;
    left: 334px;
    top: 4px;
}

.slide-role .role-hyfs .slide-role-name {
    left: 99%;
    top: 10%;
}


/* 魔法型英雄end */


/* 魔法型英雄 */

.slide-role .role-zydz {
    animation: move1 3s linear infinite;
    position: absolute;
    left: 76px;
    top: -54px;
}

.slide-role .role-zydz .slide-role-name {
    left: 0;
    top: 56%;
}

.slide-role .role-ross {
    animation: move2 3s linear infinite;
    position: absolute;
    left: 432px;
    top: 42px;
}

.slide-role .role-ross .slide-role-name {
    left: 98%;
    top: 4%;
}


/* 魔法型英雄end */


/* 轮播图end */


/* 配置 */

.system {
    display: flex;
    height: 403px;
    justify-content: space-evenly;
    font-size: 18px;
    color: #555;
    padding-top: 40px;
}

.system div {
    box-sizing: border-box;
    text-align: center;
}

.system div p {
    margin-bottom: 16px;
}

.system span {
    display: block;
    color: #703a00;
}

.system span.b {
    font-size: 24px;
    color: #555;
    margin-bottom: 6px;
}


/* 配置end */


/* 闪烁效果 */

@keyframes flash {
    0% {
        opacity: .4;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: .4;
    }
}


/* 上下移动 */

@keyframes move1 {
    0% {
        transform: translate(0, 10px)
    }
    50% {
        transform: translate(0, 0)
    }
    100% {
        transform: translate(0, 10px)
    }
}


/* 上下移动 */

@keyframes move2 {
    0% {
        transform: translate(0, 0)
    }
    50% {
        transform: translate(0, 10px)
    }
    100% {
        transform: translate(0, 0)
    }
}
