.item-gallery .item__foot{color:#898989; padding:0 10px;}
.item-gallery { border:1px solid #2d2d2d; }
div.domain { background:#3b3b3b !important;}

.hd_pops {

    background: #000000 !important;
}

.hd_pops a {  color: #fff !important;}


.hd_pops_footer {
    font-size: 12px !important;
    padding: 40px 0 10px 0!important;
    background: none!important;
    text-align: center!important;
}

.list > li {

    padding: 0 5px !important;
    padding-bottom: 15px !important;
}

@media (min-width: 992px) {
    .pic_lt li {

        width: 24.3%;
        padding: 5px;
        border:1px solid #2d2d2d;
        margin: 2px;
    }
}


hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 2px;

}



@media (max-width: 767px) {
    .pic_lt li {

        padding: 0 2px !important;
        border:1px solid #2d2d2d;
        margin: 5px 2px;

        width: 48.2%;
        margin: 5px 2px;
    }
    .pic_lt ul{padding:0 ;}

    .list.mb-column-2 > li {
        width: 50% !important;
    }

    .list > li {

        padding: 8px 1px !important;
    }
}






@media (min-width: 768px) {
    #header-brand {
        padding: 0 !important;
    }




}
}


@media (max-width: 767px) {
    #header-nav {

        top: -570px !important;

    }

    #header-nav.active {
        top: 0 !important;
    }

    .page {

        padding: 8px 8px 0 8px;
    }
}
@media (max-width: 767px) {
    #header-brand:first-child > a {
        padding: 10px 0 0 0 !important;
    }

    #header {
        padding: 0 !important;
    }
}

/* 모바일용 */

@media (max-width: 767px) {
    #bo_sch {
        width: 100%;
        margin: 10px auto 0 auto !important;
    }
}


/* PC용 */

@media (min-width: 768px) {
    #bo_sch {
        width: 40%;

    }

}

