@charset "utf-8";
#bo-list{
    position: relative;
}

/** 목록 카테고리 ****************************************************/
#bo-category{
    display:flex;
    align-items: center;
    justify-content: start;
    gap:2rem;
    margin-bottom:4rem;
}
#bo-category a{
    display: block;
    font-size:2.2rem;
    font-weight: 600;
    line-height:1.8;
    color:#c3b3af;
    border-bottom:.4rem solid rgba(127,114,111,0);
}
#bo-category a#bo_cate_on{
    color:#7f726f;
    border-bottom:.4rem solid rgba(127,114,111,1);
}

@media screen and (max-width:767px) {
    #bo-category{
        flex-direction: column;
        align-items: start;
    }
}

/** 목록 top****************************************************/
#bo_btn_top{
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:6rem;
}
#bo_btn_top #bo_list_total{
    font-size:1.8rem;
    color:#333;
}
#bo_btn_top #bo_list_total b{
    font-weight: 700;
}
#bo_btn_top #bo_sch_wrap .bo_sch{
    border:none;
}
#bo_btn_top #bo_sch_wrap .bo_sch form{
    display:flex;
    align-items: center;
    gap:.5rem;
}
#bo_btn_top #bo_sch_wrap .bo_sch form .sch_bar{
    display:flex;
    align-items: center;
}
#bo_btn_top #bo_sch_wrap .bo_sch form .sch_input{
    width:23rem;
    height:5.4rem;
    padding:0 2rem;
    font-size:1.6rem;
    border:1px solid #e2e2e2;
}
#bo_btn_top #bo_sch_wrap .bo_sch form .sch_input::placeholder {
    color: #aaa;
}
#bo_btn_top #bo_sch_wrap .bo_sch form .sch_btn{
    width:10.5rem;
    height:5.4rem;
    line-height: 5.4rem;
    color: var(--color-white);
    font-size:1.6rem;
    font-weight: 500;
    background: var(--color-primary);
}

@media screen and (max-width:767px) {
    #bo_btn_top{
        flex-wrap: wrap;
        margin-bottom:4rem;
    }
    #bo_btn_top #bo_sch_wrap{
        width:100%;
        margin-top:2rem;
    }
    #bo_btn_top #bo_sch_wrap .bo_sch form{
        justify-content: end;
    }
}

@media screen and (max-width:479px) {
    #bo_btn_top #bo_sch_wrap .bo_sch form{
        flex-wrap: wrap;
    }
    #bo_btn_top #bo_sch_wrap .bo_sch form .com-select,
    #bo_btn_top #bo_sch_wrap .bo_sch form .sch_bar{
        width:100%;
    }
    #bo_btn_top #bo_sch_wrap .bo_sch form .sch_input{
        flex:1;
    }
}

/** 목록 list****************************************************/
#bo-list-wrap{
    border-top:2px solid #7f726f;
}
#bo-list-wrap .bo-head{
    font-weight: 600;
    color:var(--color-white);
    background:var(--color-primary2);
}
#bo-list-wrap .bo-head span{
    line-height:1.37;
}
#bo-list-wrap .bo-head,
#bo-list-wrap .bo-row{
    display: grid;
    padding: 2rem 0;
    text-align:center;
    grid-template-columns: 11rem 1fr 12rem 15rem 16rem;
    font-size:1.6rem;
}
#bo-list-wrap .bo-row{
    border-bottom:1px solid #ddd;
    -webkit-transition:all 0.3s;
    -o-transition:all 0.3s;
    transition:all 0.3s;
}
#bo-list-wrap .bo-row .num .num-notice{
    padding:.5rem 1.5rem;
    font-size:1.4rem;
    color:var(--color-white);
    background:var(--color-primary);
    font-weight: 300;
}
#bo-list-wrap .bo-row .subject{
    text-align: left;
}
#bo-list-wrap .bo-row .subject b.cate{
    font-weight: 600;
}
#bo-list-wrap .bo-row .empty{
    grid-column: 1 / span 5;
    text-align: center;
}
#bo-list-wrap .bo-row .ico{
    display: inline-block;
    vertical-align: middle;
    background-size:100% auto;
    background-position: center;
    background-repeat: no-repeat;
    font-size:0;
}
#bo-list-wrap .bo-row .secret-ico{
    margin-left:1rem;
    width:1.2rem;
    height:1.7rem;
    background-image:url("../../../img/board/board-list-secret-ico.png");
}
#bo-list-wrap .bo-row .file-ico{
    display: block;
    width:2.3rem;
    height:1.9rem;
    background-image:url("../../../img/board/board-list-file-ico.png");
    margin:0 auto;
}

