@keyframes aaa {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bbb {
    from {
        top: -10px
    }
    to {
        top: -2px;
    }
}

.container {
    width: 1520px;
}

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% 15%;
    box-sizing: border-box;
    background-color: white;
}


/*슬라이더*/
#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;
}



/*welcome*/
.welcome {
    background-color: #F7F7F7;
    padding: 0%;
    height: 350px;
}
.welcome .container {
    height:100%;
}
.welcome a {
    color:unset;
    text-decoration:none;
}
.welcome a:hover {
    color:unset;
    text-decoration:none;
}
.welcome-left {
    top: 50%;
    transform: translate(0, -50%) !important;
}
.welcome-left > h3:before {
    content: "";
    display: block;
    height: 1px;
    width: 100px;
    margin-bottom: 35px;
    border-top: solid #323234 1px;
}
.welcome-left > h3 {
    font-size: 35px;
    color: #000;
    font-weight: 900;
}
.welcome-left > p {
    font-size: 19px;
    color: #888888;
    margin-top: 30px;
}

.welcome-right {
    top: 50%;
    transform: translate(0, -50%) !important;
    text-align: right;
}
.welcome-right .welcome-menu {
    display: inline-flex;
    width: 150px;
    height: 150px;
    border: 1px solid #000;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transition: all 0.3s ease-out;
}
.welcome-right .welcome-menu:last-of-type {
    margin-right:0;
}
.welcome-right .welcome-menu:hover {
    transform: translateY(-10px);
}
.welcome-right .welcome-menu div {
    text-align:center;
}
.welcome-right .welcome-menu div > p {
    font-size: 18px;
    color: #000;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 400;
}

/*sermon*/
.sermon-bottom {
    padding: 67px 0;
    width: 100%;
    height: 670px;
	    display: flex;
    text-align: center;
	justify-content: center;
	    GAP: 20PX;
}
.today_sermon {
    position:relative;
    height:100%;
	width:100%;
	
	max-width:500px;
}

.sb-1 > div, .sb-2 > div, .sb-3 > div {
    position: absolute;
    margin-top: 15px;
    width: 100%;
}
.sb-1 h2, .sb-2 h2, .sb-3 h2,
.sb-1 h4, .sb-2 h4, .sb-3 h4,
.sb-1 p, .sb-2 p, .sb-3 p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-1 .board-arrow, .sb-3 .board-arrow {
    position: relative;
    width: 60px;
}
.sb-1 .board-arrow-head, .sb-3 .board-arrow-head {
    position: absolute;
    width: 55px;
    height: 20px;
    border: solid;
    border-width: 0 1px 0 0;
    bottom: -42px;
    transform: rotate(315deg);
    transform-origin: left;
    right: -10px;
}
.sb-1 .board-arrow-tail, .sb-3 .board-arrow-tail {
    position: absolute;
    width: 60px;
    border: solid;
    border-width: 0 0 1px 0;
}
.sb-2 .board-arrow {
    position: relative;
    width: 60px;
}
.sb-2 .board-arrow-head {
    position: absolute;
    width: 55px;
    height: 20px;
    border: solid #fff;
    border-width: 0 1px 0 0;
    bottom: -42px;
    transform: rotate(315deg);
    transform-origin: left;
    right: -10px;
}
.sb-2 .board-arrow-tail {
    position: absolute;
    width: 60px;
    border: solid #fff;
    border-width: 0 0 1px 0;
}

.sb-1 {
    background: url(../../../Layouts/kookil_Layout/Images/3.bg1_sermon.png) no-repeat;
    position:relative;
    text-align: left;
    color: black;
    line-height: 3;
    padding: 0 1.5%;
    /*width: 32%;*/
    height: 100%;
    display: inline-block;
    float: left;
    background-position: center;
    background-size: contain;
}
.sb-1 > a{
    color:black;
}
.sb-1 h4{
    font-size: 20px;
}
.sb-1 h2{
    font-size: 25px;
    margin: 2.3vw 0 1vw; 
    font-weight:600;
}
.sb-1 p {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 40px;
}
.sb-1 .board-title-kor {
    font-size: 27px;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}
