.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  outline: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}
.modal.fade.in {
  opacity: 1;
}
.modal.fade .modal-dialog {
  transform: translate(0, 0);
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  transform: translate(0, 0);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.fade {
  transition: opacity 0.15s linear;
  opacity: 0;
}
.modal-backdrop.in {
  opacity: 0.5;
  opacity: 1;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

/*
*/
.modal-dialog {
  min-height: 100%;
  display: flex;
  align-items: center;
  max-width: 992px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100% - 10rem);
  margin: 5.0rem auto;
  pointer-events: none;
}

.modal-content {
  flex: 1 0 0;
  background-color: #fff;
  color: #000000;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  outline: 0;
  pointer-events: auto;
  position: relative;

  min-height: calc(100% - 10rem);
}

/*
*/
.modal-dialog {
  margin-left: 1rem;
  margin-right: 1rem;
  max-width: 780px;
}
@media (min-width: 768px) {
  .modal-dialog {
    margin-left: auto;
    margin-right: auto;
  }
}

.modal-close{
  width: 45px;
  height: 45px;
  border: solid 1px #000;
  color: #fff;
  cursor: pointer;
  border-radius: 0;
  background-color: #000;
  position: absolute;
  top: -45px;
  right: 0;

}
.modal-close-line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 60%;
  height: 3px;
  margin: auto;
  background-color: #fff;
  border-radius: 2px;
}
.modal-close-line:nth-child(1){
  transform: rotateZ(45deg);
}
.modal-close-line:nth-child(2){
  transform: rotateZ(-45deg);
}