.new_icon{display:inline-block;width:35px;line-height:16px ;font-size:0.833em;color:#000000;background:#ffe200;text-align:center;border-radius: 2px;}


.pic_lt .item__foot {

    font-size: 12px;
    color:#898989;
    padding: 5px 10px;


}


.bo_v_nb {
    margin: 20px 0 !important;


    text-align: center !important;

}

a.one {  padding:0 10px 0 0;}
a.one:link {color:#fff;}
a.one:visited {color:#999999;}
a.one:hover {color: #937d00;}


.container {
    width: 1160px;

    margin: 0 auto;
    padding: 0 20px;
}



#header-brand {
    position: relative;
    font-size: 0;
    line-height: 1;
    text-align: center;
    padding: 30px 0;
    overflow: hidden;
}

.domain p {

    padding: 6px 12px;
    color: #ffffff;
    font-weight: bold;

    font-size: 13px;
    font-weight: 400;
    text-align: left;
    margin :0;
}

div.domain {
    position: absolute;
    top: 37px;
    background: #3b3b3b !important;
    padding: 12px 12px 12px 63px;
}


@media (min-width: 860px) {
    div.domain {
        padding: 0 !important;
        right: 50px !important;

    }
}

.domain2 {
    display: block !important;
    color: #ffcf3e;
}


/* 네비 */
#header-nav{background-color:#333}
#header-nav > ul{text-align:center;display:flex}

#header-nav > ul > li > a{font-size:17px;letter-spacing:0;font-weight:800;color:rgba(255,255,255,.9);display:block;padding:10px 22px;}
#header-nav > ul > li > a:hover{color:yellowc!important;transition:.3s;background-color:rgba(0,0,0,.05)}
#header-nav > ul > li > ul{position:absolute;background-color:rgba(0,0,0,.8);min-width:100%;margin-left:0px;margin-top:2px;top:0px;transition:top .3s;opacity:0;visibility:hidden;text-align:center;width:100%;}
#header-nav > ul > li:hover > ul{top:45px;opacity:1;visibility:visible;padding:10px;}
#header-nav > ul > li > ul > li{white-space:nowrap;display:block;margin:0;}
#header-nav > ul > li > ul > li > a{padding:5px;color:rgba(255,255,255,.7);padding:10px;display:block;border-bottom:1px dashed rgba(255,255,255,.2);font-size:.9em}
#header-nav > ul > li > ul > li > a:hover{color:rgba(255,255,255,1)}
#header-nav > ul > li > ul > li:last-child > a{border-bottom:0}

#header-brand:first-child > a {
    background: url() no-repeat 0 0;
    width: 100%;
    padding: 20px 0;
    background-size: 100%;
    display: inline-block;
    text-indent: -1000em;
}

.container {
    width: 1160px;

    margin: 0 auto;
    padding: 0 20px;

}




.grid.grid-mini {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* ✅ 중앙 정렬 */
    max-width: 1050px;         /* ✅ 한 줄 최대 너비 제한 */
    margin: 0 auto;            /* ✅ 가운데 정렬 */



}

.grid-12 {
    width: 100%;
    max-width: 1050px;
    text-align: center;
}

.grid-12 a,
.grid-12 img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.grid-6 {


    width: 49%;
    padding: 0;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
    overflow: hidden; /* 박스 밖으로 넘치면 자름 */

    justify-content: center;  /* 가로 가운데 */
    align-items: center;      /* 세로 가운데 */

    display: flex;
}

.grid-6 a {
    display: flex;              /* ✅ 핵심 */
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.grid-6 img {
    max-width: 100%;
    max-height: 90px;
    height: auto;
    width: auto;
    display: block;
    margin: auto; /* ✅ 핵심 */
}

@media (max-width: 767px) {
    .grid-6 {
        width: 100%;
    }
}

/* 배너 묶음 가운데 정렬 */
.mstyle, .bstyle {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

/* 중복 제거 */
.grid-6 img.full,
.grid-12 img.full {

    height: auto;
    display: block;
}


.pic_lt {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;

    background: #000;
}

.pic_lt .lat_title {
    display: block;
    background: #000;
    padding: 0 20px;
    line-height: 45px;
    font-size: 1.083em;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
}

.pic_lt a {
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
}


@media (min-width: 992px) {
    .row-cols-lg-4>* {
        width: 25%;
        padding: 0 5px !important;

        padding-bottom :10px !important;



    }
}

.row {

    margin: 0 !important;
}

.card {
    background: none;

}

.card-body {
    padding: 5px;

}


.footer {
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: break-word;
    clear: both;
    background: #000;
    text-align: center;

    padding: 10px 0;
    border-top: 1px solid #ddd;
    color: rgba(255, 255, 255, .8);


}

.footer .grid-6 {
    width: 100%;
}


#bo_list_total {
    float: left;
    line-height: 30px;
    font-size: 0.92em;
    color: #4e546f;
    background: #d4d4d4;
    padding: 0 10px;
    border-radius: 5px;
}

.page__head {
    background-size: cover;
    height: 50px;
    display: flex
;
    align-items: center;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #ddd;
    z-index: 2;
    margin-bottom: 10px;
}

.page__head:before {
    content: '';
    width: 120px;
    height: 1px;
    background-color: #ffd400;
    position: absolute;
    bottom: 0;
    left: 0;
}

.page__head .page-title {
    font-weight: 800;
    font-size: 25px;

    display: inline-block;
}

#bo_btn_top {

    margin-bottom: 10px;
}

.page-title-l {

    font-size: 20px;
}

.container-in {
    width: 1160px;
    min-width: 1024px;
    margin: 0 auto;
    padding: 0;

}


.paging-wrap {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 auto !important;
}

.pg_page, .pg_current {
    line-height: 1 !important;
    vertical-align: middle !important;

    align-items: center !important;
    justify-content: center !important;
    display: inline-block !important;
    padding: 8px 14px !important;
    background-color: #2c2c2c !important;
    color: #ccc !important;
    border-radius: 6px !important;
    border: 1px solid #444 !important;
    transition: background 0.2s ease !important;
    font-size: 15px !important;
    min-width: 40px !important;
    text-align: center !important;
}

.pg_page:hover {
    background-color: #444 !important;
    color: #fff !important;
}

.pg_current {
    background-color: #ffc107 !important;
    color: #111 !important;
    font-weight: bold !important;
    border-color: #ffa000 !important;
}

.pg_start, .pg_prev, .pg_next, .pg_end {
    padding: 8px 12px !important;
}

.pg_start i, .pg_prev i, .pg_next i, .pg_end i {
    font-size: 16px !important;
}


.text-truncate {

    padding: 0 0 0 10px;
}


@media (max-width: 767px) {
    .container {
        width: 100%;
        min-width: 100%;
        padding: 0 3px;
    }

    .container-in {
        width: 100%;
        min-width: 100%;
        padding: 0;
    }
}


@media (max-width: 860px) {
    .page div.domain {
        display: block;
        position: relative;

        top: 0;
        width: 100%;
    }
}




@media (max-width: 767px) {
    #header-brand a img {
        height: 40px;
    }
}

@media (max-width: 767px) {
    #header-brand {
        padding: 0 !important;
    }
}


@media (max-width: 767px) {
    #mb-nav {
        background: #333;
        border-bottom: 1px solid #dfdfdf;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .only-mb {
        display: block;
    }
}

@media (max-width: 767px) {
    #mb-nav > ul {
        width: 100%;
        display: block;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    #mb-nav > ul > li {
        float: left;
        width: 16.666666666%;
        text-align: center;
        display: block;
        position: relative;
    }
}

@media (max-width: 767px) {
    #mb-nav > ul > li > a {
        display: block;
        padding: 5px;
        font-weight: bold;
        font-size: 11px;
        color: #fff;
    }
}


.main-header .off-menu-btn {
    position: absolute;
    left: 20px;
    top: 5px;
}

