/* 수학 수업 TIP */
.createClass .title_wrap,
.qna .title_wrap {
    padding: 2.25rem 0 2rem;
    /*background: #ff8b24;*/
    background: #34a932;
    position: relative;
    overflow: hidden;
}

.createClass .title_wrap:before,
.qna .title_wrap:before {
    content:'';
    width: 149px;
    height: 157px;
    background: url('../../img/renew/class-plus-data/class-plus-data-bg1.png');
    position: absolute;
    left: 3%;
    bottom: -1px;
    opacity: 1;
}

.createClass .title_wrap:after,
.qna .title_wrap:after {
    content:'';
    width: 157px;
    height: 178px;
    background: url('../../img/renew/class-plus-data/class-plus-data-bg2.png');
    position: absolute;
    right: 3%;
    bottom: -15%;
    opacity: 1;
}

.createClass .title_wrap .title,
.qna .title_wrap .title {
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1.125rem;
    color: #fff;
}

.createClass .title_wrap .title b,
.qna .title_wrap .title b {
    font-size: 1.375rem;
    color: #fff075;
    margin-bottom: 0.5rem;
    display: block;
}

/*.intro.title_wrap:before {*/
/*    content:'';*/
/*    width: 175px;*/
/*    height: 114px;*/
/*    position: absolute;*/
/*    left: 1.5rem;*/
/*    top: 50%;*/
/*    background: url('../../img/renew/class-plus-data/title-bg-tip.png') center no-repeat;*/
/*    background-size: contain;*/
/*    transform:translateY(-50%);*/
/*}*/

.intro.title_wrap:after {
    content:'';
    width: 275px;
    height: 165px;
    position: absolute;
    right: 3rem;
    top: 50%;
    background: url('../../img/renew/class-plus-data/title-bg-tip-intro.png') center no-repeat;
    background-size: contain;
    transform:translateY(-50%);
}

.intro_tit_wrap .intro_tit {
    display: inline-block;
    background: var(--color-red);
    color: #fff;
    letter-spacing: -0.5px;
    padding: 0.625rem 1.5rem 0.5rem 4.25rem;
    border-radius: 2rem;
    font-weight: 600;
    position: relative;
}

.intro_tit_wrap {
    text-align: center;
}

.intro_tit_wrap .intro_tit img {
    position: absolute;
    left: 0;
    top: 50%;
    width: 52px;
    transform: translateY(-50%);
}

.intro_tit_wrap .intro_desc {
    margin: 1.5rem 0 2.5rem;
    line-height: 1.3;
}

.math-tip-con + .math-tip-con {
    margin-top: 5rem;
}

.math-tip-list {
    display: flex;
    flex-wrap: wrap;
    gap:2rem;
    padding: 0 1rem;
}

.math-tip-list .math-tip-item {
    width: calc((100% - 2rem) / 2);
    text-align: center;
}

.math-tip-list .math-tip-item .math-tip-img {
    position: relative;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    max-width: 602px;
    margin: 1rem auto 0;
}

.math-tip-con .math-tip-tit {
    margin: 1.5rem 0 1rem;
    display: inline-block;
    background: var(--color-red);
    color: #fff;
    padding: 0.375rem 1.5rem;
    border-radius: 2rem;
}

.math-tip-con .math-tip-desc {
    margin-top: 1rem;
    text-align: center;
    line-height: 1.4;
    word-break: keep-all;
    letter-spacing: -1px;
    font-weight: 500;
}

.math-tip-con .math-tip-item .btn_zoom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-deep-blue) url('../../img/renew/common/icon-zoom.svg') center no-repeat;
    background-size: 30px;
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    text-indent: -99999px;
    transition: 0.2s all linear;
}

.math-tip-con .math-tip-item .btn_zoom:hover {
    background-color: var(--color-red);
    transition: 0.2s all linear;
}

.math-tip-con .math-tip-desc .p_br {
    display: block;
}

/* 리스트 */
.select_box {
    box-sizing: border-box;
    border:1px solid var(--color-light-gray);
    padding: 1.5rem 3.75rem;
    border-radius: 10px;
    background: #fbfbfb;
    margin-bottom: 2.5rem;
}

.select_box .select_list {
    display: flex;
    align-items: center;
}

.select_box .select_list + .select_list {
    margin-top: 1rem;
}

.select_box .select_list .select_tit {
    width: 100px;
    font-weight: 600;
}

.select_box .select_list .select_item {
    width: calc(100% - 100px);
    display: flex;
    flex-wrap:wrap;
    gap: 0.5rem;
}

