﻿/*메인*/

p.each-img img {
    width: 100%;
}


#dimodePage{display: block!important;} 
@keyframes aaa {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bbb {
    from {
        top: -10px
    }

    to {
        top: -2px;
    }
}

a {
    color: black;
    text-decoration: none;
    transition: transform all .3s linear;
}

a:hover {
    color: black;
    text-decoration: none;
}

 

#main {
    width: 100%;
    height: 100%; 
}

#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% 0;
    box-sizing: border-box;
    background-color: white;
}


/*슬라이더*/
#main  {
    /*margin-top:95px;*/
}
#main .dimode-slider .slider-dots {
    
}
    #main .dimode-slider .slider-dots .each-dot {
        margin: 0 5px; 
        width: 16px; aspect-ratio:1;
        border: 1px solid #000;
    }
#main .dimode-slider .slider-dots .each-dot.active { max-width: 4vw; height:initial;
    aspect-ratio: 42 / 16;width: 42px; border-radius: 10px; background: black; border: 1px solid #000; }
    
 
#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;
    display: none;
}
.prev-btn {
    left: 5% !important;
    display: none;
}



/*맨 처음 흰 부분*/
.sermon {
    padding: 0%;
    background-color: #94a8af;
}


.sermon-bottom {
    /*background: url(../../../Layouts/cheongun_Layout/Images/3_bg.jpg) no-repeat;*/
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
}

.today_sermon {
    /*background: url(../../../Layouts/cheongun_Layout/Images/3_sermon_bg.jpg) no-repeat;*/
    /*padding: 3% 5%;*/
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    /*width: 1500px;*/
    width: 80vw;
    height: 640px;
    margin: auto;
	gap: 5vw;
}

