/* 공통 */
img {
    vertical-align: top;
}

/* 사이드바(LNB) */
.sidebarWrap {
    border:none;
    border-radius: 0;
    overflow: inherit;
}
.sidebarWrap .sidebarCon {
    box-sizing: border-box;
    border-radius: 14px;
}
.sidebarWrap .sidebarCon.lnb {
    border: 1px solid var(--color-red);
}
.sidebarWrap .sidebarCon + .sidebarCon {
    margin-top: 1rem;
}
.sidebarWrap .side_tit_wrap {
    position: relative;
    padding: 1.75rem 0;
    width: 100%;
    border-radius: 14px 14px 0 0;
    background: #fdf5f4;
    text-align: center;
}
.sidebarWrap .side_tit_wrap .side_tit {
    padding: 0;
    display: inline-block;
    width: auto;
}
.sidebarWrap .side_tit_wrap .side_tit .item_info {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
    width: 18px;
    cursor: pointer;
}
.side_tit_info,
.side_depth_tit_info {
    display: none;
    position: absolute;
    left: 85%;
    top: 50%;
    transform: translateY(-50%);
    width: max-content;
    background: #fff;
    border: 1px solid #e94f56;
    border-radius: 30px;
    text-align: left;
    padding: 0.75rem 1.25rem;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    word-break: keep-all;
    line-height: 1.2;
    z-index: 10;
    /*min-width: 245px;*/
    box-sizing: border-box;
}
.side_tit_info::before,
.side_depth_tit_info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -19px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #e94f56;
    z-index: 0;
}
.side_tit_info::after,
.side_depth_tit_info::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -17px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #fff;
    z-index: 1;
}
.sidebarWrap .side_item .item_list li {
    background: #fff;
    border: 1px solid #ddd;
}
.sidebarWrap .side_item .item_list li.on {
    border-color : var(--color-red);
}
.sidebarWrap .side_item .item_list.grade li {
    width: calc((100% - (5px * 5)) / 6);
    height: 28px;
    border-radius: 50%;
    padding: 0;
    line-height: 26px;
    overflow: hidden;
}
.sidebarWrap .side_item .item_list.grade li.disable {
    background: #e2e2e2;
    color: #969696;
}
.sidebarWrap .side_item .item_list.subject li {
    width: 100%;
}
.sidebarWrap .side_item + .side_item {
    margin-top: 1.125rem;
}

