/* default */
/* default */
/* default */
#overlay {
    position: fixed;
    background: rgb(0, 0, 0);
    z-index: 99999;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
#overlay_popup {
    position: fixed;
    z-index: 999999999;
    left: 50%;
    top: 50%;
    width: 400px;
    height: 160px;
    margin-left: -200px;
    margin-top: -80px;
    overflow: hidden;
    background: white;
    border-radius: 0px;
}
#overlay_popup .popup_head {
    width: 400px;
    height: 45px;
    background: #fafafa;
    border-bottom: 1px solid #efefef;
    overflow: hidden;
}
#overlay_popup .popup_head .title {
    list-style-type: none;
    line-height: 45px;
    font-weight: 500;
    color: #333;
    margin-left: 26px;
    letter-spacing: -1px;
    text-align: left;
}
#overlay_popup .popup_body {
    width: 400px;
    height: 115px;
    overflow: hidden;
}
#overlay_popup .popup_body .input-wrap {
    width: 80%;
    margin: 10px auto;
}
#overlay_popup .popup_body .input-wrap .input-passwd {
    width: 100%;
    height: 30px;
    line-height: 30px;
}
#overlay_popup .popup_body .btn-wrap {
    width: 80%;
    margin: 10px auto;
    text-align: center;
}
#overlay_popup .popup_body .btn-wrap .btn {
    line-height: 35px;
    height: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    vertical-align: middle;
    padding: 0 20px;
    color: #fff;
    background: #36312c;
    border: 1px solid #36312c;
    transition: .5s;
    display: inline;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
