
/**********
 * validator.css
 ******/
input[type='radio'],
input[type='checkbox'],
input[type='radio']:focus,
input[type='checkbox']:focus,
input[type='radio']:checked,
input[type='checkbox']:checked{
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	border: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	outline: none;
}
label{
  font-weight: normal;
}
textarea{
  resize: none;
}

/**** 日期 ****/
.layui-laydate-content table,
.layui-laydate-content th,
.layui-laydate-content td{
  border: none;
  vertical-align: middle;
}

/********/
.frm-row{
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  margin-top: 10px;
}
.frm-row-hd{
  width: 100%;
  overflow: hidden;
  position: relative;
  border-bottom: solid 1px #e6e6e6;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.frm-row-hd .row-title{
  float: left;
  font-size: 18px;
  line-height: 28px;
  color: #333;
  font-weight: bold;
}
.frm-row-bd{
  overflow: hidden;
  position: relative;
  padding: 0;
}
.frm-subrow{
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 30px;
  border-bottom: dashed 1px #cccccc;
  margin-bottom: 22px;
}
.frm-row .frm-subrow:last-child{
  margin-bottom: 0;
}
.frm-subrow .row-hd{
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.frm-subrow .row-hd .row-title{
  float: left;
  font-size: 14px;
  line-height: 18px;
  color: #999999;
  font-weight: bold;
}
.frm-subrow .tool-box{
  overflow: hidden;
  margin-top: 5px;
  font-size: 14px;
  line-height: 24px;
  color: #ff3434;
}
.btn-del-subrow{
  color: #ff3434;
  font-size: 14px;
  margin-left: 24px;
}
.btn-del-subrow:hover{
  color: #ff3434;
  text-decoration: underline;
}
.btn-add-subrow{
  font-size: 14px;
  line-height: 20px;
  color: #0882e3;
}

.global-form-box{
	width: 100%;
	overflow: hidden;
	margin: 0 auto;
}
.form-group{
  width: 100%;
  max-width: 526px;
  display: block;
  position: relative;
  padding: 10px 0;
  margin: 0;
}

.form-group .help-block {
  width: 100%;
  display: block;
  overflow: hidden;
  font-size: 12px;
  line-height: 20px;
  word-break:  break-all;
  margin-top: -10px;
  position: absolute;

}

.control-label {
  width: 100%;
  display: block;
  white-space: nowrap;
  font-size: 16px;
  line-height: 26px;
  color: #333;
  margin: 0 0 5px;
  font-weight: normal;
  font-size: 14px;
}
.control-label .must {
  font-style: normal;
  color: #ff0000;
  margin: 0 5px 0 0;
}
.control-label .tips{
	color: #666;
	font-size: 14px;
}
.form-group-cell {
  width: 100%;
  display: block;
  vertical-align: top;
  overflow: hidden;
  position: relative;
}
.frm-check-group{
  overflow: hidden;
  padding-top: 2px;
}
.form-group-bd{
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}
.form-control {
  width: 100%;
  height: 40px;
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 24px;
  padding: 7px 18px;
  color: #333;
  background-color: #f1f1f1;
  background-repeat: no-repeat;
  border: solid 1px #ccc;
  box-shadow: none;
  -webkit-box-shadow: none;
  outline: none;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -ms-border-radius: 3px;
}

.form-control.laydate-item{
  width: 195px;
}
.form-control:focus,
.form-control:hover {
  box-shadow: none;
  -webkit-box-shadow: none;
  outline: none;
  border-color: #ccc;
}
select.form-control{
  background: url('../images/sel_arrow3.png') no-repeat right center #fcfcfc;
  background: #fcfcfc\0;
  *background: #fcfcfc;
  padding-right: 40px;
  padding-right: 0\0;
  *padding-right: 0;
  color: #999;
  cursor: pointer;
}
select.form-control.form-control-single{
  background: url('../images/sel_arrow2.jpg') no-repeat right center #fcfcfc;
}
textarea.form-control{
  /*min-height: 200px;*/
}

.frm-ctrl-box{
	position: relative;
}
.frm-ctrl-clear {
  width: 30px;
  height: 30px;
  display: none;
  overflow: hidden;
  background: url(../images/frm_close.png) no-repeat center center;
  background-size: 16px auto;
  position: absolute;
  right: 1px;
  top: 50%;
  z-index: 10;
  margin-top: -15px;
  cursor: pointer;
}
.frm-ctrl-num{
  position: absolute;
  right: 8px;
  bottom: 10px;
  font-size: 14px;
  color: #cccccc;
}

.frm-ctrl-box textarea.form-control{
  padding: 7px 18px;
}

.frm-check-group.had-limit{
  height: 80px;
  overflow: hidden;
  margin-bottom: 8px;
}
.frm-check-open{
  font-size: 14px;
  line-height: 40px;
  color: #808080;
  float: left;
  padding: 0 28px;
}
.frm-check-open img{
  margin: -3px 0 0 11px;
}
.frm-check-box{
	position: relative;
	float: left;
	font-size: 14px;
	line-height: 24px;
	color: #333;
	margin: 0 32px 0 0;
  padding: 6px 0;
}
.frm-check-box:last-child{
	margin: 0;
}
.frm-check-box input[type='radio']{
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin: -2px 8px 0 0;
	background: none;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -ms-border-radius: 100%;
  border: solid 1px #bfbfbf;
  border: none\0;
  *border: none;
  position: relative;
}
.frm-check-box input[type='radio']:after{
  content:  '';
	width: 8px;
  height: 8px;
  display: none;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -ms-border-radius: 100%;
  background: #0f86df;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -4px 0 0 -4px;
}
.frm-check-box input[type='radio']:checked{
  border-color: #bfbfbf;
}
.frm-check-box input[type='radio']:checked:after{
  display: block;
}

.frm-check-box input[type='checkbox']{
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin: -3px 8px 0 0;
  background: no-repeat center center transparent;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -ms-border-radius: 3px;
  border: solid 1px #bfbfbf;
  border:  none\0;
  *border:  none;
}
.frm-check-box input[type='checkbox']:checked{
  background-image: url(../images/check.png);
  background-color: #0882e3;
  background: none\0;
  *background: none;
  border-color: #0882e3;
}

.frm-btn-group{
	width: 100%;
	overflow: hidden;
	margin-left: 420px;
}
.frm-btn-group .btn{
  width: 104px;
  height: 35px;
  float: left;
  margin: 0 12px 0 0;
  text-align: center;
  border: solid 1px #8c8c8c;
  background: #999;
  font-size: 14px;
  line-height: 33px;
  color: #fff;
  padding: 0;
}
.frm-btn-group .btn-submit{
  border-color: #0168B7;
	background: #0168B7;
}
.frm-btn-group .btn:hover{
  opacity: .8;
  filter: alpha(opacity = 80);
}

/***** tooltip ****/
.frm-tooltip{
  max-width: 20em;
  padding: 10px;
  background: url('../images/black.6.png');
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  display: none;
  position: fixed;
  left: 50%;
  top: 30%;
  z-index: 2000;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

/**** 地区 ***/
.frm-region-box{
  overflow: hidden;
  margin:  0 -15px;
}
.frm-region-box .item{
  padding: 0 15px;
}

/**** 验证码 ****/
.frm-vcode-box{
  overflow: hidden;
}
.frm-vcode-box .form-control{
  float: left;
  /*width: 400px;*/
}
.frm-vcode-box .vcode-image{
  width: 79px;
  height: 27px;
  display: block;
  float: left;
  margin-left: 10px;
  cursor: pointer;
}
.frm-vcode-box .vcode-image img{
  width: 77px;
  height: 26px;
  display: block;
  border: 1px solid #E5E5E5;
}

/**** 上传附件 ***/

.frm-ctrl-upload{
  width: 100px;
  height: 40px;
  display: block;
  position: relative;
  text-align: center;
  background: #fff;
  border: solid 1px #0882e3;
  font-size: 14px;
  line-height: 38px;
  color: #0882e3;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -ms-border-radius: 3px;
  cursor: pointer;
}
.frm-ctrl-upload img{
  width: 12px;
  margin: -3px 5px 0 0;
}
.frm-ctrl-upload input[type='file']{
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  filter:Alpha(opacity=0);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  cursor: pointer;
}
.frm-file-box .file-tips{
  font-size: 14px;
  line-height: 20px;
  color: #999;
  margin-top: 16px;
}
.frm-file-list{
  width: 100%;
  overflow: hidden;
  margin-top: 8px;
}
.frm-file-list li{
  width: 100%;
  overflow: hidden;
  margin-top: 10px;
  border: dashed 1px #bfbfbf;
  font-size: 14px;
  line-height: 24px;
  color: #0e87e4;
  position: relative;
  border-radius: 3px;
}
.frm-file-list .file-pross{
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
}
.frm-file-list .file-bd{
  padding:13px 35px 13px 18px;
  position: relative;
  overflow: hidden;
  z-index: 20;
}
.frm-file-list .title{
  float: left;
  font-size: 1em;
  line-height: 24px;
}
.frm-file-list .title a{
  color: #0e87e4;
}
.frm-file-list .btn-del{
  width: 20px;
  height: 100%;
  display: block;
  background: url('../images/file_del.png') no-repeat center center;
  position: absolute;
  right: 14px;
  top: 0;
  z-index: 10;
}

/**** layout-horizontal ****/
.global-form-box.layout-horizontal .control-label{
  white-space: nowrap;
  float: left;
  width: 126px;
  text-align: right;
  padding-right: 27px;
  line-height: 40px;
}
.global-form-box.layout-horizontal .form-group-cell{
  width: 10000px;
  display: table-cell;
  vertical-align: top;
}
.global-form-box.layout-horizontal textarea.form-control{
  min-height: 150px;
}

/**** error / success ****/
.form-group.has-error .help-block {
  color: #ff0000;
}
.form-group.has-error .control-label,
.form-group.has-success .control-label{
  color: #333;
}
.form-group.has-error .form-control{
  border-color: #ff1111;
}
.form-group.has-success .form-control{
  border-color: #ccc;
}


/**** 水平表格形式 ****/
.layout-horizontal-table .frm-row-hd{
  border-bottom: none;
}
.layout-horizontal-table .frm-row-bd{
  border:1px solid #cccccc;
}
.layout-horizontal-table .form-group{
  border-bottom: dashed 1px #cccccc;
  max-width: inherit;
  padding: 19px 0;
  background: url(../images/control-label-table_bg.jpg) repeat-y left top;
  background-size: 149px 100%;
}
.layout-horizontal-table .form-group.no-border{
  border-bottom: none;
}
.layout-horizontal-table .form-control{
  border:none;
  background: none;
}
.layout-horizontal-table .has-success .form-control:focus{
    -webkit-box-shadow: none;
    box-shadow: none;
}
.layout-horizontal-table .has-error .form-control{
  border-color: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.layout-horizontal-table.global-form-box.layout-horizontal .control-label{
  width: 149px;
  text-align: left;
  padding-left: 30px;
  padding-right: 0;
}
.layout-horizontal-table .frm-check-group{
  margin-left: 36px;
}
.layout-horizontal-table select.form-control{
  background: url(../images/sel_arrow3.png) no-repeat right center #f2f2f2;
}
.layout-horizontal-table select.form-control.form-control-single{
  width: 400px;
}