/* ====================== 全局公共基础样式（所有页面共用） ====================== */
/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body, .app {
  width: 100%;
  height: 100%;
}
ul, ol, li {
  margin: 0;
  border: 0;
  padding: 0;
  list-style: none;
}
/* 消除图片后的空隙 */
img {
  vertical-align: top;
}
template, .template {
  display: none;
}
.mobile input {
  outline: none;
}

/* ====================== 公共工具类 ====================== */
.btn {
  cursor: pointer;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.cl {
  clear: both;
}
.link {
  color: #5e5eb7;
}

/* ====================== 公共表单组件 ====================== */
.form-box {
  border-radius: 5px;
  padding: 16px;
  background-color: #ffffff;
  font-size: 16px;
}
.form-title {
  position: relative;
  margin-bottom: 26px;
  text-align: center;
  font-weight: bolder;
  font-size: 24px;
}
.form-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  margin-left: -15px;
  width: 30px;
  height: 4px;
  background-color: #5e5eb7;
}
.input-title {
  margin-top: 16px;
  line-height: 24px;
  font-size: 16px;
}
.input-title-tip {
  vertical-align: bottom;
  font-size: 12px;
  color: #aaaaaa;
}
.input-title .red{
	color:red;
}
.form-input {
  background-color: rgb(243, 244, 245);
  border: solid 0px #cccccc;
  border-radius: 5px;
  width: 100%;
  height: 45px;
  font-size: 16px;
  padding-left: 5px;
}
.form-textarea {
  background-color: rgb(250 250 250);
  border: solid 0px #cccccc;
  border-radius: 5px;
  width: 100%;
  min-height: 130px;
  font-size: 16px;
}
.form-button {
  margin: 40px auto 20px;
  border-radius: 5px;
  width: 80%;
  height: 48px;
  background-color: #5e5eb7;
  text-align: center;
  line-height: 48px;
  font-size: 16px;
  color: #ffffff;
}
.form-tip {
  line-height: 1;
  font-size: 14px;
}
.form-error {
  height: 12px;
  margin-top: 5px;
  line-height: 1;
  font-size: 12px;
  color: #EA1D1D;
}
.form-tip-center {
  text-align: center;
}
.form-checkcode {
  display: inline-block;
  margin-left: 2%;
  border: solid 1px #5e5eb7;
  border-radius: 5px;
  width: 27%;
  height: 43px;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
  color: #5e5eb7;
}

/* ====================== 公共页面布局 ====================== */
.pc {
  min-width: 1000px;
  min-height: 900px;
  background-color: rgb(243, 244, 245);
}
.mobile {
  max-width: 750px;
  min-width: 320px;
}
.app {
  margin: 0 auto;
  opacity: 0;
  background-color: rgb(243, 244, 245);
}
.page {
  display: none;
  position: relative;
  width: 100%;
  min-height: 100%;
  background-color: rgb(243, 244, 245);
}
.mobile .page {
  overflow-x: hidden;
}
.page-active {
  display: block;
}

/* 三个页面共用背景 */
.choose-activity, .login, .register , .change-password , .list {
  background-image: url(../images/lanhua-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}