﻿/**************************基本样式***********************/
html,
body,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
em,
img,
strong,
var,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
i {
  font-family: 'PingFangSC', 'Microsoft YaHei', '微软雅黑', arial, SimSun, '宋体', Helvetica;
  font-style: normal;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  font-weight: normal;
}

html {
  -webkit-overflow-scrolling: touch;
  background: #F7F7F9;
  margin: 0 auto;
  transform-origin: left top;
}

body {
  min-width: 1280px;
}

body {
  background: #fff;
}

body,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
em,
img,
strong,
var,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
i {
  font-size: 14px;
  color: #333333;
}

ul,
ol {
  list-style: none
}

input[type=button],
button,
input,
select {
  outline: none;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select::-ms-expand {
  display: none !important;
}

input[type=radio] {
  -webkit-appearance: none;
  opacity: 0;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999;
}

input:disabled {
  -webkit-text-fill-color: #000;
  -webkit-opacity: 1;
  color: #333;
}

input:-webkit-autofill {
  background-color: #fff !important;
  -webkit-box-shadow: 0 0 0 400px #fff inset;
}

/*去掉浏览器的input type=number的上下箭头*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/*去除一些浏览器（chrome）下的获取焦点之后出现的蓝色的发光边框的问题--start--*/
/*for mozilla*/
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"]>input[type="button"]::-moz-focus-inner {
  border: 1px dotted transparent;
}

button:focus::-moz-focus-inner,
input[type="reset"]:focus::-moz-focus-inner,
input[type="button"]:focus::-moz-focus-inner,
input[type="submit"]:focus::-moz-focus-inner,
input[type="file"]>input[type="button"]:focus::-moz-focus-inner {
  padding: 3px;
  border-color: #F3F3F3;
}

/*去除一些浏览器（chrome）下的获取焦点之后出现的蓝色的发光边框的问题--end--*/

button:active,
input[type=button]:active {
  outline: none;
  opacity: 0.5;
}

button:disabled,
input[type=button]:disabled {
  opacity: 0.8;
  background: #ccc;
  box-shadow: none;
}

.pointer,
button,
input[type=button],
input[type=submit],
input[type=file] {
  cursor: pointer;
}

img {
  vertical-align: middle;
}

a,
a:hover,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  cursor: pointer;
  opacity: 0.8;
}

/*****************************全局基本**************************/
.clear:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  zoom: 1;
}

.require:before {
  content: '*';
  font-size: 15px;
  color: red;
}

.ove,
.ove2,
.ove3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

.ove2 {
  max-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  white-space: normal;
}

.ove3 {
  max-height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  white-space: normal;
}

.hide {
  display: none;
}

.textinedent {
  text-indent: 2em;
}

.fleft {
  float: left;
}

.fright {
  float: right;
}

.center {
  text-align: center;
}

.tleft {
  text-align: left;
}

.tright {
  text-align: right;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.iblock {
  display: inline-block;
}

.flex {
  display: flex;
}

.flex1 {
  flex: 1;
}

.flex2 {
  flex: 2;
}

.fontb {
  font-weight: 700;
}

.font12 {
  font-size: 12px
}

.font13 {
  font-size: 13px
}

.font14 {
  font-size: 14px
}

.font15 {
  font-size: 15px
}

.font16 {
  font-size: 16px
}

.font18 {
  font-size: 18px
}

.font20 {
  font-size: 20px
}

.font22 {
  font-size: 22px
}

.font24 {
  font-size: 24px
}

.font28 {
  font-size: 28px
}

.font30 {
  font-size: 30px
}

.font36 {
  font-size: 36px
}

.font40 {
  font-size: 40px
}

.fontb {
  font-weight: 700;
}

.fontn {
  font-weight: 400;
}

.vtop {
  vertical-align: top;
}

/*全局颜色*/
.clo3,
a.clo3 {
  color: #333;
}

.clo6,
a.clo6 {
  color: #666;
}

.clo9,
a.clo9 {
  color: #999;
}


.mt5 {
  margin-top: 5px;
}

.ml5 {
  margin-left: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.mt16 {
  margin-top: 16px;
}

.mtb10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.ml10 {
  margin-left: 10px;
}

.ml24 {
  margin-left: 24px;
}

.ml30 {
  margin-left: 30px;
}

.mr10 {
  margin-right: 10px;
}

.mb8 {
  margin-bottom: 8px;
}

.mt24 {
  margin-top: 24px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mt50 {
  margin-top: 50px !important;
}

.pl10 {
  padding-left: 10px;
}

.pr10 {
  padding-right: 10px;
}

.pb30 {
  padding-bottom: 30px;
}

.plr10 {
  padding-left: 10px;
  padding-right: 10px;
}

.ptb5 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.ptb10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

/*按钮弹出框*/
.ipt {
  width: 560px;
  height: 40px;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 0 5px;
  border: 1px solid #B0B9C5;
}

.textarea {
  width: 560px;
  height: 201px;
  border-radius: 4px;
  border: 1px solid #B0B9C5;
}

.textarea:focus,
.ipt:focus {
  color: #7D2929;
  border-color: #7D2929;
  outline: 1px solid #7D2929;
}

.btn {
  display: inline-block;
  width: 150px;
  height: 40px;
  line-height: 40px;
  background: #7D2929;
  border-radius: 4px;
  color: #fff;
  text-align: center;
}

.btn.reset {
  background: #eee;
  margin-left: 16px;
  color: #333;
}

.detail-btn {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 130px;
}

.btn:hover,
.btn:active {
  opacity: 0.8;
}

/*自动消失的提示框*/
#clearpop {
  position: fixed;
  left: 10%;
  right: 10%;
  bottom: 70px;
  z-index: 999;
  text-align: center
}

#clearpop p {
  display: inline-block;
  min-width: 100px;
  max-width: 90%;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  line-height: 22px;
  border-radius: 5px;
  background: #333;
  color: #FFFFFF;
  opacity: 0.9
}