/**
 *  设置全局公共样式，通过var()引入 
 *  换算： 12px / 16px = 0.875rem;
 *  换算： 20px / 16px = 1.25rem;
 *  big: 50px
 *  xxl: 26px
 *  xl: 24px
 *  lg: 20px
 *  md: 18px
 *  sm: 16px
 *  xs: 14px
 *  xxs: 12px
 */
:root {
  --color-theme: #ed6d00;
  --color-theme-two: #404040;
  --color-bg-one: #f7f7f7;
  --color-bg-two: #ffffff;
  --color-bg-thr: #e5e5e5;
  --color-text-one: #403f3f;
  --text-big-size: 3.125rem;
  --text-xxl-size: 1.625rem;
  --text-xl-size: 1.5rem;
  --text-lg-size: 1.25rem;
  --text-md-size: 1.125rem;
  --text-sm-size: 1rem;
  --text-xs-size: 0.875rem;
  --text-xxs-size: 0.75rem;
}

::selection {
  background: #ed6d00;
  color: white;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  display: block;
}
a:hover {
  text-decoration: none !important;
}

.pc-show {
  display: block;
}
.mb-show {
  display: none;
}

@media (max-width: 900px) {
  .pc-show {
    display: none;
  }
  .mb-show {
    display: block;
  }
}
.clearboth {
  clear: both;
}
.div-table {
  display: table;
  height: 100%;
  width: 100%;
}
.table-cell {
  display: table-cell;
  vertical-align: middle;
  height: 100%;
}
/* 公共css */
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  /* fill: currentColor; */
  overflow: hidden;
}
.no-margin {
  margin: 0 !important;
}
.no-padding {
  padding: 0 !important;
}
.bg-box {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* 固定布局宽度 */
.content-container {
  max-width: 1240px;
  margin: 0 auto 0;
}
/* 主题色按钮 */
.theme-btn {
  background-color: var(--color-theme);
  border: none;
  text-transform: uppercase;
}
.theme-btn a {
  color: white;
  text-transform: uppercase;
}
/* 头部的背景图片 */
.theme-box {
  padding: 12.5rem 0 2.5rem;
}
.theme-box.home {
  padding: 34vh 0 26vh;
}
.theme-box .theme-text {
  min-height: 21rem;
}
.theme-box .theme-text h2 {
  color: #ff5400;
  line-height: 1.2;
  font-size: 2.3rem;
  margin: 0;
  font-weight: 600;
}
.theme-box .theme-text p {
  margin-top: 1.3rem;
  color: #ff5400;
  max-width: 500px;
  font-size: var(--text-sm-size);
}
.image,
.image img {
  width: 100%;
  transition: all 0.3s;
}

@font-face {
  font-family: "LatoRegular_1";
  src: url("../font/LatoRegular/lato-regular-webfont.eot");
  src: url("../font/LatoRegular/lato-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../font/LatoRegular/lato-regular-webfont.woff2") format("woff2"),
    url("../font/LatoRegular/lato-regular-webfont.woff") format("woff"),
    url("../font/LatoRegular/lato-regular-webfont.ttf") format("truetype"),
    url("../font/LatoRegular/lato-regular-webfont.svg#latoregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "LatoLight";
  src: url("../font/LatoLight/Lato-Light.eot");
  src: url("../font/LatoLight/Lato-Light.eot?#iefix")
      format("embedded-opentype"),
    url("../font/LatoLight/Lato-Light.woff2") format("woff2"),
    url("../font/LatoLight/Lato-Light.woff") format("woff"),
    url("../font/LatoLight/Lato-Light.ttf") format("truetype"),
    url("../font/LatoLight/Lato-Light.svg#latoregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

body,
html,
.selffont {
  font-family: "LatoRegular_1", Arial, Helvetica, sans-serif, Lucida Grande,
    Lucida Sans !important;
}
h2 {
  font-family: "LatoLight", "LatoRegular_1", Arial, Helvetica, sans-serif,
    Lucida Grande, Lucida Sans !important;
}

/* 分页组件的样式 */
.pages-component {
  width: 100%;
  margin: 1.875rem 0 6.25rem;
  text-align: center;
}
.pages-box .start {
  display: inline-block;
  padding: 0 0.625rem;
  margin: 0 2px;
  background-color: var(--color-theme-two);
  color: var(--white);
  font-size: var(--text-md-size);
  cursor: pointer;
  line-height: 2.5rem;
  vertical-align: middle;
}
.pages-box .icon {
  background-color: var(--color-theme);
  color: var(--white);
  font-size: 1.875rem;
  line-height: 2.5rem;
  padding: 0.3125rem;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 2px;
}
.pages-box .pagenum {
  display: inline-block;
  width: 2.5rem;
  margin: 0 2px;
  color: var(--color-theme-two);
  font-size: var(--text-md-size);
  cursor: pointer;
  line-height: 2.5rem;
  vertical-align: middle;
  border: 1px solid var(--color-theme-two);
}
.pages-box .page-select {
  height: 2.5rem;
  padding: 0 0.625rem;
  background: var(--color-theme-two);
  color: white;
  vertical-align: middle;
}
