﻿/*공통*/
.mainContainer {
    width: 1320px;
    margin: 0 auto;
}

.flex-wrap {
    display: flex;
}
/*슬라이드*/
#main, .slider .slider-wrapper .slide img {width:100%;}
#main .slider .slider-dots {
    display: none;
}

 #main .slider .move-btn {
	 background: unset; 
    top: 73%; 
 } 

 #main .dimode-slider .move-btn.next-btn { 
    /left: 20%; 
     right: unset; 
} 

 #main .dimode-slider .move-btn.prev-btn { 
     left: 16%; 
} 

/*메인시작*/
.quick-menus {
    position: fixed;
    top: 20%;
    right: 5%;
    z-index: 9;
    width: 95px;
}

    .quick-menus ul {
        display: flex;
        flex-flow: column;
    }

#main2 {
    display: flex;
    position: relative;
}

    #main2 .right-cont {
        text-align: left;
        width: 50%;
        padding-left: 290px;
    }

        #main2 .right-cont h1 {
            font-weight: bold;
            font-size: 72px;
            color: #0B2A55;
            margin-top: 100px;
            margin-bottom: 30px;
        }

        #main2 .right-cont h4 {
            color: #000;
            font-weight: bold;
            font-size: 24px;
        }

        #main2 .right-cont a {
            text-decoration: none;
        }

        #main2 .right-cont h4 img {
            margin-left: 10px;
        }

    #main2 .center-cont {
        position: absolute;
        top: 45%;
        left: 15%;
    }

        #main2 .center-cont h2 {
            color: #E5E5E5;
            font-size: 42px;
            font-weight: bold;
        }

        #main2 .center-cont h3 {
            font-weight: bold;
            color: #fff;
            margin-bottom:30px;
        }

        #main2 .center-cont h4 {
            word-break: keep-all;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            color: #fff;
            word-break: break-all;
            margin:20px 0;
        }

        #main2 .center-cont .cont2 h3,
        #main2 .center-cont .cont2 h4,
        #main2 .center-cont .cont2 .cont-bottom span {
            color: #000;
        }

        #main2 .center-cont .cont3 h3,
        #main2 .center-cont .cont3 h4,
        #main2 .center-cont .cont3 .cont-bottom span {
            color: #000;
        }

        #main2 .center-cont .cont2 h4 > span {
            margin-right: 10px;
        }

        #main2 .center-cont .flex-wrap > div {
            width: 300px;
            height: 285px;
            text-align: center;
            margin-right: 20px;
            padding: 10px 0px;
            position: relative;
            background: #fff;
            box-shadow: 5px 10px 30px #d7d7d7;
        }

            #main2 .center-cont .flex-wrap > div > a {
                text-decoration: none;
            }

            #main2 .center-cont .flex-wrap > div.cont3 {
                margin-right: 0;
            }

            #main2 .center-cont .flex-wrap > div.cont1 {
                background: #0B2A56;
                color: #fff;
                box-shadow: 5px 2px 15px #0b2a566e;
            }

        #main2 .center-cont .cont-bottom {
            position: absolute;
            bottom: 10px;
            left: 0;
            width: 100%;
        }

            #main2 .center-cont .cont-bottom span {
                font-size: 15px;
                color: #fff;
            }

                #main2 .center-cont .cont-bottom span:nth-child(2) {
                    margin-right: 30px;
                }

        #main2 .center-cont .cont3 .cont-bottom span:nth-child(1) {
            margin-right: 50px;
        }

        #main2 .center-cont .cont3 .cont-bottom span:nth-child(2) {
            margin-right: 0px;
        }

.main3-wrap {
    background-color: #f8f8f8;
}

