@import url("./base.css");

body {
  background: #e9e9e9
}

.view-body>.wrap>.el-row {
  margin: 0 -10px;
}

.view-body>.wrap>.el-row>.el-col {
  padding: 0 10px;
}

/* 文章侧边栏 */
.nav-sidebar>* {
  margin-bottom: 1em;
}

.nav-sidebar>*:last-child {
  margin-bottom: 0;
}

.widget-header {
  text-align: center;
  color: #fff;
  line-height: 36px;
  background: #f0943b;
  border-radius: 5px 5px 0 0;
}

.widget-body {
  border: 1px solid #e0e0e0;
  border-top: none;
  background: #fff;
}

.top-news ul {
  list-style-type: none;
  margin: 0;
  padding: 0.5em 1em;
}

.top-news ul li {
  position: relative;
  padding-left: 0.75em;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.top-news ul li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 100%;
  content: "";
  background: #000;
  margin-top: -3px;
}

.top-keywords ul {
  list-style-type: none;
  margin: -0.5em 0 0 0;
  padding: 1em 0.5em;
  overflow: hidden;
}

.top-keywords ul li {
  float: left;
  width: 50%;
  padding: 0 0.4em;
  margin-top: 0.5em;
  font-size: 14px;
}

.top-keywords ul li a {
  display: block;
  padding: 0.5em 0;
  border: 1px dashed #e8e8e8;
  background: #fcfcfc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* 文章右侧主体 */
.nav-main {
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nav-main-header {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1em;
  border-bottom: 1px solid #dbdbdb;
  margin: 0 1em;
}

.nav-main-header .title {
  color: #000;
  font-size: 18px;
}

.nav-main-header .el-breadcrumb {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-main-header .el-breadcrumb__inner.is-link,
.nav-main-header .el-breadcrumb__inner.is-link:hover,
.nav-main-header .el-breadcrumb__item i,
.nav-main-header .el-breadcrumb__item:last-child .el-breadcrumb__inner {
  color: #000;
}

.nav-main-header .el-breadcrumb__inner.is-link:hover {
  cursor: pointer;
}

.nav-main-header .el-breadcrumb__item:first-child .el-breadcrumb__inner {
  color: #000;
}

.nav-main-header .el-breadcrumb__inner.is-link {
  font-weight: normal;
}

.nav-main-header .el-breadcrumb__inner.is-link:hover {
  text-decoration: underline;
}

.nav-main-body {
  padding: 2rem;
  height: 100%;
  border-top: none;
}

/* 新闻栏目-标题+图片列表 */
.pro-list .el-row {
  margin: -40px -20px 0;
}

.pro-list .el-col {
  margin-top: 40px;
  padding: 0 10px;
}

.pro-list a {
  display: block;
  background: #fff;
  border: 5px solid #efefef;
}

.pro-list a .img {
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}

.pro-list a .img img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.pro-list a .title {
  display: block;
  line-height: 34px;
  text-align: center;
  font-size: 14px;
  background: #efefef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-list a:hover {
  border-color: #3366cc;
}

.pro-list a:hover .title {
  color: #fff;
  background: #3366cc;
}

/* 新闻列表-标题 */
.news-list .el-col {
  position: relative;
  padding: 0.5em 0 0.5em 1.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.news-list .el-col::before {
  position: absolute;
  top: 50%;
  left: 0.5em;
  width: 3px;
  height: 3px;
  content: "";
  background: #555;
  border-radius: 100%;
  margin-top: -3px;
}

/* 新闻栏目-标题+内容列表 */
.news-detail .el-row {
  padding-bottom: 25px;
  padding-left: 1em;
  padding-right: 1em;
  background: #ebebeb;
  margin-bottom: 30px;
}

.news-detail .el-row:hover {
  background: #3266cc;
}

.news-detail .title,
.news-detail .img {
  display: block;
}

.news-detail .title {
  color: #888;
}

.news-detail .title h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #333;
}

.news-detail .title p {
  font-size: 14px;
  line-height: 30px;
  max-height: 60px;
  overflow: hidden;
  color: #555;
  margin: 0;
}

.news-detail .el-row:hover .title h2,
.news-detail .el-row:hover .title p,
.news-detail .title:hover h2,
.news-detail .title:hover p {
  color: #fff;
}

.news-detail .img {
  margin-top: 25px;
}

.news-detail .img img {
  width: 100%;
  max-height: 150px;
}

.news-detail ul {
  list-style-type: none;
  margin: 1em 0 0 0;
  padding: 0;
  overflow: hidden;
}

.news-detail ul li {
  float: left;
  margin-right: 1em;
  font-size: 14px;
}

.news-detail ul li:last-child {
  margin-right: 0;
}

.news-detail ul li i {
  margin-right: 0.5em;
  color: #409eff;
}

.news-detail ul li em {
  font-style: normal;
  color: #b3b3b3;
  margin-right: 0.5em;
}

.news-detail .el-col-18 {
  width: 100%;
  display: block;
  float: unset;
}

.news-detail .el-col-6 {
  float: right;
  padding-left: 20px;
}

/* 文章展示页 */
.news-show {
  padding: 5px;
}

.news-show>.title,
.pro-show>.title {
  display: block;
  color: #444;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6em;
  text-align: center;
  margin-bottom: 20px;
}

.news-show .sub-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  border-top: 1px dashed #e0e1dc;
  border-bottom: 1px dashed #e0e1dc;
  color: #999;
  padding: 1em 0;
  margin-bottom: 20px;
}

.news-show .sub-title>* {
  flex: 1;
  text-align: center;
}

.news-show .url,
.pro-show .url {
  padding: 1em 0 1em 1em;
  border-top: 1px dashed #e0e1dc;
  border-bottom: 1px dashed #e0e1dc;
  color: #999;
  font-weight: normal;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-show .keywords,
.pro-show .keywords {
  font-size: 12px;
  color: #999;
  padding: 1em 0 1em 1em;
  border-bottom: 1px dashed #e0e1dc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-show .adjoin,
.pro-show .adjoin {
  list-style-type: none;
  margin: 0;
  padding: 0.5em 0;
  color: #999;
  font-size: 12px;
  border-bottom: 1px dashed #e0e1dc;
}

.news-show .adjoin li,
.pro-show .adjoin li {
  padding-left: 1em;
  line-height: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 产品展示 */
.pro-show .title {
  margin-bottom: 0;
}

.pro-show .detail {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  padding: 1em 0;
}

.pro-show .detail .img {
  width: 300px;
}

.pro-show .detail ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0 2em;
}

.pro-show .detail ul li {
  font-size: 14px;
  border-bottom: 1px dashed #e0e1dc;
  padding: 10px 0;
}

.pro-show .detail ul li em {
  font-style: normal;
  color: #999;
}

.pro-show .detail ul li .el-button {
  color: #fff;
}

.pro-show .sub-title {
  background-color: #f8f8f8;
}

.pro-show .sub-title>* {
  padding: 0.5em 1em;
  background-color: #409eff;
  color: #fff;
  display: inline-block;
  font-size: 14px;
}

/* 相关产品、相关新闻 */
.relation {
  margin-top: 1em;
}

.relation-header {
  background-color: #f8f8f8;
}

.relation-header>* {
  padding: 0.5em 1em;
  background-color: #409eff;
  color: #fff;
  display: inline-block;
  font-size: 14px;
}

.relation-body {
  padding-top: 1em;
}

/* 文本编辑器 */
.fr-view {
  line-height: 2;
}

.fr-view img {
  vertical-align: top;
}

.gbook-title {
  line-height: 1em;
  padding: 12px 0;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  background: #f0943b;
  color: #fff;
  margin-bottom: 0;
}

#allmap {
  width: 100%;
  height: 400px;
}

.contact-row .nav-main {
  background: #e9e9e9;
}

/* form表单 */
.el-form {
  display: block;
  padding: 1em;
}

.el-form-item__label {
  width: 120px;
}

.el-form-item__content {
  margin-left: 120px;
}

.el-input-smail {
  width: 300px;
}

.el-input-code {
  display: flex;
}

.el-input-code input {
  margin-right: 2em;
  width: 120px;
}

.el-input-code img {
  cursor: pointer;
}

.el-form .el-button i {
  display: none;
}

.el-form .el-button.is-loading i {
  display: inline-block;
}

/* 标签页 */
.tag-description {
  border: 1px solid #e8e8e8;
  padding: 1em;
  font-size: 14px;
  line-height: 2em;
  background: rgb(240, 249, 235);
}

.tag-description font {
  color: #409eff;
  font-weight: 700;
}

/* onepage-2 */
.onepage-2 .profile_title {
  min-height: 72px;
  width: 80%;
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px 35px;
  margin: 0 0 25px 0;
  background: url(../img/about_title.png) no-repeat left top;
}

.onepage-2 .profile_title p {
  font-size: 24px;
  color: #1f1f1f;
  text-transform: uppercase;
  line-height: 22px;
  padding-top: 15px;
  margin-bottom: 10px;
}

.onepage-2 .profile_title span {
  display: block;
  font-size: 22px;
  color: #f0943b;
  margin-left: 45px;
}

.onepage-2 .about-r {
  height: 450px;
  margin-top: 70px;
  float: right;
  background: url(../img/one_about_r.jpg) no-repeat right center;
}

.onepage-2 .about-r img {
  width: 90%;
  padding-top: 85px;
}

@media screen and (max-width: 750px) {
  body {
    background-color: #f1f1f1;
  }

  .onepage-2 .el-col-12 {
    width: 100%;
  }

  .onepage-2 .about-r {
    height: auto;
    float: none;
    background: none;
  }

  .onepage-2 .about-r img{
    width: 100%;
    padding-top: 15px;
  }

  .mt {
    margin-top: 10px;
  }

  .view-body>.wrap {
    padding: 0;
  }

  .view-body>.wrap>.el-row>.el-col-5 {
    display: none;
  }

  .view-body>.wrap>.el-row>.el-col {
    width: 100%;
  }

  .nav-main-header .el-breadcrumb {
    display: none;
  }

  .nav-main-body {
    padding: 1em;
    border-left: none;
    border-right: none;
  }

  .news-list .el-col {
    width: 100%;
  }

  .pro-list .el-col {
    width: 50%;
  }

  .news-detail .el-row:hover {
    background: unset;
  }

  .news-detail .el-row:active {
    background: #f1f1f1;
  }

  /* 联系我们 */
  .page-10 .fr-view img.fr-dii.fr-fir {
    display: block;
    float: none;
    margin: 0 auto;
  }

  .el-form {
    padding: 0;
  }

  .el-form-item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .el-form-item:last-child {
    margin-top: 20px;
  }

  .el-form-item>* {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .el-form-item__label {
    text-align: left;
  }

  .el-input-smail {
    width: 100%;
  }

  .pro-show .detail {
    border-top: 1px solid #e8e8e8;
  }

  .pro-show .detail .picZoom {
    display: none;
  }
}

@media screen and (max-width: 580px) {
  .content .fr-view table {
    display: none;
  }
}