﻿/*메인*/
#dimodePage{display: block!important;}
.main-section1, .main-section2, .main-section3, .main-section4, .main-section5, .main-section6{overflow:hidden;}
/*section1*/ 
/*section2*/ 
/*section2*/ 
/*section3*/ 
/*section4*/ 
/*section5*/

@keyframes aaa {
    from { transform: rotate(0deg);    } 
    to {  transform: rotate(360deg);   }
}

@keyframes bbb {
    from {        top: -10px    } 
    to {        top: -2px;    }
}

@keyframes ccc{
    from{left:-5px}to{left:5px;}
}



a {
    color: black;
    text-decoration: none;
    transition: transform all .3s linear;
}

a:hover {    color: black;    text-decoration: none;}
#main {    width: 100%;    height: 100%;    /*background-color: red;*/}
#section {
    /*font-family: 'Noto Sans KR', sans-serif;*/
    font-family: NanumSquare, sans-serif;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.mainContainer {
    width: 100%;
    margin: 0 auto;
    padding: 3% 15%;
    box-sizing: border-box;
    background-color: white;
}


/*슬라이더*/
#main  {    margin-top:100px;}
#main .dimode-slider .slider-dots {    bottom: 50px;}
#main .dimode-slider .slider-dots .each-dot {
	margin: 0 5px;
	height: 16px;
	width: 16px;
}
#main .dimode-slider .slider-dots .each-dot.active {
	width: 42px;
	border-radius: 10px;
	background: black;
	border: 1px solid black;
} 
#main .dimode-slider .slider-wrapper .slick-list .slick-track .slide > div > h1 {
    font-size: 4.2vw;
    padding-top: 7%;
    letter-spacing: 3px;
    font-weight: bold;
    text-align: left;
    font-family: ui-sans-serif;
}
#main .dimode-slider .slider-wrapper .slick-list .slick-track .slide {
    width:100%!important;
}

.move-btn {    background: none !important;    top: 44%!important;}
.next-btn {    right: 5% !important;}
.prev-btn {    left: 5% !important;}



