﻿
@media (min-width: 1500px) {
    #content > .container, #subgnb > .container {
        padding: 0px !important;
    }
}
.board-theme .theme-detail .detail-content .each-img img {
    display: block;
    margin: 0 auto;
}

#subtop img {
    width: 100%;
    min-height:248px;
}

#subtop .dot {
    width: 100%;
    height: 100%;
    background: url(/UserData/ydpchp/Layouts/ydpchp_Layout/Images/sub/dot.png) rgba(0,0,0,.0) !important;
    position: relative;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
.sub-home{
	display:inline-block;
	float:left;
	border-left:1px solid #D3D3D3;
	border-right:1px solid #D3D3D3;
	padding:10px 0px 20px 0px;
}
.sub-home a{padding: 10px 20px 10px 20px;}


#subgnb {
    border-bottom: 1px solid #ddd;
    padding: 0px 0px;
}

    #subgnb .subgnb-home {
        float: right;
        display: inline-block;
        padding: 15px 20px;
    }

    #subgnb span, #subgnb a {
        font-size: 16px;
        color: #777;
        position: relative;
        top: 3px;
        text-decoration: none;
		
    }

        #subgnb .active {
            color: #000!important;
        }
   
    #subgnb .dropdown {
        display: inline-block;
		float:left;
		border-right:1px solid #D3D3D3;
		color:gray;
    }


        #subgnb .dropdown .btn {
            padding: 15px 15px;
            font-size: 16px;
            font-weight: 700;
        }

        #subgnb .dropdown .btn-default {
            border: none;
        }

        #subgnb .dropdown .btn:hover {
            transition: 0.3s all ease;
        }
	
     .backgrund-button{
		 background-color:white;
	 }
	 .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
		 color:black!important;
	 }
	 

    #subgnb .dropdown-menu > li > a {
        padding: 10px 10px;
        transition: 0.3s all ease;
        font-size: 18px;
    }

    #subgnb .caret {
        border-top: 2px solid #000;
        border-right: 0px solid transparent;
        border-left: 2px solid #000;
        position: relative;
        margin: 0;
        height: 8px;
        width: 8px;
        transform: rotate(225deg);
        transition: all 0.6s;
        margin-top: -10px;
        margin-left: 20px;
    }

#content {
    padding: 40px 0px;
}

    #content .third-menus {
        margin: 10px 0 42px 0;
        text-align: center;
    }

        #content .third-menus ul {
            display: inline-block;
        }

            #content .third-menus ul li {
                border: 1px solid #dedede;
                float: left;
                margin-left: -1px;
            }

                #content .third-menus ul li a {
                    color: #333;
                    text-decoration: none;
                    padding: 8px 17px;
                    font-size: 12px;
                    min-width: 160px;
                    display: inline-block;
                    text-align: center;
                }

                #content .third-menus ul li.active a {
                    color: #fff;
                }

#sub_title {
    cursor:default;
    font-size: 35px;
    font-weight: 600;
    margin: 0px 0px 50px;
    border-bottom: 4px solid #fbaf34;
    display: inline-block;
    padding-bottom: 10px;
    font-family: "nanum square",sans-serif;
}

.lnb {
    padding: 0px 30px;
}

