/**************************************************************************************
    Board style
**************************************************************************************/
/* board-page */
.section.board {
    text-align: justify;
}

.free-board-intro {
    margin: 0 0 40px;
}

.section.board .board-contents {
    text-align: justify;
    line-height: 1.8;
    word-break: keep-all;
    font-family: "맑은 고딕", "Malgun Gothic", "Nanum Gothic", Dotum, Gulim, sans-serif;
}

.section.board .board-contents strong {
    font-weight: bold;
}

.section.board .board-contents * {
    max-width: 840px !important;
    font-family: "맑은 고딕", "Malgun Gothic", "Nanum Gothic", Dotum, Gulim, sans-serif;
    line-height: 1.8;
    word-break: break-all;
    /*word-break: keep-all;*/
}

.section.board .board-contents h1 {
    font-size: 2em;
    font-weight: 500;
}

.section.board .board-contents h2 {
    font-size: 1.5em;
    font-weight: 500;
}

.section.board .board-contents h3 {
    font-size: 1.17em;
    font-weight: 500;
}

.section.board .board-contents h4 {
    font-size: 1em;
    font-weight: 500;
}

.section.board .board-contents h5 {
    font-size: .83em;
    font-weight: 500;
}

.section.board .board-contents h6 {
    font-size: .67em;
    font-weight: 500;
}

.section.board .board-contents table {
    /*max-width: 840px !important;*/
    max-width: 100% !important;
    margin: 20px auto;
    border: 3px solid #333;
}

.section.board .board-contents table td {
    border: 1px solid #333;
}

.section.board .board-list-area {
    margin-top: -30px;
}

.fs-15 {
    font-size: 15px;
}

.section.board .reply {
    font-size: 14px;
    color: #5bc0de;
}

.section.board .reply a {
    font-size: 14px;
    color: #27a2c5;
}

.section.board .reply a:hover {
    color: #1578c4;
}

.section.board .reply .label {
    margin: 0 5px 0 2px;
    border-radius: 2px;
}

.section.board .table-responsive {
    border: 0;
}

.section.board .table-responsive > .table {
    border-top: 3px solid #014099;
}

.section.board .table-responsive > .table th,
.section.board .table-responsive > .table td {
    padding: 10px 5px;
    vertical-align: middle;
}

.section.board .table {
    width: 100%;
    border-bottom: 1px solid #dfdfdf;
}

.section.board .table.tb-fixed {
    table-layout: fixed;
}

.section.board .table caption {
    text-align: right;
    padding: 5px 0;
}

.section.board .table thead {

}

.section.board .table thead th {
    font-size: 13px;
    font-weight: 700;
    vertical-align: middle;
}

.section.board .table tbody {

}

.section.board .table .tb-file-area th {
    font-size: 13px;
    font-weight: 700;
}

.section.board .table .tb-file-area td a {
    font-size: 13px;
}

.section.board .table tbody td.tb-title {
    font-size: 16px;
    font-weight: 700;
}

.section.board .table tbody td {
    vertical-align: middle;
}

.section.board .table tbody tr.board-contents > td {
    padding: 30px 10px 30px;
}

.section.board .table tbody tr.board-contents > td p,
.section.board .table tbody tr.board-contents > td img {
    max-width: 100% !important;
    height: auto !important;
}

.section.board .table-responsive > .table > tbody > tr.board-contents > td {
    white-space: normal;
}

.section.board .td-bottom-area {
    text-align: center;
}

.section.board .btn-area {
    text-align: center;
    overflow: hidden;
}

.section.board .btn-area a {
    margin: 0 5px;
}

.section.board .btn-area-admin {
    margin: 0 0 15px;
    padding: 10px 0;
    text-align: center;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    background-color: #f0f0f0;
}

.section.board .search-area {
    display: inline-block;
    margin: 0 auto;
}

.section.board .search-area .board-search-radio {
    float: left;
    margin: 7px 10px 0 0;
}

.section.board .search-area .board-search {
    float: left;
    margin: 5px 0 0 10px;
}

.section.board .search-area .board-search .form-control {
    display: inline-block;
    width: 200px;
    vertical-align: middle;
}

/* paging */
.section.board .pagination {
    margin: 10px 0;
}

