/*메인*/
/*#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;}








#mainSlider {position: relative; opacity: 0.999;}
.intro_container {
    width: 860px;
}
.intro {
    position: relative;
    bottom: 0%;
    z-index: 99;
    height: 800px;
}
.intro-center {
    margin-top: 40px;
}

.intro-center > div {
    width: 145px;
    height: 145px;
    background: #f5f6f8;
    padding: 27px;
}
.intro-center >div p {    font-size: 20px;	font-weight:bold;		color: #19254b;}
.Tcenter{text-align:center;}
    .Tcenter h1 {
        font-size: 60px;
        margin-top:40px;
    }

#mainSlider .each-img {
    margin: 0;
}

/*section1*/

#main1{overflow:visible;}

.sermon{
	padding: 0%;
	background: #19254b;
	padding-bottom: 4%;
    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 KR;
    color: white;
    font-weight: 500; 
}
.st-2 {    padding: 10px 10px;}
 
.st-2 >div >a >img{    
	position: relative;
    /* position: absolute; */
    /* left: 530px; */
    /* bottom: -135px; */
    width: 145px;
} 


.st-2 >div >a:first-child {    margin: 20px 20px 0 0; display: block; display: block;
    margin: 0px 20px 0 0px;} 
.st-1  {
    padding-right: 0px; 
    padding-left: 0px;
    transform: translateY(-100px);
}

.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:white;}
.sb-2 >div >a h4 img  {    float:right;     margin-top: 10px;}


 /*section2*/
 

.next{
	padding: 2% 5%;
    background: url(../../../Layouts/donghaech_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: 20% 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% 0;}



 /*section3*/
 

.gallery{
	padding: 6% 0% 8%;
    /* background: url(../../../Layouts/donghaech_Layout/Images/5.gallery_bg.png); */
    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-size: 34px;
    font-weight: bold; 	
	line-height:1.5;
 color: #19254b;
	font-weight: 600;
    margin-top: 0;
	
}
.gallery h1 span {
 font-family: 'NanumSquare', sans-serif;
    font-size: 46px;
    font-weight: 600;
 color: #19254b;
}
.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;
    border-radius: 10px;
    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;
}
.st-2 >div {   
    text-align: left;
	    padding-left: 15px;
    display: flex;
    padding-top: 0px;
    width: 750PX !important;

}

@media(max-width:1499px) { 
.intro_container {    width: 990px;}
.nb-1.flex >div {    padding: 10px;}
.st-2 >div {   
    text-align: left;
	    padding-left: 30px;
    display: flex;
    padding-top: 30px;
    width: 570px !important;

}
.serbtn {
    position: absolute;
    left: 410px !important;
    bottom: 100px;
}
.live-btn {
    width: 105px!important;
    height: 105px!important;
    border: 3px solid #ffffff;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    box-sizing: border-box;
}
.st-2 >div >a >img {
    position: relative;
    /* position: absolute; */
    /* left: 530px; */
    /* bottom: -135px; */
    width: 105px !important;
	height: 105px !important;
}
}




@media(max-width:1199px) { 
.intro_container {    width: 990px;}

.sermon h2 {    font-size: 37px; }

.nb-1 >div >a {      padding: 38% 0;}

.next h1 {    font-size: 50px;}
.st-2 >div {   
    text-align: left;
	    padding-left: 0px !important;
    display: flex;
    padding-top: 30px;
    width: 370px !important;

}
.serbtn {
    position: absolute;
    left: 330px !important;
    bottom: 100px;
        width: 8%;

}
.st-2 >div >a >img {
    position: relative;
    /* position: absolute; */
    /* left: 530px; */
    /* bottom: -135px; */
    width: 80px !important;
        min-width: 80px;
        max-height: 80px;
}
.live-wrap {
    padding-right: 10px !important;
    display: inline-block;
}

.live-btn {
    width: 80px!important;
    height:  80px!important;
    border: 3px solid #ffffff;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    box-sizing: border-box;
}

}
@media(max-width:991px) { 
	.intro_container {    width: 690px;}
	.intro-center >div p{font-size:15px;}
	.intro-center >div {    width: 14%;    height: 108px;      padding: 6px;}
	.st-1 {    transform: translateY(60px);}
	.st-2 {    padding: 40px 20px;}
	.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; }
    .serbtn {
        position: absolute;
        left: 260px !important;
        bottom: 63px !important;
        width: 8%;
    }
}
@media(max-width:767px) {
    /*모바일 플렉스*/ 
	#dimodePage {    padding-top: 80px;}
	.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;}

    /**/ 
}

