.knowbox{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.knowbox .left{
    box-shadow: 1px 0px 12px 1px rgba(36, 149, 225, 0.16);
    border-radius: 8px;
    padding: 24px 15px;
    width: 18%;
    position:sticky;
    top:140px;
    left:0;
    max-height:calc(100vh - 130px);
    overflow-y:auto;
    margin-right: 3%;
}
.knowbox .left::-webkit-scrollbar{
  display: none;
}
.knowbox .left li>span,.knowbox .left li>a{
    line-height: 35px;
    color: #2a3e52;
    font-size: 18px;
    cursor: pointer;
    font-family: Baloo_B;
    padding-left: 18px;
    display: block;
}
.knowbox .left li>span,.knowbox .left li.menu>a{
  
  background: url(../images/jias.png) no-repeat left center/ 15px;
  display: block;

}
.knowbox .left li.cur>span,.knowbox .left li.menu.cur>a{
  background: url(../images/jian.png) no-repeat left center/ 15px;
}
.knowbox .left .subs {
  display: none;
}
.knowbox .left .subs li a{
    color: #36353d;
    display: block;
    line-height: 26px;
    font-size: 16px;
    font-family: Baloo_M;
    cursor: pointer;
}
.knowbox .left li.cur .subs{
  display: block;
}
.knowbox .left li.cur>span,.knowbox .left .subs a.active,.knowbox .leftbox>ul>li.cur>a{
    color:#2495E1
 }

.knowbox .left .subs{
    padding-left: 10px;
}
.knowbox .left .two{

  display: none;
}
.knowbox .left .three{
  padding-left: 20px;
}
.knowbox .left .cur>.two{
  display: block;
}
.knowbox .right{
    width: 79%;
}

.knowbox .right .title{
   font-size: 24px;
   color:#333;
   font-family: Baloo_B;
   border-bottom:2px dashed #c9c9c9;
   margin-bottom: 15px;
}
.knowbox .right  .text{
    margin-bottom: 30px;
}
.knowbox .right  .text p{
    font-size: 16px;
    color:#666;
    font-family: Baloo_M;
}

.knowbox .right table {
    border: 1px solid #E7E7E7;
    border-spacing: 0px;
    border-bottom: none;
    margin-bottom: 20px;
    width: 100%;
}
.knowbox .right table th{
    line-height: 37px;
    font-size:16px;
    color:#fff;
    font-family:Baloo_M;
    height: 37px;
    text-align: center;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}
.knowbox .right table th:last-child {
    border-right: none;
}

.knowbox .right table td{
    font-size:16px;
    line-height: 20px;
    color: #3A4B5D;
    font-family:Baloo_M;
    text-align: center;
    border-right:1px solid #e7e7e7;
    border-bottom:1px solid #e7e7e7;
    padding:5px 8px;
}
.knowbox .right .color1  th{
    background: #5079A8;
}
.knowbox .right .color2  th{
    background: #3FA129;
}
.knowbox .right .color3  th{
    background: #FF8000;
}
.knowbox .right .color4  th{
    background: #3FD8FF;
}
.knowbox .right .color5  th{
    background: #91A119;
}
.knowbox .right .color6  th{
    background: #50413F;
}
.knowbox .right .color7  th{
    background: #81B9EF;
}
.knowbox .right .color8  th{
    background: #5060E1;
}
.knowbox .right .color9  th{
    background: #E62829;
}
.knowbox .right table td p{
    text-align: left;
}

.knowbox .right table tr:nth-of-type(2n+3)  {
    background: #f2f3f9;
}
.knowbox .right .firstname{
  font-size:20px;
  color: #333;
  font-family: Baloo_B;
  margin-bottom: 10px;
}
.knowbox .right .name{
    font-size: 18px;
    color: #333;
    font-family: Baloo_B;
    border-bottom: 2px dashed #c9c9c9;
    margin-bottom: 15px;
}
.knowbox .right  .tab,.knowbox .right .tab .firstname{
    padding-top:130px;
    margin-top:-130px;
}

.knowbox .right table td.type span{
    height:25px;
    line-height: 25px;
    border-radius: 6px;
    display: inline-block;
    color:#fff;
    width: 70px;
    
}
.knowbox .right.proplist .tab:nth-of-type(10) th:first-child,
.knowbox .right.proplist .tab:nth-of-type(10) td:first-child{
  display: none;
}
.type-NORMAL {
  background-color: #aa9
}

.type-FIRE {
  background-color: #f42
}

.type-WATER {
  background-color: #39f
}

.type-ELECTRIC {
  background-color: #fc3
}

.type-GRASS {
  background-color: #7c5
}

.type-ICE {
  background-color: #6cf
}

.type-FIGHTING {
  background-color: #b54
}

.type-POISON {
  background-color: #a59
}

.type-GROUND {
  background-color: #db5
}

.type-FLYING {
  background-color: #89f
}

.type-PSYCHIC {
  background-color: #f59
}

.type-BUG {
  background-color: #ab2
}

.type-ROCK {
  background-color: #ba6
}

.type-GHOST {
  background-color: #66b
}

.type-DRAGON {
  background-color: #76e
}

.type-DARK {
  background-color: #754
}

.type-STEEL {
  background-color: #aab
}

.type-FAIRY {
  background-color: #e9e
}

.type-CURSE {
  background-color: #698
}
.type-PHYSICAL {
  background-color: #FF4400
}
.type-SPECIAL{
  background-color: #2266CC;
}
.type-STATUS{
   background-color: #828282;
}
.type-MAX{
  background: #FAC000;
}
.type-G-MAX{
  background: #3FA129;
}
.searchbox .searchcriteria{
  display: flex;
  justify-content: center;
  font-size: 16px;
  color:#333;
  font-family: Baloo_M;
  margin-bottom: 15px;
}

.searchbox .searchcriteria .names .searchleft{
  width: 262px;
height: 40px;
line-height: 40px;
border: 1px solid #D5D5D5;
padding:0 10px;
margin:0 30px 0 10px;
border-radius: 6px;
display: flex;
justify-content: space-between;
position: relative;
}
.searchbox .searchcriteria .names .searchleft input{
  border:none;
  padding-left: 5px;
  background:none;
  width: 90%;
}
.searchbox .searchcriteria .names .searchleft i{
  font-size: 24px;
    color: #333;
}
.searchbox .searchcriteria .names .searchleft .del {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 15px;
  height: 15px;
  background: #999;
  border-radius: 50%;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  display: none;
  cursor: pointer;
}

.searchbox .searchcriteria  .type>div{
  width: 110px;
  height: 40px;
  line-height: 40px;
border: 1px solid #D5D5D5;
background:url('../images/xl.png') no-repeat right 5px center/10px;
padding-left: 5px;
border-radius: 6px;
position: relative;
margin-left: 10px;
}
.searchbox .searchcriteria  .type span,.searchbox .searchcriteria  .type li,
.searchbox .searchlist  li{
  height: 25px;
    line-height: 25px;
    border-radius: 6px;
    display: inline-block;
    color: #fff;
    width: 70px;
    cursor: pointer;
    text-align: center;
}
.searchbox .searchcriteria  .type span.all,.searchbox .searchcriteria  .type li.all{
  color:#333;
  width: auto;
}
.searchbox .searchcriteria  .type>div ul{
  position:absolute;
  top:40px;
  width: 100%;
  border: 1px solid #D5D5D5;
  left: 0;
  text-align: center;
  border-radius: 6px;
  height:200px;
  overflow-y:auto;
  background:#fff;
  display: none;
}
.searchbox .searchcriteria>div{
  display: flex;
  align-items: center;
}
.searchbox .searchlist{
background: #E8F4FC;
border-radius: 12px;
padding:16px;
margin:0 0 15px;
}
.searchbox .searchlist span{
  font-size:18px;
  color:#333;
  font-family: Baloo_B;
}
.searchbox .searchlist  li{
  cursor: inherit;
  margin:0 8px 8px 0;
}
.knowbox .right table .img-name{
  display: flex;
  align-items: center;
  width: 250px;
}
.knowbox .right table .cell-name{
  width: 250px;
}
.knowbox .right table .pkmtype span:first-of-type{
  margin-bottom:5px;
}
.searchbox .searchcriteria .type>div ul.cur{
  display: block;
}
@media (max-width: 1024px) {
  .searchbox .searchcriteria .type>div ul{
    text-align: left;
    padding:10px;
  }
  .searchbox .searchcriteria .type>div ul.cur{
    display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
  }
  .searchbox .searchcriteria .type li.all,.searchbox .searchcriteria .type span, .searchbox .searchcriteria .type li, .searchbox .searchlist li{
    width: 23%;
    font-size: 13px;
  }

  .knowbox .right{
    width: 100%;
  }

  .knowbox .left{
    position:fixed;
    top: 50px;
    transition: all .3s;
    border-radius: 0;
    left: -100%;
    width: auto;
    padding:0;
    display: flex;
    z-index: 999;
    max-height:inherit;
  }
  .knowbox .leftbox{
    overflow-y:auto;
    width: 68vw;
    background-color: #fff9fa;
    height: calc(100vh - 107px);
    
  }
  .knowbox .left li>span, .knowbox .left li>a{
    line-height: 45px;
    padding-left: 30px;
    display: block;
    
  }

.knowbox .left .close {
    color:#fff;
    background: #54c8f4;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
            font-size: 30px;
  }

  /* .knowbox .left>ul>li.cur{
    background-color: #efefef;
  } */
  .knowbox .left li>span, .knowbox .left li.menu>a{
    background: url(../images/add.svg) no-repeat left 8px center / 14px;
  }
  .knowbox .left li.cur>span, .knowbox .left li.menu.cur>a {
    background: url(../images/reduce.svg) no-repeat left 8px center / 14px;
}
  .knowbox .leftbox>ul>li{
    border-bottom: 1px solid #e9e9e9;
  }
  .knowbox .left.cur{
    left: 0;
  }
  .knowbox .left .subs li{
    line-height: 30px;
  }
  .searchbox .searchcriteria{
    display: block;
  }
  .searchbox .searchcriteria>div{
    position:relative;
    height: 35px;
    margin-bottom: 10px;

  }

  .searchbox .searchcriteria .names .searchleft,.searchbox .searchcriteria .type>div{
    width: 80%;
    padding:0 10px;
    position:absolute;
    right:0;
    top:0;
    height:35px;
    line-height: 35px;
    margin:0;
  }

  .knowbox .right .text{
    margin-bottom: 15px;
  }
  .knowbox .right .title{
    font-size: 20px;
    position:relative;
    text-align: center;
  }
  .knowbox .right .title.cur{
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10;
    line-height: 45px;
    box-shadow: 0 0px 3px rgba(186,191,194,.5);
    border: none;

  }
  .knowbox .right .title.cur .menu{
    left:10px;
    top:13px;
  }
  .knowbox .right .title .menu{
    position:absolute;
    left:0;
    width:20px;
    background:url(../images/menu.png) no-repeat center center;
    height:18px;
    top:8px;
  }
  .knowbox .right table{
    table-layout:fixed
  }
  .knowbox .right table th,.knowbox .right table td{
    font-size: 14px;
    line-height: 18px;
    height: auto;
    padding:5px 2px;
    word-break: break-all;
    width:auto !important;
  }
  .knowbox .right table th.names{
    width:75px !important;
  }
  .knowbox .right table .type{
    width:80px !important;
  }

  .knowbox .right table .img-fixed{
    width:40px;
  }

  .knowbox .right table .wap{
    display: none;
  }

  .knowbox .right table .img-name{
    display: block;
    width: 100%;
  }
  .knowbox .right table .cell-name
  {
    width: 16% !important;
  }

  .infocard-cell-data{
    display: block;
  }

}