/**
 * 公共样式
 * 主色：#53ca88
 * 辅色：#ffc000
 */
body {
	background: #f5f5f5;
	color: #5f636e;
}

/* Color */
.color-primary {
	color: #53ca88;
}
.color-secondary {
	color: #ffc000;
}
.color1 {
	color: #66dba6;
}
.color2 {
	color: #fd225c;
}
.color3 {
	color: #0077ff;
}
.color4 {
	color: #fd7718;
}
.color5 {
	color: #54c9c1;
}

/* Header */
.header {
	line-height: 50px;
	background: #53ca88;
	color:#FFF;
	width: 100%;
	position: fixed;
	z-index: 10;
	top:0;
	font-size: 16px;
}
.header a {
	color: #FFF;
}
.header .left {
	width: 100px;
}
.header .right {
	width: 100px;
	text-align: right;
}
.header .icon-btn {
	display: inline-block;
	height: 50px;
	line-height: 50px;
	padding: 0 5px;
	text-align: center;
	color: #FFF;
	font-size: 12px;
	position: relative;
}
.header .text {
	font-size: 14px;
	padding: 0 5px;
}
.header .icon-btn > .icon {
	font-size: 20px;
	display: inline-block;
}
.header .icon-btn > span {
	position: relative;
	top: -3px;
	display: inline-block;
}
.header .logo {
	width:40px;
	height: 50px;
	display: inline-block;
}

/* 状态栏修复 */
.ios7 .header {
	padding-top: 20px;
}
.ios7 .main.main-t {
	margin-top: 70px;
}
.ios7 .main.main-tb {
	margin-top: 70px;
}
.ios7 .register-box {
	top: 70px;
}

/* 主要内容 */
.main {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
}
.main.main-t {
	margin-top: 50px;
}
.main.main-tb {
	margin-top: 50px;
	margin-bottom: 56px;
}
.main.main-b {
	margin-bottom: 56px;
}

/* Footer */
.footer {
	background: #FFF;
	position: fixed;
	z-index: 10;
	width: 100%;
	bottom: 0;
}
.footer .footer-item {
	text-align: center;
	color: #5f636e;;
	padding: 5px 0;
}
.footer .footer-item.active {
	color: #4277FC;
	/* color: #000; */
}
.footer .footer-item > .icon {
	width: 30px;
	height: 30px;
	display: block;
	margin: 0 auto;
	font-size: 24px;
}
.footer .footer-item > p {
	font-size: 12px;
	line-height: 16px;
}
.footer .footer-item .message {
  right: 20px;
  position: absolute;
  display: inline-block;
  background: #fff;
  border: 1px solid #ff1d1d;
  /* border: 1px solid gray; */
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 100%;
  color: #ff1d1d;
  /* color: gray; */
  width: 24px;
}

/* 弹出框 */
.mf-confirm .mf-confirm-title {
	background: #53ca88!important;
	color:#FFF!important;
}

/* 搜索框 */
.kd-search-box {
	padding: 10px;
}
.kd-search-box .search-input {
	height: 40px;
	line-height: 40px;
	overflow: hidden;
	padding: 0 10px;
	background: #FFF;
	border: 1px solid #EEE;
	border-radius: 20px;
	position: relative;
	display: block;
}
.kd-search-box .search-input > input {
	line-height: 40px;
	height: 40px;
	border: none;
	outline: none;
	width: 100%;
}
.kd-search-box .search-input > .search-btn {
	width:40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	color:#888;
}

/* 表单 */
.kd-form .form-item{
	height: 40px;
	line-height: 40px;
	border-radius: 20px;
	border: 1px solid #FFF;
	margin: 15px 0;
}
.kd-form .form-item > .icon {
	width: 40px;
	height: 40px;
	display: block;
	text-align: center;
	color: #FFF;
}
.kd-form .form-item > input[type=tel],.kd-form .form-item > input[type=text],.kd-form .form-item > input[type=password],.kd-form .form-item > input[type=number] {
	height: 40px;
	line-height: 40px;
	background: none;
	border: none;
	outline: none;
	color: #FFF;
	font-size: 16px;
}
.kd-form .form-item > input::-webkit-input-placeholder{
	color: #FFF;
}
.kd-form .form-item > a {
	color: #b2f1e9;
	display: block;
	padding: 0 10px;
	font-size: 16px;
}

/* Tab切换 */
.kd-tab {
	height: 30px;
	line-height: 30px;
	border-radius: 16px;
	border: 1px solid #FFF;
	overflow: hidden;
	display: box;
	display: -webkit-box;
}
.kd-tab .tab-item {
	display: block;
	text-align: center;
	box-flex: 1;
	-webkit-box-flex: 1;
	color: #FFF;
	background:#53ca88;
}
.kd-tab .tab-item.active {
	background: #FFF;
	color: #53ca88;
}
.kd-tab .tab-item + .tab-item {
	border-left: 1px solid #FFF;
}