@media(max-width:567px) {
     .sermon-top  {    display: flex;     lex-direction: column;}
	 .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;}
	    .mainContainer.intro h3 {
        font-size: 12px !important;
    }
	.mainContainer.intro h2 {
    font-size: 22px;
    font-weight: 800;
    color: #19254b;
    margin-left: 110px !important;
}
.mainContainer.intro h2 span {
    font-size: 14px;
    color: #888;
    padding-left: 0px !important;
}
.intro {
    position: relative;
    bottom: 0%;
    z-index: 99;
    height: 600px !important; 
}
.st-2 >div >a >img {
        position: relative;
        width: 60px !important;
        min-width: 60px !important;
        max-height: 60px !important;
    }
	    .live-btn {
        width: 60px !important;
        height: 60px !important;
    }
	.sermon .st-2 h2 {
    font-size: 30px !important;
    color: white;
    font-weight: bold;
    text-align: end;
}    
	.sermon .st-2 h2 span{
    font-size: 22px !important;
	}
.st-2 {
        padding: 20px 6px;
}
}

/* 전체 영역 */
.mainContainer.intro {
    padding: 20px 0;
    background: #fff;
}

    .mainContainer.intro .Tcenter {
        text-align: center;
    }

/* 아이콘 영역 */
.intro-center {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

    /* 기존 bootstrap 영향 제거 */
    .intro-center > div {
        float: none;
        padding: 0;
    }

    /* 링크 */
    .intro-center a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    background: #f5f6f8;
		color: #19254b;
    }

    /* 아이콘 */
    .intro-center img {
        width: 120px;
        margin-bottom: 25px;

    }

    /* 아이콘 텍스트 */
    .intro-center p {
        font-size: 14px;
        font-weight: 500;
        margin: 0;
    }

/* 타이틀 */
.mainContainer.intro h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
	color: #19254b;
}

/* 서브 타이틀 */
.mainContainer.intro h3 {
    font-size: 20px;
    font-weight: 400;
	color: #19254b;
}
.mainContainer.intro h2 {
    font-size: 22px;
    font-weight: 800;
	color: #19254b;
    margin-left: 170px;
}
    .mainContainer.intro h2 span {
        font-size: 14px;
        color: #888;
        padding-left: 82px;
    }	
.foot_info_right
{
    text-align:right;
}
/* ===================
   모바일 반응형
=================== */
@media (max-width: 767px) {
    .intro-center {
        flex-wrap: wrap;
        gap: 30px 0;
    }
    .intro-center img {
        width: 120px;
        margin-bottom: 15px !important; 

    }
        .intro-center > div {
            width: 50%;
        }

        .intro-center img {
            width: 60px;
        }

    .mainContainer.intro h1 {
        font-size: 24px;
    }

    .mainContainer.intro h3 {
        font-size: 14px;
    }
	.st-1 h5{
    color: white;
    text-align: left;
    margin-left: 21px;
	font-size: 16px;
}
}
.serbtn {
    position: absolute;
    left: 530px;
    bottom: 100px;
}
.st-1 h5{
    color: white;
    text-align: left;
    margin-left: 21px;

}
/* 배경 */
.live-wrap {
    padding-right: 20px;
    display: inline-block;
}

/* 버튼 */
.live-btn {

    width: 145px;
    height: 145px;
    border: 3px solid #ffffff;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    box-sizing: border-box;
}

    /* 텍스트 */
    .live-btn span {
        display: block;
    }

 .sermon .st-2 h2 {
    font-size: 45px;
    color: white;
    font-weight: bold;
    text-align: end;
}

/* =========================================
   📱 MOBILE ONLY (768px 이하)
========================================= */

