﻿@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;
    }
}
@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 */


:root {
    --width1: 5;
    --width2: 4;
    --width3: 3;
}
.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;}

.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;}
#main1 {padding: 50px 0;}
#main1 h1 {text-align: center; margin: 0; color: #fff; font-size: 40px;}
#main1 .tp-overflow-hidden {overflow: hidden;}
#main1 .storyT h1 {margin: 0;font-size: 46px;padding: 90px 0 80px;text-align:center;color:#fff;}
#main1 .storyM .GalleryM{width:65%;overflow:hidden;}
#main1 .gallery-tab li a {color: #000; font-size: 18px; position: relative;}
#main1 .album-bottom .subject {display: flex; justify-content: space-between; position: relative; align-items: center; margin-bottom: 30px;}
#main1 .album-bottom .subject .all {display: flex; grid-gap: 10px; align-items: center; color: #fff;}
#main1 .gallery-tab li.active a:after {content: ""; width: 100%; height: 2px; background: #2FA9FF; position: absolute;  bottom: -10px; left: 0px; }
#main1 .gallery-tab li a:hover , #main6 .gallery-tab li a:focus  {text-decoration:none;}
#main1 .gallery-tab li:hover a , #main6 .gallery-tab li:focus a {text-decoration: none;}
#main1 .PhotoIMG { aspect-ratio: 423/237;  display: block; position: relative; overflow: hidden; background-color: #000;  background-size: cover;    background-position: 50% 50%; background-origin: border-box; background-repeat: no-repeat;}
#main1 .galleryList-slide > a:hover {box-shadow: 0px 10px 18px 0 rgba(0, 0, 0, 0.34); background-color: rgba(255,255,255,.7);  text-decoration: none;}
#main1 .galleryList-slide > a h4 {color:#fff; font-weight: bold;}
#main1 .galleryList-slide > a h5 {color:#E3DDE7; margin: 0;}
#main1 .galleryList-slide > a:hover h4 {color: #000;}
#main1 .galleryList-slide > a:hover h5 {color: #4F5052;}
#main1 .galleryList-slide > a:hover img {opacity: 1;}
#main1 .galleryList-slide > a > img { width: 20vw; height: 13vw; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; position: relative;}
#main1 .galleryList-slide > a { display: flex; flex-direction: column; position: relative;  color: #000; padding: 36px 34px; border-top: 1px solid #fff; border-bottom: 1px solid #fff;}
#main1 .swiper-slide:nth-child(2n+1) {border-right: 1px solid #fff; border-left: 1px solid #fff;}
#main1 .swiper-slide:last-child {border-right: 1px solid #fff;} 
#main1 .button {display: flex; grid-gap: 10px;}
#main1 .PhotoIMT {aspect-ratio: 3/1; display: flex; flex-direction: column; justify-content: flex-end;}
#main1 .button .PhotoP {padding: 30px; position: relative; display: inline-block; background-color: rgba(26, 52, 105, .4); border-radius: 50%; transition: all .2s;}
#main1 .button .PhotoP:hover, #main1 .button .PhotoP:active {background-color: rgba(26, 52, 105, 1);}
#main1 .button .PhotoP .arrow {padding: 5px; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; transform: translate(-50%, -50%);}
#main1 .button .PhotoN {padding: 30px; position: relative; display: inline-block; background-color: rgba(26, 52, 105, .4); border-radius: 50%; transition: all .2s;}
#main1 .button .PhotoN:hover, #main1 .button .PhotoN:active {background-color: rgba(26, 52, 105, 1);}
#main1 .button .PhotoN .arrow {padding: 5px; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; transform: translate(-50%, -50%);}
#main1 .PhotoIMT .flex{ display: flex; justify-content: space-between; }
#main1 .PhotoIMT .sub{ display: flex; }
#main1 .PhotoIMT .sub .bar {    margin: 0px 10px; width: 1px; height: 13px; background: #fff; content: ""; position: relative; }
#main1 .PhotoIMT .bottom { display: none; }
#main1 .galleryList-slide > a:hover .bottom {display: flex; justify-content: space-between; align-items: center; }
#main2 { padding: 100px 0;}
#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; word-break: keep-all;}
#main2 .welcomeM { display: inline-flex; justify-content: center; align-items: center; gap: 70px; width: 100%; margin-top: 50px; }
#main2 .welcomeM a { text-align: center; text-decoration: none; color: #000;}
#main2 .welcomeM a .welcomeBT { padding: 50px; position: relative; display: inline-block; background-color: #f3f8fd; border-radius: 50%; transition: all .2s;}
#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; transform: translate(-50%, -50%);}
#main2 .welcomeM a:hover .welcomeBT:before { background-color: #6E92DC;}
#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;}

