/*공통*/
#container_wr{background: #f8f8f8;}
#sub-brochure{
    position: relative;
}
.sub-brochure-bg{
    position: absolute;
    left: 50%;
    margin-left: -960px;
    width: 1920px;
}
.sub-brochure-bg img{
    width: 100%;
    padding-top: 180px;
}

.gw-list01>li{
    padding-left: 0;
}
.gw-list01>li:before{
    display: none;
}
#container {
    background: #f8f8f8;
    padding-bottom: 170px;
}

.gw-bbs-con {
    margin: 0 auto;
    width: 1200px;
    margin-top: 60px;
}

.more_opt {
    display: none;
    position: absolute;
    top: -128px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 100;
    box-shadow: 70px 70px 130px rgb(39 49 108 / 20%);
}

.more_opt:before {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: #b8bfc4 transparent transparent transparent;
}

.more_opt:after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: #fff transparent transparent transparent;
}

.more_opt li {
    border-bottom: 1px solid #f1f1f1;
    padding: 10px;
    float: inherit;
    width: 154px;
    margin: 0;
    color: #666;
    text-align: left
}

.more_opt li:last-child {
    border-bottom: 0
}

.more_opt li button,
.more_opt li a {
    width: 100%;
    border: 0;
    background: #fff;
    color: #666;
    text-align: left;
}

.more_opt li:hover a,
.more_opt li:hover button {
    color: #000
}

.more_opt li i {
    float: right;
    line-height: 20px
}

.btn_bo_user li>.gw-btn01{
    color: var(--main-color);
}

/* 페이징 */
.pg_wrap {
    display: flex;
    align-items: center;
    place-content: center;
    font-family: 'Poppins_SB', sans-serif;
}

.pg {
    text-align: center;
    display: flex;
}

.pg_page,
.pg_current {
    min-width: 15px;
    height: 30px;
    padding: 0 3px;
    margin: 0 6px;
    text-align: center;
}

.pg_page {
    color: #999 !important;
}

.pg_current {
    border-bottom: 2px solid #000;
}

.pg a:focus,
.pg a:hover {
    text-decoration: none
}

.pg_start {
    text-indent: -999px;
    overflow: hidden;
    padding: 0;
    background: url('img/gw-bbs-start.png') no-repeat 50% 50%;
    background-size: cover;
}

.pg_prev {
    text-indent: -999px;
    overflow: hidden;
    padding: 0;
    display: none;
}

.pg_end {
    text-indent: -999px;
    overflow: hidden;
    padding: 0;
    background: url("img/gw-bbs-end.png") no-repeat 50% 50%;
    background-size: cover;
}

.pg_next {
    text-indent: -999px;
    overflow: hidden;
    padding: 0;
    display: none;
}

/*list*/
#gw-bo-list #gall_ul {
    display: flex;
    flex-wrap: wrap;
    margin: 12px -12px 0;
    padding: 0;
    list-style: none;
    zoom: 1
}

#gw-bo-list #gall_ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: ""
}

.gall_row .col-gn-0,
.gall_row .col-gn-1,
.gall_row .col-gn-2,
.gall_row .col-gn-3,
.gall_row .col-gn-4,
.gall_row .col-gn-5,
.gall_row .col-gn-6,
.gall_row .col-gn-7,
.gall_row .col-gn-8,
.gall_row .col-gn-9,
.gall_row .col-gn-10 {
    position: relative;
    min-height: 1px;
    padding: 12px;
    *padding-left: 0;
    *padding-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 0
}

.gall_row .col-gn-0,
.gall_row .col-gn-1 {
    width: 100%
}

.gall_row .col-gn-2 {
    width: 50%
}

.gall_row .col-gn-3 {
    width: 33.33333333%
}

.gall_row .col-gn-4 {
    width: 25%
}

.gall_row .col-gn-5 {
    width: 20%
}

.gall_row .col-gn-6 {
    width: 16.66666667%
}

.gall_row .col-gn-7 {
    width: 14.28571428%
}

.gall_row .col-gn-8 {
    width: 12.5%
}

.gall_row .col-gn-9 {
    width: 11.11111111%
}

.gall_row .col-gn-10 {
    width: 10%
}