.sb-1 .board-title-eng {
    display: inline-block;
    color: #94958F;
    font-size: 27px;
    font-weight: bold;
}

.sb-2 {
    background: url(../../../Layouts/kookil_Layout/Images/3.bg2_news.png) no-repeat;
    text-align: left;
    position: relative;
    padding: 0 1.5%;
    /*width: 32%;*/
    height: 100%;
    display: inline-block;
    background-position: center;
    background-size: contain;
}
.sb-2 > a{
    color:black;
}
.sb-2 h4{
    font-size: 20px;
}
.sb-2 h2{
    font-size: 25px;
    margin: 2.3vw 0 1vw; 
    font-weight:600;
    color:white;
}
.sb-2 p {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 40px;
    color:white;
}
.sb-2 .board-title-kor {
    font-size: 27px;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}
.sb-2 .board-title-eng {
    display: inline-block;
    color: #D8CBC2;
    font-size: 27px;
    font-weight: bold;
}

.sb-3 {
    background: url(../../../Layouts/kookil_Layout/Images/3.bg3_board.png) no-repeat;
    text-align: left;
    position: relative;
    padding: 0 12%;
    width: 100%;
    height: 100%;
	max-height:500px;
    display: inline-block;
    background-position: center;
    background-size: cover;
    /*float: right;*/
}
.sb-3 > a{
    color:black;
}
.sb-3 h4{
    font-size: 20px;
}
.sb-3 h2{
    font-size: 25px;
    margin: 2.3vw 0 1vw; 
    font-weight:600;
}
.sb-3 p {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 40px;
}
.sb-3 .board-title-kor {
    font-size: 27px;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}
.sb-3 .board-title-eng {
    display: inline-block;
    color: #94958F;
    font-size: 27px;
    font-weight: bold;
}



/* Church Ministry */
.school {
    background: url(../../../Layouts/kookil_Layout/Images/4.ministry_bg.png) no-repeat;
    width: 100%;
    height: auto;
    padding: 2.2% 5% 1%;
    text-align: center;
    color: white;
}
.school > h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 2%;
}

.school >p{
    font-size: 19px;
    line-height: 1.7;
}

.school-icon {
	padding: 2% 3%;
    display: flex;
    padding-bottom: 70px;
    flex-wrap: nowrap;
}

.school-icon >a{
    background: url(../../../Layouts/kookil_Layout/Images/4_box.png) no-repeat;
    width: 100%;
    height: auto;
    margin: 1% 1%;
    padding: 4% 0;
    background-color: white;
}
.school-icon >a:hover >img{
     
}


.school-icon p{
    font-size: 15px;
    color:#747474;
}

.school-icon h3{
    font-size: 24px;
    font-weight:bold;
}




/*gallery 부분*/
.gallery-right {
    padding-top: 60px;
    overflow: hidden;
}
.gallery-right > h2 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}
.gallery-right > h4 {
    font-size: 30px;
    text-align: center;
    margin: 0;
}
.slick-slider {
    width: 100vw;
}

.galleryList-slide {
    position: relative;
    display: block;
    margin: 0 !important;
    display: block;
    transform: translateX(-50%);
}
.galleryList-slide >a {
    position: relative;
    margin: 0 !important; 
    border-radius:50%;
    
}
.galleryList-slide >a:hover {
    border:0px solid white;
}

.galleryList-slide >a>img {
    width: 20vw;
    height: 13vw;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    transition: all 0.3s ease-out;
    box-shadow: 3px 5px 20px 1px gray;
}
.galleryList-slide >a>img:hover {
    transform: translate(0, -25px);
}

.main2Content {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 80px;
}

.galleryList p {
    position: absolute;
    font-size: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-weight: bold;
    display: none;
    width:100%;
}

