/* Board common style */
.input-file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    max-width: 450px;
}
.input-file [type="file"] {
    overflow: hidden;
    position: absolute;
    margin: -1px;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0 none;
    clip: rect(0, 0, 0, 0);
}
.input-file .file-label {
    display: block;
    margin-left: 4px;
    padding: 0 25px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    background-color: #545454;
    border-radius: 2px;
    white-space: nowrap;
}
.input-file .file-name {
    width: 100%;
    height: 40px;
    line-height: 26px;
    text-indent: 5px;
    border: 1px solid #ddd;
}
.file-focus {
    outline: 1px dotted #d2310e;
}
@media (max-width: 768px) {
    .input-file .file-label {
        padding: 0 15px;
    }
}

/* BBS Style - List */
.empty-message {
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
}

.bbs-style2 {
    border-top: none !important;
}
.bbs-list-table {
    width: 100%;
    background: #fff;
    border-top: 2px solid #272728;
}
.bbs-list-table tr {
    border-bottom: 1px solid #e5e5e5;
}
.bbs-list-table tr th {
    padding: 20px 5px;
    font-size: 15px;
    color: #333333;
    background-color: #fbfbfb;
}
.bbs-list-table tr td {
    padding: 15px 5px;
    font-size: 14px;
    color: #555555;
    background-color: #fff;
}
.bbs-list-table tr th form,
.bbs-list-table tr td form {
    padding: 0 !important;
}
.bbs-list-table tr:last-child td {
    background-color: transparent;
}
.bbs-list-table tr td img {
    display: inline-block;
}
.bbs-mo-contents {
    display: none;
}
.bbs-bottom-button {
    margin-top: 35px;
    text-align: right;
}
.bbs-bottom-button .row {
    justify-content: flex-end;
    margin: 15px 0;
}
.bbs-bottom-button .button {
    margin-left: 2px;
    padding: 0;
    width: 100px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4rem;
    border-color: #e5e5e5;
    font-family: "Nanum Gothic", "Nanum Myeongjo", serif, sans-serif;
}
@media (max-width: 768px) {
    .empty-message {
        width: 100%;
        text-align: center;
        font-size: 1.4rem;
    }

    .bbs-list-row {
        display: none;
    }
    .bbs-list-col {
        display: none;
    }
    .bbs-mo-contents {
        display: block;
        margin-top: 12px;
        font-size: 0;
    }
    .bbs-mo-contents span {
        display: inline-block;
        vertical-align: top;
        padding: 0 10px;
        line-height: 15px;
        font-size: 1.3rem;
        color: #888888;
        border-left: 1px solid #e5e5e5;
    }
    .bbs-mo-contents span:first-child {
        padding-left: 0;
        border-left: none;
    }
    .bbs-list-table {
        margin-top: -1px;
    }
    .bbs-list-table tr td {
        padding: 20px;
    }
    .bbs-list-table tr td a {
        font-size: 1.5rem;
    }
    .bbs-bottom-button .row {
        margin: 10px 0;
    }
    .bbs-bottom-button .button {
        width: 80px;
        height: 35px;
        line-height: 35px;
        font-size: 13px;
    }
}

.bbs-search--top {
    margin: 50px 0 20px;
}
.bbs-search {
    margin-top: 60px;
    padding: 35px;
    background: #fafafa;
    border: 1px solid #dddddd;
}
.bbs-search form {
    display: block;
}
.bbs-search select,
.bbs-search input,
.bbs-search .button {
    width: 100%;
    height: 40px;
    font-size: 1.4rem;
    font-family: "Nanum Gothic", "Nanum Myeongjo", serif, sans-serif;
}
.bbs-search__box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbs-search__select {
    margin-right: 8px;
    width: 100px;
}
.bbs-search__input {
    width: 275px;
}
.bbs-search__button .button {
    width: auto;
    color: #fff;
    font-weight: 500;
    background: #272728;
    padding-left: 18px;
    padding-right: 18px;
    margin-left: 8px;
}
@media (min-width: 1px) and (max-width: 768px) {
    .bbs-search {
        padding: 20px;
    }
    .bbs-search form {
        width: 100%;
    }
    .bbs-search__box {
        width: 100%;
        flex-wrap: wrap;
    }
    .bbs-search__input {
        flex: 1 1;
        width: 100%;
    }
    .bbs-search select,
    .bbs-search input,
    .bbs-search .button {
        height: 40px;
        font-size: 1.3rem;
    }
    .bbs-search__select {
        margin-right: 4px;
    }
    .bbs-search__button {
        margin-top: 4px;
        width: 100%;
    }
    .bbs-search__button .button {
        width: 100%;
        margin-left: 0px;
    }
}