#gw-bo-list .search-container {
    padding: 80px 0;
    position: relative;
    width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
}

#gw-bo-list .search-container button {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
}

#gw-bo-list .sch_input {
    padding: 12px 17px;
    height: 55px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

#gw-bo-list .sch_input::placeholder {
    text-align: left;
    font-family: "NotoKr_M", sans-serif;
    color: #666;
}

#gw-bo-list .sch_input:focus {
    text-align: left;
    border-color: #000;
}

input[type="text"]:not(:focus) {
    text-align: left;
}

#bo_cate_on {
    background: #fff;
    box-shadow: 0 15px 10px rgba(34, 34, 34, .02);
    color: var(--main-color);
}

#bo_cate ul {
    zoom: 1;
}

#gw-bo-list .btn_bo_user>li {
    position: relative;
}

#gw-bo-list .btn_bo_user {
    place-content: center;
    margin-top: 200px;
}

#gw-bo-list .cnt_cmt {
    color: var(--main-color);
}

#gw-bo-list .bo-list-wrap {
    flex-wrap: wrap;
}

#gw-bo-list .gallery {
    position: relative;
    cursor: pointer;
}

#gw-bo-list .gallery:not(:last-child):not(:nth-last-child(2)):not(:nth-last-child(3)) {
    margin-bottom: 40px;
}

#gw-bo-list .gallery>a {
    display: block;
    width: 100%;
    height: 100%;
}

#gw-bo-list .gallery .gall_con {
    position: relative;
    transition: all .5s;
}

#gw-bo-list .gallery .gall_img {
    position: relative;
    display: block;
    z-index: 1;
}

#gw-bo-list .gallery .gall_img>a {
    display: block;
    width: 100%;
    transition: all .5s;
}

#gw-bo-list .gallery .gall_img>a>img {
    border-radius: 10px;
    transition: all .5s;
    box-shadow: rgba(95, 95, 95, 0.1) 0px 4px 20px;
}

#gw-bo-list .gallery .gall_chk {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

#gw-bo-list .gall_text_href {
    padding: 2rem;
    padding-top: 120px;
    background: #fff;
    margin-top: -120px;
    transition: all .5s ease-out;
}

#gw-bo-list .gall_text_href>div {
    border-top: 1px solid #ddd;
}
#gw-bo-list .gall_text_href a.file-download{
    transition: all .3s;
    font-size: 1.32rem;
}
#gw-bo-list .gall_text_href .gw-color-666{
    letter-spacing: 8px;
    color: #c4d6cb !important;
}
#gw-bo-list .gallery .content {
    position: relative;
    background: #fff;
    padding-top: 40px;
    min-height: 184px;
    display: flex;
    flex-direction: column;
    place-content: center;
}

#gw-bo-list .bo_tit {
    position: relative;
    font-size: var(--main-title04);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
#gw-bo-list .bo_tit{
    font-size: 1.25rem;
}

#gw-bo-list .bo-text {
    line-height: 1.45;
}

#gw-bo-list .profile_img {
    display: none;
}

#gw-bo-list .plus-btn {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 1px solid #c6c6c6;
    transition: all 0.3s;
}

#gw-bo-list .plus-btn>i {
    color: #ababab;
}

#gw-bo-list .gw-empty-list {
    border-top: 2px solid #000;
}

#gw-bo-list .gw-empty-list {
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
    border-top: 2px solid #ddd;
}

#gw-bo-list .gw-empty-list>h3 {
    font-size: var(--main-title03);
}

#gw-bo-list .no_image {
    background: #ddd;
}
#gw-bo-list .gall_con:hover .gall_text_href{
    box-shadow: 0 0 0 3px var(--main-color) inset;
}
#gw-bo-list .gall_con:hover a.file-download{
    color: var(--main-color)
}
#gw-bo-list .gall_con:hover .gall_img>a>img{
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
}
#gw-bo-list .gall_con:hover .gall_img>a {
    transform: translateY(-30px);
}

#gw-bo-list .gall_con:hover .plus-btn {
    background: var(--main-color);
    border: 1px solid var(--main-color);
}

#gw-bo-list .gall_con:hover .plus-btn>i {
    color: #fff;
}

/*view*/
#gw-bo-v {
    padding-top: 120px;
}

