/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #444;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  background: #f4f4f4;
}

.container-full {
  min-width: 1034px;
}

.container {
  position: relative;
  width: 1034px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.content {
  display: flex;
  align-items: flex-start;
}

.sidebar {
  -ms-flex: 0 0 26%;
  flex: 0 0 26%;
  max-width: 26%;
}

.main {
  -ms-flex: 0 0 74%;
  flex: 0 0 74%;
  max-width: 74%;
}



.header {
  padding-top: 10px;
  background: #fff;
}

.header .brand {
  display: block;
  margin: 0 0 30px 30px;
}

.header .brand img {
  display: block;
  width: 453px;
  height: 59px;
}

.header .topnav {
  position: absolute;
  top: 15px;
  right: 35px;
  margin: 0;
  font-size: 12px;
}

.header .topnav a {
  color: #444;
  text-decoration: none;
}

.header .topnav a:hover {
  color: #ff6600;
}

.header .topnav > a + a:before {
  margin: 0 10px;
  color: #444;
  content: "/";
}

.header .nav-toggle {
  display: none;
}

.header .navbar {
  position: relative;
  z-index: 999;
}

.header .navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-radius: 6px;
  background-image: linear-gradient(#1e89d1, #06429a);
}

.header .navbar ul > li {
  -ms-flex: 0 0 130px;
  flex: 0 0 130px;
  max-width: 130px;
  font-size: 15px;
  line-height: 34px;
  text-align: center;
}

.header .navbar ul > li > a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.header .navbar ul > li > a:hover,
.header .navbar ul > li > a.active {
  color: #ffa044;
}



.slide {
  position: relative;
  padding-top: 5px;
  margin-bottom: 30px;
  background: #dfe8ef;
}

.slide::before {
  position: absolute;
  top: -17px;
  left: 0;
  width: 100%;
  height: 17px;
  background: #dfe8ef;
  content: "";
}

.slide::after {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 29px;
  background-image: linear-gradient(#f4f6f5, #eceaeb);
  border-bottom: 1px solid #d4d2d3;
  content: "";
}

.slide img {
  display: block;
  max-width: 100%;
  height: auto;
}



.scroll {
  display: flex;
  color: #ff6600;
  font-size: 12px;
  line-height: 29px;
  padding-bottom: 12px;
}

.scroll label {
  -ms-flex: 0 0 70px;
  flex: 0 0 70px;
  max-width: 70px;
}

.scroll-body {
  height: 29px;/* 必要元素 */
  overflow: hidden;/* 必要元素 */
}

.scroll-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.scroll-body ul > li {
  height: 29px;
}

.scroll-body ul > li > a {
  display: inline-block;
  max-width: 600px;
  color: #ff6600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scroll-body ul > li > a:hover {
  text-decoration: underline;
}



.sidebar {
  padding: 8px;
  background: #e6e6e6;
}

.sidebar .item {
  background: #fff;
}

.sidebar .item + .item {
  margin-top: 10px;
}

.sidebar .item .title {
  padding: 0 10px;
  margin: 0;
  font-size: 15px;
  line-height: 38px;
  border-bottom: 2px solid #c9c9c9;
  color: #0a50a5;
}

.sidebar .item .editor {
  padding: 10px;
  font-size: 12px;
  line-height: 2;
}

.sidebar .item .editor ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .item .editor .list {
  list-style: none;
  padding: 0 0 0 8px;
  margin: 0;
}

.sidebar .item .editor .list > li > a {
  color: #333;
  text-decoration: none;
}

.sidebar .item .editor .list > li > a:hover {
  color: #ff6600;
}



.main {
  padding-left: 20px;
}

.main .item {
  margin-bottom: 10px;
}

.main .item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  border-bottom: 4px solid #acacac;
}

.main .item-header .title {
  position: relative;
  padding: 0 10px;
  margin: 0;
  font-size: 15px;
  line-height: 34px;
}

.main .item-header .title::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ff6600;
  content: "";
}

