/*#modal-1.fade-block {*/
/*    display: none;*/
/*    position: fixed;*/
/*    overflow-y: auto;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background-color: rgba(0, 0, 0, 0.69);*/
/*}*/

/*#modal-1.fade-block--visible {*/
/*    display: block;*/
/*    z-index: 1000;*/
/*}*/

#modal-1 > .modal-window {
  margin: 100px auto;
}

@media screen and (min-width: 1200px) {
  #modal-1 > .modal-window {
    width: 900px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 > .modal-window {
    width: 1082px;
  }
}

#modal-1 > .modal-window > .modal_make-an-appointment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #D5E5EC;
  border-radius: 8px;
  position: relative;
}

#modal-1 > .modal-window > .modal_make-an-appointment::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 20px;
  right: 0;
  top: 20px;
  background: #AED7EB;
  border-radius: 4px 0 0 4px;
}

@media screen and (min-width: 1200px) {
  #modal-1 > .modal-window > .modal_make-an-appointment::before {
    height: 32px;
    width: 375px;
    top: 25px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 > .modal-window > .modal_make-an-appointment::before {
    width: 433px;
    height: 42px;
    top: 50px;
  }
}

#modal-1 .form_block_title {
  text-align: center;
  font-weight: 300;
  font-size: 24px;
  line-height: 20px;
  color: #530085;
  position: relative;
  margin-bottom: 20px;
  padding-top: 17px;
}

@media screen and (min-width: 1200px) {
  #modal-1 .form_block_title {
    font-size: 48px;
    line-height: 40px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 .form_block_title {
    font-size: 72px;
    line-height: 86px;
    margin-bottom: 40px;
  }
}

#modal-1 .form_block_title > span {
  color: #E62A78;
}

#modal-1 button.btn-close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 10px;
  background: transparent;
}

#modal-1 button.btn-close::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("../img/icons/icon-close.svg") no-repeat;
  top: 0;
  left: 0;
}

@media screen and (min-width: 1200px) {
  #modal-1 button.btn-close {
    cursor: pointer;
  }
}

#modal-1 .form-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: auto;
  width: 90%;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
}

@media screen and (min-width: 1200px) {
  #modal-1 .form-block {
    width: 500px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 .form-block {
    font-size: 18px;
    line-height: 22px;
    width: 651px;
  }
}

#modal-1 .text {
  width: 100%;
  height: 30px;
  background-color: #f2f7f9;
  color: #818181;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 15px;
  border: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
}

@media screen and (min-width: 1200px) {
  #modal-1 .text {
    height: 30px;
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 .text {
    height: 42px;
    font-size: 26px;
    line-height: 31px;
    padding: 5px 20px;
    margin-bottom: 20px;
  }
}

#modal-1 .text::-webkit-input-placeholder {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #818181;
}

@media screen and (min-width: 1200px) {
  #modal-1 .text::-webkit-input-placeholder {
    font-size: 18px;
    line-height: 31px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 .text::-webkit-input-placeholder {
    font-size: 26px;
    line-height: 31px;
  }
}

#modal-1 select {
  width: 100%;
  height: 30px;
  background-color: #f2f7f9;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 15px;
  border: none;
  position: relative;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  color: #818181;
}

#modal-1 select::before {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background: #818181;
  top: 50%;
  right: 10px;
}

@media screen and (min-width: 1200px) {
  #modal-1 select::before {
    right: 20px;
  }
}

@media screen and (min-width: 1200px) {
  #modal-1 select {
    height: 30px;
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 select {
    font-size: 26px;
    line-height: 31px;
    height: 42px;
    margin-bottom: 20px;
    padding: 5px 20px;
  }
}

#modal-1 textarea {
  width: 100%;
  height: 100px;
  background-color: #f2f7f9;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 20px;
  border: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  color: #818181;
}

@media screen and (min-width: 1200px) {
  #modal-1 textarea {
    height: 120px;
    font-size: 18px;
    line-height: 24px;
    resize: none;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 textarea {
    font-size: 26px;
    line-height: 31px;
    height: 140px;
    margin-bottom: 20px;
  }
}

#modal-1 .chb {
  display: none;
}

#modal-1 .chb_label {
  display: block;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  position: relative;
  background: url("../img/icons/chb_empty_bg_noa.svg") no-repeat;
  margin-bottom: 10px;
}

@media screen and (min-width: 1600px) {
  #modal-1 .chb_label {
    font-size: 18px;
    line-height: 22px;
  }
}

#modal-1 .chb_label > span {
  padding-left: 35px;
}

#modal-1 .chb:checked + .chb_label {
  background: url("../img/icons/check.svg") no-repeat;
}

#modal-1 .chb_label span {
  color: #E62A78;
}

#modal-1 a span {
  color: #E62A78;
  border-bottom: 1px solid #E62A78;
}

#modal-1 input.submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: auto;
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
  width: 250px;
  height: 30px;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #9B26A8;
  border-radius: 4px;
}

@media screen and (min-width: 1200px) {
  #modal-1 input.submit {
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-1 input.submit {
    width: 272px;
    font-size: 22px;
    line-height: 26px;
  }
}

