﻿ 
.nav-tabs {border-bottom:none;}
.plus { position:absolute; top:0; right:0;}
.plus:hover { opacity:0.8; transition:0.3s all ease;}

/*
.nav>li>a { font-size:18px; padding:10px 15px 0px 0px; color:#fff;}
.nav>li>a:hover { background-color:transparent; border:none;} 
.main-right-1 .tab-content ul { margin-top:30px;}
.main-right-1 .tab-content li { padding:0px 0px 8px; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; word-wrap: normal !important; display: inline-block; width:260px; text-decoration:none; }
.main-right-1 .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover { border:none; background-color:transparent; font-weight:bold; color:#fff;}

.main-right-2 .tab-content ul { margin-top:25px;}
.main-right-2 .tab-content li { padding:0px 0px 5px; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; word-wrap: normal !important; display: inline-block; width:260px; text-decoration:none; border-bottom:1px solid #fff; margin:0px 0px 5px;}
.main-right-2 .tab-content li a:hover { font-weight:bold; transition:0.3s all ease;}
.main-right-2 .tab-content li .title { margin:0px;}
.main-right-2 .tab-content li .date { font-size:16px; color:#fff; margin:0px;}
.main-right-2 .tab-dots > li > a { display: inline-block; width: 11px; height: 11px; background: #e7e4df; cursor: pointer; border-radius: 50%; padding: 0; }
.main-right-2 .tab-dots > li { display: inline-block; float: none; margin: 0 3px; z-index: 999; }
.main-right-2 .nav-tabs { text-align:center; margin:15px 0px 0px;}
.main-right-2 .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover { border:none; background-color:#fff; font-weight:bold; color:#fff;}

.main-2-right1 { background-color: #4F4F4F; height:390px; padding:30px; position:relative;}
.main-2-right1 a { color:#fff; font-size:20px; text-decoration:none;}
.main-2-right1 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main-2-right1 .tab-content a:hover { font-weight:bold; transition:0.3s all ease;}
.main-2-right1 .tab-content .title { margin:15px 0px 0px 0px; text-align: center; }
.main-2-right1 .tab-content .date { font-size:16px; color:#fff; margin:5px 0px 0px 0px;; text-align:center;}
.main-2-right1 .tab-dots > li > a { display: inline-block; width: 11px; height: 11px; background: #e7e4df; cursor: pointer; border-radius: 50%; padding: 0; }
.main-2-right1 .tab-dots > li { display: inline-block; float: none; margin: 0 3px; z-index: 999; }
.main-2-right1 .nav-tabs { text-align:center; margin:15px 0px 0px;}
.main-2-right1 .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover { border:none; background-color:#fff; font-weight:bold; color:#fff;}
.main-2-right1 .tab-content img { width:260px; height:175px;}

#main-3 .main-3-right {border:1px solid #e5e5e5; padding:15px 30px; height:162px;}
#main-3 .main-3-right h4 { font-size:20px; padding:0px 18px; margin:0px 0px 15px;}
#main-3 .main-3-right img { float:left; clear:both; overflow:hidden; margin-right:30px;}
#main-3 .main-3-right img:hover { opacity:0.5; transition:0.3s all ease;}
#main-3 .main-3-right p { display:inline-block; font-size:14px; line-height:25px; clear:both;}
*/

/* main1 s */
#main-slider .slider .slider-wrapper{    height: 39vw;}
#main-slider video	{        transform: translateY(-110px);     max-width: 1903px;}

.slider .move-btn{background:rgba(0,0,0,0)!important;}
.slider .slider-dots .each-dot.active{background:white!important;border-color:white!important;width:30px;border-radius:15px; transition:all 0.3s;}
.slider .slider-dots .each-dot{background:rgba(255,255,255,0.5)!important;}
#main-1 { margin:50px 0 0;}
#main-1 > div.container, #main-2 > div.container {padding: 0;}