#main3 { padding: 100px 0;}
#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%; position: relative;}
#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-bottom:100px;}
#main4 .storyT h1 {margin: 0;font-size: 46px;padding: 90px 0 80px;text-align:center;color:#fff;}
#main4 .storyM .GalleryM{width:65%;overflow:hidden;}
#main4 .main4TB {display: grid; justify-content: center; align-items: center; width: 100%; grid-template-columns: 1fr 1fr; grid-gap: 57px; }
#main4 .main4TB .main4L { display:flex; flex-direction: column; grid-gap: 30px; }
#main4 .main4TB .main4L .news {padding: 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #D0D0D0;}
#main4 .main4TB .main4L .news .subject h1 {font-size: 24px; font-weight: 800; margin-bottom: 20px;}
#main4 .main4TB .main4L .news .subject h3 {font-size: 18px; }
#main4 .main4TB .main4L .news .subject h4 {font-size: 16px; color: rgba(0, 0, 0, 0.8);}
#main4 .main4TB .main4L .news .clickbox {padding: 30px; position: relative; display: inline-block; background-color: rgba(26, 52, 105, .4); border-radius: 50%; transition: all .2s;}
#main4 .main4TB .main4L .news .clickbox .arrow {padding: 5px; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; transform: translate(-50%, -50%);}
#main4 .main4TB .main4L .jubo {display: flex; flex-direction: column; justify-content: space-between;  padding: 40px 30px; position: relative; aspect-ratio: 655 / 400; overflow: hidden; background-color: #000;  background-size: cover; background-position: 50% 50%; background-origin: border-box;background-repeat: no-repeat;}
#main4 .main4TB .main4L .jubo .subjects h3 { font-weight: 800; font-size: 24px;}
#main4 .main4TB .main4L .jubo .subjects h1 {font-size: 30px;}
#main4 .main4TB .main4L .jubo .bottom {display: flex; align-items: flex-end; justify-content: space-between;}
#main4 .main4TB .main4L .jubo .bottom h5 {color: #fff; font-size: 16px; margin: 0px;}
#main4 .main4TB .main4R {display: flex; flex-direction: column; grid-gap: 30px; height: 100%; justify-content: space-between;}
#main4 .main4TB .main4R .bulletin  {display: flex; flex-direction: column; justify-content: space-between; grid-gap: 20px;}
#main4 .main4TB .main4R .bulletin h3 {margin: 0px; font-size: 24px; font-weight: 800;}
#main4 .main4TB .main4R .main4M li {padding: 20px 0; border-bottom: 1px solid #B2B2B2;}
#main4 .main4TB .main4R .main4M li a {display: flex;  justify-content: space-between; align-items: center; color: #000;}
#main4 .main4TB .main4R .main4M li a .subject h4 {margin: 5px 0;}
#main4 .main4TB .main4R .main4M li a .subject h5 {color: #585858; margin: 5px 0;}
#main4 .main4TB .main4R .main4M li a img { opacity: 0; width: 16px; height: 16px; transition: all .2s;}
#main4 .main4TB .main4R .main4M li a:hover {text-decoration: none;}
#main4 .main4TB .main4R .main4M li a:hover h4 {font-weight: 800; text-decoration: none;}
#main4 .main4TB .main4R .main4M li a:hover h5 { text-decoration: none;}
#main4 .main4TB .main4R .main4M li a:hover img {opacity: 1;  }
#main4 .main4TB .main4R .youtube {padding: 20px;  border: 1px solid #D0D0D0; display: flex; justify-content: space-between; align-items: center;}
#main4 .main4TB .main4R .youtube h1 {font-size: 24px; font-weight: 800; margin-bottom: 20px;}
#main4 .main4TB .main4R .administration {padding: 20px;  border: 1px solid #D0D0D0; display: flex; justify-content: space-between; align-items: center;}
#main4 .main4TB .main4R .administration h1 {font-size: 24px; font-weight: 800; margin-bottom: 20px;}
#main4 .main4TB .main4R .administration h3 {font-size: 18px; }
#main4 .main4TB .main4R .administration .clickbox {padding: 30px; position: relative; display: inline-block; background-color: rgba(26, 52, 105, .4); border-radius: 50%; transition: all .2s;}
#main4 .main4TB .main4R .administration .clickbox .arrow {padding: 5px; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; transform: translate(-50%, -50%);}