/*맨 처음 흰 부분*/
.sermon {     padding: 0%; background: linear-gradient(to bottom, #e2e2dc, #ffffff);} 
.sermon-center {
    
    width: 100%;
    height: auto;   
    text-align: center;
}

.today_sermon {
	background: #f3eee4; /*url(../../../Layouts/kyungill_Layout/Images/main/2.sermon_bg.png) no-repeat; */
    display: flex;
    justify-content: center;
    align-items: center; 
 
}/*
.today_sermon > div {
	display: flex;
	justify-content: center;
	align-content: center; 
	height: 100%; 

}

.today_sermon > div > div:nth-child(1) {
	width: 12vw;
	height: auto;
	margin-right:100px;
}
.today_sermon > div > div:nth-child(2)  {
	width: 44vw;
	height: auto;
	margin: 10px;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	
}
.today_sermon > div > div:nth-child(2) > div:first-of-type {
	width: 100%;
	height: 56%;
	margin: 0px;
	background: url(../../../Layouts/shdpc_Layout/Images/1.thumb_1.png) round;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
}
.sermonbar {
    width: 100%;
    height: 40%;
    background-color: #4F7DDD;
    border: 1px solid white;
   display:table;
}
.today_sermon > div > div:nth-child(3) {
	width: 44vw;
	height: auto;
	margin: 10px;
	display: flex;
	flex-wrap: wrap;
		align-content: flex-end;

}

.today_sermon > div > div:nth-child(3) > div:first-of-type {
	width: 100%;
	height: 56%;
	margin: 0px;
	background: url(../../../Layouts/shdpc_Layout/Images/1.thumb_2.png) round;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
}
.today_sermon > div:first-child > div >h2{
	margin-bottom:40px;
	font-size:50px
}
.today_sermon > div:first-child > div > p {
	font-family: 'Noto Sans KR', sans-serif;
	font-weight: bold;
	color: #4A78DB;
	font-size: 20px
}
 */
 iframe#dimodeYoutube {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.sb-1 {
    text-align: left;
    padding: 0 60px;
    color: black;
    line-height: 3;
	flex-direction: column;  
    
}
.lineheight0 {
    line-height: inherit;
}
.sb-1 >a{    color:black;}
.sb-1 h4{    font-size: 20px;  font-weight: 600; }
.sb-1 h4.title1{    
    text-decoration: underline;
    text-underline-offset: 12px;}
.sb-1 h2{    font-size: 35px;    margin: 2.3rem 0 1rem; font-weight: 400;     word-break: keep-all;}
.sb-1 p {    font-size: 18px;}

.sb-1 .notice-box1 p, .sb-1 .notice-box1 h4 {   font-weight: 400;}




.sb-2 {    text-align: left;    padding: 0;    color: white;    line-height: 0;}
/* .sb-2:hover {    animation: aaa 0.7s  alternate 1;    animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28); } */
.sb-11 {     align-items: center;    margin-top: 90px;
    justify-content: flex-start; 
    display: flex; 	 }
.sb-11 >a  {     display:block;    position: relative;  transition: all 0.3s ease-out;     width: 155px;        aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;} 
.sb-11 >a >p {  margin:0;
    font-size:22px;
    line-height: 1.2; 
	color:white;
	width:100%;     text-align: center; transition:all .3s linear;
}
.sb-11 >a:nth-of-type(1)  { background-color: #8da69f;    } 
.sb-11 >a:nth-of-type(2)  {  background-color: #536879;    } 

.sb-11 >a:nth-of-type(1) >p {     color:white;   } 
.sb-11 >a:hover >p {      transform:scale(1.05);     z-index:2;   }

 


/*예배안내 등 아이콘 부분  */
.info {
    background: url(../../../Layouts/kyungill_Layout/Images/main/3.welcome_bg.png) no-repeat;
    width: 100%;
    height: auto; 
    text-align: center;
    color: white;
}
.info >h2{	    font-size: 37px;     margin-bottom:2%;}
.info >p{    font-size: 19px;    line-height: 1.7;}
.info-icon {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.info-icon >a{
    background: url(../../../Layouts/shdpc_Layout/Images/4_box.png) no-repeat;
    width: 100%;
    height: auto;
    margin: 1%;
    padding: 3% 1%;
}
.info-icon >a:hover >img{     }
.info-icon p{    font-size: 15px;    color:#747474;}
.info-icon h3{    font-size: 24px;    font-weight:bold;}

.margin015 {
    margin: 0 15px;
}

.margin015 > a > img{ 
    margin-bottom: 40px;
    background: #48796d;
    padding: 30px;
    max-width: 140px;
    border-radius: 75px;
}
.margin015 > a > p{
    color: black;
    font-weight:bold;
    font-size:20px;
}

.margin015:hover  {
      transform:translateY(-10px);   
transition: all 0.3s ease-out; 	  
}


/*교육 부분*/

.education {
	
    width: 100%;
    height: auto;
    padding: 65px  0!important;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}
.education .flex{
    text-align: left;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;

} 
.education-left h1{ 
       font-size: 63px;

}



.education hr{
    width:15%;
    z-index:3;
    position: relative;
}
.education h3 {
    font-size: 36px;
    line-height: 1.3;
    z-index: 3;
    color: white;
    position: relative; 
        margin-bottom: 85px;
}
.education p {
    font-size: 23px; 
    z-index:3;
    position: relative;
	color: white;    font-weight: bold;
}
.education .education-right > div {
      display: grid;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    flex-direction: row; 
    grid-template-columns: 1fr 1fr 1fr;
}
.education .education-right > div > div {
          margin: 0;
    padding: 0;
} 
.education-icon::before{display:none;}

.education-left{    background: url(../Images/main/3_history_left_img.jpg) no-repeat;     background-size: cover;
    aspect-ratio: 975 / 704;     display: flex;
    justify-content: center;     align-items: center; margin-bottom: 20px;     height: 700px;}

.education-right {
    display: flex;
    align-items: center; padding-left:45px;
	
}
.education-left .flex >div{display:flex; gap:20px;}


.education-icon a   {
    width: 220px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: calc(50% - 25px); flex-direction: column; transition: all 0.2s ease-out;
}

.education-icon a:hover   {
     transform:scale(1.1);    
	
}

.education  {    display: flex;    align-items: flex-start;}
.education .education-left .flex a img {transition: all .3s linear; max-width: 15rem;}  

.education .education-right .ei-2 p {color:#a575bb;}
.education .education-right .ei-2 span {color:#a575bb; font-size: 21px; }
.education .education-right .ei-3 p {color:#83594e;}
.education .education-right .ei-2 hr {border-top:1px solid #a575bb;}
.education .education-right .ei-3 hr {border-top:1px solid  #83594e;}
.education .education-right   hr  {margin: 0;}

/*임시*/
.education .education-right .ei-4 p,
.education .education-right .ei-7 p,
.education .education-right .ei-8 p { }


  
/*갤러리 부분*/

.gallery {
    width: 100%;
    height: auto;
    padding: 0.3% 0; 
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
	background-color: #fff;
	min-height: 600px;
}
.gallery > div > h1{
    color: black;     font-size: 40px;

}
.gallery hr{
    margin-bottom : 60px;

}

.gallery > div > h1 > span{
    color: #979797;
    font-weight: 100;
    font-size:33px;
}
.galleryheight {
    /*height: 55vh;*/
}
.paddingno {
    padding-right: 0px !important;
    padding-left: 0px !important;
}
.photo .ptbox > a img {
    background-position: 50%;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    box-shadow: 0 6px 10px rgba(0,0,0,0.22);
}

.photo .ptbox .flex {
     display:flex;justify-content: space-between;
    align-items: center;
    color: black; 
    padding-bottom: 10px;
}
 .photo h4{font-weight:bold;} 
 .photo p{display:none;position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2; color:white; font-size:20px;}
 .photo a{display:block;}
 .photo a:hover p{display:block;}
 .photo a:hover img{filter:brightness(0.7); transition: all 0.2s ease-out;}
 
@media(min-width:768px) { 
	.mainContainer{padding: 40px   calc(50vw - 375px);}
}
@media(min-width:992px) { 
	.mainContainer{padding: 60px    calc(50vw - 485px);}
}
@media(min-width:1200px) { 
	.mainContainer{padding: 95px calc(50vw - 585px);}
}
@media(min-width:1450px) {
    .container{width:1450px;}
	.mainContainer{padding: 95px calc(50vw - 725px);}
}






@media(max-width:1550px) { 
    p, .sb-1 h4, .education-icon  p {font-size: 2.3rem !important;  }
    .sermon-icon h4 {font-size:1.2vw;    } 
	.sermon-center{padding: 0;}
	
	
 
	
	.education-left{   height: 600px;  width: 44%;
    }
	.photo a img {  	}
	.gallery { min-height:500px;}
	
	
	/*전주서문*/
	.education-icon >div {		aspect-ratio: 1;background-size: cover !important;	}
	.education-icon a {    width: calc(560px / 3);}
	.sb-11 >a {     width: 12rem;}	
	.sb-11 {     margin-top: 3rem;}
	.sb-1 h2 {    font-size: 3.4rem;}
	.sb-1 h4{   margin-bottom: 0;}
 
	.sb-1 { line-height:1.5; padding:0 30px;} 
	.sb-11 {        margin-top: 4rem;    }
	.education-left h1 , .gallery > div > h1{font-size: 5.4rem;}
.education .flex {            margin-left: 8rem;        margin-top: 4rem;}
	
} 
@media(max-width:1450px) {
	p, .sb-1 h4, .education-icon  p {
        font-size: 1.7rem !important;
    }
	.education-left h1 , .gallery > div > h1{font-size: 5.0rem;}
	
	.education h3 {font-size: 3.0rem;     margin-bottom: 6.0rem;}
	.education .flex {
        margin-left: 0rem;
        margin-top: 0rem;
    }
	.gallery hr {    margin-bottom: 2rem;}
	 

}

    

@media(max-width:1199px) {
    .sb-3 {        /*padding-right: 5%; */   } 
	 
    .info-icon {        padding: 2% ;    }
	
	.sb-3 >a {    width: 10vw;    height: 10vw;}
	.info-icon p {     word-break: keep-all;}
	
	.education-left h1 , .gallery > div > h1{font-size: 4.0rem;} 
	.education h3 {font-size: 2.0rem;    }

	.education-left{   height: 520px;}
	.photo a img {    }
	
	
	/*저ㅏㄴ주서문*/
	.education-right {     padding-left: 20px;}
	.education-icon a {    width: 160px;}
	
	
}

@media (max-width: 1023px) {
   .education-left h1 , .gallery > div > h1{font-size: 2.8rem;} 
	.education h3 {font-size: 1.5rem;      margin-bottom: 3.0rem;  }
	p, .sb-1 h4, .education-icon  p, .education .education-right .ei-2 span{        font-size: 1.0rem !important;    }
	.sb-1 h2 {    font-size: 2.4rem;}
	    .sb-11 >a {        width: 6rem;    }
	.education .education-left .flex a img {     max-width: 10rem;}
}




@media(max-width:991px) {  
    .sermon-bottom p{        font-size: 1.1rem !important;    } 
	.info-icon  .margin015 > a > img {     margin-bottom: 20px;}
	
	.education{padding: 3% 5%;}
	.education h1{font-size: 25px;}

	.education-left{   height: 420px;} 
	.education-left  .flex a img {    max-width: 180px;}
	.photo.flex >div {  padding: 10px;} 
	.gallery {    min-height: 630px;}
	
	/*저ㅏㄴ주서문*/
	.education-right {     padding-left: 10px;}
	.education-icon a {    width: calc(400px / 3);}
	.education .education-right > div{gap:10px;}
	
	.today_sermon  {    flex-direction: column-reverse;}
	.sb-1 {   padding: 30px;display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;} 
	.sb-11 >a {        width: 7rem;    }
.info-icon .margin015 > a > img {     padding: 10px;}
.info-icon .margin015 {    padding: 0;}
 


}
@media(max-width:769px) {
	.education-left h1, .gallery > div > h1, .sb-1 h2 {
        font-size: 2.0rem;
    }
	.gallery > div > h1 > span {
        font-size: 1.5rem;
    }
	
	
	.move-btn {    max-width: 2rem;}
	#main {    margin-top: 80px;}
	#main .dimode-slider .slider-dots {    bottom: 1rem;}
  
    .today_sermon {  flex-wrap: wrap; background-size: auto 92vw; }
    .sermon-icon {  flex-wrap: wrap;  justify-content:center;  } 
    .sermon-center {  background-position: bottom;  background-size: auto 150vw;  } 
	.info {  background-size: auto 200vw; }
    .info-icon {  flex-wrap: wrap;  padding: 0 calc(50vw - 200px); }  
    .education {  flex-wrap: wrap; } 
    .education >a{  background-position: 50% 50%; width: 50%; }
	
	.sb-2 img {    max-width: 19vw;    padding: 10%;}
	.sb-1 {     padding: 5% 7%;}
	.sb-3 {    padding-right: 10%;}
	.sb-3 >a {    width: 15vw;    height: 15vw;}
	
	.info .margin015 {     margin: 0 ; }
	.info{padding: 3% 0;}
	
	.education {   padding: 20px 0 !important;}
	.education-left {    height: 340px;}
	.education .education-right > div {    width: 100%;  }
	.education-right {padding: 10px 0 0;}
	.education-icon >div { }
	.education-icon a {
        width: calc(100vw / 3 - 20px / 3);
    }
	 
	

	/*저ㅏㄴ주서문*/
	.sermon-center {        padding: 30px;    }
	.education-left  {    width: 100%; height: 250px; margin:0;}
 
}
@media(max-width:440px) {
	#main .dimode-slider .slider-dots .each-dot{aspect-ratio:1; height:0.6rem; width:auto;}
	#main .dimode-slider .slider-dots .each-dot.active{aspect-ratio:3;   width:auto; }

  
    #main .dimode-slider .slider-dots {  /*display:none;*/  bottom:2vw; } 
    .move-btn {        display: none;    }
	.info {        background-size: auto 400vw;    }
     
	.education > a {         width: 100%;    } 
	
	.sermon-center {     padding: 0;}
	.sb-3 {    padding-bottom: 10%;}
	.sb-3 >a {    width: 20vw;    height: 20vw;}
 
	.sb-2 img {    padding: 0%; }
	 
	 
	
	.photo a img {    width: 100%; }
	.photo.flex >div {    width: 100%; }

	/*저ㅏㄴ주서문*/
	.sermon-center {        padding: 15px;    }
	.info-icon .margin015 > a > img {
        padding: 15px;
        max-width: 23vw;
    }
	    .sb-1 { 
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
	    .sb-11 {
        margin-top: 1rem;
    }
	.education h3 {         margin-bottom: 2rem;    }
	.education-left  {        }
}

 

 