.slick-list {
    overflow:unset !important;
}
.slick-slider .slick-prev {
    position: absolute;
    bottom: 16%;
    left: 7%;
}
.slick-slider .slick-next {
    position: absolute;
    bottom: 16%;
    right: 7%;
}

.swiper-pagination2 {
    margin: 5% 0;
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.swiper-pagination2 >li {
    margin: 0 10px;
    height: 14px;
    width: 14px;
    border-radius: 10px;
    background: #838486;
    /*border: 1px solid #ccc;*/
}

.swiper-pagination2 .slick-active {
    /*width: 42px;*/
    border-radius: 10px;
    background: #bf3b33;
    /*border: 1px solid black;*/
}
.swiper-pagination2 >li >button{
    display:none;
}



@media(max-width:1550px) {
    .container {
        width: 1300px;
    }
    p {
        font-size: 1.1vw !important;
    }

    .sb-1, .sb-2, .sb-3 {
        width: 100%;
        margin-right:1%;
    }

    .sermon-icon h4 {
        font-size: 1.2vw;
    }
}

@media(max-width:1320px) {
    .container{
        /*width:1200px;*/
        width:100%;
    }

    .welcome {
        height: 300px;
    }
    .welcome-right .welcome-menu {
        width: 11vw;
        height: 11vw;
    }
}

@media(max-width:1199px) {
    .sermon-bottom {
        padding: 47px 0;
        /*height: 475px;*/
    }
    .sb-1, .sb-2, .sb-3 {
        background-size: cover;
    }   
    .sb-1 > div, .sb-2 > div, .sb-3 > div {
        margin:0;
        top: 50%;
        transform: translateY(-50%);
    }

    .welcome {
        height: 250px;
    }

    .school-icon {
        padding: 2% 8%;
    }
}

@media(max-width:991px) {
    h3 {
        font-size: 2.5vw !important;
    }
    p {
        font-size: 1.4vw !important;
    }

    #main {
        margin-top: 80px;
    }

    .welcome {
        height: 200px;
    }
    .welcome-right .welcome-menu div > p {
        margin-top: 5px;
    }
    .sb-1 .board-title-kor, .sb-2 .board-title-kor, .sb-3 .board-title-kor,
    .sb-1 .board-title-eng, .sb-2 .board-title-eng, .sb-3 .board-title-eng {
        font-size: 2.8vw;
    }
    .sermon-bottom p {
        font-size: 2vw !important;
    }

    .school > h2 {
        font-size: 38px;
    }

    .gallery-right {
        padding-top: 40px;
    }
    .gallery-right > h2 {
        font-size: 38px;
    }
    .main2Content {
        margin-top: 40px;
    }

    .slick-slider .slick-prev, .slick-slider .slick-next {
        width: 20vw;
    }
    .galleryList-slide > a > img {
        width: 26vw;
        height: 17vw;
    }
}

