@import url(https://cdn.rawgit.com/openhiun/hangul/14c0f6faa2941116bb53001d6a7dcd5e82300c3f/nanumbarungothic.css);

body {
    margin: 0px;
    font-family: 'NanumSquare';
}

/*.mobile-gnb > ul >li >ul { min-height:100px; overflow-y:auto; }*/

.glyphicon {
    color: #2A362C !important;
}

#topbar {
    width: 100%;
    background: #082744;
    height: 40px;
    position: relative;
}

.topbar_iconbox {
    height: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 0 21px;
	    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .topbar_iconbox a > img {
        width: 21px;
        padding: 0px 0;
    }

    .topbar_iconbox span {
        padding: 0px 20px;
        color: #758177;
    }

    .topbar_iconbox .login {
        display: inline-block;
        float: right;
    }

        .topbar_iconbox .login .widget-login a {
            color: #fff;
            padding: 0px 14px;
            display: inline-block;
            font-size: 14px;
        }

        .topbar_iconbox .login .widget-login span {
            color: white !important;
        }

.topbar_box {
    width: 80px;
    float: right;
    color: #fff;
    height: 50px;
    text-align: center;
    padding-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

    .topbar_box:hover {
        background: #59755E;
    }

.widget-login a {
    padding: 0 10px;
    text-decoration: none;
}

    .widget-login a:hover {
        background: #4C5365;
    }

.widget-login span {
    display: none;
	border: 1px solid #000;
}


#main_nav {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    height: 114px;
    /*overflow: hidden;*/
    position: relative;
}

#logo {
    float: left;
    position: absolute;
    float: left;
    top: 20px;
   
    width: auto;
}

.gnb {
    margin-left: 54px;
}

    .gnb ul.depth1 {
        list-style: none;
        margin: 0px;
        margin-top: 42px;
        margin-left: 265px;
    }

        .gnb ul.depth1 li {
            float: left;
            /*margin: 0px -13px;*/
            margin-left:50px;
            text-align: center;
        }

            .gnb ul.depth1 li a {
                color: #312a2a;
                /*font-weight: bold;*/
                font-size: 20px;
                text-decoration: none;
                /*padding-bottom: 30px;*/
                /*font-family: 'nanumgothic';*/
            }

                .gnb ul.depth1 li a:hover {
                    border-bottom: 3px solid #20957B;
                    padding-bottom: 10px;
                }

            .gnb ul.depth1 li span {
                padding-left: 13px;
            }

            .gnb ul.depth1 li:last-child span {
                display: none;
            }

.gnb-line {
    background: #2A362C;
    text-align: center;
}

    .gnb-line li {
        list-style-type: none;
        display: inline-block;
        padding: 17px 19px;
        font-size: 16px;
    }

    .gnb-line li:hover{
        background-color:#019DD6;
    }

        .gnb-line li a {
            color: white;
        }

    .gnb-line .gnb-line-wrapper {
        margin: 0 auto;
        width: 1200px;
    }

        .gnb-line .gnb-line-wrapper .gnb-line-cont li > a {
            text-decoration: none;
        }

.depth2 {
    list-style: none;
    margin: 0 auto;
    display: inline-block;
    padding: 0px;
    height: 100%;
}

    .depth2 li {
        text-align: center;
        float: left;
        display: inline;
        height: 100%;
        padding: 11px 20px;
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
        cursor: pointer;
    }

        .depth2 li:hover {
            background: #005478;
        }

        .depth2 li a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
        }

.main_box_wrapper {
    margin: 0 auto;
}