#gw-bo-v .profile_img {
    display: none;
}

#bo_v_info .profile_info {
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

#bo_v_atc {
    text-align: center;
    min-height: 250px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding: 20px;
}

#gw-bo-v .bo_v_nb {
    padding-top: 60px;
    margin-bottom: 60px;
    align-items: center;
    border-top: 1px solid #ddd;
    text-align: center;
}

#gw-bo-v .bo_v_nb>li>a {
    display: block;
    width: 100%;
    transition: all .3s;
    text-transform: uppercase;
    font-size: var(--main-title04);
}

#gw-bo-v .bo_v_nb>li>.list-btn {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    position: relative;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .05);
    transition: all .3s;
}

#gw-bo-v .bo_v_nb>li>.list-btn:hover {
    background: var(--main-color);
}

#gw-bo-v .bo_v_nb>li>a.disabled-link {
    color: #ccc;
}

#gw-bo-v .btn_bo_user {
    place-content: center;
}

#gw-bo-v .more_opt {
    top: -160px;
}

#bo_v_link .gw-box01 {
    margin-bottom: 30px;
}

#bo_v_link .gw-box01 .gw-flex {
    align-items: center;
    gap: 10px;
}
.gw-empty-list {
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
    border-top: 2px solid #ddd;
}

.gw-empty-list>h3 {
    font-size: var(--main-title03);
}

#wr_content {
    background: #fff;
}

#bo_vc .cmt_contents {
    background: #fff;
}

#bo_vc .gw-box02 {
    border: 2px solid #ddd;
    margin-bottom: 20px;
}

#bo_v_sns {
    place-content: center;
}

#bo_v_sns>li {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #ddd;
}

#bo_v_sns>li>a {
    display: block;
    width: 100%;
    height: 100%;
    color: #666;
}

#bo_v_sns>li>a.disabled {
    color: #ccc;
}

#bo_v_act {
    place-content: center;
}

#bo_vc_w .bo_vc_w_wr input {
    background: #fff;
}

#gw-bo-v .bo_v_nb>li>a {
    position: relative;
}

#gw-bo-v .bo_v_nb>li:not(:nth-of-type(2))>a:before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    top: -80px;
    opacity: 0;
    transition: all .3s;
}

#gw-bo-v .bo_v_nb>li:not(:nth-of-type(2))>a:hover:before {
    opacity: 1;
}

#gw-bo-v .bo_v_nb>li>.prev>i {
    transition: all .3s;
}

#gw-bo-v .bo_v_nb>li>.prev:hover {
    color: var(--main-color);
}

#gw-bo-v .bo_v_nb>li>.prev:hover>i {
    transform: translateX(-10px);
}

#gw-bo-v .bo_v_nb>li>.next>i {
    transition: all .3s;
}

#gw-bo-v .bo_v_nb>li>.next:hover {
    color: var(--main-color);
}

#gw-bo-v .bo_v_nb>li>.next:hover>i {
    transform: translateX(10px);
}

#gw-bo-v .bo_v_nb>li:not(:nth-of-type(2))>a.disabled-link:before {
    opacity: 0;
}

#gw-bo-v .bo_v_nb>li>.disabled-link:hover>i {
    transform: translateX(0);
}




/* 게시판 쓰기 */
#char_count_desc {
    display: block;
    margin: 0 0 5px;
    padding: 0
}

#char_count_wrap {
    margin: 5px 0 0;
    text-align: right
}

#char_count {
    font-weight: bold
}

#autosave_wrapper {
    position: relative
}

#autosave_wrapper .gw-btn03 {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
}

#autosave_pop {
    display: none;
    z-index: 10;
    position: absolute !important;
    top: 34px;
    right: 0;
    width: 350px;
    height: auto !important;
    height: 180px;
    max-height: 180px;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 70px 70px 130px rgb(39 49 108 / 20%);
}

#autosave_pop:before {
    content: "";
    position: absolute;
    top: -8px;
    right: 45px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #000 transparent
}

#autosave_pop:after {
    content: "";
    position: absolute;
    top: -7px;
    right: 45px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #fff transparent
}

html.no-overflowscrolling #autosave_pop {
    height: auto;
    max-height: 10000px !important
}

