﻿@keyframes move {
  from {
    transform: translateX(100px) scale(1.2);
    animation-timing-function: cubic-bezier(.2,0,.8,1);
  }
  to { transform: translateX(0px) scale(1); }
}
@-webkit-keyframes updown {
    0% {
        bottom: 0;
    }

    100% {
        bottom: 30px;
    }
}
:root {
    --gap: 30px;
    --width1: 30%;
    --width2: 6;
}
@font-face {
    font-family: 'pretendard-bold';
    src: url('fonts/pretendard-bold.otf') format('opentype');
}
@font-face {
    font-family: 'pretendard-regular';
    src: url('fonts/pretendard-regular.otf') format('opentype');
}
@font-face {
    font-family: 'nanumsquareneo-brg';
    src: url('fonts/nanumsquareneo-brg.ttf') format('truetype');
}
@font-face {
    font-family: 'nanumsquareneo-cbd';
    src: url('fonts/nanumsquareneo-cbd.ttf') format('truetype');
}
@font-face {
    font-family: 'nanumsquareneo-deb';
    src: url('fonts/nanumsquareneo-deb.ttf') format('truetype');
}
@-webkit-keyframes arrayR {0%,100% {-webkit-transform:translate(15px,-50%);}50% {-webkit-transform:translate(15px,-50%);}}
@keyframes arrayR {0%,100% {transform:translate(0,-50%);}50% {transform:translate(15px,-50%);}}
.pretendardR{font-family: 'Pretendard-Regular';}
.pretendardB{font-family: 'Pretendard-ExtraBold';}
.nanumBrg{font-family: 'nanumsquareneo-brg';}
.nanumCbd{font-family: 'nanumsquareneo-cbd';}
.nanumDeb{font-family: 'nanumsquareneo-deb';}
.no-padding {
    padding-right: 0;
    padding-left: 0;
}
.no-margin{margin-right:0; margin-left:0;}
/* common */

