/* 카테고리 */
nav#n_bbs_cate  {
    margin-top: 40px;
    padding-top: 22px;
    padding-bottom: 5px;
}
nav#n_bbs_cate ul {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap:10px;

}
nav#n_bbs_cate ul li {
    text-align: center;
}
nav#n_bbs_cate ul li a {
    background: #e3e9ee;
    background: linear-gradient(to top,  #cdd3d8, #eff2f5);
    color: #2e2e2e;
    display:block;
    padding: 15px 0;
    border-top-left-radius: .6em;
    border-top-right-radius: .2em;
    border-bottom-right-radius: .6em;
    border-bottom-left-radius: .2em;
    font-weight:600;
    font-size:21px;
    box-shadow: 0 2px 3px rgba(66, 66, 66, 0.2);
}
nav#n_bbs_cate ul li a:hover {
    text-decoration: none;
}

nav#n_bbs_cate ul li a#bo_cate_on {
    background: linear-gradient(45deg, #285ddd, #a13ad1);
        box-shadow: 0 3px 5px rgba(0, 0, 0, .4);
    color: #fff;
}
nav#n_bbs_cate ul li a#bo_cate_on::after { 
    content: "\F633";
    font-family: 'bootstrap-icons';
    padding-left: 7px;
}
@media(max-width:1500px){ 
    nav#n_bbs_cate ul li a {
        font-size:19px;
    }

 }
@media(max-width:991px){ 
    nav#n_bbs_cate {
    margin-top: 0px;
    padding-top: 22px;
    padding-bottom: 5px;
    overflow-x: auto;         /* 가로 스크롤 가능 */
    -webkit-overflow-scrolling: touch; /* 모바일 부드러운 스크롤 */
}

nav#n_bbs_cate ul {
    display: flex;            /* 가로 나열 */
    gap: 8px;
    white-space: nowrap;      /* 줄바꿈 방지 */
    min-width: max-content;   /* 내용만큼 너비 확보 */
}

nav#n_bbs_cate ul li {
    flex: 0 0 auto;           /* 아이템 고정 너비 */
    text-align: center;
}

nav#n_bbs_cate ul li a {
    background: linear-gradient(to top,  #cdd3d8, #e3e9ee);
    color: #2e2e2e;
    display: block;
    padding: 11px 30px;       /* 좌우 여백 조금 줘야 손가락 터치도 편함 */
    border-top-left-radius: .6em;
    border-top-right-radius: .2em;
    border-bottom-right-radius: .6em;
    border-bottom-left-radius: .2em;
    font-weight: 600;
    font-size: 17px;
    box-shadow: 0 2px 3px rgba(66, 66, 66, 0.2);
    white-space: nowrap;      /* 글자 줄바꿈 방지 */
}

 }
/* 카테고리 마감 */
.bo_fx {
    width: 100%;
     position: relative;
     clear: both;
     padding-bottom: 40px;
}
.teacher_tip {
    margin-bottom: 40px;
    font-weight:500;
    text-align: right;
    font-size:19px;
    clear: both;
    width: 100%;
}
#teacher_top {
    background-image: url("../../../img/sub/teacher_scbg.png");
    background-color: #000;
    background-size: cover;
    background-position: 100% 0%;
    padding-top: 120px;
    padding-bottom: 80px;
}
#teacher_top .title {
    text-align: center;
    color: #a9a9a9;
    font-size: 26px;
    line-height: 36px;
}
#teacher_top .title h1 {
    font-size: 70px;
    color: #f2f3f3;
    line-height: 83px;
    font-weight:800;
    margin-bottom: 26px;
}
#teacher_top .title h1 span {
    display: inline-block;
    background-image: linear-gradient(to right, #08d50c, #1388eb);
    background-clip: text;
    color: transparent;
    font-weight:900;
}
#teacher_top .box-wrap {
    margin-top: 60px;
    background-color: rgba(14, 15, 16, 0.6);
    background-image: url('../../../img/sub/teacher_top_01.png');
    background-repeat: no-repeat;
    background-position: 80px 100%;
    border-radius: .6em;
    padding: 70px 20px 70px; 
}
#teacher_top .box-wrap .flex {
    display:flex;
}
#teacher_top .box-wrap .flex .left {
    width: 32%;
    padding-right: 20px;
    padding-top: 20px;
}
#teacher_top .box-wrap .flex .right {
    width: 68%;
    color: #fff;
    border-left: 1px rgba(255, 255, 255, .1) solid;
    padding-left: 70px; 
}
#teacher_top .box-wrap .flex .left h2 {
    color: #838383;
    font-size:36px;
    font-weight:700;
    text-align: center;
    line-height: 46px;
}
#teacher_top .box-wrap .flex .left h2 span {
    color: #ffbe41;
}
#teacher_top .box-wrap .flex .left h2 p {
    color: #fff;
    font-size:36px;
    font-weight:700;
}

