.blocker {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  overflow: auto;
  z-index: 99998;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.75);
  text-align: center;
}
.blocker:before{
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}
.blocker.behind {
  background-color: transparent;
}
.modal {
  display: none;
  vertical-align: middle;
  position: relative;
  z-index: 99999;
  max-width: 500px;
  box-sizing: border-box;
  width: 90%;
  background: #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  -ms-border-radius: 8px;
  border-radius: 1.2rem;
  -webkit-box-shadow: 0 0 10px #000;
  -moz-box-shadow: 0 0 10px #000;
  -o-box-shadow: 0 0 10px #000;
  -ms-box-shadow: 0 0 10px #000;
  box-shadow: 0 0 10px #000;
  text-align: left;
  overflow: hidden;
}

.modal a.close-modal {
  position: absolute;
  top: 1.8rem;
  right: 2.4rem;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  text-indent: -9999px;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-image: url('/images/common/ico_close.svg');
  background-color: #fff;
}

.modal-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 12px 16px;
  border-radius: 5px;
  background-color: #111;
  height: 20px;
}

.modal-spinner > div {
  border-radius: 100px;
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 0 1px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.modal-spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.modal-spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.5) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

.modal.large {
  max-width: 700px;
}

.modal.xlarge {
  max-width: 1000px;
}

.modal-header {
  background: var(--color-secondary-70);
  padding: 1.6rem 4.8rem 1.6rem 2.4rem ;
  color: #fff;
  font-weight: 500;
  font-size: 1.9rem;
  display: flex;
  gap: 0.4rem 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.modal-body {
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-body .tbl-wrap {
  overflow: unset;
}

@media screen and (max-width: 1023px) {
	.modal-header {
		padding: 1.2rem 4.8rem 1.2rem 1.6rem ;
	}
	
    .modal-body {
    	padding: 1.6rem;
    }
    
    .modal a.close-modal {
    	top: 1.4rem;
    	right: 1.6rem;
    }
}