.box {
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

    .box:nth-child(3n) {
        margin-right: 0px;
    }

.box1, .box2 {
    height: 350px;
    float: left;
    position: relative;
}

.box1 {
    width: 560px;
}

.box2 {
    width: 280px;
}


.box1 p.title {
    font-size: 36px;
    color: #fff;
    padding-left: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.box1 p.title2, .box2 p.title2 {
    font-size: 28px;
    color: #fff;
    padding-left: 25px;
    margin-bottom: 0px;
    margin-top: 20px;
}

.box-text {
    position: absolute;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding-left: 15px;
}

.box-table {
    bottom: 11px;
    table-layout: fixed;
    width: 100%;
    position: absolute;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding-left: 15px;
}

    .box-table td {
        padding: 4px 3px;
        width: 50%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.row {
    /*margin: 10px 0px;*/
    overflow: hidden;
}

.divider_left {
    float: left;
    width: 100%;
    position: relative;
}

.divider_right {
    position: relative;
    float: left;
    width: 280px;
    height: 162px;
    border: 1px solid #ddd;
}

.main_icon_list {
    overflow: hidden;
    padding: 15px 7px;
    border: 1px solid #eee;
    position: relative;
}

    .main_icon_list img {
        height: 90px;
    }

    .main_icon_list p {
        text-align: center;
        font-size: 14px;
        color: #777;
        font-weight: 500;
        margin: 0px;
    }

    .main_icon_list .bar img {
        width: 10px;
        height: 120px;
    }

footer {
    background: #012E41;
    width: 100%;
    padding: 45px 0px 25px 0px;
    margin-top: 30px;
}
footer .row{
    margin:0;
    overflow:inherit !important;
}
footer p {
    color: #6F776F;
    font-size: 15px;
    float: left;
    line-height: 160%;
    text-align: left !important;
}
.footer-box a {
    text-decoration: none;
    color: #6F776F;
}

.span-copyright {
    white-space:nowrap;
}

#widget_sermon {
    position: absolute;
    top: 125px;
    left: 45px;
}
#widget_sermon p {
    color: #fff;
    margin: 0px;
}
#widget_sermon .sermon_date {
    font-size: 20px;
}
#widget_sermon .sermon_title {
    font-size: 34px;
    font-weight: 600;
    margin: 20px 0px;
}
#widget_sermon .sermon_bible {
    font-size: 24px;
}
#widget_sermon .sermon_pastor {
    font-size: 24px;
    margin-top: 20px;
}

.widgetTabA {
    border: 0px !important;
    padding-left: 20px;
    margin-bottom: 30px !important;
}

.widget_news, .widget_news2 {
    list-style: none;
}
.widget_news li {
    padding: 15px 0px !important;
}
.widget_news li a, .widget_news2 li a {
    color: #fff;
    font-size: 18px;
}
.black .widget_news2 li a, .black .widget_news2 .date {
    color: #515544 !important;
}
.black .widget_news2 li {
    border-color: #ABD275 !important;
}
.widget_news2 {
    padding: 0px 20px !important;
}
.widget_news2 li {
    line-height: 180%;
    padding: 12px 0px !important;
    border-bottom: 1px solid #ddd;
}
.widget_news2 li:nth-child(5n), .widget_news2 li:last-child {
    border: 0px;
}
.widget_news2 .date {
    color: #fff !important;
    font-size: 14px;
}
.widgetTabA {
    padding-left: 20px !important;
}
.widgetTabA li {
    background: none !important;
}
.widgetTabA li a {
    background: none !important;
    color: #fff !important;
    border: 0px !important;
    font-size: 16px !important;
}
.widgetTabA li.active a, .widgetTabA li a:hover {
    color: #DAF627 !important;
    font-weight: 500 !important;
    text-decoration: none;
}
.widgetNavigator {
    text-align: center !important;
}
.widgetNavigator li {
    padding: 0px 3px;
}
.widgetNavigator .nav-btn {
    font-size: 16px;
    cursor: pointer;
}
.b175 {
    color: #8BBCC0;
}
.b181 {
    color: #A9A9A9;
}
.b179 {
    color: #E5F0BA;
}
.white {
    color: #fff !important;
}
.sub_title {
    font-family: 'nanumsquare';
}
.xe_content {
    overflow: hidden !important;
}
#topbar_m {
    background: #fff;
    color: #182D1C;
    height: 50px;
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 0px;
    border-bottom: 2px solid #2A362C;
}
    #topbar_m .top-logo {
        margin: 0px;
        float: left;
        height: 45px;
        display: inline-block;
    }

        #topbar_m .top-logo img {
            height: 100%;
        }

