@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:80px;
}
#main .dimode-slider .slider-dots {
    bottom: 3px;
}
    #main .dimode-slider .slider-dots .each-dot {
        margin: 0 5px;
        height: 10px;
        width: 10px;
    }
    #main .dimode-slider .slider-dots .each-dot.active {
        width: 30px;
        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: #94A8AF;
}


.sermon-bottom {  
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
}

.today_sermon {
    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%;
    width:100%;
}
.sb-1 a{
    color:white;
    display: inline-block;
}
.sb-1 h4 {
    font-size: 20px;
}
.sb-1 h1 {
    font-size: 36px;
    position:relative;
}
.sb-1 .sermon-content hr {
    width: 17%;
    margin: 0 auto 0 0;
    border: 1px solid #fff;
}

.sb-1 h2 {
    font-size: 36px;
    margin: 2.3vw 0 1vw; 
    font-weight:bold;
}
.sb-1 p {
    font-size: 18px;
}
.sb-1 h2, .sb-1 h4, .sb-1 p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-2 {
    position: relative;
    padding: 0 !important;
    /*height: calc(216 / 320 * 100%);*/
}
.sb-2 > a {
    position: relative;
    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:80px;
    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: 0% 7%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    font-weight:bold;
}
.sermon-icon >div {
    padding: 3%;
       
}

.sermon-icon h4{
    
    font-weight:bold;
}
.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:50%;
}
.si-2, .si-3, .si-4 {
    width: 15%; 
}
.si-2 >a, .si-3 >a, .si-4 >a {
        margin-bottom: 19.5%;
        display:block;
}
.si-2> h4, .si-3> h4, .si-4> h4 {
     padding-bottom:20%;
}
.si-1 > div {
    padding: 1% 5%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}
 .si-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{
    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 .galleryb .gallery-content {
    position:relative;
    transition:0.4s;

}
.gallery .gallery-container .galleryb .gallery-content a {    width: 100%; display: inline-block; position: relative;}
.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 .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: 100%; float: right;background-color: #F1F3F2; }
 .together .main4RHF {  height: 200px; display: inline-flex; flex-direction: row; flex-wrap: wrap; align-content: center; width: 100%;  justify-content: space-between;}
 .together .main4RHF a { width: 17%; height: 40%; display: inline-block; border-right: 1px solid #000; position: relative; z-index: 1; }
 .together .main4RHF a:last-child { border: none;}
 .together .main4RHF a .main4RIMG { width: 66px; height: 61px; left: -9%; position: absolute; top: 50%; transform: translate(-50%,-50%); }
 .together .main4RHF a h1 { margin: 0; font-size: 20px; position: absolute; top: 50%; text-align: center; width: 100%; transform: translate(0,-50%); color: #000; transition: 0.3s all ease;}
.together .main4RHF a .main4RIMG .on { height: 100%; width: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; position: absolute; transition: 0.3s all ease; }
/*°°ÀÌ ºÎºÐ*/
.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;
}
 .box table {
    width: 100%;
    border: 0;
}
 @-webkit-keyframes updown {
    0% {
        bottom: 0;
    }

    100% {
        bottom: 30px;
    }
}
.sb-5 { display: flex; gap: 65px;}
.sb-5 .title {width: 40%; text-align: right;}
.sb-5 .main1M { display: inline-flex; justify-content: flex-end; align-items: center; width: 100%; gap: 65px;}
.sb-5 .main1M a .main1BT .on { padding: 35px; background-repeat: no-repeat; background-position: center; position: absolute; top: 50%; text-align: center; border: none; display: block; transform: translate(-50%,-50%); }
.sb-5 .main1M a h1 { text-align: center; font-size: 20px; margin: 0; line-height: 1.5; color: #000;}
.sb-5 .main1M a:hover {position:relative; animation-name: updown;animation-duration:1s;animation-duration: leaner;animation-iteration-count:infinite;animation-direction:alternate;animation-fill-mode: forwards;}
.sb-5 .main1M a .main1BT { padding: 60px; display: inline-block; position: relative; border: 1px solid #ccc; background: #fff;}
.sb-5 .title h1 {font-size: 40px; font-weight: bold; margin-bottom: 30px;}
.sb-5 .title h3 {font-size: 25px; color: #878787; font-weight: bold; margin-top: 0px;}
.box table tbody tr td { border-bottom: 1px solid #eee; padding: 10px 0; font-size: 17px; text-decoration: none; color: #333; max-width: 250px !important; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; word-wrap: normal !important;}
.box table tbody tr td.date { text-align: right;}

.to1 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box01.jpg) no-repeat;
    background-position: center !important;
}
.to2 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box02.jpg) no-repeat;
    background-position: center !important;
}
.to3 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box03.jpg) no-repeat;
    background-position: center !important;
}
.to4 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box04.jpg) no-repeat;
    background-position: center !important;
}

