/************教学通用样式****************/
body,html{
  font-family:-apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei";
  font-size: inherit;
  -webkit-overflow-scrolling : touch;
  -webkit-font-smoothing: antialiased
}
body {background: #f5f5f5;overflow-y: auto;overflow-x: auto;}
body.hide-bar::-webkit-scrollbar {display:none}

.content{ width: 68.2vw;margin: 0 auto;}

/* 页面跳转加载中样式 */
.page-loading{
  background:url('../../icon/page-loading.gif') center center no-repeat;
  width: 202px; height: 164px; margin: 15% auto;
}
/* 页面内加载中样式 */
.loading{
  /*background: url("../../img/loading.gif") center center no-repeat;*/
   text-align: center;
}
.loading .ant-spin-spinning {
  margin-top: 10%;
}
/* 蒙版 */
.mask {
  position: fixed; z-index: 1000;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5);
}
/* 透明蒙版 */
.mask-transparent {
  position: fixed; z-index: 1000;
  top: 0; bottom: 0; left: 0; right: 0;
  background: transparent;
}
/*placeholder的颜色*/
::-webkit-input-placeholder { color:#999; }         /* WebKit, Blink, Edge */
:-moz-placeholder { color:#999; opacity:  1;}       /* Mozilla Firefox 4 to 18 */
::-moz-placeholder { color: #999;   opacity:  1;}   /* Mozilla Firefox 19+ */
:-ms-input-placeholder { color:#999;}               /* Internet Explorer 10-11 */
/*滚动条样式begin*/
.scrollbar::-webkit-scrollbar{  width: 8px;  height: 8px;  background-color: transparent;border-radius: 100px;}
/*滚动条滑块*/
.scrollbar::-webkit-scrollbar-thumb{  background-color: rgba(102,102,102,0.5); border-radius: 100px;}
.scrollbar::-webkit-scrollbar-thumb:hover{  background-color: rgba(102,102,102,0.9); border-radius: 100px;}
.scrollbar::-webkit-scrollbar-button {  height: 4px; width: 4px;}
/*滚动条轨道*/
/* .scrollbar::-webkit-scrollbar-track{  background-color: #f9f9f9;} */
/*滚动条样式end*/
/* 滚动条6px一般用于表内 */
.mid-bar.scrollbar::-webkit-scrollbar{width: 6px; height: 6px;}
/* 滚动条4px一般用于下拉框内 */
.sm-bar.scrollbar::-webkit-scrollbar{width: 4px; height: 4px;}

.f-yuanti { font-family: YuanTi;}
/*@font-face { font-family: YuanTi; src: url('./../font-face/YuanTi.ttf');}*/

/* 三级导航栏begin */
.sec-nav-bar a{
  margin-top: 20px;  padding: 0 20px;
  height: 36px;  line-height: 36px;
  color: #666;  font-size: 14px;
  text-decoration: none;  text-align: center;
  display: inline-block;  cursor: pointer;
}
.sec-nav-bar a:hover{ color: #35D46A;}
.sec-nav-bar a.active{ color: #02A438;}
.sec-nav-bar a.active:hover{ color: #02A438;}
.sec-nav-bar .navline{
  height: 2px; background-color: #35D46A;
  position: relative; border-radius: 4px;
}
/* 三级导航栏end */
 /* 新二级导航栏 begin*/
.sec-nav-box {height: 40px; background-color: #F9F9F9; margin-top: 20px; border: 1px solid #ededed;border-radius: 6px 6px 0 0;box-sizing: border-box;}
.sec-nav-box a {
  display: inline-block;font-size: 14px;text-decoration: none;
  padding: 0 40px; height: 40px; line-height: 40px; color: #666; box-sizing: border-box;
  position: relative; top: -1px; left: -1px;
  border: 1px solid transparent;
}
.sec-nav-box a.active { background-color: #fff;color: #22A237; border-radius: 6px 6px 0 0; border: 1px solid #ededed; border-bottom: 1px solid transparent;  }
.sec-nav-box a:hover { color: #22A237; }
/* 新二级导航栏 end*/
/* 全新二级导航栏 begin*/
@keyframes horizonSpread {
  0% {
    width: 20%;
    left: 40%;
  }
  100% {
    width: 100%;
    left: 0;
  }
}
@keyframes horizonSpreadShort {
  0% {
    width: 0;
    left: 50%;
    opacity: 0;
  }
  100% {
    width: 20%;
    left: 40%;
    opacity: 1;
  }
}
.sec-nav-box-new {height: 32px; background-color: transparent; margin-top: 40px; margin-bottom: 30px; box-sizing: border-box;}
.sec-nav-box-new a {
  display: inline-block;font-size: 16px;text-decoration: none;
  color: #666;
  /*position: relative; top: -1px; left: -1px;*/
  margin-right: 50px;
  position: relative;
  transition: color linear 0.3s 0s;
}
.sec-nav-box-new a.active { color: #02a438; }
.sec-nav-box-new a.active:after { content: ''; position: absolute; left: 0; bottom: -10px; height: 3px; background: #35D46A; border-radius: 5px; animation-name: horizonSpread;  animation-duration: 0.3s;  animation-fill-mode: both; }
/*.sec-nav-box-new a:hover { color: #02a438; }*/
.sec-nav-box-new a:not(.active):hover:after { content: ''; position: absolute; left: 0; bottom: -10px; height: 3px; background: #35D46A; border-radius: 5px; animation-name: horizonSpreadShort;  animation-duration: 0.3s;  animation-fill-mode: both; }

/* 新二级导航栏 end*/


.title-button-box button{border:none;padding: 0;background: inherit;outline: none;position: relative;margin-right: 40px;color: #666666;transition: color linear 0.3s 0s;}
.title-button-box button.active {color: #02a438;}
.title-button-box button.active:after {content: ''; position: absolute; left: 0; bottom: -10px; height: 3px; background: #35D46A; border-radius: 5px; animation-name: horizonSpread;  animation-duration: 0.3s;  animation-fill-mode: both; }
.title-button-box button:not(.active):hover:after { content: ''; position: absolute; left: 0; bottom: -10px; height: 3px; background: #35D46A; border-radius: 5px; animation-name: horizonSpreadShort;  animation-duration: 0.3s;  animation-fill-mode: both;}
/*primeng样式*/
.calendarPanel{ border: 1px solid #dfdfdf; box-shadow: -1px 4px 20px #dfdfdf;}
.dropdown{ line-height: normal;}

/* 标题标签 */
.title .tag { font-weight: bold; color: #888888;}
.title .tag:before {
  content: ''; display: inline-block;
  width: 6px; height: 20px;
  margin-right: 10px; top: 3px;
  background: #35D46A; position: relative;
}

/* 警告框动态样式 */
.showSweetAlert{ animation: showSweetAlert 0.3s;}
@keyframes showSweetAlert{
  0% { transform: scale(0.7); -webkit-transform: scale(0.7); }
  45% { transform: scale(1.05); -webkit-transform: scale(1.05);}
  80% { transform: scale(0.95); -webkit-transform: scale(0.95);}
  100% { transform: scale(1); -webkit-transform: scale(1);}
}
#-pringThis-div{
 z-index: 99;
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: rgba(255,255,255,0.30);
}
.word-loading {
  background: url("../../icon/page-loading.gif") center center no-repeat;
  height: 164px;  width: 202px;
  position: fixed;  top: 300px;
  left: calc((100% - 202px)/2);
  z-index: 100;
  box-shadow: 0 2px 15px 0 rgba(0,0,0,0.20);
  background-color: #fff;
}
/* 题目排版样式begin */
.singlePerLine,
.doublePerLine,
.quadruplePerLine{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.singlePerLine>p>span,
.doublePerLine>p>span,
.quadruplePerLine>p>span{
  vertical-align: baseline;
  line-height: 150%;
}
.singlePerLine input[type="radio"],
.doublePerLine input[type="radio"],
.quadruplePerLine input[type="radio"] {  display: none;}
.singlePerLine > p{  flex-basis: 100%;}
.doublePerLine > p{  flex-basis: 50%;}
.quadruplePerLine > p{  flex-basis: 25%;}
/* 题目排版样式end */

/* 题目中下划线样式begin */
input[type="text"].spark-text.spark {
  border-right-width: 0;
  border-left-width: 0;
  border-top-width: 0;
  border-radius: 0;
}
.spark-text.spark:hover{
  border-right-width: 0;
  border-left-width: 0;
  border-top-width: 0;
  border:1px solid #dfe6e7;
  box-shadow: none;
}
.spark-text.spark:active{box-shadow: none;}
/* 题目中下划线样式end */

/*button之间的分隔线 begin*/
.btn-separate{
  height: 14px;
  border-left: 2px solid #EDEDED;
  margin: auto 14px;
  display: inline;
  vertical-align: middle;
}
/*button之间的分隔线 end*/

/*
  文本超过两行显示省略号
  autoprefixer: off|on 代表关闭或打开autoprefixer，用来解决构建后-webkit-box-orient: vertical消失的问题
  https://blog.csdn.net/liuwade35/article/details/84258814
*/
.two-line-show-ellipsis {
  display: -webkit-box;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

