@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%;
    /*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% 0;
    box-sizing: border-box;
    background-color: white;
}


/*½½¶óÀÌ´õ*/
#main  {
    margin-top:95px;
}
#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;
    display: none;
}
.prev-btn {
    left: 5% !important;
    display: none;
}



/*¸Ç Ã³À½ Èò ºÎºÐ*/
.sermon {
    padding: 0%;
    background-color: #A3ADB6;
}


.sermon-bottom {
    /*background: url(../../../Layouts/busanjin_Layout/Images/3_bg.jpg) no-repeat;*/
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
}

.today_sermon {
    /*background: url(../../../Layouts/busanjin_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;
}

.sb-1 {
    text-align: left;
    padding: 3%;
    color: white;
    line-height: 3;
    height:90%;
}
.sb-1 .sermon-content {
    position: absolute;
    bottom: 20%;
}
.sb-1 a{
    color:#fff;
    text-decoration: none;
}
.sb-1 h4 {
    font-size: 20px;
}
.sb-1 h2 {
    font-size: 45px;
    margin: 2.3vw 0 1vw; 
}
.sb-1 p {
    font-size: 18px;
}
.sb-1 h2, .sb-1 h4, .sb-1 p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}

.sb-2 {
    position: relative;
    padding: 0 !important;
}
.sb-2 > a {
    display: block;
}
.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 {
    transition: all 0.3s ease-out;
    position: absolute;
    left: 85%;
    bottom: -250px;
}
.sb-2 .sermon-thumbnail:hover {
    width: 105%;
    height: 23.625vw;
    /*transform:scale(1.05);*/
    /*z-index:2;*/
}


.sb-3 {
    /*display: flex;
    align-items: center;
    justify-content: flex-end; 
    padding:0%;
	padding-right:3%;*/
    position:absolute;
    top:0;
    right:0;
}
.sb-3 >a  { 
    display:inline-block;
    position: relative;
    transition: all 0.3s ease-out;
}


.sb-3 >a >p { 
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size:22px;
    line-height: 1.2;
    font-weight:bold;
}

.sb-3 >a:nth-of-type(2) >p { 
    color:white;
     
} 
.sb-3 >a:hover { 
     transform:scale(1.05);
     z-index:2;
     
}

.sermon-icon {
    padding: 2% 7%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    font-weight:bold;
    font-size: 18px;
}
.sermon-icon >div { text-align: center; }

.sermon-icon h4{
    text-align: center;
    font-weight:bold;
    padding-bottom: 50px;
}
.sermon-icon h4 span {font-size:15px;}
.sermon-icon > div > a{
    position:relative;
    transition: all 0.3s ease-out;
}
.sermon-icon > div > a:hover, .si-1>div>a:hover,  .si-5>a:hover{
    transform:translateY(-10px);
}
.sermon-icon > div > a > p {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin:0;
    width: 100%;
}


/*°¶·¯¸®*/
.gallery {
    height: 550px;
    padding: 0;
}
.gallery .gallery-container {
    width: 85%;
}
.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 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%;
    visibility: hidden;
    transform: translate(-50%, -50%);
    width:70%;
}
.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: 18px; margin: 0; text-align: center; 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 {
    visibility: visible;
}

/*°°ÀÌ ºÎºÐ*/
.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/sinan_Layout/Images/3_box01_off.jpg) no-repeat;
    background-position: center !important;
}
.to4 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box02_off.jpg) no-repeat;
    background-position: center !important;
}
.to3 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box03_off.jpg) no-repeat;
    background-position: center !important;
}
.to5 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box04_off.jpg) no-repeat;
    background-position: center !important;
}


.blackBox2 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box01_on.jpg) no-repeat;
    background-position: center !important;

}
.blackBox3 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box03_on.jpg) no-repeat;
    background-position: center !important;

}
.blackBox4 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box02_on.jpg) no-repeat;
    background-position: center !important;

}
.blackBox5 {
    background: url(../../../Layouts/sinan_Layout/Images/3_box04_on.jpg) no-repeat;
    background-position: center !important;
}

.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;
}


/*°¶·¯¸® ºÎºÐ*/
.gallery {
    width: 100%;
    height: auto;
    /*padding: 3.2% 0% 3% 5%;*/
    /*padding:3% 0;*/
    padding: 3% 0 5%;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
}


