/* form */
div[id^=wait_comp], .bx-core-waitwindow {
  display:none;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 562px;
  width: 100%;
}
.form.form--labels-out .form__input {
  padding: 0.7rem 1.25rem;
  background-color: var(--main-bg-color);
}
.form.form--labels-out .form__input:focus {
  background-color: var(--white);
}
.form__label {
  --border-radius: 8px;
  text-align: left;
  width: 100%;
  position: relative;
}
@media screen and (min-width: 600px) {
  .form {
    grid-template-columns: 1fr 1fr;
  }
  .form__label:not(.form__label--short),
  .form__element {
    grid-column-end: span 2;
  }
}

.form__label::after {
  content: attr(data-error);
  position: absolute;
  bottom: -18px;
  left: 0;
  display: none;
  color: var(--brand-red);
  line-height: 123%;
  font-size: 0.8125rem;
}
.form__label._error::after {
  display: block;
}
.form__label._error .form__input {
  border: 1px solid var(--brand-red);
}
.form__placeholder {
  font-weight: 400;
  font-size: 13px;
  line-height: 157%;
  color: var(--title-color);
  margin-bottom: 0.25rem;
  display: inline-block;
}

.form__input {
  display: block;
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  /* padding: 0.874rem 1.25rem; */
  padding: 0.8625rem 1.25rem;
  font-weight: 400;
  font-size: 1rem;
  line-height: 147%;
}
.form__input:hover{
  border-color: #D8DCE6;
  cursor: pointer;
}
.form__input::placeholder {
  color: var(--placeholder-color);
}
.form__input:focus {
  border-color: #BFC3CF;
  background-color: var(--white);
}


.form textarea.form__input {
  resize: none;
  min-height: 128px;
}

.form__button {
  margin-top: 1.5rem;
}
.form__btn {
  width: 100%;
}
.form__agreement {
  color: var(--text-color);
}
.form__agreement a {
  transition: color 0.3s ease;
  color: var(--brand-blue);
}
@media (any-hover: hover) {
  .form__agreement a:hover {
    color: var(--text-color);
  }
}

.agreement-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agreement-input:hover {
  cursor: pointer;
}

.agreement-input .agreement-checkbox:hover {
  background: #F5F7FC;
  border-color: #D8DCE6;
}

.agreement-text span{
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #555558;
  white-space: nowrap;
}

.agreement-input .agreement-text span:hover{
  color: #333338;
}

.agreement-checkbox {
  min-width: 20px;
  min-height: 20px;
  border: 1px solid #E6E9F2;
  background: #fff;
  border-radius: 6px;
  text-align: center
}

.agreement-checkbox.active--dot {
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
}

.agreement-input:hover .agreement-checkbox.active--dot {
  border: 1px solid var(--brand-blue-hover);
  background: var(--brand-blue-hover);
}

.agreement-checkbox.active--dot::before {
  content: "\2713";
  color: white;
}

.agreement-checkbox.required {
  border: 1px solid var(--brand-red);
}

.form__label.agreement-input.form__label--short{
  grid-column-end: span 2;
}

@media (max-width: 440px) {
  .agreement-input{
    align-items: start;
  }
  .agreement-text span{
      position: relative;
      top: calc(-1 * var(--offset-1))
    }
}

@media (max-width: 381px){
  .agreement-text span{
    margin-top: 0 !important;
  }
}



/* FORMS */