.navbar-toggle {
    padding: 0px;
    margin: 5px;
    top: 7px;
}

    .navbar-toggle span {
        font-size: 26px;
    }

.m_list_depth1 {
    background: #005478;
    color: #fff !important;
}

a.list-group-item:focus, a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover {
    background: #005478;
    color: #fff !important;
}

.bx-wrapper {
    margin-top: 30px !important;
}


.box {
    position: relative;
}

.bg {
    height: 100%;
    position: absolute;
    top: 0px;
    z-index: 0;
}

.sub_head {
    font-size: 24px;
    top: 14px;
    position: relative;
    padding: 15px 30px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

#sub_wrapper {
    margin: 0 auto;
    padding: 40px 15px;
    min-height: 800px;
    overflow: hidden;
}

@media(max-width:1199px) {
    .gnb ul.depth1 {
        margin-top: 5px;
        margin-left: 40px;
    }

        .gnb ul.depth1 li {
            margin: 0px 15px;
        }

            .gnb ul.depth1 li a {
                font-size: 15px;
            }

    #main_nav {
        height: 70px;
    }

    #logo {
        top: 18px;
        height: 29px;
    }

    .box1, .box2 {
        width: 305px;
    }

    .divider_left {
        margin-right: 0px;
    }

    .main_icon_list img {
        height: 73px;
    }

    .bg {
        left: -50px;
    }
}

@media(max-width:992px) {

    .box1, .box2 {
        width: 355px;
    }

    .box:nth-child(3n) {
        margin-right: 10px;
    }

    .box:nth-child(2n) {
        margin-right: 0px;
    }

    .divider_left {
        margin-right: 0px;
    }

    .main_icon_list img {
        height: 100px;
    }

    .main_icon_list img {
        height: 54px;
    }

    .main_slide {
        margin-top: 50px;
    }

    .navbar-toggle {
        display: block !important;
    }

    .bg {
        height: 100%;
        left: 0px;
    }

    #sub_title {
        margin-top: 0px;
    }

    #sub_wrapper {
        margin-top: 15px;
        padding: 0px 5px;
    }
}

@media(max-width:768px) {
    
    .box {
        height: 200px;
        width: 100%;
        margin-right: 0px;
    }

    .box1 p.title {
        font-size: 24px;
        color: #fff;
        padding-left: 14px;
        margin-top: 7px;
    }

    .box1 p.title2, .box2 p.title2 {
        font-size: 24px;
        color: #fff;
        padding-left: 14px;
        margin-bottom: 5px;
        margin-top: 7px;
    }

    #widget_sermon {
        position: absolute;
        top: 55px;
        left: 20px;
    }

        #widget_sermon .sermon_title {
            font-size: 25px;
            margin: 10px 0px;
        }

    .widgetTabA {
        padding-left: 0px !important;
    }

    .widget_news {
        padding-left: 20px;
    }

    .widget_news2 li:nth-child(2n) {
        border: 0px;
    }

    .bx-wrapper .bx-controls-direction a {
        top: 36% !important;
    }

    .footer-box {
        width: 100%;
        padding:0 15px !important;
    }

    footer {
        padding: 10px;
    }
    .span-copyright {
        white-space: normal;
    }

    .main_icon_list img {
        height: 55px;
    }

    .icon_box {
        height: 90px;
    }

    .main_icon_list div {
        width: 33%;
        text-align: center;
        margin: 5px 0px;
    }

    .divider_left {
        width: 100%;
    }

        .divider_left p {
            font-size: 12px;
        }

    .account input[type="submit"] {
        padding: 0px 25px !important;
    }

    .account > fieldset {
        z-index: 998;
    }

    .bx-wrapper {
        height: 155px !important;
        display: block;
        overflow: hidden;
        margin-top: 0px !important;
    }

    .bx-viewport {
        height: 155px !important;
    }

    .bg {
        height: 100%;
        right: 0px;
        left: auto;
    }

    .main_select_edu, .main_select_work {
        width: 100% !important;
        left: 0px !important;
        z-index: 10;
    }
}