.blackBox1 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box01.jpg) no-repeat;
    background-position: center !important;

}
.blackBox2 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box02.jpg) no-repeat;
    background-position: center !important;
 
}
.blackBox3 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box03.jpg) no-repeat;
    background-position: center !important;

}
.blackBox4 {
    background: url(../../../Layouts/sydneychurch_Layout/Images/4_box04.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 {
    background: url(../../../Layouts/sich_Layout/Images/6_bg.jpg) no-repeat;
    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: 50px;
    font-weight: bold;
    margin-bottom: 2%;
}

.gallery-container > div {
    padding: 3% 0 0%;
    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;
}






@media(max-width:1500px) {
}

@media(max-width:1499px) and (min-width:1200px) {
    .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) {
    #main1 .main1M { gap: 25px; height: inherit; padding: 40px 0;}
    .together .main4RHF a .main4RIMG .on {width: 70%;}
    .sb-3 {top: 30px;}
    .sb-2 .sermon-youtube {bottom: -150px; width: 15%;}
    .gallery .gallery-container .galleryb .gallery-content img {
        height: 13vw;
    }

    .today_sermon {
        height: 440px;
    }
    .sb-1 .sermon-content {
        bottom: 10%;
    }
    .sb-1 h1 {font-size: 30px;}

    .sb-1 h2 {
        font-size: 28px;
    }
    .sb-1 h4 {
        font-size: 17px;
    }
    .sb-1 p {
        font-size: 15px;
    }
    .sb-3 a img {
        width: 70px;
    }

    .together h3 {
        font-size: 30px;
    }
    .together p {
        font-size: 19px;
    }

    .gallery-container > p {
        font-size: 18px;
    }
    .gallery-container > h1 {
        font-size: 35px;
    }
}

@media(max-width:991px) and (min-width:768px) {
    .together .main4RHF a .main4RIMG .on {width: 60%;}
    .sb-3 {top: 30px;}
    .sb-2 .sermon-youtube {bottom: -110px; width: 12%;}
     .sb-1 h1 {font-size: 25px;}
    .gallery .gallery-container .galleryb .gallery-content {
        margin-bottom: 20px;
    }

    .today_sermon {
        height: 340px;
    }
    .sb-1 .sermon-content {
        bottom: 10%;
    }
    .sb-1 h2 {
        font-size: 26px;
    }
    .sb-1 h4 {
        font-size: 15px;
    }
    .sb-1 p {
        font-size: 14px;
    }
    .sb-2 .sermon-thumbnail {
        height:22vw;
    }
    .sb-3 a img {
        width: 70px;
    }

    .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) {
.gallery .gallery-container .galleryb .gallery-content .gallery-text > h3 {font-size: 15px;}
.gallery .gallery-container .galleryb .gallery-content:hover {top: 0px; }
.gallery .gallery-container .galleryb .gallery-content:hover img {top: 0px; filter: brightness(0.5);}
.together .main4RHF {height: 100px; }
.together .main4RHF a h1 {top: 111%; word-break: keep-all; word-wrap: break-word;}
#main1 .main1M {grid-gap: 15px;}
.slider .slider-wrapper .slide p {margin: 0px !important;}
#main { margin-top: 60px;}
.together .main4RHF a .main4RIMG { width: 50px; height: 30px;left:50%; top: 5%; transform: translate(-50%, -50%);}
    .together .main4RHF a h1 {font-size: 16px;}
    .together .main4RHF a { width: calc(100% / var(--width3) - 10px); border: none;}
    #main1 .main1M .main1L img {width: 40%; margin: 10px 0;}
    #main1 .main1M .main1R .main1RBOX h1 { font-size: 15px; word-break:keep-all;}
    #main1 .main1M .main1R .main1RBOX .main1IMG { width: 40px; height: 40px;}
    #main1 .main1M .main1R .main1RBOX { height: 80px; grid-gap:5px;}
    #main1 .main1M { padding: 15px 0px;}
    #main1 .main1M .main1R { flex-wrap: wrap; gap: 5px;}
    .together .main4RHF a .main4RIMG .on {width: 100%;}
    .sb-3 {top: 30px;}
    .sb-2 .sermon-youtube {bottom: -30px; width: 14%; }
     .sb-1 h1 {font-size: 20px; margin: 10px 0;}
    #main .dimode-slider .slider-dots {
        bottom: 0px !important;
    }
    #main .dimode-slider .slider-dots .each-dot {
        height: 5px;
        width: 10px;
    }
    #main .dimode-slider .slider-dots .each-dot.active {
        width: 15px;
    }

    .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: 90%;
    }
    .sb-3 {
        top: 75%;
        transform: translateY(-50%);
    }
    .sb-3 > a {
        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:100vw;
    }

    .gallery {
        padding: 5% 0 5%;
    }
    .gallery .gallery-container {
        width: 95%;
    }
    .gallery-container > p {
        font-size: 17px;
    }
    .gallery-container > h1 {
        font-size: 25px;
        margin-top: 0;
    }
    .gallery .gallery-container .galleryb .gallery-content {
        margin-bottom: 10px; padding: 5px;
    }
    .gallery .gallery-container .galleryb .gallery-content img {
        height: 25vw;
    }
}

@media(max-width:440px) {
    #main1 .main1M .main1R .main1RBOX .main1IMG {width: 35px; height: 35px; }
    #main1 .main1M .main1L img {margin: 5px 0;}
    #main1 .main1M .main1R .main1RBOX h1 {font-size: 13px;}
    .sb-3 a img {width: 50px;}
    .sb-1 h2 {
        font-size: 21px;
    }
    .sb-1 h4 {
        font-size: 13px;
    }
    .sb-1 p {
        font-size: 12px;
    }


    .together {
        flex-wrap: wrap;
    }

    .gallery .gallery-container {
        width:100%;
    }
}

 