.mfp-content {
  text-align: center;
}
.sform {
  position: relative;
  display: inline-block;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
  box-sizing: border-box;
  max-width: 500px;
  margin: 30px 5px;
  padding: 30px 25px 30px;
  background: #f2f4f6;
  border: 2px solid #c1d0df;
        border-radius: 15px;
}
.sform h3 {
  font-family: inherit;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  font-weight: normal;
  line-height: 1;
  margin: 0;
  padding: 3px 0 17px;

}
#fform .fset {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
#fform .finp {
  width: 100%;
  margin: 0 0 15px;
}
#fform .finp.linp {
  margin-right: 15px;
}
#fform .work-time {
  color: #d72d2d;
  font-size: 12px;
  margin-bottom: 8px;
}
#fform .finp.stime {
	position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 0 15px;
}
#fform .finp.stime label {
  margin: 0 15px 0 0;
  white-space: nowrap;
}
#fform .finp.stime #sdate {
  width: 76px;
}
#fform select[name="ui-timepicker-sdate"] {
  width: 95px;
}
#fform .finp.agreement {
  margin: 0 0 10px;
}
#fform .finp label {
  display: block;
  color: #313131;
  font-weight: bold;
  margin-bottom: 8px;
}
#fform .finp.agreement label {
  font-weight: normal;
  margin-bottom: 0;
}
#fform .finp.agreement label span {
  font-size: 14px;
}
#fform .finp.agreement label span a {
  text-decoration: none;
  border-bottom: 1px dashed #313131;
}
#fform .finp .scapt {
  display: flex;
}
#fform .finp .scap {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
#fform .finp .scap img {
  max-width: none;
  height: 40px;
  margin: 0;
	border-radius: 5px;
}
#fform .finp .scapt input[name="scapt"] {
  width: 60px;
	height: 40px;
  text-align: center;
}
#fform .err_spam {
  color: #d72d2d;
  font-size: 13px;
  margin: -3px 0 7px;
}
#sresult {
  display: inline-block;
	font-size: 16px;
  text-align: center;
  box-sizing: border-box;
  max-width: 500px;
  margin: 30px 5px;
  padding: 25px 25px 25px;
  background: #f2f4f6;
  border: 2px solid #c1d0df;
}
#fform input[type="text"],
#fform input[type="tel"],
#fform input[type="email"],
#fform select,
#fform textarea {
  font-size: 16px !important;
  line-height: 1;
  padding: 14px 14px;
  display: block;
  width: 100%;
  border: 1px solid #dde5e7;
  border-bottom: 2px solid #a4a4a4;
  box-sizing: border-box;
  outline: none;
    border-radius: 7px;
}
#fform input[type="text"]:focus,
#fform input[type="tel"]:focus,
#fform input[type="email"]:focus,
#fform select:focus,
#fform textarea:focus {
  border-bottom: 2px solid #82af3a;
}
#fform textarea {
  font-family: inherit;
  height: 90px;
  resize: none;
}
#fform input[type="radio"],
#fform input[type="checkbox"] {
  line-height: normal;
  margin: -1px 3px 0 0;
  vertical-align: middle;
}
#fform input[type="submit"] {
  width: 100%;
  height: 50px;
  line-height: 1;
  border: none;
  border-bottom: 2px solid #006699;
  border-top: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: #0088CC;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}
#fform input[type="submit"]:hover,
#fform input[type="submit"]:active {
  background: #00a1f2;
  border-bottom: 2px solid #0081C2;
}

@media only screen and (max-width: 370px) {
  .sform {
    padding: 30px 20px 30px;
  }
  #fform .finp .scapt {
    flex-wrap: wrap;
  }
  #fform input[type="submit"] {
    margin-top: 15px;
  }
}
@media only screen and (max-width: 380px) {
  #fform .finp label {
    font-weight: normal;
    margin-bottom: 7px;
  }
  #fform .fset {
    flex-wrap: wrap;
  }
  #fform .finp.linp {
    margin: 0 0 10px;
  }
}
@media only screen and (max-width: 500px) {
  .sform {
    margin: 25px 5px;
  }
}
@media only screen and (max-width: 768px) {
  #fform .finp.stime label {
    white-space: normal;
  }
}
@media only screen and (max-width: 991px) {
}
@media only screen and (max-width: 1280px) {
}