﻿

.fullpage-mouse { position: fixed; bottom: 7%; z-index: 50; left: 50%; display: block; transform: translate(-50%, 0); }
.fullpage-mouse img { animation: MoveUpDown 1.2s ease-in-out infinite; position: relative; z-index: 10; }
@keyframes MoveUpDown { 0%, 100% { transform: translateY(0rem); } 50% { transform: translateY(1rem);}}

#section-4 div.container,#section-5 div.container, #section-6 div.container, #section-7 div.container, #section-8 div.container {position: relative; top: 0; left: 0; right: 0;}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {pointer-events: auto!important;}
.swiper-button-next:after, .swiper-button-prev:after {font-size: 2em!important;}
.swiper-button-prev, .swiper-button-next {color: #fff; top: 70%!important; transform: translateY(-50%);}
.swiper-button-prev {left: -2em!important;}
.swiper-button-next {right: -2em!important;}

/* common */
h2.title {
    color: #fff;
    font-size: 2.2em;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px #a8a8a8, 1px 1px 0px #fff;
}
h3.subTitle {
    color: #fff;
    font-size: 1.7em;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-bottom: .5em;
    font-weight: bold;
}


/*#fp-nav ul li .fp-tooltip.right {right: 15px;}*/

#fp-nav ul li .fp-tooltip.right {font-family: 'Nanum Square'; letter-spacing: .3px;}
#fp-nav ul li:last-child {display: none;}
#fp-nav ul li, .fp-slidesNav ul li { margin:25px 7px; }
#fp-nav ul li:last-child { display:none; }
#fp-nav ul li .fp-tooltip { color:#fff!important; opacity:1!important; width:6em!important; text-align:left; font-size:1.2em; top: 0; transform: skew(-0.05deg); }
#fp-nav ul li .fp-tooltip { color:#fff!important; font-weight: bold;}
#fp-nav ul li.black a.active {border-color: #121212;}
#fp-nav ul li.black .fp-tooltip {color: #121212!important;}
#fp-nav ul li a span.black {background: #121212; }
#fp-nav ul li a.active { border: 1px solid #fff; text-decoration: none; padding: 12px; border-radius: 100%; top: -10px; left: -9px; position:relative; transition:.3s all ease-in-out; }
#fp-nav ul li a.active span, .fp-slidesNav ul li a.active span, #fp-nav ul li:hover a.active span, .fp-slidesNav ul li:hover a.active span { width:4px; height:4px; margin: -2px 0 0 -2px; }

.slider {
    height: 100% !important;
}

#section-1 {
    position: relative;
    height: 100vh;
}

.slider .slider-wrapper .slide p {
height: 100%;
}
#section-1 > div > img:first-child {
    width: 100%;
    height: 100%;
}

.slider .slider-wrapper .slide img {
    height: 100%;
}
#section-1 .text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#slideText { -webkit-animation: zoomin 9s 1; animation: zoomin 9S 1; }
@-webkit-keyframes zoomin { 0% { -webkit-transform: scale(1.2); } 100% { -webkit-transform: scale(1.1); }}

