
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

.fields {
  margin: 32px 0;
}

.field-row {
  margin: 0 -8px;
  display: flex;
  flex-direction: column;
}

.fields-group {
  flex: 1 1 0%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.field-group {
  margin: 8px;
  flex: 1 1 0%;
}

.field-group.autowidth {
  flex: 0 1 auto;
}

.field-group.slave {
  max-height: 0;
  opacity: 0;
  margin: 0 8px;
  transition: all .25s linear;
}

.field-group.slave.show {
  max-height: 90px;
  opacity: 1;
  margin: 8px;
}

.field-group > label {
  font-size: 14px;
  line-height: 1.33;
  color: #81909d;
}

.field-group.phone {
  display: flex;
}

.field-group.phone .cc-input {
  width: 25%;
  margin: 0 2px;
}

.field-group.phone .cc-input.phone-num {
  width: 50%;
}

.field-row.center {
  align-items: center;
}

.field-row.center .field-group {
  flex: 1 1 auto;
}

.field-row.center .field-group .service-container-captcha {
  display: flex;
}

.field-row.center .field-group .service-container-captcha .captcha.line.w301 {
  position: relative;
  top: 12px;
}

.field-row.responsive {
  position: relative;
  padding-top: 22px;
}

.field-row.responsive label.master {
  position: absolute;
  top: 17px;
  left: 12px;
  font-size: 14px;
  line-height: 1.33;
  color: #81909d;
  display: none;
}

.field-row.responsive .field-group:not(.mobile) {
  display: none;
}

.field-row.sm-reorder .field-group:first-child {
  order: 2;
}

.field-row.sm-reorder .field-group:last-child {
  order: 1;
}

.field-group.basis-xs {
  flex: 0 0 90px;
}

.fields-group .info,
.field-group .info {
  flex: 1 0 100%;
  font-size: 14px;
  line-height: 1.43;
}

.fields-group .info {
  padding: 6px 8px 0;
}

.field-group .info:not(:first-child) {
  padding-top: 8px;
}

.field-group .info:not(:last-child) {
  padding-bottom: 8px;
}

.field-group .info.nowrap {
  white-space: nowrap;
}

.ext-fields {
  position: relative;
}

.ext-fields > input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.ext-fields > label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
  color: #81909d;
  text-align: left;
  padding-top: 4px;
  display: block;
}

.ext-fields > label span {
  color: #81909d;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ext-fields > label span:hover {
  color: #075da7;
}

.ext-fields .extension {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease-out, opacity 0.3s linear;
}

.ext-fields > input[type='checkbox']:checked ~ .extension {
  max-height: 500px;
  opacity: 1;
}

.ext-fields > input[type='checkbox']:checked ~ label {
  display: none;
}

.cta.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

a#formCaptchaRegen {
  position: relative;
  top: 12px;
}

/* Media queries */

@media screen and (max-width: 767px) {

  .field-row.center .field-group .service-container-captcha {
    display: block;
  }

}

@media screen and (min-width: 769px) {

  .field-row {
    margin: 0 -12px;
  }
  
  .field-row:not(.center) {
    flex-direction: row;
  }
  
  .field-group {
    margin: 8px 12px;
    flex: 1 1 0%;
  }
  
  .fields-group .field-group:last-child,
  .fields-group .field-group.nolmargin {
    margin-right: 0;
  }
  
  .field-group.slave.show {
    margin: 12px;
  }
  
  .field-row.sm-reorder .field-group:first-child {
    order: 1;
  }

  .field-row.sm-reorder .field-group:last-child {
    order: 2;
  }

  .field-row.responsive .field-group.mobile {
    display: none;
  }
  
  .field-row.responsive label.master,
  .field-row.responsive .field-group:not(.mobile) {
    display: block;
  }
  
  .fields-group:first-child {
    margin-left: 12px;
  }

  .fields-group:last-child {
    margin-right: 12px;
  }
  
  .fields-group.basis-m {
    flex: 0 0 297px;
  }

  .field-group.basis-s {
    flex: 0 0 146px;
  }
  
  .fields-group .info {
    padding: 6px 12px 0;
  }
  
}