@media(max-width:767px) {
    p {
        font-size: 2.8vw !important;
    }
    h2 {
        font-size: 5vw !important;
    }
    h3 {
        font-size: 4vw !important;
    }

    #main {
        margin-top: 70px;
    }
    #main .dimode-slider .slider-dots {
        bottom: 10px;
    }
    #main .dimode-slider .slider-dots .each-dot {
        height: 13px;
        width: 13px;
    }
    #main .dimode-slider .slider-dots .each-dot.active {
        width: 32px;
    }

    .welcome {
        height:auto;
    }
    .welcome-left {
        top: unset;
        transform: unset !important;
    }
    .welcome-right {
        display: flex;
        justify-content: space-between;
        top: unset !important;
        transform: unset !important;
        text-align: unset !important;
        padding:0;
    }
    .welcome-right .welcome-menu {
        width: 18vw;
        /*height: 18vw;*/
        height:auto;
    }
    .welcome-right .welcome-menu div > p {
        font-size: 14px !important;
		word-break: keep-all;
    }

    
    .sermon-bottom {
        height: auto;
    }
    .sermon-bottom p {
        font-size: 2.4vw !important;
    }
    .sermon-bottom a:hover {
        text-decoration:none !important;
        color:unset !important;
    }
    .sb-1, .sb-2, .sb-3 {
        width: 100%;
        height: 0;
        padding-top: calc(501 / 452 * 25%);
        margin-bottom: 8px;
    }
    .sb-1 > div, .sb-2 > div, .sb-3 > div {
        /*height:100%;*/
    }
    .sb-1 h2, .sb-2 h2, .sb-3 h2 {
        font-size: 4vw !important;
    }
    .sb-1 h4, .sb-2 h4, .sb-3 h4 {
        font-size: 3vw;
    }
    .sb-1 p, .sb-2 p, .sb-3 p {
        margin-bottom: 10px;
    }

    .today_sermon {
        flex-wrap: wrap;
        background-size: auto 92vw;
    }
    .sermon-icon {
        flex-wrap: wrap;
        justify-content:center;
    }
    .si-1{
        width:100%;
    }
    .si-2, .si-3, .si-4 {
        width: 26%;
        margin:0 3%;
    }
    .sermon-icon h4 {
        font-size: 4.5vw;
    }
    .sermon-icon p{
        width:80%;
    }
    .sermon-bottom {
        background-position: bottom;
        background-size: auto 150vw;
    }

    .school {
        background-size: auto 200vw;
        padding: 3% 1% 3%;
    }
    .school-icon {
        flex-wrap: wrap;
        padding: 0;
        justify-content: space-around;
    }
    .school-icon > a {
        width: 32%;
        margin:0;
    }
    .school-icon p {
        font-size: 2.5vw !important;
    }

    .together {
        flex-wrap: wrap;
    }
    .together > a {
        background-position: 50% 50%;
        width: 50%;
    }
    .slick-slider .slick-prev, .slick-slider .slick-next {
        width: 20vw;
    }
    .galleryList-slide > a > img {
        width: 40vw;
        height: 27vw;
    }
    .swiper-pagination2 > li {
        margin: 0 7px;
        height: 11px;
        width: 11px;
    }
}

@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-bottom p{
        font-size: 3vw !important;
    }

    #main .dimode-slider .slider-dots {
        /*display:none;*/
        bottom:2vw;
    }
    .move-btn {
        display: none;
    }

    .welcome-right .welcome-menu div > p {
        font-size: 12px !important;
    }

    .sb-1, .sb-2, .sb-3 {
        padding-top: calc(501 / 452 * 33%);
    }
    .sb-1 .board-title-kor, .sb-2 .board-title-kor, .sb-3 .board-title-kor,
    .sb-1 .board-title-eng, .sb-2 .board-title-eng, .sb-3 .board-title-eng {
        font-size: 5vw !important;
    }

    .school {
        background-size: auto 400vw;
    }
    .school-icon { 
        padding: 2% 0%;
    }
    .school-icon > a {
        width: 32.8%;
    }

    .together > a { 
        width: 100%;
    }
}

 
 
/* 날짜 */
.sermon-date-box{
    position:absolute;
    top:40px;
    left:45px;
    z-index:2;

    color:#fff;
}

.sermon-date-box::before,
.sermon-date-box::after{
    content:'';
    display:block;
    width:80px;
    height:2px;
    background:#fff;
}

.sermon-date-box::before{
    margin-bottom:15px;
}

.sermon-date-box::after{
    margin-top:15px;
}

.date-day{
    display:block;
    font-size:46px;
    font-weight:700;
    line-height:1;
}

.date-full{
    display:block;
    margin-top:10px;

    font-size:22px;
    font-weight:300;
}

/* HOLY WORSHIP 부분 */
.sermon-title-box{
    position:absolute;
    left:45px;
    bottom:45px;
    z-index:2;
}

.sermon-title-box h2{
    color:#fff;
    font-size:46px;
    line-height:1.05;
    font-weight:800;
    margin:0;
display:none;
    text-transform:uppercase;
    word-break:keep-all;
}