.lnb_title {
    font-size: 30px;
    border-bottom: 1px solid #000;
    padding: 40px 0px;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.sub-left-triangle {
    position: absolute;
    right: 0px;
    top: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-top-width: 30px;
    border-top-style: solid;
    border-top-color: #182D1C;
}

.sub_depth2 {
    margin-top: 0px;
    padding-top: 0px;
}

    .sub_depth2 li {
        padding: 20px 25px;
        border-bottom: 1px solid #ddd;
        transition: all ease 0.3s;
    }

        .sub_depth2 li.active, .sub_depth2 > li:hover {
            background: #d9d3f2;
        }

    .sub_depth2 > li > a {
        color: #777;
        font-weight: 600;
        font-size: 17px;
        text-decoration: none;
    }

    .sub_depth2 li a {
        color: #777;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }

    .sub_depth2 li i {
        position: relative;
        margin: 3px 15px 0px 0px;
        cursor: pointer;
        float: right;
        font-size: 16px;
    }

        .sub_depth2 li i.fa-minus {
            display: none;
        }

    .sub_depth2 li:last-child {
        border-color: #000;
    }

.sub_depth3 {
    padding: 0px 15px;
    margin-top: 15px;
    display: none;
}

    .sub_depth3.active {
        display: block;
    }

    .sub_depth3 li {
        padding: 10px 20px;
        border-bottom: 1px solid #999;
        background-color: #f4c9ff;
    }

        .sub_depth3 li a {
            color: #999;
            font-size: 15px;
            text-decoration: none;
            transition: all ease 0.3s;
        }

            .sub_depth3 li a:hover {
                color: #739AB9;
            }

    .sub_depth3.a_96 li a:hover {
        color: #4E5397;
    }

    .sub_depth3.a_98 li a:hover {
        color: #E4C640;
    }

/***/

/*서브메뉴*/
.d3-subgnb-menu {
    display: inline-block;
}

.d3-menulist {
    display: inline-block;
    padding: 15px 20px;
    float: left;
}

    .d3-menulist a {
        font-size: 20px !important;
    }

.d3-subgnb-menu div.active a {
    color: black !important;
    padding-bottom: 3px;
    border-bottom: 2px solid #000;
}

/*서브페이지*/
.name-div {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 15px;
    padding: 5px 15px;
    font-size: 16px;
    width: 100px;
    color: #ffffff;
    background: rgba(0,0,0,0.5);
    cursor: default;
}

.fa-plus {
    position: absolute;
    right: 0;
    font-size: 16px;
    text-align: center;
    padding: 8px 0px;
    bottom: 0px;
    color: white;
    margin-right: 15px;
}

#sum_modal {
    position: fixed;
    width: 850px;
    height: 100%;
    top: 50%;
    margin-top: -175px;
    left: 50%;
    margin-left: -425px;
    z-index: 1;
}

    #sum_modal h2 {
        margin: 0;
    }

    #sum_modal button {
        display: inline-block;
        width: 100px;
        margin-left: calc(100% - 100px - 10px);
    }

    #sum_modal .sum_modal_content {
        width: 100%;
        margin: 0 auto;
    }

    #sum_modal .sum_modal_layer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

.close_btn {
    cursor: pointer;
}

.subTitle {
    text-align: center;
}

    .subTitle #sub_title {
        margin: 30px 0px 50px;
    }
    
