﻿/*메인*/

 
 
 
@media(min-width:768px) { 
	.mainContainer{padding: 55px calc(50vw - 375px);}
}
@media(min-width:992px) { 
	.mainContainer{padding: 85px calc(50vw - 485px);}
}
@media(min-width:1200px) { 
	.mainContainer{padding: 105px calc(50vw - 585px);}
}
@media(min-width:1450px) {
    .container{width:1450px;}
	.mainContainer{padding: 105px calc(50vw - 725px);}
}
.mainContainer {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: white;
	background-size: cover !important;
}




html, body {
    font-size: 13px!important;
}




#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;
}




/*슬라이더*/
#main  {    margin-top:95px;}
#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;    }
.next-btn {    right: 5% !important;}
.prev-btn {    left: 5% !important;}


#main .each-img img {
    width: 100%;
}


/*맨 처음 흰 부분*/
.sermon {      padding-bottom: 75px;     background: linear-gradient(to bottom, #fff 0 65%, #e6e9ec 65% 100%);} 
 
.sermon-center {
    
    width: 100%;
    height: auto; 
    text-align: center;
}

.today_sermon {
	background: url(../../../Layouts/singil_Layout/Images/main/2_bg.png) no-repeat; 
    display: flex;
    justify-content: center;
    align-items: center;     padding: 100px;     background-size: cover;
 
}
.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:3.8rem;
}
.today_sermon > div:first-child > div > p {
	font-family: 'Noto Sans KR', sans-serif;
	font-weight: bold;
	color: #4A78DB;
	font-size: 1.5rem;
}

.sb-1 {
    text-align: left; 
    color: black;
    line-height: 3;
	flex-direction: column; 
	font-weight: bold;
    
}
.lineheight0 {
    line-height: inherit; 
}
.sb-1 >a{    color:black;}
.sb-1 h4{    font-size: 1.5rem;      margin: 0 0 1rem;}
.sb-1 h2{    font-size: 2.7rem;   margin: 3rem 0 1.3rem;      word-break: keep-all;}
.sb-1 p {    font-size: 1.4rem; line-height: 1;
    margin: 2rem 0 0;}
.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-3 {     align-items: center;    justify-content: flex-end!important;     padding: 0%;  	 }
.sb-3 >a  {     display:block;    position: relative;  transition: all 0.3s ease-out;     width: 155px;    aspect-ratio:1;} 
.sb-3 >a >p { 
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size:1.7rem;
    line-height: 1.2;
    font-weight:bold;
	color:white;
	width:100%;
}
.sb-3 >a:nth-of-type(1)  { background-color: #2b333e;    } 
.sb-3 >a:nth-of-type(2)  {  background-color: #5f8ee0;    } 

.sb-3 >a:nth-of-type(1) >p {     color:white;   } 
.sb-3 >a:hover {      transform:scale(1.05);     z-index:2;   }
 
 


/*예배안내 등 아이콘 부분  */
.info {
    background: url(../../../Layouts/singil_Layout/Images/main/3_quickmenu_bg.png) no-repeat;
    width: 100%;
    height: auto; 
    text-align: center;
    color: white;
	padding-top: 75px;
    padding-bottom: 75px;
}
.info >h2{	    font-size: 2.8rem;     margin-bottom:2%;}
.info >p{    font-size: 1.5rem;    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: 1.2rem;    color:#747474;}
.info-icon h3{    font-size: 1.8rem;    font-weight:bold;}

.margin015 {
    margin: 0 15px;
}
.margin015 > a { 
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: center;
}


.margin015 > a > img{
    /* width:125px; */
    /* margin-bottom:40px; */
	aspect-ratio: 1;
	    border: 1px solid white;
    border-radius: 92px;
    padding: 30px;
}
.margin015 > a > p{
        color: #ffffff;
    font-weight: 500;
    font-size:1.5rem;
}

.margin015:hover  {
      transform:translateY(-10px);   
transition: all 0.3s ease-out; 	  
}


/*교육 부분*/

.education {
    width: 100%;
    height: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
	    padding-top: 85px;
    padding-bottom: 0px;
}
.education .flex{
    text-align: left;
        /* padding: 160px; */
		    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
 
}
.education .flex h1{ 
       font-size: 3.6rem;

}
.education hr{
    width:15%;
    z-index:3;
    position: relative;
}
.education h3 {
    font-size: 2.5rem; 
    z-index: 3;
    color: white;
    position: relative;
    margin: 6rem 0 3rem;
}
.education h4 {
    font-size: 1.8rem;  
}


.education p {
    font-size: 1.7rem; 
    z-index:3;
    position: relative;
	    font-weight: bold;
    color: #000000;
	transition: all 0.2s ease-out;
}
.education .education-right > div {
      width: 820px;
	          display: grid;
    flex-wrap: wrap; 
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}
.education .education-right > div > div {
    overflow: hidden;
	padding: 0;
    width: 100%;
}
perwidth {
    width: 25.333333% !important;
}

.education-left{    background-color: #254798; height: 750px;    display: flex;
    justify-content: center;}

.education-right {
    display: flex;
    align-items: center;
}

.education-left .flex > h4{margin-bottom:150px;}

.education-icon a p {
	width:100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
 
 .education-icon a:hover img{transform: scale(1.2);}
 .education-icon a  img{ transition: all 0.2s ease-out;}

.education-left a:hover .more_bt_4{
	animation: ccc 0.4s infinite alternate; position:relative; }
 
 
 
.more_bt_4 {
    font-size: 1.4rem;
    color: white;
    border: 1px solid white;
    width: max-content;
    padding: 1.3rem 4.5rem;
    border-radius: 30px;
} 
 
 
  
 
  
/*갤러리 부분*/

.gallery {
    width: 100%;
    height: auto; 
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
	background-color: white;
	/* min-height: 600px; */
}
.gallery > div > h1{
    color: black;
    margin: 0px 0px 3rem  0px;
	font-weight:bold;

}
.gallery > div > h1 > span{
    color: #517aa3;
    font-weight: 100;
    font-size:2.5rem;
}
.galleryheight {
    /*height: 55vh;*/
}
.paddingno {
    padding-right: 0px !important;
    padding-left: 0px !important;
}
.photo a img {
    background-position: 50%;
    width: 330px;
        aspect-ratio: 7 / 5;
    background-size: cover;
    box-shadow: 0 6px 10px rgba(0,0,0,0.22);
}
 
 .photo p{display:none;position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2; color:white; font-size:1.5rem;}
 .photo a{display:block;}
 .photo a:hover p{display:block;}
 .photo a:hover img{filter:brightness(0.7); transition: all 0.2s ease-out;}
 
 
/*신청서 부분*/

.newform { background: url(../../../Layouts/singil_Layout/Images/main/6_bg.jpg) no-repeat;  } 
.newform .PhotoM { overflow: hidden; position: relative; margin-top: 60px;}
.newform .PhotoM .PhotoIMG { display: block; position: relative; aspect-ratio: 1920/1280; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat;}
.newform .main4M { display: flex; justify-content: space-between;     grid-gap: 160px;}
.newform .main4M >div { width: 50%;}
.newform .main4M .main4L .main4T h1{ color: #fff; font-size: 4.8rem; font-weight: bold; margin-top: 0px;}
.newform .main4M .main4L .main4T h2{ color: #fff; font-size: 1.6rem; margin: 4rem 0 1.5rem;  }
.newform .main4M .main4L .main4T h4{ color: #fff; font-size: 1.3rem; line-height: 1.7;  }
.newform .main4M .main4R h3 { font-size: 1.3rem; color: #fff; line-height: 145%; margin-top: 0px;}
.newform .main4M .main4R .main4T {padding-left: 35px; border-left: 1px solid #fff;}
 
  
@media(max-width:1550px) { 
	
	.photo a img {     width: calc(100% - 15px);}
	.photo a {     text-align: center;}
	
	.newform div#fages {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		row-gap: 1rem;
	}
	.newform div#fages label{margin:0;}
}
	
	
	
 

@media(max-width:1199px) { 
    /*.info-icon {        padding: 2% ;    }
	
	.sb-3 >a {    width: 10vw;    height: 10vw;}
	.info-icon p {     word-break: keep-all;}
	
	.education h1{font-size: 30px;}
	.education h3{font-size: 22px;}
	
	.education-left{   height: 520px;}
	.photo a img {    width: 200px;    height: 170px;}*/
	
	
	.today_sermon {      padding: 4rem 30px;}
	
	
	.education-left .flex > h4 {    margin-bottom: 6rem;}
	.education h3 {     margin: 1rem 0 3rem;}
	.education-left {     height: auto; padding: 4rem 15px;}
	
	.newform .main4M {     grid-gap: 5rem;}
	
 
	#main .dimode-slider .slider-dots {		bottom: 1rem;	}
	img.prev-btn.move-btn {    max-width: 6%;}
}

@media(max-width:991px) { 
	html, body {
		font-size: 11px !important; word-break: keep-all;
	}
	#main {
		margin-top: 70px;
	}
	
	
	.sb-3 >a  {     width: 10rem; }
	.today_sermon {      row-gap: 5rem;     flex-wrap: wrap;}
 
	.sb-3 { 		justify-content: flex-start!important; 	}    
	.sb-2 img{max-width :10rem; }
	
	
	.info .margin015 > a {     gap: 2rem;}
	.info  .margin015 > a > img {       padding: 1rem; max-width: 15vw;}

	.education  { 
		flex-direction: column;
		align-items: center;
		gap: 2rem;
		padding: 0rem 30px 4rem;
	}
	.education 	 >div{width: 100%;}
	.education .education-right > div {    width: initial;}
 
	.photo.flex {    display: flex;     flex-wrap: wrap;    row-gap: 15px;}
	.gallery{padding: 4rem 30px;}
	
	.newform .main4M {       flex-direction: column;}
	.newform .main4M >div {       width: 100%;}
	.newform .main4M {        grid-gap: 1rem;    }
	
}


@media(max-width:769px) {
    /*p {   font-size: 2.8vw !important; }
    h2 { font-size: 5vw !important; }
    h3 {  font-size: 4vw !important; }
	.sermon-center p{  font-size: 2.4vw !important; }
    .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;   }  
    .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: 5% ;}
	.education-left {    height: 340px;}
	.education .education-right > div {    width: 100%; display: flex;    flex-wrap: wrap;    justify-content: center;}
	.education-right {padding: 5% 0 0;}
	.education-icon >div {width:33.33%;}
	
	.photo a img {    width: calc(50vw - 35px); }*/
	
	.sermon {    padding-bottom: 0;}
	.sb-2{ justify-content: flex-end!important; padding-right: 2rem;}
	.sb-2, .sb-3{width:max-content;}
	.info .margin015 {    margin: 0;}
	
	.newform .applyForm .row {
		display: flex	; 
		flex-direction: column;
	}
	.newform .applyForm .row >div {
		width:100%; 
	}
	.newform .applyForm .row >div label {
		margin:0!important; 
	}
	.newform .main4M   {       padding: 4rem 0;}
	.newform .main4M >div {       padding: 0% 30px;}
	
	.newform div#fages, .newform div#fgender {    margin-left: 2rem;}
	.newform .formtitle{margin-bottom: 10px;}
}
@media(max-width:540px) {
    /*p {   font-size: 3.8vw !important; }
    h1 {  font-size: 10vw !important; word-break: break-word; } 
    h2 { font-size: 7vw !important;  word-break:break-word; } 
    h3 {  font-size: 5vw !important; }
	.sermon-center p{ font-size: 3vw !important; } 
    #main .dimode-slider .slider-dots {   bottom:2vw; } 
    .move-btn {        display: none;    }
	.info {        background-size: auto 400vw;    }
    .info-icon {         padding: 2% 10%;    }
	.education > a {         width: 100%;    } 
	
	.sermon-center {     padding: 0;}
	.sb-3 {    padding-bottom: 10%;}
	.sb-3 >a {    width: 20vw;    height: 20vw;}
	.sb-2 {     padding: 0 0 9%;}
	.sb-2 img {    padding: 0%; }
	
	.education-icon >div {width:50%;}
	
	.education-left {    height: 380px;}
	
	.photo a img {    width: 100%; }
	.photo.flex >div {
    width: 100%; 
	}*/
	
	.sb-2{   padding-right: 1rem;}
	.today_sermon {             padding: 4rem 15px;   row-gap: 3rem;}
	.sb-2 img {        max-width: 25vw;    }	
	
	.info-icon { 		flex-wrap: wrap;		justify-content: center; row-gap:3rem;	}
	.info .margin015 > a {        gap: 1rem;    }
	
	.info {padding: 4rem 15px;}
	.gallery{padding: 4rem 15px;}
	
	.newform .main4M >div {       padding: 0% 15px;}
	.applyForm .row {     margin: 1rem 0!important;}
	
	#main .dimode-slider .slider-dots .each-dot.active {
    height: 3vw;
    aspect-ratio: 2;
    width: auto;}
	#main .dimode-slider .slider-dots .each-dot{
    height: 3vw;
    aspect-ratio: 1;
    width: auto;}
	
	
	.education .flex h1, .gallery > div > h1, .newform .main4M .main4L .main4T h1 {    font-size: 3.0rem;}
	.sb-1 h2{    font-size: 2.3rem;}
	
	
	
}

 

 