﻿/* common */

.nav-tabs {border-bottom:none;}
.plus { position:absolute; top:0; right:0;}
.plus:hover { opacity:0.8; transition:0.3s all ease;}


/* main1 s */
.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;}
.quickCont {width:20%; float:left; background-color: #2B4870;}
#sermon { background:url(../Images/banner1.png) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px 40px;}
#sermon h3 { float:left; font-size:30px; color:#fff; margin:8px 0px 0px; display:inline-block; vertical-align: middle;}
#sermon h5 { font-size:34px; color:#fff; margin:0px 0px 20px; font-weight:bold;}
#sermon h4 { font-size:17px; color:#fff; margin:15px 0px 15px;}
#sermon h6 { width:100%; text-align:right; font-size:23px; color:#fff; margin:5px 0px 0px;}
#sermon{position:relative;}
#sermon a {text-decoration:none; color:#fff;}
#sermon a:hover { transition:0.5s all ease; text-decoration:none;}
#sermon .sermon-div{position:absolute;top:20px;right:5%;width:50%; cursor:default;}
#sermon .sermon-div h5 a {
        display: inline-block;
        width: 100%;
        text-align: left;
        letter-spacing:1.5px;
    }
#sermon .sermon-play-img {
    padding-left: 50px;
}


/* 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:ff; margin:0px 0px 20px;}

#main-1 .main-1-right ul{ margin-top: 20px;}
#main-1 .main-1-right ul li{ border-bottom: 1px solid #fff; padding: 10px 0;}
#main-1 .main-1-right ul li a {color: #e1e1e1; font-size: 17px; text-shadow: 1px 1px 2px #000000; font-weight: bold; }

/* main1 e */
.col-md-padding-7{ padding-left:10px; padding-right:10px;}

/* main2 s */

#main-2 {margin-bottom:50px;}
#main-2 .main2-gallery { overflow:hidden; border:1px solid #e5e5e5; height:351px; padding:25px; position:relative;}
#main-2 .main2-gallery a { text-decoration:none; }
#main-2 .main2-gallery h5 { font-size:28px; color:#000; margin:0; font-weight:bold; display:inline-block; margin-top:20px;margin-left:20px;}
#main-2 .main2-gallery h5 span { color:#206E9C; }
#main-2 .main2-gallery .document-widget .gallery { text-align: center; width: 100%; font-size: 0; }
#main-2 .main2-gallery .document img { height:150px;}
#main-2 .main2-gallery .gallery .document a.title { padding: 20px 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; }
#main-2 .main2-gallery .pictures .gallery { width: 200%; }
#main-2 .main2-gallery .right { position: absolute; right: 40px; top: 50%; margin-top:-16px; cursor: pointer; }
#main-2 .main2-gallery .left { position: absolute; left: 40px; top: 50%; margin-top:-16px; cursor: pointer; }
#main-2 .main2-gallery .pictures { width: 450px; overflow: hidden; position: absolute; top: 45%;     margin-top: -52px; left: 13%; height:220px;}
#main-2 .main2-gallery .latest-wrapper { position: relative; }
#main-2 .main2-gallery .document-widget.gallery .document { margin:0 10px; height:150px; width:200px; color:#fff;}
.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; }


