﻿#recent-sermon{display:inline-block; width:100%;margin-bottom:60px;padding:0px 15px; }

/*
    sermon
*/

.board-theme.gallery .theme-list .document-checkbox {
    position: absolute;
    top: 0;
    right: 20px;
    display: inline-block;
    z-index: 99;
}

    .board-theme.gallery .theme-list .document-checkbox input {
        width: 15px;
        height: 15px;
        margin: 10px;
		
    }
#recent-sermon-cont { text-align:left; padding:30px 30px;    background-color: #f3f3f3;}
#recent-sermon-cont .recentInfo { font-size:16px; margin:0px 0px 5px; font-weight:bold;}
#recent-sermon-cont .recentInfo-title{font-size:30px; text-align:center;}
#recent-sermon-cont .recentInfo-sub{font-size:18px;}
#recent-sermon-cont .recentInfo-sub span{padding:0px 30px;}
#recent-sermon-cont .recentInfo-date{font-size:18px;}
#recent-sermon-cont .recent-sermon-cont-left{float:left;}
#recent-sermon-cont .recent-sermon-cont-right{float:right;}

#dimodeBoard .board-actions { border:none; padding:30px;}
#sermon-top { padding-top:250px; margin-bottom:45px;}
#sermon-top h1 { padding-bottom:15px; border-bottom:2px solid #000; display:inline-block; font-size:28px; font-weight:bold; margin-top:0px; float:left; margin-right:50px; margin-left:15px;}
#sermon-play { float:none; position:absolute; z-index:10; top:20%; left:43%; width:40px; height:40px;}
.sermon-box > img { float:left;}
.sermon-box > a:hover { opacity:0.6; transition:0.3s;}
.sermon-box .img-wrap { height:175px; display:flex; justify-content:center; align-items:center;}
#sermon-control {height:45px; width:150px; font-size:20px; font-weight:500; margin-right:20px; border-radius:50px; padding:0px 15px;}
#sermon-kind { padding:0px; vertical-align:top;}
#sermon-button img { width:35px;}
#sermon-keyword { width:220px; height:45px; font-size:20px; font-weight:500; margin-right:20px; border-radius:50px; padding: 7px 20px;}
.btn-default { border-color:transparent;}
.btn { border:none; }
.input-group { float:left; width:650px; }
.btn-default:hover, .btn-default:active { background-color:transparent; border:none;}
/* .action-search { display:none;}  → 검색폼 노출 (하단 board-actions 스타일 참고) */
#sermon-search { display:table;}
.series-button { clear:both; margin-top:80px;}
.series-button .btn { border-radius: 10px; padding: 15px 20px; margin: 10px 10px; background-color: #fff; box-shadow: 1px 1px 6px 1px #aaa;}
.series-button .btn:hover { background-color: #efefef; transition:0.2s all ease; font-weight:bold;}
.series-button a { text-decoration:none; color:#000; font-size:24px;}

select option {border-radius:50px; }

.sermon-content { background-color: #ffffff; background-color: #f9f9f9;clear:both; padding:10px 15px ; height:135px;}
.sermon-content h4 { font-size:16px; color:#000; font-weight:600; display:inline-block; margin-top:0px; width:100%; line-height:25px; height:50px; }
.sermon-content h5{ font-size:14px; color:#4e8ecb; font-weight:400; margin-top:5px;}
.sermon-content img { width:20px; height:20px; float:right; margin-left:5px; margin-top: 5px;}
.sermon-content a img { width:20px!important; height:20px; float:right; margin-left:5px; margin-top: 0px;}
.sermon-content .sermon-date { position:absolute;margin-bottom:5PX; bottom:5px; font-size:14px; color:#828282; right: 35px;}
.sermon-content .sermon-speaker { position:absolute; bottom:5px; margin-bottom:5PX; font-size:14px; color:#000; margin-right:0px; font-weight:600;}
.sermon-box { margin-bottom:30px; position:relative;}

/* 목록 : 오디오 / PDF 동그란 버튼 (썸네일 우측 하단에 겹쳐서 표시) */
.sermon-box .sermon-btns { position:absolute; right:24px; bottom:145px; z-index:20; line-height:0;}
.sermon-box .sermon-btns .sermon-btn { display:inline-block; width:34px; height:34px; line-height:34px; margin-left:6px; text-align:center; text-decoration:none; border-radius:50%; background:rgba(0,0,0,0.55); color:#fff; font-size:15px; transition:0.2s all ease;}
.sermon-box .sermon-btns .sermon-btn:hover,
.sermon-box .sermon-btns .sermon-btn:focus { background:#4e8ecb; color:#fff; text-decoration:none; opacity:1;}
.sermon-box .sermon-btns .sermon-btn i { line-height:34px;}

/* 상세 : 오디오 / PDF 네모 버튼 (인쇄 버튼과 동일한 형태, 하단 왼쪽 정렬) */
.board-theme .theme-detail .detail-buttons { clear:both; overflow:hidden; padding:15px 0;}
.board-theme .theme-detail .detail-buttons .detail-btn { float:left; width:38px; height:38px; line-height:38px; margin-right:8px; text-align:center; text-decoration:none; border-radius:4px; background:#2f7ac6; color:#fff; font-size:17px; transition:0.2s all ease;}
.board-theme .theme-detail .detail-buttons .detail-btn:hover,
.board-theme .theme-detail .detail-buttons .detail-btn:focus { background:#1f5f9e; color:#fff; text-decoration:none;}

.sermon-box > a { text-align:center; display: block; text-decoration: none;width: 100%;  overflow: hidden;}
.sermon-box > a > img {aspect-ratio:1920/1080; width: 100%; overflow: hidden;
    object-fit: cover;}
.list { font-size:25px; float:right; margin-top:20px; color:#000; text-decoration:none; width:100%;}
.list:hover { text-decoration:none; color:#000;}

.board-theme .board-pages > span.prev,
.board-theme .board-pages > span.next {
    cursor: pointer;
    color: #666;
    padding: 10px;
}

/* .board-actions-left { display:none; }  → 검색영역 노출 (하단 board-actions 스타일 참고) */



#recent-sermon:after{
	display:block;
	content:"";
	clear:both;
}
/* board-list s */
.board-theme .theme-list {
	margin-top:30px;
    font-family: font-family: 'NanumSquare',san-serif ;
    overflow: hidden;
    width: 100%;

}

.board-theme .theme-list button {
font-size: 1.2em;
font-weight: bold;
padding: 10px 20px ;
}


    .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: 15px;
            text-align: left;
            padding: 14px 2px;
        }

        .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 */

.embed-responsive  { -webkit-overflow-scrolling:touch !important;}
.embed-responsive iframe { height:100% !important; }

@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;
        left: 40%;
        width: 40px;
        height: 40px;
    }
}





@media (min-width:768px) and (max-width:992px) {

.board-theme .theme-list button {
font-size: 0.8em;
font-weight: bold;
padding: 5px 10px ;
}

}

@media (max-width:767px) {
	#recent-sermon-cont .recentInfo-title{font-size:20px;}
	#recent-sermon-cont { padding:15px;}
	#recent-sermon-cont .recent-sermon-cont-right{width:100%!important;float:left!important;}
	#recent-sermon-cont .recentInfo-sub span { display:none;}
	.board-theme .theme-list table td {
            font-size: 12px;
            text-align: left;
            padding: 5px;
        }

.board-theme .theme-list button {
font-size: 0.8em;
font-weight: bold;
padding: 5px 10px ;
}


}


/* ======================================================================
   board-actions : 검색폼 + 관리버튼  (2026 리뉴얼)
   - 기존 .action-search / .board-actions-left 의 display:none 제거
   - 검색폼은 가운데 정렬된 알약(pill) 형태, 관리버튼은 우측 정렬
   - 포인트 색상만 바꾸고 싶으면 아래 #17a2b8 값을 일괄 변경
   ====================================================================== */

#dimodeBoard .board-actions {
    border: none;
    padding: 10px 15px 60px;
}

#dimodeBoard .board-actions .actions-wrapper {
    display: -ms-grid;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 560px) auto;
    align-items: center;
    gap: 12px;
    margin: 0;
}

/* 왼쪽(검색) 영역 : 가운데 칸에 배치 */
#dimodeBoard .board-actions .board-actions-left {
    display: block;
    grid-column: 2;
    float: none;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    padding: 0;
    margin: 0 auto;
}

/* 오른쪽(관리버튼) 영역 : 항상 우측 끝 */
#dimodeBoard .board-actions .board-actions-right {
    grid-column: 3;
    justify-self: end;
    float: none;
    width: auto;
    padding: 0;
}

/* ---------- 검색폼 본체 ---------- */
#dimodeBoard .board-actions .action-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    float: none;
    width: 100%;
    height: 52px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 52px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: 0.2s all ease;
}

#dimodeBoard .board-actions .action-search:hover {
    border-color: #cfcfcf;
    box-shadow: 0 3px 14px rgba(0,0,0,0.10);
}

#dimodeBoard .board-actions .action-search:focus-within {
    border-color: #17a2b8;
    box-shadow: 0 3px 14px rgba(23,162,184,0.18);
}

/* 검색 조건 select */
#dimodeBoard .board-actions .action-search .search-kind {
    display: block;
    float: none;
    width: auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: relative;
    font-size: 0;
}

#dimodeBoard .board-actions .action-search .search-kind:after {
    content: "";
    position: absolute;
    right: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: #e6e6e6;
}