#sermon .sermon-p {position:absolute; bottom:0;}
#sermon .sermon-play-img{/*position:absolute;    top:0;*/}
#sermon { position: relative; aspect-ratio: 1920 / 1080;  width: 100%; height: 100%; background-position: 50% 50%; background-size: cover; border: 0px;}
#sermon h3 { /*font-size:30px; color:white; margin:0px 0px 0px; display:inline-block;    vertical-align: middle;text-align:right;*/ color: #fff; font-size: 2.4em;}

#sermon{position:relative;}
#sermon a {text-decoration:none; color:white;}
#sermon a:hover { font-weight:bold; transition:0.3s all ease;}
#sermon .sermon-div { /*position:absolute;top:33px;right:0%;width:50%; cursor:default; margin-right:20px; text-align:right;*/
        justify-content: flex-end;
    align-items: flex-start; display: none;
    /*padding: 1.5em 2.5em;*/
}
#sermon .sermon-div .sermon-txt {text-align: left; color: #fff; float:right; width: 50%;}
.sermon-txt p { font-weight: 600;}
.sermon-txt .sermon-maintitle {    line-height: 2;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 12px 0;
    margin-left: 30px;}
/*.sermon-txt .sermon-title {line-height: 2; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}*/
.sermon-txt .sermon-title {
    line-height: 1.5;
    font-size:100%
    /* display: block; */
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    display: inline-block;
    width: 100%;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    /* 여러 줄 자르기 추가 스타일 */
    white-space: normal;
}
.sermon-maintitle h3 {    padding: 5px 11px 5px 0;}
.sermon-maintitle img {    max-width: 41px;    max-height: 41px;}





/* main1-right-1 */
.main-right-1 {
    background-color: #297D99;
    height: 350px;
    padding: 25px;
    position: relative;
}
.main-right-1 ul { margin: 30px 0 0;}
.main-right-1 li { color:#fff; font-size:17px; border-bottom:1px solid #e5e5e5; padding:4px 0; text-align:center; }
.main-right-1 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}



#wdsermon {    padding: 80px 0;}

/* main1-right-2 */