#main3 {
    padding: 100px 0;
    display: flex;
}

    #main3 .left-cont {
    }

    #main3 > div {
        padding: 0 20px;
        width: 50%;
    }

    #main3 .date-box {
        width: 85px;
        height: 85px;
        border: 3px solid #d7d7d7;
    }

    #main3 .cont ul li > div {
        display: inline-block;
        float: left;
    }

    #main3 .cont ul .date-box-wrap:after {
        content: "";
        clear: both;
        display: block;
    }

    #main3 .cont ul .date-box-wrap {
        margin-bottom: 15px;
        padding-top: 10px;
    }

    #main3 .date-box {
        margin-right: 15px;
    }

    #main3 .cont ul li {
        margin-bottom: 10px;
        position: relative;
    }

        #main3 .cont ul li:before {
            content: "·";
            position: absolute;
            top: 50%;
            left: -10px;
            transform: translateY(-50%);
            font-size: 20px;
            color: #d7d7d7;
        }

        #main3 .cont ul li.date-box-wrap:before {
            content: unset;
        }

        #main3 .cont ul li:after {
            content: "";
            clear: both;
            display: block;
        }

        #main3 .cont ul li .title {
            padding: 10px;
            font-size: 16px;
            font-weight: bold;
            list-style: none;
            color: #000;
        }

        #main3 .cont ul li a span {
            font-size: 15px;
            color: #a7a7a7;
            display: inline-block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

            #main3 .cont ul li a span:nth-child(1) {
                width: 75%;
                float: left;
            }

            #main3 .cont ul li a span:nth-child(2) {
                width: 20%;
                float: right;
                color: #2D438E;
                text-align: right;
                font-weight: bold;
            }

    #main3 .date-box .day {
        font-size: 32px;
        color: #2D438E;
        font-weight: bold;
        display: block;
        margin: 0 auto;
        text-align: center;
        margin-top: 10px;
    }

    #main3 .date-box .year-month {
        text-align: center;
        color: #bfbfbf;
        display: block;
    }

    #main3 .left-cont .menus .tab-list:after {
        content: "";
        display: block;
        clear: both;
    }

    #main3 .left-cont .menus {
        display: inline-block;
        width: 100%;
        position: relative;
    }

        #main3 .left-cont .menus .tab-list {
            display: inline-block;
        }

            #main3 .left-cont .menus .tab-list li {
                float: left;
                margin-right: 20px;
            }

                #main3 .left-cont .menus .tab-list li a {
                    color: #000;
                    font-size: 22px;
                    text-decoration: none;
                }

                #main3 .left-cont .menus .tab-list li.active a {
                    font-weight: bold;
                    border-bottom: 2px solid #0B2A56;
                    padding-bottom: 10px;
                }

                #main3 .left-cont .menus .tab-list li a.more {
                    display: none;
                }

                #main3 .left-cont .menus .tab-list li.active a.more {
                    display: inline-block;
                    border-bottom: none;
                }

        #main3 .left-cont .menus .more {
            font-size: 42px;
            color: #000;
            position: absolute;
            top: 0;
            right: 5px;
        }

    #main3 .left-cont .tab-wrap {
        margin-top: 20px;
        height: 240px;
    }

    #main3 .right-cont {
        font-size: 22px;
    }

    #main3 .pagiNation {
        float: right;
        position: relative;
        padding: 0 30px;
        width: 17%;
        bottom: 0;
    }

    #main3 .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
        left: 0;
    }

    #main3 .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
        right: 0;
    }

#main4 .swiper-slide {
    width: 75%;
}

    #main4 .swiper-slide:nth-child(2n) {
        width: 75%;
    }

    #main4 .swiper-slide:nth-child(3n) {
        width: 75%;
    }

#main3 .swiper-button-next,
#main3 .swiper-button-prev {
    top: 40%;
}


#main3 .pagiNation i {
    margin: 0 10px;
    color: #000;
}

#main3 .pagiNation .line {
    color: #c7c7c7;
    font-size: 14px;
    padding: 0 10px;
    line-height: 10px;
    vertical-align: middle;
}

#main3 .content {
    height: 240px;
    background-color: #288E9D;
    margin-top: 20px;
    padding: 30px;
}

#main3 .img-wrap {
    border: 5px solid #88C1CA;
    display: inline-block;
}

    #main3 .img-wrap img {
        width: 240px;
        height: 160px;
    }

#main3 .description {
    width: 50%;
    display: inline-block;
    float: right;
    color: #fff;
    position: relative;
    height: 160px;
    word-break: keep-all;
}

    #main3 .description h4.peopleDate {
        position: absolute;
        bottom: 0;
    }