/**************************************************************************************
    Popup style
**************************************************************************************/
/* Layout style */

#pop_wrap {
    border-top: 3px solid #1578c4;
}

#pop_header {
    margin: 0 0 20px;
    padding: 10px 20px;
    border-bottom: 1px solid #dfdfdf;
    background-color: #f0f0f0;
}

#pop_header h1 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

#pop_container {

}

#pop_container .innerWrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#pop_contents {
    padding: 0 20px;
}

#pop_contents .btn-area {
    text-align: center;
}

#pop_contents .btn-area a {
    margin: 0 5px;
}


/*lt-ie9*/
/*border radio-inline*/
.lt-ie9 .checkbox-inline, .lt-ie9 .radio-inline {
    position: relative;
    display: inline !important;
    padding-left: 20px;
    margin-bottom: 0px;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
}

/**************************************************************************************
    Notice Popup style
**************************************************************************************/
/* Layout style */

#notice_wrap {

}

#notice_header {
    margin: 0;
    padding: 18px 20px 15px;
    background-color: #1578c4;
}

#notice_header h1 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

#notice_header h1 .date {
    margin: 0 0 0 5px;
    font-size: 12px;
    font-weight: 300;
}

#notice_container {

}

#notice_container .innerWrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#notice_contents {
    padding: 0;
}

#notice_contents .file-area {
    margin: 0;
    padding: 8px 20px 5px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fafafa;
}

#notice_contents .file-area span {
    display: block;
    margin: 1px 0;
}

#notice_contents .notice-contents {
    margin: 20px 0;
    padding: 0 20px;
}

#notice_footer {
    padding: 10px 20px;
    color: #fff;
    text-align: right;
    background-color: #222d32;
}

#notice_contents .btn-area {
    text-align: center;
}

#notice_contents .btn-area a {
    margin: 0 5px;
}

/* 내용 테이블 */
.tb-board-sample {
    width: 100% !important;
}

.tb-board-sample th {
    padding: 5px 10px !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #333 !important;
    border: 1px solid #333 !important;
    background-color: #fafafa !important;
}

.tb-board-sample td {
    padding: 5px 10px !important;
    font-size: 13px !important;
    color: #333 !important;
    border: 1px solid #333 !important;
}

/**************************************************************************************
    Bootstrap.css - Modify
**************************************************************************************/
.table-responsive > table {
    table-layout: fixed;
}

.btn {
    border-radius: 2px;
}

.panel-title {
    font-size: 15px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    vertical-align: middle;
    word-break: break-all;
}

.form-control {
    height: 30px;
    padding: 3px 6px;
    font-size: 13px;
    border-radius: 2px;
    box-shadow: none;
}

/* 해당 엘리먼트를 인라인 요소로 바꿈 */
.element-inline {
    display: inline-block !important;
    width: auto !important;
}

.label {
    padding: 4px 6px 3px;
    font-weight: 300;
    border-radius: 0;
}

.label-board-primary {
    background-color: #ff4057;
}

.highlight-board-blue {
    color: #ff4057 !important;
}

.w10 {
    width: 10% !important;
}

.w20 {
    width: 20% !important;
}

.w30 {
    width: 30% !important;
}

.w40 {
    width: 40% !important;
}

.w48 {
    width: 48% !important;
}

.w50 {
    width: 50% !important;
}

.w60 {
    width: 60% !important;
}

.w70 {
    width: 70% !important;
}

.w80 {
    width: 80% !important;
}

.w90 {
    width: 90% !important;
}

.w100 {
    width: 100% !important;
}


/* *******************************************************************
    댓글 기능
******************************************************************* */
/* board_view */
#contents .section h3.comment-title {
    margin: 20px 0 5px;
    font-size: 17px;
    font-weight: bold;
    color: #333;
}

#output {
    margin: 0 0 20px;
    padding: 0;
    border-top: 2px solid #333;
    border-bottom: 1px solid #333;
}

#output ul.outer-comment {

}

#output ul.outer-comment li {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

#output ul.outer-comment li:last-child {
    border-bottom: 0;
}

#output ul.outer-comment li span.comment-box {
    display: block;
}

