﻿@media (min-width: 1500px) { .container-fluid { padding:0 116px; } }
.slider .slider-dots { display:none!important; }

#mainTop { background-image:url(../Images/3.band_bg.png); padding:15px 0 0; height:134px; position:relative; margin-top:-21px; background-position:center; }
#mainTop .top-left { float:left; margin-left:20px; }
#mainTop .container { padding:0 30px; }
#mainTop .top-right { float:left; width:620px; position:relative; margin-left:25px; }
#mainTop .top-right > ul { float:right; }
#mainTop .top-right > ul li a { font-size:14px; color:#fff; text-decoration:none; transform: skew(-0.05deg); font-weight:bold; }
#mainTop .top-right > ul li { display:inline-block; padding-left:10px; }
#mainTop .top-right h5 { color:#fff; margin:0; font-weight:bold; font-size:17px; /*padding-left: 40px;*/padding: 0 5px;}
#mainTop .top-right a { text-decoration:none;padding: 0 5px; }
#mainTop .top-right a img { max-width:125px; }
#mainTop .top-right .document-widget .gallery { text-align: center; width: 100%; font-size: 0; }
#mainTop .top-right .gallery .document a.title { padding: 10px 0 5px; text-align: center; text-decoration: none; color: #333; margin:0; font-size:17px;}
#mainTop .top-right .document img:hover { opacity:0.7; transition:0.3s all; }
#mainTop .top-right  .gallery .date { color:#000; font-size:15px; }
#mainTop .top-right .pictures .gallery { width: 220%; }
#mainTop .top-right .arrow.right { position: absolute; right: -25px; top: 45px; cursor: pointer; font-size:20px; color:#fff; font-weight:bold; margin:0; }
#mainTop .top-right .arrow.left { position: absolute; left: 15px; top: 45px; cursor: pointer; font-size:20px; color:#fff; font-weight:bold; margin:0; }
#mainTop .top-right .pictures { width: 602px; overflow: hidden; position: absolute; top: 22px; left: 35px; }
#mainTop .top-right .latest-wrapper { position: relative; }

/*갤러리부분 */
/*#mainTop .main2T h1 {    font-size: 35px;    font-weight: bold;}
#mainTop .main2T {    height: 100px;    margin: 80px 0 30px;}
#mainTop .main2T ul{    display: flex;    flex-direction: row;    justify-content: flex-end;}
#mainTop .main2T li {    border: 1px solid black;    padding: 15px 30px;    width: 200px;    text-align: center;    font-size: 21px;    font-weight: bold;    margin-left: 25px; }
#mainTop .main2T li a{ text-decoration:none; color:black;}
#mainTop .main2T li.active{ background:#061e38;  }
#mainTop .main2T li.active a{  color:white;}
#mainTop {    background-image: linear-gradient(to bottom, #f0f4f7 40%, white 40%);     height: 1000px;}
#mainTop .main2M  #next1 >a{}
#mainTop a{text-decoration:none;}*/
#mainTop .galleryIMG {    background-size: cover;    width: 100%;    height: 60px;} 
#mainTop .top-right .tab-content{ position:relative;}
#mainTop .top-right .tab-content >div{ position:absolute; width: 100%; top:30px; /*padding-top:30px;*/}
#mainTop .top-right .tab-content2{display:none; transition: .3s all;}
#mainTop .top-right .galleryIMG:hover { opacity:0.7; transition:0.3s all; }
#mainTop .main2T ul.gallery-tab {    display: flex;    flex-direction: row;    justify-content: flex-end;}
#mainTop .main2T ul.gallery-tab li {     text-align: center;    font-size: 14px;    font-weight: bold;   }
#mainTop .main2T ul.gallery-tab li a {   color:white; }
#mainTop .main2T ul.gallery-tab li.active a{  color:#d8eeff;}


 
#mainBottom { padding:40px 0; background:#F4F5F9;}
#mainBottom .box-1 { float:left; width:21%; background:url(../Images/4.live_bg.jpg); padding:35px 15px; position:relative; height:270px; margin-right:20px; }
#mainBottom .box-1 h2 { color:#fff; margin:0; font-size:24px; text-shadow: 3px 4px 5px #212121; }
#mainBottom .box-1 ul { margin-top:20px; }
#mainBottom .box-1 li { float:left; width:33.333%; font-size:17px; color:#fff; padding:0 2.5px; margin-bottom:10px; }
#mainBottom .box-1 li span { display:inline-block; padding:4px 10px; border-radius:5px; background: rgba(43,68,109,0.7); font-size:15px; width:100%; transform: skew(-0.05deg); margin:2px 0 0; }
#mainBottom .box-1 p { position:absolute; bottom:0; left:0; width:100%; background:rgba(0,0,0,0.9); margin:0; padding:10px 0; }
#mainBottom .box-1 p a img { margin-right:5px; position:relative; top:-1px; }
#mainBottom .box-1 p a { color:#fff; font-size:15px; transform: skew(-0.05deg); text-decoration:none; }

