@charset "utf-8";

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  width: 100%;
  min-width: 1180px;
  height: 100%;
  padding: 0px;
  margin: 0;
  font-family: PingFang SC,Microsoft YaHei,sans-serif;
  font-size: 12px;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, sumary {
  margin: 0;
  padding: 0;
}
body {
  height: 100%;
  background: #fff;
}
/*清除输入框内阴影*/
input, select,textarea {
  border: 0;
  -webkit-appearance: none;
  appearance:none;
}
textarea {
  resize: none;
}
ol, ul {
  list-style: none;
}
/*禁止选中文本内容*/
/**:not(input, select, textArea) {
  -webkit-user-select: none;
}*/
/*禁用长按页面时的弹出菜单(iOS下有效) ,img和a标签都要加*/
img,a{
  -webkit-touch-callout:none;
  color: inherit;
}
a,a:active,a:hover {
  text-decoration: none;
}
/*去掉点击链接和文本框对象时默认的灰色半透明覆盖层(iOS)或者虚框(Android)*/
a,button,input,textarea{
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bg_img {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
}

.bg_all {
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-position: center center;
  background-size: contain;

}

.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsis3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.bb {
  position: relative;
}

.bb:before {
  content: '';
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #E7E7E7;
  transform: scaleY(.5);
}

.bt {
  position: relative;
}

.bt:after {
  content: '';
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: #E7E7E7;
  transform: scaleY(.5);
}

.ra:after {
  content: '';
  display: inline-block;
  width: .18rem;
  height: .3rem;
  background: url(https://gaif.oss-cn-hangzhou.aliyuncs.com/gf_webapp/index/gengduo.svg) no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
  position: absolute;
  right: 0;
  top:0;
  bottom: 0;
  margin: auto;
}

.yuan:after {
  content: '元';
  line-height: .3rem;
  color: #333;
  font-size: .28rem;
  position: absolute;
  right: 0;
  top:0;
  bottom: 0;
  margin: auto;
  height: .3rem;
}

.oh {
  overflow: hidden!important;
}

.mask_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 299;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}

.layout {
  min-height: 100vh;
  padding-bottom: 140px;
  position: relative;
}

.no_data_pc {
  font-size: 13px;
  text-align: center;
  color: #888;
  padding-top: 150px;
  padding-bottom: 50px;
  background: url(https://gaif.oss-cn-hangzhou.aliyuncs.com/nodata/no_data.png) no-repeat center 60px / 80px 80px;
}

.btn_hover {
  opacity: .9;
}

.btn_hover:hover {
  opacity: 1;
  cursor: pointer;
}

textarea::-webkit-input-placeholder,input::-webkit-input-placeholder {
  color: #888999!important;
  font-family: '微软雅黑';
}
textarea::-webkit-input-placeholder,input:-moz-placeholder {
  font-family: '微软雅黑';
  color: #888999!important;
}
textarea::-webkit-input-placeholder,input:-ms-input-placeholder {
  font-family: '微软雅黑';
  color: #888999!important;
}

input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

input {
  outline: none;
  border: none;
  background: rgba(0,0,0,0);
}

.required:after {
  content: '*';
  color: #FF4040;
  position: relative;
  left: 3px;
  top: -3px;
}

.upload_btn {
  width: 100px;
  height: 100px;
  border: 1px solid #DADADA;
  position: relative;
  cursor: pointer;
}

.upload_btn>* {
  cursor: pointer!important;
}

.upload_btn:before {
  content: '';
  width: 2px;
  height: 40px;
  background: #DADADA;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.upload_btn:after {
  content: '';
  width: 40px;
  height: 2px;
  background: #DADADA;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}


.iscroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
/*正常情况下滑块的样式*/
.iscroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,97,174,.25);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.iscroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);
}
/*鼠标悬浮在滑块上时滑块的样式*/
.iscroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,.4);
    -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);
}
/*正常时候的主干部分*/
.iscroll::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
    background-color: white;
}
/*鼠标悬浮在滚动条上的主干部分*/
.iscroll::-webkit-scrollbar-track:hover {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.4);
    background-color: rgba(0,0,0,.01);
}
.iscroll{
  overflow: auto;/*当内容溢出时显示滚动条*/
}

.nav_item>a {
	display: block!important;
}