﻿.sermon-search { width:50%; margin: 0 auto 50px; }
#select-search { width: 120px; font-size: 15px; height: 45px; }
.button-search { width:100px; margin-left:15px!important; font-size: 15px; height: 45px;}
.input-search-word { font-size: 15px; height: 45px; }

/*
    common
*/

#dimodeBoard .board-actions { border:none; }

/*
    sermon s 
*/

#recent-sermon-cont { background:#fff; padding:30px; position:relative;  border:1px solid #eaeaea; }
#recent-sermon-cont h1 { margin:0 0 30px; font-size:25px; }
#recent-sermon-cont h2 { font-size:17px; margin:0; font-weight:bold; }
#recent-sermon-cont h3 { position:absolute; bottom:10px; right:30px; font-size:17px;}
#fgnc_sermon_wrap { padding:0; }
.sermon-box { margin-bottom:30px; border: 1px solid #eaeaea; position: relative; }
.sermon-box-top { position:relative; }
.sermon-box:after { content: ''; position: absolute; top: -1px; left: -1px; width: calc(100% + 2px * 1); height: calc(100% + 2px * 1); border: 2px solid transparent; -webkit-transition: .3s; transition: .3s; }
.sermon-box:hover:after { border-color: #00A9E0;}
.sermon-box:hover:after { opacity: 1; }
.sermon-box-bottom { background:#fff;  padding:30px 25px; position:relative;  }
.sermon-box-bottom h4 { font-size:17px;  color:#333;  margin:0; }
.sermon-box-bottom h3 { font-size:23px;  margin:0 0 50px; color:#333; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; word-wrap: normal !important; }
.sermon-box-bottom h5 { font-size:17px;  color:#00A9E0; margin-bottom:15px;}
.sermon-box-top p { margin:0;  width:105px; display:inline-block; position:absolute;  bottom:0; left:0; background:#00A9E0;  padding:8px ; font-size:17px; color:#fff; text-align:center; }
.sermon-box-top img { max-height:225px; width:100%; }
.sermon-box-top p:hover span { padding-right: 20px;}
.sermon-box-top span { display: inline-block; position: relative; transition: 0.5s; }
.sermon-box-top p:hover span:after { opacity: 1; right: 0; }
.sermon-box-top p span:after { content: ">"; position: absolute; opacity: 0; top: 0; right: -10px; transition: 0s; }



/*
    sermon e
*/


.board-theme .board-pages > span.prev,
.board-theme .board-pages > span.next {
    cursor: pointer;
    color: #666;
    padding: 10px;
}


.board-actions-left { display:none; }



/* board-list s */
.board-theme .theme-list {
    font-family: 돋움,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;
    width: 150px;
    margin-bottom: 5px;
}

    .board-theme.gallery .theme-list > .each-document > a.title-image {
        display: inline-block;
        width: 140px;
        height: 130px;
        position: relative;
        border: 1px solid #ddd;
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: 50% 50%;
        background-color: #000;
    }

        .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 > a.title {
        width: 140px;
        display: block;
        overflow: hidden;
        text-align: center;
        color: #333;
        margin-top: 1px;
        height: 24px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .sermon-box .title > img:first-child{width:100%;}
/* 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 > * {
    /*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-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;
    }
/* 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 (min-width:1200px) and (max-width:1499px) {
}

@media (min-width:993px) and (max-width:1199px) {
    #sermon-play {
        float: none;
        position: absolute;
        z-index: 10;
        top: 14%;
        left: 40%;
        width: 40px;
        height: 40px;
    }
}


@media (min-width:768px) and (max-width:992px) {
	.sermon-box-bottom h3 { font-size:20px; }
    .sermon-search { width:70%; }
}

@media (max-width:767px) {
	.sermon-box-bottom h3 { margin:15px 0; }	
	.sermon-box-bottom h5 { font-size:15px; margin:0; }
	.sermon-box-bottom h3 { font-size:16px; margin:10px 0; }
	.sermon-box-bottom { padding:25px 20px; }
	.sermon-box-top p { font-size:15px; }
	.sermon-box-bottom h4 { font-size:15px; }
	.sermon-box { margin-bottom:20px; }
	.theme-detail { padding:0 15px; }
	.board-theme .theme-detail .detail-top .document-title {     text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  word-wrap: normal!important; width:160px; }

	.sermon-search { width: 100%; margin: 0 auto 25px; padding: 0 15px; }
	#select-search { width: 95px; font-size: 13px; height: 35px; }
	.search-kind { float:left ;}
	.div-search-word { width:100%; }
	.input-search-word { font-size: 13px; height: 35px; margin-top:10px; }
	.button-search { width: 55px; margin-left: 5px!important; font-size: 15px; height: 35px; }
}