#main4 {
    position: relative;
    overflow: hidden;
    margin-bottom: -5px;
}

    #main4 .swiper-box {
        position: absolute;
        top: 40%;
        right: 0;
        z-index: 8;
        transform: translate(0%,-50%);
        width: 1285px;
    }

    #main4 .tab-content {
        position: absolute;
        top: 40%;
        left: 35%;
        background: #fff;
        padding: 65px 50px;
        z-index: 9;
        transform: translate(-50%,-50%);
        width: 565px;
        height: 380px;
    }



    #main4 .swiper-wrapper {
    }

    #main4 .swiper-container {
        height: 510px;
    }

    #main4 .img-wrap {
        margin-left: 0;
        height: 510px;
        width: 975px;
    }

        #main4 .img-wrap img {
            width: 100%;
        }

    #main4 .slide-subject {
        position: relative;
    }

        #main4 .slide-subject h2 {
            color: #30418f;
            font-weight: bold;
            margin-bottom: 30px;
            font-size: 38px;
        }

        #main4 .slide-subject h5 {
            color: #b7b7b7;
            line-height: 25px;
            font-size: 18px;
        }

        #main4 .slide-subject .more {
            color: #000;
            background-color: #E2F4FF;
            padding: 3px 5px;
            display: inline-block;
            margin-top: 40px;
            font-size: 14px;
        }

        #main4 .slide-subject .bar {
            position: absolute;
            top: 50%;
            left: -30%;
            transform: translate(0,-50%);
            height: 10px;
            width: 110px;
        }

            #main4 .slide-subject .bar hr {
                border-top: 5px solid #2C4190;
                margin: 0;
            }

    #main4 .swiper-button-prev, #main4 .swiper-container-rtl, #main4 .swiper-button-next {
        background-image: unset;
    }

    #main4 .swiper-button-next, #main4 .swiper-button-prev {
        width: unset;
        height: unset;
        top: 50%;
    }

    #main4 .swiper-button-next {
        right: 44.1%;
    }

        #main4 .swiper-button-next img:focus {
            border: unset;
        }

    #main4 .swiper-button-prev {
        left: 43.7%;
    }

        #main4 .swiper-button-prev img:focus {
            border: unset;
        }

        #main4 .swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after,
        #main4 .swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {
            content: unset;
        }

        #main4 .swiper-button-next.swiper-button-disabled,
        #main4 .swiper-button-prev.swiper-button-disabled {
            opacity: 1;
        }

@media (max-width:1499px) {
    #main2 .right-cont {
        padding-left: 100px;
    }

        #main2 .right-cont h1 {
            font-size: 45px;
        }

    #main2 .center-cont {
        left: 10%;
    }

        #main2 .center-cont .flex-wrap > div {
            width: auto!important;
            height: 255px;
        }

    #main4 .swiper-button-next {
        right: 41.1%;
    }


}

@media (max-width:1396px) {
    .header-right a:last-child {
        margin-right: 45px;
    }

    #gnb > ul.dept1 > li > a {
        font-size: 19px;
    }

    #main3 {
        width: 100%;
    }
}

