﻿@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: 190px;
    margin-bottom: 16px;
}

.imgbox img {
    height: 100%;
    width: 100%;
}

.topbar-login {
    top: 50px;
    position: absolute;
	right:20px
}

.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: 10px 0px 0px;
}
.subtext-wrap { float:left;  padding:0px; display:none; text-align:center; }
.subtext { display:inline-block; margin-top:30px; }
.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;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
}
.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: 21px;
    font-weight: bold;
    letter-spacing: -1px;
}
.subul img {

}
.submenu-top3 {
    margin-bottom: 5px;
}
.submenu-normal {
    margin: 15px 0px 20px;
}
.submenu-normal[name='461'],
.submenu-normal[name='462'] { margin-bottom:40px; }
.submenu-comment {
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
}
.submenu-normal, submenu-top3 {
    text-align:left;
}
.main-submenu-desc {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    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;
        white-space: nowrap;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }


.main-submenu-ul-top3 li{
	text-align:left; 
}
.main-submenu-ul-top3[name='614'] { width:110px; margin:-15px auto 0; text-align:left; }
.main-submenu-ul-top3[name='614'] li { display:inline-block; }
.main-submenu-ul-top3[name='613'] { width:150px; margin:-15px auto 0; }
.main-submenu-ul-top3[name='6650'] { width:150px; margin:-15px auto 0; text-align:left;  }
.main-submenu-ul-top3[name='6650'] li { display:inline-block; }
.main-submenu-ul-top3[name='615'] { display:none; }

.main-submenu-blank{
    height:17px;
}

.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: 605px;
    border:0px; 
}
.iframe-worship[name='church1'] { height:345px; }
.iframe-worship[name='church2'] { height:810px; }

*/

/* footer */
#footer {
    background: #333333;
    /*height: 190px;*/
    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;}
.iframe-worship { border:0px; display:none; }

.info-email { font-size:22px; word-break:keep-all; }

@media (min-width:1200px) and (max-width:1499px) {

}

@media (min-width:993px) and (max-width:1199px) {
    #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) {
    #gnb {
        display: flex;
        white-space: nowrap;
        justify-content: space-between;
    }
        #gnb > li > a {
            font-size: 14px;
        }
    .header-mobile-gnb {float:right; margin:20px 0px 0px; font-size:30px;}
  #gnb > li { padding:0px 25px; }
    #footer { text-align:center; }
    #footer img { float:none;}
    #gnb-wrap img {
    }
    .header-mobile-gnb {
        margin: 40px 15px 0px;
    }
    .gnb2 .container { width:95%; }
    .box-submenu { /*width:240px;*/ width:25%; vertical-align:top; padding:0px 5px; }
    .box-submenu .imgbox { height:140px; }
    .subul li a {font-size:16px;}
    .main-submenu-desc { font-size:12px; }
    .submenu-comment { font-size:12px; }
    .main-submenu-ul li a {font-size:12px;}
}

@media (min-width:768px){
    .popup_image {
        height: 151px;
    }
}

@media (max-width:767px) {
    .header-mobile-gnb {
        float: right;
        margin: 20px 0px 0px;
        font-size: 30px;
    }

    #footer p {
        font-size: 11px;
        padding: 0px 15px;
    }

    #gnb-wrap {
        padding: 0px;
    }

    #footer img {
        float: none;
    }

    #footer {
        padding: 30px 0px;
        text-align: center;
    }

    #gnb-wrap img {
        width: 50%;
        margin: 15px 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;
        }

        .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;
    }
    .intro1 {
        padding:0 !important;
    }
    .intro2 {
        padding: 10px 5px 0px 5px !important;
    }
    .intro2 div{
        text-align:justify !important;
    }
    .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: 27px 15px !important;
    }
    .love4 .background_news {
        height: auto !important;
        padding: 13px 15px !important;
    }
    .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) {
        font-size: 14px !important;
    }
	.lovedesc br {
		display:none;
	}
}