.select_box .select_list .select_item li {
    box-sizing: border-box;
    border:1px solid #ddd;
    padding: 9px 1rem 7px;
    border-radius: 7px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s all linear;
}

.select_box .select_list .select_item li.on,
.select_box .select_list .select_item li:hover {
    background: var(--color-deep-blue);
    color: #fff;
    transition: 0.2s all linear;
}

.select_box .filter_list {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.createClass .empty_box {
    border: 1px solid #d2d2d2;
    padding: 3.75rem;
    border-radius: 1rem;
}

.createClass .empty_box:before {
    margin: 0 auto 1.75rem;
}

.tip_list {
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
}

.tip_list .tip_item {
    width: calc((100% - (1.5rem * 2)) / 3);
}

.tip_list .tip_item .tip_thumnail {
    position: relative;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    cursor: pointer;
    padding-top: 56%;
}

.tip_list .tip_item .tip_thumnail img {
    transition: 0.2s all linear;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.tip_list .tip_item .tip_thumnail .tip_movie {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.tip_list .tip_item .tip_thumnail .tip_movie:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('../../img/icon/icon_play.svg') no-repeat center center / contain;
}

.tip_list .tip_item .tip_info {
    padding: 0.75rem 0.5rem;
    position: relative;
}

.tip_list .tip_info .tip_sm_tit {
    opacity: 0.5;
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 0.625rem;
    transition: 0.2s all linear;
}

.tip_list .tip_info .tip_tit {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transition: 0.2s all linear;
}

.tip_list .scrap_btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 999;
}

.tip_list .tip_item:hover .tip_thumnail img {
    transform: translate(-50%,-50%) scale(1.1);
    transition: 0.2s all linear;
}

/*.tip_list .tip_item:hover .tip_info .tip_sm_tit {*/
/*    opacity: 1;*/
/*    transition: 0.2s all linear;*/
/*}*/

/*.tip_list .tip_item:hover .tip_info .tip_tit {*/
/*    color: var(--color-red);*/
/*    transition: 0.2s all linear;*/
/*}*/

/* QnA 게시판 */
.qna .title_wrap {
    background: #ff8b24 ;
}

.qna .title_wrap:before {
    background-image : url('../../img/renew/class-plus-data/qna-bg1.png');
}

.qna .title_wrap:after {
    background-image : url('../../img/renew/class-plus-data/qna-bg2.png');
}

.qna .title_wrap .title b {
    color:#2d29d3;
}

.select_top {
    display: flex;
    justify-content: space-between;
}

.select_top .sorting_list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.select_top .sorting_list a {
    position: relative;
}

.select_top .sorting_list a:after {
    content:'';
    width: 1px;
    height: 1rem;
    background: #aaa;
    position: absolute;
    right: -0.75rem;
    top: 0;
}

.select_top .sorting_list a:last-child:after {
    display: none;
}

.select_top .sorting_list a:hover {
    font-weight: 500;
}

.board_table .item_num {
    width: 50px;
}

.board_table .item_title {
    width: calc(100% - 28% - 110px - 50px);
}

.board_table .item_writer {
    width: 20%;
}

.board_table .item_date {
    width: 110px;
}

.board_table .item_view {
    width: 8%;
}

.board_table .item_mb {
    display: none;
}


.board_table .item_writer span:hover {
    text-decoration: underline;
    cursor: pointer;
}

.board_table .item_title .label {
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid var(--color-red);
    padding: 3px 8px;
    font-size: 14px;
    letter-spacing: -0.5px;
    border-radius: 1rem;
    margin-right: 5px;
    color: var(--color-red);
    width: 70px;
    text-align: center;
}

.board_table .item_title .label.reply {
    margin-left: 1.25rem;
    position: relative;
    border: none;
    padding: 0;
    margin-right: 0;
}
.board_table .item_title .label.reply:before {
    content:'';
    width: 16px;
    height: 13px;
    background: url('../../img/renew/class-plus-data/icon-reply.png');
    position: absolute;
    left: -1.25rem;
    top:0;
}

.board_table .item_writer {
    letter-spacing: -0.5px;
}

.board_table .item_writer img {
    width: 22px;
    vertical-align: middle;
    margin-top: -2px;
}

.boardList .post_nav {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.boardList .post_nav>div {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    background: #f6f6f6;
    cursor: pointer;
}

.boardList .post_nav>div:first-child {
    margin-bottom: 10px;
}

.boardList .post_nav p {
    font-weight: 500;
    color: #444;
    box-sizing: border-box;
    padding-left: 0.5rem;
    width: 80px;
}

.boardList .post_nav span {
    color: #444;
    width: calc(100% - 80px - 22px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boardList .post_nav .icon_box {
    width: 26px;
    height: 26px;
    background: url('../../img/renew/common/icon-right-arrow-fill.svg') no-repeat center center / contain;
}

.boardList .post_nav .before .icon_box {
    transform: rotate(90deg);
}

.boardList .post_nav .after .icon_box {
    transform: rotate(-90deg);
}

.boardList .post_nav + .btn_wrap {
    margin-top: 1rem;
}

.boardList .answer {
    position: relative;
    box-sizing: border-box;
}

.boardList .answer .top_area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--color-deep-blue);
    color: #fff;
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
}

.boardList .answer .top_area:before {
    content: '';
    width: 0;
    height: 0;
    border-bottom: 0.875rem solid var(--color-deep-blue);
    border-left: 0.75rem solid transparent;
    border-right: 0.75rem solid transparent;
    position: absolute;
    left: 0;
    top: -0.875rem;
}

.boardList .answer .text_box {
    background: #fff;
    box-sizing: border-box;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0 0 1rem 1rem;
    line-height: 1.4;
}


/* 반응형 */
@media(max-width:1200px){

    /*.intro.title_wrap:before {*/
    /*    width: 150px;*/
    /*    height: 100px;*/
    /*    left: 1rem;*/
    /*}*/

    .intro.title_wrap:after {
        width: 260px;
        height: 155px;
    }

    /*.math-tip-con .math-tip-desc .p_br {*/
    /*    display: inline-block;*/
    /*    width: 5px;*/
    /*}*/

    .qna .title_wrap:after {
        width: 160px;
        height: 130px;
    }
}

@media(max-width:1024px){

}

@media(max-width:970px){

    .title_wrap .title {
        font-size: 18px;
    }

    .select_box .select_list .select_item li {
        padding: 7px 0.75rem 7px;
        font-size: 13px;
    }

    .tip_list .tip_item .tip_thumnail .tip_movie:after {
        width: 50px;
        height: 50px;
    }

}

@media(max-width:768px){



    .createClass .title_wrap:before,
    .createClass .title_wrap:after,
    .qna .title_wrap:before,
    .qna .title_wrap:after {
        opacity: 0.1;
    }

    .intro_con + .intro_con {
        margin-top: 3.75rem;
    }

    .select_box {
        padding: 1.5rem 2.5rem;
    }

    .select_box .select_list .select_tit {
        width: 80px;
    }

    .select_box .select_list .select_item {
        width: calc(100% - 80px);
    }

    .tip_list .tip_item {
        width: calc((100% - 1.5rem) / 2);
    }

    .tip_list .tip_item .tip_thumnail .tip_movie:after {
        width: 60px;
        height: 60px;
    }

    /*.intro.title_wrap:before {*/
    /*    top: 50%;*/
    /*}*/

    .intro.title_wrap:after {
        top: 56%;
        width: 220px;
        height: 140px;
        right: 2rem;
    }

    .math-tip-con {
        gap:2.5rem;
    }

    .tip_list .tip_info .tip_tit {
        margin-bottom: 1rem;
    }

    .math-tip-con .math-tip-item {
        width:100%;
    }

    .math-tip-con .math-tip-desc .color-red {
        display: block;
    }

    .qna .title_wrap:after {
        width: 160px;
        height: 130px;
    }

    .qna .title_wrap:after {
        opacity: 0.15;
        right: 1rem;
    }

    .board_table .item_title .label {
        font-size:inherit;
    }

}

@media(max-width:640px){

    .createClass .title_wrap .title b,
    .qna .title_wrap .title b {
        font-size: 1.25rem;
    }
    .createClass .title_wrap .title,
    .qna .title_wrap .title {
        font-size: 1rem;
    }

    .tip_list .tip_item .tip_thumnail .tip_movie:after {
        width: 50px;
        height: 50px;
    }

    .tip_list .tip_info .tip_sm_tit {
        font-size: inherit;
        letter-spacing: -0.5px;
    }

    .select_box {
        padding: 1.5rem;
    }

    .select_box .select_list {
        display: block;
    }

    .select_box .select_list .select_tit {
        width: auto;
        margin-bottom: 0.5rem;
    }

    .select_box .select_list + .select_list {
        margin-top: 1.5rem;
    }

    .select_box .select_list .select_item {
        width: 100%;
    }

    .title_wrap .title {
        font-size: 16px;
    }

    .intro.title_wrap .title_desc span {
        display: block;
    }

    .intro.title_wrap:after {
        top: 50%;
    }

    .board_table .bd_head {
        display: none;
    }

    .board_table .bd_body {
        border-top: 2px solid #282c34;
    }

    .board_table .item_num {
        width: 60px;
    }

    .board_table .item_title {
        width: calc(100% - 60px);
        padding-bottom: 2.75rem;
    }

    .board_table .item_mb {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        position: absolute;
        left: 60px;
        bottom: 0.75rem;
    }

    .board_table .item_pc {
        display: none;
    }

    .board_table .item_mb p {
        position: relative;
        letter-spacing: -0.5px;
    }

    .board_table .item_mb p:after {
        content:'';
        width: 1px;
        height: 12px;
        background: #aaa;
        position: absolute;
        left: -0.75rem;
        top:1px;
    }

    .board_table .item_mb p:first-child:after {
        display: none;
    }

    .board_table .bd_list_item .item_writer, .board_table .bd_list_item .item_date, .board_table .bd_list_item .item_view {
        width: auto;
        padding: 0;
    }

    .board_table .item_writer {

    }

    .board_table .item_date {

    }

    .board_table .item_view {

    }

    .board_table .item_view:before {
        content:'';
        width: 16px;
        height: 16px;
        background: url(../../img/withsam/sub/icon-view.png) no-repeat center;
        background-size:contain;
        display: inline-block;
        vertical-align: middle;
        margin-top: -1px;
        margin-right: 0.25rem;
    }


}

@media(max-width:480px){

    .createClass .title_wrap .title b,
    .qna .title_wrap .title b {
        font-size: 1.125rem;
    }

    .createClass .title_wrap .title,
    .qna .title_wrap .title {
        font-size: 14px;
    }

    .intro_con + .intro_con {
        margin-top: 2.75rem;
    }

    .intro_tit_wrap .intro_desc {
        margin: 1.25rem 0 2rem;
    }

    .math-tip-con .math-tip-desc {
        margin-top: 0.75rem;
    }

    .tip_list .tip_item {
        width: 100%;
    }

    .createClass .title_wrap,
    .qna .title_wrap {
        padding: 1.5rem;
    }

    .createClass .title_wrap .title,
    .qna .title_wrap .title {
        word-break: keep-all;
    }

    .tip_list .tip_info .tip_tit {
        font-size: 15px;
        margin-bottom: 0.5rem;
    }

    .intro.title_wrap .title span {
        display: block;
    }

    /*.intro.title_wrap:before {*/
    /*    width: 120px;*/
    /*    height: 85px;*/
    /*    top: 30%;*/
    /*}*/

    /*.intro.title_wrap:after {*/
    /*    width: 110px;*/
    /*    height: 100px;*/
    /*}*/

    .intro_tit_wrap .intro_tit {
        padding: 0.5rem 1.25rem 0.5rem 3.75rem;
    }

    .intro_tit_wrap .intro_tit img {
        width: 45px;
    }

    .createClass .empty_box {
        padding: 2rem;
    }

    .createClass .empty_box:before {
        margin: 0 auto 1.25rem;
    }

    .board_table .item_title {
        font-weight: 500;
    }

    .board_table .item_title .label {
        font-size: 12px;
        letter-spacing: -0.5px;
        width: 60px;
        padding: 3px 0;
        margin-right: 2px;
    }


    .board_table .bd_list_item .item_info {
        gap: 1.25rem;
    }

    .board_table .bd_list_item .item_info p {
        letter-spacing: -0.75px;
    }

    .board_table .bd_list_item .item_info p:after {
        left: -0.625rem;
    }

    .qna select {
        min-width: 120px;
    }

    .board_table .bd_list_item .item_view {
        display: none;
    }

    .math-tip-list .math-tip-item .math-tip-img {
        margin: 0.5rem auto 0;
    }

    .boardList .post_nav>div {
        padding: 0 0.75rem;
    }

    .boardList .post_nav .icon_box {
        width: 20px;
        height: 20px;
    }

    .boardList .post_nav p {
        width: 55px;
        padding-left: 0.25rem;
    }

    .boardList .post_nav span {
        width: calc(100% - 55px - 20px);
    }

    .boardList .answer .top_area {
        padding: 1rem 1.25rem;
    }

    .boardList .answer .text_box {
        padding: 1.25rem;
    }


}
