﻿:root{--gap: 30px;--width: 40%;}

.board-theme .board-pages > span.prev,
.board-theme .board-pages > span.next {
    cursor: pointer;
    color: #666;
    padding: 10px;
}

.theme-list > table > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

/* board-list s */
.board-theme .theme-list {
    font-family: 돋움,Dotum,sans-serif;
    overflow: hidden;
    width: 100%;
	font-size:17px;
}

    .board-theme .theme-list .list-categories {

		margin-bottom: 12px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    }

        .board-theme .theme-list .list-categories .category-group {
            vertical-align: top;display:inline-flex;
        }

            .board-theme .theme-list .list-categories .category-group:hover button {
                background-color: #e6e6e6;
                border-color: #adadad;
            }

            .board-theme .theme-list .list-categories .category-group .category-btn {
                margin:0;font-size:17px;
            }

            .board-theme .theme-list .list-categories .category-group .addon-btn {
                padding:10px;margin:0;
            }

            .board-theme .theme-list .list-categories .category-group ul {
                min-width: 100%;
                padding: 0;
                margin: 0;
                border-radius: 0;
            }

                .board-theme .theme-list .list-categories .category-group ul li:last-child {
                    border-bottom: 0;
                }

                .board-theme .theme-list .list-categories .category-group ul li a {
                    cursor: pointer;
                    font-size: 12px;
                    padding: 6px 12px;
                }

                .board-theme .theme-list .list-categories .category-group ul li.selected a {
                    background: #eee;
                }

    .board-theme .theme-list table {
        border-top-width: 1px;
    }

        .board-theme .theme-list table th,
        .board-theme .theme-list table td {
            font-size: 15px;
            text-align: center;
            padding: 8px;
        }

        .board-theme .theme-list table th {
            background: #f0f0f0;
            border-bottom-width: 1px;
            min-width: 70px;
        }

            .board-theme .theme-list table th.document-title {
                width: 50%;
            }

        .board-theme .theme-list table td.document-title {
            text-align: left;
        }

        .board-theme .theme-list table tr.notice td.document-no,
        .board-theme .theme-list table tr.notice td.document-title {
            font-weight: 600;
        }

        .board-theme .theme-list table tr td.document-added_file {
            padding-top: 5px;
            padding-bottom: 5px;
        }

            .board-theme .theme-list table tr td.document-added_file .file-ico {
                display: inline-block;
                width: 30px;
                height: 30px;
                background: #333;
                margin-top: 5px;
            }

        .board-theme .theme-list table th input,
        .board-theme .theme-list table td input {
            margin: 0;
        }

        .board-theme .theme-list table thead th.title {
            width: 50%;
        }

        .board-theme .theme-list table tbody td.document-title a {
            color: #000;
            text-align: left;
        }
        
        .board-theme .theme-list table tbody td.document-title  a:hover, .board-theme .theme-list table tbody td.document-title  a:focus {
    color: #331a0b;
    text-decoration: underline;
}
        

            .board-theme .theme-list table tbody td.document-title a:hover {
                text-decoration: underline;
            }

            .board-theme .theme-list table tbody td.document-title a.comment-count {
                color: #333;
                margin-left: 6px;
                text-decoration: none;
                font-weight: 600;
            }

        .board-theme .theme-list table tbody td.document-title span.file {
            color: #000;
            vertical-align: middle;
        }

        .board-theme .theme-list table tbody td.document-title span.reserved {
            background: #444;
            color: #fff;
            padding: 2px 4px;
            margin-left: 6px;
        }

    .board-theme .theme-list .document-title a.active {
        text-decoration: underline;
    }

    .board-theme .theme-list .no-document {
        text-align: center;
        padding: 21px 0;
    }

.board-theme.list .board-pages {
    padding: 21px 0 30px 0;
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}

    .board-theme.list .board-pages > span {
        padding-left: 11px;
        padding-right: 11px;
    }

        .board-theme.list .board-pages > span.page {
            margin-bottom: 5px;
            cursor: pointer;
            font-size: 13px;
            border-radius: 0;
        }

