* {
  box-sizing: border-box;
}
.content {
  position: relative;
}
nav {
  width: 100%;
  height: 40px;
  position: fixed;
  top: 0;
  z-index: 1;
  line-height: 44px;
  padding: 0 10px;
  text-align: justify;
  background-color: #fff;
}
nav:after {
  content: '';
  display: inline-block;
  width: 100%;
}
nav i.fa {
  display: inline-block;
  font-size: 22px;
}
nav h1 {
  display: inline-block;
  margin: 0;
  font-size: 24px;
}
main {
  margin-top: 40px;
}
main .carousel img {
  width: 100%;
}
main .carousel .carousel-indicators {
  left: 80%;
  margin-left: 0;
  width: 20%;
  bottom: 0;
}
main .carousel .carousel-caption {
  width: 100%;
  padding: 10px 15px;
  bottom: 0;
  left: 0;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.5);
}
main .tab-nav {
  width: 100%;
  height: 37px;
  line-height: 37px;
  margin-bottom: 10px;
}
main .tab-nav ul {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ccc;
}
main .tab-nav li {
  width: 25%;
  float: left;
  text-align: center;
  font-size: 14px;
  color: #000;
}
main .tab-list ul {
  width: 100%;
  display: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
main .tab-list .active {
  display: block;
}
main .tab-list li {
  width: 46%;
  float: left;
  margin: 2%;
  position: relative;
}
main .tab-list li img {
  width: 100%;
}
main .tab-list li p {
  position: absolute;
  height: 36px;
  width: 100%;
  bottom: 0;
  margin: 0;
  text-align: center;
  line-height: 36px;
  color: #fff;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.5);
}
aside {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
aside .cover {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}
aside ul {
  position: absolute;
  top: 0;
  width: 40%;
  left: -40%;
  display: none;
  height: 100%;
  z-index: 4;
  background-color: #fff;
}
aside ul li {
  border-bottom: 1px solid #ccc;
  height: 42px;
  line-height: 42px;
  padding-left: 15px;
  color: #000;
}
aside ul .active {
  height: 73px;
  padding: 10px 15px;
}
aside ul img {
  width: 100%;
}
@media screen and (min-width: 375px) {
  aside ul img {
    width: 120px;
  }
}
