@font-face {
  font-family: pangmen;
  src: url("../fonts/pangmenzhengdao.ttf");
}

body {
  position: relative;
  background: url(../images/bg.png) repeat-y center;
  background-size: 100% auto;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clear {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

a {
  color: #333;
}

a:hover {
  color: #1e85e4;
}

.center {
  text-align: center;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#top {
  background: #1b2959;
  color: #fff;
  font-size: 14px;
  line-height: 30px;
  text-align: right;
}
#top > .container > a{
    color:#fff;
}

.container {
  width: 80%;
  position: relative;
  margin: 0 auto;
}

#logo {
  background: #1b2959;
  color: #fff;
  float: left;
  padding: 13px 80px;
}

#logo a {
  color: #fff;
  font-size: 52px;
  text-decoration: none;
  display: block;
  font-family: pangmen;
}
#logo span {
  display: block;
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
}

#logo-right {
  border-top: solid 81px #1b2959;
  border-right: solid 88px #fff;
  float: left;
}

.nav {
  background: #fff;
}
.nav > ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
}

.nav > ul > li a {
  color: #000;
}

.nav > ul > li a:hover {
  color: #1e85e4;
}

.nav > ul > li {
  z-index: 999;
  list-style: none;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  height: 48px;
  line-height: 88px;
  cursor: pointer;
  position: relative;
}

.nav > ul > li:hover {
  color: rgba(255, 255, 255, 1);
}
.nav > ul > li > ul {
  visibility: hidden;
  list-style: none;
  background: #fff;
  margin-top: -40px;
  padding: 20px 0 0;
  width: 250px;
  margin: -40 -70 0;
}
.nav > ul > li:hover > ul {
  visibility: visible;
}
.nav > ul > li > ul > li {
  line-height: 51px;
  padding: 0 28px;
  width: 100%;
  border-bottom: 1px solid #eee;
  height: 51px;
}

.nav .menu {
  display: none;
  width: 40px;
  height: 30px;
  border: 2px solid white;
  position: absolute;
  line-height: 30px;
  text-align: center;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  right: 40px;
  top: calc((48px - 34px) / 2);
}
#nav-phone {
  color: #f0aa05;
  font-size: 1.8em;
}
#nav-phone img {
  margin-right: 10px;
}

#flash {
  width: 100%;
  height: 500px;
}

#flash img {
  width: 100%;
  height: 100%;
}

#footer {
  background: #111;
  padding: 40px 10px;
  color: #eee;
  font-size: 14px;
  line-height: 25px;
}

#footer a {
  color: #1e85e4;
}

#footer .left {
  width: 70%;
}

#footer .right {
  width: 30%;
  text-align: right;
  border-left: solid 1px #3e4549;
}

#footer .right img {
  width: 130px;
}

#mobile-footer {
  display: none;
}

#crumbs {
  background: #f5f5f5;
  padding: 10px 0 10px 20px;
}

#crumbs ul {
  list-style: none;
  margin: 0 0 0 -10px;
  padding: 0;
}

#crumbs li {
  float: left;
  margin-left: 10px;
}

#crumbs li a {
  padding-right: 10px;
  color: #343434;
}

#crumbs li a:hover {
  color: #1e85e4;
}

#crumbs li::after {
  content: "/";
}

#crumbs li:last-child::after {
  content: "";
}

#tips {
  margin: 60px auto 40px;
  list-style: none;
  display: flex;
  justify-content: space-around;
}
#tips > li {
  padding: 18px 38px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #e6e6e6;
  background-color: #fafafa;
  color: #73757a;
  transition: all 0.3s;
}
#tips span {
  display: inline-block;
  margin-right: 10px;
  width: 56px;
  height: 56px;
  vertical-align: middle;
  background: #fff url("../images/after-links.png") no-repeat;
  background-position-x: 0%;
  background-position-y: 0%;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  transition: all 0.3s;
}
#tips .quotes-icon {
  background-position: 4px -137px;
}

#to-top {
  display: none;
  position: fixed;
  z-index: 9999;
  right: 22px;
  bottom: 80px;
  cursor: pointer;
}
#page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom:20px;
}
#page-limit {
  display: flex;
  align-items: center;
}
#page-limit > * {
  border: 1px solid rgb(211, 211, 211);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  margin: 0 10px;
  font-size: 14px;
}
#page-limit .active {
  color: #fff;
  background: #1b2959;
  border: 0;
}
#page-limit .active a {
  color: #fff;
}

@media screen and (max-width: 640px) {
  #top,
  #logo-right {
    display: none;
  }
  #logo {
    font-size: 22px;
    float: left;
    padding: 10px 30px 2px 8%;
  }
  .nav {
    width: 100%;
    background: #1b2959;
  }
  .nav .menu {
    display: block;
    margin-top: 10px;
  }
  .nav ul {
    position: absolute;
    top: 50px;
    padding-left: 0px;
    display: none;
    padding-top: 10px;
    z-index: 999;
    background: #1b2959;
    width: 100%;
  }
  .nav ul li {
    float: none;
    background-color: #1b2959;
    border-radius: 4px;
    margin-top: 5px;
    line-height: 48px;
  }
  .nav ul li a {
    color: #fff;
  }
  .nav ul li ul {
    display: none;
  }
  #footer .left {
    width: 100%;
  }
  #footer .right {
    display: none;
  }
  #logo a {
    font-size: 28px;
  }
  #logo > span {
    display: none;
  }
  .container {
    width: 98%;
  }
  #product-list .item {
    width: 98%;
    float: none;
  }
  body {
    padding-bottom: 48px;
  }
  #mobile-footer {
    background-color: #333;
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
  }
  #mobile-footer > div {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
  }
  #mobile-footer a {
    color: #fff;
  }
  #tips {
    display: block;
    padding: 0;
  }
  #flash {
    height: 200px;
  }
}