/* .bx-chrome select.form-control{-webkit-appearance:none;padding-right:38px;}
.bx-chrome select.form-control{background:url(images/svg/Arrow_small.svg) right 15px top 21px no-repeat;}
.input.error input,.input.error textarea{border-color:#e02222;}
.captcha_input.error input{border-color:#e02222;}
.form .recaptcha-row .input.error .g-recaptcha>div{border: 1px solid #e02222;}
.form .hidde_gr_block .g-recaptcha{opacity:0;visibility:hidden;}
.form .hidde_gr_block .recaptcha-row .g-recaptcha{opacity:1;visibility:visible;}
.form-control{height:43px;font-size:1.0667em;border-radius:0;box-shadow:none;border:none;height:auto;border-bottom:1px solid #e1e1e1;padding:10px 0;background:none;}
.form-group.animated-labels.input-filed .form-control{background:#fff;}
.form-group.animated-labels.input-filed input[type="checkbox"].form-control{  width: 20px;}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{background:#fff;}
.form-control:focus{border-color:#e1e1e1;box-shadow:none;}
textarea.form-control{height:43px;}
.popup{max-width:560px;margin:0 auto;}
.jqmWindow{left:0;opacity:0;position:fixed;width:580px;background:white;top:0!important;z-index:3050!important;}
.jqmWindow.crmWindow {padding: 0;}
.jqmWindow.map_frame{padding:40px;margin-left:0!important;}
.jqmWindow.map_frame .ymaps-glass-pane,
.jqmWindow.map_frame div.bx-yandex-map,
.jqmWindow.map_frame .ymaps-map,
.jqmWindow.map_frame .bx-yandex-view-map,
.jqmWindow.map_frame .module-map,
.jqmWindow.map_frame .module-contacts-map-layout,
.jqmWindow.map_frame .bx-google-map,
.jqmWindow.map_frame .bx-yandex-view-layout{height:100%!important;}
.jqmWindow.map_frame .bx-yandex-view-map{opacity:0;}
.jqmWindow.map_frame .gm-control-active.gm-fullscreen-control {display: none;}
.jqmOverlay{display:none;background:#FFF;opacity:1 !important;height: 100%;width: 100%;position: fixed;left: 0px;top: 0px;z-index: 131!important;}
.jqmOverlay.mobp{display: block!important;background: #3a3f44;opacity: .7!important;}
.jqmOverlay.popup_form{z-index:1000!important;display:none!important;}
.jqmOverlay.waiting,.jqmOverlay.search{background:rgba(0,0,0,0.4);display:block;}
.jqmClose.top-close{width:48px;height:48px;line-height:20px;text-align:center;position:absolute;right:23px;top:20px;background:#FFF;border-radius:100%;cursor:pointer;transition:opacity 0.3s ease;z-index:2;}
.jqmClose.top-close svg{content:"";position:absolute;top:50%;left:50%;width:14px;height:14px;margin:-7px 0 0 -7px;background:url(images/svg/content_icons.svg) -103px -117px no-repeat;opacity:0.35;}
.jqmClose.top-close svg path{fill:#333;}
.jqmClose.top-close:hover svg{opacity:1;background-position:-103px -133px;}
.jqmClose.top-close:before{display:none;}
.jqmWindow.map_frame .ymaps-controls-righttop>ymaps{left:5px;right:auto!important;}
.jqmWindow:not(.right_slide) .popup .jqmClose{display:none;}
.jqmWindow.right_slide{opacity:0!important;right:-580px;top:0;bottom:0;left:auto;transition: right 0.15s linear;-moz-transition: right 0.15s linear;-ms-transition: right 0.15s linear;-o-transition: right 0.15s linear;-webkit-transition: right 0.15s linear;}
.jqmWindow.right_slide.map_frame{padding:40px;}
.jqmWindow.right_slide.opened{right:0;}
.jqmWindow.right_slide.opacity1{opacity:1!important;}
.jqmWindow.right_slide .popup{position:static;max-width:100%;}
.jqmWindow.right_slide.map_frame{width:580px!important;padding:0;}
.jqmWindow.right_slide .form.popup>.wrap{position:absolute;left:0;right:0;top:0;bottom:0;overflow-x:hidden;}
.jqmWindow.right_slide .form.popup>.wrap form{padding:0 70px;}
.jqmWindow.right_slide.auth_frame .form-header{padding:60px 70px 68px;}
.jqmWindow.right_slide .auth_wrapp .soc-avt{padding-left:70px;padding-right:70px;}
.jqmWindow.right_slide .bxform.success .form-header{padding-left:0;padding-right:0;}
.jqmWindow:not(.right_slide) .form.popup{width: 640px; max-width:100vw;}
.jqmWindow:not(.right_slide) .form.popup>.wrap{display: flex; justify-content: center; align-items: center; position: relative; height: 100vh; padding: 0 40px;}
.city_chooser_frame.jqmWindow:not(.right_slide) .form.popup>.wrap,
.city_chooser_small_frame.jqmWindow:not(.right_slide) .form.popup>.wrap,
.auth_frame.jqmWindow:not(.right_slide) .form.popup>.wrap {display: block; justify-content: unset; align-items: unset; position: relative; height: 100vh; padding: 0 40px;}
.jqmWindow:not(.right_slide) .form.popup form {max-height: 100%; width: 100%;}
.city_chooser_frame.jqmWindow:not(.right_slide) .form.popup,
.city_chooser_small_frame.jqmWindow:not(.right_slide) .form.popup {width: 100%}
.jqmWindow:not(.right_slide) {display: flex !important; align-items: center; justify-content: center;}
.city_chooser_frame.jqmWindow:not(.right_slide),
.city_chooser_small_frame.jqmWindow:not(.right_slide){display:block !important; align-items: unset; justify-content: unset;}
.form_wrapper{position:relative;}
.jqmOverlay.dark{display:block;background:rgba(0,0,0,0.4);}
.jqmOverlay_search{position:fixed;top:0;right:0;bottom:0;left:0;z-index:131;background:rgba(0,0,0,0.4);}
.form-control label{font-size:1em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#999999;}
form .form-group.animated-labels label:not(.error){margin:0;position:absolute;top:9px;left:0;z-index:1;-moz-transition:all ease-out .2s;-webkit-transition:all ease-out .2s;-o-transition:all ease-out .2s;-ms-transition:all ease-out .2s;transition: all ease-out .2s;cursor:text;color:#999;}
label:not(.error):not(.b24-form-control-container){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
form .captcha-row .form-group.animated-labels.input-filed label:not(.error), form .row div .form-group.animated-labels.input-filed label:not(.error){left:0;}
form .row[data-sid=RATING] label{position:static!important;font-size:0.800em!important;}
form .row[data-sid=RATING] .rating{float:left;position:relative;width:150px;height:24px;font-size:0;line-height:0;background:url(images/svg/bigstars.svg) 0 -26px no-repeat;}
form .row[data-sid=RATING] .rating .star{position:relative;z-index:1;margin:0;padding:0;height:24px;display:inline-block;width:20%;background:none;cursor:pointer;border-radius:0;}
form .row[data-sid=RATING] .rating .stars_current{position:absolute;left:0;top:0;bottom:0;display:block;width:0;background:url(images/svg/bigstars.svg) 0 0 no-repeat;}
form .row[data-sid=RATING] .rating_message{margin:0 0 0 13px;float:left;position:relative;padding:0 0 0 24px;color:#999999;}
form .row[data-sid=RATING] .rating_message:before{content:"\2014";position:absolute;left:0;top:0;}
.form textarea{overflow:hidden;padding-top: 10px;}
.form .refresh{color:#666666;display:inline-block;margin-top:5px;vertical-align:top;cursor:pointer;}
.form .refresh a{border-bottom:1px dotted;font-size:0.800em;line-height:14px;}
.height_popup_iframe {height: 100%;}
html.overflow_hidden_popup_forms {overflow: hidden; padding-right: 17px;}
#bx24_form_inline_second {padding: 15px 20px 0;}
.form .uploader + span.form-control{display:none;}
#licenses_reg{display:block;}
.onoffswitch{width:33px;z-index:2;}
.onoffswitch-switch{width:14px;height:14px;border:none;margin:2px;}
.bx_filter input[type="checkbox"] + label.onoffswitch-label{padding:0;min-height:18px;top:0;border:none;border-radius:9px;}
input[type="radio"] + label,input[type="checkbox"] + label{overflow:visible;}
label.onoffswitch-label{overflow:hidden!important;}
.onoffswitch-inner:before{display:none;}
.onoffswitch-inner:after{display:none;}
.bx_filter input[type="checkbox"]:checked + label.onoffswitch-label:after, .filter input[type="checkbox"]:checked + label.onoffswitch-label:after{display:none;}
.bx_filter input[type="checkbox"] + label.onoffswitch-label:before, .filter input[type="checkbox"] + label.onoffswitch-label:before, .filter input[type="radio"] + label.onoffswitch-label:before{display:block;top:0;height:18px;width:100%;background:#dbe0e6;}
.bx_filter input[type="checkbox"] + label.onoffswitch-label:after, .filter input[type="checkbox"] + label.onoffswitch-label:after{display:none;}
.bx_filter.licence_block input[type="checkbox"]{display:block;}
.onoffswitch-switch{right:15px;}
span.onoffswitch-switch{z-index:11;-webkit-transition: right 0.1s ease-in;transition: right 0.1s ease-in;-webkit-box-shadow:0px 3px 6px 0px rgba(0, 0, 0, 0.3);-moz-box-shadow:0px 3px 6px 0px rgba(0, 0, 0, 0.3);box-shadow:0px 3px 6px 0px rgba(0, 0, 0, 0.3);}
.form-group.animated-labels label.onoffswitch-label:not(.error){cursor:pointer;}
.captcha-row{margin-bottom:41px;position: relative;}
.captcha-row label:not(.error){font-size: 0.8em;margin-bottom:-3px;}
.captcha-row label.error{margin-top:0;}
.form .captcha-row .captcha_image{height: 69px;position: relative;width: 217px;}
.captcha-row .captcha_image img{height:40px;border:none;vertical-align:top;width:100%;width:180px;}
.captcha-row .captcha_input{top: 0;height: 70px;left: 216px;position: absolute;right: 0;}
.captcha-row .captcha_input input[name="captcha_word"]{bottom:0;position:absolute;height:40px;}
.captcha-row.form-control{background-color: #fff;border: 0px solid #d5dadc;box-shadow: none;border-radius: 0px;height: auto;padding: 0px;}
.blog-comment-form .captcha-row .captcha_input{max-width:184px;}
.info_block .btn{margin:0 10px 10px 0;} */