footer { display:block; float:none; height:inherit;  }
footer .church-info {  position:relative; bottom:inherit; padding-left:0px; float:none;  }
     
     .news-content-bottom{ text-align:center; padding:15px 0px; border-top:1px solid #ddd;  }

#third_tab { width:100%; text-align:center; margin-bottom:30px;  text-align:center; }
#third_tab li { display:inline-block; width:20%; margin:-1px -2px 0px -2px; cursor:pointer; font-size:16px; padding:0px; border:1px solid #ddd; transition:all 0.3s ease; text-align:center; }

#third_tab li a { text-decoration:none; color:#555; display:block; padding-top:10px; padding-bottom:10px; }
#third_tab li:hover {  background:#3a5c7f;   }
#third_tab li:hover a { color:#fff;}
#third_tab li.active { background:#2F5073; }
#third_tab li.active a { color:#fff; }
#third_tab li[sitemenu="70"] { width:16.8%; }

#subtop { position:relative; z-index:0; height:250px; background-size:auto 100% !important; background-position:center !important; margin-top:-60px; margin-left:auto; margin-right:auto; max-width:1920px; }
#subtitle { text-align: center; }
#subtitle img { margin-top:-100px; z-index:1; position:relative; width:190px; }

.news-content-bottom { width:100%; }
.news-content-bottom li { display:inline-block; max-width:14%;  text-align:center; padding:0px 10px;  }
.news-content-bottom li img { height:30px; }


.star_title{font-size:24px; }
.star_h{font-size:28px; line-height: 160%; color:#155598;-ms-word-break: keep-all;word-break: keep-all; }
.star_1{font-size:22px; color:#2F5073; font-weight:500; -ms-word-break: keep-all;word-break: keep-all;}
.box_ju{-webkit-border-radius: ;-moz-border-radius: ;border-radius: 30px ; border: 5px solid #79a8d8; padding:30px; font-weight:300;  background-color: #fff; -ms-word-break: keep-all;word-break: keep-all;}
.star_year td{  padding:15px; -ms-word-break: keep-all;word-break: keep-all; vertical-align: top !important;}
.star_year td:nth-child(1){color: #155598;}


@media (min-width:1200px) and (max-width:1499px) {
    .lnb {
        padding: 0px 15px;
    }


}

@media (min-width:993px) and (max-width:1199px) {
    .lnb {
        padding: 0px 5px;
    }

    .sub_depth2 li {
        padding: 20px 15px;
    }
    	.board-theme .theme-detail .detail-video iframe{/*height: calc(56.25vw)!important;*/ top:inherit;}

}


@media (min-width:768px) and (max-width:992px) {
    .subTitle {
        text-align: center;
    }

    #sub_title {
        font-size: 30px;
        margin: 0px 0px 30px;
    }

    .header-mobile-gnb {
        float: right;
        margin-top: 5px;
        font-size: 30px;
    }

    #footer {
        text-align: center;
    }

        #footer img {
            float: none;
            margin: 0px;
        }
     #subgnb #subtop {
        margin-top: 100px;
    }
     	.board-theme .theme-detail .detail-video iframe{top:inherit;}

    .news-content-bottom li {
        display: inline-block;
        max-width:24%;
        width: 24%;
    }
}

@media (max-width:767px) {
	 	.board-theme .theme-detail .detail-video iframe{top:inherit;}


    .subTitle #sub_title {
        margin: 45px 0px 50px;
    }
    #subgnb .dropdown-menu > li > a {
        padding: 10px 10px !important;
        font-size: 12px;
    }

    #footer {
        text-align: center;
    }

        #footer img {
            float: none;
            margin: 0px;
        }

        #footer p {
            font-size: 14px;
        }

    #gnb-wrap {
        padding: 0px;
    }

    #subgnb span, #subgnb a {
        font-size: 14px;
    }

    .subTitle {
        text-align: center;
    }

    #sub_title {
        font-size: 25px;
        margin: 0px 0px 30px;
    }

    #header .container {
        padding: 0px 15px;
    }

    #subgnb .dropdown .btn {
        font-size: 12px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .subgnb-home {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    #sum_modal {
        position: fixed;
        width: 100% !important;
        height: 100%;
        top: 50%;
        left: 0% !important;
        margin-top: -300px !important;
        margin-left: 0px !important;
        z-index: 1;
    }
    .layout > .head-top {
        background-image:linear-gradient(45deg,#7ABDFF,#9779FF);
    }
    #subgnb #subtop {
        margin-top: 100px;
    }


    .news-content-bottom li {
        display: inline-block;
        max-width: 24%;
        width: 24%;
    }

    #third_tab { text-align:left; }
    #third_tab li { width:33%; text-align:center; }


.star_title{font-size:24px;}
.star_h{font-size:18px;   line-height: 160%; }
.star_1{font-size:16px; color:#2F5073; font-weight:500;}
.box_ju{-webkit-border-radius: ;-moz-border-radius: ;border-radius: 30px ; border: 5px solid #79a8d8; padding:30px; font-weight:300;  background-color: #fff; font-size:15px}
.star_txt{font-size:15px;}
.star_year td{font-size:15px;  padding: 3px !important;}
.star_year td:nth-child(1){width: 30%;}

}
   


/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiVXNlckRhdGEvaWV1bmt3YW5naHAvTGF5b3V0cy9pZXVua3dhbmdocF9sYXlvdXQvQ29udGVudHMvbGF5b3V0LnN1Yi5jc3MiLAoJInNvdXJjZXMiOiBbCgkJIlVzZXJEYXRhL2lldW5rd2FuZ2hwL0xheW91dHMvaWV1bmt3YW5naHBfbGF5b3V0L0NvbnRlbnRzL2xheW91dC5zdWIuc2NzcyIKCV0sCgkibmFtZXMiOiBbXSwKCSJtYXBwaW5ncyI6ICIiCn0= */