#teacher_top .box-wrap .flex .right ul li {
    font-size:21px;
    color: #d1d1d1;
    padding-bottom: 8px;
     position:relative;
     text-indent: -20px;
     padding-left: 20px;
}
#teacher_top .box-wrap .flex .right ul li::before {
    content: '- ';
    margin-right: 6px;
}




/* teacher_scbg.png */
#bo_gall {
    background: url("img/bg.png");
    background-color: #d0d4d7;

    /* background-repeat: no-repeat; */
    background-position: 0 0;
    position: relative;
}
#bo_gall .title {
    text-align: center;
    padding-top: 60px;
    font-size: 22px;

}
#bo_btn_top {
    margin: 0 auto;
}
#bo_gall .title h1 {
    font-size: 55px;
   
    font-weight: 800;
    padding-bottom: 30px;
    color: #1e1f1f;
}

/* common */
.wiztheme_list_gallery_wrap .box_wrap.col_1 {
    width: 100%;
    height: auto;
}
.wiztheme_list_gallery_wrap .box_wrap.col_2 {
    width: 50%;
    height: auto;
}
.wiztheme_list_gallery_wrap .box_wrap.col_3 {
    width: 33.3333333333%;
    height: auto;
}
.wiztheme_list_gallery_wrap .box_wrap.col_4 {
    width: 25%;
    height: auto;
}
.wiztheme_list_gallery_wrap .box_wrap.col_5 {
    width: 20%;
    height: auto;
}
.wiztheme_list_gallery_wrap .box_wrap.col_6 {
    width: 16.6666666667%;
    height: auto;
}
.wiztheme_list_gallery_wrap .box_wrap {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;

}
/* 레이아웃 */
.wiztheme_list_gallery_wrap .box_wrap {
    /* display:grid;
    grid-template-columns: repeat(2, 1fr); */
}
.wiztheme_list_gallery_wrap .box_wrap .images {
    position: relative;
    background: #f0f0f0;
    display: grid;
    justify-content: flex-end;
    align-items: flex-end;
    height: 399px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    
}
.wiztheme_list_gallery_wrap .box_wrap .images .sky {
    position: absolute;
    top: 60px;
    left: 40px;

}
.wiztheme_list_gallery_wrap .box_wrap .images .sky span.canames {
    position: relative;
    border-radius: 3em;
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 600;
    background: #fff;
}
.wiztheme_list_gallery_wrap .box_wrap .images .sky h3 {
    font-size: 28px;
    color: #000;
    font-weight: 400;
    margin-top: 36px;
    padding-left: 6px;
}
.wiztheme_list_gallery_wrap .box_wrap .images .sky h3 span {
    font-weight: 800;
}

.wiztheme_list_gallery_wrap .box_wrap .images .sky .spac {
    font-size: 17px;
    line-height: 29px;
    color: #454545;
    margin-top: 20px;
    padding-left: 6px;
}
.wiztheme_list_gallery_wrap .box_wrap .images .sky .spac p {
    font-size: 19px;
    margin-bottom: 2px;

}
.wiztheme_list_gallery_wrap .box_wrap .caption {
    background: #fff;
    padding: 30px 40px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    min-height: 190px;
     /* position: absolute;
     z-index: 99;
     bottom: 0;
     width: 96%; */

}
.wiztheme_list_gallery_wrap .box_wrap .caption p {
    font-size: 18px;
}
/* 레이아웃 마감 */

/* common end */
.wiztheme_list_gallery_wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 50px;

}
.wiztheme_list_gallery_wrap .box_wrap {
    /* width: 33.3333333333%;
    padding-left: 15px;
    padding-right: 15px; */
    margin-bottom: 30px;

}

.wiztheme_list_gallery_wrap .box_wrap .box:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

