select,
textarea,
input[type="text"],
input[type=search],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="color"],
.input-group {
  width: 100%;
  height: 40px;
  font-size: 14px;
  font-weight: normal;
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  -webkit-appearance: none;
  box-sizing: border-box;
}
form {
  position: relative;
}
input[type="radio"],
input[type="checkbox"] {
  display: none;
}
input[type="radio"] + label,
input[type="checkbox"] + label {
  position: relative;
  float: left;
  display: block;
  width: 100%;
  line-height:3em;
  text-align: left;
  padding: 0px 0 0 60px;
  margin: 3px 0px;
}
input[type="radio"]:not(.toggle) + label:before {
  position: absolute;
  top: 8px;
  left: 20px;
  content: " ";
  display: block;
  height: 28px;
  width: 28px;
  font-size: 13px;
  text-align: center;
  line-height: 28px;
  background-color: #fafafa;
  border: 1px solid #cacece;
  border-radius: 14px;
}
input[type="radio"]:checked + label:before {
  background-color: #1eb0e9;
  -webkit-transition: background-color 150ms;
          transition: background-color 150ms;
}
input[type="checkbox"] + label:before {
  position: absolute;
  top: 8px;
  left: -25px;
  content: " ";
  display: block;
  height: 28px;
  width: 28px;
  font-size: 13px;
  text-align: center;
  line-height: 28px;
  background-color: #fafafa;
  border: 1px solid #cacece;
  border-radius: 3px;
}
input[type="checkbox"]:checked + label:before {
  content: '\00a0\2714';
  display: inline-block;
  padding: 0px;
  background-color: #1eb0e9;
  -webkit-transition: background-color 150ms;
          transition: background-color 150ms;
}
input[type="radio"]:after,
input[type="checkbox"]:after {
  visibility: hidden;
  content: " ";
  clear: both;
  display: block;
  height: 0;
  font-size: 0;
}
input[type="search"] {
  border-radius: 20px;
}
label {
  float: left;
  width: 33%;
  color: inherit;
  font-weight: normal;
  font-size: 14px;
  text-align: right;
  padding: 15px 18px;
}
label + select,
label + input[type="radio"],
label + input[type="checkbox"] label + textarea,
label + input[type="text"],
label + input[type=search],
label + input[type="password"],
label + input[type="datetime"],
label + input[type="datetime-local"],
label + input[type="date"],
label + input[type="month"],
label + input[type="time"],
label + input[type="week"],
label + input[type="number"],
label + input[type="email"],
label + input[type="url"],
label + input[type="tel"],
label + input[type="color"],
label + textarea {
  width: 66%;
}
textarea { height: auto;}
.input-group {
  overflow: hidden;
  width: auto;
  height: auto;
  padding: 12px;
}
.input-group input:not([type='button']):not([type='submit']),
.input-group textarea,
.input-group select {
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
}
.input-group input:not([type="submit"]):not([type="button"]):last-child,
.input-group textarea:last-child,
.input-group select:last-child {
  border-bottom: none;
}
.input-group input[type=button],
.input-group input[type=submit] {
  margin: 5px;
}
input.toggle + label:before,
input.toggle:checked + label:before {

  position: absolute;
  top: 0px;
  left: 5px;
  content: attr(data-on);
  overflow: hidden;
  display: none;
  width: 42px;
  height: 30px;
  line-height: 29px !important;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  z-index: 3;
}
input.toggle:checked + label:before { display: block;}
input.toggle:checked + label:after { display: none;}
input.toggle:checked + label {
  line-height: -1em;
  background: #1eb0e9;
  -webkit-transition: background 150ms;
          transition: background 150ms;
}
input.toggle:checked + label > span {
          transform: translate3d(37px, 0, 0);
  -webkit-transform: translate3d(37px, 0, 0);
}
input.toggle + label:after {
  position: absolute;
  top: 0px;
  left: 30px;
  content: attr(data-off);
  overflow: hidden;
  width: 42px;
  height: 30px;
  line-height: 29px;
  color: #505050;
  text-align: left;
  text-transform: uppercase;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  z-index: 1;
}
input.toggle + label {
  position: relative;
  left: 33%;
  float: none;
  display: block;
  height: 30px;
  width: 65px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 50px;
}
input.toggle + label > span {
  position: absolute;
  top: -2px;
  left: 0px;
  display: block;
  width: 29px;
  height: 31px;
  background: #ccc;
  border-radius: 50px;
  z-index: 5;
          transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
          transition: transform 100ms linear;
  -webkit-transition: -webkit-transform 100ms linear;
}
.formGroupHead {
  color: inherit;
  font-size: 18px;
  font-weight: bold;
  margin: 16px 0 8px;
}
input[type=button],
input[type=submit],
button {
  font-size: inherit;
}
select {
  color: #aeaeae;
  background-image: url(../../images/iconfont-xiajiantou.svg);
  background-repeat: no-repeat;
  background-position: 95% center;
  background-size: 11px;
}