.main-right-2 { background:url(../Images/banner2.jpg) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px; position:relative; }
.main-right-2 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main-right-2 .main1-view { position:absolute; text-align:center; width:100%; top:40%; left:0; font-size:19px; color:#fff;}
.main-right-2 .main1-view a { padding:5px 15px; color:#fff; font-size:17px; border:1px solid #fff; margin:10px 0 0; display:inline-block; text-decoration:none; }
.main-right-2 .main1-view a:hover { background-color:#fff; color:#000; transition:0.3s all; }

/* main1 e */

/* main2 s */

#main-2 { margin: 0 auto 4em;}
#main-2 .main2-left-top img { float:left; clear:both; margin:0px 20px 0px 0px;}
#main-2 .main2-left-top a { text-decoration:none; color:#333;}
#main-2 .main2-left-top strong { color:#000; }
#main-2 .main2-left-top p { font-size:23px; display:inline-block; margin:20px 0px 0px 0px; color:#979191; }
#main-2 .main2-left-top span { margin:0px 15px; font-size:18px;}
#main-2 .main2-left-top { overflow:hidden; margin:0 0 20px;}
#main-2 .main2-left-top small { font-size:17px;}

#main-2 .main2-gallery { overflow:hidden; border:1px solid #e5e5e5; height:351px; padding:57px;}
#main-2 .main2-gallery a { text-decoration:none; }
#main-2 .main2-gallery h5 { font-size:25px; color:#000; margin:0; font-weight:bold; display:inline-block; }
#main-2 .main2-gallery h5 span { color:#327ace; }
#main-2 .main2-gallery .document-widget .gallery { text-align: center; width: 100%; font-size: 0; }
#main-2 .main2-gallery .document img { height: 97px; }
#main-2 .main2-gallery .gallery .document a.title { padding: 10px 0 5px; text-align: center; text-decoration: none; color: #333; margin:0; font-size:17px;}
#main-2 .main2-gallery .document img:hover { opacity:0.7; transition:0.3s all; }
#main-2 .main2-gallery  .gallery .date { color:#000; font-size:15px; transform: skewY(-0.5deg);}
#main-2 .main2-gallery .pictures .gallery { width: 100%; }
#main-2 .main2-gallery .arrow.right { position: absolute; right: 40px; top: 50%; margin-top:-16px; cursor: pointer; }
#main-2 .main2-gallery .arrow.left { position: absolute; left: 40px; top: 50%; margin-top:-16px; cursor: pointer; }
#main-2 .main2-gallery .pictures { /*width: 80vw;*/ overflow: hidden; position: absolute; top: 50%; height: 145px;  margin-top: -52px; left: 11.5%; display: flex; justify-content: center;}
#main-2 .main2-gallery .latest-wrapper { position: relative; }

.main2-right-1 { background-color: #105C96; height:350px; padding:25px; position:relative;}
.main2-right-1 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main2-right-1 .main2-school { text-align:center; margin:40px 0 0;}
.main2-right-1 .main2-school p { color:#fff; margin:15px 0 0; font-size:15px;}
.main2-right-1 .main2-school h5 { color:#fff; margin:15px 0 0; font-size:17px; line-height: 25px;}
.main2-right-1 .main2-school h5 small { color:#fff; margin:20px 0 0;}

.main2-right-2 { background:url(../Images/banner3.jpg) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px; position:relative; }
.main2-right-2 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main2-right-2 .main2-view { position:absolute; text-align:center; width:100%; top:40%; left:0; font-size:19px; color:#fff;}
.main2-right-2 .main2-view a { padding:5px 15px; color:#fff; font-size:17px; border:1px solid #fff; margin:10px 0 0; display:inline-block; text-decoration:none; }
.main2-right-2 .main2-view a:hover { background-color:#fff; color:#000; transition:0.3s all; }

/* main3 s */

#main-3 { margin:25px 0px;}
#main-3 .main3-icon { text-align:center; width:100%; border: 1px solid #e5e5e5; padding:30px 0px;}
#main-3 .main3-icon a { text-decoration:none; color:#000; font-size:17px;}
#main-3 .main3-icon li { display:inline-block; padding:0px 33px; border-left:1px solid #e5e5e5;}
#main-3 .main3-icon li:hover { opacity:0.5; transition:0.2s all ease;}
#main-3 .main3-icon li p { margin:15px 0px 0px;}

/* main3 e */


/*다음세대*/

/*.col-xs-12 col-sm-6 col-md-3 main-1-right .latest-third background-color bottom-latest .latest-wrapper .latest-title{font-weight:900;}*/
.next-generation-wrapper .next-generation {
    position: relative;
    padding: 24px;
    height: 350px;
}
    .next-generation-wrapper .next-generation > .next-generation-title {
        font-size: 1.3em;
        color: #fff;
        font-weight: bold;
    }
        .next-generation-wrapper .next-generation > .next-generation-btn {
            float: right;
        }
.next-generation-wrapper .next-generation > .next-generation-btn > img { position:absolute;top:0;right:0;}
/*.next-generation-wrapper .next-generation .documents a{display:inline-block;padding-left:5px;padding-right:5px;}*/
.next-generation-wrapper .next-generation .documents .generation_img {    margin: 1em auto 1em;
    width: 100%;
    height: 7em;}

.next-generation-wrapper .next-generation .documents .tab-content p { font-size:16px; color:white; text-align:center; transform: skewY(-0.5deg);}
.next-generation-wrapper .next-generation .documents .generation_date {word-break:keep-all; font-size:14px!important;color:#D7D9D8!important; }
.next-generation-wrapper .next-generation .nav-tabs > li{display:inline-block;text-align:center; float:inherit;}
.next-generation-wrapper .tab-dots {text-align:center; width: 100%;    position: absolute;  left: 0;  bottom: 15px;}
.next-generation-wrapper .tab-dots > li {margin-left:3px;margin-right:3px;}
.next-generation-wrapper .tab-dots > li > a {display: inline-block;width: 12px;height: 12px;background: #e7e4df;cursor: pointer;border-radius: 50%; padding: 0;}


/* 다음세대 css */

/*#main2 .text-center span:hover { display:inline-block; padding: 5px 20px; background-color: #B8E6FF; border:1px solid #BEBEBE; border-radius:10px; margin:0px 3px; color:#fff; transition:0.2s all ease;}*/
marpad0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding: 0px !important;
    margin: 0px !important;
}
#main-quick { text-align:center;}
#main-quick a { text-decoration:none; color:#fff; }
#main-quick img { display:inline-block; margin-right:15px;}
#main-quick p { display:inline-block;vertical-align:middle; font-size:20px; margin:0; /*font-weight: 600;*/}
    #main-quick > div > div > a > div {
        border-right: 1px solid #fff;

    }
#main-quick > div > div > a> div:hover { opacity:0.7; transition:0.4s all ease;}
#main-quick .container-fluid .row {background-image: linear-gradient(1deg, #1d3a5e, #31517a); margin-left: 0px !important; margin-right: 0px !important;
        }

/*#main-quick > div > div > a:last-child> div {    border: 0px;}*/ /*마지막 요소 px을 1씩 잡아먹어서 주석 처리 했음 20230612*/
        
/*메인 공지사항 성가대찬양*/
.bottom-latest .latest-wrapper {
    padding: 30px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: white;
  
    /*line-height:10px;*/
}
    .latest-third {
        overflow: hidden;
        padding: 0;
        position: relative;
        margin-bottom: 30px;
        height: 350px;
        /*background-color: #3b3825 !important;
        background-image: url('../Images/board_bg1.jpg');
        border: 1px solid transparent;*/
    }
    .latest-third img{
    top: 0;
    right: 0;
    }
 .latest-wrapper a.latest-title {
    font-size: 1.3em;
    color: black;
    font-weight: bold;
}

.next-generation background-color4 a.next-generation-title font-color4 {
    color: #000;
}
.latest-wrapper a.latest-title2 {
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
}
.latest-floatright {
    width: 100%;
} 
.latest-floatright p {
    font-size: 15px;
color: black;
} 

#main-2 .latest-wrapper a.latest-title2 {
    color: #fff;
}
.latest-wrapper a.latest-btn {
    position: absolute;
    right: 0;
    top: 0;
}
.background-color {
    background:url(../Images/004_box5_bg.png) no-repeat center/cover;
}
.background-color5 {
    background:url(../Images/004_box6_bg.png) no-repeat center/cover;
}
.background-color2 {
    background: #99965f;
}
.background-color3 {
    background: #cfb489;
}
.background-color4 {
    background: #4f81be;
}

.background-color4 .latest-wrapper ul > li {
    border-bottom: 1px solid #fff;
    font-weight: 700;
    margin-top: 15px;
}
.background-color2 .latest-wrapper ul > li {
    border-bottom: 1px solid white;
    font-weight:700;
    margin-top: 17px;
    line-height: 20px;

}
.latest-wrapper ul > li a{
    text-decoration:none;
}

.latest-wrapper ul > li > a > span.choir_title {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    width: 100%;
    padding-right: 15px;
    word-break: keep-all;
    color: white;
    font-size: 22px;
}


    #main-quick .container-fluid .row {
    background: linear-gradient(to bottom, #b5a78a, #9d9077);     /*padding: 0 120px;*/
	    height: 100px;

}

.latest-wrapper ul > li > a > span.choir_date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 18px;
    color: white;
}

.latest-third .latest-wrapper ul > li > a > span.churchhistory_title {
    color: #fff !important; 
}

.latest-third .latest-wrapper ul > li > a > span.churchhistory_date {
    color: #fff !important;
}

.background-color4 .latest-wrapper ul > li.church_history_li {
    border-bottom: 1px solid #fff;
}

.latest-third .latest-wrapper ul > li > a > span.community_title {
    font-size: 16px;
    color: white;
    text-decoration: none;
}
.latest-third .latest-wrapper ul > li > a > span.community_date {
    font-size: 14px;
    color: white;
    text-decoration: none;
}
.main-1-right .latest-wrapper .tab-content {
   position:absolute;
   top:50%;
   margin-top:-50px;
}
.main-1-right .latest-wrapper .tab-content2 {
    position: absolute;
    top: 45%;
    margin-top: -90px;
    width:80%;
}
@media (max-width:450px) {
.main-1-right{
padding-right: 0px;
padding-left: 0px;
	
}
}

.main-1-right .maintime{  margin-top: 5em;}
.main-1-right .maintime ul li {
    font-size: 1.4em;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

/* 성가대 찬양 css End*/
.font-color4 {
    color: #000;
}
.latest-third .latest-wrapper ul > li > a > span.community_title {
    display: inline-block;
    width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width:992px){
#main-quick > div > div > a> div.col-md-2{
	width:20%!important;
	        height: 100%;
	}
}
@media (min-width:1200px) and (max-width:1499px) {
    .main-right-2 .tab-content li { width:200px;}
    .main-2-right2 .tab-content li { width:200px;}
    #main-3 .main3-icon li { padding:0px 33px;}
    #main-3 .main-3-right { padding:15px 20px;}
    #main-3 .main-3-right img { margin-right:15px;}
	
	#main-slider video {
		transform: translateY(0px); 
		width: 100vw;
	}
}

@media (min-width:992px) and (max-width:1199px) {
  
    #sermon .sermon-div h5 {
        width:220px;
    }

    .latest-third .latest-wrapper ul > li > a > span.community_title {
        display: inline-block;
        width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #main-2 .main2-gallery .pictures {
        width: 368px;
    }
    #main-2 .main2-gallery .document img{
        width:114px;
    }


    #main-2 .main2-left-top p { font-size:18px; }
    #main-2 .main2-left-top small { font-size:15px; }
    .main2-right-1 .main2-school p { font-size:12px; }
    #main-slogan h3 { line-height:30px;}
    #main-3 .main3-icon li { padding:0px 20px;}
    #main-3 .main-3-right p { display:none;}
    #main-3 .main-3-right { text-align:center;}
    #main-3 .main-3-right img { float:none; margin:0px;}
    .main-right-2 .tab-content li { width:150px;}
    .main-2-right2 .tab-content li { width:150px;}
    .main-2-right1 a { font-size:18px;}
    #main-2 .main2-gallery .pictures .gallery {width:300%;}
    /*다음세대*/
    .next-generation-wrapper .next-generation {text-align:center;}
    .next-generation-wrapper .next-generation .documents a {padding:0px;}
    .next-generation-wrapper .next-generation .documents .generation_img {margin-bottom:20px; height:100px;}
    .next-generation-wrapper .tab-dots > li {margin-left:0px!important;margin-right:0px!important;}
     #main-quick p { font-size:15px;}
    #main-quick img { margin-right:5px; }
	#main-slider video {
		transform: translateY(0px); 
		width: 100vw;
	}

}

@media (min-width:768px) and (max-width:991px) {
  
    /*
        20230612 이의호
        CSS 선택자 4번째에서 6번째 요소로 선택하도록 변경함 
        #main-quick > div > div > a:nth-child(5) > div.col-md-2, #main-quick > div > div > a:nth-child(5) > div.col-md-2*/
    #main-quick > div > div > a:nth-child(n+4):nth-child(-n+6) > div.col-md-2 {
        /*width:50%!important;*/
        /*border-top:1px solid #57728C;*/
        border-top: 1px solid #FFF;
    }
    #main-2 .main2-gallery {margin:0 0 50px; }
    #main-slogan h3 { line-height:30px;}
    #sermon { margin:0px 0px 15px;}
    .main-right-1 { margin:0px 0px 15px;}
    .main-2-left { text-align:center; margin:15px 0px;}
    #main-2 .main-2-left-top img { float:none;}
    #main-2 { margin:0px 0px 30px;}
    .latest-floatright { float: right; margin-top: 30px;}
    #wdsermon {
        padding: 20px 0;
    }
    #main-3 .main3-icon li { padding:0px 21px;}
    #main-3 .main-3-right { margin:30px 0px 0px; text-align:center;}
    #main-3 .main-3-right img { float:none; margin-right:30px; }
    #main-2 .main2-left-top { text-align:center; }
    #main-2 .main2-gallery .pictures { top:40%; left:10%;}
    #main-3 .main3-icon li { padding:0; width:20%; margin:15px 0;}
    #main-2 .main2-gallery .pictures {left:20%; width: auto;}
    
    /*다음세대 귀찮음*/
    .next-generation-wrapper .next-generation .documents a {padding-left:40px!important;padding-right:40px!important;}
	
	.next-generation-wrapper .next-generation .documents .generation_img {     width: 230px;    height: 10em;}
	
	#main-slider video {
		transform: translateY(0px); 
		width: 100vw;
	}
}

