.construction_form {
  max-width: 600px;
  position: relative;
  background-color: var(--bg-color);
  position: relative;
}
.form_complete_response {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 10;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.form_wrapper {
  position: relative;
}
.form_wrapper.complete .form_complete_response {
  opacity: 1;
  visibility: visible;
}
.form_wrapper.loading::after {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: url(/images/upload3.gif);
  background-position: center;
  background-size: 80px;
  background-repeat: no-repeat;
}
.construction_form h3.visible_name {
  color: var(--text-color) !important;
  margin-top: 15px;
  margin-bottom: 15px;
}
.form_widnow_cont_wrapper h3.visible_name {
  color: var(--text-color) !important;
}
.content .conts .construction_form a {
  color: var(--text-color);
}
.send_btn {
  display: inline-block;
  background-color: #9C3242;
  background-color: var(--main-color);
  padding: 3px 10px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
  transition: 0.25s;
}
.content .conts .construction_form a.send_btn {
  color: #ffffff;
}

.send_btn:hover {
  transform: scale(1.05);
}
.send_btn:first-child {
  margin-left: 0px;
}
.send_btn:last-child {
  margin-right: 0px;
}

.construction_form textarea {
  resize: vertical;
}
.construction_form select {
  background-image: url(/images/arrow6.svg);
  -webkit-appearance: none;
  background-position: center right 10px;
  background-repeat: no-repeat;
  background-size: 18px;
}
.construction_form select[multiple] {
  background-image: none;
}

.construction_form>div label {
  color: var(--text-color);
  margin-right: 5px;
}
.construction_form>div p {
  color: var(--text-color) !important;
}
.construction_form>div span.required {
  color: red;
}
.construction_form select option {
  width: 100%;
  padding: 5px;
  background-color: var(--second-color);
}
.construction_form select option:checked {
  background-color: var(--main-color);
  color: var(--second-color);
}
.__group_block {
  margin: 5px 0;
}
/* .construction_form input,
.construction_form select,
.construction_form textarea {
  font-family: 'DaxlineCyrTF-Regular';
}
.construction_form input::placeholder,
.construction_form select::placeholder,
.construction_form textarea::placeholder {
  font-family: 'DaxlineCyrTF-Regular';
} */
.construction_form .__custom_ch_label {
  cursor: pointer;
}
.construction_form .__custom_ch_label>input[type='checkbox']{
  display: none;
}
.construction_form .__custom_ch_label>div.__custom_ch {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px solid var(--text-color);
  background-color: var(--second-color);
  color: var(--text-color);
  border-radius: 3px;
  margin-right: 5px;
  position: relative;
  margin-bottom: -3px;
  cursor: pointer;
}
.construction_form .__custom_ch_label>div.__custom_ch::after {
  position: absolute;
  content: '✓';
  font-size: 14px;
  font-weight: 700;
  left: 0px;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
  opacity: 0;
}
.construction_form .__custom_ch_label>input[type='checkbox']:checked+.__custom_ch::after {
  opacity: 1;
}
.__custom_radio_label {
  margin-right: 10px;
  padding-bottom: 10px;
}
.construction_form .__custom_radio_label {
  cursor: pointer;
}
.construction_form .__custom_radio_label>input[type='radio']{
  display: none !important;
}
.construction_form .__custom_radio_label>div.__custom_radio {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid var(--text-color);
  background-color: var(--second-color);
  border-radius: 50%;
  margin-right: 5px;
  position: relative;
  margin-bottom: -2px;
  cursor: pointer;
}
.construction_form .__custom_radio_label>div.__custom_radio::after {
  position: absolute;
  content: '';
  font-size: 14px;
  background-color: var(--text-color);
  font-weight: 700;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  transition: 0.25s;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.construction_form .__custom_radio_label>input[type='radio']:checked+.__custom_radio::after {
  opacity: 1;
}



/* -- Window mode -- */
.form_widnow_wrapper {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000000000;
}
.form_window_placeholder {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000000001;
}
.form_widnow_cont_wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 15px;
  transform: translate(-50%, -50%);
  z-index: 1000000002;
  box-sizing: border-box;
}
.form_widnow_cont_wrapper {
  background-color: var(--bg-color);
}
.form_window_cont {
  width: 500px;
  overflow: auto;
  max-height: calc(100vh - 180px);
}
.form_window_cont::-webkit-scrollbar,
.construction_form select::-webkit-scrollbar,
.construction_form textarea::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.form_window_cont::-webkit-scrollbar-track,
.construction_form select.form_window_cont::-webkit-scrollbar-track,
.construction_form textarea.form_window_cont::-webkit-scrollbar-track {
  background: #ADADAD;
  border: 2px solid transparent;
  background-clip: content-box;
}
.form_window_cont::-webkit-scrollbar-thumb,
.construction_form select::-webkit-scrollbar-thumb,
.construction_form textarea::-webkit-scrollbar-thumb {
  background: var(--borders-color);
  border-radius: 4px;
}
.form_window_cont::-webkit-scrollbar-button:vertical:start:decrement,
.construction_form select::-webkit-scrollbar-button:vertical:start:decrement,
.construction_form textarea::-webkit-scrollbar-button:vertical:start:decrement {display: none;}
.form_window_cont::-webkit-scrollbar-button:vertical:end:increment,
.construction_form select::-webkit-scrollbar-button:vertical:end:increment,
.construction_form textarea::-webkit-scrollbar-button:vertical:end:increment {display: none;}
.form_window_cont::-webkit-scrollbar-button:horizontal:start:decrement,
.construction_form select::-webkit-scrollbar-button:horizontal:start:decrement,
.construction_form textarea::-webkit-scrollbar-button:horizontal:start:decrement {display: none;}
.form_window_cont::-webkit-scrollbar-button:horizontal:end:increment,
.construction_form select::-webkit-scrollbar-button:horizontal:end:increment,
.construction_form textarea::-webkit-scrollbar-button:horizontal:end:increment {display: none;}

.close_window {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  color: red;
  font-weight: 700;
  font-size: 32px;
  cursor: pointer;
}
.form_window_btns {
  display: flex;
  justify-content: center;
}
/* -- End window mode -- */


@media (max-width: 800px) {
  .form_window_cont {
    width: 500px;
  }
  .close_window {
    top: 5px;
    right: 5px;
  }
}
@media (max-width: 600px) {
  .form_widnow_cont_wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0px;
  }
  .form_widnow_cont_wrapper::after{
    position: absolute;
    left: 0;
    content: '';
    top: calc(100% - 2px);
    width: 100%;
    height: 200px;
    background-color: #ffffff;
    z-index: 1000000000;
  }
  .form_window_cont {
    width: 100%;
    height: 100%;
  }
}



