* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
body {
  	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  	font-size: 12px;
  	line-height: 1.5;
  	color: #333;
  	background-color: #f0f0f0;
  	
}
a,a:link,a:active{color: #999;text-decoration: none;}
a:hover{text-decoration: underline;}
.dialog{
  position: fixed;
  top: 0;left: 0;width: 100%;height: 100%;
  display: table;
  z-index: 1001
}
.dialog .mark{
  position: absolute;background: rgba(0,0,0,.3);
  top: 0;left: 0;width: 100%;height: 100%;
}
.dialog .content{
  display: table-cell;
  vertical-align: middle;text-align: center;
  padding: 10px;
}
.dialog .content>div{
  text-align: left;
  max-width: 300px;margin: auto;
  background: #fff;
  box-shadow: 0px 0px 5px #ccc;
  -webkit-box-shadow: 0px 0px 5px #ccc;
}
.dialog .content>div>.head{
  font-size: 14px;
  border-bottom: 1px solid #ebebeb;
  padding: 8px 10px;
  margin: 0;
}
.dialog .content>div>.body{
  padding: 10px;
}
.loading{
	height: 60px;width:200px;
	text-align: center;
	position: fixed;
	top: 50%;left: 50%;
	margin: -30px 0 0 -100px;
}
.loading .spinner{margin: auto;}
.spinner {
  border: 2px solid #fff;
  font-size: 40px;
  width: 1em;
  height: 1em;
  border-radius: .5em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  border-top-color: red;
}
@-webkit-keyframes spin {
  to {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spin {
  to {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  to {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}