.gallery-container > p {
    font-size: 24px;
    color: #878787;
    font-weight: bold;
}
.gallery-container  h1 {
    font-size: 55px;
    margin-bottom: 2%;
    font-weight: bold;
}
.gallery-container .button { display: flex; justify-content: space-between; padding-bottom: 2%; align-items: center;}
.gallery-container .box { display:flex; grid-gap: 10px; }
.gallery-container .box a { width: 130px; height: 60px; padding: 10px; font-size: 20px; color: #000; border: 1px solid #000; text-align: center; align-content: center;}
.gallery-container .box a:hover {background: #000; color: #fff; transition: all .5s;}


.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;
}

#main2 .main2M { display: inline-flex; width: 100%; justify-content: center; padding: 90px 0 75px; gap: 80px;}
#main2 .main2M .worship { text-align: center;}
#main2 .main2M .worship > h1 { margin: 0; font-size: 24px; text-align: center; padding-bottom: 30px; font-weight: bold;}
#main2 .main2M .worship .worshipL1 { display: inline-flex; gap: 20px;}
#main2 .main2M .worship .worshipLM { padding: 56px; border: 4px solid #000; border-radius: 50%; display: inline-block; position: relative;}
#main2 .main2M .worship .worshipLM .circle { position: absolute; width: 100%; transform: translate(50%, -50%); right: 50%; text-align: center;}
#main2 .main2M .worship .worshipLM .circle h1 { margin: 0; font-size: 20px; width: 100%; text-align: center; font-weight: bold; letter-spacing: 1px;}
#main2 .main2M .worship > h1 span {font-size: 18px;}
#main2 .main2M .worship .earlyprayer {padding-bottom: 10px;}
@media(max-width:1500px) {
    .sb-1 h2 {
        white-space: inherit;
    }
}

@media(max-width:1499px) and (min-width:1200px) {
    #main2 .main2M { gap: 25px;}
     .gallery .gallery-container .galleryb .gallery-content .gallery-text{ left: 31%;}
    .sermon-icon >div {padding: 10px;}
    .sb-2 .sermon-youtube {  bottom: -180px;}
    .container{width:1170px;}

    .gallery-container > p {
        font-size: 21px;
    }
    .gallery-container > h1 {
        font-size: 51px;
    }
    .gallery .gallery-container .galleryb .gallery-content img {
        height: 13vw;
    }
}

@media(max-width:1199px) and (min-width:992px) {
    .sb-1 h2 {font-size: 30px; white-space:inherit; }
    .sb-1 .sermon-content { bottom: 10%;}
    .sb-3 >a img {width: 100px;}
.sb-3 >a img {width: 100px;}
#main2 .main2M .worship .earlyprayer {padding-bottom: 30px;}
#main2 .main2M { padding: 50px 0 50px; gap: 75px; flex-wrap: wrap;}
.sermon-icon {padding: 2% 0%;}
.gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 31%;}
    .sermon-icon >div { padding: 10px;}
     .sb-2 .sermon-youtube {  bottom: -135px;}
    .gallery .gallery-container .galleryb .gallery-content img {
        height: 13vw;
    }

    .today_sermon {
        height: 440px;
    }
    .together h3 {
        font-size: 30px;
    }
    .together p {
        font-size: 19px;
    }

    .gallery-container > p {
        font-size: 18px;
    }
    .gallery-container > h1 {
        font-size: 41px;
    }
}

@media(max-width:991px) and (min-width:768px) {
    .sb-1 h2 {font-size: 30px; white-space:inherit; }
    .sb-1 .sermon-content { bottom: 10%;}
    .sb-3 >a img {width: 100px;}
    #main2 .main2M .worship .earlyprayer {padding-bottom: 30px;}
    #main2 .main2M { gap: 20px; padding: 20px 0px; flex-wrap: wrap;}
    .si-4 .earlyprayer {padding-bottom: 15px;}
    .sermon-icon h4 {padding-bottom: 27px;}
    .sermon-icon {padding: 2% 0%;}
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 31%;}
    .sb-2 .sermon-youtube {  bottom: -135px;}
    .sermon-icon >div { padding: 10px;}
    .gallery .gallery-container .galleryb .gallery-content {
        margin-bottom: 20px;
    }

    .today_sermon {
        height: 340px;
    }
    .together h3 {
        font-size: 27px;
    }
    .together p {
        font-size: 17px;
    }

    .gallery-container > p {
        font-size: 18px;
    }
    .gallery-container > h1 {
        font-size: 41px;
        margin-top: 0;
    }
}

