﻿.board-theme .board-pages > span.prev,
.board-theme .board-pages > span.next {
    cursor: pointer;
    color: #666;
    padding: 10px;
}

/* board-list s */
.board-theme .theme-list {
    font-family: 'nanumbarungothic',돋움,Dotum,sans-serif;
    overflow: hidden;
    width: 100%;
}

    .board-theme .theme-list .list-categories {
        margin-bottom: 12px;
    }

        .board-theme .theme-list .list-categories .category-group {
            vertical-align: top;
        }

            .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-bottom: 2px;
            }

            .board-theme .theme-list .list-categories .category-group .addon-btn {
                padding-left: 5px;
                padding-right: 5px;
            }

            .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: 14px;
            text-align: center;
            padding: 14px;
        }

        .board-theme .theme-list table th {
            background: #fcfcfc;
            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: #333;
            text-align: left;
        }

            .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 .theme-list  .each-document {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
}

    .board-theme.gallery .theme-list  .each-document > a.title-image {
        display: inline-block;
        width: 100%;
        height: 148px;
        position: relative;
        border: 1px solid #ddd;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: 50% 50%;
        background-color: #000;
        text-align:center;
    }

        .board-theme.gallery .theme-list  .each-document > a.title-image img { margin:25px auto 0px; display:none; }
        .board-theme.gallery .theme-list  .each-document > a.title-image:hover img { display:block;  }

        .board-theme.gallery .theme-list  .each-document > a.title-image > .no-image {
            position: absolute;
            left: 0;
            width: 100%;
            text-align: center;
            color: #333;
            margin-top: 0;
            height: 100%;
            top: 0;
            background: #eee;
        }

            .board-theme.gallery .theme-list  .each-document > a.title-image > .no-image span {
                position: absolute;
                top: 50%;
                left: 0;
                width: 100%;
                margin-top: -9px;
            }

        .board-theme.gallery .theme-list  .each-document > a.title-image > .list-items {
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.63);
            position: absolute;
            left: 0;
            top: 0;
            display: table;
            transition: opacity 0.21s;
            opacity: 0;
        }

        .board-theme.gallery .theme-list  .each-document > a.title-image:hover > .list-items {
            opacity: 1;
        }

        .board-theme.gallery .theme-list  .each-document > a.title-image > .list-items .items-wrapper {
            display: table-cell;
            color: #fff;
            vertical-align: middle;
        }

            .board-theme.gallery .theme-list  .each-document > a.title-image > .list-items .items-wrapper > .list-item {
                display: block;
                text-align: center;
            }

                .board-theme.gallery .theme-list  .each-document > a.title-image > .list-items .items-wrapper > .list-item.title {
                    font-size: 16px;
                    margin-bottom: 4px;
                }

    .board-theme.gallery .theme-list .each-document > .meta-info-wrap a.boardSermonTitle {
        width: 100%;
        display: block;
        overflow: hidden;
        text-align: left;
        color: #1a609d;
        margin-top: 1px;
        height: 24px;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        margin-bottom:5px;
    }
/* board-list e */

/* board-detail s */
.board-theme .theme-detail .detail-top {
    background: #fbfbfb;
    padding: 14px;
    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;
    }

        .board-theme .theme-detail .detail-top .document-title .category {
            margin-right: 3px;
        }

    .board-theme .theme-detail .detail-top .document-regdate {
        float: right;
    }

.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;
    }

    .board-theme .theme-detail .detail-upper .document-readed_count {
        float: right;
    }

.board-theme .theme-detail .detail-video > * {
}

.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-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 {
    padding: 14px;
    word-break: break-all;
    font-size: 13px;
}

    .board-theme .theme-detail .detail-content img {
        cursor: pointer;
    }
    
    .detail-audio { padding:15px; border:1px solid #ddd; margin-top:15px; }
    .detail-audio-title { font-size:18px; font-weight:600; padding:10px; background:#efefef;  }
/* 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 */

.meta-info-wrap { border:1px solid #ddd; padding:10px; margin-top:-5px; height:120px; background:#efefef; }
.meta-info { font-size:14px; color:#555; text-align:left;  }

.boardSermonDate { text-align:right; color:#777; margin-bottom:0px;  font-size:13px;  }
.boardSermonBible { margin-bottom:5px; }
.boardSermonPastor { font-weight:600; }
.meta-info .checkbox-table { float:right; margin-top:-20px !important; }

.checkbox-table {
    border: 0px;
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}
.checkbox-table td { padding:0px !important; }
.checkbox-table td:first-child { display:none; }

.files-in-detail,
.comments-in-detail { display:none; }
#dimodeBoard.board-detail .board-share .document-tools .document-tool-btn { display:none; }

.sermon-detail-header { font-size:20px; font-weight:600; color:#1a609e; margin-bottom:10px; }
.sermon-detail-title { font-size:28px; color:#2251a2; text-align:left;  padding-bottom:5px; border-bottom:1px solid #ddd; margin-bottom:15px; word-break:keep-all; }
.sermon-detail > .row > div { margin-bottom:20px; }
.sermon-detail > .row > div:last-child { margin-bottom:0px; }
.sermon-detail-info { font-size:20px; color:#777; word-break:keep-all; text-align:left; }
.sermon-detail-content { padding:10px; background:#efefef; overflow-y:scroll; height:228px; font-size:15px;  }

.detail-video-wrapper { width:100%; margin:0 auto 30px; }
.detail-video { position:relative; padding-bottom:56.25%; margin:0 auto 20px; }
.detail-video iframe { position:absolute; top:0px; left:0px; width:100%; height:100%; }

.sermon-detail { text-align:center; font-size:24px; margin-bottom:25px; }

.sermon-content {  }
.sermon-content-inner { height:440px; overflow-y:scroll; line-height:160%; font-size:15px; word-break:keep-all;  max-width:960px; margin:0 auto; border:1px solid #ddd; border-radius:6px; padding:15px; background:#fff; }

.sermon-btn { display:inline-block;  border-radius:8px; padding:8px 12px; background:#2a3d5f; cursor:pointer;  margin-right:10px; }
.sermon-btn:last-child { margin-right:0px; }
.sermon-btn i, .sermon-btn span { color:#fff; }
.sermon-btn i { font-size:22px; position:relative; top:2px; margin-right:2px; }
.sermon-btn span { font-size:16px; color:#fff; }
.sermon-btns { text-align:right;  }
#dimodeBoard .board-actions .board-actions-left .action-search input { border:1px solid #ddd; }
.sermon-detail-label { background:#446eb7; color:#fff; padding:5px; border-radius:4px; position:relative; margin-right:8px; width:55px; text-align:center; display:inline-block; margin-bottom:8px; text-align:center; m }

#dimodeBoard .board-actions.detail { width:1170px; display:block; display:none;   }

.sermon-list a { text-decoration:none; }
.sermon-list-title { font-size:20px; color:#2251a2; margin-bottom:0px;  }
.sermon-list-info { margin-bottom:0px; }
.sermon-list-info-label { font-weight:600; margin-right:5px; }
.sermon-list-info-text { margin-right:10px; font-size:16px; color:#777; float:right; position:relative;top:2px;  }
.sermon-list .sermon-btn { padding:6px 8px; }
.sermon-list .sermon-btn i,
.sermon-list .sermon-btn span { font-size:14px; }


.document-checkbox { display:inline-block; }


@media(min-width:768px) {
    .board-theme .theme-write .title-category {
        padding-right: 15px;
    }
}

@media(max-width:767px) {
    .sermon-detail-info td { display:block; width:100%; }
    .sermon-btns { text-align:center; margin-top:15px;  }
}