@media screen and (max-width:767px) {
    #bo-list-wrap .bo-head span{
        text-align: center;
    }
    #bo-list-wrap .bo-head, #bo-list-wrap .bo-row {
        text-align: left;
        grid-template-columns: 1fr 10rem 10rem;
        gap: 1rem;
        padding:2rem;
    }
    #bo-list-wrap span.num,
    #bo-list-wrap span.name{
        display:none;
    }
}

/** 버튼 list****************************************************/
#bo-btns{
    position: absolute;
    bottom:0;
    right:0;
    display:flex;
    align-items: center;
    justify-content: end;
    gap:1rem;
}
#bo-btns.no-position{
    margin-top:7rem;
    position:static;
}
#bo-btns.ju-center{
    justify-content: center;
}
#bo-btns.ju-start{
    justify-content: start;
}
#bo-btns .link-btn{
    width:7.2rem;
    height:3.4rem;
    line-height: 3.4rem;
    text-align: center;
    color:var(--color-white);
    background:#af989c;
    font-size: 1.4rem;
}

@media screen and (max-width:1023px) {
    #bo-btns{
        position: static;
        margin-top:3rem;
    }
}

/** 글쓰기 ****************************************************/
#bo_write .top-box{
    display:flex;
    align-items: center;
    justify-content: space-between;
    border-bottom:3px solid var(--color-base);
    padding-bottom:2rem;
}
#bo_write .top-box strong{
    font-size:3.2rem;
    font-weight: 600;
}
#bo_write .write_div .grid2{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
}
#bo_write .write_div .write-item{
    display:grid;
    grid-template-columns: 25rem 1fr;
    padding:2rem 0;
    border-bottom:1px solid #ddd;
}
#bo_write .write_div .write-item .title-box{
    display: flex;
    align-items: center;
    font-size:1.6rem;
    font-weight: 600;
    padding:0 4rem 0 0;
    gap:.5rem;
}
#bo_write .write_div .write-item .content-box{
    font-size:1.6rem;
}
#bo_write .write_div .write-item .content-box.link{
    display:flex;
    flex-direction: column;
    gap:1.5rem;
}
#bo_write .write_div .write-item .frm_input{
    width:100%;
    height:6rem;

}
#bo_write .write_div .write-item textarea{
    width:100%;
    height:30rem;
    background:var(--color-white);
    padding:2rem;
    border:none;
    box-shadow: none;
}
#bo_write .write_div .write-item textarea:not(:focus){
    outline: none;
}

#bo_write .write_div .write-item .file-item{
    display:grid;
    grid-template-columns: minmax(0, 47rem) minmax(0, 20rem) minmax(15rem, 1fr);
    column-gap:3rem;
    row-gap: 1.5rem;
    align-items: center;
}
#bo_write .write_div .write-item .file-item:not(:last-child){
    margin-bottom:1.5rem;
}
#bo_write .write_div .write-item .file-item .file-name{
    line-height:6rem;
}
#bo_write .write_div .write-item .file-item > label{
    height:6rem;
    line-height:6rem;
    text-align: center;
    font-size:1.6rem;
    font-weight: 600;
    color:#2c2c2c;
    border:1px solid #2c2c2c;
    border-radius: .6rem;
    cursor: pointer;
}
#bo_write .write_div .write-item .file-item .file-content{
    grid-column: 1 / span 3;
}

@media screen and (max-width:1023px) {
    #bo_write .write_div .grid2{
        display:grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #bo_write .write_div .write-item .file-item{
        grid-template-columns: 1fr minmax(0, 15rem);
        column-gap:1.5rem;
    }

    #bo_write .write_div .write-item .file-item .file_del{
        grid-column: 1 / span 2;
    }
    #bo_write .write_div .write-item .file-item .file-content{
        grid-column: 1 / span 2;
    }
}

@media screen and (max-width:767px) {
    #bo_write .write_div .write-item{
        grid-template-columns: 1fr;
    }
    #bo_write .write_div .write-item .title-box{
        padding:0 0 1.5rem;
    }
}