/* -- Theme 1 -- */
.construction_form[theme=theme1] .__custom_ch_label>div.__custom_ch {
  border-radius: 0px;
}
.construction_form[theme=theme1] p {
  margin: 0;
}
.construction_form[theme=theme1] label {
  padding-top: 5px;
  font-size: 16px;
}
.construction_form[theme=theme1] input[type='password'],
.construction_form[theme=theme1] input[type='number'],
.construction_form[theme=theme1] input[type='text']{
  width: 100%;
  border: 0px;
  border-bottom: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme1] input[type='date'] {
  width: 200px;
  max-width: 100%;
  border: 0px;
  border-bottom: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme1] select {
  width: 200px;
  max-width: 100%;
  border: 0px;
  border-bottom: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme1] textarea {
  width: 100%;
  border: 0px;
  height: 70px;
  border-bottom: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme1] label.__custom_ch_label {
  padding-top: 0px;
  padding-bottom: 15px;
  font-size: 14px;
  font-weight: normal;
}
/* -- Theme 1 -- */


/* -- Theme 2 -- */
.construction_form[theme=theme2] p {
  margin: 0;
}
.construction_form[theme=theme2] label {
  margin-left: 20px;
}
.construction_form[theme=theme2] input[type='password'],
.construction_form[theme=theme2] input[type='number'],
.construction_form[theme=theme2] input[type='text']{
  width: 100%;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 100px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme2] .__group_block input {
  width: auto;
  margin-right: 15px;
}
.construction_form[theme=theme2] .__group_block input:last-child {
  margin-right: 0px;
}