.main .item-header .title small {
  color: #666;
  font-size: 12px;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: normal;
}

.main .item-header .more {
  color: #333;
  font-size: 12px;
  text-decoration: none;
}

.main .item-header .more:hover {
  color: #ff6600;
}

.main .item-header .online {
  color: #007aff;
  font-size: 12px;
  text-decoration: none;
}

.main .item-header .online:hover {
  color: #ff6600;
}

.main .item .heading {
  padding: 20px 0 10px;
  margin: 0;
  font-size: 20px;
  text-align: center;
}

.main .item .read {
  margin: 10px 0;
  color: #666;
  font-size: 12px;
  text-align: center;
}

.main .item .read span {
  margin: 0 10px;
}

.main .item .editor {
  padding: 10px;
}

.main .item .editor ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main .item .editor.text {
  font-size: 14px;
  line-height: 2;
  /* text-indent: 40px; */
}

.pro_pic {
  float:left;
  margin-right:10px;
}

.main .item .media {
  display: flex;
  padding: 20px 10px;
}

.main .item .media img {
  display: block;
  width: 138px;
  height: 138px;
  padding: 3px;
  border: 1px solid #e6e6e6;
}

.main .item .media-body {
  padding-left: 10px;
}

.main .item .media-body p {
  margin: 10px 0;
  font-size: 14px;
}

.main .item .media-body label {
  font-weight: bolder;
  margin-right: 10px;
}

.main-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.main-row .item {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  padding-right: 8px;
  padding-left: 8px;
}

.main .item .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main .item .list > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dotted #ccc;
  background: url(../img/icon/icon01.gif) left center no-repeat;
  padding-left: 20px;
}

.main .item .list > li > a {
  display: block;
  width: 225px;
  color: #333;
  font-size: 12px;
  line-height: 30px;
  text-decoration: none;
  word-break: keep-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}  

.main .item .list > li > a:hover {
  color: #ff6600;
}

.main .item .list .time {
  color: #666;
  font-size: 12px;
}



.showSwiper {
  text-align: center;
}

.showSwiper a {
  display: block;
  color: #333;
  font-size: 12px;
  text-decoration: none;
}

.showSwiper img {
  display: block;
  width: 100%;
  height: 145px;
  margin-bottom: 8px;
  padding: 1px;
  border: 1px solid #ccc;
  background: #ccc;
}



.footer {
  height: 120px;
  margin-top: 20px;
  border-top: 5px solid #0c56a9;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}

.footer em {
  font-weight: bolder;
  font-style: normal;
}



.product-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-menu > li + li {
  margin-top: 8px;
}

.product-menu > li > a {
  display: block;
  width: 218px;
  height: 39px;
  padding-left: 20px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 39px;
  color: #333;
  background: url(../img/bg/bg01.jpg) no-repeat;
  text-decoration: none;
}

.product-menu > li > a:hover {
  color: #fffa70;
  background: url(../img/bg/bg01-2.jpg) no-repeat;
}



.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.product-list > li {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 10px;
}

.product-list > li > a {
  display: flex;
  color: #333;
  text-decoration: none;
}

.product-list img {
  display: block;
  width: 138px;
  height: 138px;
  padding: 3px;
  border: 1px solid #e6e6e6;
  transition: 1s;
}

.product-list .list-body {
  padding-left: 10px;
}

.product-list .list-body p {
  margin: 10px 0;
  font-size: 14px;
}

.product-list .list-body label {
  font-weight: bolder;
  margin-right: 10px;
}

.product-list .list-body .name {
  color: #0058b2;
}

.product-list > li > a:hover {
  box-shadow: 4px 4px 4px rgba(0,0,0,.05), -4px -4px 4px rgba(0,0,0,.05);
}

.product-list > li > a:hover img {
  transform: scale(1.1, 1.1);
}



.main .item .editor .pagination {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main .item .editor .pagination > li {
  padding: 0 5px;
}

.main .item .editor .pagination > li > a,
.main .item .editor .pagination > li > span {
  display: block;
  padding: 4px 14px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px;
}

.main .item .editor .pagination > li > span {
  opacity: 0.65;
}

.main .item .editor .pagination > li > a:hover {
  color: #fff;
  background-color: #ff6600;
  border-color: #ff6600;
}



.main .item .editor .pager {
  list-style: none;
  padding: 10px 0;
  margin: 30px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* text-indent: 0; */
  font-size: 12px;
  font-weight: bolder;
  border-top: 1px solid #ccc;
}

.main .item .editor .pager > li {
  display: flex;
  align-items: center;
}

.main .item .editor .pager > li > a {
  display: block;
  max-width: 250px;
  margin-left: 10px;
  color: #666;
  word-break: keep-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: normal;
}

.main .item .editor .pager > li > a:hover {
  color: #ff6600;
}



.guestform {
  padding: 20px 0 0 135px;
}

.form-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  width: 70px;
  font-size: 14px;
  line-height: 36px;
}

.form-col {
  -ms-flex: 0 0 320px;
  flex: 0 0 320px;
  max-width: 320px;
  /* -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%; */
}

.form-control {
  display: block;
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
}

textarea.form-control {
  height: auto;
}

.form-group .icon-star {
  position: relative;
  top: 10px;
  right: -16px;
  font-size: 16px;
  font-style: normal;
  color: rgb(255, 0, 0);
}

.form-group select {
  font-size: 14px;
  font-weight: 400;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-left: 10px;
}

.form-group select:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
}

