﻿span.list-item.content span.wrapper{
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	
	
}

.board-theme .board-pages > span.prev,
.board-theme .board-pages > span.next,
.board-theme .board-pages > span.prev-onepage,
.board-theme .board-pages > span.next-onepage {
    cursor: pointer;
    color: #666;
    padding: 10px;
}


iframe#magazine {
    display: none;
}

div#CHBIZ-top {
    padding-top: 2rem;
}

#DW2-top {
    padding-top: 0px;
    margin-bottom: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;     position: relative;
    border-bottom: 1px solid #eee;
} 
#DW2-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; bottom:15px; right:15px; width:15px; height:15px;}
.sermon-box > img { float:left;}
.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: right;    width: max-content;}
 #DW2-top .input-group {
    float: initial;
    width: initial;         position: absolute;     top: -125px;
    right: 0;
}
 .board-detail #DW2-top   {
          display:none; 
}

.btn-default:hover, .btn-default:active { background-color:transparent; border:none;}
.action-search { display:none;}
#sermon-search { display:table;}
#sermon-search i.fa.fa-search {
    font-size: 30px;
}
#subgnbD .subTDM .subTD2 a h1 {     text-align: left;}
#subgnbD .subTDM .subTD2{border-bottom:2px solid #222;         padding-bottom: 1.5rem;}


.board-theme.list *:not(i) {
    font-family: 'Noto Sans Korean', sans-serif;
    word-break: keep-all;
}
.list-in-detail #sermon-search{display:none;}

.btn-blue , .btn-blue:hover  , .board-theme .theme-list 	.list-categories .category-group:hover > .category-btn
 ,   	.list-categories .category-group:hover > .category-btn
 {
    background: #01579b;
    border-radius: 25px!important;
    color: white;
 }

/* board-list s */
.board-theme .theme-list {

    overflow: hidden;
    width: 100%;
	text-align:left;
	
}

    .board-theme .theme-list .list-categories , .board-detail .list-categories{
        margin-bottom: 12px;    padding-bottom: 2rem;     padding-top: 2rem; justify-content: center; gap: 0.5rem;
    }

	.board-theme .theme-list .list-categories .category-group,
	, .board-detail .list-categories .category-group{
		vertical-align: top;
		position: relative;
		display: inline-block;
	}
		
		
	.board-theme .theme-list 	.list-categories .sub-category-menu ,
	.board-detail .list-categories .sub-category-menu {
		display: none;
		position: absolute;
		top: 2.8rem;
		left: 0;
		/* white-space: nowrap; */
		/* background: #fff; */
		/* border: 1px solid #ccc; */
		padding: 0;
		z-index: 1000;

		flex-wrap: nowrap;
		flex-direction: row;
	}
		
	.board-theme .theme-list 	.list-categories .category-group:hover > .sub-category-menu, 
	.board-theme .theme-list 	.list-categories .category-group > .sub-category-menu :hover,
	.board-theme .theme-list 	.list-categories  .btn-blue-upper > .sub-category-menu,
	.board-detail	.list-categories .category-group:hover > .sub-category-menu, 
	.board-detail 	.list-categories .category-group > .sub-category-menu :hover,
	.board-detail 	.list-categories  .btn-blue-upper > .sub-category-menu{
				display: flex	;
	}

	.board-theme .theme-list 	.list-categories .sub-category-menu li ,
	.board-detail 	.list-categories .sub-category-menu li {
		list-style: none;
		padding: 0; border-right: 1px solid #01579b; width: max-content;
	}

	.board-theme .theme-list  .list-categories .sub-category-menu li.selected ,
	.board-detail  .list-categories .sub-category-menu li.selected {
		font-weight: bold;
	}
		

            /* .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 ,
	.board-detail .list-categories .category-group .category-btn {
		margin-bottom: 2px;font-weight: 500;  
	}
	
	 .board-theme .theme-list .list-categories .category-group > .category-btn,
	 .board-theme .theme-list .list-categories  > .category-btn,
	 .board-detail .list-categories .category-group > .category-btn,
	 .board-detail .list-categories  > .category-btn{
	   padding: 0.5rem 0.7rem; margin-bottom: 10px;
	}
			
			

            /* .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 ,
	.board-detail  .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 ,
	.board-detail .list-categories .category-group ul li:last-child {
		border-bottom: 0;border-right: 0;
	}

	.board-theme .theme-list .list-categories .category-group ul li a ,
	.board-detail .list-categories .category-group ul li a {
		cursor: pointer;
		font-size: 0.8rem;
		padding: 0px 10px;
		line-height: 1;
		display: flex;  font-weight:500;
		color:#aaa;
	}
	.board-theme .theme-list .list-categories .category-group ul li a:hover ,
	.board-detail .list-categories .category-group ul li a:hover {
		text-decoration:none;  font-weight:bold;
	}

	.board-theme .theme-list .list-categories .category-group ul li.selected a ,
	.board-detail .list-categories .category-group ul li.selected a {
		font-weight:bold;color:black;
	}

    .board-theme .theme-list table {
        border-top-width: 1px;
    }

        .board-theme .theme-list table th,
        .board-theme .theme-list table td {
            font-size: 16px;
            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: center;
        }

        .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 {
    vertical-align: top;
    margin-bottom: 25px;
    position:relative;
    padding:0 17px;
}

    .board-theme.gallery .theme-list > .each-document > a.title-image {
        display: inline-block;
        width: 100%;
        /*height: 260px;*/
        position: relative;
        border: 1px solid #ddd;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 50% 50%;
        background-color: #000; aspect-ratio:1;
		    border-radius: 10px;
    }

        .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; 
        }
		.board-theme.gallery .theme-list > .each-document > a.title-image  {
               transition: all 0.3s;
			   filter: grayscale(50%) blur(0px) brightness(1) ;
               
        }
        .board-theme.gallery .theme-list > .each-document > a.title-image:hover {
               filter: grayscale(0%)  blur(0px)  brightness(1.0) ;
         }
		
		 
		
		
		

        .board-theme.gallery .theme-list > .each-document > a.title-image > .list-items .items-wrapper {
            display: table-cell;
            color: #fff;
            vertical-align: middle;
			font-size:17px;
			font-weight:700;
        }

            .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: 1rem;
}
.board-theme.gallery .theme-list > .each-document > a.title-image > .list-items .items-wrapper > .list-item.content {
	font-size: 13px;
	margin-bottom: 2rem;
}
.board-theme.gallery .theme-list > .each-document > a.title-image > .list-items .items-wrapper > .list-item.sdate {
	font-size: 10px;
}

    .board-theme.gallery .theme-list > .each-document > a.title {
	 
		font-weight:700;
        width: 100%;
        display: block;
        overflow: hidden;
            line-height: 1.2;
        color: #333;
        margin-top: 5px;
            height: 9rem;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-decoration:none;
    }