/* overflow 미지원 기기 대응 */
#autosave_pop strong {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}

#autosave_pop div {
    text-align: center;
    margin: 0 !important
}

#autosave_pop button {
    margin: 0;
    padding: 0;
    border: 0
}

#autosave_pop ul {
    padding: 15px;
    border-top: 1px solid #ddd;
    list-style: none;
    overflow-y: scroll;
    height: 130px;
    border-bottom: 1px solid #ddd
}

#autosave_pop li {
    padding: 10px;
    border-bottom: 1px solid #fff;
    background: #f3f3f3;
    zoom: 1
}

#autosave_pop li:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: ""
}

#autosave_pop a {
    display: block;
    float: left
}

#autosave_pop span {
    display: block;
    float: right;
    color: #999;
    font-family: 'Poppins_R', sans-serif;
}

.autosave_close {
    cursor: pointer;
    width: 100%;
    height: 30px;
    background: none;
    color: #888;
    font-weight: bold;
    font-size: 0.92em
}

.autosave_close:hover {
    background: #f3f3f3;
    color: #3597d9
}

.autosave_content {
    display: none
}

.autosave_del {
    background: url(./img/close_btn.png) no-repeat 50% 50%;
    text-indent: -999px;
    overflow: hidden;
    height: 20px;
    width: 20px
}


/*글쓰기*/
#gw-bo-w {
    padding-top: 120px;
    width: 1320px;
}

#gw-bo-w>h2 {
    padding-bottom: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
}

#gw-bo-w>form>div:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

#gw-bo-w>form input {
    margin-top: 10px;
    background: #fff;
}

#gw-bo-w .file-name {
    background: #fff;
    width: calc(80% - 3px);
}

#gw-bo-w .file-name .num {
    border-bottom: 1px solid #000;
    margin-left: 10px;
}

#gw-bo-w .gw-btn-wrap {
    margin: 0 auto;
}

#gw-bo-w .file_del {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
}

.btn_cke_sc {
    font-size: 14px;
}

.cke_sc_def {
    font-size: 14px;
}

@media screen and (max-width:1280px) {
    #container {
        padding-bottom: 120px;
    }

    .gw-bbs-con {
        width: 100%;
        padding: 0 40px;
    }

    /*write*/
    #gw-bo-w {
        width: 100%;
    }
}

@media screen and (max-width:1024px) {
    #gw-bo-list .gallery .content{
        place-content: start;
    }
    #gw-bo-list .gallery .gall_img>a>img{
        box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 20px -10px;
    }
    #gw-bo-list .gall_con:hover .gall_img>a>img{
        box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -10px;
    }
    .gw-bbs-con {
        width: 100%;
        padding: 0 20px;
    }
    #gw-bo-list .gall_text_href{
        height: 300px;
    }

    /*list*/
    #gw-bo-list .search-container {
        padding: 60px 0;
        width: 100%;
    }

    #gw-bo-list .gw-table01 .td_chk {
        text-align: left;
    }

    #gw-bo-list .gw-table01 .td_subject {
        display: flex;
        align-items: center;
    }

    #gw-bo-list .icon-wrap {
        right: 20px;
    }
}

@media screen and (max-width:900px) {
    #gw-bo-list .btn_bo_user{
        margin-top: 100px;
    }
    #gw-bo-list .gall_text_href{
        min-width: 184px;
        height: auto;
    }
    /* #gw-bo-list .gallery .content{
        padding-top: 28px;
    } */
    #container {
        padding-bottom: 60px;
    }

    /*write*/
    #gw-bo-w {
        padding-top: 60px;
    }

    /*list*/
    .gall_row .col-gn-3 {
        width: 50%
    }

    .gall_row .col-gn-4 {
        width: 50%
    }

    .gall_row .col-gn-5 {
        width: 50%
    }

    .gall_row .col-gn-6 {
        width: 50%
    }

    .gall_row .col-gn-7 {
        width: 50%
    }

    .gall_row .col-gn-8 {
        width: 50%
    }

    .gall_row .col-gn-9 {
        width: 50%
    }

    .gall_row .col-gn-10 {
        width: 50%
    }

    #gw-bo-list .gallery:not(:last-child) {
        margin-bottom: 40px;
    }

    /*view*/
    #gw-bo-v {
        padding-top: 60px;
    }
}