#overlay_popup .popup_body .btn-wrap .btn:hover {
    background: #fff;
    color: #36312c;
}
/* board list */
.board-list {
    width: 90%;
    margin: 100px auto;
    text-align: left;
}
.board-list fieldset {
    float: left;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 3px;
    margin-bottom: 10px;
}
.board-list fieldset select.search-select {
    border: 0;
    padding: 9px 5px;
    height: 38px;
    float: left;
    border-right: 1px solid #ddd;
}
.board-list fieldset input.search-input {
    height: 38px;
    border: 0;
    padding-left: 5px;
    background-color: transparent;
    float: left;
}
.board-list fieldset button.btn-search {
    height: 38px;
    float: left;
    background-color: #e9e9e9;
    border: 0;
    width: 40px;
    font-size: 15px;
    cursor: pointer;
}
.board-list .pagination {
    margin: 10px 0;
}
.board-list .pagination ul {
    width: 100%;
    overflow: hidden;
    text-align: center;
}
.board-list .pagination ul li {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #000;
    margin-right: 5px;
}
.board-list .pagination ul li.on {
    color: #fff;
    background-color: #898989;
}
.board-list .btn-row {
    margin: 10px 0;
    text-align: right;
}
.board-list .btn {
    line-height: 35px;
    height: 35px;
    padding: 0 10px;
    font-weight: bold;
    border: 0;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
.board-list .btn-write {
    color: #fff;
    background: #36312c;
    border: 1px solid #36312c;
    transition: .5s;
    padding: 0 20px;
    cursor: pointer;
}
.board-list table.tbl-board-list {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}
.board-list table.tbl-board-list caption {
    display: none;
}
.board-list table.tbl-board-list thead th {
    color: #545b64;
    background-color: #f0f0f0;
    border: 1px solid #a9a9a9;
    padding: 1rem;
    text-align: center;
}
.board-list table.tbl-board-list thead th:first-child {
    border-left: 0;
}
.board-list table.tbl-board-list thead th:last-child {
    border-right: 0;
}
.board-list table.tbl-board-list tbody td {
    color: #545b64;
    background-color: #fff;
    border-bottom: 1px solid #a9a9a9;
    padding: 1rem;
}
.board-list table.tbl-board-list tbody td.td_num {
    width: 10%;
    text-align: center;
}
.board-list table.tbl-board-list tbody td.td_subject {
}
.board-list table.tbl-board-list tbody td.td_name {
    width: 18%;
    text-align: center;
}
.board-list table.tbl-board-list tbody td.td_read {
    width: 10%;
    text-align: center;
}
.board-list table.tbl-board-list tbody td.td_datetime {
    width: 18%;
    text-align: center;
}
.board-list table.tbl-board-list tbody td.td_no_data {
    height: 200px;
    line-height: 200px;
    text-align: center;
}
/* board view */
.board-view {
    width: 60%;
    margin: 100px auto;
    text-align: left;
}
.board-view header h2 {
    border-top: 2px solid #808080;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #ddd;
    font-size: 13px;
    padding: 10px 0px;
    background: #fafafa;
}
.board-view header h2 span {
    display: block;
    font-size: 15px;
    margin: 5px 0 0;
    word-break: break-all;
    padding: 0px 10px;
}
.board-view section.board-desc {
    min-height: 200px;
    height: auto !important;
}
.board-view section.board-desc .infos {
    margin: 10px 0 30px;
    width: 100%;
    line-height: 1.7em;
    border-bottom: 2px solid #ddd;
    word-break: break-all;
    overflow: hidden;
    padding: 0 10px 10px 10px;
    clear: both;
}
.board-view section.board-desc .infos .writer {
    float: left;
}
.board-view section.board-desc .infos .read-cnt {
    float: right;
    margin-left: 10px;
}
.board-view section.board-desc .infos .reg-date {
    float: right;
    margin-left: 10px;
}
.board-view section.board-desc .desc {
    margin: 10px 0 30px;
    width: 100%;
    line-height: 1.7em;
    min-height: 200px;
    word-break: break-all;
    overflow: hidden;
    padding: 0 10px;
}
.board-view .attach-files {
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}
.board-view .attach-files ul img {
    width: 100%;
}
.board-view .btn-group {
    text-align: right;
}
.board-view .btn-group .btn {
    line-height: 35px;
    height: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    vertical-align: middle;
    padding: 0 20px;
    color: #fff;
    background: #36312c;
    border: 1px solid #36312c;
    transition: .5s;
    display: inline;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
.board-view .btn-group .btn:hover {
    background: #fff;
    color: #36312c;
}
.board-view .comment-write {
    margin: 20px 0;
}
.board-view .comment-write [type=text],
.board-view .comment-write [type=password] {
    height: 35px;
    margin-right: 10px;
}
.board-view .comment-write .btn {
    line-height: 35px;
    height: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    vertical-align: middle;
    padding: 0 20px;
    color: #fff;
    background: #36312c;
    border: 1px solid #36312c;
    transition: .5s;
    display: inline;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
.board-view .comment-write textarea {
    width: 100%;
    height: 100px;
    resize: none;
    margin-top: 5px;
}
.board-view .comment-list {
    margin: 50px 0 10px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}
.board-view .comment-list ul {
    overflow: hidden;
}
.board-view .comment-list ul li {
    border-top: 1px solid #ddd;
    padding: 10px 0;
}
.board-view .comment-list ul li .infos {
    border-bottom: 1px dashed #e9e9e9;
    overflow: hidden;
    padding-bottom: 10px;
}
.board-view .comment-list ul li .infos p:first-child {
    float: left;
}
.board-view .comment-list ul li .infos p:last-child {
    float: right;
}
.board-view .comment-list ul li .desc {
    clear: both;
    border-bottom: 1px dashed #e9e9e9;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
/* board write */
.board-write {
    width: 60%;
    margin: 100px auto;
    text-align: left;
}
.board-write .board-write-row {
    padding: 5px 30px;
}
.board-write .board-write-row .btn {
    line-height: 35px;
    height: 35px;
    padding: 0 10px;
    font-weight: bold;
    border: 0;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
.board-write .board-write-row .btn-cancel {
    color: #fff;
    background: #969696;
    border: 1px solid #969696;
    transition: .5s;
    cursor: pointer;
}
.board-write .board-write-row .btn-submit {
    color: #fff;
    background: #36312c;
    border: 1px solid #36312c;
    transition: .5s;
    padding: 0 20px;
    cursor: pointer;
}
.board-write .board-write-row .form-label {
    display: block;
}
.board-write .board-write-row .form-input {
    width: 100%;
    height: 40px;
    padding: 5px;
    outline: none;
    border-top: none;
    border-left: none;
    border-right: none;
    margin-bottom: 10px;
}
.board-write .board-write-row textarea {
    width: 100%;
    height: 350px;
    resize: none;
    padding: 5px;
}
.board-write .board-write-row.btn-row {
    text-align: center;
}

/* min-width: 1025px */
@media screen and (min-width: 1025px) {
    .board-list {
        width: 60%;
        margin: 100px auto;
        text-align: left;
    }
}

/* min-width: 769px */
/* min-width: 769px */
/* min-width: 769px */
@media screen and (min-width: 769px) {
    .board-write .board-write-row .form-input::placeholder {
        color: #bbb;
    }
    .board-write .board-write-row textarea::placeholder {
        color: #bbb;
    }
}

/* max-width: 768px */
/* max-width: 768px */
/* max-width: 768px */
@media screen and (max-width: 768px) {
    .board-view {
        width: 80%;
        margin: 50px auto;
        text-align: left;
    }
    .board-write {
        width: 80%;
        margin: 50px auto;
        text-align: left;
    }
    .board-write .board-write-row .form-label {
        display: none;
    }
}

/* max-width: 640px */
/* max-width: 640px */
/* max-width: 640px */
@media screen and (max-width: 640px) {
    .board-list fieldset {
        float: left;
        width: 100%;
        border: 1px solid #ccc;
        background: #fff;
        border-radius: 3px;
        margin-bottom: 10px;
        position: relative;
    }
    .board-list fieldset select.search-select {
        border: 0;
        padding: 9px 5px;
        width: 90px;
        height: 38px;
        float: left;
        border-right: 1px solid #ddd;
        position: absolute;
        top: 0;
        left: 0;
    }
    .board-list fieldset input.search-input {
        width: 100%;
        height: 38px;
        border: 0;
        padding: 0 38px 0 100px;
        background-color: transparent;
        float: left;
    }
    .board-list fieldset button.btn-search {
        height: 38px;
        float: left;
        background-color: #e9e9e9;
        border: 0;
        width: 40px;
        font-size: 15px;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
    }
    .board-view {
        width: 100%;
        margin: 50px auto;
        padding: 0 10px;
        text-align: left;
    }
    .board-view .comment-write [type=text],
    .board-view .comment-write [type=password] {
        width: 80px;
        margin-right: 5px;
    }
    .board-write {
        width: 100%;
        margin: 50px 0;
        text-align: left;
    }
    .board-write .board-write-row .form-label {
        display: none;
    }
    .board-write .board-write-row textarea {
        width: 100%;
        height: 250px;
        resize: none;
        padding: 5px;
    }
}







