@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; border-radius: 16px; overflow: hidden; opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s; }
.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; }

/* 강사정보 확인 */
.tc-header { display: flex; align-items: center; justify-content: space-between; padding: 34px 40px; border-bottom: 1px solid #eee;}
.tc-title { font-size: var(--font-size28); font-weight: 800; color: #2c2c2c; line-height: 1.5em;}
.ws-modal-close { display: inline-block; width: 14px; height: 14px; background-size: contain; background: url(../images/sub/fancy-close.png) center no-repeat; border: none; }
.tc-detail { padding: 50px 40px; }
.tc-detail .fx { display: flex; margin-bottom: 35px; }
.tc-detail .fx .image { width: 169px; margin-right: 12px; }
.tc-detail .fx .image>div { border-radius: 8px; position: relative; padding-bottom: 128%; display: block; overflow: hidden; }
.tc-detail .fx .image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-detail .fx .info { flex: 1 1 auto; min-width: 0; width: 1%; background: #f8f8f8; padding: 30px; border-radius: 8px; }
.tc-detail .fx .info ul li { display: flex; color: #2c2c2c; margin-bottom: 20px; }
.tc-detail .fx .info ul li:last-child { margin-bottom: 0; }
.tc-detail .fx .info ul li .tt { width: 100px; font-weight: 700; color: #676767; }
.tc-detail .fx .info ul li .txt { flex: 1 1 auto; min-width: 0; width: 1%; word-break: break-all;}
.tc-detail .tc-btn { width: 117px; height: 54px; display: flex; align-items: center; justify-content: center; line-height: 1em; border-radius: 27px; background: var(--color-primary); font-size: var(--font-size18); font-weight: 800; box-shadow: -4px -4px 0 0 rgba(0, 0, 0, 0.20) inset; color: #fff; margin: auto; }

/* 반응형 */
@media (max-width: 720px) {
    .ws-modal-outer { padding: 15px;}
    .tc-header { padding: 20px 15px; padding-bottom: 17px; }
    .tc-detail { padding: 20px 15px; padding-bottom: 40px; }
    .tc-detail .fx .info { padding: 25px 15px;}
    .tc-detail .fx .info ul li { margin-bottom: 14px; }
    .tc-detail .fx .info ul li .tt { width: 80px; }
    .tc-detail .tc-btn { width: 100px; height: 40px;}
}
@media (max-width: 500px) {
    .tc-detail .fx { display: block; }
    .tc-detail .fx .image { width: 169px; margin: auto; }
    .tc-detail .fx .info { width: 100%; margin-top: 20px; }
}