.top-btn { position: fixed; width: 81px; height: 81px; background: #6F93DD; color: #fff; bottom: 12%; right: 30px; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; grid-gap: 6px; }
.top-btn img {width: 13px; height: 8px;}
.top-btn p {letter-spacing: 2px;}



.view-more {
display: inline-block;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: 1;font-weight: 100;}
#mainSlider .swiper-wrapper img {width: 100%;}
.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: 135%;height: 105%;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-more2 div {
display: inline-block;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: 1;font-weight: 100;}
#mainSlider {position: relative;}
.view-more2:hover div: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-more2 div:before { z-index: -1; content: ""; display: block; width: 135%; height: 105%; 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;}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {background: none;}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {background: none;}
.swiper-button-next:after, .swiper-button-prev:after {display: none;}
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {display: none;}
#main1 {padding: 100px 0;}
#main1 .main1M {display: inline-flex; flex-direction: row; width: 100%; grid-gap:22px;  overflow: hidden;}
#main1 .main1M .main1L:hover {text-decoration: none;}
#main1 .main1M .main1L {color:#000; display: flex; justify-content: space-between; align-items: flex-end; order: 1; position: relative; width: 64%; background: url(../Images/2_sermon_bg.jpg) no-repeat; background-position: center; aspect-ratio: 861 / 419; background-size: 100% 100%; padding: 40px;}
#main1 .main1M .main1L .main1B {height: 100%;}
#main1 .main1M .mainR {order: 4; display: inline-flex ; align-items: center; width: 32%; flex-direction: column; grid-gap: 19px; aspect-ratio: 421 / 421; background-size: 100% 100%; }
#main1 .main1M .main1R {height: 70%; display: flex; background: url(../Images/2_live_bg.png) no-repeat; background-position: center; align-items: center; width: 100%; flex-direction: column; grid-gap: 19px;   background-size: 100% 100%; }
#main1 .main1M .main2R {justify-content: center; height: 30%; display: flex; color: #fff; background: url(../Images/3_live_bg.png) no-repeat; background-position: center; align-items: center; width: 100%; flex-direction: column; grid-gap: 19px;   background-size: 100% 100%; }
#main1 .main1M .main2R:hover {text-decoration: none;}
#main1 .main1M .main2R h2 {margin: 0px;}
#main1 .main1M .main1L .text h2 {font-size: 18px; position: relative; margin: 0; }
#main1 .main1M .main1L .text h2::after {content: ""; position: absolute; width: 30px; height: 1px; background: #000; bottom: -20px; left: 0px; }
#main1 .main1M .main1L .context {display: flex ; flex-direction: column; height: 100%; grid-gap: 10%;}
#main1 .main1M .main1L .view-more2 {height: 50px; width: 172px; display: inline-flex; position: relative; justify-content: center; align-items: center; gap: 10px; text-decoration: none; color: inherit; border: 1px solid #000;}
#main1 .main1M .main1L .view-more2 span {font-size: 16px; color: #202020;}
#main1 .main1M .main1L .view-more2 div {width: 100%; height: 100%;position: relative; display: inline-flex;  padding: 20px; justify-content: center; align-items: center; }
#main1 .main1M .main1L .view-more2:hover div:before { background: #000;}
#main1 .main1M .main1L .context h1 {font-size: 30px;}
#main1 .main1M .main1L .context div h5 {font-size: 18px;}
#main1 .main1M .main1L .view-more2:hover div span {color: #fff; font-weight: bold;}
#main2 .welcomeM a:hover .welcomeBT:before { background-color: #101856;}
#main1 .main1M .main1R:hover {text-decoration: none;}
#main1 .main1M .main1R h3 {color: #fff; font-size: 24px; text-align: center;}
#main1 .main1M .main1R a img {display: flex; }
#main1 .main1M .main1R div h4 {font-size: 18px; color: #fff; text-align: center;}
#main1 .main1M .main1R div p {font-size:18px; color: rgba(255,255,255,0.8); text-align: center;}
#main1 .main1B {display: flex; }
#main1 .main1B .main1BL {width: 50%; padding: 30px; display: flex; justify-content: space-between; position: relative; align-items: flex-end;}
#main1 .main1B .main1BL::after {content: ""; height: 50%; width: 1px; background: #C2C2C2; position: absolute; right: 0px;}
#main1 .main1B .main1BR {width: 50%; padding: 30px; display: flex; justify-content: space-between; position: relative; align-items: flex-end;}
#main1 .main1B .main1BL .context {display: flex; flex-direction: column; grid-gap: 20px;}
#main1 .main1B .main1BL h2 {font-size: 16px; margin: 0;}
#main1 .main1B .main1BL h1 {font-size: 24px; margin: 0; font-weight: bold;}
#main1 .main1B .main1BL h3 {font-size: 18px; margin: 0;}
#main1 .main1B .main1BR h2 {font-size: 16px; margin: 0;}
#main1 .main1B .main1BR .context {display: flex; flex-direction: column; grid-gap: 20px;}
#main1 .main1B .main1BR h1 {font-size: 24px; margin: 0; font-weight: bold;}
#main1 .main1B .main1BR h3 {font-size: 18px; margin: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
#main1 .main1B .onlineRHF {width: 52px; height: 52px; border-radius: 50%; background: #919BA5; display: flex; align-items: center; justify-content: center; overflow: hidden;}
#main1 .main1B .onlineRHF:hover div:before {background-color: #25374F;}
#main1 .main1B .onlineRHF div {width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;}




#main2 { padding-bottom: 100px;}
#main2 .welcomeT  {display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; width: 100%; }
#main2 .welcomeT h1 {font-size: 46px; margin:0px;}
#main2 .welcomeT h4 {font-size: 20px; letter-spacing: 5px; color: #ACC7E2;}
#main2 .welcomeM { display: inline-flex; justify-content: center; align-items: center; gap: 70px; width: 100%; }
#main2 .welcomeM a { text-align: center; text-decoration: none;color: #000; aspect-ratio: 197 / 163; display: flex; width: 20%;}
#main2 .welcomeM a .welcomeBT { padding: 32px; position: relative; display: inline-block; background-color: #f3f8fd; border-radius: 10%; transition: all .2s; width: 100%; display: flex; flex-direction: column; justify-content: center;}
#main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off { padding: 22.5px; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; left: 50%; transform: translate(-50%, -50%);}
#main2 .welcomeM a:hover .welcomeBT:before { background-color: #25374F;}
#main2 .welcomeM a:hover h1 {color: #fff;}
#main2 .welcomeM a .welcomeBT .on { opacity: 0; transition: 0.3s all ease;}
#main2 .welcomeM a .welcomeBT .off { opacity: 1; transition: 0.3s all ease;}
#main2 .welcomeM a:hover .off { opacity: 0; transition: 0.3s all ease;}
#main2 .welcomeM a:hover .on { opacity: 1; transition: 0.3s all ease;}
#main2 .welcomeM a h1 { margin: 0; font-size: 20px; line-height: 3.5;  letter-spacing: 0px; text-align: center; position: absolute; left: 50%; top: 65%; transform: translate(-50%, -50%); width: 100%;}

#main3 .container{position:relative;z-index:1;}
#main3 .main3C {display: flex; grid-gap: 10%;}
#main3 .main3T { display: flex; flex-direction: column; grid-gap: 30px;}
#main3 .main3L { display: flex; flex-direction: column; grid-gap: 30px;}
#main3 .main3R {width: 70%;}
#main3 .main3R .mainYC {display: flex; grid-gap: 50px; }
#main3 .main3R .mainYC .mainYL {display: flex; flex-direction: column; justify-content: end; grid-gap: 20px;}
#main3 .main3R .mainYC .mainYL h3 {margin: 0px; font-size: 23px; display: flex; grid-gap: 10px; align-items: center; color: #000}
#main3 .main3R .mainYC .mainYL a:hover {text-decoration: none;}
#main3 .main3R .mainYC .mainYL h3 img {width: 16px; height: 16px;}
#main3 .main3R .mainYC .mainYL .text  h5{ display: flex; grid-gap: 10px;}
#main3 .tab-content>.tab-pane h1 {position: absolute; top: 15%; font-size: 69px; letter-spacing: 5px; z-index: 1000; opacity: .2;}
#main3 .tab-content>.tab-pane .mainYR {width: 70%;}
#main3 .mainYR .image {display: block; position: relative; aspect-ratio: 1027 / 813; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat;}
#main3 .main3M li {margin: 15px 0;  font-size: 20px;}
#main3 .main3M li a:hover span, #main3 .main3M li a:active span {text-decoration: none;}
#main3 .main3M li a:hover, #main3 .main3M li a:active { border-bottom: 1px solid #000; text-decoration: none;}
#main3 .main3M li:hover a, #main3 .main3M li:active a {text-decoration: none;}
#main3 .main3M li:hover span, #main3 .main3M li:active span {text-decoration: none;}
#main3 .main3M li a {font-size: 20px; display: flex; justify-content: space-between; align-items: center; color: #000; padding: 5px 0;}
#main3 .main3M li a img {opacity: 0; transition: .3s; width: 14px; height: 14px;}
#main3 .main3M li a:hover img {opacity: 1;}
#main3 .main3T h1{margin: 0;font-size: 46px; }
#main3 .main3T h5{font-size: 18px; color: #585858; margin: 3px 0; }
#main3 .main3M .newM { display: inline-flex; justify-content: center; align-items: baseline; width: 100%;}
#main3 .main3M .newM .new { display: inline-flex; position: relative; justify-content: center; align-items: center;  flex-direction: column; width: 10%; grid-gap: 10px;}
#main3 .main3M .newM .new h1 {margin: 0; font-size: 15px; letter-spacing: 0px; text-align: center; color: #fff; word-break: keep-all;}
#main3 .newfamily { margin-top: 50px;}
#main3  .main3MF { width: 100%; display: inline-flex; position: relative; justify-content: center; align-items: center; grid-gap: 30px; margin-top: 50px;}
#main3  .main3MF .main3MB { position: relative; width: 240px; height: 70px; background-color: transparent; display: inline-flex; position: relative; justify-content: center; background: #fff; border-radius: 30px; align-items: center;}
#main3 .main3MF .main3MB h5{color: #202020; font-size: 20px;}
#main3 .main3MF .main3MB:before { background-color: #68ADF8; transition: 0.3s all ease;}
#main3 .main3MF .main3MB:hover, #main3 .main3MF .main3MB:focus {text-decoration: none;}
#main3 .main3MF .main3MB:hover h5 { color: #fff; transition: 0.3s all ease; font-weight: bold;}
#main4{padding:100px 0;}
#main4 .main4M {display: flex; grid-gap: 10%;}
#main4 .main4M .main4L {width: 20%; }
#main4 .main4M .main4R {width: 65%; display: flex; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--width1)), 1fr)); grid-gap: 20px; }
#main4 .main4M .main4L h2 {font-size: 36px;}
#main4 .main4M .main4R a {border: 1px solid #707A86; display:flex; justify-content: center; align-items: center; text-decoration: none;}
#main4 .main4M .main4R a div {width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;}
#main4 .main4M .main4R a div h3 {color: #25374D; margin: 0; text-decoration: none; font-size: 21px;}
#main4 .main4M .main4R a:hover {text-decoration: none; }
#main4 .main4M .main4R a:hover h3 {color: #fff; }
#main4 .main4M .main4R a:hover div {background: #25374F; }


#main6 {position: relative; padding: 100px 0; text-align: center;}
#main6 .galleryb h1 {margin: 0px; text-align: center; font-size: 46px; }
#main6 .album-bottom {position:relative;}
#main6 .gallery-tab {  height: 100px; display: flex; z-index: 1; position: relative; flex-direction: row; justify-content: center; align-items: center;}
#main6 .gallery-tab li {width: 100%; display: inline-block; float: right;  border-right: 1px solid #DCDCDC; text-align: center; text-decoration: none;}
#main6 .gallery-tab li a {height: 100%; display: inline-block; position: relative; text-decoration: none;}
#main6 .gallery-tab li a:hover , #main6 .gallery-tab li a:active  {text-decoration: none;}
#main6 .gallery-tab li.active a:hover div {text-decoration: none;}
#main6 .gallery-tab li:before {background: #124FA7;}
#main6 .gallery-tab li a div {  width: 100%; text-align: center; color: #666666; font-size: 17px; text-decoration: none;}
#main6 .gallery-tab li.active a div { color: #134EAA; text-decoration: none;}
#main6 .gallery-tab li.active a:after { content: ""; width: 100%; height: 2px;  background: #134EAA; position: absolute; bottom: -25px; left: 0px;}
#main6 .PhotoP { position: absolute; z-index: 2; top: 50%; text-align: center; left: -6%; border: none; display: block; transform: translate(0, -50%);}
#main6 .PhotoN { position: absolute; z-index: 2; top: 50%; text-align: center; right: -6%; border: none; display: block; transform: translate(0, -50%);}
#main6 .PhotoM { overflow: hidden; margin: 50px 0; }
#main6 .PhotoM a:hover {text-decoration: none;}
#main6 .PhotoM .PhotoIMG { aspect-ratio: 402/291; display: block; position: relative; height: 230px; overflow: hidden; background-color: #000; margin: 0 auto; background-size: cover; background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat; }
#main6 .PhotoM .PhotoIMG .PhotoIMT { position: absolute; height: 100%; width: 100%; background: rgba(0, 0, 0, 0.7); z-index: 3; top: 0; left: 0; display: none;}
#main6 .PhotoM .PhotoIMT h1 { font-size: 18px; color: #fff; position: absolute; top: 35%; left: 50%; transform: translate(-50%, -50%); font-weight: bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all;}
#main6 .PhotoM .PhotoIMT h5 { font-size: 16px; color: #fff; margin: 5px 0 0 0; position: absolute; top: 60%; left: 50%; transform: translate(-50%, -50%);}
#main6 .gnb_all {text-align: center;}
#main6 .gnb_all a { display: inline-block;}
#main6 .gnb_all a:hover {text-decoration: none;}
#main6 .gnb_all a div { color: #000; display: flex; align-items: center; grid-gap: 5px; justify-content: center;}
#main6 .PhotoM .contentSlideWrapper .contentSlide:hover .PhotoIMG, #main6 .PhotoM .contentSlideWrapper .contentSlide:focus .PhotoIMG { -webkit-transform: translate(0px, -10px); transform: translate(0px, -10px); transition: all 0.5s; }
#main6 .PhotoM .contentSlideWrapper .contentSlide:hover .PhotoIMG,
#main6 .PhotoM .contentSlideWrapper .contentSlide:focus .PhotoIMG
{-webkit-transform: translate(0px,-10px);
transform: translate(0px,-10px);transition: all 0.5s;}
#main6 .onlineRHF { height: 50px; width: 172px; display: inline-flex; position: relative; justify-content: center; align-items: center; gap: 10px; text-decoration: none; color: inherit; border: 1px solid #000;}
#main6 .onlineRHF div { width: 100%; height: 100%; position: relative; display: inline-flex; padding: 20px; justify-content: center; align-items: center;}
#main6 .onlineRHF div span { font-size: 16px; color: #202020;}
#main6 .onlineRHF:hover div:before {background: #000;}
#main6 .onlineRHF:hover div span { color: #fff;}
.mainContainer { width: 100%; margin: 0 auto; padding: 3% 0; box-sizing: border-box; background-color: white;}
.together { width: 100%; height: auto; padding: 0; text-align: center; color: white; position: relative; display: flex; flex-wrap: nowrap;}
.together > a { padding: 20px 0; width: 100%; height: auto; color: white; transition: transform all .7s linear; text-decoration: none; overflow: hidden; background-position: center !important; background-size: cover !important; display: flex; aspect-ratio: 1 / 1; flex-direction: column; justify-content: center; }
.together > a img {position: relative; z-index: 1000;}
.blackBox { display: block; position: absolute; top: 0; left: 0; width: 33vw; height: 33vw; height: 100%; visibility: hidden; z-index: 1; background-position: center !important; background-size: cover !important;}
.together h3 { font-size: 36px; font-weight: bold; z-index: 3; position: relative;}
.together hr { width: 15%; z-index: 3; position: relative;}
.together p { font-size: 23px; z-index: 3; position: relative; font-size: 20px;}
.together .sub_t {color: rgba(255, 255, 255, 0.5); font-size: 36px;}
.to1 { background: url(../../../Layouts/byeonganch_Layout/Images/5_contents_bg_1.png) no-repeat; background-position: center !important;}
.to2 { background: url(../../../Layouts/byeonganch_Layout/Images/5_contents_bg_2.png) no-repeat; background-position: center !important;}
.to3 { background: url(../../../Layouts/byeonganch_Layout/Images/5_contents_bg_3.png) no-repeat; background-position: center !important;}
.together > a:hover .blackBox { visibility: visible;}



@media (max-width:1699px) {
    #main2 .welcomeM {grid-gap: 30px;}
    #main6 .PhotoN {right: -2%;}
    #main6 .PhotoP {left: -2%;}
}

@media (max-width:1499px) {
    .together > a img {width: 150px;}
    #main2 .welcomeM a .welcomeBT {padding:50px;}
    #main1 .main1M .main1R .main1RB {
        grid-gap: 15px;
    }
    #main6 .PhotoN {right: 1%;}
    #main6 .PhotoP {left: 1%;}
	#main3 .sermonM .sermonL{background-size: contain;height:395px;}
	#main5 .main5M .main5R{padding:50px;}
}

