/*
 * main.css - converted from Rails ERB
 */

html, body {
  padding: 0;
  margin: 0;
  font-family: "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",sans-serif;
}

body {
  background-image: url(/static/images/background.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 1123px 500px;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #2f3237;
}

.clearfix:after,
.clearfix:before {
  display: table;
  content: ' ';
}

.clearfix:after {
  clear: both;
}

.anchor {
  display: block;
  position: relative;
  top: -90px;
  height: 0;
  visibility: hidden;
}

.hidden {
  display: none;
}

.main-container {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  height: 60px;
  transition: all 0.3s;
}

body {
  padding-top: 91px;
}

body.afloat .main-header {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-header-logo {
  display: block;
  float: left;
  background-image: url(/static/images/logo.png);
  background-size: 91px 91px;
  width: 91px;
  height: 91px;
  font-size: 0;
}

.main-nav {
  float: right;
  list-style: none;
  font-size: 16px;
  color: #2f3237;
  line-height: 24px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  float: left;
  padding: 10px 0;
}

.main-nav li + li {
  margin-left: 28px;
}

.main-nav li a {
  display: block;
}