@media(min-width:993px) and (max-width:1200px) {
    #header > div {
        padding: 0;
    }

        #header > div:last-child {
            padding: 0 25px 0 0;
        }

    #header .header-left {
        padding-left: 35px;
    }

    .header-right a {
        font-size: 12px;
        margin: 0 15px;
    }

        .header-right a:last-child {
            margin-right: 25px;
        }

    #gnb > ul.dept1 > li {
        padding: 0 15px;
    }

        #gnb > ul.dept1 > li > a {
            font-size: 16px;
        }


    #main .slider .move-btn.next-btn {
        left: 22%;
    }

    #main2 .right-cont {
        padding-left: 50px;
    }

    #main2 .center-cont {
		overflow: hidden;
        top: 50%;
    }

        #main2 .right-cont h1,
        #main2 .center-cont h2 {
            font-size: 30px;
        }

    #main2 .right-cont h4 {
        font-size: 20px;
    }

    #main2 .center-cont h3 {
        font-size: 18px;
    }

    #main2 .center-cont .cont-bottom span {
        font-size: 10px;
    }

    /* #main2 .center-cont .flex-wrap > div { */
        /* width: 245px; */
        /* height: 215px; */
    /* } */


    #main3 .content {
        display: flex;
    }

    #main3 .img-wrap img {
        height: 100%;
    }

    #main3 .description {
        margin-left: 5%;
    }

    #main4 .tab-content {
        height: 330px;
    }

    #main4 .slide-subject h2 {
        font-size: 30px;
    }

    #main4 .swiper-button-prev {
        top: 55%;
    }

    #main4 .swiper-button-next {
        top: 55%;
        right: 38.1%;
    }


    footer {
        padding: 50px;
    }

        footer .container {
            width: 100%;
        }

        footer .footer-wrapper .church-info p {
            font-size: 17px;
        }
}

@media(max-width:992px) {
    #main .slider .move-btn.next-btn {
        left: 21%;
    }

    #header > div {
        padding: 0;
    }

    .header-right a {
        font-size: 14px;
      
    }

    #gnb > ul.dept1 > li {
        padding: 0 10px;
    }

        #gnb > ul.dept1 > li > a {
            font-size: 16px;
        }

    #main2 .center-cont {
        top: 50%;
    }

    #main2 .right-cont h1 {
        font-size: 30px;
    }

    #main2 .center-cont h3,
    #main2 .center-cont h4,
    #main2 .right-cont h4 {
        font-size: 16px;
    }

    #main2 .center-cont .flex-wrap > div {
        width: 225px;
        height: 210px;
    }

    #main2 .center-cont h2 {
        font-size: 28px;
    }

    #main2 .center-cont .cont-bottom span {
        font-size: 12px;
    }

    #main3 .content {
        display: flex;
    }

    #main3 .img-wrap img {
        height: 100%;
    }

    #main3 .description {
        margin-left: 5%;
    }

    #main4 .swiper-box {
        left: -10%;
    }

    #main4 .tab-content {
        height: 330px;
    }

    #main4 .slide-subject h2 {
        font-size: 30px;
    }

    #main4 .swiper-button-prev {
        top: 55%;
    }

    #main4 .swiper-button-next {
        top: 55%;
        right: 34.1%;
    }


    
}