@media (max-width:1199px) {
    .together .sub_t {font-size: 30px;}
    .together h3 {font-size: 30px;}
      .together > a img {width: 70px;}
    #main6 .galleryb h1 {font-size: 30px; }
    #main6 {padding: 50px 0;}
    #main2 {padding: 50px 0;}
    #main2 .welcomeM a {width: 14%;}
    #main1 .main1M .main2R h2 {font-size: 20px; }
    #main1 .main1M .main1R h3 {font-size: 21px;}
    #main1 .main1M .main1L .context h1 {font-size: 30px;}
    #main1 {padding: 50px 0;}
    #main6 .galleryb {width: 100%;}
    #main5 .main5M .main5L .main5LB {padding: 15px;}
    #main5 .main5T h1 {font-size: 30px;}
    #main4 .main4T h1 {font-size: 30px;}
    #main4 .main4TB {grid-gap: 20px;}
    #main4 .main4TB .main4B div h5 {font-size: 20px;}
    #main4 .main4TB .main4B div {padding: 15px; background-size: cover;}
    #main3 .main3MF .main3MB {width: 200px; height: 50px; }
    #main3 .main3MF .main3MB h5 {font-size: 17px;}
    #main3 .main3M .newM .arrow {width: 100px;}
    #main2 .welcomeM a h1 {font-size: 18px;}
    #main3 .main3T h1 {font-size: 35px;}
    #main1 .main1M .context h2 {font-size: 25px;}
    #main1 .main1M .main1R .main1RB {grid-gap: 50px;}
    #main1 .main1M .main1R .main1RT .sermonSN{ width: 200px;}
    #main1 .main1M .main1R .main1RT .sermonST {width: 100%;}
    #main1 .main1M .main1R {width: 100%;}
    #main1 .main1M .main1L img {width: 100%;}
    #main4 .main4TB .main4B {height: 170px;}
    #main2 .welcomeM a {display: inline-flex; position: relative; flex-direction: column; height: auto;}
    #main2 .welcomeM { flex-wrap: wrap; grid-gap: 20px;}
	#main1 .main1T h1 {padding: 45px 0;}
	#main1 .main1M .newsM{width:100%;}
	#main1 .main1M .allNewsM{width:100%;}
	#main3 .sermonT h1 {padding: 40px 0;}
	#main3 .sermonM{flex-direction: column-reverse;padding-bottom: 30px;}
	#main3 .sermonM .sermonR{width:100%;padding: 30px;}
	#main3 .sermonM .sermonL{width: 100%;position: relative;padding-bottom: 56.25%;height: 0;overflow: hidden;}
	#main3 .sermonM .sermonR .sermonRM h1 {padding: 30px 0;}
	#main5 .main5M .main5R{padding:50px;background-repeat: no-repeat;background-position: center;background-size: cover;}
	#main5 .main5M .main5L {background-repeat: no-repeat;background-position: center;background-size: cover;}
	#main4 .storyT h1 {padding: 40px 0;}
	.WechurchM .WechurchBM {padding: 20px 10px;}
	.storyM .GalleryM .GalleryS a .galleryIMG {height: 225px;}
	.WechurchM{gap:25px;}
	.WechurchM .WechurchBM h5 {padding-bottom: 20px;}
	#main5 {padding-bottom: 60px;}
}