.main_select_edu {
    width: 250px;
    height: 25px;
    position: absolute;
    bottom: -30px;
    left: -57px;
}

    .main_select_edu table {
        width: 100%;
        height: 100%;
    }

        .main_select_edu table td {
            width: 20%;
            text-align: center;
            background: #FADA4B;
            border: 1px solid #fff;
        }

            .main_select_edu table td a {
                color: #777;
                text-decoration: none;
            }

                .main_select_edu table td a:hover {
                    color: #fff;
                }

.main_select_work {
    width: 150px;
    height: 25px;
    position: absolute;
    bottom: -30px;
    left: -10px;
}

    .main_select_work table {
        width: 100%;
        height: 100%;
    }

        .main_select_work table td {
            width: 50%;
            text-align: center;
            background: #FADA4B;
            border: 1px solid #fff;
        }

            .main_select_work table td a {
                color: #777;
                text-decoration: none;
            }

                .main_select_work table td a:hover {
                    color: #fff;
                }


/* ¹ÝÀÀÇü css */
@media(min-width:992px) and (max-width:1199px) {
    .gnb ul.depth1 {
        margin-left: 63px;
    }

        .gnb ul.depth1 li {
            margin: 16px 8px;
            padding-left: 40px;
        }

    #logo {
        height: 29px;
    }

    .church-slogun span {
        margin-left:75px;
        padding: 0px 30px;
        border-right:1px solid #000;
        float:left;
        margin-top:17px;
    }
    .church-slogun h1 { display:inline-block; padding: 0px 30px; margin:9px 0px!important; float:left;}

    .latest-area .latest-gallary .latest-special .p4 {
        font-size:22px;
        padding-left: 15px;
        position: relative;
        bottom: -18px;
        color:#000000;
    }
}

@media(min-width:769px) and (max-width:991px) {
    body {
        padding-top: 50px;
    }

    .widget-login {
        float: right;
        padding-top: 8px;
        color: #333;
    }

        .widget-login a {
            cursor: pointer;
            padding: 0 6px;
        }

            .widget-login a:hover {
                background: none;
            }

    .gnb ul.depth1 li{
        margin: 0px 6px;
    }
    .church-slogun .row span {
        margin-left:25px;
        padding: 0px 30px;
        border-right:1px solid #000;
        float:left;
        margin-top:17px;
    }
    .church-slogun .row h1 {
        font-size:29px;
        display:inline-block;
        padding: 0px 30px;
        margin:9px 0px!important;
        float:left;
    }

    .sub-top-img {
    }

    #mainmenu_m {
        background: #2A362C !important;
        width: 200px !important;
        opacity: 0.96;
    }

    .mobile-gnb > ul {
        /*text-align:center;*/
    }

        .mobile-gnb > ul > li {
            border-bottom: 1px solid #2A362C;
            display: inline-block;
            width: 100%;
        }

            .mobile-gnb > ul > li:last-child {
                border-bottom: 0;
            }

            .mobile-gnb > ul > li.on > a {
                display: block;
            }

            .mobile-gnb > ul > li.on > ul {
                display: block;
                background: #2A361B;
            }

                .mobile-gnb > ul > li.on > ul > li {
                    padding: 0 4px;
                }

            .mobile-gnb > ul > li > a {
                color: #fff;
                cursor: pointer;
                font-size: 14px;
                text-decoration: none;
                display: block;
                padding: 14px;
            }

            .mobile-gnb > ul > li > ul {
                display: none;
            }

                .mobile-gnb > ul > li > ul > li > a {
                    color: white;
                    text-decoration: none;
                    padding: 10px;
                    display: block;
                    cursor: pointer;
                }

                    .mobile-gnb > ul > li > ul > li > a:before {
                        content: ' - ';
                    }
             
             
             
        .latest-area .latest-gallary .latest-special .p4 {
            font-size: 29px;
            padding-left: 15px;
            position: relative;
            bottom: -18px;
            color:#000000;
        }
}