/* s2 */
#section-2 { position: relative; background: url(../../../Layouts/dgnam_Layout/Images/s2_bg.jpg) no-repeat center/cover;}
.s2-box {color: #fff; text-align: center;}
.s2-box hr {width: 3em;}
.s2-date {letter-spacing: .2px; font-size: 1.4em; font-weight: normal;}
.s2-title {font-size: 2.4em;  text-shadow: 0 2px 1px #a8a8a8, 0 0px 1px #fff;}
.s2-pastor {font-weight: normal; font-size: 1.4em; margin: 1em auto;}
.s2-innerBtn, .s2-sermon {justify-content: center; margin: 5em auto 0;}
.s2-innerBtn li {padding: 0 .5em; }
.s2-sermon li {padding: 0 1em;}
.s2-sermon li a {width: 100%; display: block; position: relative; top: 0; left: 0;}
.s2-sermon li p {font-size: 1.5em; font-weight: bold; position: absolute;  top: 50%;  left: 50%; transform: translate(-50%, -50%); }
.s2-sermon li img {box-shadow: 0px 1px 3px #ffffff; border-radius: 25px;}

/* s3 */
#section-3 {text-align: center; position: relative; background: url(../../../Layouts/dgnam_Layout/Images/s3_bg.jpg) no-repeat center/cover;}
.title-style {
    color: #fff;
    font-family: 'Arita-buriM';
    font-weight: normal;
    padding: 2em 0 3em;
    line-height: 1.5;
}
.s3-innerBtn {justify-content: center;}
.s3-innerBtn li {padding: 0 .7em;}
.s3-innerBtn li a, .s2-innerBtn li a {display: block; width: 100%; transition: all .3s ease-in-out;}
.s3-innerBtn li a:hover, .s2-innerBtn li a:hover {transform: scale(0.99);} 

/* s4 */
#section-4 {text-align: center; position: relative; background: url(../../../Layouts/dgnam_Layout/Images/s4_bg.jpg) no-repeat center/cover;}
.s4Cont {width:100%; overflow: hidden; position: relative; top: 3em;}
.s4Cont .swiper-slide { height: 50vh;  position: relative; top: 0; left: 0; padding: 2em; }
.s4Cont .swiper-slide div.s4-txt {color: #fff;}
.s4Cont .swiper-slide div.s4-txt h3 {font-weight: normal; margin: 0 0 1em; font-size: 1em; line-height: 1.6;}
.s4Cont .swiper-slide div.s4-txt h2 {font-size: 2em; margin: 0 0 .5em;}
.s4Cont .swiper-slide div.s4-txt p {font-size: 1.1em; line-height: 1.7;}
.s4Cont .swiper-slide div.s4-txt a {display: block; width: 100%; color: #fff;margin-top: 5em;}
#section-4 .swiper-button-prev, #section-4 .swiper-button-next {transform: unset;}


/* s5 */
#section-5 {
    text-align: center;
    position: relative;
    background: url(../../../Layouts/dgnam_Layout/Images/s5_bg.jpg) no-repeat center/cover;
}
.s5-innerBtn {justify-content: center; margin: 8em auto 0;}
.s5-innerBtn li {padding: 0 1.5em;}
.s5-innerBtn li a {width: 100%; display: block; transition: all .35s ease-in-out;}
.s5-innerBtn li a img:hover {transform: translateY(-10px);}
.s5-innerBtn li a img { display: block; transition: all .35s ease-in-out;}
.s5-innerBtn li a p {color: #fff; font-size: 1.8em; font-weight: bold; margin-top: 1em; text-shadow: 1px 2px 1px rgb(0 0 0 / 50%);}
.newFamilyCont {width: 100%; margin-top: 2em; overflow: hidden; visibility: visible;}
.newFamilyCont div div a {display: block; width: 100%;}
.newFamilyCont div div a > div { height: 12em; box-shadow: rgb(0 0 0 / 7%) 0px 1px 1px, rgb(0 0 0 / 7%) 0px 2px 2px, rgb(0 0 0 / 7%) 0px 4px 4px, rgb(0 0 0 / 7%) 0px 8px 8px, rgb(0 0 0 / 7%) 0px 16px 16px;}
.newFamilyCont .swiper-slide div::after {content: ''; position: absolute; top: 0; left: 0; width: 100%; height:100%; display: block; transition: all .3s linear; }
.newFamilyCont .swiper-slide p {display: inline-block; position: absolute;left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: all .3s linear; }
.newFamilyCont .swiper-slide div:hover::after {background: rgba(0,0,0,0.4);}
.newFamilyCont .swiper-slide div:hover p {opacity: 1; color: white; z-index: 1;font-size: .9em;} 

#section-5 .swiper-button-prev, #section-5 .swiper-button-next {top: 80% !important;}



/* s6 */
#section-6 {text-align: center;  background: url(../../../Layouts/dgnam_Layout/Images/s6_bg.jpg) no-repeat center/cover;}
.communityCont {width: 100%; position: relative; /*overflow: hidden;*/ padding: 5em 0 0;}
.communityCont .swiper-slide { background-size: 100% 100%!important; height: 245px; padding: 1em 1em;}
.communityCont  p.s6-title {background: #74B960; border-radius: 20px; display: inline-block; padding: 8px 20px; color: #fff; position: absolute; left: 50%; top: -14%; transform: translate(-50%, -50%);}
.communityCont .swiper-slide a {display: block; width: 100%; /*margin: 2em auto 0;*/ overflow: hidden; text-overflow: ellipsis; position: relative;}
#section-6 .swiper-button-prev, #section-6 .swiper-button-next {top: 80% !important;}
.communityCont div div a > div { height: 12em; box-shadow: rgb(0 0 0 / 7%) 0px 1px 1px, rgb(0 0 0 / 7%) 0px 2px 2px, rgb(0 0 0 / 7%) 0px 4px 4px, rgb(0 0 0 / 7%) 0px 8px 8px, rgb(0 0 0 / 7%) 0px 16px 16px;}

.communityCont .swiper-slide div::after {content: ''; position: absolute; top: 0; left: 0; width: 100%; height:100%; display: block; transition: all .3s linear; }
.communityCont .swiper-slide .txt {display: inline-block; position: absolute;left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: all .3s linear; }
.communityCont .swiper-slide div:hover::after {background: rgba(0,0,0,0.4);}
.communityCont .swiper-slide div:hover p {opacity: 1; color: white; z-index: 1;font-size: .9em;} 



/* s7 */
#section-7 {text-align: center; position: relative; background: url(../../../Layouts/dgnam_Layout/Images/s7_bg.jpg) no-repeat center/cover;}
.galleryCont {width: 100%; margin-top: 2em; overflow: hidden; visibility: visible;}
.galleryCont div div a {display: block; width: 100%;}
.galleryCont div div a > div { height: 12em; box-shadow: rgb(0 0 0 / 7%) 0px 1px 1px, rgb(0 0 0 / 7%) 0px 2px 2px, rgb(0 0 0 / 7%) 0px 4px 4px, rgb(0 0 0 / 7%) 0px 8px 8px, rgb(0 0 0 / 7%) 0px 16px 16px;}

.galleryCont .swiper-slide div::after {content: ''; position: absolute; top: 0; left: 0; width: 100%; height:100%; display: block; transition: all .3s linear; }
.galleryCont .swiper-slide p {display: inline-block; position: absolute;left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: all .3s linear; }
.galleryCont .swiper-slide div:hover::after {background: rgba(0,0,0,0.4);}
.galleryCont .swiper-slide div:hover p {opacity: 1; color: white; z-index: 1;font-size: .9em;}




/* s8 */
#section-8 { text-align: center; position: relative; background: url(../../../Layouts/dgnam_Layout/Images/s8_bg.png) no-repeat center/cover;}
.newFamilyCont {width: 100%; margin-top: 2em; overflow: hidden; visibility: visible;}
.newFamilyCont div div a {display: block; width: 100%;}
.newFamilyCont div div a > div { height: 12em; box-shadow: rgb(0 0 0 / 7%) 0px 1px 1px, rgb(0 0 0 / 7%) 0px 2px 2px, rgb(0 0 0 / 7%) 0px 4px 4px, rgb(0 0 0 / 7%) 0px 8px 8px, rgb(0 0 0 / 7%) 0px 16px 16px;}
.newFamilyCont .swiper-slide div::after {content: ''; position: absolute; top: 0; left: 0; width: 100%; height:100%; display: block; transition: all .3s linear; }
.newFamilyCont .swiper-slide p {display: inline-block; position: absolute;left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: all .3s linear; }
.newFamilyCont .swiper-slide div:hover::after {background: rgba(0,0,0,0.4);}
.newFamilyCont .swiper-slide div:hover p {opacity: 1; color: white; z-index: 1;font-size: .9em;}

#section-8 .swiper-button-prev, #section-8 .swiper-button-next {
    top: 80% !important;
}





/* footer */
.footer { clear: both; position: relative; background: #221E1F;}
.footer div.container {padding: 2em 5px 1em;  color: #fff; text-align: center; position: relative;}
.footer h4 {font-size: 1.1em; font-weight: normal; margin: 0 0 1em; line-height: 1.8;}
.footer p {font-size: .9em; font-weight: normal; line-height: 1.8; letter-spacing: .3px;}
.footer .topBtn { position: absolute; right: -5em; top: 0; z-index: 1;}



/* btn */

.view-more {
  display: inline-block;
  padding: 17px 50px;
  color: #00A9E0;
  font-size: 17px;
  border: 5px solid #fff;
  text-decoration: none;
  overflow: hidden;
  vertical-align: middle;
  background: transparent;
  overflow: hidden;
  -webkit-transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 10;
 border: 1px solid #00A9E0; 
 font-weight:100;
}

.view-more:hover {
  color: #fff;
}

.view-more:hover:before {
  -webkit-transform: translateX(0) skewX(-17.62deg);
  -ms-transform: translateX(0) skewX(-17.62deg);
  transform: translateX(0) skewX(-17.62deg);
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
}

.view-more:before {
  z-index: -1;
  content: "";
  display: block;
  width: 120%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transform: translateX(-101%) skewX(-17.62deg);
  -ms-transform: translateX(-101%) skewX(-17.62deg);
  transform: translateX(-101%) skewX(-17.62deg);
  -webkit-transition: -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1),
    -webkit-transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.view-more1:before {
	background: #C7B1E6;
}

.view-more2:before {
	background: #737069;
}




/* responsive */
@media (min-width:1499px) {

}

@media (max-width:1499px) {
    #fp-nav ul li, .fp-slidesNav ul li {width: 0!important;}
    #fp-nav ul li .fp-tooltip {font-size: 1.4rem; width: 7em!important; }

    h1.text-center {font-size:2em;}
    
    .s2-box {padding-top: 3em;}
    .s2-date, .s2-pastor {font-size: 1.1em;}
    .s2-title { font-size: 1.8em;}
    .s2-innerBtn, .s2-sermon {margin: 3em auto 0;}
    .s2-innerBtn li a img {max-width: 11em;}
    .s2-sermon li p { font-size: 1.1em;}

    h3.subTitle {font-size: 1.2em;}
    h2.title {font-size: 1.8em; text-shadow: 0px 1px 0px #a8a8a8, 0px 1px 0px #fff;}
    .title-style {font-size: 1.4em;}

    .s3-innerBtn li img {max-width: 11em;}
    
    .s5-innerBtn {margin-top: 4em;}
    .s5-innerBtn li a p {font-size: 1.3em;}
    .galleryCont { margin-top: 1em;}
}

@media (max-width:1199px) {
    #section-1, #section-2, #section-3, #section-4, #section-5 {background-size: auto 100%!important;}

}

@media (max-width:992px) {
    .communityCont {overflow: hidden;}

    #fp-nav { display:none!important; }
    .s3-innerBtn {
        display: inline-block;
    }
    .s3-innerBtn li {
        width: 50%;
        float: left;
    }
    .s3-innerBtn li img {
        max-width: 10em;
    }

    .section .container {
        padding-top: 8em;
    }


}

@media (max-width: 767px) {
    .footer h4 { font-size: 1.0em;}
    .footer p { font-size: .8em;}
    .s2-box {
        padding-top: 4em;
    }

    .slider .slider-wrapper .slide img {
        width: 100%;
    }

    .fp-tableCell {
        float: left;
    }

    .s2-box {
        padding-top: 1em;
    }

    .s2-pastor {
        margin: 0.5em auto;
    }

    .s2-innerBtn li a img {
        max-width: 8em;
    }

    .s4Cont {
        width: 323px !important;
        margin: 0 auto;
    }
        .s4Cont .swiper-slide div.s4-txt a {
            margin-top: 2em;
        }

        .s4Cont .swiper-slide {
            height: 47vh;
            width: 322px !important;
        }
    .communityCont {
        width: 264px;
        margin: 0 auto;
    }
        .s3-innerBtn li:nth-child(3) {
        margin-top: 5%;
    }

    .s3-innerBtn li:nth-child(4) {
        margin-top: 5%;
    }

    .swiper-button-next {
        right: 1em !important;
    }

    .swiper-button-prev {
        left: 1em !important;
    }

    .s3-innerBtn li {
        padding: 0em;
    }
    .title-style {
        font-size: 1.3em;
    }

    .s3-innerBtn li img {
        max-width: 100%;
    }
    .title-style {
        padding: 1em 0 1em;
    }
    .s2-sermon li {
        padding: 0 0.1em;
    }
    .s2-sermon li img {
        box-shadow: 0px 1px 3px #ffffff;
        border-radius: 25px;
        width: 70%;
    }

    h2.title {
        font-size: 1.3em;
    }

    .s5-innerBtn li {
        padding: 0 1em;
    }


}


@media (max-width: 500px) {
    .visible-popups .each {margin-top: 23px !important; }
    .s5-innerBtn li { padding: 0 .5em;}
    .swiper-button-prev, .swiper-button-next { top: 80% !important;}
    .s4Cont .swiper-slide div.s4-txt h2 { font-size: 1.5em;}
    .section .container { padding-top: 8em;}
    .s2-box { padding-top: 0em;}
    .s2-innerBtn, .s2-sermon { margin: 1em auto 0; display: inline-block; }
    .s2-sermon li { padding: 0 0.2em; height: 105px; float: left; width: 50%; }
    .title-style { padding: 2em 0 2em; }
    .s4Cont .swiper-slide { height: 35vh;}
    .s4Cont .swiper-slide div.s4-txt a { margin-top: 1em; }
    .title-style { font-size: 1em; }
    .s4Cont .swiper-slide div.s4-txt a { margin-top: 1em;}
    .s4Cont .swiper-slide div.s4-txt h2 { margin: 0 0 0.2em; }
    .s4Cont .swiper-slide div.s4-txt a { margin-top: 0em; }
    .s4Cont .swiper-slide div.s4-txt h3 { margin: 0 0 0.5em; }
    .s2-sermon li img { width: 88%; }
}

@media (max-width: 400px) {
    .s2-sermon li {
        padding: 0 0.2em;
        height: 105px;
        float: left;
        width: 50%;
    }

 

}