html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin-right: 0;
    margin-left: 0;
}

img {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.board_banner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.board_banner img {
    display: block;
    width: 100%;
    max-width: 1024px;
    height: auto;
    border: 1px solid #cfd7e6;
    border-radius: 8px;
    background: #fff;
}

.board_banner_title {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    max-width: calc(100% - 80px);
    color: #fff;
    font-family: "Batang", "BatangChe", "Gungsuh", "Times New Roman", serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.board-list-search {
    width: 100%;
    margin: 10px 0;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
}

.board-main-content-box {
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
}

/* board list spacing: banner -> search -> list -> paging = 12px */
.board-list-search-box {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
}

.board-list-search-box > table {
    width: 100% !important;
    margin: 0 !important;
}

.board-list-search-box .board-list-search {
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.board-list-search-box .board-list-search td {
    background-image: none !important;
}

.board-list-search-box .board-list-search td[width="15"],
.board-list-search-box .board-list-search td[width='15'] {
    display: none;
}

.board-list-search-box > table:first-child td[height="5"] {
    height: 0 !important;
}

.board-list-search-box form[name="search"] {
    margin: 0;
}

.board-list-search-box form[name="search"] > table[align="right"] {
    width: auto !important;
    float: none !important;
    margin-left: auto !important;
}

.board-list-search-box form[name="search"] > table[align="right"] > tbody > tr:first-child,
.board-list-search-box form[name="search"] > table[align="right"] > tr:first-child {
    height: 30px;
}

.board-list-search-box form[name="search"] > table[align="right"] tr:last-child {
    display: none;
}

.board-list-search-box form[name="search"] > table[align="right"] > tbody > tr:first-child,
.board-list-search-box form[name="search"] > table[align="right"] > tr:first-child {
    display: table-row;
}

.board-list-foot-box {
    margin-top: 12px;
}

.board-list-foot-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
}

.board-list-table,
.board-list-head,
.board-list-foot {
    width: 100%;
}

.board-list-subject {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.board-list-subject a {
    display: inline;
    line-height: 1.45;
}

.board-joinsite-list-table,
.board-joinsite-list-table tr,
.board-joinsite-list-table td,
.board-joinsite-list-table a,
.board-joinsite-list-table span,
.board-joinsite-list-table font,
.board-joinsite-list-table .verdana8,
.board-joinsite-list-table .orange7v {
    font-size: 11pt !important;
}

.board-list-table .orange7v,
.board-joinsite-list-table .orange7v,
.board-webzine-list .orange7v {
    font-size: 9pt !important;
}

.board-joinsite-list-table .board-joinsite-list-no,
.board-joinsite-list-table .board-joinsite-list-date {
    font-size: 10pt !important;
}

.board-joinsite-category-text,
.board-joinsite-category-text a,
.board-joinsite-category-text font {
    font-size: 11pt !important;
}

.board-list-category,
.board-list-date,
.board-list-hit,
.board-list-state,
.board-list-score,
.board-list-link {
    white-space: nowrap;
}

.board-list-actions img,
.board-list-search img {
    max-width: none;
}

.board-view-subject,
.board-view-content,
.board-view-files,
.board-comment-body {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.board-view-content img,
.board-comment-body img {
    max-width: 100%;
    height: auto;
}

.board-view-content iframe,
.board-view-content embed,
.board-view-content object,
.board-comment-body iframe,
.board-comment-body embed,
.board-comment-body object {
    max-width: 100%;
}

.board-view-files a,
.board-comment-body a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.board-comment-write textarea {
    width: 100% !important;
    box-sizing: border-box;
}

.board-webzine-subject,
.board-webzine-bgm,
.board-webzine-date,
.board-webzine-hit {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.board-webzine-list .board-webzine-subject,
.board-webzine-list .board-webzine-subject a,
.board-webzine-list .board-webzine-subject font,
.board-webzine-list .board-webzine-bgm {
    font-size: 10pt !important;
}

.board-webzine-list .board-webzine-date,
.board-webzine-list .board-webzine-date span,
.board-webzine-list .board-webzine-hit,
.board-webzine-list .board-webzine-hit span {
    font-size: 9pt !important;
}

.board-webzine-thumb img {
    max-width: 100px;
    height: auto;
}

.board-write-table input[type="text"],
.board-write-table input[type="file"],
.board-write-table select,
.board-write-extra input[type="text"],
.board-write-extra input[type="file"],
.board-write-extra select,
.board-write-editor textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.board-write-control {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 1320px) and (min-width: 1280px) {
    body > center,
    center {
        width: 100%;
        overflow-x: hidden;
    }

    table[width="1024"],
    table[width='1024'],
    table[width="1280"],
    table[width='1280'] {
        width: calc(100% - 20px) !important;
        margin-right: auto;
        margin-left: auto;
    }

    td[width="1024"],
    td[width='1024'],
    td[width="790"],
    td[width='790'] {
        width: auto !important;
    }

    td[width="240"],
    td[width='240'],
    td[width="220"],
    td[width='220'] {
        width: 240px !important;
    }
}

@media (max-width: 760px) {
    table[width="1024"] > tbody > tr,
    table[width='1024'] > tbody > tr,
    table[width="1280"] > tbody > tr,
    table[width='1280'] > tbody > tr {
        display: block;
    }

    table[width="1024"] > tbody > tr > td,
    table[width='1024'] > tbody > tr > td,
    table[width="1280"] > tbody > tr > td,
    table[width='1280'] > tbody > tr > td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    td[width="16"],
    td[width='16'],
    td[width="14"],
    td[width='14'] {
        display: none !important;
    }

    table {
        max-width: 100%;
    }

    textarea {
        width: 100% !important;
    }

    .board-list-search,
    .board-list-search tbody,
    .board-list-search tr,
    .board-list-search td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .board-list-search-options {
        margin-bottom: 6px;
        line-height: 1.8;
    }

    .board-list-search-keyword input[type="text"] {
        width: 100% !important;
        box-sizing: border-box;
        margin: 4px 0 6px;
    }

    .board-list-table,
    .board-list-table tbody,
    .board-list-row {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .board-list-row {
        position: relative;
        min-height: 54px;
        padding: 8px 0 8px 42px;
    }

    .board-list-row > td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .board-list-no {
        position: absolute;
        top: 9px;
        left: 0;
        width: 34px !important;
        text-align: center !important;
    }

    .board-list-date {
        display: inline-block !important;
        width: auto !important;
        margin-top: 4px;
        margin-right: 10px;
        color: #666;
        font-size: 12px;
    }

    .board-list-category,
    .board-list-hit,
    .board-list-state,
    .board-list-score,
    .board-list-link {
        display: inline-block !important;
        width: auto !important;
        margin-top: 4px;
        margin-right: 10px;
        color: #666;
        font-size: 12px;
    }

    .board-list-hit::before {
        content: "hit ";
    }

    .board-list-score::before {
        content: "score ";
    }

    .board-list-divider {
        display: block;
    }

    .board-list-divider td {
        display: block;
        width: 100% !important;
    }

    .board-list-foot,
    .board-list-foot tbody,
    .board-list-foot tr,
    .board-list-foot td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: center !important;
    }

    .board-list-pagination {
        margin-bottom: 8px;
        line-height: 1.8;
    }

    .board-view-title,
    .board-view-title tbody,
    .board-view-title tr,
    .board-view-title td,
    .board-view-meta,
    .board-view-meta tbody,
    .board-view-meta tr,
    .board-view-meta td,
    .board-view-body,
    .board-view-body tbody,
    .board-view-body tr,
    .board-view-body td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .board-view-title td[width="15"],
    .board-view-title td[width='15'],
    .board-view-title td[width="3"],
    .board-view-title td[width='3'] {
        display: none !important;
    }

    .board-view-subject {
        padding: 8px 10px !important;
        line-height: 1.45;
    }

    .board-view-meta-cell,
    .board-view-files {
        padding: 6px 10px !important;
        text-align: left !important;
        line-height: 1.7;
        white-space: normal !important;
    }

    .board-view-content {
        min-height: 120px !important;
        padding: 12px 10px !important;
        line-height: 1.65;
    }

    .board-view-comments,
    .board-view-comments tbody,
    .board-view-comments tr,
    .board-view-comments td,
    .board-comment-write,
    .board-comment-write tbody,
    .board-comment-write tr,
    .board-comment-write td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .board-comment-author,
    .board-comment-actions,
    .board-comment-body {
        padding-right: 10px !important;
        padding-left: 10px !important;
        text-align: left !important;
    }

    .board-comment-actions {
        margin-top: 4px;
    }

    .board-comment-body {
        line-height: 1.65;
    }

    .board-comment-editor iframe,
    .board-comment-editor table {
        max-width: 100% !important;
    }

    .board-comment-submit {
        text-align: right !important;
    }

    .board-view-foot,
    .board-view-foot tbody,
    .board-view-foot tr,
    .board-view-foot td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: center !important;
    }

    .board-view-admin,
    .board-view-admin-extra,
    .board-view-actions {
        min-height: 0 !important;
        padding: 4px 0 !important;
    }

    .board-write-table,
    .board-write-table tbody,
    .board-write-table tr,
    .board-write-table td,
    .board-write-fields,
    .board-write-fields tbody,
    .board-write-fields tr,
    .board-write-fields td,
    .board-write-editor,
    .board-write-editor tbody,
    .board-write-editor tr,
    .board-write-editor td,
    .board-write-extra,
    .board-write-extra tbody,
    .board-write-extra tr,
    .board-write-extra td,
    .board-write-foot,
    .board-write-foot tbody,
    .board-write-foot tr,
    .board-write-foot td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .board-write-table col,
    .board-write-fields col,
    .board-write-extra col {
        display: none;
    }

    .board-write-table td,
    .board-write-fields td,
    .board-write-extra td {
        height: auto !important;
        padding: 6px 8px !important;
        line-height: 1.6;
    }

    .board-write-table input[type="text"],
    .board-write-table input[type="file"],
    .board-write-table select,
    .board-write-extra input[type="text"],
    .board-write-extra input[type="file"],
    .board-write-extra select {
        width: 100% !important;
        margin: 4px 0;
    }

    .board-write-extra input[name="media_x"],
    .board-write-extra input[name="media_y"] {
        display: inline-block;
        width: 70px !important;
    }

    .board-write-editor iframe,
    .board-write-editor table {
        max-width: 100% !important;
    }

    .board-write-actions {
        text-align: right !important;
        padding: 8px 0 !important;
    }

    .board-webzine-list,
    .board-webzine-list tbody,
    .board-webzine-row {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .board-webzine-row {
        padding: 10px 0;
        border-top: 1px solid #ddd;
    }

    .board-webzine-row > td,
    .board-webzine-info table,
    .board-webzine-info tbody,
    .board-webzine-info tr,
    .board-webzine-info td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .board-webzine-thumb {
        margin-bottom: 8px;
        text-align: left !important;
    }

    .board-webzine-thumb img {
        max-width: 140px;
    }

    .board-webzine-info {
        padding-left: 0 !important;
    }

    .board-webzine-subject,
    .board-webzine-bgm,
    .board-webzine-date,
    .board-webzine-hit {
        padding: 3px 0 !important;
        line-height: 1.5;
    }

}