@media (max-width:992px) {
    .top-btn {width: 62px; height: 62px; right: 15px;}
    #main6 .onlineRHF {width: 120px; height: 50px;}
    #main3 .together {flex-direction: column;}
    #main1 .main1B .main1BL::after {width:0px;}
    #main1 .main1B .main1BL {width: 100%;}
    #main1 .main1B .main1BR {width: 100%;}
    #main1 .main1B {flex-direction: column; }
    #main3 {padding: 25px 0;}
    #main1 .main1B .main1BR {padding: 15px 0;}
    #main1 .main1B .main1BL {padding: 15px 0;}
    #main1 .main1M .main2R {height: 46%;}
    #main1 .main1M .mainR {width: 100%; aspect-ratio: 458 / 242;}
    #main1 .main1M .main1L {width: 100%;}
    #main2 .welcomeM a {width: 15%; aspect-ratio: 208 / 90;}
    #main1 .main1M {flex-direction: column;}
    #main1 {padding: 25px 0;}
    #main1 .main1M .main1L {padding: 25px;}
    #main2 {padding: 25px 0;}
    #main6 .PhotoM {margin: 25px 0;}
    .together > a img {width: 50px;}
    .together p {font-size: 17px;}
    .together h3 {font-size: 20px;}
    .together .sub_t {font-size: 20px;}
    #main2 .welcomeM a {display:inline-block;}
    #main7 .main7B {grid-gap: 20px; padding-bottom: 40px; display: grid; justify-content: center; align-items: center; width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30%), 1fr));}
    #main6 .PhotoN {right: -2%;}
    #main6 .PhotoP {left: -2%;}
    #main6 .gallery-tab li a div {font-size: 16px;}
    #main5 .main5M .news_img h3 {font-size: 18px;}
    #main5 .main5M .main5L .main5X {grid-gap: 20px;}
    #main5 .main5M .main5MB {width: 20%;}
    #main5 .main5M .news_img {padding: 0 15px;}
    #main5 .main5T {padding: 25px 0;}
    #main4 .main4TB .main4B div h5 {font-size: 18px;}
    #main3 .main3T h1 {font-size: 30px;}
    #main3 {padding: 50px 0;}
    #main2 .welcomeM a .welcomeBT {padding: 45px;}
    #main2 .welcomeM a h1 {font-size: 16px; line-height: 1.5;}
    #main2 .welcomeM {justify-content: center; grid-gap: 10px;}
	#main1 .welcomeT h1{font-size:32px;}
	#main1 .welcomeT h4{font-size:20px;}
	#main1 .welcomeT h5{font-size:24px;}
	#main1 .welcomeM {gap: 20px;}
	#main1 .main1T h1{font-size:32px;}
	#main1 .main1M .newsM .newsMN .newsMR h1{font-size:24px;}
	#main1 .main1M .newsM .documents .tab-content .newsT h2{font-size:20px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT{padding: 15px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT h1{font-size:20px;}
	#main1 .main1M .allNewsM .allNewsSD{height: 375px;}
	#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h1{font-size:20px;}
	#main3 .sermonT h1 {padding: 20px 0;font-size:32px;}
	#main3 .sermonM .sermonR .sermonRM h1{font-size:32px;}
	#main3 .sermonM .sermonR .sermonRM h3{font-size:24px;}
	#main4{padding-bottom:0;}
	#main4 .storyT h1{font-size:32px;}
	#main4 .storyM {flex-direction: column;gap:30px;}
	#main4 .storyM .GalleryM{width:100%;}
	#main4 .WechurchM{width:100%;padding: 30px;}
	#main4 .WechurchM .WechurchT h1{font-size:24px;}
	#main5 {padding-bottom: 40px;}
	#main5 .main5M .main5R .main5RM h1{font-size:32px;}
	#main5 .main5M .main5R .main5RM .main5RBT{width:35%;}
	#main5 .main5M .main5R .main5RM .main5RBT a{font-size:20px;}
	#main5 .main5M .main5L .main5LM h1{font-size:32px;}
	#main5 .main5M .main5L .main5LM .main5LBT a{font-size:20px;}
}