.form-group.btns {
  padding-left: 140px;
  margin-top: 30px;
}

.form-btn {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #ff6600;
  border: 1px solid #ff6600;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 4px;
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-btn.btn-light {
  color: #333;
  background-color: #e6e6e6;
  border: 1px solid #e6e6e6;
}

.form-btn:hover {
  color: #fff;
  background-color: #ff6600;
  border: 1px solid #ff6600;
}

.form-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}



@media (max-width: 750px) {
  .container-full {
    min-width: auto;
  }

  .container {
    width: 100%;
  }

  .sidebar {
    display: none;
  }

  .main {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }



  .header {
    padding: 10px 0;
  }

  .header .brand {
    margin: 0;
  }

  .header .brand img {
    width: 230px;
    height: 30px;
  }

  .header .topnav {
    display: none;
  }

  .header .nav-toggle {
    position: absolute;
    top: 0;
    right: 15px;
    display: block;
    padding: 7px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: transparent;
    font-size: 18px;
    line-height: 1;
  }

  .header .nav-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #888;
    border-radius: 2px;
  }

  .header .nav-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
  }
  
  .header .navbar {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    display: none;
  }

  .header .navbar ul {
    flex-wrap: wrap;
    padding: 10px 0;
    border-radius: 0;
  }
  
  .header .navbar ul > li {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    text-align: left;
  }

  .header .navbar ul > li > a {
    padding: 0 15px;
  }



  .slide {
    padding-top: 0;
    margin: 0;
  }

  .slide::before {
    display: none;
  }

  .slide::after {
    display: none;
  }

  .slide .container {
    padding: 0;
  }



  .scroll-body ul > li > a {
    display: block;
    max-width: auto;
  }



  .main {
    padding-left: 0;
  }

  .main-row {
    margin: 0;
  }

  .main-row .item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }



  .footer {
    height: 80px;
  }


  
  .product-list {
    margin: 0 -10px;
    padding-top: 10px;
  }

  .product-list > li {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }
  
  .product-list > li > a {
    box-shadow: 2px 2px 4px rgba(0,0,0,.05), -2px -2px 4px rgba(0,0,0,.05);
  }



  .pager {
    flex-wrap: wrap;
  }
  
  .pager > li {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }



  .guestform {
    padding: 20px 0 0 0;
  }
  
  .form-col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  
  .form-group .icon-star {
    position: absolute;
    top: 10px;
    right: -10px;
  }
  
  .form-group.btns {
    justify-content: center;
    padding-left: 0;
  }
}

























/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