#main4 .main4T { padding: 50px 0; text-align: center;}
#main4 .main4T h5 { color: #D8D3D0; margin: 0px; font-size: 20px;}
#main4 .main4T h1 { font-weight: bold; margin: 0px; font-size: 46px;}
#main4 .main4TB .main4B {height: 315px; width: 100%; display: inline-flex; position: relative; justify-content: center; align-items: center; gap: 20px; flex-direction: column; text-decoration: none; color: inherit;}
#main4 .main4TB .main4B div{padding: 35px; color: #fff; height: 100%; width: 100%; background-size: contain; background-repeat: no-repeat; background-position: center;}
#main4 .main4TB .main4B div h5 {font-size: 25px; position: relative; word-break: keep-all;}
#main4 .main4TB .main4B div h5:before {content: ""; position: absolute; width: 20%; height: 2px; background: #fff; left: 0px; bottom: -10px;}


#main6 {position: relative; padding: 100px 0; background: #EFF1F0;}
#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 {width: 337.5px;  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: #000; font-weight: bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all;}
#main6 .PhotoM .PhotoIMT h5 { font-size: 16px; color: #767676; margin: 5px 0 0 0;}
#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;}


@media (max-width:1699px) {
    #main2 .welcomeM {grid-gap: 30px;}
    #main6 .PhotoN {right: -2%;}
    #main6 .PhotoP {left: -2%;}
}

