.td-subtitle{
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  margin: 30px 0;
  text-transform: uppercase;
}
.td-block{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.td-form{
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.td-form__title {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    margin: 25px;
}
.td-form__list {
  /* margin-top: 30px; */
}
.td-form__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    justify-content: space-between;
}
.td-form__type-input {
    width: 100%;
    padding: 15px 20px;
    height: 100%;
    box-sizing: border-box;
    color: #737373;
    border: 1px solid #a9a9a9;
}
.td-form__label {
    font-size: 12px;
    color: #888888;
    position: absolute;
    left: 20px;
    top: 17px;
    transition: all .3s ease-in-out;
}
.td-form__label_up{
  top:3px;
  font-size: 10px;
  color: #b7b7b7;
}
.js-required{
  position: absolute;
  bottom: -10px;
  left: 0;
  color:#d72b2b;
}
.td-form__items-container {
    justify-content: space-between;
    z-index: 1;
    position: relative;
    display: flex;
}
.td-form__type-check {
    display: none;
}
.td-form__label_check {
    font-size: 17px;
    margin: 0 0 0 30px;
    position: relative;
    text-align: left;
    cursor: pointer;
    user-select: none;
    left: 5px;
    top: 5px;
    padding: 10px 0;
}
.td-form__label_check:before {
    content: "";
    display: block;
    position: absolute;
    left: -35px;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 1px solid #a9a9a9;
}
.td-form__type-check:checked + label:before {
    background: #d72b2b;
}
.td-form__submit {
    background: #d72b2b;
    border: none;
    color: #fff;
    height: 44px;
    padding: 0px 40px;
    font-size: 18px;
    margin: 10px auto;
    display: block;
    cursor: pointer;
}
.td-form__success {
    display: none;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    width: 300px;
    text-align: center;
    background: #fff;
    padding: 30px 60px;
    border: 1px solid #ccc;
    z-index: 20;
    margin: auto;
}
.button__close {
    cursor: pointer;
    position: absolute;
    display: block;
    top: 0px;
    right: 3px;
    background: none;
    border: none;
    font-size: 30px;
    color: #8e8e8e;
    transform: rotate(45deg);
    outline: none;
}
.td-form__success_thanks {
    color: #c33939;
    font-size: 26px;
    display: block;
}
.overlay-white {
    display: none;
    z-index: 5;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.49);
}