@media (max-width:767px) {
    #wdsermon {
        padding: 20px 0;
    }
    .next-generation-wrapper .next-generation {
        height: 495px;
    }
    .latest-floatright { float: right; }
    #sermon:after {
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        background-color: #00000090;
    }

    #main-2 .main2-gallery .document img {
        width: 114px;
    }


    #main-quick > div > div > a:nth-child(4) > div.col-md-2, #main-quick > div > div > a:nth-child(5) > div.col-md-2 {
        /*width: 50% !important;*/
		display:none;
    }

    #sermon .sermon-p {
        right:0px;
    }

    #sermon .sermon-div {
        width: 100%;
        top: 20px;
        z-index: 1000;
        position: relative;
        padding: 0px;
        display: none;
    }
    #sermon .sermon-play-img {
        padding-left: 20px;
    }
    #main-quick img {
        width: 25px!important;
    }
    #main-quick > div > div > a> div { padding:10px 0;    border-bottom: 1px solid #fff;}
	#main-quick img { display:none; margin:0 auto 10px; }
    #main-quick p { font-size:14px;}
    #main-1 { margin:0;}
    #sermon {padding:25px 25px; /*height:250px;*/}

    #main-2 .main2-left-top p { font-size:17px; margin:0;}

    #main-2 .main2-left-top small { font-size:14px; }
    .main2-right-2, .main2-right-1 { margin:15px 0 0;}
    #main-2 .main2-left-top { text-align:center; }
    #main-2 .main2-left-top img { float:none!important; margin:0 0 15px!important;}
    #main-2 .main2-gallery .pictures {width: 83vw;/*top: 35%;*/left: 10%;/* display: flex; *//* justify-content: center; */}
    #main-3 .main3-icon li { padding:0 10px;}
    #main-slogan h1 { font-size:25px;}
    #main-slogan h1 span { font-size:13px; margin-right:15px; top:-3px;}
    #main-slogan h3 { font-size:16px; line-height:20px;}
    #main-3 .main-3-right { margin:15px 0px 0px; text-align:center;}
    #main-3 .main-3-right img { float:none;}
    #main-3 .main3-icon li { border-left:none; margin:20px 0px; width:32%;}
    #main-3, #main-2 {margin: 1px 0px;}
    .main-2-right2 { margin:15px 0px 0px;}
    .main-2-right2 .tab-content ul { margin:25px 0px;}
    #main-3 .main3-icon li p { font-size:15px;}
    .main-2-right2 h3, .main-2-right1 h3, #sermon h3, #sermon h5, .main-right-1 h3, .main-right-2 h3 { font-size:25px; line-height: 35px;}
    #sermon h5{width:100%!important;}
    .main-2-left {text-align:center;}
    #main-2 .main-2-left-top img { float:none; margin:0px 0px 15px;}
    #main-2 .main-2-left-top p { font-size:22px;}
    #main-2 .main-2-left-top span { font-size:18px; margin:0px 5px;}
    #sermon h4, #sermon h6 { font-size:18px;}
    #sermon h4{margin:10px 0px 10px;}
    #sermon h6{margin: 10px 0px 0px;}
    #sermon, .main-right-1 { margin: 0px 0px 1px; }
    
    /*다음세대*/
    .next-generation-wrapper .next-generation .documents a {position: absolute;text-align: center;width: 100%;top: 20%;left: 0;font-size: 19px;color: #fff;}
    .next-generation-wrapper .next-generation .nav-tabs {position:absolute;bottom:20px;left:50%; transform:translateX(-50%);}
    .next-generation-wrapper .next-generation .documents .generation_img {width:unset!important;}

    .disappear{display:none;}
    .fontsizebigger {font-size: 18px;}
	#main-slider video {
    transform: translateY(0px); 
    width: 100vw;
    }
    .latest-floatright {
        margin-top: 50px;
        float: right;
    }
    .latest-third {
        margin-bottom: 0px;
    }
}

