﻿@import url('http://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');

@font-face {
    font-family: 'NanumBarunGothic';
    src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot);
    src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot?#iefix) format('embedded-opentype'), url(webfont/NanumBarunGothic/NanumBarunGothicWeb.woff) format('woff'), url(webfont/NanumBarunGothic/NanumBarunGothicWeb.ttf) format('truetype');
}

@font-face {
    font-family: 'NanumSquare';
    src: url(webfont/NanumSquare/NanumSquareR.eot);
    src: url(webfont/NanumSquare/NanumSquareR.eot?#iefix) format('embedded-opentype'), url(webfont/NanumSquare/NanumSquareR.woff) format('woff'), url(webfont/NanumSquare/NanumSquareR.ttf) format('truetype');
}

/* font select */

body * { font-family:NanumSquare, sans-serif; letter-spacing : -0.5px;}


#loginForm {
    margin: 30px auto 30px auto !important;
}

/* gnb */

#gnb-wrap img {
    display: block;
    margin: 25px auto 20px auto;
}

#gnb {
    margin-top: 30px;
    margin: 0 auto;
    display: table;
    font-weight: bold;
}

.box-gnb {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    padding: 15px 0px;
}

#gnb > li {
    float: left;
    padding: 0px 40px;
    position: relative;
}

    #gnb > li > a {
        font-size: 19px;
        color: #333;
        text-decoration: none;
        transition: all ease 0.2s;
    }

        #gnb > li > a:hover {
            color: #32608c;
            padding-bottom: 7px;
            transition: all ease 0.2s;
            font-weight: bold;
        }

        #gnb > li > a.active {
            color: #32608c;
            padding-bottom: 7px;
            transition: all ease 0.2s;
            font-weight: bold;
        }

    #gnb > li > ul {
        display: none;
    }

.point {
    position: absolute;
    bottom: -42px;
    left: 46%;
    margin-left: -9px;
    display: none;
    opacity: 1;
}

#gnb > li img {
    display: none;
    margin: 0px 0px 24px 0px;
}

.box-submenu {
    display: inline-block;
    /*padding: 0px 25px;*/
}

.imgbox {
    width: 100%;
    height: 160px;
    margin-bottom: 16px;
}

    .imgbox img {
        height: 100%;
        width: 100%;
    }

.topbar-login {
    top: 50px;
    position: relative;
}

    .topbar-login a {
        color: gray;
        text-decoration: none;
        font-size: 13px;
    }

/* gnb2 */
.gnb2 {
    /*background: #75a5d3;*/
    background: #32608c;
    width: 100%;
    height: 0px;
    position: absolute;
    left: 0px;
    z-index: 9999;
}

    .gnb2 .container {
        padding: 24px 0px 0px;
    }

.subtext-wrap {
    float: left;
    padding: 0px;
    display: none;
    text-align: center;
}

.subtext {
    display: inline-block;
}

    .subtext p {
        color: #333333;
    }

        .subtext p:first-child {
            font-size: 14px;
            margin-bottom: 0px;
            display: none;
        }

        .subtext p:nth-child(2) {
            font-size: 30px;
            color: #fff;
            font-weight: bold;
        }

    .subtext img {
        display: inherit;
        position: relative;
        float: none !important;
        margin: 20px auto;
    }

.subul {
    text-align: center;
}

    .subul > li {
        float: left;
        width: 150px;
        margin: 0px 30px 0px 0px;
    }

        .subul > li:last-child {
            margin-right: 0px;
        }

        .subul > li > a {
            font-size: 18px;
            font-weight: 600;
        }

            .subul > li > a > i {
                float: right;
                position: relative;
                top: 3px;
            }

        .subul > li > ul {
            margin-top: 15px;
        }

            .subul > li > ul > li {
                font-size: 13px;
                transition: all ease 0.3s;
                height: 29px;
                margin-top: 1px;
            }

                .subul > li > ul > li:hover {
                    background-color: #4596cc;
                }

                .subul > li > ul > li > a {
                    padding: 5px 7px;
                    border-bottom: 1px solid rgba(255,255,255,0.3);
                    display: inline-block;
                    overflow: hidden;
                    width: 100%;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

                    .subul > li > ul > li > a > i {
                        margin-right: 5px;
                        position: relative;
                    }

    .subul li a {
        color: #fff;
        text-decoration: none;
        font-size: 23px;
        font-weight: bold;
        letter-spacing: -1px;
    }

    .subul img {
    }

.submenu-top3 {
    margin-bottom: 5px;
}

.submenu-normal {
    margin: 15px 0px;
}

.submenu-comment {
    color: white;
    font-size: 15px;
    margin-bottom: 25px;
}

.submenu-normal, submenu-top3 {
    text-align: left;
}

.main-submenu-desc {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: -1px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.main-submenu-ul {
    width: 90%;
}

    .main-submenu-ul li {
        margin-bottom: 5px;
        padding-bottom: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

        .main-submenu-ul li a {
            font-size: 15px;
        }

.popup_email, .popup_worship1, .popup_worship2, .popup_church1, .popup_church2, .popup_image {
    cursor: pointer;
}

.info-email {
    font-size: 14px;
    padding: 0px 15px 0px 15px;
    line-height: 1.8;
    text-align: center;
    cursor: pointer;
}

    .info-email span {
        color: #0500d6;
    }

.iframe-worship {
    height: 600px;
}


/* footer */
#footer {
    background: #333333;
    padding: 35px 0px;
    position: relative;
    text-align: center;
}

    #footer img {
    }

    #footer p {
        font-size: 15px;
        color: #959595;
        margin: 15px 0px 0px;
    }

    #footer a {
        color: #959595;
        text-decoration: none;
    }

