@charset "utf-8";
/* 清除内外边距 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
fieldset,
lengend,
button,
input,
textarea,
th,
td {
  margin: 0;
  padding: 0;
  _background-image: url(about:blank);
  _background-attachment: fixed;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td,
form,
strong,
b {
  margin: 0;
  padding: 0;
  font-weight: normal;
  -webkit-font-smoothing: none;
  -webkit-font-smoothing: subpixel-antialiased | default;
  -webkit-font-smoothing: antialiased;
}
/* 设置默认宽高包含边框填充 */
* {
  box-sizing: border-box; /*it gives error:Validation (CSS 2.1): 'box-sizing' is not a known CSS property name. */
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
}
:after,
:before {
  box-sizing: border-box; /*it gives error:Validation (CSS 2.1): 'box-sizing' is not a known CSS property name. */
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
}

/* 设置默认字体 */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  color: #666666;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-weight: 400;
}

body,
button,
input,
select,
textarea {
  font-family: "Open Sans", Tahoma, Arial, "Microsoft YaHei", sans-serif;
  font-size: 100%;
  outline: none;
  overflow-x: hidden;
}
address,
caption,
cite,
code,
dfn,
em,
var,
i {
  font-style: normal;
  font-weight: normal;
} /* 重置样式标签的样式 */
figure {
  margin: 0;
}
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
textarea {
  overflow: auto;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
td,
th {
  padding: 0;
}

.f-m-YaHei {
  font-family: "Microsoft YaHei";
}
/* 列表元素 */
ul,
ol,
li {
  list-style: none;
}
img {
  border: none;
  vertical-align: middle;
}
.img_sy {
  width: 100%;
  height: auto;
} /*自适应图片*/

/* a标签 */
a {
  text-decoration: none;
  color: #666;
}
a:hover {
  text-decoration: none;
  color: #44a8f2;
}

/* 定义浮动居中 */
.fl {
  float: left;
  display: inline;
}
.fr {
  float: right;
  display: inline;
}
.center {
  margin: 0 auto;
}
.clear {
  clear: both;
  height: 0px;
  line-height: 0px;
  font-size: 0px;
}
.clearfix:after,
.clearfix:before {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1;
}

/*重复div标签*/
.div {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}

/* 重置h标签 */
h1 {
  font-size: 3.75em;
} /* 60 */
h2 {
  font-size: 2.75em;
} /* 44 */
h3 {
  font-size: 1.875em;
} /* 30 */
h4 {
  font-size: 1.375em;
}
h5 {
  font-size: 1.125em;
}
h6 {
  font-size: 0.875em;
}

/* 字体大小 */
.font12 {
  font-size: 0.75em;
}
.font14 {
  font-size: 0.875em;
}
.font16 {
  font-size: 1em;
}
.font18 {
  font-size: 1.125em;
}
.font20 {
  font-size: 1.25em;
}
.font22 {
  font-size: 1.375em;
}
.font24 {
  font-size: 1.5em;
}
.font26 {
  font-size: 1.625em;
}
.font28 {
  font-size: 1.75em;
}
.font30 {
  font-size: 1.875em;
}
.font36 {
  font-size: 2.25em;
}

/* 所有颜色 */
.c1 {
  color: #666666;
}
.c2 {
  color: #fff;
}
.c3 {
  color: #fd2020;
}
.c4 {
  color: #333;
}
.c5 {
  color: #44a8f2;
}
.c6 {
  color: #999;
}
.c7 {
  color: #000;
}

/* 定义边距  padding margin*/
.p1 {
  padding-top: 25px;
}

/*line-height*/
.line1 {
  line-height: 20px;
}
.line2 {
  line-height: 24px;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #7e7e7e;
  font-size: 0.875em;
}
input:-moz-placeholder,
textarea::-moz-input-placeholder {
  color: #7e7e7e;
  font-size: 0.875em;
}

.hide {
  display: none !important;
}
.show {
  display: block !important;
}

@media screen and (max-width: 768px) {
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: 0.95em;
  }
}
