﻿/*메인*/
/*#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;}

.galimage {
    width: 100%;
    height: 499px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.galimage2 {
    width: 100%;
    height: 249px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-bottom: 50px;
}
.col-sm-7 {
    width: 91.333333%!important;
}

@media(max-width:1499px) {

  

}


#mainSlider {
    position: relative;
    opacity: 0.999;
}
.intro_container{	width:1160px;}
.intro {    position: absolute;    bottom: 5%;    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: 15px;	font-weight:bold;	color:black;}

#mainSlider .each-img {    margin: 0;}

/*section1*/

#main1{overflow:visible;}

.sermon{
	padding: 0%;
	padding-bottom: 4%;
    background: url(../../../Layouts/omchhp2_Layout/Images/3.board_bg.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: white;
    font-weight: bold;
    text-align: left;
}
.sermon h2 span {
    font-family: 'Noto Sans', serif; 
    color: #a8a8a8;
    font-weight: 500; 
}
.st-2 {        padding: 85px 70px;}
.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-1  {        transform: translateY(10px);}

.sb-1 h2 {    padding: 0 15px; margin-bottom: 40px;}
.sb-2 >div >a {    text-align: left;    color: white; display:block; transform: translateY(-40px); width: 73%;}
.sb-2 >div >a p {    font-size: 16px;}
.sb-2 >div >a h4 {    font-size: 26px; line-height: 1.4; margin-bottom: 0;}
.sb-2 >div >a h4 span {    font-size: 18px; color:#7cb0e8;}
.sb-2 >div >a h4 img  {    float:right;     margin-top: 10px;}


 /*section2*/
 

.next{
	padding: 2% 5%;
    background: url(../../../Layouts/omchhp2_Layout/Images/4.nxt_bg.png);
    background-size: cover;
    background-position: 50% 50%;
    background-origin: border-box;
    background-repeat: no-repeat;
    text-align: center;
	
	
}
.next h1 {
    font-size: 60px;
    color: black;
    font-weight: bold;
letter-spacing: 2px;	
line-height:1.5;
}
.next h1 span {
    font-family: 'Noto Sans', serif;  
    font-weight: 500;
    font-size: 38px;
    letter-spacing: 7px;	
}
.next h2 {
    font-size: 32px;
    color: black; 
}
 
.nb-1 >div h4 {    
	color: black;    
	font-size: 30px; 
	font-weight: bold;
} 
.nb-1 >div >a {    
	display: block;
	/*border: 2px solid black;*/
	border-radius: 125px;
    background: rgba(255,255,255,0.4);
	padding: 40% 0;    
	/*height: 250px;    
	width: 250px; */
}
.nb-1 >div >a:hover {
    background: rgba(99,166,242,0.5);
    transition: 0.3s;
    color: #fff;
}
.nb-1 >div >a:hover h4 {
    color: #fff;
}
.nb-1 >div   {padding: 0 30px;}
.next-bottom  {    padding: 5%;}



 /*section3*/
 

.gallery{
    padding: 2% 0% 0% !important;
	/*padding: 6% 0% 8%;*/
    background: url(../../../Layouts/omchhp2_Layout/Images/5.gallery_bg.png);
    background-size: cover;
    background-position: 50% 50%;
    background-origin: border-box;
    background-repeat: no-repeat;
    text-align: left;
	
	
}
.gallery2 {
	padding: 6% 0% 8% !important;
    background: url(../../../Layouts/omchhp2_Layout/Images/5.gallery_bg2.png) !important;
}

.photo_container {    transform: translateX(14%);}

.gallery h1 {
	font-family: 'Noto Sans', serif;
    font-size: 38px;
    font-weight: bold; 	
	line-height:1.5;
	color: #89b5e6; 
    font-weight: 500;    margin-top: 0;
	
}
.gallery h1 span {
     font-family: 'NanumSquare', sans-serif;
    font-size: 60px;
    color: white;	
}
.gallery h2 {
    font-size: 23px;
    color: white; 
}
 
.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: 10px;}
    .galimage {
        width: 100%;
        height: 499px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
}
@media(max-width:1399px) {
    .galimage {
        width: 100%;
        height: 410px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
}



@media(max-width:1199px) { 

.intro-center >div {
    width: 14%;
    height: 134px;
    padding: 20px;
}
.intro_container {    width: 990px;}

.sermon h2 {    font-size: 37px; }

.nb-1 >div >a {      padding: 38% 0;}

.next h1 {    font-size: 50px;}
    .galimage {
        width: 100%;
        height: 332px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
}
@media (max-width: 1099px){
.intro-center >div {
       width: 12%;
    height: 116px;
    padding: 13px;
}
}
@media(max-width:991px) { 
	.intro_container {    width: 690px;}
	.intro-center >div p{font-size:13px;}
	.intro-center >div {    width: 14%;    height: 97px;      padding: 6px;}
	.st-1 {    transform: translateY(60px);}
	.st-2 {    padding: 40px 20px;}
    .sb-1 h2{
        padding-top:10px;
    }
    .nb-1 > div > a {
        padding: 31% 0;
    }
   

	.next h1 , .gallery h1 span{    font-size: 40px;}
	.next h2 {    font-size: 26px;}
	.gallery h2 {    font-size: 19px; }
    .galimage {
        width: 100%;
        height: 252px;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
}
@media(max-width:767px) {
    /*모바일 플렉스*/ 
     .sermon-top  {    display: flex;    flex-direction: column;}
	#dimodePage {    padding-top: 120px;}
	.intro-center {display:none;}
	
	.sb-2 >div {    max-width: 480px;}
	.sb-2 {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		flex-direction: column;
	}
	.nb-1 >div h4 {     font-size: 20px;}
	.photo_container.flex {    flex-direction: column;}
	.gallery .galleryList-slide > a > img {     height: 43vw;}
    .galimage {
        aspect-ratio: 1280 / 720;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    /**/ 
}

@media(max-width:567px) {
    
	 .nb-1.flex {    flex-wrap: wrap;}
	 .next h1, .sermon h2 {    font-size: 30px;}
	 .next h1 span{    font-size: 20px;     letter-spacing: 4px;}
	.next h2 , .gallery h1{    font-size: 20px; word-break:keep-all;}
    .galimage {
        aspect-ratio: 1280 / 720;
        background-size: cover;
        background-position: 50% 50%;
        margin-bottom: 10px;
        position: absolute;
        top: 0;
        left: 15px;
    }
    .col-sm-7 {
        position: relative;
        width: 100%;
        height: 0;
        /*overflow: hidden;*/
        padding-bottom: 50%;
        margin-bottom: 10px;
    }

}

@media(max-width:500px) {
    .sermon-top .col-sm-7 {
        padding-bottom: 60%;
    }
}