body:not(.home_wrap) {
  margin: 0;
  padding: 0;
  font-size: 12px;
  background: url("../img/bg.jpg") no-repeat;
}

body {
  color: #666;
}

header,
.main,
.footer_wrap {
  width: 1024px;
  margin: 0 auto;
}

.main {
  position: relative;
  background: url("../img/bg_main.jpg") repeat-y;
  min-height: 200px;
  overflow: hidden;
}

.main .aside {
  position: absolute;
  background: url("../img/bg_aside.jpg") no-repeat;
  min-height: 243px;
  width: 218px;
}

.main .aside > ul {
  padding: 0 8px;
}

.main .aside > ul > li {
  list-style-type: none;
}

.main .aside > ul > li > a {
  width: 205px;
  height: 51px;
  display: block;
  text-indent: -999px;
}

.main .aside > ul > li > a + ul {
  padding-top: 15px;
  background: url("../img/sub_menu.jpg") no-repeat;
}

.main .aside > ul > li > a + ul li {
  list-style-type: none;
}

.main .aside > ul > li > a + ul li a {
  padding: 10px 0;
  display: block;
  text-decoration: none;
  color: #fff;
}

.main .aside > ul > li > a + ul li a:hover, .main .aside > ul > li > a + ul li a.active {
  color: #fff100;
}

.main .aside > ul > li:nth-child(1) > a {
  background: url("../img/home.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(1) > a:hover, .main .aside > ul > li:nth-child(1) > a.active {
  background: url("../img/home_c.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(2) > a {
  background: url("../img/about.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(2) > a:hover, .main .aside > ul > li:nth-child(2) > a.active {
  background: url("../img/about_c.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(3) > a {
  background: url("../img/products.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(3) > a:hover, .main .aside > ul > li:nth-child(3) > a.active {
  background: url("../img/products_c.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(4) > a {
  background: url("../img/contact.jpg") no-repeat;
}

.main .aside > ul > li:nth-child(4) > a:hover, .main .aside > ul > li:nth-child(4) > a.active {
  background: url("../img/contact_c.jpg") no-repeat;
}

.main .content {
  margin-left: 223px;
  min-height: 365px;
  overflow: hidden;
  background: url("../img/bg_content.jpg") no-repeat;
}

header {
  height: 319px;
  position: relative;
}

header .home_btn,
header .about_btn,
header .product_btn,
header .contact_btn {
  position: absolute;
  display: block;
}

header .home_btn {
  width: 100px;
  height: 42px;
  top: 10px;
  left: 414px;
}

header .about_btn {
  width: 140px;
  height: 42px;
  top: 10px;
  left: 540px;
}

header .product_btn {
  width: 100px;
  height: 42px;
  top: 10px;
  left: 720px;
}

header .contact_btn {
  width: 140px;
  height: 42px;
  top: 10px;
  left: 850px;
}

footer {
  background: #2c0205 url("../img/bg_inner_footer.jpg") repeat-x;
  color: #fff;
  position: relative;
}

footer .footer_img {
  width: 100%;
  padding-top: 245px;
  background: url("../img/footer_desc.jpg") no-repeat;
}

footer .footer_menu ul {
  padding: 0;
  margin: 0;
}

footer .footer_menu li {
  display: inline-block;
  padding-right: 10px;
}

footer .footer_menu li + li:before {
  content: '|';
  padding-right: 10px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer .logo {
  position: absolute;
  text-align: center;
  width: 180px;
  height: 26px;
  margin: auto;
  bottom: 10px;
  font-weight: bold;
  font-size: 16px;
}

footer .info {
  font-size: 12px;
  margin: 15px 15px 0px 180px;
}

.red {
  color: #9b2322;
}

body.home_wrap {
  margin: 0;
  padding: 0;
  background: #2C0205 url("../img/bg_home.jpg") repeat-x;
}

.home {
  position: relative;
  width: 1012px;
  height: 752px;
  margin: 0 auto;
  box-shadow: 0 0px 10px 3px rgba(0, 0, 0, 0.4);
}

.home .enter {
  position: absolute;
  display: block;
  width: 100px;
  height: 40px;
  top: 419px;
  left: 771px;
}

.home_footer {
  margin: 0 auto;
  width: 1024px;
  height: 50px;
  color: #fff;
  position: relative;
  padding-top: 15px;
}

.home_footer a {
  color: #fff;
  text-decoration: none;
}

.home_footer .logo {
  position: absolute;
  text-align: center;
  width: 180px;
  height: 26px;
  margin: auto;
  top: 0;
  bottom: 0;
  font-weight: bold;
}

.home_footer .info {
  font-size: 12px;
  margin-left: 180px;
}

.about {
  padding: 15px 40px;
}

.product {
  padding: 15px;
}

.pro-list {
  font-size: 0;
}

.pro-img {
  width: 220px;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

.pro-img img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

.pro-item {
  width: 240px;
  text-align: center;
  font-size: 12px;
  display: inline-block;
}

.pro-name {
  padding: 8px 0;
}

.contact {
  padding: 15px 80px;
}

.contact .form {
  padding-top: 30px;
  width: 100%;
}

.contact .form th {
  text-align: right;
}
