/* This file contains styles used by all application */
/* 所有应用共享部分 */

/* 定义主题色调、字体

主题色: #323235; 如顶栏、高亮按钮、高亮文字等。假如需更换为#546BDC，可直接替换颜色值。
背景色: #fffffe;
*/

.mui-container {
	background-color: #323235;
}
.mui-page {
	background-color: #fffffe;
}
.mui-page>.hd:first-of-type  {
	background-color: #FFFFFF;
	color: #333333;
}
.mui-navbar > .active {
	color: #323235;
	border-bottom-color: #323235;
}
.mui-btn.primary {
	color: #323235;
}
.weui-btn_primary, .weui-btn_primary:not(.weui-btn_disabled):active {
	background-color: #323235;
}

/* 定义通用图标大小，如顶栏和底栏 */
.hd >.btn-icon {
	margin: 5px;
}
.hd .icon {
	background-size: 16px;
	width: 16px;
	height: 16px;
}
#footer .icon {
	background-size: 40px;
	width: 24px;
	height: 24px;
}
.mui-menu .icon, .weui-cell .icon {
	background-size: 12px;
	width: 12px;
	height: 12px;
}

/* footer */
#footer {
	font-size: 12px;
}

#footer > a{
	padding-top: 5px;
}
#footer > a.active {
	border-bottom: none;
}

.mui-loader {
	height: 30px;
	width: 30px;
	margin-top: -15px;
	margin-left: -15px;
	background-image: url('lib/loading.gif');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 1;
}

/** 增量样式 **/
.spacing { padding: 0 15px; }
.noradius { border-radius: 0; }

