html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* 角色图鉴  */
.inside_role {
    background: #000 url(../jpg/juese_bg.jpg) center top no-repeat;
    height: 1450px;
    position: relative;
    overflow: hidden;
}
#role_con{
    margin-top: 550px;
}

.role_tab {
    position: absolute;
    z-index: 5;
    width: 128px;
    top: 660px;
    right: 15%;
}

.role_tit li {
    width: 128px;
    height: 128px;
    background-image: url(../png/role_icons.png);
    cursor: pointer;
}

.role_li01 {
    background-position: -306px -158px;
}

.role_li02 {
    background-position: -10px -306px;
}

.role_li03 {
    background-position: -150px -306px;
}

.role_li04 {
    background-position: -290px -306px;
}

.role_li05 {
    background-position: -454px -10px;
}

.role_li01.active {
    background-position: -10px -10px;
}

.role_li02.active {
    background-position: -158px -10px;
}

.role_li03.active {
    background-position: -10px -158px;
}

.role_li04.active {
    background-position: -158px -158px;
}

.role_li05.active {
    background-position: -306px -10px;
}





.role_box {
    width: 1920px;
    padding-top: 27px;
    height: 868px;
    margin: 0 auto;
    position: relative;
}

.role_div {
    position: relative;
    display: none;
}

.role_div .bd ul {
    overflow: hidden;
    zoom: 1;
}

.role_div .hd {
    position: absolute;
    width: 450px;
    height: 81px;
    top: 105px;
    right: 23%;
    z-index: 88;
    background: url(../png/role_bar_bg.png) 0 0 no-repeat;
}

.role_div .hd a {
    position: absolute;
    top: 50%;
    width: 23px;
    height: 41px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.role_div .hd a.prev {
    left: 10px;
    background: url(../png/role_arrow.png) 0 0 no-repeat;
}

.role_div .hd a.next {
    right: 10px;
    background: url(../png/role_arrow.png) 0 0 no-repeat;
    transform: translateY(-50%) rotate(180deg);
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
}

.swiper-container {
    width: 336px;
    height: 81px;
}

.hd .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.hd .swiper-slide .img_normal {
    width: 55px;
    height: 55px;
}

.swiper-slide.swiper-slide-active {
    background: url(../png/role_icon_active.png) center center no-repeat;
    background-size: cover;
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}


.role_div .bd {
    position: relative;
    width: 100%;
    height: 800px;
    left: 20%;
    z-index: 3;
}

.role_ul .role_li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
}

.role_ul .role_li.cur {
    opacity: 1;
    transition: all .6s .2s ease-in-out;
    -webkit-transition: all .6s .2s ease-in-out;
    -moz-transition: all .6s .2s ease-in-out;
    -ms-transition: all .6s .2s ease-in-out;
    -o-transition: all .6s .2s ease-in-out;
    z-index: 99;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
}

.role_ul li .role_detail {
    color: #fff;
    position: absolute;
    top: 230px;
    left: 0;
    width: 270px;
    height: 240px;
    padding-right: 15px;
    font-size: 14px;
    line-height: 22px;
    box-sizing: content-box;
    overflow-y: auto;
    overflow-x: hidden;
}

.role_ul li .role_detail::-webkit-scrollbar {
    width: 4px;
    background: #676e6f;
}

.role_ul li .role_detail::-webkit-scrollbar-thumb {
    height: 20px;
    background: #68a8ae;
}

#skill_list {
    position: absolute;
    bottom: 120px;
    height: 60px;
}

#skill_list .skill {
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 10px;
    cursor: pointer;
}


#skill_list .skill:last-child {
    margin-right: 0;
}
#skill_list .skill.active{
    position: relative;
}
#skill_list .skill.active::before {
    content: "";
    position: absolute;
    width: 65px;
    height: 65px;
    top: -2px;
    left: -2px;
    background: url(../png/skill_active.png) 0 0 no-repeat;
    background-size: contain;
}

#skill_list li img {
    width: 100%;
    height: 100%;
}

#skill_detail_list li {
    position: absolute;
    width: 270px;
    height: 150px;
    padding: 20px;
    bottom: 205px;
    color: #fff;
    border: 1px #4a6362 solid;
    background: rgba(0, 0, 0, .6);
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
}

#skill_detail_list li img {
    height: 27px;
}

#skill_detail_list li p {
    height: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 2;
    margin-top: 10px;
}