/*--------------------------------------------------base.css--------------------------------------------------*/
/*兼容*/
/*组件*/
/*--------------------------------------------------base.css--------------------------------------------------*/

@CHARSET "UTF-8";

/*兼容*/

* {
	margin: 0px;
	padding: 0px;
	font-family: Univers,Arial,Verdana,Geneva,Helvetica,sans-serif;
}

body {
	position: relative;
}

a {
	color: #333;
	text-decoration:none;
}
a:hover,
a:active,
a:focus {
	/* color: #eeb021; */
	color: #399904;
	text-decoration:none;
}

img,
iframe,
video {
	max-width: 100%;
	max-height: 100%;
}

h1,h2,h3,h4,h5,h6{
   margin-top: 0;
}

input {
	outline: none;
	border-color: #ccc;
	border-width: 1px;
	border-style: solid;
	padding: 0 15px;
	transition: border-color .15s;
	-webkit-transition: border-color .15s;
	-o-transition: border-color .15s;
	-moz-transition: border-color .15s;
}
input:hover,
input:active,
input:focus {
	border-color: #003399;
}
input.warning {
	border-color: red;
}
input[type=number]  {
	-moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type=checkbox] {
	display: none;
	width: 20px;
	height: 20px;
}
.checkbox,.radio {
	margin: 0px;
}
.checkbox label {
	position: relative;
	padding-left: 35px;
	vertical-align: middle;
}
.checkbox label .boxcover {
	position: absolute;
	display: inline-block;
	top: 0px;
	left: 0px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border: 1px solid #ccc;
	background-color: #eee;
	border-radius: 3px;
	text-align: center;
}
.checkbox label .boxcover.checked {
	border-color: #ccc;
	border-style: double;
	border-width: 4px;
	background-color: #003399;
}
.checkbox label .boxcover.warning {
	border-color: red;
}
.checkbox input[type=checkbox] {
	margin-top: 0px;
	margin-left: -35px;
}
.inputfile {
	position: relative;
	display: inline-block;
}
.inputfile > input[type=file] {
	position: relative;
	width: 150px;
	height: 150px;
	border: none;
	outline: none;
	opacity: 0;
	z-index: 1;
	cursor: pointer;
}
.inputfile > .filecover {
	position: absolute;
	top: 0px;
	left: 0px;
	display: inline-block;
	width: 100%;
	height: 100%;
	border-width: 1px;
	border-style: dashed;
	border-color: #ccc;
	padding: 0 15px;
	z-index: 0;
	transition: border-color .15s;
	-webkit-transition: border-color .15s;
	-o-transition: border-color .15s;
	-moz-transition: border-color .15s;
	line-height: 150px;
	text-align: center;
	font-size: 25px;
	color: #ccc;
	cursor: pointer;
}
/*.inputfile > input[type=file]:hover + .filecover,
.inputfile > input[type=file]:active + .filecover,
.inputfile > input[type=file]:focus + .filecover {
	border-color: #003399;
}*/
button{
	outline: none;
}
textarea {
	outline: none;
	border-color: #ccc;
	border-width: 1px;
	border-style: solid;
	padding: 10px 15px;
	transition: border-color .15s;
	-webkit-transition: border-color .15s;
	-o-transition: border-color .15s;
	-moz-transition: border-color .15s;
}
textarea:hover,
textarea:active,
textarea:focus {
	border-color: #003399;
}
textarea.warning {
	border-color: red;
}
select {
	outline: none;
	border-color: #ccc;
	border-width: 1px;
	border-style: solid;
	padding: 0 15px;
	transition: border-color .15s;
	-webkit-transition: border-color .15s;
	-o-transition: border-color .15s;
	-moz-transition: border-color .15s;
}
select:hover,
select:active,
select:focus {
	border-color: #003399;
}
select {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}
select::-ms-expand  {
	display: none;
}

.dropdown-menu li.active > a {
	background-color: #003399;
}

