/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', Arial;
    font-weight: 500;
    letter-spacing: -0.05em;
}

html {
    font-family: SpoqaHanSansNeo, Arial;
    font-weight: 500;
    font-size: 62.5%;
    line-height: 1.41;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

strong {
    font-weight: 700;
}

.not-strong {
    font-weight: 500;
}

h1 {
    font-size: 3rem;
    line-height: 1.46;
    color: var(--h3-txt, #333333);
}

h2 {
    font-size: 2.4rem;
    line-height: 1;
    color: var(--complete-box-txt, #222222);
}

h3 {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--h3-txt, #333333);
}

a:active {
    -webkit-tap-highlight-color: transparent;
}

input[type=button] {
    -webkit-appearance: none;
    -webkit-border-radius: 2px;
}

input:autofill {
    background: var(--login-input-bg, rgba(255,255,255,.3));
}

input:-webkit-autofill {
    background: var(--login-input-bg, rgba(255,255,255,.3));
}

img {
    max-width: 100%;
}

:root {
    --bg-color: #222429;
    --primary-bg-color: #333740;
    --primary-color: #2c62f6;
    --text-color: #b1b8ca;
    --text-active: #ffffff;
    --button-hover-bg-color: #2b2e34;
    --border-color: #494d59;
    --dropdown-height: 0;
    --rotate-arrow: 0;
    --translate-value: 0;
    --list-opacity: 0;
    --transition-time: 0.4s;
    --transition-timing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 1.4rem;
    --list-button-height: 4rem;
    --floating-icon-size: 26;
    --floating-icon-top: 0;
    --floating-icon-left: 0;
}

/* input box */
.input-distance-box {
    margin-bottom: 3rem;
}

.input-distance-box input:last-child {
    margin-bottom: 0;
}

.cmmn-input-form {
    margin-top: 0;
    padding: 2rem 1.6rem;
}

.cmmn-input-form.new-design {
    padding-top: 1.6rem;
}

.cmmn-input-form label {
    margin-bottom: 6px;
    font-size: 1.4rem;
    line-height: 1.9rem;
    display: inline-block;
    color: var(--txt-color-555, #555555);
}

.cmmn-input-form input {
    width: 100%;
    height: 5.2rem;
    line-height: normal;
    padding: 0 2rem 0;
    background: #EEF1F7;
    border-radius: .8rem;
    font-size: 1.4rem;
    margin-bottom: .6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.56px;
    border: 0;
}

.cmmn-input-form input::placeholder {
    color: var(--input-placeholder-color, rgba(187, 187, 187, 0.9));
    font-weight: 400;
}

.cmmn-input-form input[type=password] {
    margin-bottom: 8px;
}

.cmmn-input-form input[type=password][data-confirm=false] {
    border: 1px solid rgba(221, 21, 21, 0.67);
}

.cmmn-input-form input[type=password][data-confirm=false]::placeholder {
    color: rgba(221, 21, 21, 0.67);
}

.cmmn-password-input-confirm.mgb-8 {
    margin-bottom: 8px;
}

.cmmn-password-input-confirm {
    position: relative;
    margin-bottom: 24px;
}

.cmmn-password-input-confirm input[type=password] {
    margin-bottom: 0;
}

.cmmn-password-input-confirm.falsed input[type=password] {
    padding-left: 36px;
}

.cmmn-password-input-confirm.falsed::after {
    content: url(/images/icon/red-exclamation.svg);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    width: 14px;
    height: 14px;
}

.cmmn-input-form input[type=submit] {
    color: var(--login-submit-txt, #FFFFFF);
    background: var(--input-submit-bg, #00D282);
    border: 0;
    margin-bottom: 0;
}

.cmmn-input-form .submitBtn {
    color: var(--login-submit-txt, #FFFFFF);
    background: #5B88FA;
    border: 0;
    margin-bottom: 0;
    text-align: center;
    border-radius: .8rem;
    box-shadow: 0px 5px 12px 0px rgba(102, 144, 252, 0.30);
}

.input-shape-box {
    width: 100%;
    height: 5.2rem;
    line-height: 5.2rem;
    padding: 0 1rem 0 2rem;
    background: var(--login-input-bg, rgba(255,255,255,.3));
    border: 1px solid rgba(199, 199, 199, 0.3);
    border-radius: .8rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-shape-box span {
    color: var(--menu-list-txt, #444444);
}

.input-shape-box hr {
    height: 32px;
    border: 1px solid #EFEFEF;
    margin: 0 20px 0 10px;
    width: 0px;
    background-color: #EFEFEF;
}

.input-shape-box button {
    width: calc(100%/3);
    height: 32px;
    line-height: 32px;
    border: 0;
    background: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 31px;
    position: relative;
    font-size: 1.4rem;
    color: var(--menu-list-txt, #444444);
}

.input-shape-box button:first-child {
    padding-left: 0;
    margin-left: 0;
}

.input-shape-box button::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    background: url(/images/icon/select-btn-arrow.svg) center no-repeat;
}

.input-shape-box button::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -11px;
    width: 1px;
    height: 32px;
    background-color: #efefef;
}

.input-shape-box.full-contain button {
    width: 100%;
    color: var(--input-placeholder-color, rgba(187, 187, 187, 0.9));
}

.radio-box {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    gap: .6rem
}

.radio-box input[type=radio] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin-bottom: 0px;
    visibility: hidden;
    top: 0;
    left: 0;
}

.radio-box label {
    margin-bottom: 0;
    border: 1px solid #B4B8C1;
    border-radius: .8rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #B4B8C1;
    width: 100%;
    height: 5.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: normal;
    flex: 1;
}

.radio-box input[type=radio]:checked + label {
    color: #FFF;
    background: #6690FC;
    border-color: #6690FC;
}

.email-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.email-box.new-design {
    margin-bottom: 3rem;
}

.email-box p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 18px;
    color: var(--menu-list-txt, #444444);
    margin: 0 8px;
}

.email-box input[type=text] {
    max-width: 132px;
    margin-bottom: 0;
}

.email-box button {
    background: #FFFFFF;
    border: 1px solid rgba(199, 199, 199, 0.3);
    border-radius: .8rem;
    width: 100%;
    height: 5.2rem;
    text-align: left;
    padding: 0 2rem;
    position: relative;
    color: var(--input-placeholder-color, rgba(187, 187, 187, 0.9));
    font-size: 1.4rem;
}

.email-box button::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: url(/images/icon/select-btn-arrow.svg) center no-repeat;
}

button.txt-recolor {
    color: var(--menu-list-txt, #444444) !important;
}

.email-box ul li {
    line-height: 48px;
    font-size: 1.4rem;
}

.email-box p + input[type=text] {
    max-width: none;
}

.servant-tel-box {
    display: none;
}

.student-private-box {
    margin-bottom: 3rem;
}

.student-private-box[data-view=hidden] {
    display: none;
}

.student-private-box[data-view=show] {
    display: block;
}

.student-private-box[data-view=hidden] + input[type=submit] {
    transform: translateY(-16px);
}

.radio-box.challenge-radio label {
    flex-direction: column;
    height: auto;
    padding: 1.7rem;
    align-items: flex-start;
    color: var(--1, #535353);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.56px;
}

.radio-box.challenge-radio label span {
    margin-top: .6rem;
    color: var(--2, #B4B8C1);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.48px;
}

.radio-box.challenge-radio input[type=radio]:checked + label span {
    color: #fff;
}

/* custom select box */
.select-custom-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 10;
}

.select-custom-container.open {
    display: block;
}

.select-custom-box {
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    flex-flow: column;
    width: 300px;
    margin: 0;
    padding: 0;
    background: #F7F7F7;
    list-style: none;
    transform: translate(-50%, -50%);
    transition: display 0s, opacity 0.25s ease-out;
    max-height: 90%;
    overflow-x: hidden;
    overflow-y: auto;
}

.select-item {
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.15s 0s ease-in-out;
}

/* sort */
.sort-box {
    margin-bottom: 16px;
}

.sort-box button {
    border: 0;
    background: transparent;
    position: relative;
    font-size: 13px;
    color: var(--sort-btn-txt, #444444);
}

.sort-box button::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    top: 50%;
    transform: translateY(-50%);
    right: -14px;
    background: url(/images/icon/sort-arrow-icon.svg) center no-repeat;
}

.sort-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 10;
}

.sort-container.open {
    display: block;
}

.sort-item-box {
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    flex-flow: column;
    width: 300px;
    margin: 0;
    padding: 0;
    background: #F7F7F7;
    list-style: none;
    transform: translate(-50%, -50%);
    transition: display 0s, opacity 0.25s ease-out;
    max-height: 90%;
    overflow-x: hidden;
    overflow-y: auto;
}

.sort-item {
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.15s 0s ease-in-out;
    line-height: 48px;
    font-size: 1.4rem;
}

/* sort select */
.sort-select select {
}

.challenge-select * {
    box-sizing: border-box;
}

.challenge-select {
    position: relative;
    width: 15rem;
    height: 2rem;
    background: url('/images/new/challenge/select-btn.svg') calc(100%) center no-repeat;
    background-size: 2rem;
    cursor: pointer;
    text-align: right;
}

.challenge-select .label {
    display: flex;
    align-items: center;
    width: inherit;
    height: inherit;
    border: 0 none;
    outline: 0 none;
    padding-left: 15px;
    background: transparent;
    cursor: pointer;
    justify-content: flex-end;
    padding-right: 2.4rem;
    color: #535353;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.48px;
}

.challenge-select .optionList {
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    background: white;
    color: #535353;
    list-style-type: none;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    max-height: 0;
    transition: .3s ease-in;
}

.challenge-select.active .optionList {
    max-height: 500px;
    z-index: 999;
    border: 1px solid #53535D;
}

.challenge-select .optionItem {
    border-bottom: 1px dashed #53535D;
    padding: 5px 15px 5px;
}

.challenge-select .optionItem:last-child {
    border-bottom: 0 none;
}

/* 스크롤 커스텀 */
.challenge-select .optionList::-webkit-scrollbar {
    width: 6px;
}

.challenge-select .optionList::-webkit-scrollbar-track {
    background: transparent;
}

.challenge-select .optionList::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 45px;
}

.challenge-select .optionList::-webkit-scrollbar-thumb:hover {
    background: #303030;
}

/* pagination */
.pagination-wrap {
    margin: 3.9rem auto 4rem;
}

.pagination-wrap .paginationjs-pages ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrap .paginationjs-pages ul li {
    border: 1px solid #E5E6E8;
}

.pagination-wrap .paginationjs-pages ul li:not(first-child) {
    margin-left: -1px;
}

.pagination-wrap .paginationjs-pages ul li.active {
    border-color: #6690FC;
}

.pagination-wrap .paginationjs-pages ul li.active a {
    background: #6690FC;
    color: #fff;
}

.pagination-wrap .paginationjs-pages ul li a {
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: normal;
}

.pagination-wrap .paginationjs-pages ul li a span.icon {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: normal;
    color: #1D1B20;
}

.pagination-wrap.white-color .paginationjs-pages ul li a {
    background: #FFF;
}

.pagination-wrap.white-color .paginationjs-pages ul li.active {
    border-color: #6690FC;
}

.pagination-wrap.white-color .paginationjs-pages ul li.active a {
    background: #6690FC;
    color: #fff;
}

/* tab contents */
.tab-menu {
    margin-bottom: 56px;
}

.tab-menu ul {
    display: flex;
}

.tab-menu ul li {
    margin-right: 8px;
    font-size: 1.5rem;
    border: 1px solid rgba(191, 190, 198, 0.24);
    padding: 0 20px;
    border-radius: 28px;
    line-height: 36px;
    height: 36px;
    background: var(--bg-white, #FFFFFF);
}

.tab-menu ul li:first-child {
    padding: 0 27px;
}

.tab-menu ul li.active {
    background: var(--tab-menu-active-bg, #00D282);
    border: 1px solid #00D282;
    box-shadow: 4px 4px 10px rgba(70, 197, 144, 0.28);
}

.tab-menu ul li a {
    text-decoration: none;
    color: var(--tab-menu-default, #BFBEC6);
}

.tab-menu ul li.active a {
    color: var(--tab-menu-active, #FFFFFF);
}

.tab-menu ul li a:active {
    background: transparent;
    border: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.tab-box-inner {
    background: var(--bg-white, #FFFFFF);
    z-index: 1;
}

.tab-item.program {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 10px;
    margin-bottom: 35px;
}

.tab-item-box.illu-program .tab-box-inner {
    background: transparent;
}

.tab-item.program .card-box {
    padding: 6px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.tab-item.program .card-box:nth-child(even) {
    transform: translateY(28px);
}

.tab-item.program .card-box .card-img {
    margin-bottom: 16px;
}

.tab-item.program .card-box .card-img img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}

.tab-item.program .program-card-title {
    padding: 0 10px;
}

.tab-item.program .program-card-title p {
    font-size: 1.6rem;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 10px;
    color: var(--h3-txt, #333333);
}

.tab-item.program .program-content-txt {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.44;
    color: var(--card-gallery-content-txt, #888888);
    padding: 0 10px;
    max-height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.tab-item.program .program-card-sort {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.44;
    color: var(--card-gallery-content-txt, #888888);
    padding: 0 10px;
    max-height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.card-sort-title {
    display: inline-block;
    min-width: 30px;
}

.tab-item.program .program-card-time {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 23px;
    background: var(--gallery-time-box, #3F97FF);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white, #FFFFFF);
    font-size: 1.2rem;
    line-height: 1;
    font-family: 500;
    border-radius: 13px 0px 2px;
}

.tab-item[data-tab-tab-item="tab-item2"] {
    margin-bottom: 63px;
}

/* go to top btn */
.contents-bottom {
    padding: 0 28px;
    margin-bottom: 35px;
}

.contents-bottom footer {
    text-align: center;
}

.contents-bottom footer button {
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--go-top-txt, #545454);
}

.contents-bottom footer button img {
    margin-right: 5px;
}

.contents-bottom footer .hr {
    display: block;
    border-top: 1px solid rgba(230, 230, 230, 0.31);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* modal */
.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    top: 0;
    left: 0;
    display: none;
    padding: 2em !important;
    z-index: 2000;
}

.modal-content {
    min-width: 150px;
    width: 100%;
    background: #FFF;
    border-radius: 4px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
}

.modal-hd {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 7px;
}

.modal-hd .logo-img {
    position: absolute;
    top: -73px;
    background: #FFF;
    border-radius: 41px;
    width: 82px;
    height: 82px;
    left: 50%;
    transform: translateX(-50%);
}

.modal-closed-btn {
    border: 0;
    background: transparent;
    display: flex;
}

.program-modal-txt .title h3 {
    position: relative;
    text-align: center;
    line-height: 1.45;
    display: flex;
    justify-content: center;
}

.program-modal-txt.another-color .title h3 {
    color: var(--complete-box-txt, #222222);
}

.program-modal-txt .title h3 .txt-under-bg {
    left: 50%;
    transform: translateX(-50%);
    height: 12px;
}

.modal-btn-box {
    display: flex;
    gap: 8px;
    margin-top: 28px;
}

.modal-btn-box button {
    width: 100%;
    height: 46px;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--radio-btn-txt, #787878);
    border-radius: 2px;
}

.modal-btn-box button.regist-btn {
    background: #6690FC;
    color: var(--white-txt, #FFFFFF);
}

.modal-btn-box button.cancle-btn {
    border: 1px solid rgba(199, 199, 199, 0.3);
}

.modal-main {
    margin-top: 20px;
}

.modal-main + .modal-btn-box {
    margin-top: 9px;
}

.modal-main .cmmn-input-form {
    padding: 0;
}

.modal-main .cmmn-input-form input[type=password]:last-child {
    margin-bottom: 0;
}

.mgt-15 {
    margin-top: 15px;
}

.modal-body .title h3 {
    line-height: 1.3;
    font-size: 1.4rem;
    font-weight: 400;
    white-space: pre-wrap;
}

/* user modal */
.usr-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    top: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usr-modal-content {
    background: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding: 1.4rem;
    border-radius: 0.8rem;
}

.usr-modal-hd {
    padding: 1rem 0 .8rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.64px;
    text-align: center;
}

.usr-modal-bd {
    margin-bottom: 2rem;
}

.usr-modal-bd p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.56px;
    text-align: center;
}

.usr-modal-ft .bt-btn-box {
    display: flex;
    gap: .4rem;
}

.usr-modal-ft .bt-btn-box button {
    display: flex;
    padding: 1.2rem 1.2rem 1.1rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.56px;
    min-width: 9.4rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .8rem;
}

.usr-modal-ft .bt-btn-box button.closed-btn {
    background: #CBD9FF;
    color: #5B88FA;
}

.usr-modal-ft .bt-btn-box button.del-btn {
    background: #6690FC;
    color: #FFF;
}

/* rating */
.radio-stars {
    display: inline-block;
    position: relative;
    unicode-bidi: bidi-override;
    direction: rtl;
    counter-reset: star-rating;
    font-size: 0;
}

.radio-stars label:last-child {
    padding-left: 0;
}

.radio-star {
    display: inline-block;
    overflow: hidden;
    padding: 0 1px;
    width: 1.2rem;
    direction: ltr;
    white-space: nowrap;
}

/* .radio-star::before {content: url(/images/icon/rate-unchecked.svg);} */
.radio-star::before {
    content: url(/images/new/mypage/star.svg);
}

.radio-stars input:checked ~ .radio-star {
    counter-increment: star-rating;
}

.radio-stars input:checked ~ .radio-star::before {
    content: url(/images/new/mypage/star_active.svg);
}

.radio-stars input[type=radio] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