/* 按钮 */
.kd-btn {
	margin: 5px;
	display: block;
	height: 30px;
	line-height: 30px;
	border-radius: 15px;
	text-align: center;
	background: #53ca88;
	color: #FFF;
}
.kd-btn.yellow {
	background: #f0cd25;
}
.kd-btn.yellow:active {
	background: #dcb80d;
	color: #FFF;
}
.kd-btn.blue {
	background: #008896;
}
.kd-btn.blue:active {
	background: #01656f;
	color: #FFF;
}
.kd-btn.disabled {
	background: #CCC!important;
}
.kd-btn.light {
	background: #FFF;
	color: #53ca88;
}
.kd-btn.light:active {
	background: #DDD;
}

.kd-btn-lg {
	margin: 5px;
	display: block;
	height: 40px;
	line-height: 40px;
	border-radius: 20px;
	text-align: center;
	background: #53ca88;
	color: #FFF;
	font-size: 16px;
}
.kd-btn-lg:active {
	background:#4dc1b2;
	color:#FFF;
}
.kd-btn-lg.yellow {
	background: #f0cd25;
}
.kd-btn-lg.yellow:active {
	background: #dcb80d;
}
.kd-btn-lg.light {
	background: #FFF;
	color: #53ca88;
}
.kd-btn-lg.light:active {
	background: #75e1a5;
	color: #FFF;
}


/* 内容为空 */
.empty-box {
	min-height: 300px;
	text-align: center;
	padding: 40px 20px;
}
.empty-box > .icon {
	width: 80px;
	height: 80px;
	line-height: 80px;
	display: block;
	margin: 0 auto;
	font-size: 60px;
}

/* 动画 */
/* Slide Left */
.slide-left-in {
	left: 0;
	animation: slideLeftIn 0.5s;
	-webkit-animation: slideLeftIn 0.5s;
	-moz-animation: slideLeftIn 0.5s;
	-o-animation: slideLeftIn 0.5s;
}
.slide-left-out {
	left: -500px;
	animation: slideLeftOut 0.5s;
	-webkit-animation: slideLeftOut 0.5s;
	-moz-animation: slideLeftOut 0.5s;
	-o-animation: slideLeftOut 0.5s;
}
@keyframes slideLeftIn {
	from { left: -500px; }
	to {left: 0;}
}
@-webkit-keyframes slideLeftIn {
	from { left: -500px; }
	to {left: 0;}
}
@-moz-keyframes slideLeftIn {
	from { left: -500px; }
	to {left: 0;}
}
@-moz-keyframes slideLeftIn {
	from { left: -500px; }
	to {left: 0;}
}
@keyframes slideLeftOut {
	from {left: 0;}
	to { left: -500px; }
}
@-webkit-keyframes slideLeftOut {
	from {left: 0;}
	to { left: -500px; }
}
@-moz-keyframes slideLeftOut {
	from {left: 0;}
	to { left: -500px; }
}
@-o-keyframes slideLeftOut {
	from {left: 0;}
	to { left: -500px; }
}

/* Slide Up */
.slide-up-in {
	bottom: 0;
	animation: slideUpIn 0.5s;
	-webkit-animation: slideUpIn 0.5s;
	-moz-animation: slideUpIn 0.5s;
	-o-animation: slideUpIn 0.5s;
}
.slide-up-out {
	bottom: -500px;
	animation: slideUpOut 0.5s;
	-webkit-animation: slideUpOut 0.5s;
	-moz-animation: slideUpOut 0.5s;
	-o-animation: slideUpOut 0.5s;
}
@keyframes slideUpIn {
	from { bottom: -500px; }
	to {bottom: 0;}
}
@-webkit-keyframes slideUpIn {
	from { bottom: -500px; }
	to {bottom: 0;}
}
@-moz-keyframes slideUpIn {
	from { bottom: -500px; }
	to {bottom: 0;}
}
@-moz-keyframes slideUpIn {
	from { bottom: -500px; }
	to {bottom: 0;}
}
@keyframes slideUpOut {
	from {bottom: 0;}
	to { bottom: -500px; }
}
@-webkit-keyframes slideUpOut {
	from {bottom: 0;}
	to { bottom: -500px; }
}
@-moz-keyframes slideUpOut {
	from {bottom: 0;}
	to { bottom: -500px; }
}
@-o-keyframes slideUpOut {
	from {bottom: 0;}
	to { bottom: -500px; }
}
.gray { 
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  
  filter: grayscale(100%);

  filter: gray;
}