@charset "utf-8";
/* =====================================

	* board

    CSS CONTENTS : 
    01. list
    02. list::effect
    03. button
    04. list::paging
    05. view
    06. view::comment
    07. view::move
    08. write

====================================== */
/* Type C */
.sch-wrap.type3 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 40px;
}
.sch-wrap.type3 .form-group{
    position: relative;
    width: auto;
    padding: 20px;
    padding-right: 0;
    border: 1px solid #d0d0d0;
    border-radius: 50px;
}
.sch-wrap.type3 .form-item{
    height: 30px;
    padding: 0 20px;
    border: 0;
    background-color: transparent;
}
.sch-wrap.type3 .sch-cate{
    width: 140px;
}
.sch-wrap.type3 .sch-key{
    position: relative;
    width: 430px;
    padding-right: 60px;
    border-left: 1px solid #d0d0d0;
}
.sch-wrap.type3 .btn-sch{
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../image/ic_sch_black.png');
}

/* list */
.board-list{
    width: 100%;
    border-top: 2px solid #3b3b3b;
}
.board-list > li{
    width: 100%;
    border-bottom: 1px solid #e2e2e2;
}
.board-list > li.active{
    background-color: #f6f8fc;
}
.board-list > li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 15px;
}
.board-list > li > div + div{
    flex: 0 0 auto;
    width: 180px;
}
.list-con{
    width: calc(100% - 180px);
    padding-right: 30px;
}
.bbs-tit{
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}
.bbs-tit > a{
    vertical-align: middle;
}
.ic-new,
.ic-cnt{
    margin: 3px 0;
}
.ic-new{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #e86537;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    vertical-align: top;
}
.ic-cnt{
    display: inline-block;
    min-width: 34px;
    padding: 5px;
    background-color: #f4f4f4;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #7b7b7b;
    line-height: 1;
    text-align: center;
    vertical-align: top;
}
.bbs-tit:has(.ic-new) > a{
    max-width: calc(100% - 30px);
}
.bbs-tit:has(.ic-cnt) > a{
    max-width: calc(100% - 40px);
}
.bbs-tit:has(.ic-new):has(.ic-cnt) > a{
    max-width: calc(100% - 70px);
}
.board-list .reply .bbs-tit{
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: url('../image/ic_reply.png');
}

.list-con > span{
    display: inline-block;
    font-size: 15px;
}
.list-con > span + span{
    position: relative;
    padding-left: 12px;
    margin-left: 10px;
}
.list-con > span + span:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 5px;
    left: 0;
    width: 1px;
    height: 13px;
    background-color: #d0d0d0;
}
.bbs-cate{
    display: inline-block;
    margin-bottom: 5px;
    padding: 8px 18px;
    background-color: #e86537;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}
.bbs-cate + a{
    padding-left: 10px;
}

.view-cnt{
    margin-bottom: 30px;
    text-align: right;
}
.view-cnt button + button{
    margin-left: 25px;
}
.view-cnt .cnt{
    display: inline-block;
    margin-left: 5px;    
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
}

.bbs-admin{
    text-align: right;
}
.bbs-admin .form-item{
    width: 80px;
    height: 30px;
    margin: 2px;
    padding: 0 5px;
    border-color: #cecece;
    background-color: #fff;
    font-size: 1.4rem;
    vertical-align: top;
}
.bbs-admin .btn.btn-modify,
.bbs-admin .btn.btn-delete{
    width: 30px;
    height: 30px;
    margin: 2px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #cecece;
}
.bbs-admin .btn.btn-modify{
    background-image: url('../image/ic_modify.png');
}
.bbs-admin .btn.btn-delete{
    background-image: url('../image/ic_delete.png');
}

.board-list .no-data{
    display: block;
    padding: 50px 0;
    font-size: 2rem;
    font-weight: 300;
    background-color: #f6f8fc;
}
.board-list .no-data img{
    margin: 0 auto 20px;
}

/* list::effect */
.ef01,
.ef02,
.ef03,
.ef04{
    position: relative;
}
.ef01{
    overflow: hidden;
}
.ef01:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 0;
    right: 100%;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #f6f8fc;
    transition: 0.5s ease;
}
.ef01:hover:before{
    right: 0;
}