#mainBottom .box-2 { float:left; width:16.7%; margin-right:20px; }
#mainBottom .box-2 a { color:#fff; text-decoration:none; }
#mainBottom .box-2 .box-2-top { background:url(../Images/5.sermon_title_bg.jpg); padding:20px 25px; height:157px; }
#mainBottom .box-2 .box-2-top p { font-size:18px; margin:0; }
#mainBottom .box-2 .box-2-top hr { float:left; margin:10px auto; width:30px; }
#mainBottom .box-2 .box-2-bottom { clear:both; padding:20px 25px; position:relative; background:#fff; }
#mainBottom .box-2 .box-2-bottom #sermonTitle { color:#333; font-size:20px; font-weight:bold; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; word-wrap: normal!important; display: block; }
#mainBottom .box-2 .box-2-bottom li { font-size:17px; color:#888888; }
#mainBottom .box-2 .box-2-bottom img { position:absolute; right:15px; bottom:15px; }

#mainBottom .box-3 { float:left; width:18.5%; position:relative; text-align:center; margin-right:20px; }
#mainBottom .box-3 > div { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); z-index:1; font-size:19px; font-weight:bold; width:100px; height:100px; border-radius:50%; background:#fff; padding:27px 0; }
#mainBottom .box-3 ul { position:relative; z-index:0; }
#mainBottom .box-3 li { float:left; width:48%; height:130px; }
#mainBottom .box-3 li a { color:#fff; text-decoration:none; font-size:18px; display:inline-block; padding:53px 0; width:100%; }
#mainBottom .box-3 > ul > li:nth-child(1) { background:url(../Images/6.nextgeneration_pic01.jpg); margin-right:5px; margin-bottom:5px; }
#mainBottom .box-3 > ul > li:nth-child(2) { background:url(../Images/6.nextgeneration_pic02.jpg); margin-left:5px; margin-bottom:5px; }
#mainBottom .box-3 > ul > li:nth-child(3) { background:url(../Images/6.nextgeneration_pic03.jpg); margin-right:5px; margin-top:5px;}
#mainBottom .box-3 > ul > li:nth-child(4) { background:url(../Images/6.nextgeneration_pic04.jpg); margin-left:5px; margin-top:5px;}

#mainBottom .box-4 { float:left; width:18.5%; position:relative; text-align:center; margin-right:20px;}
#mainBottom .box-4 .box-4-top > div { float:left; width:48%; margin-bottom:10px; background:#fff; height:130px; }
#mainBottom .box-4 .box-4-top > div img { margin-bottom:15px; }
#mainBottom .box-4 .box-4-top > div a { color:#333; font-weight:bold; font-size:18px; text-decoration:none; display:inline-block; width:100%; padding:22px 0; }
#mainBottom .box-4 .box-4-top > div p { margin:0; }
#mainBottom .box-4 .box-4-top .top-left { margin-right:5px; }
#mainBottom .box-4 .box-4-top .top-right { margin-left:5px; }
#mainBottom .box-4 .box-4-bottom { text-align:center; clear:both; background:#fff; height:130px; }
#mainBottom .box-4 .box-4-bottom img { margin-right:30px; }
#mainBottom .box-4 .box-4-bottom p { margin:0; display:inline-block; font-size:18px; color:#333; font-weight:bold; }
#mainBottom .box-4 .box-4-bottom a { display:inline-block; width:100%; padding:40px 0; }

