﻿.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: 12px;
            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: flex;
        width: 100%;
        aspect-ratio:1920/1080;
        position: relative;
        border: 1px solid #ddd;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: 50% 50%;
        background-color: #000;
        text-align:center;
			align-items: center;
    }

        .board-theme.gallery .theme-list  .each-document > a.title-image img { margin:0px 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: #026be1;
        margin-top: 1px;
        height: 24px;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 18px !important;
        font-weight: 600;
        text-decoration: none;
        margin-bottom: 0px;
    }
/* 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%;
    aspect-ratio:1920/1080;
}

    .board-theme .theme-detail .detail-video .video-js .vjs-tech {
        height: auto;
        position: relative;
    }

.board-theme .theme-detail .detail-video iframe {
    width: 100%;
    aspect-ratio:1920/1080;
}

.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:135px; background:#efefef; }
.meta-info { font-size:14px; color:#555; text-align:left;  }

.boardSermonDate { text-align:right; color:#777; margin-bottom:0px;  font-size:13px;  margin-top:15px; }
.boardSermonBible { margin-bottom:5px; }
.boardSermonPastor { font-weight:600; }
.meta-info .checkbox-table { float:left; 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:#026be1; margin-bottom:0px; }
.sermon-detail-title { font-size:26px !important; color:#026be1; font-weight:600; border-bottom:1px solid #ddd; padding-bottom:10px;  }
.sermon-detail > .row > div { margin-bottom:10px; }
.sermon-detail > .row > div:last-child { margin-bottom:0px; }
.sermon-detail-info { font-size:16px; color:#333; word-break:keep-all; font-weight:600; }
.sermon-detail-content { padding:10px; background:#fff; overflow-y:scroll; height:190px; font-size:15px;  word-break:keep-all; text-align:justify; }
.sermon-detail-content p { margin-bottom:0px; }

.theme-detail {
    padding: 15px;
    background: #efecec;
    border: 1px solid #ddd;
    margin-bottom:30px;
}

.sermon-btn {
    display: inline-block;
    border-radius: 8px;
    padding: 6px 8px;
    background: #026be1;
    cursor: pointer;
    margin-right: 10px;
    margin-top:5px;
}

    .sermon-btn:last-child {
        margin-right: 0px;
    }

    .sermon-btn i, .sermon-btn span {
        color: #fff;
    }

    .sermon-btn i {
        font-size: 18px !important;
        position: relative;
        top: 2px;
        margin-right: 2px;
        font: normal normal normal 22px/1 FontAwesome !important;
    }

    .sermon-btn span {
        font-size: 14px !important;
        color: #fff;
        position: relative;
        top: -1px;
    }

.document-checkbox { position:absolute; top:5px; right:25px; }

.meta-info .sermon-btn {
    position: absolute;
    bottom: 10px;
    padding:4px 6px;
}
    .meta-info .sermon-btn i {
        top:-1px;
        font-size:16px !important;
    }

    @media(min-width:768px) {
        .board-theme .theme-write .title-category {
        padding-right: 15px;
    }

	.bt_play{width:50px; }
}

@media(max-width:767px) {
    .board-theme .theme-list table thead {
        display: none;
    }

    .board-theme .theme-list table td {
        display: none;
    }

        .board-theme .theme-list table td.document-category,
        .board-theme .theme-list table td.document-title {
            display: table-cell;
        }

    .board-theme .theme-detail .detail-top .document-title {
        width: 100%;
    }

    .board-theme.gallery {
        /*text-align: center;*/
    }
    
    .board-theme.gallery .theme-list  .each-document > a.title-image {
        height: inherit;
        padding-bottom:55%;
    }
    
    .sermon-detail-title { margin-top:10px; }
    
    .board-theme.gallery .theme-list  .each-document > a.title-image:hover img { display:none;  }
    
}