@media (max-width: 767px) {
    div.domain p {
        padding: 0 12px;
    }
}

.domain p a {
    display: block !important;
    color: #ffcf3e;
}


/* 기본 숨김 */
.mobile-menu-wrap {
    display: none;
}

/* 모바일에서만 보이게 */
@media (max-width: 768px) {
    .mobile-menu-wrap {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        background: #111;
        padding: 10px 0;
    }

    .mobile-menu {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 0 5px;
    }

    .mobile-menu a {
        display: inline-block;
        padding: 8px 14px;
        color: #fff;
        background: #2c2c2c;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        flex: 0 0 auto;
        white-space: nowrap;
        transition: background 0.2s ease;
    }

    .mobile-menu a:hover {
        background: #444;
        color: #ffc107;
    }
}
@media (max-width: 768px) {
    .grid-mini .grid-12 {margin-left :0 !important;}

}


.pic_lt .lt_more {
    position: absolute;
    top: 16px;
    right: 10px;
    display: block;
    width: 25px;
    line-height: 25px;
    color: #aaa;
    border-radius: 3px;
    text-align: center;
}

@media (max-width: 768px){
    .row-cols-2>* {
        padding: 0 1px 5px 1px !important;


        width: 50% !important;

    }

}

@media (max-width: 768px) {
    #bo_list_total {

        line-height: 30px;
        font-size: 0.62em;
        color: #000000;
        background: #d4d4d4;


    }
    .page-title-l {
        font-size: 15px;
        padding-left: 10px;
    }

    .pic_lt a {

        font-size: 12px;
        font-weight: 500;
    }

    .text-truncate {
        padding: 0 0 0 5px;
    }
}


.search-fieldset {


    border-radius: 10px;
    padding: 14px 16px;
    max-width: 540px;
    margin: 0 auto !important;
    text-align: center;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
}

.search-label {
    background: #111;
    color: #ffc107;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 14px;
    border: none;
    appearance: none;
}

.search-bar input[type="text"] {
    padding: 6px 12px;
    font-size: 14px;
    background: #2a2a2a;
    color: #fff;
    border: none;
    width: 180px;
}

.search-bar input[type="text"]:focus {
    outline: none;
    background: #1c1c1c;
}

.search-bar button {
    background: #ffc107;
    border: none;
    padding: 0 12px;
    font-size: 16px;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    margin-right: 5px;
}

.search-bar button:hover {
    background: #ffcd39;
}


.next-prev-wrap .text-truncate {
    border:0 !important;
}


@media (max-width: 767px) {
    .container-in, .container {
        width: 100%;
        min-width: 100%;

    }
}

@media (min-width: 768px) {
    .container {
        max-width: 1160px;
    }
}


.form-control {

    color: #000000 !important;
}

body {

    color: #ffffff;
}

.card {

    border: 1px solid #2d2d2d;
}

/* 처음엔 숨김 */
.sub-menu-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 17, 17, 0.51);
    z-index: 999;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* 마우스 오버 시 보이게 */
li.sub-menu:hover .sub-menu-wrap {
    display: block;
}

/* 하위 메뉴 스타일 */
.sub-menu-wrap .nav-link.depth2 {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.sub-menu-wrap .nav-link.depth2:hover {
    background: rgba(34, 34, 34, 0.8);
}


/* ===== 푸터 ===== */
.hd_pops_footer {
    display: flex !important;          /* 버튼 가로 정렬 */
    align-items: stretch;
    padding: 0 !important;
    background: #fff !important;       /* 투명 → 흰 배경 */
    border-top: 1px solid #efefef;
    font-size: 13px;
}
.hd_pops_footer button {
    flex: 1;                           /* 두 버튼 균등 분할 */
    border: 0;
    margin: 0;
    padding: 14px 8px;
    line-height: 1.2;
    background: #fff;
    color: #666;
    cursor: pointer;
}
.hd_pops_footer button:hover {
    background: #f7f7f7;
}
.hd_pops_reject {
    border-right: 1px solid #efefef;   /* 두 버튼 사이 구분선 */
}
.hd_pops_reject strong {
    color: #e5006d;                    /* 포인트 핑크 */
    font-weight: 700;
}
.hd_pops_close {
    font-weight: 600;
    color: #222;
}

@media (min-width: 768px) {
    #hd_pops_1 {
        position: fixed !important;
        top: 300px !important;
        right: 100px !important;
        left: auto !important;
    }
}

@media (max-width: 767px) {
    #hd_pop #hd_pops_1.lock-mobile {
        position: fixed !important;
        top: 150px !important;
        right: 10px !important;
        left: auto !important;
        width: 250px !important;
        height: 250px !important;
    }
}


@media (max-width: 575.98px) {
    #hd_pop .hd_pops .hd_pops_con {
        width: 250px !important;
        height: 250px !important;
    }
}


.hd_pops_footer button {
    margin-right:0 !important;

}


.lecture-head {
    display: none;
}

.lecture-nav { display: none;}