#mainBottom .box-5 { float:left; width:20.5%; }
#mainBottom .box-5 .box-5-top { background:#DADEE7; font-size:17px; font-weight:bold; padding:8px 20px; }
#mainBottom .box-5 .box-5-top a { float:right; color:#333; text-decoration:none; }
#mainBottom .box-5 .box-5-bottom ul { margin-top:30px; }
#mainBottom .box-5 .box-5-bottom ul li { font-size:16px; padding: 8.4px 8px; border-bottom: 1px solid #888888; }
#mainBottom .box-5 .box-5-bottom ul li a { color:#333; text-decoration:none; text-overflow: ellipsis; overflow:hidden; white-space:nowrap; word-wrap: normal!important; display:block; font-weight:bold; }









@media (min-width:1200px) and (max-width:1850px) {
    #mainBottom .box-3 li { width:150px; }
    #mainBottom .container-fluid { max-width:1000px; }
    #mainBottom .container-fluid { padding:0; }
    #mainBottom .row { margin:0; }
    #mainBottom .box-1 { width:365px; }
    #mainBottom .box-2 { width:280px; }
    #mainBottom .box-3 { width:315px; margin-right:0; margin-bottom:20px; }
    #mainBottom .box-4 { width:49%; }
    #mainBottom .box-5 { width:49%; }
    #mainBottom .box-4 .box-4-top > div { width:48.9%; }
    #mainBottom .box-3 > ul > li:nth-child(1) { margin-right:7px; margin-bottom:5px; }
    #mainBottom .box-3 > ul > li:nth-child(2) { margin-left:7px; margin-bottom:5px; }
    #mainBottom .box-3 > ul > li:nth-child(3) { margin-right:7px; margin-top:5px;}
    #mainBottom .box-3 > ul > li:nth-child(4) { margin-left:7px; margin-top:5px;}
	
	#mainTop .top-right a img { max-width:100px; }
}

@media (min-width:993px) and (max-width:1199px) {
    #mainTop .top-left { margin:0; }
    #mainTop .container { padding:0 15px; }
    #mainTop .top-right { width:510px; }
    #mainTop .top-right .pictures .gallery > div:nth-child(5) { display:none; }
    #mainTop .top-right .pictures .gallery > div:nth-child(6) { display:none; }
    #mainTop .top-right .pictures .gallery > div:nth-child(7) { display:none; }
    #mainTop .top-right .pictures .gallery > div:nth-child(8) { display:none; }
    #mainTop .top-right .pictures .gallery > div:nth-child(9) { display:none; }
    #mainTop .top-right { margin:0; }
    #mainTop { overflow:hidden; }
    #mainBottom { padding:40px 15px; }
    #mainBottom .box-3 li { width:150px; }
    #mainBottom .container-fluid { max-width:925px; }
    #mainBottom .container-fluid { padding:0; }
    #mainBottom .row { margin:0; }
    #mainBottom .box-1 { width:325px; margin-right:15px; }
    #mainBottom .box-2 { width:253px; margin-right:15px; }
    #mainBottom .box-3 { width:315px; margin-right:0; margin-bottom:20px; }
    #mainBottom .box-4 { width:49%; margin-right:15px; }
    #mainBottom .box-5 { width:49%; }
    #mainBottom .box-4 .box-4-top > div { width:48.9%; }
    #mainBottom .box-3 > ul > li:nth-child(1) { margin-right:7px; margin-bottom:5px; }
    #mainBottom .box-3 > ul > li:nth-child(2) { margin-left:7px; margin-bottom:5px; }
    #mainBottom .box-3 > ul > li:nth-child(3) { margin-right:7px; margin-top:5px;}
    #mainBottom .box-3 > ul > li:nth-child(4) { margin-left:7px; margin-top:5px;}
}

@media (min-width:768px) and (max-width:992px) {
	#mainTop .top-left { float:none; margin: 0 0 20px; text-align:center; }
	#mainTop { background:#3A4585; margin:0; height:235px; padding: 25px 0 0; }
	.document-widget.gallery .document:nth-child(n+6) { display: inline-block; }
	#mainBottom { padding:40px 15px; }
	#mainBottom .box-3 li { width:150px; }
	#mainBottom .container-fluid { max-width:610px; }
	#mainBottom .container-fluid { padding:0; }
	#mainBottom .row { margin:0; }
	#mainBottom .box-1 { width:325px; margin-right:15px; margin-bottom:15px; }
	#mainBottom .box-2 { width:270px; margin-right:0; }
	#mainBottom .box-3 { width:325px; margin-right:0; margin-bottom:15px; margin-right:15px; }
	#mainBottom .box-4 { width:270px; margin-right:0; }
	#mainBottom .box-5 { width:100%; }
	#mainBottom .box-4 .box-4-top > div { width:48%; }
	#mainBottom .box-3 > ul > li:nth-child(1) { margin-right:12px; margin-bottom:8px; }
	#mainBottom .box-3 > ul > li:nth-child(2) { margin-left:12px; margin-bottom:8px; }
	#mainBottom .box-3 > ul > li:nth-child(3) { margin-right:12px; margin-top:5px;}
	#mainBottom .box-3 > ul > li:nth-child(4) { margin-left:12px; margin-top:5px;}
	#mainBottom .box-4 .box-4-top > div { margin-bottom:14px; }
}

