/**************************************************************************************
    Board style
**************************************************************************************/

/* ==================================================================================
    검색
================================================================================== */
.search-area {
    position: relative;
    max-width: 100%;
    margin-bottom: 10px;
    text-align: right;
}
.search-area .board-search-radio {
    display: inline-block;
    margin: 0 3px 0 0;
    vertical-align: middle;
    font-size: 13px;
}
.search-area .board-search {
    display: inline-block;
    margin: 0 0 0 5px;
    vertical-align: middle;
}
.search-area .board-search .form-control {
    display: inline-block;
    width: 160px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
}
.search-area .board-search .btn {
    height: 30px;
    line-height: 30px;
    padding: 0 7px;
    font-size: 13px;
    border: 1px solid #0167B9;
    background-color: #0167B9;
    transition: all 0.25s;
}
.search-area .board-search .btn:hover {
    border: 1px solid #333;
    background-color: #333;
}

/* ==================================================================================
    게시판 리스트
================================================================================== */
.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: 860px !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;
    width: 100% !important;
}

.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 #125aac;
}
.section.board .table-responsive > .table.table-bordered {
    border-left: 0;
    border-right: 0;
}
.section.board .table-responsive > .table th,
.section.board .table-responsive > .table td {
    padding: 10px 5px;
    vertical-align: middle;
    border-left: 0 !important;
}
.section.board .table-responsive > .table td a.title {
    font-size: 17px;
    font-weight: 500;
}
.section.board .table-responsive > .table tr th:last-child,
.section.board .table-responsive > .table tr td:last-child {
    border-right: 0 !important;
}

.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;
}

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

/* ==================================================================================
    게시판 본문
================================================================================== */
.section.board table#board_view > tbody > tr > td.title {
    font-size: 17px;
}
.section.board table#board_view > tbody > tr > td {
    padding: 0 10px;
}
.section.board table#board_view td.article-text {
    padding: 40px 20px;
}

/**************************************************************************************
    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;
}

/**************************************************************************************
    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;
}

.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; }



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

/* phone ~ 480px */
@media screen and (max-width: 767px) {
    .section.board .table {
        table-layout: fixed;
        width: 100%;
        max-width: 100%;
    }
    .section.board .table caption{
        text-align: left;
    }
    .section.board .search-area {
        display: inline-block;
    }
    .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;
    }

    #board_list > thead > tr > th:nth-child(1) {
        width: 60px;
    }
    #board_list > thead > tr > th:nth-child(4) {
        width: 100px;
    }

    #board_list > tbody > tr > td:nth-child(2) {
        white-space: normal;
    }
    #board_list > tbody > tr > td:nth-child(4) {
        width: 100px;
        font-size: 13px;
    }
}