@media (max-width:450px) {
    #main-2 .main2-gallery .arrow.left { display:none; }
    #main-2 .main2-gallery .arrow.right { display:none; }
    #sermon .sermon-div .sermon-txt{
        font-size: 13px;
		    width: 70%;
    }
    #main-2 .main2-gallery .document img {
        width: auto;
    }
    #main-2 .main2-gallery .pictures {
         width: 305px;
    }
    .fontsizebigger {
        font-size: 14px;
    }
    .latest-floatright {
        margin-top: 50px;
        float: right;
    }
    #wdsermon {
        padding: 20px 0;
    }
    #main-2 .main2-gallery .pictures {
        width: 305px; /*top: 35%;*/
        left: 10%; /* display: flex; */ /* justify-content: center; */
    }
	.sermon-maintitle h3 {    
	padding: 0 !important;
	}
	h3{
	    margin-bottom: 0px;
	}
	.main-1-left .sermon-txt{
position: absolute;
font-size:17px !important;
top:0px;
right:40px;
text-align: end;
width : 90%;
}
.main-1-left .sermon-title{
font-size:24px !important;
}
.sermon-txt .sermon-maintitle {
    line-height: 2;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 3px 0 !important;
    margin-left: 30px;
}
    .next-generation-wrapper .next-generation {
        height: 350px;
    }
}


@media (max-width:320px) {
    #main-2 .main2-gallery .arrow.left { display:none; }
    #main-2 .main2-gallery .arrow.right { display:none; }
    #main-2 .main2-gallery .pictures { width:150px; height:290px; top: 35%; left: 25%; }
    .latest-floatright {
        float: right;
        margin-top: 50px;
    }
    #wdsermon {
        padding: 20px 0;
    }
    #main-2 .main2-gallery .pictures {
        width: 305px; /*top: 35%;*/
        left: 10%; /* display: flex; */ /* justify-content: center; */
    }
}
 
.main-quick .col-xs-4 {
    display: flex;
    align-items: center;   /* 세로 중앙 */
    justify-content: center;
    gap: 10px;             /* 아이콘-글 간격 */
    height: 100px;
}



.main-quick p {
    margin: 0;
}
.sermon-div{
background-size: contain;
aspect-ratio: 16/10;
}
.main-1-left .sermon-txt{
position: absolute;
font-size:20px;
top:0px;
right:40px;
text-align: end;
width : 90%;
}
.main-1-left .sermon-title {
    font-size: 26px;
    max-width: 230px;
    margin-left: auto;
}
.main-1-left .sermon-txt img 
{
	padding: 35px;
}