﻿/*메인*/
#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%; }
.sermon-center { width: 100%; height: auto; padding: 30px 0% 0; /*padding: 110px 10.5% 80px;*/ text-align: center; }

.today_sermon { background: url(../../../Layouts/ccls_Layout/Images/003_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 }

.sb-1 { text-align: left; padding: 85px 7%; 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: 20px; font-weight: bold; }
.sb-1 h2 { font-size: 35px; margin: 2.0vw 0 1vw; /*font-weight: bold;*/ word-break: keep-all; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-1 p { font-size: 18px; }
.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: 24px; line-height: 1.2; /*font-weight: bold;*/ color: white; width: 100%; }
.sb-3 > a:nth-of-type(1) { background-color: #81B7F3; }
.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/ccls_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 > div { border-radius: 50%; border: 1px solid #2a4563; width: 140px; height: 140px; margin: auto; margin-bottom: 40px; position: relative; }
.margin015 > a > div > img { width: 75px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #2a4563; }
.margin015 > a > p { color: #153453; font-weight: 600; font-size: 20px; }
.margin015:hover { transform: translateY(-10px); transition: all 0.3s ease-out; }


/*교육 부분*/

.education.mainContainer { padding-left:0px; }
.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: 200px; margin-top: 160px; color: #183D69; }
.education .flex h1 { margin: 130px 0px 50px 0px; font-size: 47px; }
.education .flex h4 { font-size: 21px; font-weight: 600; }
.education hr { width: 15%; z-index: 3; position: relative; }
.education h3 { font-size: 25px; line-height: 1.3; z-index: 3; color: white; position: relative; margin-top: 50px; margin-bottom: 114px; }
.education p { font-size: 26px; 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: url(../../../Layouts/ccls_Layout/Images/005_next_bg.png) no-repeat; height: 771px; background-position: center bottom; }
.education-right { display: flex; align-items: center; }
.education-icon a p { position: absolute; top: 15px; right: 30px; background-color: #183d6a; padding: 4px 15px; margin: 0; }
/*.education-icon a:hover p { font-size: 25px; transition: all 0.2s ease-out; }*/
/*.education-left a:hover img { animation: ccc 0.4s infinite alternate; position: relative; }*/
.education .education-right > div > div:nth-child(2n+2) a p { right: unset; left: 30px; }

/*갤러리 부분*/
.gallery { width: 100%; height: auto; padding: 0.3% 0; color: white; position: relative; display: flex; flex-wrap: nowrap; background-color: #ebebeb; min-height: 600px; }
.gallery > div > h1 { color: black; margin: 80px 0px 30px 0px; font-weight: bold; font-size: 34px; }
.gallery > div > h1 > span { color: #979797; font-weight: 600; font-size: 30px; }
.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; /*text-align: center;*/ }
.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.6vw !important; }
    .sermon-icon h4 { font-size: 1.2vw; }
    .sermon-center { padding: 0; }

    .education .flex { margin-left: 0; 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.8vw !important; }
    .sermon-bottom p { font-size: 1vw !important; }
    .margin015 > a > div { width: 100px; height: 100px; }
    .margin015 > a > div > img { margin-bottom: 20px; width: 54px; }
    .today_sermon { background-position: 60%; }
    .sb-1 { padding: 85px 10px; }
    .sb-3 > a { width: 12vw; height: 12vw; }

    .education .flex h1 { margin-top: 0; font-size: 40px; }
    .education { padding: 3% 5%; }
    .education h1 { font-size: 25px; }
    .education h3 { font-size: 18px !important; margin-bottom: 54px; }

    .education-left { height: 420px; background-position: bottom center; }
    .education .flex { margin-left: 4vw; margin-top: 10vw; /*color:#fff;*/ }
    .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: 1.8vw !important; }
    h2 { font-size: 3vw !important; }
    h3 { font-size: 2vw !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; width: 100%; }
    .education-icon > div { /*width: 33.33%;*/ }
    .margin015 > a > div { margin-bottom: 18px; }

    .photo a img { width: calc(50vw - 35px); }
    .gallery > div > h1 { margin: 30px 0px 30px 0px; }
}

@media(max-width:440px) {
    p { font-size: 3.8vw !important; }
    h1 { font-size: 8vw !important; word-break: break-word; }
    h2 { font-size: 5vw !important; word-break: break-word; }
    h3 { font-size: 3.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%; }
    .margin015 > a > div { width: 85px; height: 85px; }
    .margin015 > a > div > img { width: 47px; }

    .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%; }
    .gallery > div > h1, .gallery > div > h1 > span { font-size: 6vw !important; }
}