#dimodeBoard .board-actions .action-search .search-kind select.form-control {
    width: auto;
    min-width: 108px;
    max-width: 150px;
    height: 50px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    outline: none;
    padding: 0 30px 0 22px;
    font-size: 15px;
    color: #444;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 11px 8px;
}

#dimodeBoard .board-actions .action-search .search-kind select.form-control::-ms-expand {
    display: none;
}

/* 검색어 입력 */
#dimodeBoard .board-actions .action-search > input.form-control {
    display: block;
    float: none;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 50px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    padding: 0 8px 0 18px;
    font-size: 15px;
    color: #222;
}

#dimodeBoard .board-actions .action-search > input.form-control::-webkit-input-placeholder { color: #aaa; }
#dimodeBoard .board-actions .action-search > input.form-control::-moz-placeholder { color: #aaa; }
#dimodeBoard .board-actions .action-search > input.form-control:-ms-input-placeholder { color: #aaa; }

/* 검색 버튼 */
#dimodeBoard .board-actions .action-search > .input-group-btn {
    display: block;
    float: none;
    width: auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 0 5px 0 0;
}

#dimodeBoard .board-actions .action-search > .input-group-btn > .btn,
#dimodeBoard .board-actions .action-search > .input-group-btn > .btn.btn-default {
    height: 42px;
    padding: 0 26px;
    border: none;
    border-radius: 42px;
    background-color: #17a2b8;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 42px;
    box-shadow: none;
    transition: 0.2s all ease;
}

