.fancybox-overlay {
  z-index: 9999;
}

.header-menu__links {
  position: relative;
}

.header-menu__link-wrap--callback {
  padding: 0 !important;
  margin-left: -1px;
}

@media screen and (max-width: 550px) {
  .header-menu__link-wrap--main {
    padding: 3px 26px 0 !important;
  }
}

.header-menu__link--callback {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.header-menu__link--callback:hover {
  opacity: 0.8;
}

@media screen and (max-width: 550px) {
  .header-menu__link--callback {
    position: absolute;
    top: 20px;
    left: 8px;
  }
}

.header-menu__callback-icon {
  width: 40px;
  background-color: #c94d53;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media screen and (max-width: 550px) {
  .header-menu__callback-icon {
    display: none;
  }
}

.header-menu__callback-icon::before {
  display: block;
  content: '';
  width: 16px;
  height: 15px;
  background: url("/local/templates/main/images/callback.svg") no-repeat;
}

.header-menu__callback-text {
  background-color: #f5f3f2;
  line-height: 40px;
  padding: 0 15px;
  font-size: 13px;
  color: #555;
}

@media screen and (max-width: 550px) {
  .header-menu__callback-text {
    background-color: transparent;
    color: #c94d53;
    font-size: 12px;
    line-height: 1;
  }
}

.elfa-form {
  line-height: 1.33;
}

.elfa-form__header {
  font-size: 30px;
  font-family: "VAG Light", Arial, sans-serif;
}

@media screen and (max-width: 550px) {
  .elfa-form__header {
    font-size: 22px;
  }
}

.elfa-form--popup, .elfa-form--partner {
  padding: 50px;
}

@media screen and (max-width: 550px) {
  .elfa-form--popup, .elfa-form--partner {
    padding: 20px 0 0;
  }
}

.elfa-form--popup.elfa-form--success, .elfa-form--partner.elfa-form--success {
  padding: 0;
}

.elfa-form--popup.elfa-form--success .elfa-form__header, .elfa-form--partner.elfa-form--success .elfa-form__header {
  margin: 20px 0;
}

.elfa-form--popup .elfa-form__header, .elfa-form--partner .elfa-form__header {
  color: #dd3136;
  margin-bottom: 45px;
}

@media screen and (max-width: 550px) {
  .elfa-form--popup .elfa-form__header, .elfa-form--partner .elfa-form__header {
    margin-bottom: 25px;
  }
}

.elfa-form--popup .elfa-form__field, .elfa-form--partner .elfa-form__field {
  margin-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 550px) {
  .elfa-form--popup .elfa-form__field, .elfa-form--partner .elfa-form__field {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.elfa-form--popup .elfa-form__label, .elfa-form--partner .elfa-form__label {
  width: 120px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 20px;
  font-size: 13px;
  color: #555;
  text-align: right;
}

@media screen and (max-width: 550px) {
  .elfa-form--popup .elfa-form__label, .elfa-form--partner .elfa-form__label {
    margin-bottom: 10px;
    text-align: left;
  }
}

.elfa-form--popup .elfa-form__input, .elfa-form--partner .elfa-form__input {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.elfa-form--popup .elfa-form__submit-wrap, .elfa-form--partner .elfa-form__submit-wrap {
  text-align: center;
  margin-top: 40px;
}

@media screen and (max-width: 550px) {
  .elfa-form--popup .elfa-form__submit-wrap, .elfa-form--partner .elfa-form__submit-wrap {
    margin-top: 20px;
  }
}

.elfa-form--popup .elfa-form__submit, .elfa-form--partner .elfa-form__submit {
  text-transform: none !important;
}

.elfa-form--block, .elfa-form--calculate {
  background-color: #f5f3f2;
}

@media screen and (max-width: 550px) {
  .elfa-form--block, .elfa-form--calculate {
    padding: 35px 20px 25px !important;
    margin: 0 -15px;
  }
}

.elfa-form--block.elfa-form--success, .elfa-form--calculate.elfa-form--success {
  padding-bottom: 0 !important;
}

.elfa-form--block .elfa-form__header, .elfa-form--calculate .elfa-form__header {
  color: #555;
  margin-bottom: 20px;
}

.elfa-form--block .elfa-form__element, .elfa-form--calculate .elfa-form__element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

@media screen and (max-width: 1200px) {
  .elfa-form--block .elfa-form__element, .elfa-form--calculate .elfa-form__element {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -10px;
  }
}

@media screen and (max-width: 550px) {
  .elfa-form--block .elfa-form__element, .elfa-form--calculate .elfa-form__element {
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.elfa-form--block .elfa-form__field, .elfa-form--calculate .elfa-form__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0 20px 0 0;
}

@media screen and (min-width: 551px) and (max-width: 1200px) {
  .elfa-form--block .elfa-form__field, .elfa-form--calculate .elfa-form__field {
    width: calc(50% - 20px);
    -webkit-box-flex: initial !important;
        -ms-flex: initial !important;
            flex: initial !important;
    margin: 0 10px 20px;
  }
}

@media screen and (max-width: 550px) {
  .elfa-form--block .elfa-form__field, .elfa-form--calculate .elfa-form__field {
    width: 100%;
    margin: 0 0 20px;
  }
}

.elfa-form--block .elfa-form__field--name, .elfa-form--calculate .elfa-form__field--name {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
}

.elfa-form--block .elfa-form__field--phone, .elfa-form--calculate .elfa-form__field--phone {
  -webkit-box-flex: 1.5;
      -ms-flex: 1.5;
          flex: 1.5;
}

.elfa-form--block .elfa-form__field--city, .elfa-form--calculate .elfa-form__field--city {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
}

.elfa-form--block .elfa-form__label, .elfa-form--calculate .elfa-form__label {
  text-align: left;
  margin-bottom: 5px;
}

.elfa-form--block .elfa-form__submit-wrap, .elfa-form--calculate .elfa-form__submit-wrap {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: left;
}

@media screen and (min-width: 551px) and (max-width: 1200px) {
  .elfa-form--block .elfa-form__submit-wrap, .elfa-form--calculate .elfa-form__submit-wrap {
    width: calc(50% - 20px);
    margin: 0 10px 20px;
    -webkit-box-flex: initial !important;
        -ms-flex: initial !important;
            flex: initial !important;
  }
}

@media screen and (max-width: 550px) {
  .elfa-form--block .elfa-form__submit-wrap, .elfa-form--calculate .elfa-form__submit-wrap {
    width: 100%;
    margin: 0 0 20px;
  }
}

.elfa-form--block .elfa-form__submit, .elfa-form--calculate .elfa-form__submit {
  font-size: 13px;
  margin: 0;
  padding: 8px 25px 6px;
}

.elfa-form--block {
  padding: 35px 25px 60px;
}

.elfa-form--calculate {
  padding: 35px 25px;
}

@media screen and (max-width: 1200px) and (min-width: 551px) {
  .elfa-form--calculate {
    padding-bottom: 10px;
  }
}

.elfa-form--calculate .elfa-form__element {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.elfa-form--calculate .elfa-form__field--file {
  width: 100%;
  margin-top: 15px;
  -webkit-box-ordinal-group: 11;
      -ms-flex-order: 10;
          order: 10;
}

.elfa-form--calculate .elfa-form__field-file {
  max-width: 100%;
  position: relative;
  padding-left: 25px;
}

.elfa-form--calculate .elfa-form__field-file::before {
  display: block;
  content: '';
  width: 16px;
  height: 8px;
  background: url("/upload/images/svg/upload.svg") no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.elfa-form--calculate .elfa-form__field-file input {
  font-size: 0;
  line-height: 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.elfa-form--calculate .elfa-form__file-label {
  font-size: 13px;
  line-height: 15px;
  color: #c94d53;
  border-bottom: 1px dashed #c94d53;
  word-wrap: break-word;
}

.elfa-form--certificate {
	padding: 35px 0 60px;
}
.elfa-form--certificate .elfa-form__element {
	flex-wrap: wrap;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.elfa-form--certificate .elfa-form__field {
	width: 30%;
	min-width: 290px;
	margin-bottom: 20px;
}

@media screen and (max-width: 550px) {
  .elfa-form--calculate .elfa-form__submit-wrap {
    -webkit-box-ordinal-group: 12;
        -ms-flex-order: 11;
            order: 11;
    margin-top: 10px;
  }
}