﻿/*메인*/
#dimodePage{display: block!important;}
.main-section1, .main-section2, .main-section3, .main-section4, .main-section5, .main-section6{overflow:hidden;}
/*section1*/ 
/*section2*/ 
/*section2*/ 
/*section3*/ 
/*section4*/ 
/*section5*/

.slider .slider-wrapper .slide img {width: 100%;}

@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%;} 
.sermon-center {
    
    width: 100%;
    height: auto;
    padding: 30px 0% 0; /*padding: 110px 10.5% 80px;*/
    text-align: center;
}

.today_sermon {
    background: url(../../../Layouts/ssmchurch_Layout/Images/003_sermon_bg.png) no-repeat;
    /*background: url(../../../Layouts/shdpc_Layout/Images/3_sermon_bg.jpg) no-repeat; 
    padding: 3% 5%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    /*width: 1500px;*/
    /*width:80vw;
    height: auto;*/
    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
}

.sb-1 {
    text-align: left;
    padding: 85px 7%;
    color: #fff;
    line-height: 3;
	flex-direction: column; 
	font-weight: bold;
    
}
.lineheight0 {
    line-height: inherit;
}
.sb-1 >a{    color:black;}
.sb-1 h4{    font-size: 20px;font-weight: bold; color: #fff;}
.sb-1 h2{    font-size: 35px;    margin: 2.3vw 0 1vw; font-weight: bold;     word-break: keep-all; color: #fff;}
.sb-1 p {    font-size: 18px; color: #fff;}
.sb-2 {    text-align: left;    padding: 3%;    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-right:7%;  	 }
.sb-3 >a  {     display:block;    position: relative;  transition: all 0.3s ease-out;     width: 155px;    height: 155px;} 
.sb-3 >a >p { 
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size:22px;
    line-height: 1.2;
    font-weight:bold;
	color:white;
	width:100%;
}
.sb-3 >a:nth-of-type(1)  { background-color: #24655D;    } 
.sb-3 >a:nth-of-type(2)  {  background-color: #63C0B5;    } 

.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/ssmchurch_Layout/Images/004_icon_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{
    width:125px;
    margin-bottom:40px;
}
.margin015 > a > p{
    color: #fff;
    font-weight:bold;
    font-size:20px;
}

.margin015:hover  {
      transform:translateY(-10px);   
transition: all 0.3s ease-out; 	  
}


/*교육 부분*/

.education {
    width: 100%;
    height: auto;
    padding: 3.3% 0;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}
.education .flex{
    text-align: left;
    margin-left: 100px;
    margin-top: 160px;
}
}
.education .flex h1{
   margin: 130px 0px 70px 0px;
       font-size: 47px;

}
.education hr{
    width:15%;
    z-index:3;
    position: relative;
}
.education h3 {
    font-size: 22px;
    line-height: 1.3;
    z-index: 3;
    color: white;
    position: relative;
    margin-top: 50px;
    margin-bottom: 114px;
}
.education p {
    font-size: 23px; 
    z-index:3;
    position: relative;
	color: white;
}
.education .education-right > div {
      width: 820px;
}
.education .education-right > div > div {
      margin: 8px -7px;
}
perwidth {
    width: 25.333333% !important;
}

.education-left{    background-color: #63C0B5; height: 700px;}

.education-right {
    display: flex;
    align-items: center;
}



.education-icon a p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.education-icon a:hover p {
    font-size:24px;   
	transition: all 0.2s ease-out;
}

.education-left a:hover img{
	animation: ccc 0.4s infinite alternate; position:relative; }
 
  
/*갤러리 부분*/

.gallery {
    width: 100%;
    height: auto;
    padding: 0.3% 0;
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    background-color: #F6FAFB;
    min-height: 600px;
}
.gallery > div > h1{
    color: black;
    font-weight: bold;
    margin: 80px 0px 30px 0px;

}
.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 a img {
    background-position: 50%;
    width: 330px;
    height: 200px;
    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: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: 3% calc(50vw - 375px);}
}
@media(min-width:992px) { 
	.mainContainer{padding: 3% calc(50vw - 485px);}
}
@media(min-width:1200px) { 
	.mainContainer{padding: 3% calc(50vw - 585px);}
}
@media(min-width:1450px) {
    .container{width:1450px;}
	.mainContainer{padding: 3% calc(50vw - 725px);}
}






@media(max-width:1550px) {
    p { font-size: 1.1vw !important;    }
    .sermon-icon h4 {font-size:1.2vw;    } 
	.sermon-center{padding: 0;}
	
	.education .flex {    margin-left: 7vw;    margin-top: 10vw;}
	.education .education-right > div {    width: 53vw;}
	
	.education-left{   height: 600px;}
	.photo a img {     width: 250px;    height: 190px;	}
	.gallery { min-height:500px;}
} 

@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 h1{font-size: 30px;}
	.education h3{font-size: 22px;}
	
	.education-left{   height: 520px;}
	.photo a img {    width: 200px;    height: 170px;}
	
}
@media(max-width:991px) {
    h3 {        font-size: 2.5vw !important;    } 
    p {        font-size: 1.4vw !important;    }
    .sermon-bottom p{        font-size: 1vw !important;    } 
	.margin015 > a > img {     margin-bottom: 20px;}
	
	.education{padding: 3% 5%;}
	.education h1{font-size: 25px;}
	.education h3{font-size: 18px!important; margin-bottom: 54px;}
	
	.education-left{   height: 420px;}
	.education .flex {    margin-left: 4vw;    margin-top: 10vw;}
	.education-left  .flex a img {    max-width: 180px;}
	.photo.flex >div {    width: 50%; padding: 10px;}
	.photo a img {    width: 340px; }
	.gallery {    min-height: 630px;}
	
}
@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); }
	
 
}
@media(max-width:440px) {
    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 {  /*display:none;*/  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%; 
}

}

 

 