/**
 @Name: 优题课
 @Author: lxs
 @Site: fly.layui.com
 */
/* 全局 */
html body{margin-top: 70px;}
html{background-color: #f2f6f9;}
i{font-style: normal;}
.layui-tab-content,.layui-card-body {line-height: 16px;}
.layui-tab-brief .layui-tab-content li, .layui-tab-brief .layui-card-body li{line-height: 32px;}
.layui-tab-content .dt {float: right;}
.layui-form-item .layui-form-label {width:100px;}

/* 辅助 */
a:hover{color: #009688; transition: all .3s;}
pre{padding: 10px 15px; margin: 10px 0; font-size: 12px; border-left: 6px solid #009688;  background-color: #f8f8f8; font-family: Courier New; overflow: auto;}
.layui-container{padding: 0; width: 1200px !important;}
.fly-main{min-height: 500px; margin: 0 auto;}
.layui-badge{height: 20px; line-height: 20px; border-radius: 2px;}

.fly-link{color: #01AAED;}
.fly-link:hover{color: #5FB878;}
.fly-grey{color: #999;}

.fly-msg, .fly-error{padding: 10px 15px; line-height: 24px;}
.fly-msg{background-color:#F8F8F8; color:#666;}
.fly-msg a{color:#4F99CF}
.fly-editbox{position: relative;}

.fly-marginTop{margin-top: 5px;}
.fly-mid{display: inline-block; height: 10px; width: 1px; margin: 0 10px; vertical-align: middle; background-color: #e2e2e2;}
.fly-right{position: absolute; right: 15px; top: 0;}
.fly-right .layui-btn{ height: 40px; line-height: 40px; margin-top: -4px;}
.btn-down-vip {
  background: -webkit-linear-gradient(left, #fcb338, #ff6e29);
  background: -o-linear-gradient(left, #fcb338, #ff6e29);
  background: -moz-linear-gradient(left, #fcb338, #ff6e29);
  background: linear-gradient(to right, #fcb338, #ff6e29);
  border: none;
}

.clearfix {
  *zoom:1
}
.clearfix:before,.clearfix:after {
  content:" ";
  display:table
}
.clearfix:after {
  clear:both;
  text-align:center;
}
.hide {
  display:none !important
}

/*试题篮*/
.dropdown-list {
  list-style:none;
  margin:0;
  padding:0;
}
.dropdown {
  position:relative;
}
.dropdown span.dd-btn {
  cursor:default;
}
.dropdown .dd-menu {
  display:none;
  position:absolute;
  z-index:999;
  border-radius:0 0 10px 10px;
}

/*按钮*/
.btn {
  display:inline-block;
  *zoom:1;
  *display:inline;
  width:118px;
  height:36px;
  padding:0;
  margin:0;
  border:1px solid #b0b0b0;
  font-size:14px;
  line-height:36px;
  text-align:center;
  color:#b0b0b0;
  cursor:pointer;
  -webkit-transition:all 0.4s;
  transition:all 0.4s
}
.btn:hover {
  text-decoration:none;
  color:#b0b0b0
}
.btn:focus {
  outline:0
}
.btn:active {
  -webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.18);
  box-shadow:inset 0 2px 4px rgba(0,0,0,0.18)
}
.btn[disabled] {
  border-style:dashed !important;
  border-color:#e0e0e0;
  background-color:#fff !important;
  color:#b0b0b0 !important;
  cursor:default !important
}
.btn-disabled {
  background:#e0e0e0 !important;
  border-color:#e0e0e0 !important;
  color:#b0b0b0 !important;
  cursor:default !important
}
.btn-small {
  width:80px;
  height:26px;
  font-size:12px;
  line-height:26px
}
.btn-large {
  width:138px;
  height:46px;
  line-height:46px
}
.btn-block {
  display:block;
  width:100%;
  padding-left:0;
  padding-right:0
}
input.btn,button.btn {
  width:160px;
  height:40px
}
input.btn-small,button.btn-small {
  width:80px;
  height:30px
}
input.btn-large,button.btn-large {
  width:180px;
  height:50px
}
.btn-gray {
  background:#b0b0b0;
  border-color:#b0b0b0;
  color:#fff
}
.btn-gray:hover {
  background-color:#757575;
  border-color:#757575;
  color:#fff
}
.btn-primary {
  background:#ff6700;
  border-color:#ff6700;
  color:#fff
}
.btn-primary:hover {
  background-color:#f25807;
  border-color:#f25807;
  color:#fff
}
.btn-green {
  background:#83c44e;
  border-color:#83c44e;
  color:#fff
}
.btn-green:hover {
  background-color:#71b639;
  border-color:#71b639;
  color:#fff
}
.btn-orange {
  background:#ffac13;
  border-color:#ffac13;
  color:#fff
}
.btn-orange:hover {
  background-color:#ff920f;
  border-color:#ff920f;
  color:#fff
}
.btn-gold {
  background:#ffd600;
  border-color:#ffd600;
  color:#fff
}
.btn-gold:hover {
  background-color:#fec517;
  border-color:#fec517;
  color:#fff
}
.btn-ocean {
  background:#2196f3;
  border-color:#2196f3;
  color:#fff
}
.btn-ocean:hover {
  background-color:#0c80dc;
  border-color:#0c80dc;
  color:#fff
}
.btn-blue {
  background:#0072C6;
  border-color:#0072C6;
  color:#fff
}
.btn-blue:hover {
  background-color:#0033CC;
  border-color:#0033CC;
  color:#fff
}
.btn-red {
  background:#e53935;
  border-color:#e53935;
  color:#fff
}
.btn-red:hover {
  background-color:#e42a27;
  border-color:#e42a27;
  color:#fff
}
.btn-cyan {
  background:#00c0a5;
  border-color:#00c0a5;
  color:#fff
}
.btn-cyan:hover {
  background-color:#03b3ad;
  border-color:#03b3ad;
  color:#fff
}
.btn-line-gray {
  border-color:#b0b0b0;
  background:#fff;
  color:#757575
}
.btn-line-gray:hover {
  color:#fff;
  background-color:#757575;
  border-color:#757575
}
.btn-line-primary {
  border-color:#ff6700;
  background:#fff;
  color:#ff6700
}
.btn-line-primary:hover {
  color:#fff;
  background-color:#f25807;
  border-color:#f25807
}
.btn-line-green {
  border-color:#83c44e;
  background:#fff;
  color:#83c44e
}
.btn-line-green:hover {
  color:#fff;
  background-color:#71b639;
  border-color:#71b639
}
.btn-line-orange {
  border-color:#ffac13;
  background:#fff;
  color:#ffac13
}
.btn-line-orange:hover {
  color:#fff;
  background-color:#ff920f;
  border-color:#ff920f
}
.btn-line-gold {
  border-color:#ffd600;
  background:#fff;
  color:#ffd600
}
.btn-line-gold:hover {
  color:#fff;
  background-color:#fec517;
  border-color:#fec517
}
.btn-line-ocean {
  border-color:#2196f3;
  background:#fff;
  color:#2196f3
}
.btn-line-ocean:hover {
  color:#fff;
  background-color:#0c80dc;
  border-color:#0c80dc
}
.btn-line-blue {
  border-color:#0072C6;
  background:#fff;
  color:#0072C6
}
.btn-line-blue:hover {
  color:#fff;
  background-color:#494fc5;
  border-color:#494fc5
}
.btn-line-red {
  border-color:#e53935;
  background:#fff;
  color:#e53935
}
.btn-line-red:hover {
  color:#fff;
  background-color:#e42a27;
  border-color:#e42a27
}
.btn-line-cyan {
  border-color:#00c0a5;
  background:#fff;
  color:#00c0a5
}
.btn-line-cyan:hover {
  color:#fff;
  background-color:#03b3ad;
  border-color:#03b3ad
}
/* 过度 */
.fly-loading{position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -15px; font-size: 30px; color: #c2c2c2;}
/* 头像 */
.fly-avatar{position: absolute; left: 15px; top: 15px;}
.fly-avatar img{display: block; width: 45px; height: 45px; margin: 0; border-radius: 50%}

/*面包屑*/
#crumbs {
  height:36px;
  font-size:12px;
  line-height:36px;
  color:#616161;
  padding-left:5px;
}
#crumbs .sep {
  margin:0 0.5em;
  color:#b0b0b0;
}

.level-vip{
  display: inline-block;
  position: relative;
  padding: 0 18px 0 6px;
  height: 18px;
  line-height: 18px;
  background: linear-gradient(180deg, rgb(255, 235, 198) 0%, rgb(255, 212, 121) 100%);
  border-radius: 4px;
  color: #fff;
}
.icon-vip{ display: inline-block; margin: -5px 2px 0 6px; width: 18px;height: 18px;background: url(/static/images/icons/icon-vip.png)no-repeat center;background-size: 100%;vertical-align: middle; cursor: pointer}
.vip-gray{-webkit-filter: grayscale(1); filter: grayscale(1); }
.level-vip .icon-vip{position: absolute;right: -8px;bottom: 0;width: 24px;height: 24px;}

/* 面板 */
.fly-panel{border-radius: 2px; background-color: #fff;}
.fly-panel[pad20]{padding: 20px;}
.fly-panel-title{position: relative; height: 50px; line-height: 50px; padding: 0 15px; border-bottom: 1px dotted #E9E9E9; color: #333; border-radius: 2px 2px 0 0; font-size: 14px;}
.fly-panel-title.fixed {
  position: fixed;
  top: 88px;
  z-index: 999;
  width: 1200px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.1);
  background-color: #fff;
  border-bottom-style: solid;
}
.fly-panel-main{padding: 10px 15px;}

/* 专栏 */
.fly-column{height: 50px; line-height: 50px;}
.fly-column ul li{position: relative; display: inline-block; height: 50px;}
.fly-column ul li a{padding: 0 20px;}
.fly-column ul li.layui-this:after{ position: absolute; bottom: 13px; left: 8px; z-index: 0; width: 50px; height: 22px; border: 1px solid #5FB878; border-radius: 2px;}
.fly-column ul li.layui-this a{color: #5FB878;}
.fly-column ul li .fly-mid{margin: 0 20px;}
.fly-column-right{position: absolute; right: 0; top: 0;}
.fly-column-right .layui-btn{vertical-align: initial;}
.fly-column .layui-badge-dot{position: absolute; top: 50%; margin: -4px 0 0 5px;}

/* 搜索 */
.fly-search{display: inline-block; vertical-align: top; width: 50px; height: 50px; margin-right: 10px; text-align: center; cursor: pointer; font-size: 20px;}
.fly-search .layui-icon{font-size: 20px;}
.fly-search:hover{color: #5FB878;}
.fly-layer-search input{height: 75px; line-height: 75px; width: 500px; padding: 0 15px; font-size: 20px; border: none 0; background: none;}

/* 筛选 */
.fly-filter a{padding: 0 8px; color: #666;}
.fly-filter a.layui-this{color: #5FB878;}
.fly-filter .fly-mid{margin: 0 8px;}
.fly-filter-right{position: absolute; right: 10px; top: 0;}

/* 分页 */
.laypage-main,
.laypage-main *{display:inline-block; *display:inline; *zoom:1; vertical-align:top;}
.laypage-main{margin: 20px 0; border: 1px solid #009E94; border-right: none; border-bottom: none; font-size: 0;}
.laypage-main *{padding: 0 20px; line-height: 36px; border-right: 1px solid #009E94; border-bottom: 1px solid #009E94; font-size: 14px;}
.laypage-main .laypage-curr{background-color:#009E94; color:#fff;}
.layui-laypage{display: block;text-align: center; clear: both}

/* 简易编辑器 */
.fly-edit{position:relative; display: block; top: 1px; left:0; padding:0 10px; border: 1px solid #e6e6e6; border-radius: 2px 2px 0 0; background-color: #FBFBFB;}
.fly-edit span{cursor:pointer; padding:0 10px; line-height: 38px; color:#009E94;}
.fly-edit span i{position: relative; padding-right: 6px; font-size: 18px;}
.fly-edit span:hover{color: #5DB276;}

/* Detail页 */
.detail-box{padding: 20px;}
.detail h1{font-size: 24px; line-height: 36px;}
.fly-detail-info{position: relative; margin: 10px 0 15px;}
.fly-detail-info .layui-btn{height: 20px; line-height: 20px; vertical-align: top; border-radius: 0;}
.fly-detail-info .layui-btn+.layui-btn{margin-left: 0;}
.fly-admin-box{position: relative; display: inline-block; vertical-align: top; margin-left: 20px;}
.fly-detail-info .fly-list-nums{top: -3px; font-size: 16px;}
.fly-detail-info .fly-list-nums i{padding: 0 3px 0 15px; font-size: 22px; color: #999;}

.detail-about{position: relative; line-height: 20px; padding: 15px 15px 15px 75px; font-size: 13px; background-color: #f8f8f8; color: #999;}
.detail-about .jie-status, .detail-about .jie-status-ok{color:#fff;}
.detail-about .fly-jing{padding:0 6px; background-color:#c00; color:#fff;}
.detail-about .detail-hits{position: relative; top: 5px; line-height: 20px;}
.fly-detail-user{white-space: nowrap; overflow: hidden;}
.fly-detail-user a{padding-right: 10px; font-size: 14px;}
.fly-detail-user .icon-renzheng{top: 1px;}

.detail-hits span{height: 20px; line-height: 20px;}
.detail-hits .layui-btn{border-radius: 0;}
.detail-hits .layui-btn+.layui-btn{margin-left: 5px;}
.detail-hits .jie-admin{margin-right: 1px;}
.detail-body{margin: 20px 0 0; min-height: 306px; line-height: 26px; font-size: 16px; color: #333; word-wrap: break-word;}
.detail-body p{margin-bottom:15px;}
.detail-body a{color:#4f99cf;}
.detail-body img{max-width: 100%; cursor: crosshair;}
.detail-body table{margin: 10px 0 15px;}
.detail-body table thead{background-color:#f2f2f2;}
.detail-body table th,
.detail-body table td{padding: 10px 20px; line-height: 22px; border: 1px solid #DFDFDF; font-size: 14px; font-weight: 400;}
.detail .page-title{ border: none; background-color: #f2f2f2;}
/*弹窗*/
.blocker {
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  z-index:99999;
  padding:20px;
  box-sizing:border-box;
  background-color:rgba(0,0,0,0.50);
  text-align:center;
}
.blocker:before {
  content:"";
  display:inline-block;
  height:100%;
  vertical-align:middle;
  margin-right:-0.05em;
}
.blocker.behind {
  background-color:transparent;
}
.modal {
  display:none;
  vertical-align:middle;
  position:fixed;
  z-index:100000;
  box-sizing:border-box;
  width:90%;
  background:#fff;
  -webkit-border-radius:8px;
  -moz-border-radius:8px;
  -o-border-radius:8px;
  -ms-border-radius:8px;
  border-radius:8px;
  text-align:left;
}
.modal .modal-hd{
  padding: 12px;
  border-bottom: 1px solid #eaeaea;
}
.modal a.close-modal {
  position:absolute;
  top:6px;
  right:6px;
  display:block;
  width:30px;
  height:30px;
  text-indent:-9999px;
  background:url("../images/icons/icon-close.png")no-repeat center;
  background-size:80%;
}
.bpopup .btn-close {
  position:absolute;
  top:0;
  right:0;
  padding:12px;
  font-size:16px;
  line-height:1em;
  color:#bbb;
}
.bpopup .btn-close:hover {
  color:#fff;
  background-color:#EB4437;
}
.bpopup .pp-hd {
  font-size:16px;
  line-height:1em;
  padding:12px 15px;
  background:#f0f0f0;
  border-bottom:1px solid #e5e5e5;
}
.bpopup .pp-hd .b-title {
  margin:0;
  font-weight:500;
}
.bpopup .pp-bd {
  padding:20px;
}
.bpopup .pp-ft {
  padding:0 15px 12px 5px;
  text-align:right;
}
.bpopup .pp-ft .btn {
  width:66px;
  height:24px;
  font-size:12px;
  line-height:24px;
  margin-left:10px;
}
/* 求解管理 */
.jie-admin{cursor: pointer;}
.detail-hits .jie-admin{color: #fff; padding: 0 10px; }
.detail-hits .jie-admin a{color: #fff;}
.jieda-admin{position:absolute; right: 0; top: 0;}

/* 回答 */
.jieda{margin-bottom: 30px;}
.jieda .jieda-daan{position: relative; padding: 20px 0 10px; border-bottom: 1px dotted #DFDFDF;}
.jieda .fly-none{height: 50px; min-height: 0;}
.jieda .icon-caina{position:absolute; right:10px; top:15px; font-size:60px; color: #58A571;}

.detail-about-reply{position:relative; padding: 0 0 0 55px; background: none;}
.detail-about-reply .detail-hits{left: 0; bottom: 0;}
.detail-about-reply .fly-avatar{left: 0; top: 0;}

@keyframes scaleICon {
  0% {

    transform: scale(0, 0);
  }
  100% {
    transform: scale(1, 1);
  }
}

@-webkit-keyframes scaleICon /*Safari and Chrome*/
{
  0% {

    transform: scale(0, 0);
  }
  100% {
    transform: scale(1, 1);
  }
}
.jieda-body{margin: 18px 0 12px; min-height: 0; line-height: 24px; font-size:14px;}
.jieda-body p{margin-bottom: 10px;}
.jieda-body a{color:#4f99cf}
.jieda-reply{position:relative;}
.jieda-reply span{padding-right:20px; color:#999; cursor:pointer;}
.jieda-reply span:hover{color:#666;}
.jieda-reply span i{ font-size:16px;}
.jieda-reply span em{font-style: normal;vertical-align: 1px}
.jieda-reply .zanok,
.jieda-reply .jieda-zan:hover, .jieda-reply button:hover{color:#44a4f8}
.jieda-reply span .icon-svgmoban53{position: relative; top: 1px;}
.jieda-reply button{margin-left:16px; background: #fff; border: none; color: #999; cursor: pointer}
.jieda-reply .zanok .icon-zan{display:inline-block; animation: scaleICon 0.5s ease-out;-webkit-animation: scaleICon 0.5s ease-out}
/* 评价 */
.layui-elem-field legend{
  margin: 0 auto;
}
.layui-field-title{
  text-align: center;
  margin-bottom: 10px;
}
.layui-form-text{
  position: relative;
}
.detail-about .comment-star{
  position: absolute;
  right: 0;
  top:0;
}
.comment-star .layui-rate{
  padding: 0;
}
.layui-form-pane .comment-star{
  position: initial;
  margin: 12px 0;
}
.teacher-title{
  font-size: 10px;
  border: 1px solid #caad74;
  border-radius: 2px;
  color: #caad74;
  padding: 0 2px;
}

.comment-box{
  margin-bottom: 14px;
  cursor: pointer;
}

.comment-box span{
  vertical-align: -1px;
}
.layui-rate li i.layui-icon{
  margin-right: 2px;
  color: #e4393c;
  font-size: 16px;
}

.ks-num.user-tab-wrap{
  border: none;
}
.user-tab-content{
  padding: 0;
}
.amountNmber{
  font-size: 16px;
}
.phone-info{
  margin: 12px 0;
}
.course-info p{
  display: inline-block;
  margin-right: 10px;
}
.course-info .layui-btn-normal{
  background-color: #fff;
  border: 1px solid #00a4ff;
  color: #00a4ff;
}
.course-info p span{
  color: #1E9FFF;
}
.user-info-top h3{
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
}
.user-info-top i{
  margin-left: 12px;
  color: #FFB800;
}

/*待审核已发布*/
.user-teaching-list li{
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
}
.teachAims{
  display: inline-block;
  width: 80%;
  height: 18px;
  line-height: 18px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.createTime{
  color: #666;
}


/* 404或提示 */
.fly-none{min-height: 600px; text-align: center; padding-top:50px; color: #999;}
.fly-none .iconfont{line-height: 300px; font-size: 300px; color: #393D49;}
.fly-none .icon-tishilian{display: inline-block; margin: 30px 0 20px;}
.fly-none p{margin-top: 50px; padding: 0 15px; font-size: 20px; color: #999; font-weight: 300;}
.fly-list-one .fly-none{min-height: 70px;}

/*声明和下一篇上一篇*/
.declare-box{
  margin-top: 10px;
  padding: 0 16px 16px;
  bottom: 0;
  background: #fff;
}
.nav-btn {
  padding-top: 18px;
}
.nav-btn div {
  margin-bottom: 10px;
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
  overflow: hidden;
  word-break: break-all;
}
.declare-info {
  color: #ac9da2;
  font-size: 12px;
  padding: 10px 0;
}

.tabs a.btn-advices{
  display: block;
  float: right;
  margin: 0;
  padding: 8px;
  color: #999;
}
.tabs a.btn-advices i.layui-icon{
  display: inline-block;
  margin-right: 2px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #aaa;
  font-weight: bold;
}
.btn-addGoods{
  position: absolute;
  right: 8px;
  top: 0;
}
.btn-addGoods a{
  padding: 0 8px;
  line-height: 24px;
  border: 1px solid #ccc;
  border-radius: 30px;
  color: #333;
}
.btn-addGoods a.btn-select{
  color: #FF6700;
  border: 1px solid #FF6700;
}
