@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: 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: 0; }
#main .dimode-slider .slider-dots { bottom: 50px; display:none;}
#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-color: #ADBAC0;}
.sermon-bottom {width: 100%;height: auto;padding: 0;text-align: center;}
.today_sermon {padding: 0;display: flex;flex-wrap: nowrap;align-items: center;width: 80vw;height: 640px;margin: auto;}

.sb-1 { text-align: left; padding-left: 6%; color: white; line-height: 1.5; height: 22.5vw; }
.sb-1 .sermon-content > a {color: #fff;text-decoration: none;}
.sb-1 h4 {font-size: 22px;}
.sb-1 h2 { font-size: 40px; margin: 4vw 0 3vw; }
.sb-1 p {font-size: 19px;}
.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; height: 22.5vw; position: relative; }
.sb-2 .sermon-thumbnail { transition: all 0.3s ease-out; top: 50%; position: absolute; transform: translate(-50%, -50%); left: 50%; width: 100%; object-fit: cover; max-width: unset; height: 22.5vw; }
.sb-2 .sermon-youtube { width: 100px; transition: all 0.3s ease-out; position: absolute; right: 0; bottom: 0; transform: translate(20%, -50%); }
.sb-2 .sermon-thumbnail:hover {opacity:0.7;}

.sb-3 {position: relative;display: flex;width: 100%;justify-content: center;text-align: center;}
.sb-3 >a  { display:inline-block;position: relative;transition: all 0.3s ease-out;}
.sb-3 .sermon-box {padding: 20px;}
.sb-3 .sermon-box:nth-of-type(1) {background-color:#ACD792;}
.sb-3 .sermon-box:nth-of-type(2) {background-color:#FFE8C8;}
.sb-3 .sermon-box:nth-of-type(3) {background-color:#FFC96F;}
.sb-3 .sermon-box:nth-of-type(4) {background-color:#FFA62E;}
.sb-3 .sermon-box p, .sb-3 .sermon-box h3 {margin:0;}
.sb-3 .sermon-box h3 { font-weight: bold; line-height: 1.5; font-size: 22px; }
.sb-3 .sermon-box hr { margin: 10px 10px; border-top-color: #000; }

.sermon-icon { padding: 0% 7%; display: flex; flex-wrap: nowrap; justify-content: space-around; align-items: center; font-weight: bold; font-size: 18px; }
.sermon-icon > div { padding: 5% 0; text-align: center; }
.sermon-icon h4 { text-align: center; font-weight: bold; font-size:28px; }
.sermon-icon > div > a { position: relative; transition: all 0.3s ease-out; }
.sermon-icon > div > a:hover, .si-1 > div > a:hover { transform: translateY(-10px); }
.sermon-icon > div > a > p { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); margin: 0; }

.si-1 { width: 35%; }
.si-1_1, .si-2, .si-3, .si-4 { width: 15%; }
.si-1_1 > a, .si-2 > a, .si-3 > a, .si-4 > a { margin-bottom: 19.5%; display: block; }
.si-1_1 > h4, .si-2 > h4, .si-3 > h4, .si-4 > h4 { padding-bottom: 20%; }
.si-1 > div, .si-1_1 > div { padding: 4% 5%; display: flex; flex-wrap: nowrap; justify-content: space-around; align-items: center; }
.si-1 > div > a, .si-1_1 > div > a { padding: 3% 5%; position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-evenly; transition: all 0.3s ease-out; }
.si-1 > div > a > p, .si-1_1 > div > a > p { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); margin: 0; }

.gallery { height: 550px; padding: 0; }
.gallery .gallery-container { width: 85%; }
.gallery .gallery-container .gallery-title h5 { font-size: 30px; color: #DC9B63; }
.gallery .gallery-container .gallery-title h4 { font-size: 45px; font-weight: bold; margin-top: 30px; }
.gallery .gallery-container .galleryb .gallery-content { position: relative; transition: 0.4s; }
.gallery .gallery-container .galleryb .gallery-content img { width: 100%; height: 230px; 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: relative; margin: auto; width: 90%; margin-top: 30px; }
.gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { color: #000;}
.gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 { color: #fff; font-size: 23px; margin: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 10px; }
.gallery .gallery-container .galleryb .gallery-content .gallery-text > h3:nth-of-type(2) { color: #509B87; }
.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 { visibility: visible; }

.gallery { background: url(../../../Layouts/300sungdo71_Layout/Images/6_bg.jpg) no-repeat; width: 100%; height: auto; padding: 3% 0 5%; text-align: left; display: flex; flex-wrap: nowrap; }
.gallery-container > p { font-size: 24px; color: #CDB0A2; font-weight: bold; }
.gallery-container > h1 { font-size: 63px; margin-bottom: 2%; }
.gallery-container > .gallery-title { padding: 1.5% 0 1.5%; position: relative; display: block; }
.gallery-container > div > h3 { font-size: 22px; font-weight: bold; }
.gallery-container > div > div { font-size: 18px; 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; }

.together { width: 100%; height: auto; padding: 0; text-align: center; color: white; position: relative; display: flex; flex-wrap: nowrap; }
.together hr { width: 15%; z-index: 3; position: relative; }
.together h3 { font-size: 36px; font-weight: bold; z-index: 3; position: relative; }
.together p { font-size: 23px; z-index: 3; position: relative; }
.to2 { background: url(../../../Layouts/300sungdo71_Layout/Images/box_1.png) no-repeat; background-position: center !important; }
.to3 { background: url(../../../Layouts/300sungdo71_Layout/Images/box_2.png) no-repeat; background-position: center !important; }
.to4 { background: url(../../../Layouts/300sungdo71_Layout/Images/box_3.png) no-repeat; background-position: center !important; }
.to5 { background: url(../../../Layouts/300sungdo71_Layout/Images/box_4.png) no-repeat; background-position: center !important; }
.to2:hover { filter: brightness(0.7); }
.to3:hover { filter: brightness(0.7); }
.to4:hover { filter: brightness(0.7); }
.to5:hover { filter: brightness(0.7); }
.blackBox2 { /*background: url(../../../Layouts/300sungdo71_Layout/Images/3.box_bg_2.png) no-repeat; background-position: center !important;*/ filter: brightness(0.7); }
.blackBox3 { /*background: url(../../../Layouts/300sungdo71_Layout/Images/3.box_bg_3.png) no-repeat; background-position: center !important;*/ filter: brightness(0.7); }
.blackBox4 { /*background: url(../../../Layouts/300sungdo71_Layout/Images/3.box_bg_4.png) no-repeat; background-position: center !important;*/ filter: brightness(0.7); }
.blackBox5 { /*background: url(../../../Layouts/300sungdo71_Layout/Images/3.box_bg_5.png) no-repeat; background-position: center !important;*/ filter: brightness(0.7); }
.blackBox { display: block; position: absolute; top: 0; left: 0; width: 25vw; height: 25vw; height: 100%; visibility: hidden; z-index: 1; background-position: center !important; background-size: cover !important; }
.together > a { padding: 8.8% 3%; width: 100%; height: auto; color: white; transition: transform all .7s linear; text-decoration: none; overflow: hidden; background-position: center !important; background-size: cover !important; }
.together > a:hover .blackBox { visibility: visible; }









@media(max-width:1500px) {
}

@media(max-width:1499px) and (min-width:1200px) {
    .gallery .gallery-container .galleryb .gallery-content .gallery-text{ /*left: 31%;*/}
    .sermon-icon >div {/*padding: 10px;*/}
    .sb-2 .sermon-youtube { width: 100px; }
    .container{width:1170px;}
    .today_sermon { width: 90vw; height: 500px; }
    .sb-1 p { font-size: 16px; }
    .sb-1 h2 { font-size: 34px; margin: 2vw 0 2vw; }
    .sb-1 h4 { font-size: 19px; }
    .sb-3 .sermon-box h3 { font-size: 17px; }

    .gallery-container > p { font-size: 21px; }
    .gallery-container > h1 { font-size: 51px; }
    .gallery .gallery-container .galleryb .gallery-content img { height: 13vw; }
    .gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { font-size: 19px; }
}

@media(max-width:1199px) and (min-width:992px) {
    #main .dimode-slider .slider-dots .each-dot.active { width: 28px; }
    #main .dimode-slider .slider-dots .each-dot { height: 12px; }

    .sermon-icon > div { /*padding: 10px;*/ }
    .sb-2 .sermon-youtube { width: 64px; }
    .today_sermon { height: 440px; width: 90vw; }
    .sb-3 .sermon-box h3 { font-size: 17px; }
    .sb-3 .sermon-box { padding: 10px; }
    .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-1 h2 { margin: 2vw 0 2vw; }
    .sb-3 a img { width: 125px; }

    .sermon-icon h4 { font-size: 20px; }

    .gallery .gallery-container .gallery-title h5 { font-size: 23px; }
    .gallery .gallery-container .gallery-title h4 { font-size: 36px; margin-top: 15px; }
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { /*left: 31%;*/ }
    .gallery .gallery-container .galleryb .gallery-content img { height: 13vw; }
    .gallery-container > p { font-size: 18px; }
    .gallery-container > h1 { font-size: 41px; }
    .gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { font-size: 17px; }

    .together h3 { font-size: 30px; }
    .together p { font-size: 19px; }

}

@media(max-width:991px) and (min-width:768px) {
    .today_sermon { height: 340px; width: 90vw; }
    .sb-1 .sermon-content { bottom: 10%; }
    .sb-1 h2 { font-size: 23px; margin: 2vw 0 2vw; }
    .sb-1 h4 { font-size: 14px; }
    .sb-1 p { font-size: 14px; }
    .sb-2 .sermon-thumbnail { height: 22vw; }
    .sb-2 .sermon-youtube { width: 50px; }
    .sb-3 a img { width: 125px; }
    .sb-3 .sermon-box { padding: 10px; }
    .sb-3 .sermon-box h3 { font-size: 15px; }
    .sermon-icon > div { /*padding: 10px;*/ }
    .sermon-icon h4 { font-size: 17px; }

    .together h3 { font-size: 27px; }
    .together p { font-size: 17px; }
    .together > a { padding: 3% 1%; }

    .gallery .gallery-container .gallery-title h5 { font-size: 19px; }
    .gallery .gallery-container .gallery-title h4 { font-size: 30px; margin-top: 15px; }
    .gallery-container > p { font-size: 18px; }
    .gallery-container > h1 { font-size: 41px; margin-top: 0; }
    .gallery .gallery-container { width: 100%; }
    .gallery .gallery-container .galleryb .gallery-content { margin-bottom: 20px; }
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { /*left: 31%;*/ }    
    .gallery .gallery-container .galleryb .gallery-content > a { width: 100%; display: block; position: relative; }
    .gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 { text-align: left; font-size: 22px; }
    .gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { font-size: 15px; }
}

@media(max-width:767px) {
    #main { margin-top: 70px;}
    #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; }

    .sermon-icon { padding: 20px 10px; display: flex; flex-wrap: wrap; justify-content: center; }
    .sermon-icon > div { float: left; }
    .today_sermon { width: 90vw; height: auto; /*flex-direction: column;*/ flex-direction: column-reverse; }
    .sermon-icon h4 { font-size: 16px; }
    .sermon-icon > div { padding: 5px 0; }

    .sb-1 .sermon-content { position: relative; /*bottom: 10%;*/ width: 100%; }
    .sb-1 h2 { font-size: 26px; }
    .sb-1 h4 { font-size: 15px; }
    .sb-1 p { font-size: 14px; }
    .sb-1 { padding: 25px 0; }
    .sb-1, .sb-2 > a { height: auto; color:#fff; }
    .sb-2 > a h2 { font-size: 24px; }
    .sb-2 > a h4 { font-size: 14px; }
    .sb-2 { margin-bottom: 10px; }
    .sb-2 .sermon-youtube { width: 15vw; }
    .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: 76px; }
    .sb-3 .sermon-box { width: 25%; padding: 10px; }

    

    .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%;}
    .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; }
    .si-1 > div, .si-1_1 > div { padding: 0px; display: inline-block; }
    .si-1 { width: 30%; }
    .si-1_1, .si-2, .si-3, .si-4 { width: auto; }

    .together { display: block; flex-direction: column; }
    .together h3 { font-size: 22px; }
    .together p { font-size: 17px; }
    .together > a { padding: 5% 3%; width:50%; }
    .blackBox { width:50vw; }

    .gallery { padding: 5% 0 5%; }
    .gallery .gallery-container { width: 100%; }
    .gallery-container > p { font-size: 17px; }
    .gallery-container > h1 { font-size: 36px; margin-top: 0; }
    .gallery .gallery-container .gallery-title h5 { font-size: 16px; }
    .gallery .gallery-container .gallery-title h4 { font-size: 26px; margin-top: 15px; }
    .gallery .gallery-container .galleryb .gallery-content { margin-bottom: 20px; }
    .gallery .gallery-container .galleryb .gallery-content img { height: 25vw; }
    .gallery .gallery-container .galleryb .gallery-content > a { width: 100%; display: block; position: relative; }
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { /*left: 31%;*/ margin-top: 20px; }    
    .gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 { text-align: left; font-size: 19px; }
    .gallery .gallery-container .galleryb .gallery-content.black .gallery-text > h3 { font-size: 12px; }
}

@media(max-width:440px) {
    .sb-3 .sermon-box h3 { font-size: 16px; }
    .sb-1 p { font-size: 12px; }
    .sb-3 { flex-wrap: wrap; }
    .sb-3 .sermon-box { width: 50%; }
    .sb-2 > a h2 { font-size: 20px; }
    .sb-2 > a h4 { font-size: 12px; }
    .sermon-icon { display: flex; flex-wrap: wrap; }
    .sermon-icon > div { width: 50%; }

    .si-1 > div > a img {width:55%;}

    .together h3 { font-size: 19px; }
    .together p { font-size: 15px; }

    .gallery .gallery-container .galleryb .gallery-content > a { width: 100%; display: block; position: relative; }
    .gallery .gallery-container .galleryb .gallery-content .gallery-text {  /*left: 25px; transform: translate(0);*/ }
    .gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 { text-align: left; font-size: 17px; }
}

@media(max-width:400px) {

}


@media(max-width:340px) {

}