﻿/*메인*/
/*#dimodePage{display: block!important; transform:translateY(-100px);}*/
.flex{display: flex;    justify-content: space-between;}
a:hover {  color: black; text-decoration: none; }

section {overflow:hidden; display:block;}


#dimodePage { 
    margin-top: 120px;
}





#mainSlider {position: relative; opacity: 0.999;}
.intro_container{	width:1160px;}
.intro {    position: absolute;    bottom: 25%;    left: 50%;    z-index: 99;    transform: translateX(-50%);}
.intro-center >div {    width: 145px;    height: 145px;    border: 1px solid #ccc;     background: white;    padding: 27px; }
.intro-center >div p {    font-size: 16px;	font-weight:bold;	color:black;}

#mainSlider .each-img {    margin: 0;}

/*section1*/

#main1{overflow:visible;}

.sermon{
	padding: 0%;
	padding-bottom: 4%;
    background: url(../../../Layouts/mannayongin_Layout/Images/2.sermon_bg_1.png);
    background-size: cover;
    background-position: 50% 50%;
    background-origin: border-box;
    background-repeat: no-repeat;
    text-align: center;
	
	
}
.sermon h2 {
    font-size: 45px;
    color: #000;
    font-weight: bold;
    text-align: left;
}
.sermon h2 span {
    font-family: 'Noto Sans KR', serif; 
    color: #9d9ea0; 
    font-weight: 300; 
}
.st-2 {    padding: 40px 0 0 40px;}
.st-2 >div {    text-align: left; display:flex; padding-top: 20px;}
.st-2 >div >a {    margin: 20px 20px 0 0; display: block; margin: 0 10px;} 
.st-2 >div >a:hover img {    transform:translateY(-10px); transition: all 0.3s linear;} 



.st-1  {    transform: translateY(-100px); position :relative;}

.st-1 > a {   display:block;}


.sb-1 h2 {    padding: 0 15px; margin-bottom: 40px;}
.sb-2 >div >a {    text-align: left;    color: #000; display:block; transform: translateY(-50px); margin-left: 5px; width: 100%;}
.sb-2 >div >a p {    font-size: 16px;}
.sb-2 >div >a h4 {    font-size: 26px; line-height: 1.4; margin-bottom: 5px; width: 73%;}
.sb-2 >div >a h4 span {    font-size: 18px; color:#4eaf7c; font-weight: bold; }
.sb-2 >div >a h4 img  {    float:right;     margin-top: 10px;}

.sb-2 >div >a:hover h4 img {  -webkit-animation: jello-horizontal 0.9s both;	        animation: jello-horizontal 0.9s both;  }



.sermon-play{position :absolute; right: 45px;    bottom: calc(-97px / 2); }
.sermon-play:hover{  -webkit-animation: jello-horizontal 0.9s infinite;	        animation: jello-horizontal 0.9s infinite;  }



 /*section2*/
 

.next{
	padding: 120px 0;
    background: url(../../../Layouts/mannayongin_Layout/Images/4_ng_bg.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-origin: border-box;
    background-repeat: no-repeat;
    text-align: center;
	
	
}
.next h1 {
    font-size: 60px;
    color: white;
    font-weight: bold;
	letter-spacing: 2px;	
	line-height:1.5;
	margin-bottom: 80px;
}
.next h1 span {
    font-family: 'Noto Sans', serif;  
    font-weight: 500;
    font-size: 38px;
    letter-spacing: 7px;
	color: #50a979;
}
.next h2 {
    font-size: 32px;
    color: white; 
}
 
.nb-1 >div h4 {    
	color: white;    
	font-size: 30px; 
	font-weight: bold;
} 
.nb-1 >div >a {    
	display: block;
	/*border: 2px solid black;*/
	border-radius: 220px;
    background: rgb(7 51 71);
	width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
	color: #fff;
}
.nb-1 >div >a:hover {
    background: rgb(255 255 255);
    transition: 0.3s;
    color: #000;
}
.nb-1 >div >a:hover h4 {
    color: #000;
}
.nb-1 >div   {max-width: 260px;
    aspect-ratio: 1;
    padding: 0;}
.next-bottom  {    padding: 0 250px ;}



 /*section3*/
 

.gallery{
	padding: 6% 0% 8%;
    background: url(../../../Layouts/mannayongin_Layout/Images/5_gallery_bg.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-origin: border-box;
    background-repeat: no-repeat;
    text-align: left;
	
	
}

.photo_container {    transform: translateX(14%);}

.gallery h1 {
	/*font-family: 'Noto Sans', serif;*/
	font-family: 'NanumSquare KR', sans-serif;
    font-size: 52px;
    font-weight: 900; 	
	line-height:1.3;
	color: rgb(44 148 173);   margin-top: 0;
	
}
.gallery h1 span {
     font-family: 'NanumSquare', sans-serif;
    font-size: 75px;
    color: white;	
}
.gallery h2 {
    font-size: 23px;
    color: white;     padding-left: 5px;
}
 
.gallery .galleryList-slide{padding:15px 0;}
.gallery .galleryList-slide >a{  display:block;     position: relative;     margin: 0 15px;} 
.gallery .galleryList-slide >a:focus{  border:none; } 
.gallery .galleryList-slide >a>  p {
    visibility:hidden;
    position: absolute;
    top: 47%;
    left: 50%; 
    transform: translate(-50%, -50%);
    color: white;
} 
.gallery .galleryList-slide a:hover >img{    filter: brightness(0.5); transition:all .5s linear;}
.gallery .galleryList-slide >a:hover >p{  visibility:visible;}
.gallery .galleryList-slide > a > img {
    width: 100%;
    height: 14vw;  
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;  
	 box-shadow: 5px 5px 10px 0 #111;
}

.photo{        flex-direction: column-reverse;}
.gallery .slick-list  {    width: 100%;}


 .swiper-pagination1 {
    width: 100%;
    position: initial;
    display: flex;
    flex-direction: row;
	margin: 15px 5px;
}

.swiper-pagination2 {
    margin-top: 10%;
    width: 31vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.swiper-pagination1 >li {
    margin: 0 10px;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    background: #ccc;
    border: 1px solid #ccc;
}

.swiper-pagination1 .slick-active {
    width: 40px;
    border-radius: 20px;
    background: white;
    border: 1px solid white;
}
.swiper-pagination1 >li >button{
    display:none;
}


@media(max-width:1499px) { 
.intro_container {    width: 990px;}
 
.nb-1.flex >div {    padding: 0 20px;}

.next h1 {    font-size: 55px;}
.next h2 {    font-size: 28px;}
.sermon h2 span {font-size: 40px;}
.gallery h1 span{font-size: 45px;}
.sb-2 >div >a p {    font-size: 15px;}
.gallery h2 {    font-size: 21px;}
}



@media(max-width:1199px) { 
.intro_container {    width: 990px;}
.pt-1 , .photo-left {    padding: 0;}
.st-2 {    padding: 40px 20px;}



.nb-1 >div >a {      padding: 38% 0;}

.next h1 {    font-size: 45px;}
.next h2 {    font-size: 24px;}
.sermon h2 {    font-size: 37px; }
.sermon h2 span {font-size: 34px;}
.gallery h1 span{font-size: 40px;}
.sb-2 >div >a p {    font-size: 13px;}
.gallery h2 {    font-size: 18px;}
.nb-1 >div h4{font-size: 23px;}

.next .next-bottom {    padding: 0px 90px; }

}
@media(max-width:991px) { 
#dimodePage {    margin-top: 80px;}
.sermon-play {    bottom: calc(-18px / 2);    max-width: 50px;}



	.intro_container {    width: 690px;}
	.intro-center >div p{font-size:15px;}
	.intro-center >div {    width: 14%;    height: 108px;      padding: 6px;}
	.st-2 >div >a {     margin: 0 5px;} 
	.st-1 {    transform: translateY(-10%);}
	.st-2 {    padding: 25px  20px;}
	.nb-1 >div >a {    padding: 31% 0;}
.next .next-bottom {    padding: 0px 40px; }
.next   {    padding: 50px 0; }
.next h1 {    font-size: 50px;     margin-bottom: 50px;}
	
	
	.next h1 , .gallery h1 span{    font-size: 35px;}
	.next h2 {    font-size: 21px;}
	.sermon h2 {    font-size: 32px; }
	.sermon h2 span {font-size: 30px;}
	.gallery h1 span{font-size: 30px;} 
	.gallery h2 {    font-size: 17px; }
	.gallery h1 {     font-size: 45px;    line-height: 1.2;}


	.sb-2 >div >a h4 {    font-size: 19px; }
.sb-2 >div >a {     transform: translateY(-25px); }
.sb-2 >div >a h4 img { margin-top: 0px;  }

}
@media(max-width:767px) {
    /*모바일 플렉스*/ 
	#dimodePage {     }
	.intro-center {display:none;}

    .sb-2 >div >a {
        transform: translateY(-8vw);
        margin: 0 0px;
    }
.sermon-play {
        bottom: calc(-10vw / 2); 
    }

	
	.sb-2 >div {    max-width: 480px;}
	.sb-2 {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		flex-direction: column;
	} 
	.nb-1.flex >div {    padding: 0 5px;}


	.photo_container.flex {    flex-direction: column;}
	.gallery .galleryList-slide > a > img {     height: 43vw;}
	
	.next h1 , .gallery h1 span{    font-size: 30px;}
	.next h2, .gallery h2, .nb-1 >div h4, .sb-2 >div >a h4  {    font-size: 17px;}
	.sermon h2 {    font-size: 30px; }
	.sermon h2 span {font-size: 25px;}
	.gallery h1 span{font-size: 25px;}  
	.gallery h1 {     font-size: 40px; }

    /**/ 
}

@media(max-width:567px) {
	.st-1 {    transform: translateY(30px);}
     .sermon-top  {    display: flex;    flex-direction: column;}
	 .nb-1.flex {    flex-wrap: wrap;}
	 .photo_container {    transform: translateX(0);}
	 .nb-1.flex >div {    padding: 5px ;}
	 
	 .next h1, .sermon h2 {    font-size: 24px;}
	 .sermon h2 span {font-size: 23px;}
	 .next h1 span{    font-size: 20px;     letter-spacing: 4px;}
	.next h2 , .gallery h1{    font-size: 18px; word-break:keep-all;}
	.sb-1 h2 {     margin-bottom: 15px;}
	.gallery h1 {     line-height: 1.5;}
	.photo-right  {    padding: 0;}
.pt-1.col-xs-12 {    padding: 0 15px;}
.pt-1.col-xs-12 {
    padding: 0 15px;
}
	
}