@media(max-width:768px) {
    #main .slider .move-btn.next-btn {
        left: 21%;
    }

    #header > div {
        padding: 0;
    }

    .header-right a {
        font-size: 10px;
        margin: 0 15px;
    }

    #gnb > ul.dept1 > li {
        padding: 0 10px;
    }

        #gnb > ul.dept1 > li > a {
            font-size: 16px;
        }

    .mainContainer {
        width: 100%;
    }

    #main .slider .move-btn {
        width: 40px;
    }

        #main .slider .move-btn.next-btn {
            left: calc(16% + 40px);
        }

    #main .slider .move-btn {
        top: 78%;
    }

    .flex-wrap {
        flex-wrap: wrap;
    }

    .quick-menus {
        position: static;
        width: 100%;
    }

        .quick-menus ul {
            flex-flow: initial;
            justify-content: center;
        }

            .quick-menus ul li {
                text-align: center;
                width: 25%;
            }

                .quick-menus ul li img {
                    width: 100%;
                }

    #main2 {
        flex-wrap: wrap;
        width: 100%;
        overflow: hidden;
    }

        #main2 .left-cont {
            transform: translateX(-25%);
        }

        #main2 .right-cont {
            width: 100%;
            padding: 0 10px;
            display: flex;
            align-items: center;
            white-space: nowrap;
            justify-content: space-between;
        }

            #main2 .right-cont h1 {
                font-size: 26px;
                margin: 10px 0;
            }

            #main2 .right-cont h4 {
                font-size: 14px;
                margin: 10px 0;
                text-align: right;
            }

                #main2 .right-cont h4 img {
                    width: 15%;
                }

        #main2 .center-cont {
            top: unset;
            bottom: 0;
            left: 40%;
            width: 100%;
            overflow: hidden;
        }

            #main2 .center-cont .flex-wrap {
                flex-wrap: nowrap;
            }

                #main2 .center-cont .flex-wrap > div {
                    width: 33.333%;
                    margin-right: 0;
                    padding: 10px;
                    height: auto;
                    box-shadow: 0px 0px 3px #00000040;
                }

            #main2 .center-cont h3 {
                font-size: 22px;
                margin-top: 10px;
            }

            #main2 .center-cont h2 {
                display: none;
            }

            #main2 .center-cont h4 {
                -webkit-line-clamp: 3;
                line-height: 1.2em;
                max-height: 5em;
                min-height: 3em;
                font-size: 17px;
            }

            #main2 .center-cont .cont-bottom {
                display: flex;
                flex-flow: column;
                position: static;
            }

                #main2 .center-cont .cont3 .cont-bottom span:nth-child(1),
                #main2 .center-cont .cont-bottom span:nth-child(2) {
                    margin: 0;
                }

                #main2 .center-cont .cont-bottom span {
                    font-size: 13px;
                }

            #main2 .center-cont .cont3 .cont-bottom {
                padding-top: 17px;
            }

            #main2 .center-cont .flex-wrap > div.cont1 {
                box-shadow: unset;
            }

    #main3 {
        padding: 20px 0;
        flex-wrap: wrap;
    }

        #main3 > div {
            width: 100%;
        }

        #main3 .left-cont .menus .tab-list li a {
            font-size: 17px;
        }

        #main3 .left-cont .tab-wrap {
            margin-top: 0;
        }

        #main3 .cont ul li .title {
            width: 100%;
            word-break: keep-all;
        }

        #main3 .cont ul li a span:nth-child(1) {
            width: 65%;
        }

        #main3 .cont ul li a span:nth-child(2) {
            width: 30%;
        }

        #main3 .right-cont {
            font-size: 16px;
            margin-top: 20px;
        }

            #main3 .right-cont .subject > span {
                font-size: 18px;
                font-weight: bold;
            }

        #main3 .description {
            width: 100%;
            float: unset;
            text-align: center;
            height: auto;
        }

        #main3 .content {
            text-align: center;
            height: auto;
            padding: 20px;
        }

        #main3 .description .peopleTitle {
            font-size: 22px;
        }

        #main3 .description h4.peopleDate {
            font-size: 16px;
            width: 100%;
            position: static;
        }
				#main3 .pagiNation{
					width:25%;
					}
    #main4 {
        height: 30em;
        margin-bottom: 20px;
    }

        #main4 > img {
            display: none;
        }

        #main4 .tab-content {
            position: absolute;
            width: 100%;
            height: auto;
            transform: unset;
            padding: 20px;
            top: 50%;
            left: 0;
        }

        #main4 .slide-subject {
            padding: 0 35px;
        }

            #main4 .slide-subject .bar {
                display: none;
            }

        #main4 .swiper-box {
            position: static;
            transform: unset;
            width:100%;
        }

        #main4 .slide-subject h4 {
            margin-top: 0;
        }

        #main4 .slide-subject h2 {
            font-size: 22px;
            margin-bottom: 10px;
            margin-top: 10px;
        }

        #main4 .slide-subject h5 {
            font-size: 14px;
        }

        #main4 .img-wrap {
            width: 100%;
            height: auto;
        }

        #main4 .swiper-button-next, #main4 .swiper-button-prev {
            top: unset;
            bottom: 0;
            width: 80px;
        }

        #main4 .swiper-button-next {
            right: 20px;
        }

        #main4 .swiper-button-prev {
            left: unset;
            right: 100px;
        }

        #main4 .slide-subject .more {
            margin-top: 10px;
        }

        #main4 .swiper-container {
            height: unset;
        }
#main4 .swiper-slide,
#main4 .swiper-slide:nth-child(3n),
#main4 .swiper-slide:nth-child(2n){
	width:100%;
	}

    #main2 .center-cont .cont-bottom span {
        font-size: 10px;
    }

    
}