/** 상세 ****************************************************/
#bo_view{
    color:var(--color-base);
}
#bo_view .subject-box{
    text-align: center;
    padding-bottom:4rem;
    border-bottom:1px solid var(--color-base);
}
#bo_view .subject-box .date{
    display: block;
    font-size:12px;
    line-height: 1;
    margin-bottom:3.5rem;
}
#bo_view .subject-box h4{
    font-size:3rem;
    font-weight: 300;
    line-height:1.3;
}
#bo_view .subject-box .info-box,
#bo_view .subject-box .info-box span{
    display:flex;
    align-items: center;
    gap:1rem;
}
#bo_view .subject-box .info-box{
    justify-content: center;
}
#bo_view .subject-box .info-box span{
    font-size:1.6rem;
}
#bo_view .subject-box .info-box span:not(:first-child):before{
    content:"";
    width:1px;
    height:1.2rem;
    background:#999;
}
#bo_view .content-box{
    padding:6rem 0 10rem;
    font-size:1.6rem;
    border-bottom:1px solid var(--color-base);
    line-height: 2.5;
}
#bo_view .content-box > .inner-box{
    width:830px;
    max-width: 100%;
    margin:0 auto;
}
#bo_view .asset-wrap{
    margin-top:17rem;
}
#bo_view .asset-wrap > .asset-box:first-child{
    margin-bottom:1.5rem;
}
#bo_view .asset-box{
    display: flex;
    align-items: center;
    border:1px solid var(--color-base);
    padding:2rem 0;
    font-size:1.6rem;
}
#bo_view .asset-box .title-box{
    width:15rem;
    padding:0 2.5rem;
    font-weight: 600;
}
#bo_view .asset-box ul{
    display: flex;
    flex-direction: column;
    gap:1rem;
    width:calc(100% - 15rem);
}
#bo_view .asset-box ul a{
    display: block;
    min-height:2.6rem;
    padding:0 4rem;
    background-size: 2.6rem;
    background-repeat: no-repeat;
    background-position: center left;
    -webkit-transition:all 0.3s;
    -o-transition:all 0.3s;
    transition:all 0.3s;
}
#bo_view .asset-box ul a.file{
    background-image:url("../../../img/board/board-view-file-ico.png");
}
#bo_view .asset-box ul a.link{
    background-image:url("../../../img/board/board-view-link-ico.png");
}
#bo_view .asset-box ul a.file:hover{
    background-image:url("../../../img/board/board-view-file-ico-on.png");
}
#bo_view .asset-box ul a.link:hover{
    background-image:url("../../../img/board/board-view-link-ico-on.png");
}
#bo_view .bottom-box{
    position: relative;
}
#bo_view .bo_v_nb{
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    display:flex;
    align-items: center;
    justify-content: center;
    gap:7rem;
    font-size:1.4rem;
}

@media screen and (max-width:991px) {
    #bo_view .bo_v_nb{
        margin-top:7rem;
        position:static;
        -webkit-transform:translate(0,0);
        -moz-transform:translate(0,0);
        -o-transform:translate(0,0);
        transform:translate(0,0);
    }
}
@media screen and (max-width:767px) {
    #bo_view .asset-wrap{
        margin-top:10rem;
    }
}


/** 갤러리 목록 ****************************************************/
#bo-gallery-wrap ul{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap:4.5rem;
    row-gap: 7rem;
}
#bo-gallery-wrap ul > li{
    overflow: hidden;
    position:relative;
    min-width: 0;
}
#bo-gallery-wrap .img-box{
    display: block;
    position:relative;
    padding-top:66.67%;
    overflow: hidden;
}
#bo-gallery-wrap .img-box img{
    position:absolute;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    object-fit: cover;
}
#bo-gallery-wrap .img-box .no-img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#af989c;
    color:var(--color-white);
    font-size:1.4rem;
}
#bo-gallery-wrap .text-box{
    margin-top:2rem;
    line-height: 1;
}
#bo-gallery-wrap .text-box .cate{
    display: block;
    font-size:12px;
    color:#af989c;
    font-weight: 600;
    margin-bottom:1.5rem;
}
#bo-gallery-wrap .text-box .subject{
    display: block;
    font-size:2rem;
    font-weight: 600;
    margin-bottom:1.5rem;
}
#bo-gallery-wrap .text-box .content{
    font-size:1.4rem;
    margin-bottom:2rem;
}
#bo-gallery-wrap .text-box span{
    font-size:10px;
}

#bo-gallery-wrap .no-list{
    text-align: center;
    padding:5rem 0;
    grid-column: 1 / span 3;
}

@media screen and (max-width:1023px) {
    #bo-gallery-wrap ul{
        column-gap:2rem;
        row-gap: 5rem;
    }
}
@media screen and (max-width:767px) {
    #bo-gallery-wrap ul{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width:380px) {
    #bo-gallery-wrap ul{
        grid-template-columns: 1fr;
    }
}

