.modal-window-wrap {
  overflow: auto;
  position: fixed;
  top: 0;
  height: 100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 500;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.modal-window-wrap:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0;
}

.modal-window {
  margin: 80px 70px 40px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.modal-window-header {
  background: #de3328;
  color: #fff;
  font-size: 18px;
  padding: 10px 30px;
  position: relative;
}

.modal-window-close {
  display: block;
  position: absolute;
  cursor: pointer;
  width: 40px;
  height: 40px;
  right: -38px;
  top: -38px;
  background: transparent;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.modal-window-close:after,
.modal-window-close:before {
  position: absolute;
  content: "";
  width: 2px;
  height: 16px;
  background: #fff;
  top: 50%;
  left: 50%;
  margin: -5px 0 0 -5px;
}

.specialModal .modal-window-close {
  right: 0px;
  width: 10px;
  top: -30px;
  margin-right: 16px;
}
.specialModal .modal-window-close:after, .specialModal .modal-window-close:before {
  background: #fff;
  margin: -16px 0 0 -1px;
}

.modal-window-close:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.modal-window-close:before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.modal-window-close:hover:after,
.modal-window-close:hover:before {
  background: #3b5f92;
}

.modal-window-body {
  position: relative;
  white-space: normal;
  border-bottom: 2px solid #fff;
  border-top: solid 5px #3b5f92;
  border-radius: 2px;
}

.modal-window-body.loading {
  padding: 15px;
  height: 110px;
}

.modal {
  background: #fff;
  width: 580px;
  color: #333;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.modal-title {
  font-size: 24px;
  text-align: center;
  padding: 38px 40px 20px;
  font-weight: bold;
}
.modal-cnt {
  padding: 16px 60px 40px;
}
.modal-cnt > div {
  margin-bottom: 30px;
}
.modal-cnt.nomargin > div.form {
  margin-top: 0 !important;
}
.modal-cnt .ob-form-inputs label + label {
  margin-top: 30px;
}
.modal .btn2 {
  display: table;
  margin: 20px auto 0;
}
.modal .form {
  background: #fff;
  margin-top: 40px;
}
.modal .form-title {
  margin-bottom: 27px;
  text-align: center;
  font-size: 24px;
}
.modal .form-col {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.modal .form-col .form-col {
  margin-top: 15px;
}
.modal .form-col > div {
  display: table-cell;
  vertical-align: top;
  width: 50%;
  padding-right: 10px;
}
.modal .form-col > div + div {
  padding: 0 0 0 10px;
}
.modal .form-offer {
  text-align: center;
  margin-top: 20px;
}
.modal .form-offer a {
  color: #ffffff;
}
.modal .form-btn {
  margin-top: 20px;
  text-align: center;
}
.modal .form label {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  margin-top: 15px;
}
.modal .form label > span {
  display: block;
  margin-bottom: 5px;
}
.modal .form input,
.modal .form textarea {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 19px 11px;
  border-radius: 3px;
}
.modal .form textarea {
  height: 132px;
  resize: none;
}
.modal .form .check {
  width: 15px;
  height: 15px;
  display: block;
}
.modal .form .check input {
  display: none;
}
.modal .form .check input:checked + i:after {
  opacity: 1;
}
.modal .form .check i {
  display: block;
  width: 15px;
  height: 15px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 1px #cacaca;
  position: relative;
}
.modal .form .check i:hover {
  border: solid 1px #3b5f92;
}
.modal .form .check i:after {
  position: absolute;
  content: "";
  border-right: solid 2px #333;
  border-bottom: solid 2px #333;
  left: 4px;
  top: 1px;
  height: 7px;
  width: 4px;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.modal .form .ob-check {
  line-height: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.modal .form .ob-check label {
  margin-right: 20px;
  width: auto;
}
.modal .form .ob-check label:after {
  clear: both;
  content: "";
  display: table;
}
.modal .form .ob-check label .check {
  float: left;
  margin-right: 10px;
}
.modal .form .ob-check label .check-title {
  overflow: hidden;
  font-size: 16px;
  white-space: nowrap;
}
.modal .btn-group {
  display: flex;
  align-items: center;
  margin: 0 -10px;
  flex-wrap: wrap;
}
.modal .btn-group > div {
  margin: 10px;
  min-width: 180px;
}

.address {
  display: none;
}

@media screen and (max-width: 768px) {
  .modal-window-close {
    right: -11px !important;
  }

  .modal {
    width: 440px;
  }

  .modal-window {
    margin: 40px 10px 20px !important;
  }

  .modal-cnt {
    padding: 15px 20px 20px;
  }
}
@media screen and (max-width: 480px) {
  .modal {
    width: 280px;
  }

  .modal-city-select > div {
    width: 100%;
  }
  .modal-city-select > div a {
    text-decoration: underline;
  }
  .modal-city-select > div a:hover {
    text-decoration: none;
  }

  .modal-title {
    padding: 20px;
    font-size: 24px;
  }
}

/*# sourceMappingURL=modalWindow.css.map */