.construction_form[theme=theme2] input[type='date'] {
  width: 200px;
  max-width: 100%;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 100px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme2] select {
  width: 200px;
  max-width: 100%;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 100px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme2] select[multiple] {
  border-radius: 10px;
}
.construction_form[theme=theme2] textarea {
  width: 100%;
  min-height: 70px;
  height: 70px;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 10px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme2] label.__custom_ch_label {
  font-size: 14px;
  font-weight: normal;
}
.construction_form[theme=theme2]>div {
  margin-bottom: 15px;
}
/* -- Theme 2 -- */


/* -- Theme 3 -- */
.construction_form[theme=theme3]{
  box-shadow: 7px 7px 5px #cbced1;
}
.construction_form[theme=theme3] p {
  margin: 0;
}
.construction_form[theme=theme3] label {
  padding-top: 5px;
  font-weight: 700;
  font-size: 12px;
}
.construction_form[theme=theme3] input[type='password'],
.construction_form[theme=theme3] input[type='number'],
.construction_form[theme=theme3] input[type='text']{
  width: 100%;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 5px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme3] .__group_block input {
  width: auto;
  margin-right: 15px;
}
.construction_form[theme=theme3] .__group_block input:last-child {
  margin-right: 0px;
}
.construction_form[theme=theme3] input[type='date'] {
  width: 200px;
  max-width: 100%;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 5px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme3] select {
  width: 200px;
  max-width: 100%;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 5px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme3] textarea {
  width: 100%;
  height: 70px;
  border: 1px solid var(--borders-color);
  background-color: var(--second-color);
  border-radius: 5px;
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme3] a.send_btn {
  font-weight: 700;
  box-shadow: 2px 2px 4px #cbced1;
}
.construction_form[theme=theme3] label.__custom_ch_label {
  padding-top: 0px;
  padding-bottom: 15px;
  font-size: 14px;
  font-weight: normal;
}
.construction_form[theme=theme3]>div {
  margin-bottom: 15px;
}
/* -- Theme 3 -- */

/* -- Theme 4 -- */
.construction_form[theme=theme4] .__custom_ch_label>div.__custom_ch {
  border-radius: 0px;
}
.construction_form[theme=theme4] p {
  margin: 0;
}
.construction_form[theme=theme4] label {
  padding-top: 5px;
  font-size: 16px;
}
.construction_form[theme=theme4] input[type='password'],
.construction_form[theme=theme4] input[type='number'],
.construction_form[theme=theme4] input[type='text']{
  width: 100%;
  border: 0px;
  border: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme4] input[type='date'] {
  width: 200px;
  max-width: 100%;
  border: 0px;
  border: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme4] select {
  width: 200px;
  max-width: 100%;
  border: 0px;
  border: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme4] textarea {
  width: 100%;
  border: 0px;
  height: 70px;
  border: 2px solid var(--borders-color);
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
.construction_form[theme=theme4]>div {
  margin-bottom: 15px;
}
.construction_form[theme=theme4] label.__custom_ch_label {
  padding-top: 0px;
  padding-bottom: 15px;
  font-size: 14px;
  font-weight: normal;
}
/* -- Theme 4 -- */


.form_privacy_policy {
  display: flex;
  align-items: flex-start;
  margin-top: 14px;
}
.form_privacy_policy a {
  text-decoration: none;
  color: #478ac9;
}
.form_privacy_policy_text {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #111111;
}
.form_privacy_policy label.privacy_policy_label {
  padding-top: 0px;
  margin-right: 5px;
}

.form_wrapper .privacy_policy_label input {
  display: none;
}
.form_wrapper .privacy_policy_custom_ch {
  width: 15px;
  height: 15px;
  border: 1px solid #000000;
  border-radius: 2px;
  margin-top: 4px;
  position: relative;
  cursor: pointer;
}
.form_wrapper .privacy_policy_custom_ch svg {
  position: absolute;
  width: 19px;
  height: auto;
  bottom: 2px;
  left: 2px;
  fill: none;
  stroke: #478ac9;
  opacity: 0;
  transition: 0.25s;
}
.form_wrapper .privacy_policy_label input:checked +.privacy_policy_custom_ch svg {
  opacity: 1;
}
