@charset "utf-8";

/* gnb */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}
.sub-menu {position: fixed; top: 0; left: 0; background-color: #191919; width: 100%; height: calc((var(--vh, 1vh) * 100)); z-index: 8; padding: 50px; color: #fff; display: none; animation: fadeOut .3s ease; opacity: 0;}
.sub-menu h2 {font-size: 70px; font-weight: 900;}
.sub-menu > ul {margin-top: 50px; overflow: auto; max-height: calc((var(--vh, 1vh) * 100) - 300px); width: 100%;}
.sub-menu > ul::-webkit-scrollbar{width:5px; height:5px; background-color: rgba(0,0,0,0.9); border-radius: 3px;}
.sub-menu > ul::-webkit-scrollbar-thumb{background: #E9F7F6; border-radius: 5px;}
.sub-menu > ul > li {}
.sub-menu > ul > li:not(:last-child) {margin-bottom: 30px;}
.sub-menu > ul > li .li-tit {font-size: 40px; font-weight: 900; color: #fff; display: flex; align-items: center;}
.sub-menu > ul > li .li-tit .menu-li-btn {position: relative; margin-left: 15px;}
.sub-menu > ul > li .li-tit .menu-li-btn::before, .sub-menu > ul > li .li-tit .menu-li-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    display: inline-block;
    width: 21px;
    height: 4px;
    transition: transform 500ms ease;
}
.sub-menu > ul > li .li-tit .menu-li-btn::before {transform: rotate(90deg)}
.sub-menu > ul > li .li-tit .menu-li-btn::after {transform-origin: center;}
.sub-menu > ul > li .li-tit.on .menu-li-btn::before {transform: rotate(180deg);}
.sub-menu .menu-list {margin-top: 30px; display: none;}
.sub-menu .menu-list > ul {}
.sub-menu .menu-list > ul > li {}
.sub-menu .menu-list > ul > li:not(:last-child) {margin-bottom: 24px;}
.sub-menu .menu-list > ul > li a {font-size: 24px; color: #fff;}
#hd {transition: unset !important;}
#hd.none {background-color: unset;}

/* 게시판 목록 */
#bo_cate {}
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {display: flex; margin: 0 -10px;}
#bo_cate li {padding: 0 10px;}
#bo_cate a {display:block;padding:9px 16px;border:1px solid #999999;color:#999999; font-size: 16px;}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none;background:#292929;color:#fff}
#bo_cate #bo_cate_on {z-index:2;background:#292929;color:#fff;font-weight:bold;border:1px solid #292929;}

.new_icon {padding: 2px 5px; font-size: 10px; background-color: #292929; color: #fff; border-radius: 5px;}

/* sch-wrap */
.gallery-top {display: flex; align-items: center; justify-content: space-between; margin-bottom: 50px;}
.sch-wrap {display: flex;}
.sch-wrap select {border: none; border-bottom: 1px solid #E4E4E4; padding: 10px 0; font-size: 16px;}
.sch-wrap input {border: none; padding: 10px 0; font-size: 16px; color: #292929;}
.sch-wrap input[type=text]:focus, .sch-wrap textarea:focus, .sch-wrap select:focus {border: none !important; box-shadow: unset;}
.sch-wrap .sch_bar {border-bottom: 2px solid #E4E4E4; margin-left: 20px;}
.sch-wrap .sch_bar button {width: 30px; height: 30px; background-color: unset; border: none;}
.sch-wrap .sch_bar button i {background: url("../../../assets/images/ico/ico-search2.svg");background-repeat: no-repeat;background-size:cover;display:inline-block;width:30px;height:30px;}

#gall_ul {display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 20px; grid-row-gap: 20px;}
#gall_ul li {}
.gall_img {position: relative;}
.gall_img img {width: 100%; object-fit: cover;}

.gall-bg-wrap {display: none; opacity: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #292929; display: flex; align-items: center; justify-content: center; transition: all .3s;}
#gall_ul li .gall_img:hover .gall-bg-wrap {opacity: 1;}
.gall-bg {display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%;}
.gall-bg-wrap .gall-bg-writer {font-size: 24px; color: #fff; text-align: center; margin-bottom: 20px; padding: 0 20px; word-break: keep-all;}
.gall-bg-wrap .gall-li-more {display: flex; align-items: center; justify-content: center; width: 100%; max-width: 180px; position: relative; overflow: hidden; z-index: 1;}
.gall-bg-wrap .gall-li-more .gall-detail {display: flex; align-items: center; justify-content: space-between; position: relative; padding: 10px; width: 100%;}
.gall-bg-wrap .gall-li-more .gall-detail p {font-size: 16px; color: #fff;}
.gall-bg-wrap .gall-li-more .gall-detail img {width: auto;}
.gall-bg-wrap .gall-bottom {background-image: url("../../../assets/images/user/gall-bg.svg");background-repeat: no-repeat;background-size: 100% 100%;width: 100%;height: 100%;max-height: 195px;position: absolute;bottom: 0;left: 0;opacity: 0.1;}

.gall-bg-wrap .gall-li-more span {position: absolute; transition: .2s;}
.gall-bg-wrap .gall-li-more span.top {width: 100%; height: 1px; top: 0; left: 0; right: 100%; background: linear-gradient(45deg, rgba(255,255,255,0.3) 0 60%, #fff 50% 100%);}
.gall-bg-wrap .gall-li-more span.top::before {content: ''; display: inline-block; width: 60%; height: 1px; top: 0; left: -60%; background: #fff; position: absolute;}
.gall-bg-wrap .gall-li-more span.right {width: 1px; height: 100%; right: 0; background: #fff;}
.gall-bg-wrap .gall-li-more span.right::before {content: ''; display: inline-block; width: 1px; height: 100%; top: -100%; left: -0; background: rgba(255,255,255,0.3); position: absolute;}
.gall-bg-wrap .gall-li-more span.bottom {width: 100%; height: 1px; bottom: 0; left: 0; background: linear-gradient(45deg, rgba(255,255,255,0.3) 0% 40%, #fff 0 100%);}
.gall-bg-wrap .gall-li-more span.bottom::before {content: ''; display: inline-block; width: 60%; height: 1px; top: 0; right: -60%; background: rgba(255,255,255,0.3); position: absolute;}
.gall-bg-wrap .gall-li-more span.left {width: 1px; height: 100%; left: 0; background: rgba(255,255,255,0.3);}
.gall-bg-wrap .gall-li-more span.left::before {content: ''; display: inline-block; width: 1px; height: 100%; bottom: -100%; left: -0; background: #fff; position: absolute;}
.gall-bg-wrap .gall-li-more img {margin-bottom: 2px;}
.gall-bg-wrap .gall-li-more:hover span.top {transform: translateX(60%);}
.gall-bg-wrap .gall-li-more:hover span.right {transform: translateY(100%);}
.gall-bg-wrap .gall-li-more:hover span.bottom {transform: translateX(-60%);}
.gall-bg-wrap .gall-li-more:hover span.left {transform: translateY(-100%);}

.bo_tit {display: flex; flex-direction: column; margin-top: 14px; color: #282828;}
.bo_tit .gall-tit {font-size: 16px; font-weight: 500;}
.bo_tit .gall-writer {font-size: 22px; font-weight: 700; margin-top: 8px;}

/*게시판 상세*/
#bo_v {max-width: calc(1160px + 80px); margin: 0 auto; margin-bottom:20px;background:#fff;box-sizing:border-box;}
#bo_v header {display: flex; align-items: end; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid #000;}

#bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#ff3061;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title {font-size: 14px;}
#bo_v_title .bo_v_cate {display:inline-block;line-height:20px;background:#e2eaf6;color:#3a8afd;padding:0 10px;border-radius:3px;}
#bo_v_title .bo_v_tit {display:block;font-size:2em;margin:5px 0 0;font-weight: 600;line-height:1.3; word-break: break-word;}
#bo_v_title .sv_member, #bo_v_title .bo_v_date {font-size: 14px; color: #757575;}
/* #bo_v_title .sv_member::after {content:'|'; display:inline-block; color: #757575; margin: 0 5px 0 7px;} */

#bo_v_info {margin:0;border-bottom:1px solid #f1f1f1;color:#666}
#bo_v_info:after {display:block;visibility:hidden;clear:both;content:""} 
#bo_v_info h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_info .profile_info {margin:20px 0 10px;display:inline-block;float:left}
#bo_v_info .profile_info .pf_img {float:left;margin-right:10px}
#bo_v_info .profile_info .pf_img img {border-radius:50%;width:50px;height:50px}
#bo_v_info .profile_info .profile_info_ct {float:left;padding:5px 0;line-height:18px}

.profile_info_ct {display: flex; align-items: center; width: max-content;}
.profile_info_ct span {margin: 0 5px;}
.profile_info_ct strong {font-size: 14px;}
#bo_v .ico-hit {background: url("../../../assets/images/ico/ico-hit.svg"); background-repeat: no-repeat; background-size: cover; display: inline-block; width: 25px; height: 25px;}
.bo_v_nb {position:relative;margin:60px 0 30px;clear:both;text-align:left}
.bo_v_nb:after {display:block;visibility:hidden;clear:both;content:""}
.bo_v_nb li {border-top:1px solid #f1f1f1;padding:20px;display:flex;}
.bo_v_nb li:last-child {border-bottom:1px solid #f1f1f1}
.bo_v_nb li:hover {background:#f6f6f6}
.bo_v_nb li a {font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
.bo_v_nb li i {font-size:13px;color:#b3b3b3;margin-left:14px;}
.bo_v_nb li .nb_tit {display:inline-block;padding-right:40px;color:#000;min-width: 90px; font-size:14px;}
.bo_v_nb li .nb_date {float:right;color:#b3b3b3;display:none;}
.go-list {display:flex; align-items: center; justify-content: center; width: 173px; height: 50px; border: 1px solid #000; border-radius: 3px; margin: 0 auto; font-size: 16px;}

#bo_v_con {margin: 30px 0 40px; display: flex;}
.gall-detail-top {font-size: 24px; font-weight: 700; margin-bottom: 16px;}
.gall-detail-cont {font-size: 18px; font-weight: 400; line-height: 1.8; padding: 0 14px;}

/*archive-slide*/
.archive-slide {width: 100%; max-width: 600px; height: 100%; /*max-height: 440px;*/ overflow: hidden; position: relative; padding: 24px 40px; border: 1px solid #BABABA;}
.archive-slide ul {align-items: center;}
.archive-slide ul li {}
.archive-slide ul li a {cursor: unset;}
.archive-slide ul li img {width: 100%; height: 100%; /*max-width: 550px; max-height: 330px;*/ object-fit: cover;}
.archive-slide ul li .slide-info {margin-top: 14px; font-size: 16px; color: #292929; line-height: 1.5; position: relative;}

.archive-info {margin-left: 40px; flex: 1;}
.archive-info .archive-writer {font-size: 24px; font-weight: 700; margin: 20px 0 30px;}

.archive-slide .swiper-pagination {position: absolute; width: fit-content; right: 24px; bottom: 2%; left: unset; font-size: 16px;}
.archive-slide .swiper-prev {background-image: url("../../../assets/images/user/archive-prev.svg"); background-repeat: no-repeat; background-size: contain; width: 20px; height: 36px; cursor: pointer; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);}
.archive-slide .swiper-next {background-image: url("../../../assets/images/user/archive-next.svg"); background-repeat: no-repeat; background-size: contain; width: 20px; height: 36px; cursor: pointer; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);}

/*pg-wrap*/
.pg_wrap {margin: 50px auto 0; width: 100%; float: unset; text-align: center;}
.pg_page {font-size: 14px;}
.pg_current {background: #424242; border: 1px solid #424242;}

@media screen and (max-width:1280px) {
    .bo_tit {margin-top: 10px;}
    .bo_tit .gall-writer {font-size: 20px; margin-top: 6px;}

    /*상세페이지*/
    #bo_v_title .bo_v_tit {font-size: 26px;}
    #bo_v_con {flex-direction: column;}
    .archive-slide {max-width: 900px; /*max-height: 740px;*/ margin: 0 auto;}
    /* .archive-slide ul li img {max-width: 850px; max-height: 510px;} */
    /* .archive-slide .swiper-pagination {bottom: 8%;} */
    .archive-info {margin: 0;}
    .archive-info .archive-writer {margin-top: 40px;}
}

@media screen and (max-width:1000px) {
    .gallery-top {flex-direction: column; margin-bottom: 40px;}
    .sch-wrap {width: 100%; justify-content: center;}
    .sch-wrap .bo_sch {width: 100%; max-width: 570px;}
    .sch-wrap .sch_bar {margin: 30px 0 0; display: flex; align-items: center;}
    .sch-wrap .sch_bar .sch_input {width: 100%;}
    #gall_ul {grid-template-columns: repeat(2, 1fr); grid-row-gap: 30px;}

    /*상세페이지*/
    .profile_info_ct span {display: none;}
    #bo_v .ico-hit {margin-right: 4px;}
}

@media screen and (max-width:768px) {
    .gallery-top {margin-bottom: 30px;}
    #bo_cate ul {flex-wrap: wrap; margin: -5px;}
    #bo_cate li {padding: 5px;}
    #bo_cate a {font-size: 14px; padding: 6px 12px;}
    .sch-wrap .sch_bar {margin: 20px 0 0; font-size: 14px;}
    .sch-wrap .sch_bar .sch_input {height: 30px;}
    .sch-wrap .sch_bar button i {width: 25px; height: 25px;}

    #gall_ul {grid-template-columns: repeat(1, 1fr); grid-row-gap: 25px;}
    .bo_tit {margin-top: 12px;}
    .bo_tit .gall-tit {font-size: 14px;}
    .bo_v_nb li .nb_tit {padding-right: 20px;}

    .archive-slide ul li .slide-info {word-break: keep-all;}
    .archive-slide {padding: 24px 30px;}
    .archive-slide .swiper-pagination {font-size: 14px; right: 14px; bottom: 2%;}
    .archive-slide .swiper-prev {width: 16px; height: 30px; left: 6px; top: 45%;}
    .archive-slide .swiper-next {width: 16px; height: 30px; right: 6px; top: 45%;}

    /*상세페이지*/
    #bo_v header {flex-direction: column; align-items: baseline; padding-bottom: 6px;}
    #bo_v_title .bo_v_tit {font-size: 22px; margin: 5px 0;}
    .archive-info .archive-writer {margin: 30px 0 25px;}
    #bo_v_con {margin: 20px 0 25px;}
    .gall-detail-cont {font-size: 14px;}
    .bo_v_nb {margin-top: 50px;}

    /*페이징*/
    .bo_v_nb li {padding: 15px 5px;}
    .bo_v_nb li .nb_tit {min-width: 84px; padding-right: 20px;}
}