/* gnb-all */
.gnb-all {
    display: none;
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: scroll;
}

    .gnb-all h2 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin: 50px 0px;
    }

    .gnb-all a {
        color: #fff;
        text-decoration: none;
    }

    .gnb-all img {
        margin: 80px 0px 50px;
    }

    .gnb-all .all-wrapper .all-close {
        color: #fff;
        cursor: pointer;
        font-weight: 600;
        font-size: 5em;
        float: right;
        margin: 30px 80px 0 0px;
    }

    .gnb-all .all-wrapper .container a {
        display: block;
        color: #fff;
    }

    .gnb-all .all-wrapper .container > ul > li {
        display: inline-block;
        vertical-align: top;
        float: left;
        width: 33%;
        margin: 30px 0px 0px;
    }

        .gnb-all .all-wrapper .container > ul > li > ul > li {
            display: inline-block;
            vertical-align: top;
            padding: 0px 30px;
            margin: 0px 0px 15px;
            font-size: 15px;
        }

        .gnb-all .all-wrapper .container > ul > li > a {
            margin: 0px 0px 18px;
            font-size: 25px;
            font-weight: 600;
            text-decoration: none;
        }

        .gnb-all .all-wrapper .container > ul > li:first-child {
            display: none;
        }

        .gnb-all .all-wrapper .container > ul > li > ul > li > a {
            color: #fff;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 20px;
            padding: 6px 0px;
            margin: 0 0px 15px;
        }

            .gnb-all .all-wrapper .container > ul > li > ul > li > a:hover {
                font-weight: bold;
                transition: 0.2s all ease;
            }

        .gnb-all .all-wrapper .container > ul > li > ul > li > ul > li > a {
            color: #fff;
            display: block;
            margin-bottom: 9px;
            height: 19px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-left: 1px;
        }

/* mobile */
.header-mobile-gnb .toggle {
    color: #333333 !important;
}

.mm-panels > #mm-1 {
    background-color: #005D9A !important;
}

.mm-panels > #mm-2,
.mm-panels > #mm-3,
.mm-panels > #mm-4,
.mm-panels > #mm-5,
.mm-panels > #mm-6,
.mm-panels > #mm-7,
.mm-panels > #mm-8,
.mm-panels > #mm-9,
.mm-panels > #mm-10,
.mm-panels > #mm-11,
.mm-panels > #mm-12,
.mm-panels > #mm-13,
.mm-panels > #mm-14,
.mm-panels > #mm-15,
.mm-panels > #mm-16,
.mm-panels > #mm-17,
.mm-panels > #mm-18,
.mm-panels > #mm-19,
.mm-panels > #mm-20,
.mm-panels > #mm-21,
.mm-panels > #mm-22,
.mm-panels > #mm-23,
.mm-panels > #mm-24 {
    background-color: #3993ad !important;
}

.mm-navbar {
    padding: 20px 0px !important;
    height: inherit !important;
}

    .mm-navbar a {
        font-size: 22px;
        color: #fff !important;
    }

.mm-listview > li > a, .mm-listview > li > span {
    padding: 20px 25px !important;
    font-size: 17px;
}

.mm-panels > .mm-panel > .mm-listview {
    margin: 20px 0px !important;
}

.mm-btn {
    top: unset !important;
}

.mm-listview > li, .mm-listview > li .mm-next, .mm-listview > li .mm-next:before, .mm-listview > li:after {
    text-align: center;
}

#mm-1 { padding-top:0px; }
#mm-1 .mm-navbar { display:none !important; }
#mm-1:before { height:0px; }
#mm-1 .mm-listview { margin-top:0px !important; }

.iframe-worship { border:0px; display:none; }
.tingle-modal-box__content { padding:15px !important; }

.direct-popup .visible-popups > .each { min-width:inherit !important; margin-top:15px !important; position:relative !important; margin-bottom:30px  !important; }


    .mRow1 {
        margin: 10px -4px 0px -4px;
    }

    .mRow2 {
        margin: 5px -4px 5px -4px;
    }

    .mRow3 {
        margin: 0px -4px 10px -4px;
    }

    .mRow1 div, .mRow2 div, .mRow3 div {
        padding: 0px 2px 0px 2px;
        text-align:center;
    }
#subgnb { display:none; }
@media (min-width:1200px) and (max-width:1499px) {
	#header { display:none; }
}

@media (min-width:993px) and (max-width:1199px) {
	 #header { display:none; }
    #gnb > li {
        padding: 0px 20px;
    }

    .subtext-wrap {
        width: 140px;
        margin-right: 20px;
    }

    .subul > li {
        float: left;
        width: 135px;
        margin: 0px 25px 0px 0px;
    }
}