@media(min-width:501px) and (max-width:768px){
    .church-slogun .row span {
        margin-left:25px;
        padding: 0px 30px;
        border-right:1px solid #000;
        float:left;
        margin-top:17px;
    }
    .church-slogun .row h1 {
        font-size:29px;
        display:inline-block;
        padding: 0px 30px;
        margin:9px 0px!important;
        float:left;
    }
}

@media(max-width:768px) {
    .main_select_work table td {
        width: 100%;
    }

    .latest-area .latest-gallary .latest-special .p4 {
            font-size: 25px;
            padding-left: 15px;
            position: relative;
            bottom: -16px;
            color:#000000;
        }

     body {
        padding-top: 50px;
    }

    .widget-login {
        float: right;
        padding-top: 8px;
        color: #333;
    }

        .widget-login a {
            cursor: pointer;
            padding: 0 6px;
        }

            .widget-login a:hover {
                background: none;
            }

    .gnb ul.depth1 li{
        margin: 0px 6px;
    }
    
    .sub-top-img {
    }

    #mainmenu_m {
        background: #2A362C !important;
        width: 200px !important;
        opacity: 0.96;
    }

    .mobile-gnb > ul {
        /*text-align:center;*/
    }

        .mobile-gnb > ul > li {
            border-bottom: 1px solid #2A362C;
            display: inline-block;
            width: 100%;
        }

            .mobile-gnb > ul > li:last-child {
                border-bottom: 0;
            }

            .mobile-gnb > ul > li.on > a {
                display: block;
            }

            .mobile-gnb > ul > li.on > ul {
                display: block;
                background: #2A361B;
            }

                .mobile-gnb > ul > li.on > ul > li {
                    padding: 0 4px;
                }

            .mobile-gnb > ul > li > a {
                color: #fff;
                cursor: pointer;
                font-size: 14px;
                text-decoration: none;
                display: block;
                padding: 14px;
            }

            .mobile-gnb > ul > li > ul {
                display: none;
            }

                .mobile-gnb > ul > li > ul > li > a {
                    color: white;
                    text-decoration: none;
                    padding: 10px;
                    display: block;
                    cursor: pointer;
                }

                    .mobile-gnb > ul > li > ul > li > a:before {
                        content: ' - ';
                    }
            
            .mobile-gnb > ul > li > ul > li > ul > li {
								margin: 6px 0px;	
						}
						.mobile-gnb > ul > li > ul > li > ul > li > a {
								color:#fff;
								text-decoration:none;
						}
						
        .latest-area .latest-gallary .latest-special .p4 {
            font-size: 29px;
            padding-left: 15px;
            position: relative;
            bottom: -18px;
            color:#000000;
        }
    
}

@media(max-width:500px){
		.mobile-gnb > ul > li.on:nth-child(3) > ul {
        height:169px;
        overflow:scroll;
    }	
}

@media(min-width: 381px) and (max-width:500px) {
    .church-slogun .row span {
        
        padding: 0px 8px;
        border-right:1px solid #000;
        float:left;
        margin-left: 30px;
        
    }
    .church-slogun .row h1 {
        font-size:18px;
        display:inline-block;
        padding: 0px 8px;
        margin:2px 0px!important;
        float:left;
    }
}

@media(min-width:321px) and (max-width:380px){
    .church-slogun .row span {
        
        padding: 0px 8px;
        border-right:1px solid #000;
        float:left;
        margin-left:28px
        
    }
    .church-slogun .row h1 {
        font-size:12px;
        display:inline-block;
        padding: 0px 8px;
        margin:2px 0px!important;
        float:left;
    }
}

@media(max-width:320px){
    .church-slogun .row span {
        
        padding: 0px 8px;
        border-right:1px solid #000;
        float:left;       
        
    }
    .church-slogun .row h1 {
        font-size:12px;
        display:inline-block;
        padding: 0px 8px;
        margin:2px 0px!important;
        float:left;
    }
}