.board-theme.gallery .theme-list > .each-document > a.title span.regdate {
		font-size:15px;
		 
    }

.board-theme.webzine .each-document {
    display: block;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    position: relative;
    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: 70%;
            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: 5;
            -webkit-box-orient: vertical;
            line-height: 1.3em;
						height: 6.5em; 
						font-size:14px;
        }

            .board-theme.webzine .each-document .list-content .content .wrapper img {
                display: none;
            }
/* board-list e */
/* board-detail s */
.board-theme .theme-detail {
    width: 1000px;
    margin: 0 calc(50% - 500px);margin-top: 45px;
}
.board-theme .theme-detail .detail-top {
    padding: 0 15px ;
    font-size: 2rem;
    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; display:none;
    }

.board-theme .theme-detail .detail-upper {
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    display: inline-block;
    width: 100%;/*display:none;*/
}

    .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-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 {
    padding: 14px;
    word-break: break-all;
    font-size: 16px;
}

    .board-theme .theme-detail .detail-content img {
        cursor: pointer;
        max-width: 700px;
        height: auto;
        vertical-align: TOP;
    }



#dimodeBoard.board-detail .list-in-detail  .board-theme.gallery .theme-list .each-document{
    width: 16.666%;
}
#dimodeBoard.board-detail .list-in-detail  .board-theme.gallery .theme-list  {
    aspect-ratio: 5.5;
}


#dimodeBoard.board-detail .list-in-detail .board-theme.gallery .theme-list .list-categories {
    display:none!important;
}

.files-in-detail{display:none;}
 




/* 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:768px) {
    .board-theme .theme-write .title-category {
        padding-right: 15px;
    }

 
}






/*church biz dyd*/

