.modal {
  display: none;
  height: 100%;
  width: 100%;
  min-width: 320px;
  position: fixed;
  z-index: 10005;
  top: 0;
  left: 0;
}

@media screen and (min-width: 1024px) {
  .modal {
    display: none !important;
  }
}

.modal__bg {
  height: 100%;
  width: 100%;
  min-width: 320px;
  position: fixed;
  z-index: 10100;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: fixed;
  z-index: 10200;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  min-width: 240px;
  -webkit-box-shadow: 0 3px 24px rgba(28, 47, 52, 0.27);
          box-shadow: 0 3px 24px rgba(28, 47, 52, 0.27);
  border-radius: 3px;
  overflow: hidden;
  background-color: #ffffff;
}

@media screen and (max-width: 320px) {
  .modal__box {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
}

.modal__head {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 100%;
  background-color: #1c2d4f;
  min-height: 70px;
  text-align: center;
  padding: 21px 40px;
}

.modal__body {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 100%;
  overflow: auto;
}

.modal__title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.modal__close {
  height: 40px;
  width: 40px;
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  cursor: pointer;
}

.modal__close:before, .modal__close:after {
  content: '';
  display: block;
  height: 3px;
  width: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
}

.modal__close:before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
/*# sourceMappingURL=modal.css.map */