@charset "UTF-8";

/* detail.css / 상세페이지 css */

/* 변경된 서브페이지 header 디자인 */

header {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid #ccc;
}

header nav ul.gnb>li>a {
    color: rgb(0, 0, 0);
}

header nav ul.gnb>li>a:hover {
    color: #234092;
}

/* 상세페이지 css 시작 */
section.container {
    width: 1200px;
    margin: 150px auto 140px;
}

article.top {
    /* padding-bottom: 40px; */
    margin-bottom: 40px;


    position: relative;
    /* background-color: tomato; */
}

article.top .thumbnail {
    width: 60%;
    border-radius: 16px;
    overflow: hidden;


}

article.top .thumbnail img {
    width: 100%;
}

article.top .info-box {
    /* outline: 2px solid plum; */
    width: 40%;
    padding-left: 4%;
    box-sizing: border-box;
    font-family: "Noto Sans KR", sans-serif;

    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

article.top .info-box .title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #222;
}

article.top .info-box .title span {
    display: block;
}
article.top .info-box .title span.category {
    font-weight: 500;
    font-size: 1.125rem;
    color: #3887C9;
    text-indent: 2px;
}


article.top .info-box .des {
    margin-bottom: 80px;
}

article.top .info-box .des p:first-child {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}
article.top .info-box .des p:last-child {
    font-size: 1rem;
    color: #555;
}

article.top .info-box .btn {}

article.top .info-box .btn a {
    background-color: #3887C9;
    color: #fff;
    display: inline-block;
    padding: 14px 40px;
    font-size: 1.125rem;
    border-radius: 6px;
}

article.content {
    width: 100%;
    border-top: 1px solid #ccc;
    padding-top: 40px;
}

article.content ul li {
    width: 100%;
}

article.content ul li img {
    width: 100%;
}


/* 수강상담 팝업 css */
#modal {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    left: 0;
    top: 0;

    z-index: 10000;

    display: none;
}

.popup {
    width: 36%;
    max-width: 500px;
    background-color: #234092;
    border-radius: 12px;
    overflow: hidden;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
}

.popup .cont {
    padding: 40px;

    background-color: rgb(255, 255, 255);
    color: #333;
}

.popup .cont p:first-child {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.popup .cont p:last-child {
    font-size: 1.125rem;
    color: #444;
}
.popup .cont p:last-child span {
    font-weight: 500;
}

.popup .cont p strong {
    font-weight: 700;
}

.popup .close {
    background-color: transparent;
    border: none;
    font-size: 1.125rem;
    color: rgb(255, 255, 255);
    width: 100%;

    padding: 15px 0;
    cursor: pointer;
}