@media (max-width:767px) {
    .together > a img {width: 70px;}
    #main1 .main1B .main1BL h3 {font-size: 16px;}
    #main1 .main1B .main1BL h1 {font-size: 20px;}
    #main1 .main1B .main1BR .main1BB {width: 70%;}
    #main1 .main1B .main1BR .context {grid-gap: 10px;}
 #main1 .main1B .main1BL .context {grid-gap: 10px;}
    #main1 .main1M .main1R div h4 {margin: 5px 0;}
    #main1 .main1M .main1R div p {margin: 5px 0;}
    #main1 .main1M .main1R {height: 100%;}
    #main1 .main1M .mainR {aspect-ratio: 458 / 370;}
    #main1 .main1M .main1R h3 {font-size: 17px; margin: 5px 0;}
    #main1 .main1M .main1R div p {font-size: 15px;}
    #main1 .main1M .main1L .view-more2 div {padding: 5px;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {padding: 20.5px;}
    #main6 .galleryb h1 {font-size: 25px;}
    .together > a {aspect-ratio: 150/90;}
    #main3 {padding: 0px 0;}
    .together h3 {margin-top: 10px;}
    .together hr {margin-top: 10px; margin-bottom: 10px;}
    #main6 {padding: 25px 0;}
    #main2 .welcomeM a {width: 20%;}
    #main1 .main1M .context .text {grid-gap: 10px;}
    #main2 .welcomeM a h1 {font-size: 15px;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {padding: 23px;}
    #main2 .welcomeM a .welcomeBT {padding: 50px;}
    #main6 .PhotoM .PhotoIMG .PhotoIMT h1 {font-size: 15px;}
    #main5 .main5M .main5L .main5LB .notice_img {height: 70px;}
    #main5 .main5M .main5L .main5LB {height: 230px;}
    #main5 .main5M .main5L .main5LB .text {-webkit-line-clamp: 3;}
    #main5 .main5M {grid-gap: 10px;}
    #main5 .main5M .news_img h3 {font-size: 15px;}
    #main5 .main5M .news_img h2 {font-size: 20px;}
    #swiperSlider63 .swiper-pagination {bottom: 10px !important;}
    .swiper-button-next img {width: 20px;}
    .swiper-button-prev img {width: 20px;}
    #main1 .main1M .main1R .main1RT .sermonST span {font-size: 15px;}
    #main1 .main1M .main1R .main1RM h1 {font-size: 20px;}
    #main3 .main3MF .main3MB h5 {font-size: 15px;}
    #main3 .main3T h1 {font-size: 20px;}
    #main3 .main3T h5 {font-size: 18px;}
    #main1 .main1M .main1R .main1RT .sermonSN {width: 34%;}
    #main1 .main1M .main1B {height: 115px;}
    #main1 .main1M .context h2 {font-size: 20px;}
    #main1 .main1M .context h5 {font-size: 17px;}
    #main5 .main5T h1 {font-size: 25px;}
    #main6 .gallery-tab li.active a:after {bottom: -2px;}
    #main6 .gallery-tab li {width: 33%; float: left;}
    #main6 .gallery-tab li {border: none;}
    #main6 .gallery-tab {display: inline-block;}
    #main4 .main4T h1 {margin-top: 15px; font-size: 25px;}
    #main4 .main4T {padding: 30px 15px;}
    #main3 .main3MF {margin-top: 20px;}
    #main1 .main1M .main1RB .main1RBOX h1 {font-size: 16px;}
    #main4 .main4TB {grid-template-columns: repeat(auto-fill, minmax(min(100%, 25%), 1fr));}
     #main6 .PhotoP {top: 67%}
    #main6 .PhotoN {top: 67%;}
    #main1 .main1M {grid-gap: 15px;}
    #main1 .main1M .main1R .main1RM {margin-top: 15px;}
    #main1 {padding: 15px 0;}
    #main2 {padding: 15px 0;}
    #main1 .main1M .main1R .main1RB {grid-gap: 15px; }
    #main5 .main5M .news_img {background-size: contain; height: 110px; grid-gap: 5px;}
    #main5 .main5M .news_img img {width: 10px;}
    #main5 .main5M .main5MB {width: 100%;}
    #main3 .main3MF .main3MB {width: 30%;}
    #main3 .main3M .newM .new {width: 8%;}
        #main3 .main3M .newM .arrow {width: 70px;}
	#main1 .welcomeT img {padding: 20px 0 10px;}
	#main1 .welcomeT h1{font-size:24px;}
	#main1 .welcomeT h4{font-size:15px;padding-bottom: 20px;}
	#main1 .welcomeT h5{font-size:20px;}
	#main1 .welcomeM.visible-xs {gap: 20px;flex-wrap: wrap;padding-bottom: 20px;display: inline-flex!important;}
	#main1 .welcomeM a h1{font-size:15px;}
	#main1 .welcomeM a .welcomeBT {padding: 40px;}
	#main1 .main1T h1{font-size:24px;padding: 20px 0;}
	#main1 .main1M .newsM .newsMN{flex-direction: column;gap: 10px;}
	#main1 .main1M .newsM .newsMN .newsMR h1{font-size:20px;}
	#main1 .main1M .newsM .newsMN .newsML a{padding: 5px 10px;}
	#main1 .main1M .newsM .newsMN .newsML a li{font-size:15px;}
	#main1 .main1M .newsM .documents .tab-content .newsT h2{font-size: 15px;word-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;width: 45%;word-break: keep-all;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT{padding: 10px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .RegT h1{font-size:15px;}
	#main1 .main1M .newsM .documents .tab-content .newsT .newsBT {padding: 15.5px;}
	#main1 .main1M .allNewsM .allNewsSD{height: 315px;}
	#main1 .main1M .allNewsM .allNewsSD .swiper-slide {padding: 15px;}
	#main1 .main1M .allNewsM .allNewsSD .swiper-slide .allnewsT h1{font-size: 15px;word-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;width: 65%;overflow: hidden;}
	#main3 .sermonT h1{font-size:24px;}
	#main3 .sermonM .sermonR {padding: 15px;}
	#main3 .sermonM .sermonR .sermonRM h1{font-size:24px;padding: 15px 0;}
	#main3 .sermonM .sermonR .sermonRM h3{font-size:20px;}
	#main3 .sermonM .sermonR .sermonRM .sermonB .sermonBP h2{font-size:17px;}
	#main4{padding-bottom:0;}
	#main4 .storyT h1{font-size:24px;padding: 20px 0;}
	#main4 .storyM {flex-direction: column;gap:10px;}
	#main4 .storyM .GalleryM{width:100%;}
	#main4 .WechurchM{width:100%;padding: 15px;gap: 15px;}
	#main4 .WechurchM .WechurchT h1{font-size:20px;}
	#main4 .WechurchM .WechurchBT a {padding: 15px 10px;}
	#main4 .WechurchM .WechurchBT a h1 {font-size: 17px;}
	#main4 .WechurchM .WechurchBM h5{font-size: 17px;}
	#main5 {padding-bottom: 40px;}
	#main5 .main5M {flex-direction: column;}
	#main5 .main5M .main5R{width:100%;height: inherit;padding: 20px;}
	#main5 .main5M .main5R .main5RM h1{font-size:24px;}
	#main5 .main5M .main5R .main5RM h5{font-size:15px;padding-bottom:20px;}
	#main5 .main5M .main5R .main5RM .main5RBT{width:35%;position: relative;}
	#main5 .main5M .main5R .main5RM .main5RBT a{font-size:15px;}
	#main5 .main5M .main5L{width:100%;height: inherit;}
	#main5 .main5M .main5L .main5LM h1{font-size:24px;}
	#main5 .main5M .main5L .main5LM h5{font-size:15px;padding-bottom: 55%;}
	#main5 .main5M .main5L .main5LM .main5LBT{position:relative;}
	#main5 .main5M .main5L .main5LM .main5LBT a{font-size:15px;}
	#main4 .galleryTP .galleryT h1{font-size:20px;}
	#main4 .galleryTP .galleryT h5{font-size:17px;}
	.storyM .GalleryM .GalleryS a .galleryT h2{font-size:20px;}
	.storyM .GalleryM .GalleryS a .galleryT h5{font-size:17px;}
}

