.mask_background {
  position: absolute; left: 0; top: 0; z-index: 10;
  background-color:rgba(0,0,0, 0.8);
  width: 100%; height: 100%;
}
.modal {
  position: fixed; left:0; top:0; z-index: 10;
  width: 100%; height: 100%;
  transform: scale(0);
}
.modal .modal-bg {
  position: relative;
  display:flex; 
  align-items: center;  justify-content: center; 
  height: 100%;
  background: rgba(0, 0, 0, .8);
}
.modal .modal-bg .modal-cont {
  position:relative; z-index: 11;
  display: inline-block;
  padding: 1rem; max-width: 90%;
  background: var(--color-point); border-radius: var(--radius-8);
  overflow: hidden;
}
.modal .modal-bg .modal-cont .hed-ttl {
  display: flex;
  justify-content: flex-start; align-items: center;
  background-color: var(--color-point);
  width: 100%;
}
.modal .modal-bg .modal-cont .hed-ttl > h2 {
  font-weight: 600; line-height: 1.4;
  color: var(--color-white);
  padding-bottom: 0.5rem;
}
.modal .modal-bg .modal-cont .mod-cardbox {
  padding: 0;
}
.modal .modal-bg .modal-cont .mod-cardbox > p {
  font-weight: 400; line-height: 1.4;
  color: var(--color-white);
  word-break: keep-all;
}


.modal .modal-bg .modal-cont .Mdl-bt-1x {
  margin-top: 10px;
}
.modal .modal-bg .modal-cont .Mdl-bt-2x {
  display: flex;
  flex-direction: row;
}
.modal .modal-bg .modal-cont .Mdl-bt-2x > a.button {
  width: 50%;
  border-radius: 0;
  font-weight: 500; line-height: 19px;
}
.modal .modal-bg .modal-cont > a.button {
  width: 50%;
  border-radius: 0;
  font-weight: 500; line-height: 19px;
}

.modal .modal-bg .modal-cont .mod-cardbox {
  width: auto;
}


.modal.Tooltip .modal-bg .modal-cont,
.modal .modal-bg .modal-cont {
  width: calc(100% - 25px - 25px);
}
.modal.mmbrCrtf .modal-bg .modal-cont {
  width: 1080px; height: calc(100vh - 100px - 100px);
  background-color: var(--color-white);
  overflow: hidden;
}
.modal.mmbrCrtf .modal-bg .modal-cont .hed-ttl {
  position: relative;
  background-color: var(--color-white);
  width: calc(100% - 30px - 30px);
  padding-bottom: 16px;
  margin: 30px; margin-bottom: 0px;
  border-bottom: 2px solid var(--color-fonts);
}
.modal.mmbrCrtf .modal-bg .modal-cont .hed-ttl h2 {
  font-weight: 700;
  color: var(--color-fonts);
  padding-bottom: 0;
}
.modal.mmbrCrtf .modal-bg .modal-cont .hed-ttl .crtf-close {
  position: absolute; top: 50%; right: 0px;
  transform: translateY(-50%);
}
.modal.mmbrCrtf .modal-bg .modal-cont .hed-ttl .crtf-close > svg {
  fill: var(--color-fontGray)
}
.crtf-box {
  height: 535px;
  overflow-y: auto;
  margin: 30px;
}
.mmbrs-dtls-box {
  margin-top: 30px;
}
.mmbrs-dtls-box > strong {
  display: block;
  padding-bottom: 12px;
}
.mmbrs-dtls-box > table tr th {
  background-color: #F6F6F6;
  border: 1px solid var(--color-border-1);
  padding: 16px;
  font-size: var(--font-14);
  vertical-align: middle;
  text-align: left;
}
.mmbrs-dtls-box > table tr td {
  border: 1px solid var(--color-border-1);
  padding: 16px;
  font-size: var(--font-14);
  vertical-align: middle;
  text-align: left;
  word-break: keep-all;
}

.mmbrs-dtls-box > table tr th:first-child {
  border-left: 0px;
}
.mmbrs-dtls-box > table tr td:last-child {
  border-right: 0px;
}

.mmbrs-dtls-box > table tr td.right {
  text-align: right;
}


/**************************************************** animation style */
/********************************************* One */
.modal.one {
transform: scale(1);
}
.modal.one.out {
transform: scale(0);
}
.modal.one .modal-bg {
background: rgba(0,0,0, 0);
animation: none;
}



/**************************************************** 스크롤바 style css */
/* 스크롤바 설정*/
.crtf-box::-webkit-scrollbar {
  width: 8px;
  margin-top: 20px;
}
/* 스크롤바 막대 설정*/
.crtf-box::-webkit-scrollbar-thumb {
  background: rgba(96, 177, 7, 1); border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 4px;
}
/* 스크롤바 뒷 배경 설정*/
.crtf-box::-webkit-scrollbar-track {
  background-color: rgba(96, 177, 7, .15);
}


@media screen and (max-width: 990px) {
  .modal.Tooltip .modal-bg .modal-cont,
  .modal .modal-bg .modal-cont,
  .modal.mmbrCrtf .modal-bg .modal-cont {
    width: calc(430px - 24px - 24px);
  }
  .modal.mmbrCrtf .modal-bg .modal-cont .hed-ttl {
    width: 100%;
    margin: 0;
  }
  .modal.mmbrCrtf .modal-bg .modal-cont .hed-ttl h2.tx-28 {
    font-size: var(--font-18);
  }
  .crtf-box {
    height: 465px;
    overflow-y: auto;
    margin: 8px 0;
    width: 100%;
  }
}