@media (min-width:768px) and (max-width:992px) {
	#header { display:none; }
    .header-mobile-gnb {
        float: right;
        margin: 20px 0px 0px;
        font-size: 30px;
    }

    #footer {
        text-align: center;
    }

        #footer img {
            float: none;
        }

    #gnb-wrap img {
        display: inline-block;
        position: relative;
        left: 10px;
    }

    .header-mobile-gnb {
        margin: 40px 15px 0px;
    }
}

@media (min-width:768px) {
    .popup_image {
        height: 151px;
    }
}

@media (max-width:767px) {
    .header-mobile-gnb {
        position: absolute;
        right: 25px;
        z-index: 50;
        float: right;
        top: 25px;
    }

    #gnb-wrap {
        text-align: center;
        padding: 25px 0px;
    }

    #footer p {
        font-size: 11px;
        padding: 0px 15px;
    }

    #gnb-wrap {
        padding: 0px;
    }

    #footer img {
        float: none;
    }

    #footer {
        padding: 22px 0px;
        text-align: center;
    }

    #gnb-wrap img {
        width: 35%;
        margin: 20px 0px;
        display: inline-block;
    }

    .welcome1 {
        font-size: 30px !important;
    }

    .welcome2 {
        height: auto !important;
    }

    .welcome3 {
        font-size: 20px !important;
    }

    .welcome4 {
        padding: 0px !important;
    }

    .welcome4 > div div {
        padding: 0 !important;
        font-size:16px !important;
    }

    .welcome4 > div > div > div:first-child img:first-child {
        margin-top: 25px;
    }

    .welcome5 > div > div:first-child {
        text-align: center;
    }

    .welcome5 > div > div:nth-child(2) > div {
        width: 100% !important;
        text-align: center !important;
    }

    .visit1 > div > div {
        height: 135px !important;
    }

    .visit2 {
        width: 100% !important;
    }

    .newfam {
        font-size: 21px !important;
    }

    .newfamp {
        font-size: 15px !important;
        letter-spacing:-1px;
    }

    .intro1 {
        padding: 0 !important;
        width:100% !important;
    }

    .intro1 p{
        text-align:center;
    }

    .intro2 {
        padding: 10px 5px 0px 5px !important;
        width: 100% !important;
    }

    .intro2 div {
        text-align: justify !important;
    }
    
    .intro2 > div:first-child{
    		text-align: center !important;
    }

    .intro2 #sub02 {
        font-size: 16px !important;
        line-height: 40px !important;
    }
    
    .intro2 #sub111 {
    		font-size: 16px !important;
        line-height: 40px !important;
        letter-spacing: -1.5px !important;
    }
    
    .intro2 #sub02 br {
    		display:none;
    }

    .view1 {
        width: 100% !important;
        margin: 0 !important;
    }

    .greeting1 {
        font-size: 25px !important;
    }

    .people1 img {
        width: 100% !important;
    }

    .info1 {
        padding: 10px 0px 0px 0px !important;
        text-align: center;
    }

    .support1 {
        margin: 0 !important;
        width: 100% !important;
    }

    .support1 div {
        text-align: justify !important;
    }

    .lifestudy {
        width: 95% !important;
    }

    .lifetable tr td:nth-child(2) {
        width: 13% !important;
    }

    .love1, .love3 {
        padding: 0 !important;
    }

    .love1 img {
        height: 359px !important;
    }

    .love2, .love4 {
        padding: 0 !important;
    }

    .love2 .background_news {
        height: auto !important;
        padding: 28px 15px !important;
    }

    .love2 .background_news #sub01 strong {
        font-size: 27px;
    }

    .love4 .background_news {
        height: auto !important;
        padding: 12px 15px !important;
    }

    .love4 .background_news #sub02{
        margin-bottom:15px !important;
    }

    .love4 .background_news #sub01 strong{
        font-size:27px;
    }

    .lovetable td {
        padding: 10px 6px !important;
    }

    .lovetable2 td {
        padding: 10px 7px !important;
    }

    .clubinfo {
        padding-left: 0px !important;
    }

    .community1 {
        padding: 0px 15px 0px 15px !important;
    }

    .community1 img {
        height: auto !important;
    }

    .community2 {
        padding: 55px 20px 0px 20px !important;
    }

    .community2 > div > div:nth-child(2) {
        font-size: 27px !important;
    }

    .community2 > div > div:nth-child(3) {
        
    }

    .lovedesc {
        font-size:17px !important;
    }

    .lovedesc br {
        display: none;
    }

    #footer p {
        color: #D1D1D1;
        font-size: 14px;
        margin: 0px;
    }

    #footer .container{
        padding:0px;
    }

    #footer .container div {
        margin-bottom: 15px;
    }

    #footer a {
        color: #D1D1D1;
    }

    #footer .container div span {
        padding: 8px;
        background: #434343;
        border-radius: 5px;
        transition: 0.3s;
    }

    #footer .container div span:hover {
        background: gainsboro;
        color: black;
    }
}
