@charset "utf-8";

/* 게시판 버튼 */
#bo_list_total {
    width: 100%;
    font-size: 0.923em;
}

.nav-area {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 10px 0;
}

/*검색*/
.search-wrap form {
    display: block;
}

.search-wrap .input-group {
    display: flex;
    justify-content: flex-end
}

.search-wrap .input-group .form-control {
    position: relative;
    border: 1px solid #ddd;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.search-wrap .input-group-append .btn {
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-left: -1px
}

.search-wrap .input-group select.form-control {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.search-wrap .input-group input.form-control {
    border-radius: 0px;
    margin-left: -1px
}

@media (max-width:768px) {
    .nav-area {
        flex-wrap: wrap;
    }

    .nav-area>* {
        width: 100%;
    }

    .nav-area>*>* {
        text-align: center
    }

    .search-wrap {
        margin-top: 1em
    }

    .search-wrap .input-group {
        justify-content: center
    }

    .search-wrap .input-group select.form-control {
        width: 120px;
    }

    .search-wrap .input-group input.form-control {
        flex: 1 1 100px;
        min-width: 100px;
    }
}

/* 게시판 목록 공통 */
.all_chk {
    font-size: .813em;
    line-height: 1.2
}

#bo_list {
    margin: 0 auto;
    max-width: 767px;
    min-height: 500px;
    padding: 1em;
    clear: both
}

.board_list {
    width: 100%;
}

.board_list ul {
    display: flex;
    flex-wrap: wrap;
    gap: .75em;
}

.board_list li {
    position: relative;
    flex-basis: calc((100% - 1.5em) / 3);
    padding: 0;
}
.board_list li .bo_chk{
    position:absolute;
    top:.5em;
    left:.5em;
    z-index:1
}

.board_list li figure {
    border-radius: 4px;
    overflow: hidden;
    margin: 0
}

.board_list li img {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 또는 4 / 3, 16 / 9 등 */
    object-fit: cover;
    display: block;
}

.board_list li .listItem .title {
    font-size: 16px;
    font-weight: 500
}

.board_list li .listItem p {
    font-size: 14px;
    color: var(--secondary)
}

.list-img-wrap {
    position: relative
}

.list-cate {
    position: absolute;
    background-color: red;
    left: 5px;
    bottom: 5px;
    padding: 0 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
}

.list-content-wrap {
    padding: 12px 5px 0
}

@media (max-width:767px) {
    .board_list li {
        flex-basis: calc((100% - .75em) / 2);
        padding: 0;
        position: relative
    }

    .board_list li .listItem .title {
        font-size: 14px;
    }

    .board_list li .listItem p {
        font-size: 12px
    }
}

#bo_cate h2 {
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}

#bo_cate {
    background: #fff;
    color: #333;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch -ms-overflow-style: -ms-autohiding-scrollbar;
}

#bo_cate::-webkit-scrollbar {
    display: none;
}

#bo_cate ul {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0
}

#bo_cate ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: ""
}

#bo_cate li {
    display: inline-block
}

#bo_cate li a {
    display: block;
    padding: 0 15px;
    line-height: 55px;
    color: #333947
}

#bo_cate #bo_cate_on {
    position: relative;
    font-weight: bold;
    color: #0b6bc5
}

#bo_cate #bo_cate_on:before {
    width: 100%;
    content: '';
    height: 2px;
    background: #0b6bc5;
    position: absolute;
    bottom: 0;
    left: 0
}

#bo_sch {
    background: #fff;
    position: relative;
    margin: 20px 10px;
    border-radius: 3px
}

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

#bo_sch legend {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999em;
    overflow: hidden
}

#bo_sch select {
    border: 0;
    height: 42px;
    border: 1px solid #cfcfcf;
    vertical-align: top;
    padding-left: 10px
}

#bo_sch .sch_input {
    height: 42px;
    border: 1px solid #cfcfcf;
    padding: 0;
    background-color: transparent;
    padding: 0 40px 0 10px;
    vertical-align: top
}

#bo_sch .sch_input:focus {
    outline: none;
    border-bottom: 2px solid #0b6bc5
}

#bo_sch .sch_btn {
    height: 42px;
    position: absolute;
    color: #aaa;
    top: 0;
    right: 0;
    border: 0;
    width: 40px;
    background: none;
    font-size: 15px;
    vertical-align: top
}

.bo_fx {
    margin: 20px 0
}

.bo_fx:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: ""
}

.bo_fx li {
    display: inline-block;
}

.btn_bo_adm {
    float: left
}

.btn_wr {
    float: right
}

@media (max-width: 969px) {
    #bo_sch select {
        width: 30%;
        float: left
    }

    #bo_sch .sch_input {
        width: 68%;
        float: right;
    }

    #bo_list .all_chk {
        margin: 10px 0
    }
}

@media (min-width: 970px) {
    #bo_sch {
        float: right;
    }

    .board_list .li_cate {
        padding-left: 120px
    }

    .board_list .bo_cate_link {
        position: absolute;
        top: 15px;
        left: 15px;
        color: #0b6bc5;
        width: 100px
    }

}