html, body {
  height: 100%;
}

body {
  margin: 0;
  background-color: #f0f0f0;
  overflow-x: hidden;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

a, a:link, a:visited, a:hover, a:active {
  color: #121212;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.l-float {
  float: left;
}

.r-float {
  float: right;
}

.rela-post {
  position: relative;
}

.install {
  color: #edc389;
}

/*header*/
.header nav {
  position: fixed;
  width: 100%;
  text-align: center;
  z-index: 999;
  transition: all .5s;
}
.header nav.active {
  background-color: #3eaabf;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 7px 10px 0 rgba(0, 0, 0, 0.12);
}

.nav-menu {
  display: inline-block;
  vertical-align: top;
}
.nav-menu .menu-list {
  float: left;
  padding: 0 25px;
}
.nav-menu .menu-list:nth-child(1):hover ~ .sub-line, li.index.sub-line {
  left: 26px;
  width: 51px;
}
.nav-menu .menu-list:nth-child(2):hover ~.sub-line, li.history.sub-line {
  left: 127px;
  width: 51px;
}
.nav-menu .menu-list:nth-child(3):hover ~ .sub-line, li.culture.sub-line {
  left: 229px;
  width: 51px;
}
.nav-menu .menu-list:nth-child(4):hover ~ .sub-line, li.develop.sub-line {
  left: 331px;
  width: 51px;
}
.nav-menu .menu-list:nth-child(5):hover ~ .sub-line, li.leavemgs.sub-line {
  left: 434px;
  width: 82px;
}
.nav-menu .menu-list a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 60px;
  font-size: 20px;
}
.nav-menu .menu-list a.active, .nav-menu .menu-list a:hover {
  color: #fff;
}
.nav-menu .sub-line {
  position: absolute;
  bottom: 9px;
  left: 26px;
  width: 51px;
  height: 3px;
  background: #fff;
  transition: left .5s;
}

/*banner*/
.banner {
  height: 800px;
  background: url("../images/main_bg.jpg") no-repeat center;
  background-size: cover;
}
.banner > span{
  width: 590px;
  height: 80px;
  font-size: 80px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  text-shadow: 2px 5px 1px rgba(0, 0, 0, 1);
}
.banner .bef{
  color: #f0f0f0;
}
.banner .aft{
  color: #edc389;
}
.banner .w-360{
  width: 360px;
}
/*footer*/
/*sign*/
.info-wrap > p {
  text-indent: 2em;
}

/*history*/
.history .banner {
  height: 400px;
  background: url(../images/history.jpg) no-repeat center;
  background-size: cover;
}

/*culture*/
.culture .banner {
  height: 400px;
  background: url(../images/culture.jpg) no-repeat center;
  background-size: cover;
}
.culture .festivals {
  margin-top: 50px;
}

/*develop*/
.develop .banner {
  height: 400px;
  background: url(../images/develop.jpg) no-repeat center;
  background-size: cover;
}

/*leavemgs*/
.leavemgs {
  background: url("../images/comm_bg.jpg") no-repeat;
  background-size: cover;
}
.leavemgs nav {
  margin-top: -100px;
}

.leavemgs-wrap .box {
  position: relative;
  padding: 20px;
  margin: 100px auto 0;
  width: 900px;
  background-color: #fff;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.3);
}

.ed-box {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
}
.ed-box #text_ed {
  box-sizing: border-box;
  width: 100%;
  height: 100px;
  outline: 0;
  padding-top: 10px;
  padding-left: 10px;
  vertical-align: top;
}
.ed-box input {
  outline: 0;
}

.user-info {
  margin-top: 10px;
}
.user-info #user_name, .user-info #user_email {
  margin-right: 20px;
  width: 80px;
  border: 0;
  border-bottom: 1px solid #ccc;
}
.user-info #submit {
  padding: 8px 12px;
  border: none;
  background-color: brown;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
}

.mgs-list .content {
  float: left;
  width: 48.5%;
  height: 200px;
  margin: 5px;
  border-radius: 5px;
  background-color: #f0f0f0;
  padding: 20px;
  box-sizing: border-box;
}

.user-sub-info {
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}
.user-sub-info .user_sub_name {
  margin-right: 10px;
  color: brown;
}
.user-sub-info .user_sub_email {
  color: #c7c7c7;
}

.com_content {
  font-size: 14px;
}