@media (max-width:550px) {
    #main1 .main1B .main1BR h1 {font-size: 20px;}
    #main1 .main1B .main1BR h3 {font-size: 16px; }
    .together > a img {width: 50px;}
    #main1 .main1M .main1L .view-more2 {height; 40px; width: 120px; }
    #main1 .main1M .main1L .context div h5 {margin-top: 5px; font-size: 16px;}
    #main1 .main1M .main1L .context h1 {font-size: 25px;}
    #main1 .main1M .main1L .context h1 {margin-top: 10px; margin-bottom: 0px;}
    #main1 .main1M .main1L .text h2::after {bottom: -10px;}
    #main1 .main1M .main1L {padding: 15px;}
    #main1 .main1M .main1L .context {grid-gap: 10px;}
    #main1 .main1M .main1L {flex-direction: column; align-items: baseline; grid-gap: 20px;}
    #main2 .welcomeM a {width: 25%;}
    #main1 .main1M .main1R .main1RT .sermonSN img {height: 80px;}
    #main1 .main1M .main1R .main1RT .sermonSN {height: 80px;}
    #main1 .main1M .main1R {grid-gap: 10px;}
    #main1 .main1M .main1L .play  img {width: 15px;}
    #main1 .main1M .main1B {height: 95px;}
    #main1 .main1M .context h5 {font-size: 15px;}
    #main1 .main1M .main1RB .main1RBOX h1 {font-size: 15px;}
    #main2 .welcomeM a .welcomeBT {padding: 40px;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {top: 31%;}
    #main2 .welcomeM a h1 {top: 75%;}
    #main2 .welcomeM a h1 {font-size: 15px;}
    .swiper-button-next img {width: 10px;}
    .swiper-button-prev img {width: 10px;}
    #main7 .main7B {grid-gap: 10px;}
    #main1 .main1M .main1R .main1RB {grid-gap: 20px; display: grid; justify-content: center; align-items: center; width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(100%, 25%), 1fr));}
    #main1 .main1M .main1RB .main1RBOX {height: 75px; width: 100%; grid-gap: 5px;}
    #main3 .main3MF .main3MB {width:40%;}
    #main3 .main3M .newM {display: inline-block; text-align: center;}
    #main3 .main3M .newM .new {width: 20%;}
    #main3 .main3M .newM .new img:first-child {width: 30px;}
    #main3 .main3M .newM .new img:nth-child(2) {width: 47px;}
    #main4 .main4TB { grid-template-columns: repeat(auto-fill, minmax(min(100%, 41%), 1fr));}
    #main5 .main5M .main5L .main5LB .text {width: 100%;}
    #main5 .main5M .main5L .main5LB .content {width: 100%;}
    #main5 .main5M .main5L .main5LB {width: 100%; background-repeat: no-repeat; background-size: cover; margin-top: 20px; grid-gap: 15px;}
    #main5 .main5M .main5L .main5X {display: inline-block;}
    #main3 .main3M .newM .arrow {width: 50px;}
}

@media (max-width:450px) {
    #main2 .welcomeM a {width: 25%;}


}