.sb-1 {
    text-align: left;
    padding: 0% 0% 0% 0%;
    color: white;
    line-height: 3;
gap: 5vw;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.sb-1 .sermon-content { 
}
.sb-1 a{
    color: #1D3768;
    text-decoration: none;
}
.sb-1 h4 { 
     color: white;
    text-shadow: 5px 5px 4px #00000052;
}
.sb-1 h2 { 
    margin: 2.3vw 0 1vw; color: white; font-weight:bold;   
	text-shadow: 5px 5px 4px #00000052;
} 
.sb-1 h2, .sb-1 h4, .sb-1 p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-2 {
    position: relative;
    padding: 0 !important;
}
.sb-2 > a {
    display: block; position:relative;
}
.sb-2 .sermon-thumbnail {
    transition: all 0.3s ease-out; 
    width: 100%;
    /*object-fit:contain ;*/
    object-fit: cover;
    max-width: unset;
    aspect-ratio:16/9;
}
.sb-2 .sermon-youtube {
    transition: all 0.3s ease-out;
    position: absolute;
        right: 30px;
    bottom: -30px;
}
.sb-2 .sermon-youtube:hover { 
     transform:scale(1.2); 
    /*z-index:2;*/
}


.sermon-icon h4 {margin-bottom:40px;} 


.sb-3 {
        display: flex;
    justify-content: flex-end;
}
.sb-3 >a  { 
    display:block;
    position: relative;
    transition: all 0.3s ease-out;
	width: 150px; 
    aspect-ratio: 1;color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center; gap: 10px;
    justify-content: center;
    align-content: center;

}
.sb-3 .sb-3-1   { 
    background:white; color: #294084;
}
.sb-3 .sb-3-2   { 
    background:#7287c0;
}
.sb-3 .sb-3-3   { 
    background:#3f4591;
}




.sb-3 >a >p {    
    line-height: 1.2;
    font-weight:bold;margin: 0;
}
 
.sb-3 >a:hover { 
     transform:scale(1.05);
     z-index:2;
     
}

.sermon-icon {
    padding: 80px 0;
    display: flex;
    flex-wrap: nowrap;justify-content: center; 
    align-items: center;
    font-weight: bold;
    gap: 100px;
}
    .sermon-icon > div { 
        text-align: center;
    }

.sermon-icon h4{
    text-align: center;
    font-weight:bold;
    color: #000000; 
}
.sermon-icon > div > a{
    position:relative;
    transition: all 0.3s ease-out;
}
.sermon-icon > div > div > a:hover {
    transform:translateY(-10px);
} 

.sermon-icon > div >div >a{
	width: 120px;
    aspect-ratio: 1;
    border: 4px solid black;
    border-radius: 150px;
    display: flex;
    align-items: center;
    justify-content: center; 
    transition: all 0.3s ease-out;
}
.sermon-icon > div >div >a p{
	margin: 0px; 
}
.sermon-icon > div >div{
	display:flex; gap: 50px;
}


/*갤러리*/
.gallery {
    height: 550px;
    padding: 0;
}
.gallery .gallery-container {
    width: 85%;
}
.gallery .gallery-container .galleryb .gallery-content {
    position:relative;
        transition: all 0.3s linear;
    top: 0;

}
.gallery .gallery-container .galleryb .gallery-content img {
    width:100%;
    aspect-ratio: 4 / 3;
    /*box-shadow: 0px 0px 10px #444;*/
    box-shadow: 0px 0px 15px #646464;
    background-position: center !important;
    background-repeat: no-repeat;
    background-size: cover;
}
    .gallery .gallery-container .galleryb .gallery-content .gallery-text {
        position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    opacity: 0;   transition: all 0.3s linear;
    overflow: hidden;
    transform: translate(-50%, -50%);  text-align: center; 
    }
.gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { color: #fff;}
.gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 {     text-align: center; color:#fff;   margin: 0;  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gallery .gallery-container .galleryb .gallery-content:hover { top:-15px; }
.gallery .gallery-container .galleryb .gallery-content:hover img { filter: brightness(0.5); top:-15px; }
.gallery .gallery-container .galleryb .gallery-content:hover .gallery-text {
    opacity: 1;
}

/*같이 부분*/
.together {
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-wrap: nowrap;    flex-wrap: wrap;
}
.together hr{
    width:15%;
    z-index:3;
    position: relative;
}
.together h3 { 
    font-weight:bold; 
    z-index:3;
    position: relative;
}
    .together p { 
        z-index: 3;
        position: relative;
        color: #cdcdcd;
    }

.to2 {
    background: url(../../../Layouts/gdgmc_Layout/Images/main/005_edu_bg.png) no-repeat;
    background-position: center !important;
}
.to4 {
    background: url(../../../Layouts/gdgmc_Layout/Images/main/005_next_bg.png) no-repeat;
    background-position: center !important;
}
.to3 {
    background: url(../../../Layouts/gdgmc_Layout/Images/main/005_community_bg.png) no-repeat;
    background-position: center !important;
}
.to5 {
    background: url(../../../Layouts/gdgmc_Layout/Images/main/005_news_bg.png) no-repeat;
    background-position: center !important;
} 

.blackBox { 
	position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    background-size: cover;
    background-position: center; 
    z-index: 0;
	    opacity: 0;  transition: all 0.4s linear;
}
.together > a {
     
    height: auto;
    display: flex;
    color: white;
    transition: all .7s linear;
    text-decoration: none;
    overflow: hidden;
    background-position: center !important;
    background-size: cover !important;
    position: relative;
    /* display: block; */
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
}

.together > a:hover .blackBox { 
       opacity: 0.3;    
     
   
}
.text-layer {
    position: relative;
    z-index: 1;
    color: white; /* 또는 원하는 색상 */
     
}


/*갤러리 부분*/
.gallery {
    background: url(../../../Layouts/cheongun_Layout/Images/6_bg.jpg) no-repeat;
    width: 100%;
    height: auto; 
    padding: 50px 0 100px;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
}

.gallery-container > p { 
    color: #878787;
    font-weight: bold;
    padding: 0 15px;
}
.gallery-container > h1 { 
    margin-bottom: 2%;
    font-weight: bold;
    color: #304d75;
    padding: 0 15px;
}

.gallery-container > div {
    padding: 3% 0 0%;
    position: relative;
    display: block;
}

.gallery-container >div >h3{ 
    font-weight:bold;

}
.gallery-container >div>div{ 
    color:#585858;
    line-height: 1.7;
}
.gallery-container >div>a{
    margin-top: 3%;
    display: block;
    width: max-content;
}

.gallery-container >div>a >img:nth-of-type(2){ 
    display: none;
    position:absolute;
    bottom:0;
    left:0;
}
.gallery-container >div>a:hover >img:nth-of-type(2){ 
    display: initial; 
}




.main2Content {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    text-align:center;
}

.si-1_1 > a, .si-2 > a, .si-3 > a, .si-4 > a {margin-bottom:30px;}
.si-1 > div, .si-1_1 > div { padding:0; }
.si-1 > div > a, .si-1_1 > div > a { padding: 0; }


 

@media(max-width:1499px)  {
	html, body { font-size:17px; }
	.sb-3 >a { 
    width: 120px;
	} 
	
     /* .gallery .gallery-container .galleryb .gallery-content .gallery-text{ left: 31%;} */
    /* .sermon-icon >div {padding: 10px;} */
    /* .sb-2 .sermon-youtube {         bottom: calc(-14.25vw - 13px);} */
    /* .container{width:1170px;} */

    /* .gallery-container > p { */
        /* font-size: 21px; */
    /* } */
    /* .gallery-container > h1 { */
        /* font-size: 46px; */
    /* } */
    /* .gallery .gallery-container .galleryb .gallery-content img { */
        /* height: 13vw; */
    /* } */

    /* .today_sermon { */
        /* width: 90vw; */
        /* height: 540px; */
    /* } */
    /* .sb-3 > a { */
        /* width: 124px; */
        /* height: 124px; */
    /* } */
    /* .sb-1 h2 { */
        /* font-size: 36px; */
    /* } */
    /* .sb-1 h4 { */
        /* font-size: 16px; */
    /* } */
    /* .sermon-icon { */
        /* padding-top: 20px; */
        /* padding-bottom: 20px; */
    /* } */

    /* .si-1 > div > a { margin-bottom: 20px; } */
    /* .si-1_1 > a, .si-2 > a, .si-3 > a, .si-4 > a {margin-bottom:20px;} */
    /* .si-1 > div, .si-1_1 > div { padding:0; } */
    /* .si-1 > div > a, .si-1_1 > div > a { padding: 0; } */

    /* .sb-2 .sermon-thumbnail { */
        /* height: 28.5vw; */
    /* } */
        /* .sb-2 .sermon-thumbnail:hover { */
            /* height: 30.5vw; */
        /* } */
}

@media(max-width:1199px)  {
	.sermon-icon { 
    gap: 50px; flex-wrap: wrap;
}
    /* .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 10%;} */
    /* .sermon-icon { */
        /* padding-top: 20px; */
        /* padding-bottom: 20px; */
        /* font-size: 15px; */
        /* justify-content: space-between; */
        /* padding: 20px 5%; */
    /* } */
    /* .sermon-icon >div { padding: 10px;} */
        /* .sermon-icon > h4 { */
            /* min-width: 120px; */
        /* } */
        /* .sermon-icon h4 { */
            /* font-size: 17px; */
        /* } */
     /* .sb-2 .sermon-youtube {  bottom: -135px;} */
    /* .gallery .gallery-container .galleryb .gallery-content img { */
        /* height: 13vw; */
    /* } */
    /* .sb-1 { */
        /* padding: 3%; */
        /* height: 75%; */
    /* } */
    /* .si-1 { */
        /* width: auto; */
        /* left: unset; */
        /* position: relative; */
    /* } */

    
    /* .today_sermon { */
        /* height: 440px; */
    /* } */
    /* .sb-1 .sermon-content { */
        /* bottom: 10%; */
    /* } */
    /* .sb-1 h2 { */
        /* font-size: 28px; */
    /* } */
    /* .sb-1 h4 { */
        /* font-size: 17px; */
    /* } */
    /* .sb-1 p { */
        /* font-size: 15px; */
    /* } */
    /* .sb-3 a img { */
        /* width: 100px; */
    /* } */
    /* .si-1 .time-box, .si-1_1 .time-box, .si-2 .time-box, .si-3 .time-box, .si-4 .time-box { */
        /* height: 100px; */
        /* width: 100px; */
        /* margin-left: 5px; */
        /* margin-right: 5px; */
    /* } */
    /* .si-1_1, .si-2, .si-3, .si-4 {width:auto;} */
    


    /* .together h3 { */
        /* font-size: 30px; */
    /* } */
    /* .together p { */
        /* font-size: 19px; */
    /* } */

    /* .gallery-container > p { */
        /* font-size: 18px; */
    /* } */
    /* .gallery-container > h1 { */
        /* font-size: 41px; */
    /* } */
    /* .si-1 > div, .si-1_1 > div { padding:0; } */
    /* .si-1 > div > a, .si-1_1 > div > a { padding: 0; } */
}

@media(max-width:991px)  {
	.today_sermon {  
		flex-direction: column;padding: 30px;
		width: initial; 
     height: initial;
}
.sb-1 {padding: 30px 0px;}
.gallery .gallery-container .galleryb .gallery-content {
    position: relative;
    transition: all 0.3s linear;
    top: 0;
    padding: 15px;
}
	
    /* .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 10%;} */
    /* .sb-2 .sermon-youtube {  bottom: -135px;} */
    /* .sermon-icon { */
        /* padding-top: 20px; */
        /* padding-bottom: 20px; */
        /* font-size: 15px; */
        /* justify-content: space-between; */
        /* padding: 10px 0%; */
    /* } */
    /* .sermon-icon >div { padding: 10px;} */
        /* .sermon-icon > h4 { */
            /* min-width: 120px; */
        /* } */
        /* .sermon-icon h4 { */
            /* font-size: 17px; */
        /* } */
    /* .gallery .gallery-container .galleryb .gallery-content { */
        /* margin-bottom: 20px; */
    /* } */

    /* .today_sermon { */
        /* height: 290px; */
    /* } */
    /* .sb-1 .sermon-content { */
        /* bottom: 10%; */
    /* } */
    /* .sb-1 h2 { */
        /* font-size: 26px; */
    /* } */
    /* .sb-1 h4 { */
        /* font-size: 15px; */
    /* } */
    /* .sb-1 p { */
        /* font-size: 14px; */
    /* } */
    
    /* .sb-2 .sermon-thumbnail { */
        /* height:22vw; */
    /* } */
    /* .sb-3 a img { */
        /* width: 95px; */
    /* } */

    /* .together h3 { */
        /* font-size: 27px; */
    /* } */
    /* .together p { */
        /* font-size: 17px; */
    /* } */

    /* .si-1 { */
        /* width: auto; */
        /* left: unset; */
        /* position: relative; */
    /* } */
    /* .si-1 .time-box, .si-1_1 .time-box, .si-2 .time-box, .si-3 .time-box, .si-4 .time-box { */
        /* height: 85px; */
        /* width: 85px; */
        /* margin-left: 5px; */
        /* margin-right: 5px; */
    /* } */
    /* .si-1_1, .si-2, .si-3, .si-4 {width:auto;} */
    /* .si-1 > div, .si-1_1 > div { padding:0; } */
    /* .si-1 > div > a, .si-1_1 > div > a { padding: 0; } */

    /* .gallery-container > p { */
        /* font-size: 17px; */
    /* } */
    /* .gallery-container > h1 { */
        /* font-size: 38px; */
        /* margin-top: 0; */
    /* } */
    /* .gallery .gallery-container .galleryb .gallery-content img {height:182px; object-fit:cover;} */
}

@media(max-width:767px) {
	
	.sermon-icon {        gap: 25px;        flex-wrap: wrap;    }
	.sermon-icon > div >div {     gap: 25px;}


    .sb-1 h2 {        font-size: 1.8rem;    }
.together h3 {      font-size: 1.4rem;}

.sermon-icon h4 {    margin-bottom: 20px;}
.sermon-icon {        padding: 50px 15px;}

.sermon-icon > div >div >a {width: 89px;}
	.si-4 img {    max-width: 50px;}
 
.gallery-container > h1 {font-size:2rem; padding:0;}
.gallery-container > p{padding:0;}
    /* #main { margin-top: 70px;} */
    /* .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 10%; width:90%;} */
    /* .sb-1 { padding: 10px;} */
    /* .sermon-icon > div.si-1 { */
        /* width: 100%; */
    /* } */
    /* .si-1_1 > a img, .si-2 > a img , .si-3 > a img , .si-4 > a img { width: 70%;} */
    /* .si-1_1 > a, .si-2 > a, .si-3 > a, .si-4 > a { margin-bottom: 0px; display: inline-block;} */
    /* .si-1 > div > a img, .si-1_1 > div > a img { width: 70%;} */
    /* .sb-2 .sermon-youtube { bottom: 0px; width: 13%; } */
    /* .sermon-icon { */
        /* padding: 0 10px; */
        /* padding-top: 20px; */
        /* padding-bottom: 20px; */
        /* font-size: 15px; */
        /* justify-content: space-between; */
        /* padding: 10px 0%; */
    /* } */
    /* .si-1_1 > h4, .si-2 > h4, .si-3 > h4, .si-4 > h4 { padding-bottom: 0px;} */
    /* .si-1 > div > a, .si-1_1 > div > a { padding: 0px; display: inline-block; width:auto; margin-bottom:7px;} */
    /* .si-1 > div, .si-1_1 > div { padding: 0px; display: inline-block;} */
    /* /*.sermon-icon >div img { width: 50%;}*/ */
    /* .sermon-icon >div { float: left;} */
    /* .si-1 { */
        /* position: relative; */
        /* width: auto; */
        /* left: 50%; */
        /* transform: translateX(-50%); */
    /* } */
    /* .si-1_1, .si-2, .si-3, .si-4 { width: 50%;} */
    /* .sermon-icon { display: inline-block;} */
    /* .sermon-icon >div { padding: 10px;} */
        /* .sermon-icon > h4 { */
            /* min-width: 120px; */
        /* } */

        /* .sermon-icon h4 { */
            /* font-size: 17px; */
            /* margin-bottom: 10px; */
        /* } */
    /* #main .dimode-slider .slider-dots { bottom: 10px !important; } */
    /* #main .dimode-slider .slider-dots .each-dot { height: 10px; width: 10px; } */
    /* #main .dimode-slider .slider-dots .each-dot.active { width: 22px; } */
    /* .today_sermon { width: 90vw;} */
    /* .sermon { padding: 10px 0;} */
    /* .sb-1 .sermon-content { position:relative; bottom: 10%; width: 60%; } */
    /* .sb-1 h2 { */
        /* font-size: 26px; */
        /* text-overflow: ellipsis; */
        /* overflow: hidden; */
        /* white-space: nowrap; */
    /* } */
    /* .sb-1 h4 { */
        /* font-size: 15px; */
        /* text-overflow: ellipsis; */
        /* overflow: hidden; */
        /* white-space: nowrap; */
    /* } */
    /* .sb-1 p { font-size: 14px; } */
    /* .sb-2 { margin-bottom: 10px;} */
    /* .sb-2 .sermon-thumbnail { position: relative; top: unset; left: unset; transform: unset; } */
    /* .sb-2 .sermon-thumbnail { height: 50vw;} */
    /* .sb-2 .sermon-thumbnail:hover { height: 50vw; width: 100%;} */
    /* .sb-3 { top: 50%; transform: translateY(-50%); } */
    /* .sb-3 > a { display: inline-block; float: unset;} */
    /* .sb-3 a img { width: 70px;} */

    /* .si-1 .time-box, .si-1_1 .time-box, .si-2 .time-box, .si-3 .time-box, .si-4 .time-box { */
        /* height:30vw; */
        /* width:30vw; */
    /* } */

    /* .together { display:block;         flex-direction: column; } */
    /* .together h3 { font-size: 21px; } */
    /* .together p { font-size: 17px; } */
    /* .together > a { padding: 5% 3%; width:50%; } */
    /* .blackBox { width:50vw; } */
    /* .gallery { padding: 5% 0 5%; } */
    /* .gallery .gallery-container {width: 95%; } */
    /* .gallery-container > p { font-size: 15px; } */
    /* .gallery-container > h1 { font-size: 26px; margin-top: 0; } */
    /* .gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 { font-size:17px; } */
    /* .gallery .gallery-container .galleryb .gallery-content { margin-bottom: 20px; } */
    /* .gallery .gallery-container .galleryb .gallery-content img { height: 25vw; } */
}

@media(max-width:440px) {  
	.gallery .gallery-container .galleryb .gallery-content { 
        width: 100%; padding: 15px 0;
    }
	.sb-2 .sermon-youtube { 
		right: 20px;
		bottom: -20px;
		width: 40px;
	}
    /* .sermon-icon > div > a > p { font-size: 15px;}  */
    /* .si-1 > div > a > p, .si-1_1 > div > a > p { font-size: 15px;}  */
    /* .sermon-icon > div .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 10%; } */
    /* .sermon-icon >div {padding: 0px;} */
    /* .sb-1 h2 { */
        /* font-size: 19px; */
        /* text-overflow: ellipsis; */
        /* overflow: hidden; */
        /* white-space: nowrap; */
    /* } */
    /* .sb-1 h4 { */
        /* font-size: 13px; */
        /* text-overflow: ellipsis; */
        /* overflow: hidden; */
        /* white-space: nowrap; */
    /* } */
    /* .sb-1 p { font-size: 12px; } */
    /* .together { flex-wrap: wrap;} */
    /* .gallery .gallery-container { width:100%;} */
}

 