::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: rgba(125, 125, 125, 0.7);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: rgba(125, 125, 125, 0.7);
  border-radius: 6px;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix * + {
  height: 1%;
}
* html .clearfix {
  zoom: 1;
} /* IE6 */
* + html .clearfix {
  zoom: 1;
}

.can-click {
  cursor : pointer;
}

/* 公用loading遮罩 */
#tipDiv {
  display: none;
  position: fixed !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.5);
}
#tipDiv img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 9999;
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@keyframes zoom {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

html,body {
  width: 100%;
  height: 100%;
}

/* .slick-active >button {
    background-color: #999 !important;
} */

/* 蒙版 */
.cover {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1200;
  display: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* 弹窗 */
.toast-contain {
  max-width: 500px;
  width: 90%;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
}
/* #android-download-toast {
  display: block;
} */
.toast-contain .toast-close-btn{
  width: 1rem;
  height: 1rem;
  background: url("../images/btn_xf_close.png") no-repeat center center/contain;
  margin: 0.53rem auto 0;
  text-align: center;
  display: block;
  background-size: cover;
}

/* 弹窗 */
.toast-contain .download-contain .download-list{
  width: 100%;
  padding: .8rem 5%;
  border-radius: 0.2rem;
  box-sizing: border-box;
  background-color: rgba(0,0,0,0.5);
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.toast-contain .download-contain .download-list::after{
  clear: both;
  content: '';
  display: block;
}

.toast-contain .download-contain .download-list>li{
  width: 80%;
  float: left;
  font-size: 0.3rem;
  border: 1px solid #fff;
  padding:  0 0 0 1rem;
  height: 1.1rem;
  border-radius: 0.2rem;
  box-sizing: border-box;
  margin-top: 0.6rem;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.toast-contain .download-contain .download-list>li:first-child{
  margin-top: 0;
}
/* .toast-contain .download-contain .download-list>li:nth-child(2n){
  float: right;
} */
/* .toast-contain .download-contain .download-list>li:nth-child(n + 3){
  margin-top: 0.5rem;  
} */
.download-contain .download-list>li>img{
  width: .6rem;
  position: absolute;
  left: 0.2rem;
}
.download-contain .download-list>li .text-box{
  color: #fff;
  text-align: center;
  width: calc(100% - 0.6rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* android toast */
.toast-contain .download-contain .android-download-list > li {
  width: 80%;
  float: none !important;
}

.download-contain .download-list>li .android-text-box{
  white-space: normal;
}

.download-contain .download-list>li .android-text-box .package-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 线路模块 */
.h5-toast .h5-contain {
  position: relative;
  }
  
  .h5-toast .h5-contain .h5-list {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.53rem 0.4rem 0 0.4rem;
    border-radius: 0.2rem;
    box-sizing: border-box;
    font-size: 0.25rem;
    color: #333;
    border: 1px solid #fff;
    min-height: 1rem;
  }
  
  .ms-contain-square {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
  }
  
  .ms-contain-square > span {
    width: 0.14rem;
    height: 0.38rem;
    margin-right: 0.1rem;
    border-radius: 0.07rem;
    background-color: green;
  }
  
  .ms-contain-square>span:first-child {
    height: 0.25rem;
  }
  
  .ms-contain-square>span:last-child {
    height: 0.54rem;
  }
  
  .h5-contain,
  .line-contain,
  .right-content {
    font-size: .37rem;
  }
  
  .h5-contain .top-box,
  .line-contain .top-box,
  .right-content .top-box {
    text-align: right;
    margin-bottom: 0.6rem;
  }
  
  .h5-contain .top-box .refresh-btn,
  .line-contain .top-box .refresh-btn,
  .right-content .top-box .refresh-btn
    {
    height: 0.8rem;
    line-height: 0.8rem;
    padding: 0 0.3rem;
    background-color: #1678ff;
    border-radius: 0.2rem;
    color: #fff;
    flex-shrink: 0;
    margin-left: 5px;
    display: inline-block;
    font-size: 0.25rem;
    cursor: pointer;
  }
  
  .h5-contain .content-box,
  .line-contain .content-box,
  .right-content .content-box {
    width: 100%;
    font-size: .37rem;
  }
  
  .h5-contain .content-box .line-box,
  .line-contain .content-box .line-box,
  .right-content .content-box .line-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px 0;
  }
  
  .content-box .line-box .ms-text {
    margin-top: 5px;
  }
  
  .content-box .line-box .line-left{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 1.4rem;
  }
  .content-box .line-box .line-name-box {
    margin: 0 0.2rem;
    white-space: nowrap;
  }
  
  .content-box .line-box .line-url-box {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    margin: 0 0.2rem;
  }
  
  .content-box .line-box .domain-name{
    border-radius: 10px;
    border: solid 1px #e3e3e3;
    height: 1rem;
    line-height:  1rem;
    padding: 0 0.1rem;
    width: 45% !important;
  }
  
  .content-box .line-box .go-game-btn {
    height: 0.8rem;
    padding: 0.1rem;
    background-color: #1678ff;
    border-radius: 0.2rem;
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    max-width: 30%;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 0.2rem;
  }
  
  .content-box .line-box .middle-box{
    width: 50%;
    text-align: left;
  }

  .content-box .line-box-style3 .middle-box{
    width: 40%;
  }
  
  /* h5线路弹窗差异 */
  .h5-contain .top-box{
    margin-bottom: 0.2rem;
    padding-right: 0.4rem;
  }
  
  .h5-list .line-box .middle-box{
    color: #fff
  }

  /* pc 线路差异 */
  .right-content .content-box {
    width: 100%;
    height: 100%;

  }

  .right-content .top-box{
    position: absolute;
    top: -3rem;
    left: 0;
    margin-top: 0;
    text-align: right;
    width: 100%;
    padding-right: 1.5rem;
  }

  .right-content .top-box .refresh-btn{
    right: 1.5rem;
    background-color: #1678ff;
    border: none;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0 1.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  .right-content .content-box .line-box{
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-bottom: 1.35%;
  }

  .right-content .line-box .line-left{
    width: 7.5%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
  }
  
  .right-content .line-box .ms-contain-square {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 60%;
    align-items: flex-end;
    margin-bottom: 0.3rem;
  }

  .right-content .line-box .line-url-box {
    color: #333;
    width: 60%;
    border: 1px solid #e3e3e3;
    height:3.2rem;
    line-height: 3.2rem;
    text-align: center;
    border-radius: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 0.5rem;
  }
  
  .right-content .line-box .go-game-btn {
    width: 8.7rem;
    height: 3.3rem;
     background-color: #1678ff;
    border: none;
    color: #fff;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .right-content .ms-contain-square > span{
    width: 0.45rem;
    height: 60%;
    margin-right: 0.3rem;
    border-radius: 0.2rem;
    background-color: green;
  }
  
  .right-content .ms-contain-square>span:first-child{
    height:40%;
  }
  
  .right-content .ms-contain-square>span:last-child{
    height:80%;
  }
  
  /* 小语种兼容 */
/* body[langs='it'] .line-box .go-game-btn,
body[langs='vi'] .line-box .go-game-btn,
body[langs='hi'] .line-box .go-game-btn {
  font-size: 0.2rem !important;
}    */