@media(max-width:992px) {
    #bo_gall .title {
        text-align: center;
        padding-top: 36px;
        font-size: 16px;

    }
    #bo_btn_top {
        margin: 0 auto;
    }
    #bo_gall .title h1 {
        font-size: 24px;
        padding-bottom: 0px;
        letter-spacing: -1px;
        font-weight:800;
    }
    .wiztheme_list_gallery_wrap {
        margin-top: 30px;

    }
    .wiztheme_list_gallery_wrap .box_wrap.col_2,
    .wiztheme_list_gallery_wrap .box_wrap.col_3,
    .wiztheme_list_gallery_wrap .box_wrap.col_4,
    .wiztheme_list_gallery_wrap .box_wrap.col_5,
    .wiztheme_list_gallery_wrap .box_wrap.col_6 {
        width: 100%;
    }
    /* 레이아웃 */
    .wiztheme_list_gallery_wrap .box_wrap {
        position: relative;
        margin-bottom: 14px;
    }
    .wiztheme_list_gallery_wrap .box_wrap .images {
        position: relative;
        background: #f0f0f0;
        display: grid;
        justify-content: flex-end;
        align-items: flex-end;
        height: 240px;

        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        padding-top: 40px;
    }
    .wiztheme_list_gallery_wrap .box_wrap .images img {
        height: 180px;
    }
    .wiztheme_list_gallery_wrap .box_wrap .images .sky {
        position: absolute;
        top: 30px;
        left: 20px;

    }
    .wiztheme_list_gallery_wrap .box_wrap .images .sky span.canames {
        position: relative;
        border-radius: 3em;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 600;
        background: #fff;
    }
    .wiztheme_list_gallery_wrap .box_wrap .images .sky h3 {
        font-size: 20px;
        color: #000;
        font-weight: 400;
        margin-top: 20px;
        padding-left: 6px;

    }
    .wiztheme_list_gallery_wrap .box_wrap .images .sky h3 span {
        font-weight: 800;
    }

    .wiztheme_list_gallery_wrap .box_wrap .images .sky .spac {
        font-size: 13px;
        line-height: 29px;
        color: #454545;
        margin-top: 10px;
        padding-left: 6px;
        width: 100%;
    }
    .wiztheme_list_gallery_wrap .box_wrap .images .sky .spac p {
        font-size: 13px;
        line-height: 19px;
    }
    .wiztheme_list_gallery_wrap .box_wrap .caption {
        background: #fff;
        padding: 20px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        position: relative;
        clear: both;

    }
    .wiztheme_list_gallery_wrap .box_wrap .caption p {
        font-size: 13px;
        line-height: 19px;
    }



    #teacher_top {
        background-image: none;
        background-color: #1A1D1F;
        background-size: cover;
        background-position: 100% 0%;
        padding-top: 60px;
        padding-bottom: 40px;
    }
    #teacher_top .title {
        text-align: center;
        color: #a9a9a9;
        font-size: 15px;
        line-height: 23px;
    }
    #teacher_top .title br {
        display:none;
    }
    #teacher_top .title h1 {
        font-size:27px;
        color: #f2f3f3;
        line-height: 34px;
        margin-bottom: 16px;
        font-weight:800
    }
    #teacher_top .title h1 span {
        display: inline-block;
        background-image: linear-gradient(to right, #08d50c, #1388eb);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight:900;
    }
    #teacher_top .box-wrap {
        margin-top: 30px;
        background-color: #151616;
        background-image: none;
        background-repeat: no-repeat;
        background-position: 80px 100%;
        border-radius: .4em;
        padding: 40px 10px 30px; 
    }
    #teacher_top .box-wrap .flex {
        display:flex;
        flex-direction: column;
    }
    #teacher_top .box-wrap .flex .left {
        width: 100%;
        padding-right: 0px;
        padding-top: 0px;
    }
    #teacher_top .box-wrap .flex .right {
        width: 100%;
        color: #fff;
        border-left: 0;
        padding-left: 0px; 
    }
    #teacher_top .box-wrap .flex .left h2 {
        color: #838383;
        font-size:20px;
        font-weight:700;
        text-align: center;
        line-height: 32px;
        margin-bottom: 6px;
    }
    #teacher_top .box-wrap .flex .left h2 span {
        color: #ffbe41;
    }
    #teacher_top .box-wrap .flex .left h2 p {
        color: #fff;
        font-size:20px;
font-weight:700;        display:inline;
    }
    #teacher_top .box-wrap .flex .right ul {
        margin-top: 12px;
    }
    #teacher_top .box-wrap .flex .right ul li {
        color: #d1d1d1;
        padding-bottom: 8px;
         position:relative;
         text-indent: -14px;
         padding-left: 20px;
font-weight:400;         font-size:14px;
         line-height: 22px;
 
    }
    #teacher_top .box-wrap .flex .right ul li::before {
        content: '- ';
        margin-right: 6px;
    }
    .wiztheme_list_gallery_wrap .box_wrap .caption {
        height: auto;
        min-height: auto;
    }
    .teacher_tip {
    margin-bottom: 30px;
    font-weight: 500;
    text-align: right;
    font-size: 15px;
    clear: both;
    width: 100%;
}

}
@media(max-width:768px) {
    }