/*다음세대*/
.next-generation-wrapper .next-generation.background-color3 ul { margin-top:20px;}
.next-generation-wrapper .next-generation.background-color3 ul li a { color:#000; font-size:18px; }
.next-generation-wrapper .next-generation.background-color3 ul li p { font-size:14px; border-bottom:1px solid #cecece; padding-bottom:5px;}
.next-generation-wrapper .next-generation.background-color3 { padding:20px 30px; border:1px solid #cecece;}
.next-generation-wrapper .next-generation {position:relative;height: 350px;}
.next-generation-wrapper .next-generation > .next-generation-title {margin-bottom:5px;color:#000; display:block;text-decoration:none; font-size:25px;}
.next-generation-wrapper .next-generation > .next-generation-btn { float:right;}
.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-bottom:20px; width:100%; height:130px;}

.next-generation-wrapper .next-generation .documents .tab-content p { font-size:16px; color:white; text-align:center }
.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;}
.tab-dots .active > a { width:16px!important; height:16px!important; background:#fff!important;}
.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 */
.main-1-right2 .tab-content .generation li a .img-wrap {width:202px; height:147px; text-align:center; margin:10px auto; border:1px solid #fff; display:flex; }
.latest-wrapper .documents .tab-content p { font-size:16px; color:white; text-align:center }
.latest-wrapper .documents .tab-content p:nth-child(2) { font-size:20px; margin-bottom:5px; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;} 
.latest-wrapper.documents .generation_date {word-break:keep-all; font-size:14px!important;color:#D7D9D8!important; }
.latest-wrapper.nav-tabs > li{display:inline-block;text-align:center; float:inherit;}
.tab-dots .active > a { width:16px!important; height:16px!important; background:#fff!important;}
.latest-wrapper .tab-dots {text-align:center; width: 100%;    position: absolute;  left: 0;  bottom: 15px;}
.latest-wrapper .tab-dots > li {margin-left:3px;margin-right:3px; float:inherit; display: inline-block; }
.latest-wrapper .tab-dots > li > a {width: 12px;height: 12px;background: #e7e4df;cursor: pointer;border-radius: 50%; padding: 0; float:inherit;}

/*#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;}*/

#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:18px; margin:0;}
#main-quick > div > div > a> div { padding:15px 0px; border-right:1px solid #57728C;}
#main-quick > div > div > a> div:hover { opacity:0.7; transition:0.4s all ease;}
/*.quick01{ background-color:#0166B3 }
.quick02{ background-color:#0560A6 }
.quick03{ background-color:#0d5590 }
.quick04{ background-color:#14497A }
.quick05{ background-color:#1A406A }
.quick06{ background-color:#1D3C61 }
*/


/*메인 공지사항 성가대찬양*/
.bottom-latest .latest-wrapper {
    padding: 30px;
    width: 100%;
    height: 100%;
    position: relative;
	
}
    .latest-third {
        overflow: hidden;
        padding: 0;
        position: relative;
        margin-bottom: 30px;
        height: 350px;
		
    }
	
.latest-wrapper a.latest-title {
    font-size: 32px;
    color: #eee;
    text-decoration: none;
    font-weight:bold;
}
.latest-wrapper a.latest-title2 {
    font-size: 32px;
    color: #000;
    text-decoration: none;
}
.latest-wrapper a.latest-btn {
    position: absolute;
    right: 0;
    top: 0;
}
.background-color {
    background: url(../Images/bg_2.png);
    background-size:cover;
    background-repeat:no-repeat;
	
}
.background-color .latest-wrapper{
	background-color: rgba(0,0,0,0.3);
}
.background-color2 {
    background: url(../Images/bg_3.png);
}
.background-color3 {
    background:#fff;
}



.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: 34px;
        font-weight:bold;
    }

    .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.community_title {
    font-size: 16px;
    color: black;
    text-decoration:none;
}
.latest-third .latest-wrapper ul > li > a > span.community_date {
    font-size: 15px;
    color: black;
    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: -80px;
    width:80%;
}
/* 성가대 찬양 css End*/
.font-color4 {
    color: #fff !important;
}
.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:1500px) {
	.container{ width:1215px;}
	}
@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;}
}

@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-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; }

}

@media (min-width:768px) and (max-width:991px) {
    #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;}
    #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%;}
    
    /*다음세대 귀찮음*/
    .next-generation-wrapper .next-generation .documents a {padding-left:40px!important;padding-right:40px!important;}
}

@media (max-width:767px) {
	.main-quick .container-fluid{width:100%;}
	.onlineLink-m{ text-align:center; background: #5f472ce3;  padding: 10px 0; }
	.onlineLink-m a { cursor:pointer;}
	.onlineLink-m span { color:#fff; font-size: 18px; margin-left:20px;}
	#main-quick{ display:flex; flex-wrap:wrap;}
	#main-quick > div > div > a> div { width:33.333%}
	#main-quick > div > div > a:nth-child(4)> div {width:50%;}
	#main-quick > div > div > a:nth-child(5)> div {width:50%;}
	
	  #main-2 .main2-gallery .pictures .gallery{ width:100%;}
	  #main-2 .main2-gallery {padding:20px; height:290px;}
	  .next-generation-wrapper{margin:20px 0; text-align:center;}
    #sermon .sermon-div {
        width: 50%;
   			    top: 50%;
    text-align: right;
    transform: translateY(-50%);
    background-color: #00000085;
    width: 100%;
    height: 100%;
    left: 0;
    padding: 20px;
    }
    #sermon .sermon-play-img {
				display:none;
    }
    #sermon h3 { float:unset; font-size:18px;}
    #main-quick img {
        width: 25px!important;
    }
    #main-2 .main2-gallery .document-widget.gallery .document{ width:100%; height:unset; display:block; margin:0;}
    #main-quick > div > div > a> div { padding:8px 0;    border-bottom: 1px solid #57728C;}
	#main-quick img { display:none; margin:0 auto 10px; }
    #main-quick p { font-size:14px;}
    #main-1 { margin:25px 0;}
    #sermon {padding:10px; height:250px; margin-bottom:15px; min-height:200px;}
    #main-2 .main2-left-top p { font-size:17px; margin:0;}
    #main-2 .main2-gallery .left { display:none; }
    #main-2 .main2-gallery .right { display:none; }
    #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:100%; margin:20px auto; position:static; height:165px;}
    #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:15px 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 h5, .main-right-1 h3, .main-right-2 h3 { font-size:24px; line-height: 32px;}
    #sermon h5{width:100%!important; margin-top:40px;}
    .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 .sermon-div h5 a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #sermon h4, #sermon h6 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
    #sermon h4{margin:10px 0px 10px;}
    #sermon h6{margin: 10px 0px 0px;}

    
    /*다음세대*/
    .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;}
}

@media (max-width:320px) {
    #main-2 .main2-gallery .pictures { width:220px; height:170px; top: 35%; left: 25%; }
}
