/* tilda-zero-form.css — библиотечный CSS Тильды (tilda-zero-form-errorbox.css, tilda-zero-form-horizontal.css), отформатирован */

.tn-atom .t-input-error {
  background-color:#fff;
  border-radius:2px;
  box-shadow:0 1px 20px 0 rgba(0,0,0,.2);
  color:red;
  left:0;
  margin-top:5px;
  padding:8px 10px;
  position:absolute;
  z-index:2;
}

.tn-atom .t-input-error:after {
  border:6px solid transparent;
  border-bottom-color:#fff;
  content:"";
  height:0;
  left:15%;
  position:absolute;
  top:-12px;
  width:0;
}

.tn-form__errorbox-close {
  cursor:pointer;
  height:14px;
  position:absolute;
  right:8px;
  top:8px;
  width:14px;
}

.tn-form__errorbox-close-line {
  background:#fff none repeat scroll 0 0;
  height:1px;
  left:0;
  margin-top:-1px;
  position:absolute;
  top:50%;
  width:100%;
}

.tn-form__errorbox-close-line-left {
  -webkit-transform:rotate(45deg);
  transform:rotate(45deg);
}

.tn-form__errorbox-close-line-right {
  -webkit-transform:rotate(-45deg);
  transform:rotate(-45deg);
}

.tn-atom .t-form__errorbox-wrapper,.tn-form__errorbox-popup {
  background:#f95d51;
  border-radius:3px;
  bottom:20px;
  box-shadow:0 0 3px 1px rgba(0,0,0,.2);
  font-family:Arial,sans-serif;
  max-width:400px;
  min-width:260px;
  padding:10px;
  position:fixed;
  right:20px;
  text-align:left;
  width:auto;
  z-index:10000;
}

.tn-atom .js-error-control-box .t-checkbox__control,.tn-atom .js-error-control-box .t-checkboxes__wrapper .t-checkbox__control {
  border:none!important;
  padding-bottom:0;
  padding-left:3px;
  padding-right:3px;
  padding-top:calc(var(--offset-y)*-1);
  position:relative;
}

.tn-atom .js-error-control-box .t-radio__wrapper {
  border:none!important;
  padding:0 3px;
  position:relative;
}

#allrecords .tn-atom .t-form .js-error-control-box .t-checkboxes__wrapper {
  border:none!important;
  padding:0;
}

.tn-atom .js-error-control-box .t-checkbox__control:before,.tn-atom .js-error-control-box .t-radio__wrapper:before {
  border:1px solid red;
  content:"";
  height:calc(100% + 6px);
  left:0;
  pointer-events:none;
  position:absolute;
  top:-3px;
  width:100%;
}

@media screen and (max-width:480px) {
  .tn-atom .t-form__errorbox-wrapper,.tn-form__errorbox-popup {
    max-width:280px;
  }
}

.tn-form_horiz .t-section__topwrapper {
  margin-bottom:75px;
}

.tn-form_horiz .t-section__title {
  margin-bottom:30px;
}

.tn-form_horiz .t-section__descr {
  max-width:560px;
}

.tn-form_horiz.t-form_inputs-total_6 .t-input-group {
  width:16%;
}

.tn-form_horiz.t-form_inputs-total_5 .t-input-group {
  width:20%;
}

.tn-form_horiz.t-form_inputs-total_4 .t-input-group {
  width:25%;
}

.tn-form_horiz.t-form_inputs-total_3 .t-input-group {
  width:33.33%;
}

.tn-form_horiz.t-form_inputs-total_2 .t-input-group {
  width:50%;
}

.tn-form_horiz.t-form_inputs-total_1 .t-input-group {
  width:100%;
}

.tn-form_horiz .t-input-group {
  -webkit-flex:1;
  -ms-flex:1;
  flex:1;
}

.tn-form_horiz .t-form__inputsbox {
  -ms-flex-align:end;
  -webkit-align-items:flex-end;
  align-items:flex-end;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:flex;
  -webkit-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  max-height:5000px;
  row-gap:15px;
  transition:max-height .3s cubic-bezier(.19,1,.22,1),opacity .3s linear;
}

.tn-form_horiz .t-form__errorbox-middle {
  width:auto;
}

.tn-form_horiz .t-input-title {
  height:auto;
}

.tn-form_horiz .t-input__own-answer-wrapper {
  margin-bottom:0;
}

.tn-form_horiz__inputsbox_hidden.t-form__inputsbox {
  display:block;
  max-height:0;
  opacity:0;
  overflow:hidden;
}

.tn-form_horiz .t-input-group {
  display:table-cell;
  vertical-align:bottom;
}

.tn-form_horiz .t-input-block {
  box-sizing:border-box;
  height:100%;
  width:100%;
}

.tn-form_horiz .t-input-title {
  padding-bottom:5px;
}

.tn-form_horiz .t-input-subtitle {
  margin-top:-5px;
  padding-bottom:10px;
}

.tn-form_horiz .t-form__submit,.tn-form_horiz .tn-form__submit {
  display:table-cell;
  height:100%;
  vertical-align:bottom;
}

.tn-form_horiz .t-datepicker {
  width:100%;
}

.tn-form_horiz .t-form_bbonly .t-input-title {
  margin-bottom:0;
  padding-bottom:0;
}

.tn-form_horiz .t-form_bbonly .t-input-subtitle {
  padding-bottom:0;
  padding-top:5px;
}

.tn-form_horiz .t-input-error {
  display:none!important;
}

.tn-form_horiz .t-input-group.t-input-group_cb,.tn-form_horiz .t-input-group.t-input-group_tx {
  -ms-flex-order:3;
  -ms-flex-preferred-size:100%;
  -webkit-flex-basis:100%;
  flex-basis:100%;
  -webkit-order:3;
  order:3;
}