#dimodeBoard .board-actions .action-search > .input-group-btn > .btn:hover,
#dimodeBoard .board-actions .action-search > .input-group-btn > .btn:focus,
#dimodeBoard .board-actions .action-search > .input-group-btn > .btn:active,
#dimodeBoard .board-actions .action-search > .input-group-btn > .btn.btn-default:hover,
#dimodeBoard .board-actions .action-search > .input-group-btn > .btn.btn-default:active {
    background-color: #128597;
    border: none;
    color: #fff;
    outline: none;
}

/* ---------- 관리 버튼(글쓰기/이동/복사/삭제/인쇄/설정) ---------- */
#dimodeBoard .board-actions .board-actions-right .btn-group {
    font-size: 0;
    white-space: nowrap;
}

#dimodeBoard .board-actions .board-actions-right .btn-group > .btn {
    height: 40px;
    line-height: 26px;
    padding: 6px 14px;
    margin-left: 5px;
    white-space: nowrap;
    float: none;
    border: 1px solid #e2e2e2;
    border-radius: 40px;
    background: #fff;
    color: #555;
    font-size: 14px;
    box-shadow: none;
    transition: 0.2s all ease;
}

#dimodeBoard .board-actions .board-actions-right .btn-group > .btn:hover {
    background: #f2f2f2;
    border-color: #d5d5d5;
    color: #222;
    text-decoration: none;
}

#dimodeBoard .board-actions .board-actions-right .btn-group > .btn.btn-stp {
    background: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
    font-weight: 600;
}

#dimodeBoard .board-actions .board-actions-right .btn-group > .btn.btn-stp:hover {
    background: #128597;
    border-color: #128597;
    color: #fff;
}

/* ---------- 반응형 ---------- */
@media (max-width:991px) {
    #dimodeBoard .board-actions .actions-wrapper {
        grid-template-columns: 1fr;
    }

    #dimodeBoard .board-actions .board-actions-left,
    #dimodeBoard .board-actions .board-actions-right {
        grid-column: 1;
        justify-self: stretch;
    }

    #dimodeBoard .board-actions .board-actions-right {
        text-align: center;
    }

    #dimodeBoard .board-actions .board-actions-right .btn-group > .btn {
        margin: 0 3px 6px;
    }
}

@media (max-width:767px) {
    #dimodeBoard .board-actions .board-actions-right .btn-group {
        white-space: normal;
    }
}

@media (max-width:767px) {
    #dimodeBoard .board-actions {
        padding: 5px 10px 40px;
    }

    #dimodeBoard .board-actions .action-search {
        height: 46px;
        border-radius: 46px;
    }

    #dimodeBoard .board-actions .action-search .search-kind select.form-control {
        height: 44px;
        min-width: 84px;
        padding: 0 26px 0 16px;
        font-size: 13px;
    }

    #dimodeBoard .board-actions .action-search > input.form-control {
        height: 44px;
        padding: 0 6px 0 12px;
        font-size: 14px;
    }

    #dimodeBoard .board-actions .action-search > .input-group-btn > .btn,
    #dimodeBoard .board-actions .action-search > .input-group-btn > .btn.btn-default {
        height: 38px;
        line-height: 38px;
        padding: 0 18px;
        font-size: 14px;
    }
}