@media screen and (max-width:576px) {
    #gw-bo-list .gall_text_href{
        padding-top: 0;
    }
    #gw-bo-list .gallery .content{
        min-height: auto;
    }
    /*공통*/
    .pg_page,
    .pg_current {
        height: 25px;
    }

    /*말풍선*/
    .sv_on {
        left: auto;
        right: 0;
    }

    .sv_wrap .sv:before {
        left: auto;
        right: 15px;
    }

    .sv_wrap .sv:after {
        left: auto;
        right: 15px;
    }

    /*list*/
    .gall_row .col-gn-3 {
        width: 100%
    }

    .gall_row .col-gn-4 {
        width: 100%
    }

    .gall_row .col-gn-5 {
        width: 100%
    }

    .gall_row .col-gn-6 {
        width: 100%
    }

    .gall_row .col-gn-7 {
        width: 100%
    }

    .gall_row .col-gn-8 {
        width: 100%
    }

    .gall_row .col-gn-9 {
        width: 100%
    }

    .gall_row .col-gn-10 {
        width: 100%
    }

    #gw-bo-list .search-container {
        padding: 40px 0;
        width: 100%;
        flex-wrap: wrap;
    }

    #gw-bo-list .gall_text_href {
        padding-top: 80px;
        margin-top: -80px;
    }

    #gw-bo-list .icon-wrap {
        right: 10px;
    }

    #gw-bo-list .btn_bo_user {
        width: 100%;
    }

    #gw-bo-list .btn_bo_user>li {
        flex: 1;
        font-size: 12px;
    }

    #gw-bo-list .gw-table01 .td_subject {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    #gw-bo-list .bo_cate_link {
        margin-right: 0;
        margin-bottom: 5px;
    }

    /*write*/
    #gw-bo-w>form>div {
        flex-direction: column;
    }

    #gw-bo-w>form>div .gw-w-15 {
        width: 100% !important;
        margin-bottom: 10px;
    }

    #gw-bo-w>form>div .gw-w-85 {
        width: 100% !important;
        flex-wrap: wrap;
    }

    #gw-bo-w>form>div .gw-w-85>li {
        width: 40%;
    }

    #gw-bo-w>form>div>.gw-w-50:first-child {
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

    #gw-bo-w .file-name {
        width: calc(75% - 3px);
    }

    .gw-file-input-button {
        width: 25% !important;
    }

    .btn_cke_sc {
        font-size: 12px;
    }

    .cke_sc_def {
        font-size: 12px;
    }

    .cke_sc_def dd {
        text-align: center;
    }

    /*view*/
    #gw-bo-v .sv_wrap .sv {
        right: auto;
        left: 0;
    }

    #gw-bo-v .sv_wrap .sv:before {
        left: 15px;
        right: auto;
    }

    #gw-bo-v .sv_wrap .sv:after {
        left: 15px;
        right: auto;
    }

    #bo_vc .cm_wrap>.gw-flex-btw {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    #bo_vc .cmt_contents {
        margin-bottom: 0 !important;
    }

    #gw-bo-v .bo_v_nb {
        margin-bottom: 30px;
    }

    #gw-bo-v .gw-btn0102 {
        width: 100% !important;
    }

    #gw-bo-v .btn_bo_user {
        width: 100%;
        flex-direction: column;
    }

    #gw-bo-v .btn_bo_user>li {
        flex: 1;
        font-size: 12px;
    }

    #bo_v_info .profile_info {
        padding-bottom: 20px;
        margin-bottom: 20px;
        font-size: 12px;
    }

    #gw-bo-v .bo_v_nb {
        padding-top: 30px;
    }

    #gw-bo-v .bo_v_nb>li:not(:nth-of-type(2))>a:before {
        top: -50px;
    }

    #gw-bo-v .more_opt {
        top: -80px;
    }

    .more_opt li {
        width: 122px;
    }
}

@media screen and (max-width:375px) {

    /*list*/
    .pg_page,
    .pg_current {
        margin: 0 3px;
    }

    /*view*/
    #gw-bo-v .bo_v_nb>li>.list-btn {
        width: 50px;
        height: 50px;
    }
}