/**
* beijinggushi
**/
.history-box{
    width: 100%;
    min-height: 100vh;
    text-align: center;
    background-color: #ecf0f1;
    color: #666;
}
.history-box .history-area {
    margin: 0 auto;
    padding: 0;
    padding-top: 80px;
    max-width: 1208px;
}
.history-box .history-area .history-header{
    width: 1200px;
    height: 50px;
    margin: 0 auto;
    margin-bottom: 10px;
    background: #fff;
    padding: 0 10px;
    padding-top: 5px;
    line-height: 50px;
}
.history-box .history-area .history-header>ul{
    width:100%;
    height: 40px;
    display: flex;
    padding: 0;
    margin: 0;
    line-height: 40px;
}
.history-box .history-area .history-header>ul li{
    width:120px;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
}
.history-box .history-area .history-header>ul li:hover{
    background: #37D3ED;
}
.history-box .history-area .history-content{
    width: 1200px;
    margin: 0 auto;
}
/*故事背景*/
.history-box .history-area .history-content .history-story{
    width: 100%;
}
.history-box .history-area .history-content .history-story>div{
    width: 1200px;
    position: relative;
    margin-bottom: 5px;
}
.history-box .history-area .history-content .history-story>div>img{
   max-width: 100%;
    max-height: 100%;
}
/*角色简介*/
.history-box .history-area .history-content  .personage-introduction{
    background: #fff;
    padding: 5px;
    padding-left: 0px;
    display: none;
}
.history-box .history-area .history-content  .personage-introduction .person-details{
    width: 1200px;
    height: 638px;
    background: url("../../../static/assets/history/personintrobg.png") no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: top;
    padding: 2px;
}
.history-box .history-area .history-content  .personage-introduction .person-details ul.toprole{
    width: 100%;
    height: 150px;
    padding:0;
    margin: 0;
    padding-left: 5px;
    padding-top: 8px;
}
.history-box .history-area .history-content  .personage-introduction .person-details ul.toprole>li{
    width: 114px;
    margin-right: 5px;
    float: left;
    cursor: pointer;
}
li>img{
    max-height: 100%;
    max-width: 100%;
}
.history-box .history-area .history-content  .personage-introduction .person-details ul.bottorole{
    width: 724px;
    height: 150px;
    padding:0;
    margin: 0 auto;
    padding-left: 5px;
    padding-top: 8px;
    text-align: center;
}
.history-box .history-area .history-content  .personage-introduction .person-details ul.bottorole>li{
    width: 114px;
    margin-right: 5px;
    float: left;
    cursor: pointer;
}
.history-box .history-area .history-content  .personage-introduction .person-details .intromsg{
    width: 100%;
    height: 300px;
    margin: 15px auto;
}
.history-box .history-area .history-content  .personage-introduction .person-details .intromsg div{
    font-size: 22px;
    text-align: center;
    text-indent: 2em;
    padding: 12px 4px;
    line-height: 36px;
    color: #000;
    vertical-align: middle;
}
div.tianzetutor,div.herogirl,div.luke,div.unior,div.york,div.hygeia,div.rett,div.king,div.codetrainer,div.morijiangong,div.emengzhe,div.egun,div.bugtyrant
,div.mayor,div.doctorofvirus{
    display: none;
}
.roleactiveviewtop{
    margin-top: 25px;
    cursor: default !important;
}
.roleactiveviewbottom{
    margin-top: -25px;
    cursor: default !important;
}
/*编程岛历史*/
.history-box .history-area .history-content .codeisland-history{
    width: 100%;
    display: none;
}
.history-box .history-area .history-content .codeisland-history>div{
    width: 1200px;
    position: relative;
    margin-bottom: 5px;
}
.history-box .history-area .history-content .codeisland-history>img{
    max-width: 100%;
    max-height: 100%;
}

.result-active{
    background: #37D3ED;
}

/*编程岛地理*/
.history-box .history-area .history-content .codeisland-geography{
    width: 100%;
    display: none;
}
.history-box .history-area .history-content .codeisland-geography>div{
    width: 1200px;
    position: relative;
    margin-bottom: 5px;
}
.history-box .history-area .history-content .codeisland-geography>div>img{
    max-width: 100%;
    max-height: 100%;
}
.history-box .history-area .history-content .codeisland-geography>div>i{
    display: block;
    width: 38px;
    height: 38px;
    background: url("../../../static/assets/history/basearea.png") no-repeat;
    background-size: contain;
    background-position: center;
    cursor: pointer;
    position: absolute;
}
.history-box .history-area .history-content .codeisland-geography>div>i:hover{
    background: url("../../../static/assets/history/baseareaactive.png") no-repeat;
}
.history-box .history-area .history-content .codeisland-geography>div>i:first-child{
    bottom: 162px;
    left: 240px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(2){
    bottom: 65px;
    left: 486px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(3){
    bottom: 168px;
    left: 654px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(4){
    bottom: 294px;
    left: 677px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(5){
    bottom: 326px;
    left: 540px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(6){
    bottom: 285px;
    left: 325px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(7){
    bottom: 185px;
    left: 105px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(8){
    bottom: 98px;
    left: 70px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(9){
    bottom: 65px;
    left: 168px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(10){
    bottom: 83px;
    left: 1089px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(11){
    bottom: 175px;
    left: 1005px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(12){
    bottom: 230px;
    left: 852px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(13){
    bottom: 392px;
    left: 517px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(14){
    bottom: 304px;
    left: 1056px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(15){
    top: 178px;
    left: 943px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(16){
    top: 190px;
    left: 691px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(17){
    top: 130px;
    left: 818px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(18){
    top: 103px;
    left: 664px;
 }
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(19){
    top: 106px;
    left: 326px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(20){
    top: 51px;
    left: 1028px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(21){
    top: 371px;
    left: 482px;
}
.history-box .history-area .history-content .codeisland-geography>div>i:nth-child(22){
    top: 129px;
    left: 547px;
}
.baseareaactive{
    display: block;
    width: 38px;
    height: 38px;
    background: url("../../../static/assets/history/baseareaactive.png") no-repeat !important;
    background-size: contain;
    background-position: center;
    cursor: pointer;
    position: absolute;
}
.basearea-msg{
    background: #fff;
    width: 100%;
    padding: 10px 5px;
    font-size: 18px;
    color: #000;
    height: 180px;
    /*设置文字垂直居中*/
    display: table-cell;
    vertical-align:middle
}
.basearea-msg>div:not(:nth-child(18)){
    display: none;
}
.basearea-msg>div>b{
    font-size: 20px;
}