.board-theme.gallery .theme-list table {
    margin-bottom: 15px;
}
.board-theme.gallery .GalleryBD {display: grid;grid-template-columns: repeat(auto-fill,minmax(min(100%,var(--width)),1fr));gap: var(--gap);}
.board-theme.gallery .GalleryBD .each-document{border: 1px solid #ddd;transition: 0.3s all;}
.board-theme.gallery .GalleryBD .each-document:hover{border-color:rgba(31,132,249,.8);transition: 0.3s all;}
.board-theme.gallery .GalleryBD .each-document .title-image{text-decoration:none;}
.board-theme.gallery .GalleryBD .BGIMG{height: 290px;width: 50%;display: inline-flex;background-color: #eee;float: left;justify-content: center;
align-items: center;background-size: cover;background-position: 50% 50%;background-origin: border-box;background-repeat: no-repeat;}
.board-theme.gallery .GalleryBD .list-items{display: inline-flex;width: 50%;padding: 15px;height: 290px;overflow: hidden;flex-direction: column;gap: 5px;}
.board-theme.gallery .GalleryBD .list-items strong{width:60px ;padding: 5px;  background-color: rgba(31,132,249,.8);border-radius: 5px;color: #fff;letter-spacing: 0;display:inline-block;font-size:16px;text-align: center;}
.board-theme.gallery .GalleryBD .list-items .list-item span{color:#000;letter-spacing:0;}
.board-theme.gallery .GalleryBD .list-items .list-item.mokjanginfo{display: inline-flex;flex-direction: column;gap: 10px;}
.board-theme.gallery .GalleryBD .list-items .list-item.mokjanginfo span{overflow: hidden;white-space: normal;line-height: 1.6;text-align: left;word-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;transform: skew(-0.05deg);-ms-word-break: keep-all;
word-break: keep-all;}


.board-theme.webzine .each-document {
    display: block;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    position: relative;
    height: 172px;
    transition: border 0.4s;
    margin-top: 15px;
    display: inline-block;
    width: 100%;
}

    .board-theme.webzine .each-document:first-child {
        margin-top: 0;
    }

    .board-theme.webzine .each-document:hover {
        border-color: #07c;
    }

    .board-theme.webzine .each-document span {
        display: block;
    }

    .board-theme.webzine .each-document > span {
        height: 100%;
    }

    .board-theme.webzine .each-document .list-img {
        height: 100%;
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-color: #eee;
        height: 170px;
    }

    .board-theme.webzine .each-document .list-content .top {
        color: #333;
        font-weight: bold;
        padding: 15px;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

        .board-theme.webzine .each-document .list-content .top .title {
            font-size: 16px;
            display: inline-block;
            width: 50%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .board-theme.webzine .each-document .list-content .top .date {
            float: right;
        }

        .board-theme.webzine .each-document .list-content .top .writer {
            float: right;
            margin-right: 10px;
        }

    .board-theme.webzine .each-document .list-content .content {
        padding: 50px 0 15px 0;
        height: 100%;
    }

        .board-theme.webzine .each-document .list-content .content .wrapper {
            height: 100%;
            display: block;
            overflow: hidden;
            width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 6;
            -webkit-box-orient: vertical;
        }

            .board-theme.webzine .each-document .list-content .content .wrapper img {
                display: none;
            }
.board-theme .theme-list .list-categories .category-btn{font-size:2.1482277121374866vh;padding:15px  0.78125vw;margin:0;}
/* board-list e */
/* board-detail s */
.board-theme .theme-detail .detail-top {
    background: #fbfbfb;
    padding: 8px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: inline-block;
    width: 100%;
}

    .board-theme .theme-detail .detail-top .document-title {
        float: left;
        color: #333;
        overflow: hidden;
        font-weight: 600;
        font-size:20px; 
    }

        .board-theme .theme-detail .detail-top .document-title .category {
            margin-right: 3px;
        }

    .board-theme .theme-detail .detail-top .document-regdate {
        float: right;
        font-size:15px;
    }

.board-theme .theme-detail .detail-upper {
    padding: 8px 14px;
    border-bottom: 1px solid #eee;
    display: inline-block;
    width: 100%;
}

    .board-theme .theme-detail .detail-upper .document-writer {
        float: left;
        font-size:15px;
    }

    .board-theme .theme-detail .detail-upper .document-readed_count {
        float: right;
        font-size:15px;
    }

.board-theme .theme-detail .detail-video > * {
    margin-top: 12px;
}

.board-theme .theme-detail .detail-video > a.video-button {
    display: block;
    width: 100%;
    text-align: center;
    background: #4e4e4e;
    color: #fff;
    padding: 16px 0;
    border-radius: 2px;
    font-size: 14px;
    text-decoration: none;
}

.board-theme .theme-detail .detail-video .video-js {
    width: 100%;
    height: auto;
}

    .board-theme .theme-detail .detail-video .video-js .vjs-tech {
        height: auto;
        position: relative;
    }

.board-theme .theme-detail .detail-video iframe {
    width: 100%;
    height: 540px;
}

.board-theme .theme-detail .detail-audio > * {
    margin-top: 12px;
}

.board-theme .theme-detail .detail-audio-downlad {
    text-align: center;
    margin: 12px 0 21px 0;
}

    .board-theme .theme-detail .detail-audio-downlad > a {
        font-size: 14px;
        background: #07c;
        color: #fff;
        text-decoration: none;
        padding: 12px 24px;
        display: inline-block;
    }

.board-theme .theme-detail .detail-pdf iframe {
    width: 100%;
    height: 550px;
}

.board-theme .theme-detail .detail-content {
width:100%; padding: 14px;word-break: break-all;font-size: 16px;line-height:25px;display: inline-flex;}

.board-theme .theme-detail .detail-content .contentIMG{max-width: 50%;margin:0;}
.board-theme .theme-detail .detail-content .mokjaContent{width: 50%;padding: 15px;display: inline-flex;flex-wrap: wrap;flex-direction: column;gap: 10px;}
.board-theme .theme-detail .detail-content .mokjaContent .list-item{display: inline-flex;width: 100%;align-items: center;}
.board-theme .theme-detail .detail-content .mokjaContent .list-item strong{width: 20%;text-align: center;padding: 15px;font-size: 20px;letter-spacing:3px;background-color:rgba(31,132,249,.8);color:#fff;}
.board-theme .theme-detail .detail-content .mokjaContent .list-item.mokjanginfo{flex-direction: column;}
.board-theme .theme-detail .detail-content .mokjaContent .list-item.mokjanginfo strong{width:100%;text-align:left;}
.board-theme .theme-detail .detail-content .mokjaContent .list-item span{font-size:18px;padding:15px;}
.board-theme .theme-detail .detail-content img {
    cursor: pointer;
}
/* board-detail e */

/* board-write s */
.board-theme .theme-write {
    padding: 21px 21px 0 21px;
    background: #eee;
}

    .board-theme .theme-write .title-category {
        padding: 0;
    }

    .board-theme .theme-write .title-content {
        padding: 0;
    }

    .board-theme .theme-write .document-title {
        margin: 0;
    }

    .board-theme .theme-write .document-extended_keys {
        margin-top: 12px;
        padding: 1px;
    }

        .board-theme .theme-write .document-extended_keys table {
            border: 1px solid #ccc;
        }

            .board-theme .theme-write .document-extended_keys table tr {
                background: #f9f9f9;
            }

                .board-theme .theme-write .document-extended_keys table tr th {
                    font-size: 11px;
                    vertical-align: middle;
                }

                .board-theme .theme-write .document-extended_keys table tr td select,
                .board-theme .theme-write .document-extended_keys table tr td input {
                    font-size: 12px;
                }

                .board-theme .theme-write .document-extended_keys table tr td textarea {
                    width: 100% !important;
                    height: 120px;
                    min-height: 70px;
                }

        .board-theme .theme-write .document-extended_keys select {
            max-width: 210px;
        }

    .board-theme .theme-write .document-content {
        margin-top: 12px;
    }

        .board-theme .theme-write .document-content #cke_content {
            margin: 0 auto;
        }
/* board-write e */


@media (max-width:1499px) {
}

@media (max-width:1199px) {
    :root {--width: 100%;}
}

@media (max-width:992px) {
    .board-theme .theme-detail .detail-content{flex-direction: column;}
    .board-theme .theme-detail .detail-content .contentIMG{max-width:100%;}
    .board-theme .theme-detail .detail-content .mokjaContent{width:100%;}
}

@media (max-width:767px) {
    .board-theme .theme-list .list-categories .category-btn{font-size:17px;}
    .board-theme .theme-list .list-categories .category-group .category-btn{font-size:15px;}
    .board-theme.gallery .GalleryBD .each-document .title-image{display: inline-flex;flex-direction: column;width:100%;}
    .board-theme.gallery .GalleryBD .BGIMG{width:100%;}
    .board-theme.gallery .GalleryBD .list-items{width:100%;height:255px;}
    .board-theme.gallery .GalleryBD .list-items strong{font-size:17px;}
    .board-theme.gallery .GalleryBD .list-items .list-item span{font-size:15px;}
    .board-theme .theme-detail .detail-content .mokjaContent .list-item strong{font-size:17px;width:25%;}
    .board-theme .theme-detail .detail-content .mokjaContent .list-item span{font-size:15px;}
}