.board-theme.gallery .theme-list > .each-document > a.title span.main_title {
    font-size: 1.2rem;
}
.board-theme.gallery .theme-list > .each-document > a.title span.biz6 {
    font-size: 0.8rem;
}

.board-theme.gallery .theme-list > .each-document > a.title span.biz {
    font-size: 0.9rem;
    font-weight: 400; 
}

.biztitle {margin-bottom:0.4rem; white-space: nowrap;       
  overflow: hidden;        
  text-overflow: ellipsis;  }



.list-in-detail .board-theme.gallery .theme-list > .each-document > a.title span.main_title {
    font-size: 0.8rem;
} 
.list-in-detail .biz {
    display: none;
}

.biz_ek_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;     gap: 15px;
}

#dimodeBoard.board-detail .document-extended_keys{
	padding: 0 15px;
}



@media (min-width:993px) and (max-width:1199px) {
	#sermon-keyword {
		width: 140px;
		height: 30px;   margin-right: 0px;}
	#sermon-control {
		height: 30px;
		width: 130px;margin-right: 5px;}
	#DW2-search i.fa.fa-search {
		font-size: 20px;
	}
	#DW2-top .input-group { 
		top: -110px; 
	}
	.board-theme .theme-detail {
		width: 900px;
		margin: 0 calc(50% - 450px);
	}
	
	
	
.board-theme .theme-list .list-categories .sub-category-menu, .board-detail .list-categories .sub-category-menu {
     
    right: 0; left: initial;
	
}


}

@media (min-width:768px) and (max-width:992px) {

#sermon-keyword {
            width: 20vw;
        max-width: 200px;
    height: 40px;   margin-right: 0px;}
#sermon-control { 
            width: 20vw; height: 40px;margin-right: 5px;}
#sermon-search i.fa.fa-search {
    font-size: 25px;
}
#DW2-top .input-group {
        bottom: -60px; top:initial;
    }
#DW2-top { 
    margin-bottom: 100px;}


.board-theme .theme-detail {
    width: 700px;
    margin: 0 calc(50% - 350px);
}



.board-theme .theme-list .list-categories .sub-category-menu, .board-detail .list-categories .sub-category-menu {
     
    right: 0; left: initial;
	
}


}

@media(max-width:767px) {
	
	.board-theme .theme-list {		overflow: scroll; }
	.board-theme .theme-list table th {     min-width: 40px;}
	
	
	
    .board-theme .theme-detail .detail-content img{
    	max-width:100%;
    	}

        .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 .theme-list > .each-document > a.title span.regdate{font-size:12px;}




    .board-theme.gallery {
        text-align: center;
    }
    .board-theme.gallery .theme-list > .each-document { padding:0 5px; }
    .board-theme.gallery .theme-list > .each-document > a.title { font-size:13px; }
	
	
	
	
            .board-theme.gallery .theme-list > .each-document > a.title-image > .list-items .items-wrapper {
            display: table-cell;
            color: #fff;
            vertical-align: middle;
			font-size:15px;
			font-weight:700;
        }
        
        .board-theme.gallery .theme-list > .each-document > a.title-image { /*height:230px;*/ aspect-ratio:1; }
        .board-theme.gallery .theme-list > .each-document { margin-bottom:15px; }




#sermon-search i.fa.fa-search {
           font-size: 1.4rem;
}
#DW2-top .input-group {
        bottom: -60px; top:initial;
    }
#DW2-top { 
    margin-bottom: 100px;}

.board-theme .theme-detail {
    width: 90vw;
    margin: 0 calc(50% - 45vw);
}

.board-theme .theme-detail img{
    object-fit: cover; 
}




.list-in-detail .board-theme.gallery .theme-list > .each-document > a.title , 
.list-in-detail .board-theme.gallery .theme-list > .each-document > a.biz6 {
    font-size: 0.8rem;
} 

#dimodeBoard.board-detail .list-in-detail .board-theme.gallery .theme-list {
    aspect-ratio: 4.5;
}

.board-theme .theme-list .list-categories .sub-category-menu, .board-detail .list-categories .sub-category-menu {
     
    right: 0; left: initial;
	
}

 
		
#sermon-control {
    height: 2.5rem;  margin-right: 5px;
    width: 10vw; min-width: 50px;
    font-size: 0.8rem; padding: 0px 5px;
  

}

#sermon-keyword {
            width: 30vw;
        min-width: 100px;
    height: 2.5rem;  margin-right: 0px;}




}