/* button */
.board-wrap .btn-wrap{
    margin-top: 20px;
}
.btn-admin .btn.btn-modify,
.btn-admin .btn.btn-delete{
    width: 27px;
    height: 27px;
    margin: 1px;
    border: 1px solid transparent;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: center;
}
.btn-admin .btn.btn-modify{
    border-color: #7d7d7d;
    background-color: #fff;
    background-image: url('../image/ic_modify.png');
}
.btn-admin .btn.btn-delete{    
    border-color: #565656;
    background-color: #565656;
    background-image: url('../image/ic_delete.png');
}
.board-view + .btn-wrap{
    text-align: right;
}

.btn.btn-list{
    background-color: #fff;
    border-color: #9f9f9f;
    color: #191919;
}
.btn.btn-modify{
    background-color: #f7f8ff;
    border-color: #162694;
    color: #162694;
}
.btn.btn-delete{
    background-color: #fff;
    border-color: #e21a52;
    color: #e21a52;
}
.btn.btn-cancel{
    background-color: #8b8b8b;
    border-color: #8b8b8b;
    color: #fff;
}
.btn.btn-write{
    background-color: #162694;
    border-color: #162694;
    color: #fff;
}

/* list::paging */
.paging-wrap{
    margin-top: 40px;
    text-align: center;
}
.paging{
    display: inline-block;
    vertical-align: top;
    text-align: center;
}
.paging > li{
    overflow: hidden;
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 1px;
    border-radius: 3px;
    border: 1px solid transparent;
    vertical-align: top;
    transition: 0.3s ease;
}
.paging > .num:hover,
.paging > .num.on,
.paging > .num:hover > a,
.paging > .num.on > a{
    font-weight: 700;
    color: #000000;
}
.paging > li > a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3px 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: #b3b3b3;
    transition: 0.3s ease;
}
.paging > li:not(.num){
    background-repeat: no-repeat;
    background-position: center;
    border-color: #cecece;
    background-color: #fff;
    transition: 0.3s ease;
}
.paging > li:not(.num):hover{
    background-color: #f7f7f7;
}
.paging .first{
    background-image: url('../image/ic_first.png');
}
.paging .prev{
    margin-right: 15px;
    background-image: url('../image/ic_prev.png');
}
.paging .next{
    margin-left: 15px;
    background-image: url('../image/ic_next.png');
}
.paging .last{    
    background-image: url('../image/ic_last.png');
}

/* view */
.board-view{
}
.view-contop{
    padding: 20px 25px;
    background-color: #f6f8fc;
    border-top: 2px solid #3b3b3b;
    border-bottom: 1px solid #bbbbbb;
    font-size: 1.7rem;
}
.view-contop + .view-contents{
    border-top: 0;
}
.view-tit{
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 500;
}
.view-attr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    line-height: 1;
}
.view-info > span{
    display: inline-block;
    position: relative;
    vertical-align: top;
    font-size: 1.5rem;
}
.view-info > span + span{
    padding-left: 8px;
    margin-left: 6px;
}
.view-info > span + span:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 14px;
    margin-top: -7px;
    background-color: #d9d1d1;
}
.view-info > span strong{
    font-weight: 600;
}
.view-contop .view-cnt{
    margin-bottom: 0;
}
.view-link > a{
    display: inline-block;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: 0 center;
    background-image: url('../image/ic_view_link.png');
    color: #000;
    word-break: break-all;
    vertical-align: top;
}
.view-contents{
    overflow-x: auto;
    min-height: 400px;
    padding: 30px 15px;
    border-bottom: 1px solid #e2e2e2;
    font-size: 1.7rem;
}
.board-view:has(.view-attach) .view-contents{
    border-bottom: 0;
}
.view-contents *{
    font: inherit;
}
.view-contents img{
    max-width: 100%;
}

.view-attach{
    padding: 0 15px 20px;
    border-bottom: 1px solid #e2e2e2;
}
.view-attach-con{
    font-size: 1.7rem;
}
.view-attach-con .con > a{
    display: block;
    padding: 13px 20px;
    padding-left: 50px;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
    background-repeat: no-repeat;
    background-position: 20px 15px;
    background-image: url('../image/ic_file2.png');
    line-height: 1.3;
    color: #000;
    transition: 0.3s ease;
    word-break: break-all;
}
.view-attach-con .con > a + a{
    margin-top: 10px;
}
.view-attach-con .con > a:hover{
    border-color: #9f9f9f;
}


/* write */
.write-wrap{
    border-top: 2px solid #3b3b3b;
}
.write-wrap .form-tit{
    background-color: #f6f8fc;
    color: #191919;
}