/*#modal-2.fade-block {*/
/*    display: none;*/
/*    overflow-y: auto;*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background-color: rgba(0, 0, 0, 0.69);*/
/*}*/

/*#modal-2.fade-block--visible {*/
/*    display: block;*/
/*    z-index: 1000;*/
/*}*/

#modal-2 > .modal-window {
  margin: 100px auto;
  width: 90%;
}

@media screen and (min-width: 1200px) {
  #modal-2 > .modal-window {
    width: 800px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 > .modal-window {
    width: 900px;
  }
}

#modal-2 > .modal-window > .modal_callback {
  display: flex;
  flex-direction: column;
  background: #D5E5EC;
  border-radius: 8px;
  position: relative;
}

#modal-2 > .modal-window > .modal_callback::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 20px;
  right: 0;
  top: 20px;
  background: #AED7EB;
  border-radius: 4px 0 0 4px;
}

@media screen and (min-width: 1200px) {
  #modal-2 > .modal-window > .modal_callback::before {
    height: 32px;
    width: 370px;
    top: 25px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 > .modal-window > .modal_callback::before {
    width: 410px;
    height: 42px;
    top: 50px;
  }
}

#modal-2 .form_block_title {
  text-align: center;
  font-weight: 300;
  font-size: 24px;
  line-height: 20px;
  color: #530085;
  position: relative;
  margin-bottom: 20px;
  padding-top: 17px;
}

@media screen and (min-width: 1200px) {
  #modal-2 .form_block_title {
    font-size: 48px;
    line-height: 40px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 .form_block_title {
    font-size: 72px;
    line-height: 86px;
    margin-bottom: 40px;
  }
}

#modal-2 .form_block_title > span {
  color: #E62A78;
}

#modal-2 button.btn-close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 10px;
  background: transparent;
}

#modal-2 button.btn-close::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("../img/icons/icon-close.svg") no-repeat;
  top: 0;
  left: 0;
}

@media screen and (min-width: 1200px) {
  #modal-2 button.btn-close {
    cursor: pointer;
  }
}

#modal-2 .form-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: auto;
  width: 90%;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
}

@media screen and (min-width: 1200px) {
  #modal-2 .form-block {
    width: 500px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 .form-block {
    font-size: 18px;
    line-height: 22px;
    width: 651px;
  }
}

#modal-2 .text,
#no_soc_fields .text {
  width: 100%;
  height: 30px;
  background-color: #f2f7f9;
  color: #818181;
  border-radius: 4px;
  margin-bottom: 10px;
  border: none;
  font-size: 16px;
  padding: 5px 15px;
  line-height: 22px;
  font-weight: 300;
}

@media screen and (min-width: 1200px) {
  #modal-2 .text,
  #no_soc_fields .text {
    height: 30px;
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 .text,
  #no_soc_fields .text {
    height: 42px;
    font-size: 26px;
    line-height: 31px;
    padding: 5px 20px;
    margin-bottom: 20px;
  }
}

#modal-2 .text::-webkit-input-placeholder,
#no_soc_fields .text::-webkit-input-placeholder {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #818181;
}

@media screen and (min-width: 1200px) {
  #modal-2 .text::-webkit-input-placeholder,
  #no_soc_fields .text::-webkit-input-placeholder {
    font-size: 18px;
    line-height: 31px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 .text::-webkit-input-placeholder,
  #no_soc_fields .text::-webkit-input-placeholder {
    font-size: 26px;
    line-height: 31px;
  }
}

#modal-2 form > div {
  margin-bottom: 10px;
}

#modal-2 form > div span {
  color: #E62A78;
}

#modal-2 form > div a span {
  color: #E62A78;
  border-bottom: 1px solid #E62A78;
}

#modal-2 .chb {
  display: none;
}

#modal-2 .chb_label {
  display: block;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  position: relative;
  background: url("../img/icons/chb_empty_bg_noa.svg") no-repeat;
  margin-bottom: 10px;
}

@media screen and (min-width: 1600px) {
  #modal-2 .chb_label {
    font-size: 18px;
    line-height: 22px;
  }
}

#modal-2 .chb_label > span {
  padding-left: 35px;
}

#modal-2 .chb:checked + .chb_label {
  background: url("../img/icons/check.svg") no-repeat;
}

#modal-2 .chb_label > span {
  color: #E62A78;
}

#modal-2 input.submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: auto;
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
  width: 250px;
  height: 30px;
  color: white;
  margin-top: 20px;
  margin-bottom: 30px;
  background: #9B26A8;
  border-radius: 4px;
}

@media screen and (min-width: 1200px) {
  #modal-2 input.submit {
    height: 40px;
    font-size: 20px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  #modal-2 input.submit {
    width: 272px;
    font-size: 22px;
    line-height: 26px;
  }
}


/********
* #modal-3
*******/

.fade-block {

  display: none;
  z-index: 1000;

  /*display: flex;*/
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.69);
}


.overflow {
  overflow: hidden;
}

/* новые стили для старого попапа */