#output ul.outer-comment li span.comment-box span.comment-profile {
    position: relative;
    display: block;
    margin: 0 0 10px;
}

#output ul.outer-comment li span.comment-box span.comment-profile .icon-profile {
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    width: 36px;
    height: 36px;
    line-height: 36px;
    padding-top: 3px;
    text-align: center;
    border: 1px solid #dfdfdf;
    border-radius: 36px;
    background-color: #fafafa;
}

#output ul.outer-comment li span.comment-box span.comment-profile .icon-profile i {
    font-size: 36px;
    color: #ccc;
}

#output ul.outer-comment li span.comment-box span.comment-profile .posted-info {
    display: inline-block;
    padding: 0 0 0 12px;
    vertical-align: middle;
}

#output ul.outer-comment li span.comment-box span.comment-profile .posted-by {
    display: block;
    vertical-align: middle;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

#output ul.outer-comment li span.comment-box span.comment-profile .posted-by .icon-lock {
    margin-left: 10px;
    color: #ccc;
}

#output ul.outer-comment li span.comment-box span.comment-profile .posted-at {
    display: block;
    vertical-align: middle;
    font-size: 12px;
    color: #999;
}

#output ul.outer-comment li span.comment-box span.comment-profile .utility-btn-area {
    position: absolute;
    right: 0;
    top: 7px;
}

#output ul.outer-comment li span.comment-box span.comment-profile .utility-btn-area {

}

#output ul.outer-comment li span.comment-box span.comment-profile .utility-btn-area a.btn {
    margin-left: 5px;
}

#output ul.outer-comment li span.comment-box span.comment-profile .utility-btn-area a.btn-danger {
    margin-left: 15px;
}

#output ul.outer-comment li span.comment-box .content-area {

}

#output ul.outer-comment li span.comment-box .content-area .comment-text {
    font-size: 15px;
    line-height: 1.58;
    color: #333;
}

#output ul.outer-comment li span.comment-box .content-area .comment-text pre {
    font-size: 15px;
    line-height: 1.58;
    color: #333;
    text-wrap: wrap;
    background: transparent;
}

#output ul.outer-comment li span.comment-box .content-area .comment-text-private {
    padding: 10px;
    color: #999;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #fafafa;
}

/* 댓글 입력 */
.comment-form-container {
    margin: 30px 0 60px;
}

.comment-form-container .table-bordered {
    width: auto;
}

.comment-form-container .table-bordered th {
    padding: 7px 10px;
    text-align: center;
    background-color: #E9F2FE;
}

.comment-form-container .table-bordered td {
    padding: 7px 10px;
    text-align: center;
}

.comment-form-container .table-bordered td.captcha-td {
    padding: 7px 10px;
    text-align: center;
}

.comment-form-container .table-bordered td.captcha-td {
    padding: 7px 10px;
    text-align: center;
}

.comment-form-container .table-bordered td .captcha-img {
    margin: 0 0 5px;
}

.comment-form-container .table-bordered td .captcha-input {
    width: 240px;
    margin: 0 auto;
}

.comment-form-container .table-bordered td textarea {
    height: 120px;
}

.btn-comment-area {
    text-align: left;
}

.input-comment-private {
    display: inline-block;
    margin: 0;
}

.input-comment-private input,
.btn-box input {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    cursor: pointer;
}
.input-comment-private label,
.btn-box label  {
    display: inline-block;
    vertical-align: middle;
    margin-left: 7px;
    cursor: pointer;
}

/* *******************************************************************
    media-query
******************************************************************* */

/* phone ~ 480px */
@media screen and (max-width: 767px) {
    .section.board .table caption {
        text-align: left;
    }

    .section.board .search-area {
        display: inline-block;
        margin: 0 auto;
    }

    .section.board .search-area .board-search-radio {
        float: none;
        margin: 7px 10px 0 0;
        text-align: center;
    }

    .section.board .search-area .board-search {
        float: none;
        margin: 10px 0 0 10px;
        text-align: center;
    }

    .section.board .table {
        width: 100%;
        max-width: 100%;
    }

    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }

    .section.board .board-contents * {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }

    /* 댓글 입력 */
    .comment-form-container .table-bordered {
        width: 840px;
    }
}