@media(max-width:767px) {
   
    #main2 .main2M {gap: 20px; padding: 20px 0px; flex-wrap: wrap;}
    #main2 .main2M .worship .worshipLM .circle h1 { font-size: 15px;
}
    #main2 .main2M .worship > h1 { font-size: 17px; padding-bottom: 15px;}
    #main2 .main2M .worship .worshipLM { padding: 45px; }
    .sb-3 >a >p {font-size: 17px;}
    .sermon-icon > div > a > p {width: auto;}
    .gallery-container h1 a img {width: 15px;}
    .gallery-container h1 {font-size: 30px;}
    .gallery-container .box a {width: 110px; height: 50px; font-size: 16px;}
    .si-1 > div > a > p, .si-1_1 > div > a > p {font-size: 15px;}
    .si-4 .earlyprayer {padding-bottom: 0px;}
    .sermon-icon h4 {padding-bottom: 0px; font-size: 15px;}
    .sermon-icon {padding: 2% 0%;}
    #main { margin-top: 70px;}
    .sb-1 { 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%;}
    .sb-2 .sermon-youtube { bottom: 0px; width: 13%; }
    .sermon-icon { padding: 0 10px;}
    .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; }
    .sermon-icon >div { display: inline-block;}
    .si-1 { width: auto;}
    .si-1_1, .si-2, .si-3, .si-4 { width: auto;}
    .si-5 { width: 16%;}
    .sermon-icon { display: inline-block;}
    .sermon-icon >div { padding: 5px;}
    #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: 15px; height: 5px; }
    .today_sermon { width: 90vw; /*height: 340px;*/ height:auto; flex-direction: column; }
    .sermon { padding: 10px 0;}
    .sb-1 .sermon-content { position:relative; bottom: 10%; width: 65%; }
    .sb-1 h2 { font-size: 26px; }
    .sb-1 h4 { font-size: 15px;}
    .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: 76px;}
    .together { display:block;         flex-direction: column; }
    .together h3 { font-size: 27px; }
    .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: 17px; }
    .gallery-container > h1 { font-size: 36px; margin-top: 0; }
    .gallery .gallery-container .galleryb .gallery-content { margin-bottom: 20px; }
    .gallery .gallery-container .galleryb .gallery-content img { height: 25vw; }
}

@media(max-width:500px) {
    .gallery-container .box a {width: 95px; height: 40px; padding: 5px;}
    .together h3 {font-size: 20px;}
    .sb-3 a img {width: 60px;}
    .si-5 { width: 15% !important;}
    .sermon-icon > div.si-1 {width: 100%;}
    .si-1 > div > a, .si-1_1 > div > a { width:32%;}
    .sermon-icon >div { width: 32%;}
    .sermon-icon > div > a > p { font-size: 15px;}
    .si-1_1 > a img, .si-2 > a img, .si-3 > a img, .si-4 > a img { width: 60%;}
    .si-1 > div > a img, .si-1_1 > div > a img { width: 50%;}
    .si-1 > div > a > p, .si-1_1 > div > a > p { font-size: 15px;}
    .sb-3 { top: 22%;}
    .sermon-icon > div .gallery .gallery-container .galleryb .gallery-content .gallery-text { left: 40%; }
    .sermon-icon >div {padding: 0px;}
    .sb-1 h2 { font-size: 21px; }
    .sb-1 h4 { font-size: 15px; }
    .sb-1 p { font-size: 12px; }
    .together { flex-wrap: wrap;}
    .gallery .gallery-container { width:100%;}
    .sermon-icon > div.si-1 var{width: 100%;}
}



@media(max-width:400px) {
    .si-1_1 > a img, .si-2 > a img, .si-3 > a img, .si-4 > a img {width: 65%;}
    .si-1 > div > a img, .si-1_1 > div > a img {width: 65%;}
    .gallery-container .box a {width: 75px; height: 40px; padding: 5px;}
    .gallery .gallery-container .galleryb .gallery-content { padding: 0 8px;}
    .gallery .gallery-container .galleryb .gallery-content .gallery-text { width: 100%;
        left: 41%;
    }
    .si-5 {width: 24% !important;}
      .sermon-icon > div.si-1 {width: 100%;}

}


@media(max-width:340px) {

      .sermon-icon > div.si-1 {width: auto;}

}