@charset "utf-8";

/* modal */
/* .ws-modal-open,
.ws-modal-open body { overflow: hidden; } */

.ws-modal-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; height: 100%; overflow: hidden; background: rgba(0,0,0,.7); opacity: 0; transition: opacity 0.25s ease;}
.ws-modal-wrap.ws-modal-visible { opacity: 1; }
.ws-modal-wrap.ws-modal-leave { opacity: 0; }

.ws-modal-outer {position:relative; flex:0 0 auto; width:100%; max-height:100%; padding:20px; overflow:auto; -ms-overflow-style:none;/* IE and Edge */ scrollbar-width:none;/* Firefox */}
.ws-modal-outer::webkit-scrollbar {display:none;}

.ws-modal-inner { position: relative; width: 100%; max-width: 720px; margin: 0 auto; background: #fff; overflow: hidden; opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s; padding: 20px; padding-bottom: 30px; }
.ws-modal-wrap.ws-modal-visible .ws-modal-inner { opacity: 1; transform: scale(1); }
.ws-modal-wrap.ws-modal-leave .ws-modal-inner { opacity: 0; transform: scale(0.85); transition-delay: 0s; }
.ws-modal-close { display: inline-block; width: 14px; height: 14px; background: url(../images/sub/modal-close.png) center no-repeat; background-size: contain; border: none; }

.ws-modal-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.ws-modal-head h2 { font-size: var(--font-size28); font-weight: 600; color: #2c2c2c; line-height: 1.5em; }
.ws-modal-head h2 span { padding-left: 10px; font-size: var(--font-size18); font-weight: 600; line-height: 1.77em; color: #ccc; display: inline-block; }
.ws-modal-cont .thumb { padding-bottom: 70%; display: block; position: relative; overflow: hidden; }
.ws-modal-cont .thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-modal-cont .tt { margin: 20px 0 10px; line-height: 1.5em; font-weight: 600; color: #a8a8a8; }
.ws-modal-cont .txt { font-size: var(--font-size20); line-height: 1.7em; color: #676767; }

/* 반응형 */
@media (max-width: 1024px) {
    .ws-modal-close { width: 26px; height: 26px; top: 10px; right: 10px; }
    .ws-modal-inner { padding: 25px 15px; border-radius: 5px; }
    .ws-header { padding-bottom: 15px; }
    .detail-prev, .detail-next { width: 11px; height: 19px; }
    .detail-prev { left: 10px; }
    .detail-next { right: 10px; }
}
@media (max-width: 640px) {
    .ws-donate-card { flex: 1 1 100%; }
    .ws-donate-card-tit { font-size: 15px; }
}
@media (max-width: 420px) {
    .ws-process .col { width: 100%;}
}