@media (max-width: 768px) {

    /* ---------------------
       공통 리셋
    --------------------- */

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }

    .mainContainer {
        padding: 0px 0;
		 /*padding: 50px 0;*/
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
	
	#maintxtimg img {
       max-width: 80%;
	}

    /* ---------------------
       1️⃣ 메인 슬라이더
    --------------------- */

    #mainSlider {
        height: auto;
    }



    /* ---------------------
       2️⃣ 인트로 아이콘
    --------------------- */

    .intro-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .intro-center > div {
        width: 45%;
        margin-bottom: 20px;
    }

    .intro h1 {
        font-size: 28px;
    }

    .intro h2 {
        font-size: 18px;
    }

    .intro h3 {
        font-size: 14px;
        line-height: 1.6;
    }

    /* ---------------------
       3️⃣ 설교 영역
    --------------------- */

    .sermon-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .sermon-top img {
        margin: 0 auto;
    }

    .st-1,
    .st-2 {
        width: 100%;
    }

    .serbtn {
        display: none;
    }

    .live-wrap {
        display: block;
        margin: 10px 0;
    }

    /* ---------------------
       4️⃣ 커뮤니티 영역
    --------------------- */

    .sb-2 {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .sb-2 > div {
        width: 100%;
    }

    /* ---------------------
       5️⃣ 갤러리 영역
    --------------------- */

    .photo_container {
        display: flex;
        flex-direction: column;
    }

    .photo-left,
    .photo-right {
        width: 100%;
    }

    .photo-right img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

}
@media (max-width:768px){

    .st-2 > div{
        width:100% !important;
        padding:20px 0 !important;
        display:flex;
        flex-wrap:wrap;
        justify-content:center; 
        gap:10px;
    }

    .live-btn2{
        width:120px;
    }

    .live-wrap{
        width:auto;
    }
#maintxtimg{
position: absolute;
    top: 4% !important;
    right: 20%;
	width: 300px; 
    z-index: 100;	
}
}

		@media (max-width:768px){
		.intro-center {
			 margin-top: 0px !important;
			 margin-bottom: 0px !important;
		}
		.mainContainer.intro {
			padding: 40px 20px !important;
			background: #f5f6f8;
		}
			.live-btn{
				width:100px;
				height:100px;
				border-radius:20px;
				font-size:14px;
				display:flex;
				align-items:center;
				justify-content:center;
			}
			.live-btn2{
				width:100px !important;
				height:100px;
				border-radius:20px;
				font-size:14px;
				display:flex;
				align-items:center;
				justify-content:center;
			}

			.live-btn span{
				font-size:13px;
				line-height:1.4;
			}


		.st-2 >div >a {  
		margin: 10px 0 !important;
			padding-right: 20px!important;

		} 
		}

.Tcenter h1{
    font-size:48px;
    font-weight:700;
    margin-bottom:15px;
}

.Tcenter h2{
    font-size:20px;
    font-weight:600;
    margin-bottom:45px;
}

.Tcenter h2 span{
    font-size:16px;
    margin-left:5px;
}

.Tcenter h3{
    font-size:17px;
    line-height:1.7;
    margin:4px 0;
    font-weight:400;
}
/* 전체 intro 영역 */
.mainContainer.intro {
    padding: 80px 20px;
    background: #f5f6f8;
}

/* 중앙 정렬 */
.mainContainer.intro .Tcenter {
    text-align: center;
}

/* 아이콘 영역과 텍스트 간격 */
.mainContainer.intro .intro_container {
    margin-bottom: 5px;
}

/* 텍스트 영역 정리 (핵심) */
.mainContainer.intro h1,
.mainContainer.intro h3 {
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 제목 */
.mainContainer.intro h1 {
    font-size: 48px;
    font-weight: 700;
 color: #19254b;
    margin-bottom: 15px;
}

/* 성경구절 */
.mainContainer.intro span {
    font-size: 15px;
    /*color: #666;*/
	 color: #19254b;
    margin-bottom: 30px;
	text-align: end;
}

/* 본문 */
.mainContainer.intro h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
     color: #19254b;
    margin-bottom: 10px;
}
.mainContainer.intro span{
    display: block;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}
body {
    color: #19254b;
}
body {
    font-family: 'Pretendard', sans-serif;
}

a, button, .btn {
    color: inherit; /* 강제 덮어쓰기 방지 */
}

#main1.sermon {
    color: #fff;
}
#main1.sermon,
#main1.sermon * {
    color: #fff !important;
}
#maintxtimg
{
position: absolute;
    top: 20%;
    right: 10%;
    z-index: 100;	
	color :white;
    max-width: 360px;
}

#maintxtimg h1
{
font-size: 45px;

}

#maintxtimg span
{
    display: block;
    text-align: right;
	padding-top: 30px;
	text-align: left;
}

#swiperSlider167{
    position: relative;
    overflow: hidden;
}

/* 오른쪽 어두운 음영 */
#swiperSlider167::before{
    content:'';
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 35%,
        rgba(255,255,255,0.02) 50%,
        rgba(0,0,0,0.12) 68%,
        rgba(0,0,0,0.35) 82%,
        rgba(0,0,0,0.72) 100%
    );
}

/* 글씨는 음영보다 위 */
#maintxtimg{
    position:absolute;
    z-index:5;
}

@media (max-width:768px){
				
	#maintxtimg span
	{
		display:  none;
	}
}