.dropdown-menu li.danger > a {
	background-color: #bb2a36;
	color: #fff;
}

.btn {
	box-shadow: none !important;
	outline: none !important;
}

/*组件*/

.page-width {
	width: 1250px;
	margin: 0 auto;
}

.leftarea {
	float: left;
}

.rightarea {
	float: right;
}

.ellipsis {/*单行省略*/
	white-space:nowrap;
	text-overflow:ellipsis;
	overflow:hidden;
}
.mutyellipsis {/*多行省略*/
	word-break: break-all;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient:vertical;
	/*-webkit-line-clamp:3;*//*显示的行数*/
	overflow: hidden;
}

.align {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}

.vertical {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}

.align-vertical {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
}

.not-select {/*使文字不被选中*/
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
}

.transtion {
	transition: all .15s;
	-webkit-transition: all .15s;
	-moz-transition: all .15s;
	-ms-transition: all .15s;
	-o-transition: all .15s;
}

.not-transition {
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
}

.clearfix {
	display: block;
	clear: both;
}

.nomore,
.getmore {/*没有更多了*/
	display: block;
	width: 100%;
	height: 35px;
	line-height: 35px;
	text-align: center;
	letter-spacing: 1px;
	color: #bbb;
	font-size: 13px;
}

#alert {
   display: none;
   position: fixed;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   height: 100%;
   margin: 0;
   padding: 0;
   z-index: 1051;
}
#alert > div {
   top: 55%;
   max-width: 300px;
   padding: 10px 15px;
   border: none;
   border-radius: 5px;
   line-height: 30px;
   word-break: break-all;
   text-align: center;
   color: #fff;
   opacity: 0;
   font-size: 14px;
}
#alert > div.primary {
   background-color: #61a1c5;
   color: #fff;
}
#alert > div.green {
   background-color: #239676;
   color: #fff;
}
#alert > div.orange {
   background-color: #bb915a;
   color: #fff;
}
#alert > div.red {
   background-color: #dc818c;
   color: #fff;
}

#confirm {
   display: none;
   position: fixed;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   height: 100%;
   margin: 0;
   padding: 0;
   background-color: rgba(0,0,0,.2);
   z-index: 1051;
}
#confirm > div {
   display: block;
   top: 55%;
   left: 50%;
   width: 300px;
   border-radius: 5px;
   opacity: 0;
}
#confirm > div.primary {
   border:1px solid #eaeaea;
   background-color: #fcfcfc;
}
#confirm > div > .content {
   padding: 10px 15px;
   line-height: 30px;
   text-align: center;
   color: inherit;
   word-break: break-all;
}
#confirm > div > .content > p {
   margin: 0;
}
#confirm > div > .operation {
   position: relative;
   height: 35px;
   border:none;
   background-color: transparent;
}
#confirm > div > .operation::before {
   position: absolute;
   content: "";
   top: 0;
   left: 50%;
   width: 90%;
   border-top: 1px solid #eaeaea;
   transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -moz-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   -o-transform: translateX(-50%);
}
#confirm > div > .operation::after {
   position: absolute;
   content: "";
   top: 50%;
   left: 50%;
   height: 50%;
   border-left: 1px solid #eaeaea;
   transform: translate(-50%,-50%);
   -webkit-transform: translate(-50%,-50%);
   -moz-transform: translate(-50%,-50%);
   -ms-transform: translate(-50%,-50%);
   -o-transform: translate(-50%,-50%);
}
#confirm > div > .operation > button {
   display: inline-block;
   width: 50%;
   height: inherit;
   border: none;
   border-radius: 5px;
   background-color: transparent;
}
#confirm > div > .operation > button:hover {
   background-color: #f5f5f5;
}

#loading {
   display: none;
   position: fixed;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   height: 100%;
   margin: 0;
   padding: 0;
   background-color: rgba(0,0,0,.2);
   z-index: 1051;
}
#loading > img {
   width: 32px;
   height: 32px;
}