/* BBS Write Style */
.bbs-input-caption {
    text-align: right;
    margin: 0 0 14px;
    line-height: 1.4;
    font-size: 14px;
}
.bbs-input-table {
    width: 100%;
    border-top: 2px solid #272728;
}
.bbs-input-table tr th {
    padding: 15px;
    text-align: left;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #e5e5e5;
}
.bbs-input-table tr td {
    padding: 20px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #e5e5e5;
}
.bbs-input-table tr td input[type="text"],
.bbs-input-table tr td input[type="password"] {
    padding: 10px;
    height: 35px;
    font-size: 14px;
    border: 1px solid #ddd;
    color: #555;
}
.bbs-input-table tr td select {
    height: 35px;
    font-size: 14px;
    border: 1px solid #ddd;
    color: #555;
}
.bbs-input-table tr td textarea {
    padding: 10px;
    width: 100%;
    height: 150px;
}
.bbs-input-table tr td img,
.AWbbs_input_table tr td img {
    display: inline-block;
    margin: 0;
}
.bbs-input-table .content_box {
    padding: 15px 0;
}
.bbs-input-table .AW_bbs_input_checkbox {
    padding-left: 15px;
    text-align: left;
}
,
.bbs-input-table input[type="text"],
.bbs-input-table input[name="name"],
.bbs-input-table input[name="email"],
.bbs-input-table input[name="wdate"],
.bbs-input-table input[name="password"] {
    max-width: 300px;
    width: 100%;
}
.bbs-input-table input[name="subject"] {
    width: 100%;
}
@media (max-width: 768px) {
    .bbs-input-table tr th {
        width: 30%;
        font-size: 13px;
    }
    .bbs-input-table tr td {
        padding: 15px;
    }
    ,
    .bbs-input-table input[type="text"],
    .bbs-input-table input[name="name"],
    .bbs-input-table input[name="email"],
    .bbs-input-table input[name="wdate"],
    .bbs-input-table input[name="password"] {
        max-width: none;
        font-size: 13px;
    }
}

/* BBS Style - View */
.view-contents img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.bbs-view-table {
    table-layout: fixed;
    width: 100%;
    border-top: 2px solid #272728;
    border-bottom: 2px solid #ddd;
    border-collapse: collapse;
}
.bbs-view-table tr th,
.bbs-view-table tr td {
    padding: 14px 15px;
    text-align: left;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
}
.bbs-view-table tr th {
    height: 40px;
    background-color: #fbfbfb;
}
.bbs-view-table tr td.content_box {
    padding: 20px 15px;
    height: 150px;
}
.bbs-view-table tr td.content_box table tr td {
    padding-left: 0;
}
.bbs-view-table tr:last-child td {
    border-bottom: none;
}
.bbs-view-table video {
    max-width: 100%;
}

.bbs-view-navi {
    width: 100%;
    border-collapse: collapse;
    border: none;
    border-bottom: 1px solid #ddd;
}
.bbs-view-navi tr th {
    height: 40px;
    background-color: #fbfbfb;
}
.bbs-view-navi tr:first-child th,
.bbs-view-navi tr:first-child td {
    border-bottom: 1px solid #ddd;
}
.bbs-view-navi tr th,
.bbs-view-navi tr td {
    padding: 14px 15px;
    font-size: 16px;
}

.file-td {
    padding: 10px 0;
}
.file-td > a {
    float: left;
    clear: left;
    display: inline-block;
    margin: 2px 0;
}
@media (max-width: 1200px) {
    .bbs-view-table tr th {
        font-size: 14px;
    }
    .bbs-view-table tr td,
    .bbs-view-navi tr th,
    .bbs-view-navi tr td {
        font-size: 13px;
    }
    .bbs-view-table tr td.content_box {
        height: 100px;
    }
}
@media (max-width: 768px) {
}

/* Board Password */
.passwd {
    margin: 0 auto;
    padding: 30px;
    max-width: 450px;
    text-align: center;
}
.passwd {
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.25);
}
.passwd h1 {
    font-size: 16px;
    font-weight: 400;
}
.passwd img {
    margin: 0 auto 15px;
}
.passwd_wrap input {
    margin: 15px 0;
    width: 100%;
    height: 35px;
}
.passwd_wrap .btn_wrap {
    margin-top: 30px;
}
.passwd_wrap .btn_wrap .button {
    width: 49%;
}
.passwd_wrap .btn_wrap .button:first-child {
    margin-right: 2%;
}
@media (max-width: 1024px) {
    .passwd_wrap {
        font-size: 14px;
    }
    .passwd img {
        width: auto;
        height: 46px;
    }
}
@media (max-width: 768px) {
}