@media (max-width:767px) {
	#mainTop .top-right { width:100%; float:none; margin:0; }
	#mainTop .top-right > ul { text-align:center; float:none; }
	#mainTop .top-right h5 { padding:0 10px; /*margin:15px 0;*/ text-align:center; }
	#mainTop .top-right > ul li { padding:0 3px; }
	#mainTop .top-right .pictures .gallery > div:nth-child(3) { display:none; }
	#mainTop .top-right .pictures .gallery > div:nth-child(4) { display:none; }
	#mainTop .top-right .pictures .gallery > div:nth-child(5) { display:none; }
	#mainTop .top-right .pictures .gallery > div:nth-child(6) { display:none; }
	#mainTop .top-right .pictures .gallery > div:nth-child(7) { display:none; }
	#mainTop .top-right .pictures .gallery > div:nth-child(8) { display:none; }
	#mainTop .top-right .arrow.left { display:none; }
	#mainTop .top-right .arrow.right { display:none; }
	#mainTop .top-right .pictures .gallery { width:100%; text-align:center; }
	#mainTop .top-right .pictures { width:100%; top:0; left:0; position:relative; }
	#mainTop .top-left { float:none; margin: 0 0 20px; text-align:center; }
	#mainTop { background:#3A4585; margin:0; height:auto; padding: 25px 0; }
	.document-widget.gallery .document:nth-child(n+6) { display: inline-block; }
	
	
	#mainTop .top-right .tab-content >div{ position:relative; width: 100%; top:10px; /*padding-top:30px;*/}
	#mainTop .galleryIMG {    background-size: cover;    width: 100%;    height: 60px; } 
	#mainTop .top-right .tab-content2 a {          padding: 5px;   }
	#mainTop .main2T ul.gallery-tab {     justify-content: center;}
	
	
	
	#mainBottom { padding:30px 15px; text-align:center; }
	#mainBottom .box-3 li { width:150px; }
	#mainBottom .container-fluid { max-width:610px; }
	#mainBottom .container-fluid { padding:0; }
	#mainBottom .row { margin:0; }
	#mainBottom .box-1 { width:100%; margin:0 0 15px; max-width:365px; display:inline-block; float:none; }
	#mainBottom .box-2 .box-2-top { text-align:left; }
	#mainBottom .box-2 .box-2-bottom  { text-align:left; padding:15px 15px; } 
	#mainBottom .box-2 .box-2-bottom #sermonTitle { font-size:17px; }
	#mainBottom .box-2 .box-2-bottom li { font-size:15px; } 
	#mainBottom .box-2 { width:100%; margin:0 auto 15px; max-width:285px; float:none; }
	#mainBottom .box-3 { width: 100%; max-width: 320px; margin: 0 auto 30px; float: none; position: relative; height: 270px; clear: both; }
	#mainBottom .box-4 { width:100%; margin:0 0 15px; }
	#mainBottom .box-5 { width:100%; }
	#mainBottom .box-4 .box-4-top > div { width:48%; }
	#mainBottom .box-3 > ul > li:nth-child(1) { margin-right:10px; margin-bottom:10px; }
	#mainBottom .box-3 > ul > li:nth-child(2) { margin-left:10px; margin-bottom:10px; }
	#mainBottom .box-3 > ul > li:nth-child(3) { margin-right:10px; margin-top:10px;}
	#mainBottom .box-3 > ul > li:nth-child(4) { margin-left:10px; margin-top:10px;}
	#mainBottom .box-4 .box-4-top > div { margin-bottom:14px; }
	#mainBottom .box-5 .box-5-bottom ul li { text-align:left; }
	#mainBottom .box-5 .box-5-bottom ul { margin-top:15px; }	
}

@media (max-width:330px) {
	#mainBottom .box-3 li { width:135px; }
}
