
/* reset */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #000;
}
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea {
  margin:0;
  padding:0;
}
table {
  border-collapse:collapse;
  border-spacing:0;
}
html,body,fieldset,img,iframe,abbr {
  border:0;
}
li {
  list-style:none;
}
textarea {
  resize:none;
}
a,button {
  cursor:pointer;
}
input,textarea,button {
  outline: 0;
  border: 0;
  border-radius: 2px;
}
u,s,a,a:hover {
  text-decoration:none;
}
a,a:hover {
  color:#333;
}

/* 功能 */
.clear {
  clear: both;
}
.lf {
  float: left;
}
.rt {
  float: right;
}
.lbk {
  display: inline-block;
}
.t-ct {
  text-align: center;
}
.t-mid {
  vertical-align:middle
}
.t-elps {
  text-overflow: ellipsis;
}
.hidden {
  overflow: hidden;
}
.hide {
  display: none;
}
.show {
  display:none;
}
.rel {
  position: relative;
}


/* 表单 */
.map-btn {
  display: inline-block;
  border: 1px solid #ccc;
  height: 30px;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
}

.map-btn:hover,
.map-btn:active {
  background: #ECE3E3;
}
.f-group {
  margin-top: 10px;
}
.f-group label.control-label {
  display: inline-block;
  width: 120px;
  margin-right: 10px;
  text-align: right;
  font-weight: 500;
  cursor: pointer;
}
/* label */
label.checkbox-inline,
label.radio-inline {
  position: relative;
  text-align: left;
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: 400;
  vertical-align: middle;
  cursor: pointer;
}
.f-group .f-control {
  border: 1px solid #ddd;
  border-radius: 5px;
  height: 30px;
  width: 180px;
  text-indent: 5px;
}
.f-control:hover,
.f-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.f-group input[type="number"] {
  text-align: center;
  width: 80px;
}
.f-group .f-sm {
  width: 70px;
  display: inline-block;
}
/* 模态框 */
.m-ctt {
  width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.m-header {
  border-bottom: 1px solid #e5e5e5;
  height: 55px;
  padding: 15px;
}
.m-body {
  padding: 15px;
}
.m-title {
  font-size: 1.3rem;
  font-weight: 500;
}
.icon {
  display: inline-block;
}
.icon-close {
  width: 20px;
  height: 20px;
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .3;
}
.icon-close:hover {
  opacity: .5;
  cursor: pointer;
}

html,body {
  width: 100%;
  height: 100%;
}
.map_box {
  width: 100%;
  height: 100%;
}
#allmap {
  height: 100%;
  width: 100%;
}
.map-btn-box {
  position: absolute;
  top: 50px;
  right: 50px;
}

.map-btn-box .map-btn {
  margin-right: 10px;
  box-shadow: 5px 5px 10px rgba(0,0,0,.4);
}
.f-group .control-label-sm {
  display: block;
}
.f-group .control-label-sm>span {
  width: 160px;
  display: inline-block;
  text-align: right;
  margin-right: 10px;
}

.m-body .t-ct {
  margin-top: 30px;
}

.f-group .img-box img {
  height: 150px;
  width: 200px;
}
.file-btn {
  position: relative;
  width: 60px;
  text-align: center;
}
input[type='file'] {
  position: absolute;
  display: inline-block;
  left: 0; 
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