.sidebarWrap .sidebarCon.bnr {

}
.sidebarWrap .sidebarCon.bnr .banner_list li {
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
}
.sidebarWrap .sidebarCon.bnr .banner_list li + li {
    margin-top: 0.75rem;
}
.sidebarWrap .side_depth_list {
    padding-top: 1.125rem;
}
.sidebarWrap .side_depth_tit_wrap {
    position: relative;
}
.sidebarWrap .side_depth_tit_wrap .side_depth_tit {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.sidebarWrap .side_depth_tit_wrap .side_depth_tit .item_info {
    width: 18px;
    cursor: pointer;
}
.side_depth_tit_info {
    left: 60%;
    min-width: inherit;
    width: max-content;
}
.side_depth_tit_info a {
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
    margin-top: -3px;
}
.side_depth_tit_info a img {
    filter: invert(0.5);
}


/* 교과 자료 */
.curriculum .sidebarWrap .side_depth_list {
    padding-top: 1.125rem;
    border-top: 1px solid var(--color-red);
}
.curriculum_top .math_info img {
    width: 165px;
}
.textbook-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}
.textbook-toggle input[type=checkbox] {
    appearance: none;
    background: #999;
    border-radius: 99px;
    cursor: pointer;
    display: block;
    height: 16px;
    position: relative;
    width: 32px;
}
.textbook-toggle input[type=checkbox]:before {
    background: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 12px;
    left: 3px;
    width: 12px;
    position: absolute;
    right: 2px;
    top: 2px;
    transition: left .3s ease,right .3s ease;
}
.textbook-toggle input[type=checkbox]:after {
    color: #fff;
    content: "";
    display: block;
    font-size: 10px;
    font-weight: 700;
    height: 16px;
    left: 13px;
    line-height: 16px;
    position: absolute;
    right: 19px;
    text-align: center;
    top: 2px;
    width: 20px;
}
.textbook-toggle input[type=checkbox]:checked {
    background: var(--color-red);
    transition: background-color .3s ease;
}
.textbook-toggle input[type=checkbox]:checked:after {
    content: "";
    left: 10px;
    right: 4px;
}
.textbook-toggle input[type=checkbox]:checked:before {
    left: 17px;
    right: 20px;
}
.curriculum_top .math_link_list {
    text-align: left;
}
.math_link_list .link_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e8e8e8;
    width: 250px;
    height: 48px;
    padding: 0 1rem;
    border-radius: 0.5rem;
}
.math_link_list .link_item + .link_item {
    margin-top: 0.375rem;
}
.math_link_list .link_item .link_tit {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.math_link_list .link_item .link_tit img {
    width: 20px;
    border: none;
}
.math_link_list .link_item .link_btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.math_link_list .link_item .link_btn .btn {
    width: 30px;
    height: 30px;
    line-height: 29px;
    padding: 0;
    border-radius: 50%;
    background: #f2f2f2;
    text-align: center;
}
.math_link_list .link_item .link_btn .btn img {
    margin-right: 0;
    width: 14px;
    border: none;
    margin-top: 0;
}
.math_link_list .link_item .link_btn .btn:last-child img {
    margin-top: -2px;
}
.math_link_list .link_item .link_btn .btn:hover {
    background: var(--color-red);
    transition: 0.2s all linear;
}
.math_link_list .link_item .link_btn .btn:hover img {
    filter: brightness(0) invert(1);
    transition: 0.2s all linear;
}
.mini-banner-wrap {
    width: 230px;
    margin-top: 0;
    position:inherit;
    right: auto;
    bottom: auto;
}
.mini-banner-wrap .mini-banner-tit {
    text-align: center;
    color: var(--color-red);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 15px;
}
.mini-banner-wrap .mini-banner-tit:before,
.mini-banner-wrap .mini-banner-tit:after {
    content:'';
    width: 25px;
    height: 1px;
    background: var(--color-deep-blue);
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}
.mini-banner-wrap .mini-banner-tit:before {
    margin-right: 0.75rem;
}
.mini-banner-wrap .mini-banner-tit:after {
    margin-left: 0.75rem;
}
.mini-banner-wrap .mini-banner-list {
    flex-direction: column;
    gap: 0.5rem;
}
.mini-banner-wrap .mini-banner-list .banner-item + .banner-item {
    margin-left: 0;
}
.folding-wrap .hover_popup {
    left: -74px;
    top: -83px;
}
.folding-wrap .folding-box .folding-right .btn.border_btn {
    background: none;
    color: var(--color-deep-blue);
}
.folding-wrap .folding-box .folding-right .btn.border_btn:hover {
    background: var(--color-red);
    color: #fff;
}
.folding-wrap .folding-box .folding-title {

}
.folding-wrap .folding-box .folding-right {

}
.folding-wrap .folding-box .folding-title.on .folding-right .btn {
    color: #fff;
}
.btn.tip_btn:before {
    content: '';
    width: 15px;
    height: 15px;
    background: url(../../img/renew2/sub/icon-tip.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.btn.ebook_btn:before {
    content: '';
    width: 15px;
    height: 15px;
    background: url(../../img/renew2/sub/icon-ebook.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.btn.tip_btn:hover:before, .btn.ebook_btn:hover:before,
.folding-wrap .folding-box .folding-title.on .folding-right .btn.tip_btn:before, .folding-wrap .folding-box .folding-title.on .folding-right .btn.ebook_btn:before {
    filter: brightness(0) invert(1);
}

/* 평가자료 */
.evaluation-data .title_wrap .title {
    display: inherit;
    padding: 0;
    background: none;
    color: inherit;
}
.subjectList {
    border: 1px dashed #ddd;
    border-left: none;
    border-right: none;
    margin-bottom: 2rem;
    padding: 1rem 0;
    text-align: center;
}
.subjectList b {
    font-weight: 500;
    margin-right: 1rem;
}
.subjectList select {
    padding: 0.75rem 0.75rem;
    min-width: 300px;
}

/* 디지털 수학 교구 */
.side_tit_info.ml {
    left: 99%;
}

/* 수학 수업 TIP */
.side_tit_info.ml2 {
    left: 96%;
}

/* login */
.sign_page.in {
    justify-content: center;
}

.sign-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sign-inner .sign-banner-wrap .sign-banner-slide {
    width: 450px;
    border-radius: 2rem;
    overflow: hidden;
}

.sign_page.in .form_wrap {
    width: auto;
}

.sign-inner .sign-banner-wrap .slick-dots {
    position: absolute;
    right: 1.5em;
    bottom: 1em;
    display: flex;
    gap: 8px;
}

.sign-inner .sign-banner-wrap .slick-dots li button{
    width: 10px;
    height: 10px;
    border-radius: 30px;
    background: #fff;
    font-size: 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.sign-inner .sign-banner-wrap .slick-dots li.slick-active button {
    background: var(--color-red);
    width: 30px;
}


/* 반응형 */
@media(max-width:1200px){

    /* 사이드바 */
    .sidebarWrap .side_item .item_list.grade li {
        width: 24px;
        height: 24px;
        line-height: 22px;
    }
}

@media(max-width:1024px){

    /* 사이드바 */
    .sidebarWrap .sidebarCon.lnb {
        border: none
    }
    .sidebarWrap .side_tit_wrap {
        background: none;
        border-radius: 0;
        padding: 0;
        width: auto;
        display: inline-block;
    }
    .sidebarWrap .side_tit_wrap .side_tit {
        padding: 2.35rem 0;
        font-size: 23px;
    }
    .sidebarWrap .side_item .item_list.grade li {
        width: calc((100% - (5px * 5)) / 6);
        border-radius: 2rem;
        height: 28px;
        line-height: 26px;
    }
    .sidebarWrap .side_tit_wrap .side_tit .item_info {
        display: none;
    }
    .sidebarWrap .sidebarCon.bnr {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 3%;
        bottom: 3%;
        width: 94%;
    }
    .sidebarWrap .sidebarCon.bnr .banner_list {
        display: flex;
        align-items: center;
        gap: 2rem;
        justify-content: center;
    }
    .sidebarWrap .sidebarCon.bnr .banner_list li {
        max-width: 260px;
    }
    .sidebarWrap .sidebarCon.bnr .banner_list li + li {
        margin-top: 0;
    }
    .sidebarWrap .side_depth_tit_wrap {
        display: flex;
        align-items: center;
    }
    .side_depth_tit_info {
        position: inherit;
        left: auto;
        top: auto;
        transform: none;
        margin-left: 1rem;
        margin-top: -1rem;
    }

    /* 로그인 */
    .sign-banner-wrap {
        display: none;
    }

}

@media(max-width:970px){

}

@media(max-width:768px){

    .sidebarWrap .side_tit_wrap .side_tit {
        padding: 1.875rem 0 1.75rem;
    }
    .side_tit_info::before, .side_depth_tit_info::before {
        left: -18px;
    }
    .side_depth_tit_info a {
        margin-top: -2px;
    }

    /* 교과자료 */
    .curriculum_top .math_info img {
        display: block;
    }
    .curriculum_top .math_info {
        gap: 1.5rem;
    }
    .curriculum_top .math_link_list {
        border: none;
        padding: 0;
        margin-top: 1rem;
        background: none;
    }
    .mini-banner-wrap {
        width: 100%;
        transform: none;
        margin-top: 1rem;
    }
    .mini-banner-wrap .mini-banner-list {
        flex-direction: row;
    }
    .mini-banner-wrap.pc {
        display: none;
    }
    .curriculum_top .math_info img {
        width: 125px;
    }
    .math_link_list .link_item {
        width: 205px;
        padding: 0 0.75rem 0 0.875rem;
    }
    .math_link_list .link_item + .link_item {
        margin-top: 0;
        margin-left: 0.25rem;
    }
    .math_link_list .link_item .link_tit img {
        width: 18px;
    }
    .math_link_list .link_item .link_tit {
        gap: 0.5rem;
    }
    .math_link_list .link_item .link_btn {
        gap: 0.25rem;
    }
    .mini-banner-wrap.mb {
        display: block;
    }
    .mini-banner-wrap .mini-banner-list .banner-item {
        flex-direction: column;
        text-align: center;
    }
    .curriculum_top {
        margin-bottom: 1rem;
    }

}

@media(max-width:640px){

    /* 교과자료 */
    .curriculum_top .math_info .math-data {
        position: relative;
        width: calc(100% - 1.5rem - 125px);
    }
    .textbook-toggle {
        position: absolute;
        right: 0;
        top: 0.25rem;
        margin: 0;
    }
    .math_link_list .link_item {
        height: 42px;
    }
    .math_link_list .link_item .link_btn .btn {
        line-height: 28px;
    }
    .curriculum_top .math_link_list {
        flex-direction: column;
        gap: 0.25rem;
    }
    .math_link_list .link_item + .link_item {
        margin-left: 0;
    }
    .math_link_list .link_item .link_tit {
        font-size: 13px;
    }
    .mini-banner-list .banner-item p {
        word-break: keep-all;
    }
    .folding-wrap .folding-box .folding-title {
        padding: 1rem 1.25rem 0.875rem;
        flex-direction: column;
        gap: 0.625rem;
    }
    .folding-wrap .folding-box .folding-title > p {
        width: 100%;
        text-align: left;
    }
    .folding-wrap .folding-box .folding-right {
        width: 100%;
        justify-content: right;
    }
    .folding-wrap .folding-box:first-child  .folding-title,
    .folding-wrap .folding-box:last-child  .folding-title {
        flex-direction: row;
    }

}

@media(max-width:480px){
    .sidebarWrap .sidebarCon.bnr .banner_list {
        gap: 1rem;
        flex-direction: column;
    }


    /* 교과자료 */
    .curriculum_top .math_info {
        gap: 1rem;
    }
    .curriculum_top .math_info img {
        width: 110px;
    }
    .curriculum_top .math_info .math-data {
        width: calc(100% - 1rem - 110px);
    }
    .textbook-toggle {
        top: 0.125rem;
        gap: 0.5rem;
        letter-spacing: -0.5px;
        font-weight: 500;
    }
    .curriculum_top .math_info .math-data .small_revision {
        padding: 0.25rem 0.5rem;
        border-radius: 1rem;
        margin-bottom: 0.625rem;
    }
    .math_link_list .link_item {
        width: 100%;
        height: 36px;
    }
    .math_link_list .link_item .link_btn .btn {
        width: 24px;
        height: 24px;
        line-height: 23px;
    }
    .math_link_list .link_item .link_btn .btn img {
        width: 13px;
    }
    .curriculum_top .math_link_list {
        display: flex;
    }
    .math_link_list .link_item .link_tit img {
        width: 16px;
    }
    .mini-banner-wrap .mini-banner-list {
        flex-direction: column;
    }
    .mini-banner-wrap .mini-banner-list .banner-item {
        flex-direction: row;
        text-align: left;
        width: 100%;
    }
    .folding-wrap .folding-box .folding-right .btn {
        vertical-align: middle;
    }
    .folding-wrap .folding-box .folding-right .btn.border_btn {
        letter-spacing: -0.5px;
        padding: 0.375rem 0.375rem;
        font-size: 11px;
    }
    .btn.tip_btn:before, .btn.ebook_btn:before, .btn.download_btn:before {
        width: 13px;
        height: 13px;
        margin-right: 4px;
    }
    .subjectList select {
        min-width: 240px;
    }


}

@media(max-width:380px){



}