/* 添加 1px 边框 && 取消边框 */
.b-none {
	border: none;
}
.b-none:after,
.b-none:before {
	display: none;
}
.bl,
.br,
.bt,
.bb {
	position: relative;
}
.bt-none:before,
.bl-none:before,
.bb-none:after,
.br-none:after {
	display: none;
}
.bt:before {
	top: 0;
	border-top: 1px solid #e0e3e3;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}
.bb:after {
	bottom: 0;
	border-bottom: 1px solid #e0e3e3;
	-webkit-transform-origin: 0 100%;
	transform-origin: 0 100%;
}
.bt:before,
.bb:after {
	content: " ";
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	color: #d9d9d9;
	-webkit-transform: scaleY(.5);
	transform: scaleY(.5);
}
.bl:before {
	left: 0;
	border-left: 1px solid #e0e3e3;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}
.br:after {
	right: 0;
	border-right: 1px solid #e0e3e3;
	-webkit-transform-origin: 100% 0;
	transform-origin: 100% 0;
}
.bl:before,
.br:after {
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	height: 100%;
	color: #d9d9d9;
	-webkit-transform: scaleX(.5);
	transform: scaleX(.5);
}

/* Others */
.ib { display: inline-block; }
.va-middle { vertical-align: middle; }
.ta-c { text-align: center; }
.ta-l { text-align: left; }
.ta-r { text-align: right; }
.ta-j { text-align: justify; }

.row-start {
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
.row-center {
	-webkit-justify-content: center;
	justify-content: center;
}
.row-end {
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
}
.row-between {
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.row-around {
	-webkit-justify-content: space-around;
	justify-content: space-around;
}

.col-initial {
	-webkit-box-align: initial;
	-webkit-align-items: initial;
	align-items: initial;
}
.col-start {
	-webkit-box-align: start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}
.col-center {
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}
.col-end {
	-webkit-box-align: end;
	-webkit-align-items: flex-end;
	align-items: flex-end;
}

/* 定位 */
.pos-abs {
	position: absolute !important;
}

.pos-rel {
	position: relative !important;
}

.pos-fix {
	position: fixed !important;
}


/* Spacements */
.m-none { margin: 0; }
.m-auto { margin: 0 auto; }
.mt-none { margin-top: 0; }
.mb-none { margin-bottom: 0; }
.ml-none { margin-left: 0; }
.mr.none { margin-right: 0; }

.p-none { padding: 0; }
.pt-none { padding-top: 0; }
.pb-none { padding-bottom: 0; }
.pl-none { padding-left: 0; }
.pr-none { padding-right: 0; }

/* 标准字体 : 大小、粗细、分类 */
.fs-50 { font-size: 25px; font-size: 1.25rem; }
.fs-48 { font-size: 24px; font-size: 1.24rem; }
.fs-40 { font-size: 20px; font-size: 1rem; }
.fs-38 { font-size: 19px; font-size: 0.95rem; }
.fs-36 { font-size: 18px; font-size: 0.9rem; }
.fs-34 { font-size: 17px; font-size: 0.85rem; }
.fs-32 { font-size: 16px; font-size: 0.8rem; }
.fs-30 { font-size: 15px; font-size: 0.75rem; }
.fs-28 { font-size: 14px; font-size: 0.7rem; }
.fs-26 { font-size: 13px; font-size: 0.65rem; }
.fs-24 { font-size: 12px; font-size: 0.6rem; }
.fs-22 { font-size: 11px; font-size: 0.55rem; }
.fs-20 { font-size: 10px; font-size: 0.5rem; }
.fs-18 { font-size: 9px; font-size: 0.45rem;}

.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

/* 标题 / 短文本 / 长文本 / 注释 */
.text-title {
	font-size: 16px;
	font-size: 0.8rem;
	line-height: 20px;
	line-height: 1rem;
	color: #333;
}

.text-short {
	font-size: 14px;
	font-size: 0.7rem;
	line-height: 19px;
	line-height: 0.95rem;
	color: #666;
}
.text-long {
	font-size: 13px;
	font-size: 0.65rem;
	line-height: 18px;
	line-height: 0.9rem;
	color: #999;
}
.text-note {
	font-size: 12px;
	font-size: 0.6rem;
	line-height: 17px;
	line-height: 0.85rem;
	color: #bbb;
}

/* 标准颜色 ： 字体颜色、背景颜色 */
.fc-dark { color: #333 !important; }
.fc-white { color: #fff !important; }
.fc-primary { color: #1b6ba5 !important; } /* 蓝色 */
.fc-info { color: #AEAFB0 !important; } /* 灰色 */
.fc-success { color: #23ac38 !important; } /* 绿色 */
.fc-wraing { color: #ff9d2c !important; } /* 黄色 */
.fc-error { color: #fa4535 !important; } /* 红色 */

.image-response {
	display: block;
	width: 100%;
	margin: 0 auto;
}

/* overwrite weui */
.weui-btn {
	font-size: 0.75rem;
	line-height: 2.75rem;
}
.weui-btn_mini {
	display: inline-block;
	padding: 0 1em;
	line-height: 1.4rem;
	font-size: 0.75rem;
}
.weui-btn_primary:not(.weui-btn_disabled):active {
	color: hsla(0,0%,100%,.6);
	background-color: #2BA246;
}
.weui-cells_access .weui-cell_ft:after {
	border-color: #333;
}

/** Global Flex Layout
 *==============================================================================*/
.flex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.flex-vertical {
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	flex-direction: column;
}

.flex-crossAxis-center {
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.flex-crossAxis-end {
	-webkit-box-align: end;
	-webkit-align-items: flex-end;
	-ms-flex-align: flex-end;
	align-items: flex-end;
}

.flex-crossAxis-start {
	-webkit-box-align: start;
	-webkit-align-items: flex-start;
	-ms-flex-align: flex-start;
	align-items: flex-start;
}

.flex-mainAxis-center {
	-webkit-justify-content: center;
	justify-content: center;
}

.flex-mainAxis-right{
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
}

.flex-mainAxis-end{
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
}

.flex-mainAxis-left{
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}

.flex-space-around {
	-webkit-justify-content: space-around;
	justify-content: space-around;
}

.flex-space-between {
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.item_initial {
	-webkit-box-flex: initial;
	-webkit-flex: initial;
	-ms-flex: initial;
	flex: initial;
}

.item_none {
	-webkit-box-flex: none;
	-webkit-flex: none;
	-ms-flex: none;
	flex: none;
}

.item_auto {
	-webkit-box-flex: auto;
	-webkit-flex: auto;
	-ms-flex: auto;
	flex: auto;
}

.item_flex1 {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.item_flex2 {
	-webkit-box-flex: 2;
	-webkit-flex: 2;
	-ms-flex: 2;
	flex: 2;
}

.item_flex3 {
	-webkit-box-flex: 3;
	-webkit-flex: 3;
	-ms-flex: 3;
	flex: 3;
}

.disabled {
	pointer-events: none;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.inline-b{
	display: inline-block;
}

.flex_1{
	flex: 1;
}
.flex_column{
	display: flex;
	flex-flow: column;
}
.theme_color{
	color: #00A0E9!important;
}

.flex{
	display: flex;
	flex-wrap: wrap;
}
.align-center{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.justify-center{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.flex-center{
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	flex-wrap: wrap;
}
.flex-right{
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.flex-between{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.input_clean{
	border: none;
}
.input_clean:focus{
	border: none;
	outline:none;
}
.text-center{
	text-align: center;
}
.toast{
	position: fixed;
	top: 50%;
	left: 50%;
	width: auto;
	text-align: center;
	padding: 10px 15px;
	background-color: rgba(0,0,0,0.6);
	color: #fff;
	font-size: 14px;
	transform: translate(-50%,-50%);
	border-radius: 10px;
	z-index: 10;
	white-space: nowrap;
}
.clear-input{
	border: none;
	outline: none;
}