﻿/*메인*/
#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; }
#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;justify-content:center; }

/*슬라이더*/
#main { width: 100%; height: 100%; /*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; }
#main .slider .slider-wrapper .slide img { /*width: 100%; max-height: 500px; object-fit: cover;*/ width: 90%; max-height: 581px; object-fit: cover; max-width: 1500px; }
#main .slider .manage-link { z-index: 999; }

.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: 50px 0 50px;*/ text-align: center; }
.mainContainer.sermon { /*background: url(../../../Layouts/hajach_renewal_Layout/Images/main/2_sermon_bg.gif) no-repeat;*/ width: 100%; background-position: bottom; background-size: cover; }
.today_sermon { background: url(../../../Layouts/hajach_renewal_Layout/Images/main/2_sermon_box.jpg) no-repeat; padding: 0; width: 90%; margin: auto; display: flex; flex-wrap: nowrap; align-items: center; display: flex; justify-content: center; align-items: center; background-position: right bottom; background-size: cover; max-width: 1500px; }
.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/hajach_renewal_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: 100%; 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/hajach_renewal_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: 50px 5% 50px 11%; color: white; line-height: 3; flex-direction: column; /*font-weight: bold;*/ }
.lineheight { line-height: inherit; font-size: 22px; }
.sb-1 > a { color: white; }
.sb-1 h4 { font-size: 20px; font-weight: 400; margin-bottom: 30px; }
.sb-1 h2 { font-size: 35px; margin: 20px 0 40px; font-weight: 400; word-break: keep-all; }
.sb-1 h5 { font-size: 20px; font-weight: 400; }
.sb-1 p { font-size: 20px; }
.sb-1 .sermon-button { display: flex; margin-top: 120px; }
.sb-1 .sermon-button > a { width: 50%; position: relative; }
.sb-1 .sermon-button > a:first-of-type { display: flex; justify-content: center; align-items: center; background: #000; padding: 10px 0; }
.sb-1 .sermon-button > a:first-of-type > img { width: 29px; height: 30px; }
.sb-1 .sermon-button > a:first-of-type > p { margin: 0; color: #fff; margin-left: 10px;  }
.sb-1 .sermon-button > a:last-of-type { background: #b40734; }
.sb-1 .sermon-button > a:last-of-type > img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 85%; height: 50%; object-fit: contain; }

.sb-2 { text-align: left; 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: #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/hajach_renewal_Layout/Images/main/3_quick_bg.jpg) no-repeat; width: 100%; height: auto; text-align: center; color: white; padding: 5% 0; background-position: center right; background-size: cover; }
.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; margin: auto; }

.info-icon > a { background: url(../../../Layouts/hajach_renewal_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:hover > div { background: url(../../../Layouts/hajach_renewal_Layout/Images/main/3_circle_on.png) no-repeat; }
.margin015 > a:hover > div img:nth-child(1) { visibility: hidden; }
.margin015 > a > div { position: relative; background-position: center !important; }
.margin015 > a > div > img:nth-child(1) { }
.margin015 > a >div > img:nth-child(2) { width: 70px; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%);  }
.margin015 > a > p { color: white; font-weight: 400; font-size: 25px; margin-top: 30px; }
.margin015:hover { transform: translateY(-10px); transition: all 0.3s ease-out; }


/*교육 부분*/
.education { width: 100%; height: auto; padding: 3.3% 0 1%; text-align: center; color: white; position: relative; display: flex; flex-wrap: nowrap; }
.education .flex { text-align: left; position: absolute; top: 50%; right: 0; transform: translate(-20%, -50%); }
.education .flex .title-ko { display: inline-block; font-weight: 400; }
.education .flex .title-en { display: inline-block; font-weight: 100; font-size: 30px; }
.education .flex h1 {  font-size: 47px; }
.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: 29px; z-index: 3; position: relative; color: white; }
.education .education-right > div {  margin:0; }
.education .education-right > div > div { margin: 0; padding: 0; padding-right: 20px; }
.education-left { background: url(../../../Layouts/hajach_renewal_Layout/Images/main/4_nextg.jpg) no-repeat; width: 34%; padding: 0; position: relative; background-position: left; background-size: cover; }
.education .bold { font-weight: bold; }
.education .lineheight { line-height: 1.5; font-weight: 400; }
.education-right { display: flex; align-items: center; padding: 0; /*width: 66%;*/ width:auto; }
.education-icon a p { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.education-icon a:hover p { font-size: 25px; transition: all 0.2s ease-out; }
.education-icon .perwidth:hover img { opacity: 0.8; transform: scale(0.95); transition: 0.5s }
.education-left a:hover img { animation: ccc 0.4s infinite alternate; position: relative; }

/*선교와 전도 부분*/
.mission { width: 100%; height: auto; padding: 1% 0 3.3%; text-align: center; color: white; position: relative; display: flex; flex-wrap: nowrap; }
.mission .flex { text-align: left; position: absolute; top: 50%; right: 0; transform: translate(-20%, -50%); color: #000; }
.mission .flex .title-ko { display: inline-block; font-weight: 400; }
.mission .flex .title-en { display: inline-block; font-weight: 100; font-size: 30px; margin-right: 10px; }
.mission .flex h1 { font-size: 47px; }
.mission hr { width: 15%; z-index: 3; position: relative; }
.mission h3 { font-size: 25px; line-height: 1.3; z-index: 3; color: white; position: relative; margin-top: 50px; margin-bottom: 114px; }
.mission p { font-size: 29px; z-index: 3; position: relative; color: white; }
.mission .mission-right > div { margin: 0; }
.mission .mission-right > div > div { margin: 0; padding: 0; padding-left: 20px; }
.education-right > div > div > a, .mission .mission-right > div > div > a { position: relative; }
.mission-left { background: url(../../../Layouts/hajach_renewal_Layout/Images/main/5_mission.jpg) no-repeat; width: 50%; padding: 0; position: relative; background-position: top left; background-size: cover; }
.mission .bold { font-weight: bold; }
.mission .lineheight { line-height: 1.5; font-weight: 400;text-align:right; }
.mission-right { display: flex; align-items: center; padding: 0; justify-content: end; /*width: 50%;*/ width: auto; }
.mission-icon a p { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; }
.mission-icon a:hover p { font-size: 25px; transition: all 0.2s ease-out; }
.mission-icon .perwidth:hover img { opacity: 0.8; transform: scale(0.95); transition: 0.5s }
.mission-left a:hover img { animation: ccc 0.4s infinite alternate; position: relative; }

/*갤러리 부분*/
.gallery { width: 100%; height: auto; padding: 100px 0; color: white; position: relative; display: flex; flex-wrap: nowrap; background-color: #ebebeb; /*min-height: 600px;*/ }
.gallery > div > h1 { color: black; margin: 0px 0px 30px 0px; }
.gallery > div > h1 > span { color: #979797; font-weight: 400; font-size: 33px; }
.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; text-align:center;}
.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:1450px) {
    .container { width: 1450px; }
}

@media(max-width:1550px) {
    .today_sermon { background-position: right bottom; }

}

@media(max-width:1550px) {
    p { font-size: 1.5vw !important; }
    .sermon-icon h4 { font-size: 1.2vw; }
    .sermon-center { padding: 0; }

    .education .flex h1, .mission .flex h1 { font-size: 34px; }
    .education .flex .title-en, .mission .flex .title-en { font-size: 27px; }
    .lineheight { font-size: 19px; }
    .education p, .mission p { font-size: 24px !important; }
    .photo a img { width: 250px; height: 190px; }
}

@media(max-width:1199px) {
    .sb-1 { padding: 50px 5% 50px 11%; }
    .sb-3 > a { width: 10vw; height: 10vw; }
    .info { padding: 1% 0; }
    .info-icon { padding: 2%; }
    .info-icon p { word-break: keep-all; font-size: 18px !important; }

    #main .slider .slider-wrapper .slide img { width: 100%; }
    .today_sermon { width: 100%; }

    .education h1 { font-size: 30px; }
    .education h3 { font-size: 22px; }
    .education .flex { top: 50%; right:unset; left: 50%; transform: translate(-50%, -50%); width: 90%; }
    .education .flex h1, .mission .flex h1 { font-size: 29px; }
    .education p, .mission p { font-size: 21px !important; }

    .gallery { padding: 50px 0; }
    .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; }

    .info-icon {width:100%;}
    .info .margin015 {width:20%;}

    .education { /*padding: 3% 5%;*/ }
    .education h1 { font-size: 25px; }
    .education h3 { font-size: 18px !important; margin-bottom: 54px; }
    .education-left { width: 50%; }
    .education-left .flex a img { max-width: 180px; }
    .photo.flex > div { width: 50%; padding: 10px; text-align: center; }
    .photo a img { width: 340px; }
    .gallery { /*min-height: 630px;*/ }
    .disnone { display: none; }
    .lineheight { font-size: 16px; }
    .education .flex .title-en, .mission .flex .title-en { margin-top: 0; margin-bottom: 0; }
}

@media(max-width:769px) {
    p { font-size: 2.8vw !important; }
    h2 { font-size: 4vw !important; }
    h3 { font-size: 3vw !important; }
    .sermon-center p { /*font-size: 2.4vw !important;*/ font-size:14px !important;}
    .today_sermon { flex-wrap: wrap; /*background-size: auto 92vw;*/ padding: 0; }
    .sermon-icon { flex-wrap: wrap; justify-content: center; }
    .sermon-center { background-position: bottom; background-size: auto 150vw; }

    .info { /*background-size: auto 200vw;*/ padding: 3% 0; }
    .info-icon { flex-wrap: wrap; }
    .info-icon p { font-size: 15px !important; }
    .info .margin015 { width: 33%; margin: 0; padding: 0px 5px; }
    .margin015 > a > p { margin-top: 10px; }

    .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; }
    .sb-1 .sermon-button > a { width: 40%; }
    .sb-1 .sermon-button > a:last-of-type > img { width: auto; height: 40%; }
    .sb-1 .sermon-button > a:first-of-type > img { height: 22px;  width:auto;}
    .sb-1 .sermon-button { margin-top: 30px; margin-bottom: 30px; }
    .sb-1 h4 { margin-bottom: 10px; }

    .education { /*padding: 5%;*/ }
    .education { flex-wrap: wrap; }
    .education > a { background-position: 50% 50%; width: 50%; }
    .education .education-right > div > div { padding-right: 0; }
    .education .education-right > div { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; }
    .education-right { padding: 0; }
    .education-icon > div { width: 50%; }
    .education-left { background-size: cover; }
    .mission { flex-direction: column-reverse; }
    .mission-right { width: 100%; }
    .mission-left { padding-top: calc(292 / 970 * 100%); width: 100%; }
    .mission .mission-right > div > div { padding-left: 0; }
    .education .flex .title-en, .mission .flex .title-en { font-size: 22px; }
    .education .flex h1, .mission .flex h1 { font-size: 24px; }
    .lineheight { font-size: 13px; }

    .photo a img { width: calc(50vw - 35px); }
    .gallery { padding: 20px 0; margin: 0px 0px 15px 0px; }
    .gallery > div > h1 { font-size: 28px; }
    .gallery > div > h1 > span { font-size: 28px; }
}

@media(max-width:440px) {
    .photo a img { height: 120px; }
}