@media (max-width:1499px) {
    #main4 .main4TB .main4R .administration h1 {font-size: 20px;}
    #main4 .main4TB .main4L .jubo .subjects h1 {font-size: 25px;}
    #main4 .main4T {padding: 0 0 50px 0;}
    #main3 {padding: 50px 0;}
    #main6 {padding: 50px 0;}
    #main6 .galleryb h1 {font-size: 30px;}
    #main4 .main4TB .main4L .jubo .bottom img {width: 30px;}
    #main4 .main4T h1 {font-size: 30px;}
    #main4 .main4TB .main4R .administration .clickbox {padding: 20px;}
    #main4 .main4TB .main4L .news .clickbox {padding: 20px;}
    #main4 .main4TB .main4R .main4M li a .subject h4 {font-size: 17px;}
    #main4 .main4TB .main4L .news .subject h1 {font-size: 20px;}
    #main4 .main4TB .main4R .bulletin h3 {font-size: 20px;}
    #main3 .main3R .mainYC .mainYL h3 {font-size: 20px;}
    #main3 .main3M li a {font-size: 18px;}
    #main3 .tab-content>.tab-pane h1 {font-size: 40px;}
    #main3 .main3L {width: 30%;}
    #main3 .main3T h1 {font-size: 30px;}
    #main1 .PhotoIMT {justify-content: flex-end;}
    #main1 .PhotoIMT .bottom img {width: 30px;}
    #main1 .galleryList-slide > a {padding: 20px 32px;}
    #main1 .button .PhotoP {padding: 20px;}
    #main1 .button .PhotoN {padding: 20px;}
    #main1 h1 {font-size: 30px;}
    #main1 {padding: 50px 0;}
    #main2 {padding: 50px 0;}
    #main2 .welcomeT h1 {font-size: 30px;}
    #main2 .welcomeT h4 {font-size: 18px;}
    #main2 .welcomeM {margin-top: 25px;}
    #main2 .welcomeM a .welcomeBT {padding:45px;}
    #main2 .welcomeM a h1 {font-size: 18px; line-height: 2.5;}
    #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) {
    #main1 h1 {font-size: 25px;}
    #main2 .welcomeT h4 {letter-spacing: 2px; font-size: 16px;}
    .top-btn {width: 60px; height: 60px; bottom: 16%;}
    #main2 .welcomeT h1 {font-size: 25px;}
    #main2 {padding: 25px 0;}
    #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 {padding-bottom: 50px;flex-direction: column;}
	#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 {bottom: 1%;}
    #main4 .main4TB .main4R .administration {padding: 15px;}
    #main4 .main4TB .main4L .news {padding: 15px;}
    #main4 {padding: 15px 0;}
    #main4 .main4TB {grid-template-columns: 1fr;}
    #main6 .PhotoM {margin: 15px 0;}
    #main6 .galleryb h1 {font-size: 25px;}
    #main4 .main4TB .main4L .news .subject h1 {margin: 0px;}
    #main4 .main4TB .main4R .main4M li {padding: 5px 0;}
    #main3 .main3R .mainYC .mainYL {width: 60%;}
    #main3 .main3R .mainYC {grid-gap: 10px;}
    #main3 .main3R {width: 100%;}
    #main3 {padding: 15px 0;}
    #main3 .main3C {flex-direction: column; grid-gap: 15px;}
    #main3 .main3L {width: 100%; grid-gap: 0px;}
    #main3 .main3T {flex-direction: column; grid-gap: 10px;}
    #main3 .main3M li {margin: 0px;}
    #main1 .PhotoIMT {aspect-ratio: 4/1;}
    #main1 .album-bottom .subject {margin-bottom: 15px;}
    #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;}
    #main2 .welcomeM a .welcomeBT {padding: 45px;}
    #main2 .welcomeM a h1 {font-size: 16px;}
    #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 .main1M {padding-bottom: 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 .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) {
    #main1 .galleryList-slide > a {padding: 15px; }
    #main4 .main4TB .main4R .administration h3 {font-size: 16px;}
    #main4 .main4TB .main4L .jubo .subjects h3 {margin: 0px; font-size: 20px;}
    #main4 .main4TB .main4L .news .subject h3 {font-size: 16px;}
    #main4 .main4TB .main4L .news .subject h4 {font-size: 15px;}
    #main2 .welcomeT h1 {font-size: 22px; word-break: keep-all;}
    #main2 .welcomeM {margin-top: 15px;}
    #main6 .galleryb h1 {font-size: 22px;}
    #footerC .footerCB a h5 {font-size: 15px;}
    #main4 .main4TB .main4L .jubo {padding: 15px;}
    #main4 .main4TB .main4L .jubo .subjects h1 {font-size: 18px;}
    #main3 .main3R .mainYC .mainYL {width: 100%;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {padding: 20px;}
    #main6 {padding: 15px 0;}
    #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: 38px;}
    #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: 0px; font-size: 22px;}
    #main4 .main4T {padding: 15px 0px;}
    #main3 .main3MF {margin-top: 20px;}
    #main1 .main1M .main1RB .main1RBOX h1 {font-size: 16px;}
     #main6 .PhotoP {top: 67%}
    #main6 .PhotoN {top: 67%;}
    #main1 .main1M .context {padding: 0 15px; }
    #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 .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 .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: 35px;}
    #main2 .welcomeM a .welcomeBT .on, #main2 .welcomeM a .welcomeBT .off {padding: 24.5px;}
    #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;}
    #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;}
}