.td-form-wrapper {
  background-color: #fff;
}
.td-form__title {
  font-size: 35px;
  font-weight: 200;
  margin: 0 0 10px 0;
  font-family: "proxima_nova_rgbold",sans-serif;
  text-align: center;
  text-transform: uppercase;
}
.td-form {
  position: relative;
  margin: 0 auto;
  padding: 30px 10px;
  background-color: #fff;
  display: flex;
  flex-flow: column nowrap;
  font-family: arial;
}
.td-form * {
  box-sizing: border-box;
}
.td-form__wrapper {
  position: relative;
  margin: 20px auto;
  width: 700px;
}
.td-form__input {
  position: relative;
  color: rgba(0,0,0,0.87);
  font-size: 14px;
  width: 100%;
  height: 37px;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  border: none;
  border-bottom: 1px solid #828282;
  background-color: transparent;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
}
.td-form__input_error {
  border-color: red;
}
.td-form__input-placeholder {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding: 0 10px;
  color: #828282;
  font-size: 14px;
  width: 100%;
  z-index: 0;
  transition: font-size .15s ease-out, .15s ease-out;
}
.td-form__input_not-empty ~ .td-form__input-placeholder,
.td-form__input:focus ~ .td-form__input-placeholder {
  top: -25%;
  font-size: 12px;
}
.td-form__checkbox {
  display: none;
}
.td-form__checkbox-label {
  position: relative;
  font-size: 12px;
  padding-left: 30px;
  padding-right: 10px;
  display: block;
  line-height: 1.8;
}
.td-form__checkbox-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  vertical-align: top;
  width: 22px;
  height: 22px;
}
.td-form__checkbox-icon:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #828282;
  display: block;
  transition: border-color .15s ease;
}
.td-form__checkbox_error ~ .td-form__checkbox-label > .td-form__checkbox-icon:before {
  border-color: red;
}
.td-form__checkbox-icon:after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  margin-top: -5px;
  margin-left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffba00;
  display: block;
  transform: scale(0);
  transition: transform .15s ease;
}
.td-form__checkbox:checked ~ .td-form__checkbox-label > .td-form__checkbox-icon:before {
  border-color: #ffba00;
}
.td-form__checkbox:checked ~ .td-form__checkbox-label > .td-form__checkbox-icon:after {
  transform: scale(1);
}
.td-form__link {
  color: #ffba00;
}
.td-form__button {
  background-color: #ffba00;
  color: black;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
  padding: 12px 20px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  text-transform: uppercase;
  border: 0;
  text-decoration: none !important;
  margin-right: 10px;
}
.td-form__button:hover {
  background-color: #edad01;
}
.td-form__result {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.td-form__dropdown {
  position: relative;
  color: #ffba00;
  text-decoration: underline;
}
.td-form__dropdown-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 700px;
  max-width: 100%;
  padding: 15px;
  border: 1px solid #828282;
  border-radius: 2px;
  background-color: #fff;
  color: #000;
  display: none;
  z-index: 2;
}
.td-form__dropdown-close {
  position: absolute;
  top: 2px;
  right: 2px;
}
.rect-btn {
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  text-transform: uppercase;
  border: 0;
  text-decoration: none !important;
  margin-right: 10px;
}
.rect-btn.rect-btn-yellow {
  background-color: #ffba00;
  color: black;
  text-decoration: none !important;
}
@media (max-width: 700px) {
  .td-form__dropdown-text {
    width: 90%;
  }
  .td-form__wrapper {
    width: 90%;
  }
  .td-form {
     padding: 30px 0px;
  }
  .td-form__title {
    padding: 0 10px;
  }
}