.popup_bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.popup_cont {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.popup_container {
  width: 90%;
  margin: 100px auto;
  z-index: 110;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #D5E5EC;
  border-radius: 8px;
  position: relative;
}

@media screen and (min-width: 1200px) {
  .popup_container {
    width: 900px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container {
    width: 1082px;
  }
}

.popup_container form {
  margin: auto;
  width: 90%;
}

@media screen and (min-width: 1200px) {
  .popup_container form {
    width: 500px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container form {
    font-size: 18px;
    line-height: 22px;
    width: 651px;
  }
}

.form_block_title {
  text-align: center;
  font-weight: 300;
  font-size: 24px;
  line-height: 20px;
  color: #530085;
  position: relative;
  margin-bottom: 20px;
  padding: 17px 20px 0;
}

@media screen and (min-width: 1200px) {
  .form_block_title {
    font-size: 48px;
    line-height: 40px;
  }
}

.form_block_title {
  text-align: center;
  padding: 30px 40px 27px;
  font-family: cera_prothin, Tahoma, Arial;
  font-size: 40px;
  line-height: 46px;
}

@media only screen and (max-width: 600px) {
  .form_block_title {
    font-size: 20px;
    line-height: 28px;
    padding: 30px 20px 27px;
  }
}

.form_block_title > span {
  color: #E62A78;
}

.popup_container > .popup_close_button {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 10px;
  background: transparent;
  z-index: 111;
}

.popup_container > .popup_close_button::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("/bitrix/templates/new_tpl/css/../img/icons/icon-close.svg") no-repeat;
  top: 0;
  left: 0;
}

.before_after_popup_img {
  margin: 0 auto;
}

@media screen and (min-width: 1200px) {
  .popup_container > .popup_close_button {
    cursor: pointer;
  }
}

.popup_container > .form-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: auto;
  width: 90%;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
}

@media screen and (min-width: 1200px) {
  .popup_container > form {
    width: 500px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container > form {
    font-size: 18px;
    line-height: 22px;
    width: 651px;
  }
}

.popup_container form > .text {
  width: 100%;
  height: 30px;
  background-color: #f2f7f9;
  color: #818181;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 20px;
  border: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
}

@media screen and (min-width: 1200px) {
  .popup_container form > .text {
    height: 30px;
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container form > .text {
    height: 42px;
    font-size: 26px;
    line-height: 31px;
    margin-bottom: 20px;
  }
}

.popup_container form > .text::-webkit-input-placeholder {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #818181;
}

@media screen and (min-width: 1200px) {
  .popup_container form > .text::-webkit-input-placeholder {
    font-size: 18px;
    line-height: 31px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container form > .text::-webkit-input-placeholder {
    font-size: 26px;
    line-height: 31px;
  }
}

.popup_container form > select {
  width: 100%;
  height: 30px;
  background-color: #f2f7f9;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 15px;
  border: none;
  position: relative;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  color: #818181;
}

.popup_container form > select::before {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background: #818181;
  top: 50%;
  right: 10px;
}

@media screen and (min-width: 1200px) {
  .popup_container form > select::before {
    right: 20px;
  }
}

@media screen and (min-width: 1200px) {
  .popup_container form > select {
    height: 30px;
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container form > select {
    font-size: 26px;
    line-height: 31px;
    height: 42px;
    margin-bottom: 20px;
    padding: 5px 20px;
  }
}

.popup_container form > textarea {
  width: 100%;
  height: 100px;
  background-color: #f2f7f9;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 20px;
  border: none;
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  color: #818181;
}

@media screen and (min-width: 1200px) {
  .popup_container form > textarea {
    height: 120px;
    font-size: 18px;
    line-height: 24px;
    resize: none;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container form > textarea {
    font-size: 26px;
    line-height: 31px;
    height: 140px;
    margin-bottom: 20px;
  }
}

.popup_container form input#APROVE {
  display: none;
}

.popup_container form .chb_label {
  display: block;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  position: relative;
  background: url("/bitrix/templates/new_tpl/css/../img/icons/chb_empty_bg_noa.svg") no-repeat 0 4px;
  margin-bottom: 10px;
  padding-left: 34px;
}

@media screen and (min-width: 1600px) {
  .popup_container form .chb_label {
    font-size: 18px;
    line-height: 22px;
  }
}

.popup_container > form > .chb_label > span {
  padding-left: 35px;
}

.popup_container form .chb:checked + .chb_label {
  background: url("/bitrix/templates/new_tpl/css/../img/icons/check.svg") no-repeat 0 4px;
}

.popup_container form > div span {
  color: #E62A78;
}

.popup_container form > div {
  padding-bottom: 1px;
}

.popup_container form > div a span {
  color: #E62A78;
  border-bottom: 1px solid #E62A78;
}

.popup_container form > div input.submit, form > input.submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: auto;
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
  width: 250px;
  height: 30px;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #9B26A8;
  border-radius: 4px;
}

@media screen and (min-width: 1200px) {
  .popup_container form > div input.submit, form > input.submit {
    height: 40px;
    font-size: 20px;
    line-height: 24px;
  }
}

@media screen and (min-width: 1600px) {
  .popup_container form > div input.submit, form > input.submit {
    width: 272px;
    font-size: 22px;
    line-height: 26px;
  }
}


