﻿
audio::-webkit-media-controls-panel {
    background-color: #7E5E41;
}

audio::-webkit-media-controls-time-remaining-display {
    text-shadow:none;
}

audio::-webkit-media-controls-current-time-display {
    text-shadow: none;
}
#sub-430 .document-checkbox {
    display: none;
}
#audioPlayer {
    border-radius: 0px !important;
    z-index: 999;
    bottom: 20px;
    left: 20px;
    position: fixed;
}

#dimodePage .page-content * {
    word-break:keep-all !important;
}

#progressBar {
    width: 0%;
    bottom: 0;
    position: fixed;
    float: left;
    height: 5px;
    z-index: 1000;
    max-width: 100%;
    background-color: #245B9B;
    -webkit-transition: width .7s ease;
    -o-transition: width .7s ease;
    transition: width .7s ease;
}
.subTitle { position:relative; }

#header.hover #gnb-wrap { transition:.3s all; }
#header.hover #gnb-wrap img { /*max-width:200px; transition:.5s all;*/ }
#header.hover #gnb { /*margin-top:45px; transition:.7s all;*/ }

.page-content * { font-family:Nanumsquare, sans-serif; letter-spacing:-1.2px; }

.f_bmjua {
    font-family: BMJUA, sans-serif !important;
}

.f_khgy {
    font-family: GimhaeGayaR !important;
	letter-spacing:-2px;
}

#subtop img { width:100%; }

#subgnb { border-bottom:1px solid #ddd; padding:0px 0px; padding-top:83px;}
#subgnb .subgnb-home { float:right; display:inline-block; margin:11px 0px 0px 0px;}
#subgnb .subgnb-home img { max-width:25px; position:relative; }
#subgnb span, #subgnb a { font-size:16px; color:#777; position:relative; top:3px; text-decoration:none; transform: skew(-0.05deg);  }
#subgnb a.active { color:#245B9B; font-weight:bold; }
#subgnb .dropdown { display:inline-block;}
#subgnb .dropdown .btn { padding:15px 20px; font-size:17px; font-weight:bold;}
#subgnb .dropdown .btn-default { border:none;}
#subgnb .dropdown .btn:hover { background-color:#245B9B; transition:0.3s all ease; color:#fff!important; }
#subgnb .dropdown .btn:hover .caret { border-top:2px solid #fff; border-left:2px solid #fff; }
#subgnb .dropdown .btn .active  { background-color:#245B9B; }
#subgnb .dropdown-menu>li>a { padding:10px 15px; transition:0.3s all ease; font-size:17px;}
#subgnb .caret { border-top:2px solid #245B9B; border-right: 0px solid transparent; border-left: 2px solid #245B9B; 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 { font-size:40px; font-weight:600; margin:0px 0px 50px; border-bottom:4px solid #241e1e; display:inline-block; padding-bottom:10px;}
#dimodePage { padding:30px 0px; border-top:1px solid #E5E5E5;}

/*subpage - full page*/
#content2 {
    /*background-image: url(http://data.dimode.co.kr/UserData/mrch/files/257/922/YmcyLmpwZ2RpbW9kZV80NjY2MzMzX2VuYwcc.jpg);*/
}

.board-theme .theme-detail .detail-top {
    background:none !important;
}
#dimodeComment .cantWrite {
    background:none !important;
}

#content2 #dimodePage {
    padding: 0;
    border-top: none;
}
#content2 .row {
    margin:0;
}

.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: #245B9B; }
.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; }
.depth4 { display:none; }

.depth3 { width:100%; margin-bottom:50px; overflow:hidden; }
.depth3 li { float: left; width: 20%; font-size: 18px; color: #333; cursor: pointer; border: 1px solid #f2f2f2; box-sizing: border-box; color: #333; text-align:center; }
.depth3 li a { color: #333; text-decoration: none; padding: 15px 0; display:inline-block; width:100%; }
.depth3 li.active { background: #245B9B; }
.depth3 li.active a { color:#fff!important;}
.depth3 li:hover { background: #245B9B; transition: 0.3s all; }
.depth3 li:hover a { color:#fff!important; }

/*교회소개 > 명륜교회역사*/
#history-content1, #history-content2, #history-content3, #history-content4 {
    display: none;
}
.history-heads {
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 0 !important;
}
.history-contents {
    background-color: #fff;
    width: auto !important;
    padding: 30px !important;
}
.history-banner {
    background-size: cover !important;
    background-repeat:no-repeat;
}

/*교회소개 > 섬기는분들*/
#sub-95 #component5029 #unit5519 a,
#sub-101 #component5029 #unit5519 a,
#sub-102 #component5029 #unit5519 a,
#sub-103 #component5029 #unit5519 a
{
    text-decoration: none;
    color: #f5f0df;
    width: 22%;
}
#sub-95 #component5029 #unit5519 .tab_box1,
#sub-101 #component5029 #unit5519 .tab_box1,
#sub-102 #component5029 #unit5519 .tab_box1,
#sub-103 #component5029 #unit5519 .tab_box1
{
    white-space: nowrap;
    width: 100%;
}

/*교회소개 > 예배안내 */
#sub-33 td {
    text-align:center;
}
/*교회소개 > 오시는길*/
#unit2030 {
    padding: 350px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t_box{ 
font-weight:600;
padding:7px 30px;
border-radius:60px;
background:#8d6f5d;
color:#fff;
 }
 /*시설*/
.si_title{font-size: 35px;}
.si_title2{font-size: 21px; text-align: center; background-color: #6b6055; color: #fff; padding: 10px 0 ; margin-bottom: 0px;border-bottom: 1px solid #fff;}
.sisul_nav li{width: 49%; text-align: center;}
.navpills2 .subnav li a{-webkit-border-radius: ;-moz-border-radius: ;border-radius: 30px 30px 0 0 ; font-size: 30px; }


/*목회편지*/
#sub-430 #dimodeBoard .board-actions .board-actions-left {
    display: none;
}
#sub-430 #dimodeBoard .board-pages {
    display: none;
}
#sub-430 #dimodeBoard .board-actions {
    border-top:none;
}
#sub-430 {
    background-image: url(http://data.dimode.co.kr/UserData/mrch/files/257/922/YmcyLmpwZ2RpbW9kZV80NjY2MzMzX2VuYwcc.jpg);
}

/*설교 게시판*/
#sub-25, #sub-26, #sub-27, #sub-28, #sub-29, #sub-1377 {
    background-image: url(http://data.dimode.co.kr/UserData/mrch/files/369/371/7Jik7Iuc64qU6ri4X2JnLmpwZ2RpbW9kZV8zMTk4MDc4X2VuYwcc.jpg);
}
#sub-25 .each-document, #sub-26 .each-document, #sub-27 .each-document, #sub-28 .each-document, #sub-29 .each-document, #sub-1377 .each-document {
    /*padding-right: 6px !important;*/
    width: 22%;
    padding:0 !important;
    margin-right:4%;
}
#sub-25 .each-document:nth-of-type(4n+4), #sub-26 .each-document:nth-of-type(4n+4), #sub-27 .each-document:nth-of-type(4n+4), #sub-28 .each-document:nth-of-type(4n+4), #sub-29 .each-document:nth-of-type(4n+4), #sub-1377 .each-document:nth-of-type(4n+4) {
    margin-right: 0;
}
#sub-25 .board-theme .theme-list, #sub-26 .board-theme .theme-list, #sub-27 .board-theme .theme-list, 
#sub-28 .board-theme .theme-list, #sub-29 .board-theme .theme-list, #sub-1377 .board-theme .theme-list {
    display:flex;
    /*justify-content:space-between;*/
    flex-wrap: wrap;
}
#sub-430 .board-theme .theme-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#sub-430 .board-theme.gallery .theme-list > .each-document > a.title {
    color: #fff !important;
    text-decoration: none;
    margin-top: 10px !important;
    font-size: 20px;
}
#sub-430 .board-theme.gallery .theme-list > .each-document {
    display: flex !important;
    vertical-align: top !important;
    width: 100% !important;
    margin-bottom: 5px !important;
    height: 100%;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#sub-430 .each-document:nth-child(3n+1) img {
    width: 500px;
    padding-right: 50px;
}
#sub-430 .each-document:nth-child(3n+2) img {
    width: 500px;
    padding-right: 25px;
    padding-left: 25px;
}
#sub-430 .each-document:nth-child(3n+3) img {
    width: 500px;
    padding-left: 50px;
}



/*목회편지 동영상*/
#sub-430 .showVideo {
    margin-bottom:50px;
    /*height: 500px;*/
    position: relative;
}
#sub-430 .letterPlay {
    /*width: 70%;*/
    width: 100%;
    height: auto;
}
#sub-430 .video-wrap {
    display:none;
    /*display: flex;*/
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top:0;
}   


/*교육부서*/
#sub-459 {
    background-color: #17323d;
}
#sub-459 #dimodeBoard .board-actions, #sub-460 #dimodeBoard .board-actions, #sub-461 #dimodeBoard .board-actions, #sub-462 #dimodeBoard .board-actions {
    border-top: none;
}
#sub-459 #dimodeBoard .board-actions .board-actions-left, #sub-460 #dimodeBoard .board-actions .board-actions-left, #sub-461 #dimodeBoard .board-actions .board-actions-left, #sub-462 #dimodeBoard .board-actions .board-actions-left {
    display: none;
}
#sub-459 .board-theme, #sub-460 .board-theme {
    /*background: #ac8057;*/
    background-image: url(http://data.dimode.co.kr/UserData/mrch/files/19/1513/Z2FsbGVyeV9ueGJnXzEuanBnZGltb2RlXzU0OTkzMzBfZW5j.jpg);
    /*padding-top: 100px;*/
}
#sub-461 .board-theme, #sub-462 .board-theme {
    /*background: #17323c;*/
    background-image: url(http://data.dimode.co.kr/UserData/mrch/files/21/1526/Z2FsbGVyeV9ueGJnXzIuanBnZGltb2RlXzg5OTQ5NjBfZW5j.jpg);
    padding-top: 100px;
}
#sub-459 #dimodeBoard .board-actions, #sub-460 #dimodeBoard .board-actions {
    background: #17323d;
}
#sub-461 #dimodeBoard .board-actions, #sub-462 #dimodeBoard .board-actions {
    background: #17323c;
}
#sub-459 .btn-gray, #sub-460 .btn-gray {
    background: none;
    border-color: #fff;
    color: #fff;
}
#sub-461 .btn-gray, #sub-462 .btn-gray {
    background: none;
    border-color: #fff;
    color: #fff;
}
#sub-459 .board-theme .theme-list, #sub-460 .board-theme .theme-list {
    color: #000;
}
#sub-461 .board-theme .theme-list, #sub-462 .board-theme .theme-list {
    color: #fff;
}

#sub-459 .board-theme.gallery .theme-list > .each-document > a.title, #sub-460 .board-theme.gallery .theme-list > .each-document > a.title, #sub-461 .board-theme.gallery .theme-list > .each-document > a.title, #sub-462 .board-theme.gallery .theme-list > .each-document > a.title {
    display: none;
}
#sub-459 .board-theme .theme-list, #sub-460 .board-theme .theme-list, #sub-461 .board-theme .theme-list, #sub-462 .board-theme .theme-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#sub-459 .board-theme.gallery .theme-list > .each-document, #sub-460 .board-theme.gallery .theme-list > .each-document, #sub-461 .board-theme.gallery .theme-list > .each-document, #sub-462 .board-theme.gallery .theme-list > .each-document {
    /*width: auto;*/
    width:30%;
}
#sub-459 .board-theme.gallery .theme-list > .each-document > a.title-image, #sub-460 .board-theme.gallery .theme-list > .each-document > a.title-image, 
#sub-461 .board-theme.gallery .theme-list > .each-document > a.title-image, #sub-462 .board-theme.gallery .theme-list > .each-document > a.title-image {
    background:none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border:none;
    width:100%;
    height:unset!important;
    padding-top: calc(169/300*100%);
}
#sub-459 #unit3028 .container div:nth-of-type(2) a,
#sub-460 #unit2110 .container div:nth-of-type(2) a,
#sub-461 #unit2110 .container div:nth-of-type(2) a,
#sub-462 #unit2110 .container div:nth-of-type(2) a {
    width: 23% !important;
}
/*설교 게시판 공통*/
.new-sermon .title-image {
    /*height: 157px !important;*/
    height: 0 !important;
}
.new-sermon-left {
    width: 40%;
    float: left;
    padding-right: 15px;
}
.new-sermon-right {
    width:60%;
    height:100%;
    float:right;
}
.new-sermon-left > div {
    margin-bottom:10px;
    font-size:1.5em;
}
.board-theme .theme-detail .detail-video iframe {
    height: 429px !important;
    position: relative;
}
.new-sermon-left .document-title {
    font-size: 2.5em;
    font-weight:700;
}
.new-sermon-left .detail-content {
    padding: 0 !important;
    word-break: keep-all !important;
}
.new-sermon-right.embed-responsive-16by9 {
    padding-bottom: unset !important;
}
#sub-25 .btn-gray, #sub-26 .btn-gray, #sub-27 .btn-gray, #sub-28 .btn-gray, #sub-29 .btn-gray, #sub-1377 .btn-gray {
    background-color: #a08c7d;
    border-color: #ccc;
    color: #fff;
}
#sub-25 #dimodeComment .cantWrite, #sub-26 #dimodeComment .cantWrite, #sub-27 #dimodeComment .cantWrite,
#sub-28 #dimodeComment .cantWrite, #sub-29 #dimodeComment .cantWrite, #sub-1377 #dimodeComment .cantWrite {
    color: #000;
}
#sub-25 .box1, #sub-26 .box1, #sub-27 .box1, #sub-28 .box1, #sub-29 .box1, #sub-1377 .box1, #sub-1379 .box1 {
    border: 1px solid #ffffff !important;
    color: #fff !important;
}
#sub-25 .tab_box1, #sub-26 .tab_box1, #sub-27 .tab_box1,
#sub-28 .tab_box1, #sub-29 .tab_box1, #sub-1379 .tab_box1, #sub-1377 .tab_box1 {
    text-align: center;
    padding: 15px 0px;
}
#sub-25 #component5029 a,
#sub-26 #component5029 a,
#sub-27 #component5029 a,
#sub-28 #component5029 a,
#sub-29 #component5029 a,
#sub-1377 #component5029 a {
    width: 16.6%;
    text-decoration: none;
}
#sub-25 .board-theme.gallery .theme-list > .each-document > a.title-image,
#sub-26 .board-theme.gallery .theme-list > .each-document > a.title-image,
#sub-27 .board-theme.gallery .theme-list > .each-document > a.title-image,
#sub-28 .board-theme.gallery .theme-list > .each-document > a.title-image,
#sub-29 .board-theme.gallery .theme-list > .each-document > a.title-image,
#sub-1377 .board-theme.gallery .theme-list > .each-document > a.title-image 
{
    padding-top: calc(180 / 320 * 100%);
    height:0 !important;
}



@media (min-width:1200px) and (max-width:1499px) {
    .lnb {
        padding: 0px 15px;
    }

    /*설교 게시판 공통*/
    .new-sermon .title-image {
        /*height: 142px !important;*/
        height: 0 !important;
    }

    /*교회소개 > 목사님 인사말*/
    .serve-banner {
        height: 462px !important;
    }

    /*교회소개 > 명륜교회역사*/
    .history-banner {
        background-size: contain !important;
        height: 466px !important;
    }
    #history-content1 {
        opacity:unset !important;
    }

    /*목회편지*/
    #sub-430 .letterPlay {
        /*width: 78%;*/
        width:100%;
    }
}

@media (min-width:993px) and (max-width:1199px) {
    .lnb {
        padding: 0px 5px;
    }

    .sub_depth2 li {
        padding: 20px 15px;
    }

    /*설교 게시판 공통*/
    .new-sermon .title-image {
        /*height: 119px !important;*/
        height: 0 !important;
    }

    /*교회소개 > 목사님 인사말*/
    .serve-banner {
        height: 377px !important;
    }
    .serve-banner div p:nth-of-type(2) {
        font-size: 50px !important;
    }
    .serve-banner div p:nth-of-type(3) {
        transform: translate(-50%, -20%) !important;
    }

    /*교회소개 > 명륜교회역사*/
    .history-banner {
        background-size: contain !important;
        height: 381px !important;
    }
    #history-content1 {
        opacity: unset !important;
    }

    /*교회소개 > 오시는 길*/
    #sub-15 #unit2227 {
        width:100%;
        margin-bottom:20px;
    }
    #sub-15 #unit8699 {
        width: 100%;
        text-align:center;
    }
    #sub-15 #unit2227 > div {
        width:100% !important;
    }

    /*목회편지*/
    #sub-430 .letterPlay {
        /*width: 95%;*/
        width: 100%;
    }

    /*교육부서 > 유치부*/
    .school-pastor p:last-of-type span {
        font-size:18px !important;
    }

}

@media (min-width:768px) and (max-width:992px) {
    #content > .container > .col-xs-12 {
        padding: 0;
    }
    .subTitle {
        text-align: center;
    }
    #sub_title {
        font-size: 30px;
        margin: 0px 0px 50px;
    }
    #subgnb {
        padding-top: 0;
    }
    #subgnb .dropdown {
        display: inline-block;
    }
    #subgnb .dropdown .btn {
        padding: 15px;
        font-size: 17px;
        font-weight: bold;
    }
    #subgnb .dropdown .btn-default {
        border: none;
    }
    #subgnb .dropdown-menu > li > a {
        padding: 10px 20px;
        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;
    }
    #subgnb .subgnb-home {
        margin: 13px 0px;
    }
    #sub-15 #unit3901 #main7 {
        height: auto !important;
        background: #fff !important;
    }
    #sub-15 #unit3901 #main7 div {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 100% !important;
        text-align: center !important;
        float: none !important;
        margin: 0 !important;
    }    
    #sub-15 #unit3901 #main7 div > div:nth-child(1) {
        margin: 30px 0 15px !important;
        font-size: 21px !important;
    }    
    #sub-15 #unit3901 #main7 div > div:nth-child(2) {
        font-size: 17px !important;
    }    
    #sub-15 #unit3901 #main7 div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 !important;
        margin-top: 15px !important;
    }    
    #sub-15 #unit3901 #main7 div > div:nth-child(5) {
        background: #255D98;
        padding: 15px;
        font-size: 16px !important;
    }    
    #sub-16 #component6297 .row {
        margin: 0 !important;
    }
    #sub-16 #unit2717 {
        padding: 0 15px !important;
        width: 100% !important;
        text-align: center !important;
    }
    #sub-16 #unit6960 {
        padding: 15px 0 0 !important;
        width: 100% !important;
    }
    #sub-16 #unit6960 div {
        font-size: 17px !important;
        margin: 10px 0 !important;
        width: 100% !important;
        float: none !important;
    }
    #sub-16 #component6297 {
        margin: 0px !important;
    }
    #sub-16 #unit1006 > div {
        font-size: 20px !important;
        line-height: 20px !important;
    }
    #sub-16 #unit6465 {
        margin: 20px 0 !important;
    }
    #sub-16 #component8168 {
        margin: 0 0 20px !important;
    }
    #sub-16 #component1623 {
        padding: 15px !important;
    }
    #sub-16 #unit7859 {
        padding: 0 15px !important;
    }
    #sub-16 #unit7859 div {
        font-size: 17px !important;
        margin: 0 0 10px !important;
    }
    #sub-16 #unit7859 div img {
        width: 100% !important;
    }
    #sub-16 #component8742 {
        padding: 15px !important;
    }
    #sub-16 #unit6364 {
        padding: 0 15px !important;
    }
    #sub-16 #unit6364 div {
        font-size: 17px !important;
        margin: 0 0 10px !important;
    }
    #sub-16 #unit6364 div img {
        width: 100% !important;
    }
    #sub-17 #unit9476 div {
        font-size: 18px !important;
    }
    #sub-17 #unit4581 table td {
        padding: 10px 5px !important;
    }
    #sub-17 #component8998 {
        margin: 0 0 20px !important;
    }
    #sub-18 #component6365 {
        margin: 0 !important;
    }
    #sub-18 #unit1588 {
        padding: 0 !important;
    }
    #sub-85 #unit2742 {
        margin: 10px 0 0 !important;
    }
    #sub-85 #unit2742 div {
        font-size: 17px !important;
    }
    #sub-85 #component4104 {
        margin: 20px 0 0 !important;
    }
    #sub-85 #unit8640 {
        width: 100% !important;
        padding: 20px 15px !important;
    }
    #sub-85 #unit9758 {
        width: 100% !important;
        padding: 20px 15px !important;
        margin-top: 15px !important;
    }
    #sub-85 #component5689 {
        margin: 0 0 15px !important;
    }
    #sub-85 #component1244 {
        padding: 15px 30px !important;
    }
    #sub-85 #unit4134 div {
        font-size: 15px !important;
    }
    #component4668 {
        margin: 0 0 25px !important;
    }
    #component5840 div {
        font-size: 17px !important;
        margin: 0 0 10px !important;
    }
    #component5840 {
        margin: 0 0 20px !important;
    }
    #component6342 {
        padding: 15px !important;
    }
    #unit6111 div {
        font-size: 17px !important;
    }
    #sub-30 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-30 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-30 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-30 #component3360 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-30 #component3360 p {
        margin: 0;
    }
    #sub-29 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-29 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-29 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-29 #component3360 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-29 #component3360 p {
        margin: 0;
    }
    #sub-28 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-28 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-28 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-28 #component6502 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-28 #component6502 p {
        margin: 0;
    }
    #sub-157 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-157 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-157 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-157 #component3360 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-157 #component3360 p {
        margin: 0;
    }
    #sub-36 #unit2301 > div:first-child {
        font-size: 20px !important;
        margin: 0px !important;
    }
    #sub-36 #unit2301 > div:nth-child(2) {
        font-size: 17px !important;
    }
    #sub-36 #component3565 {
        margin: 0 0 20px !important;
    }
    #sub-36 #component9993 {
        padding: 30px 0 !important;
    }
    #sub-430 .each-document:nth-child(3n+1) img {
        width: 500px;
        padding-right: 25px;
    }
    #sub-430 .each-document:nth-child(3n+2) img {
        width: 500px;
        padding-right: 12.5px;
        padding-left: 12.5px;
    }
    #sub-430 .each-document:nth-child(3n+3) img {
        width: 500px;
        padding-left: 25px;
    }

    /*설교 게시판 공통*/
    .new-sermon .title-image {
        /*height: 202px !important;*/
        height: 0 !important;
    }
    #sub-25 .each-document, #sub-26 .each-document, #sub-27 .each-document, #sub-28 .each-document, #sub-29 .each-document, #sub-1377 .each-document {
        width: 47%;
        margin-right: 6%;
    }
        #sub-25 .each-document:nth-of-type(2n+2), #sub-26 .each-document:nth-of-type(2n+2), #sub-27 .each-document:nth-of-type(2n+2), #sub-28 .each-document:nth-of-type(2n+2), #sub-29 .each-document:nth-of-type(2n+2), #sub-1377 .each-document:nth-of-type(2n+2) {
            margin-right: 0;
        }

    /*교회소개 > 목사님 인사말*/
    .welcome-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/109/1445/MS53ZWxjb21lX21fYmcuanBnZGltb2RlXzk3MzA1NzFfZW5j.jpg) !important;
        background-position: unset !important;
    }
    .welcome-banner  > div {
        position:relative !important;
        top:unset !important;
        left:unset !important;
        transform:unset !important;
        height:100%;
    }
    .welcome-banner p:nth-of-type(2) {
        font-size: 50px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }
    .welcome-banner p:nth-of-type(3) {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
        white-space: nowrap;
    }

    /*교회소개 > 목사님 인사말*/
    .serve-banner {
        height: 288px !important;
    }
    .serve-banner div p:nth-of-type(2) {
        font-size: 40px !important;
    }
    .serve-banner div p:nth-of-type(3) {
        transform: translate(-50%, 0) !important;
    }
    .serve-banner div p:nth-of-type(3) > img {
        width: 65px;
    }

    /*교회소개 > 명륜교회역사*/
    #history-content1 {
        opacity: unset !important;
    }
    .history-banner {
        background-size: contain !important;
        height: 289px !important;
    }
    #sub-30 #unit4365 div p:nth-of-type(2) > span {
        font-size: 20px !important;
    }
    #sub-30 #unit5447 .col-sm-7 {
        width:100%;
    }

    /*교회소개 > 섬기는 분들*/
    .tab_box1 {
        padding: 15px 0 !important;
        font-size:20px;
    }

    /*교회소개 > 오시는 길*/
    #sub-15 #unit2227 {
        width:100%;
        margin-bottom:20px;
    }
    #sub-15 #unit8699 {
        width: 100%;
        text-align:center;
    }
    #sub-15 #unit2227 > div {
        width:100% !important;
    }

    /*목회편지*/
    #sub-430 .letterPlay {
        width: 100%;
        /*height: 81%;*/
    }

    /*교육부서 > 유치부*/
    .youth-banner .f_bmjua {
        font-size: 17px !important;
    }
    .school-pastor p:last-of-type span {
        font-size: 13px !important;
    }

    /*교육부서 > 유년부*/
    .child-banner .f_bmjua {
        font-size: 17px !important;
    }

    /*교육부서 > 중고등부*/
    .teen-banner .f_bmjua {
        font-size: 17px !important;
    }
    .teen-banner div p:nth-of-type(1) {
        left:9% !important;
    }

    /*교육부서 > 청년부*/
    .young-banner .f_bmjua {
        font-size: 17px !important;
    }
    .young-banner div p:nth-of-type(1) {
        left:9% !important;
    }
    
}

@media (max-width:767px) {
.navpills2 .subnav li a{-webkit-border-radius: ;-moz-border-radius: ;border-radius: 20px 20px 0 0 ; font-size: 20px; }
    #content > .container > .col-xs-12 {
        padding: 0;
    }
    #gnb-wrap {
        padding: 0px;
        position: relative;
    }
    #subgnb {
        padding-top:0;
    }
    #subgnb .container {
        padding: 0px;
    }
    #subgnb span, #subgnb a {
        font-size: 14px;
        top: 2px;
    }
    .subTitle {
        text-align: center;
    }
    #sub_title {
        font-size: 22px;
        margin: 0px 0px 30px;
    }
    #header .container {
        padding: 0px 15px
    }
    #subgnb .dropdown {
        display: inline-block;
    }
    #subgnb .dropdown .btn {
        padding: 10px 10px;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
    }
    #subgnb .dropdown .btn-default {
        border: none;
    }
    #subgnb .dropdown-menu > li > a {
        padding: 8px 15px;
        transition: 0.3s all ease;
        font-size: 14px;
    }
    #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;
    }
    #subgnb .subgnb-home {
        padding: 15px 15px;
        width: 100%;
        border-top: 1px solid #e5e5e5;
        margin: 0px;
    }
    .depth3 {
        margin-bottom: 30px;
    }
    .depth3 li {
        width: 50%;
        font-size: 16px;
    }
    .depth3 li a {
        padding: 10px 0;
    }
    #subgnb .dropdown-menu {
        min-width: 135px;
    }
    #sub-15 #unit3901 #main7 {
        height: auto !important;
        background: #fff !important;
    }
    #sub-15 #unit3901 #main7 div {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 100% !important;
        text-align: center !important;
        float: none !important;
        margin: 0 !important;
    }
    #sub-15 #unit3901 #main7 div > div:nth-child(1) {
        margin: 30px 0 15px !important;
        font-size: 21px !important;
    }
    #sub-15 #unit3901 #main7 div > div:nth-child(2) {
        font-size: 17px !important;
    }
    #sub-15 #unit3901 #main7 div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 !important;
        margin-top: 15px !important;
    }
    #sub-15 #unit3901 #main7 div > div:nth-child(5) {
        background: #255D98;
        padding: 15px;
        font-size: 16px !important;
    }
    #sub-16 #component6297 .row {
        margin: 0 !important;
    }
    #sub-16 #unit2717 {
        padding: 0 15px !important;
        width: 100% !important;
        text-align: center !important;
    }
    #sub-16 #unit6960 {
        padding: 15px 0 0 !important;
        width: 100% !important;
    }
    #sub-16 #unit6960 div {
        font-size: 17px !important;
        margin: 10px 0 !important;
        width: 100% !important;
        float: none !important;
    }
    #sub-16 #component6297 {
        margin: 0px !important;
    }
    #sub-16 #unit1006 > div {
        font-size: 20px !important;
        line-height: 20px !important;
    }
    #sub-16 #unit6465 {
        margin: 20px 0 !important;
    }
    #sub-16 #component8168 {
        margin: 0 0 20px !important;
    }
    #sub-16 #component1623 {
        padding: 15px !important;
    }
    #sub-16 #unit7859 {
        padding: 0 15px !important;
    }
    #sub-16 #unit7859 div {
        font-size: 17px !important;
        margin: 0 0 10px !important;
    }
    #sub-16 #unit7859 div img {
        width: 100% !important;
    }
    #sub-16 #component8742 {
        padding: 15px !important;
    }
    #sub-16 #unit6364 {
        padding: 0 15px !important;
    }
    #sub-16 #unit6364 div {
        font-size: 17px !important;
        margin: 0 0 10px !important;
    }
    #sub-16 #unit6364 div img {
        width: 100% !important;
    }
    #sub-17 #unit9476 div {
        font-size: 18px !important;
    }
    #sub-17 #unit4581 table td {
        padding: 10px 5px !important;
    }
    #sub-17 #component8998 {
        margin: 0 0 20px !important;
    }
    #sub-18 #component6365 {
        margin: 0 !important;
    }
    #sub-18 #unit1588 {
        padding: 0 !important;
    }
    #sub-85 #unit2742 {
        margin: 10px 0 0 !important;
    }
    #sub-85 #unit2742 div {
        font-size: 17px !important;
    }
    #sub-85 #component4104 {
        margin: 20px 0 0 !important;
    }
    #sub-85 #unit8640 {
        width: 100% !important;
        padding: 20px 15px !important;
    }
    #sub-85 #unit9758 {
        width: 100% !important;
        padding: 20px 15px !important;
        margin-top: 15px !important;
    }
    #sub-85 #component5689 {
        margin: 0 0 15px !important;
    }
    #sub-85 #component1244 {
        padding: 15px 30px !important;
    }
    #sub-85 #unit4134 div {
        font-size: 15px !important;
    }
    #component4668 {
        margin: 0 0 25px !important;
    }
    #component5840 div {
        font-size: 17px !important;
        margin: 0 0 10px !important;
    }
    #component5840 {
        margin: 0 0 20px !important;
    }
    #component6342 {
        padding: 15px !important;
    }
    #unit6111 div {
        font-size: 17px !important;
    }
    #sub-30 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-30 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-30 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-30 #component3360 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-30 #component3360 p {
        margin: 0;
    }
    #sub-29 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-29 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-29 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-29 #component3360 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-29 #component3360 p {
        margin: 0;
    }
    #sub-28 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-28 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-28 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-28 #component6502 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-28 #component6502 p {
        margin: 0;
    }
    #sub-157 #main7 > div > div:first-child {
        font-size: 22px !important;
    }
    #sub-157 #main7 > div > div:nth-child(2) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-157 #main7 > div > div:nth-child(3) {
        font-size: 17px !important;
        padding: 0 15px !important;
    }
    #sub-157 #component3360 {
        padding: 0 15px 15px !important;
        text-align: center;
    }
    #sub-157 #component3360 p {
        margin: 0;
    }
    #sub-36 #unit2301 > div:first-child {
        font-size: 20px !important;
        margin: 0px !important;
    }
    #sub-36 #unit2301 > div:nth-child(2) {
        font-size: 17px !important;
    }
    #sub-36 #component3565 {
        margin: 0 0 20px !important;
    }
    #sub-36 #component9993 {
        padding: 30px 0 !important;
    }
    #sub-430 .each-document:nth-child(3n+1) img {
        width: 500px;
        padding-right: 10px;
    }
    #sub-430 .each-document:nth-child(3n+2) img {
        width: 500px;
        padding-right: 5px;
        padding-left: 5px;
    }
    #sub-430 .each-document:nth-child(3n+3) img {
        width: 500px;
        padding-left: 10px;
    }

    /*설교 게시판 공통*/
    .new-sermon .title-image {
        /*height: 173px !important;*/
        height: 0px !important;
        background-color: none !important;
        border: none !important;
    }
    #sub-25 .each-document, #sub-26 .each-document, #sub-27 .each-document, #sub-28 .each-document, #sub-29 .each-document, #sub-1377 .each-document {
        width: 47%;
        margin-right: 6%;
    }
        #sub-25 .each-document:nth-of-type(2n+2), #sub-26 .each-document:nth-of-type(2n+2), #sub-27 .each-document:nth-of-type(2n+2), #sub-28 .each-document:nth-of-type(2n+2), #sub-29 .each-document:nth-of-type(2n+2), #sub-1377 .each-document:nth-of-type(2n+2) {
            margin-right: 0;
        }
    .sermon-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/369/1500/NS5zZXJtb25fbV9iZy5qcGdkaW1vZGVfNTI0OTY2OF9lbmMc.jpg) !important;
        height: 0 !important;
        padding-top: calc(413 / 700 * 100%);
    }
    .sermon-banner p {
        font-size:50px !important;
    }

    /*교회소개 > 목사님 인사말*/
    #sub-109 .container {
        padding: 0 !important;
    }
    .welcome-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/109/1445/MS53ZWxjb21lX21fYmcuanBnZGltb2RlXzk3MzA1NzFfZW5j.jpg) !important;
        background-position: center !important;
        background-size: cover;
        height: 0 !important;
        padding-top: calc(413 / 700 * 100%);
    }
    .welcome-banner  > div {
        /*position:relative !important;
        top:unset !important;
        left:unset !important;
        transform:unset !important;
        height:100%;*/
    }
    .welcome-banner p:nth-of-type(2) {
        font-size: 40px !important;
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }
    .welcome-banner p:nth-of-type(3) {
        position: absolute;
        top:60%;
        left: 50%;
        transform: translate(-50%, 0);
        white-space: nowrap;
    }
    .welcome-title {
        margin-top:20px;
    }
    #sub-109 .col-sm-7 {
        padding:0 !important;
    }

    #unit3901 #main7 > div {
        top: 27.6% !important;
    }
    #welcome-div1 {
        font-size: 26px !important;
        padding-left: 7px !important;
        margin-bottom:28px!important;
    }
    #welcome-div2 {
        font-size: 17px !important;
        padding-left: 5px !important;
    }
    #welcome-div3 {
        margin-bottom: 210px !important;
    }
    #welcome-div4 {
        font-size: 16px !important;
        width: 98% !important;
        padding-left: 9px !important;
    }
    #welcome-pastor {
        margin-top: 27px;
    }
    #sub-109 #unit7583 .row .col-sm-7 p span {
        font-size:16px !important;
    }

    /*교회소개 > 명륜교회역사*/
    .history-banner {
        width: 100%;
        height: auto !important;
        position: relative;
        background-size: contain !important;
        background-repeat: no-repeat;
        padding-top: calc(532/1270 * 100%);
    }
    #history-content1 {
        opacity:1 !important;
    }
    #sub-30 #component9130 #unit6812 div .container {
        padding: 20px 30px !important;
    }
    #sub-30 #unit4365 div p:nth-of-type(2) > span {
        font-size:16px !important;
    }
    .history-contents {
        padding: 10px !important;
    }
    .history-heads {
        font-size:15px !important;
    }
    .history-contents {
        font-size:12px !important;
    }
    #sub-30 #component3382 #unit5447 .container > p {
        font-size:26px !important;
    }
    #sub-30 #unit4365 div p:nth-of-type(1) span {
        font-size:24px !important;
    }
    #sub-30 #unit4365 div p:nth-of-type(2) span {
        font-size: 16px !important;
    }

    /*교회소개 > 섬기는 분들*/
    .serve-banner {
        width: 100%;
        height: auto !important;
        position: relative;
        background-size: cover !important;
        background-repeat: no-repeat;
        padding-top: calc(290/700 * 100%);
    }
    .serve-banner > div {
        height: 100% !important;
        width: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    .serve-banner div p:nth-of-type(2) {
        font-size: 30px !important;
        white-space:nowrap;
    }
    .serve-banner div p:nth-of-type(3) {
        transform: translate(-50%, 0) !important;
    }
    .serve-banner div p:nth-of-type(3) > img {
        width: 50px;
    }
    .tab_box1 {
        padding: 15px 0 !important;
        font-size: 15px;
    }
    #component5029 #unit5519 .tab_box1 {
        /*width: 40%;*/
        margin-bottom: 12px !important;
    }
    #sub-95 #component5029 #unit5519 .container,
    #sub-101 #component5029 #unit5519 .container,
    #sub-102 #component5029 #unit5519 .container,
    #sub-103 #component5029 #unit5519 .container
    {
        padding: 20px 30px !important;
    }
    #sub-95 #component5029 #unit5519 .container > div:nth-of-type(2),
    #sub-101 #component5029 #unit5519 .container > div:nth-of-type(2),
    #sub-102 #component5029 #unit5519 .container > div:nth-of-type(2),
    #sub-103 #component5029 #unit5519 .container > div:nth-of-type(2)
    {
        flex-wrap: wrap;
        margin-top: 20px !important;
    }
    #sub-95 #component5029 #unit5519 .container > .row > div:nth-of-type(2),
    #sub-101 #component5029 #unit5519 .container > .row > div:nth-of-type(2),
    #sub-102 #component5029 #unit5519 .container > .row > div:nth-of-type(2),
    #sub-103 #component5029 #unit5519 .container > .row > div:nth-of-type(2) {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(0, -50%);
    }
    #sub-95 #component5029 #unit5519 a,
    #sub-101 #component5029 #unit5519 a,
    #sub-102 #component5029 #unit5519 a,
    #sub-103 #component5029 #unit5519 a {
        width: 47%;
    }
    #sub-95 .dimode-sort,
    #sub-101 .dimode-sort,
    #sub-102 .dimode-sort,
    #sub-103 .dimode-sort {
        text-align:center;
    }
    #sub-95 #component5029 .row,
    #sub-101 #component5029 .row,
    #sub-102 #component5029 .row,
    #sub-103 #component5029 .row {
        height:310px !important;
    }
    #sub-102 #unit7406, #sub-102 #unit6922 {
        width: 50%;
        display: inline-flex;
        float: left;
    }
    #sub-103 #unit5238, #sub-103 #unit4316 {
        width: 50%;
        display: inline-flex;
        float: left;
    }
    .new-sermon-right, .new-sermon-left {
        width:100%;
    }

    /*교회소개 > 예배 안내*/
    #sub-33 .col-sm-6 {
        padding: 0 !important;
    }
    #sub-33 .col-sm-6 > div {
        height:unset !important;
    }
    #sub-33 .col-sm-6 > div > div {
        position:unset !important;
        transform:unset !important;
    }
    .timetable {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/33/1494/My50aW1lX21fYmcuanBnZGltb2RlXzEwNzM1MDhfZW5j.jpg) !important;
        background-size: contain;
        height: 0 !important;
        padding-top: calc(413/700*100%);
    }
    .timetable > div p {
        font-size:50px !important;
    }

    /*교회소개 > 오시는길*/
    #sub-15 #unit5770 > div {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/33/1591/NC5sb2NhdGlvbl9tX2JnLmpwZ2RpbW9kZV84NzQ4MzI2X2VuYwcc.jpg) !important;
        background-size: contain;
        height: 0 !important;
        padding:0!important;
        padding-top: calc(413/700*100%) !important;
    }
    #sub-15 #component4760 p {
        font-size: 50px !important;
    }
    #sub-15 #unit2227 {
        width: 100%;
        margin-bottom: 20px;
    }
    #sub-15 #unit8699 {
        width: 100%;
        text-align: center;
    }
    #sub-15 #unit8699 div span {
        font-size:16px !important;
    }
    #sub-15 #unit2227 > div {
        width: 100% !important;
    }
    #sub-15 #unit8839 p > span {
        font-size: 16px !important;
    }
    #sub-15 #unit5658 p > span {
        font-size: 16px !important;
    }
    #sub-15 #component9477 {
        padding: 10px 0px 10px !important;
    }

    /*목회편지*/
    .letter-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/257/1508/Ni5sZXR0ZXJfbV9iZy5qcGdkaW1vZGVfNzY2MDgwN19lbmMc.jpg) !important;
        background-size: contain;
        padding-top: calc(413/700*100%) !important;
        height: 0 !important;
    }
    .letter-banner p {
        font-size:50px !important;
    }
    #sub-430 .showVideo {
        /*padding-top: calc(360/637*100%);*/
        height:0 !important;
    }
    #sub-430 .video-wrap {
        top:0;
    }
    #sub-430 .letterPlay {
        width: 100%;
    }


    /*커뮤니티 > 남녀전도회*/
    .meeting-banner p {
        font-size:50px !important;
    }
    .meeting-cont {
        font-size:17px !important;
    }
    .meeting-banner div p:nth-of-type(2) > span {
        font-size:40px !important;
    }
    #sub-18 #unit9674 p span {
        font-size: 17px !important;
    }
    #sub-18 #unit2545 div p strong span {
        font-size: 30px !important;
    }
    #sub-18 #unit2545 p span {
        font-size: 32px !important;
    }
    #sub-18 #unit9674 div div {
        padding:10px !important;
    }
    #sub-18 #component8920 {
        padding:10px 0 !important;
    }

    #sub-461 .board-theme, #sub-462 .board-theme {
        padding-top: 0;
    }

    /*교육부서 > 유치부*/
    .youth-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/19/1529/bnh0MV9tX2JnLmpwZ2RpbW9kZV8yMDc1ODE3X2VuYwcc.jpg) !important;
        padding-top: calc(413/700*100%) !important;
    }
    .youth-banner div p:nth-of-type(1) {
        right:5% !important;
    }
    .youth-banner div p:nth-of-type(3) {
        width:90%;
    }
    .youth-banner .f_bmjua {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }
    .youth-banner img {
        width: 80%;
    }
    .youth-banner div p:nth-of-type(2) img {
        width: 100%;
    }

    .school-pastor {
        width: 100% !important;
        top: unset !important;
        bottom: 0 !important;
        transform: unset !important;
    }
    .school-pastor p:nth-of-type(1) span:nth-of-type(1) {
        font-size: 20px !important;
    }
    .school-pastor p:nth-of-type(1) span:nth-of-type(2) {
        font-size: 30px !important;
    }
    .school-pastor p:nth-of-type(2) span {
        font-size: 15px !important;
    }

    /*교육부서 > 유년부*/
    .child-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/20/1601/bnh0Ml9tX2JnLmpwZ2RpbW9kZV8yNjE1NTk0X2VuYwcc.jpg) !important;
        padding-top: calc(413/700*100%) !important;
    }
    .child-banner div p:nth-of-type(1) {
        right:5% !important;
    }
    .child-banner div p:nth-of-type(3) {
        width:90%;
    }
    .child-banner .f_bmjua {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }
    .child-banner img {
        width: 80%;
    }
    .child-banner div p:nth-of-type(2) img {
        width: 100%;
    }

    /*교육부서 > 중고등부*/
    .teen-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/21/1612/bnh0M19tX2JnLmpwZ2RpbW9kZV8xMDk5NDk1X2VuYwcc.jpg) !important;
        padding-top: calc(413/700*100%) !important;
    }
    .teen-banner div p:nth-of-type(1) {
        left:9% !important;
    }
    .teen-banner div p:nth-of-type(3) {
        width:90%;
    }
    .teen-banner .f_bmjua {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    .teen-banner img {
        width: 80%;
    }
    .teen-banner div p:nth-of-type(2) img {
        width: 100%;
    }

    /*교육부서 > 청년부*/
    .young-banner {
        background-image: url(http://data.dimode.co.kr/UserData/mrch/files/21/1612/bnh0M19tX2JnLmpwZ2RpbW9kZV8xMDk5NDk1X2VuYwcc.jpg) !important;
        padding-top: calc(413/700*100%) !important;
    }
    .young-banner div p:nth-of-type(1) {
        left:9% !important;
    }
    .young-banner div p:nth-of-type(3) {
        width:90%;
    }
    .young-banner .f_bmjua {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    .young-banner img {
        width: 80%;
    }
    .young-banner div p:nth-of-type(2) img {
        width: 100%;
    }

    @media (max-width:500px) {
        /*교회소개 > 목사님 인사말*/
        #sub-109 #unit7583 .row .col-sm-7 p span {
            font-size: 16px !important;
        }

        /*교회소개 > 섬기는 분들*/
        .serve-banner div p:nth-of-type(2) {
            font-size: 20px !important;
        }
        .serve-banner div p:nth-of-type(3) {
            bottom: 2% !important;
            margin-bottom: 0;
        }
        .serve-banner div p:nth-of-type(3) > img {
        width: 40px;
        }
        #sub-95 #component5029 #unit5519 .container > .row > div:nth-of-type(2),
        #sub-101 #component5029 #unit5519 .container > .row > div:nth-of-type(2),
        #sub-102 #component5029 #unit5519 .container > .row > div:nth-of-type(2),
        #sub-103 #component5029 #unit5519 .container > .row > div:nth-of-type(2) {
            top: 100%;
            transform: translate(0, -100%);
            text-align: center;
            width: 100%;
        }
        #content2 #sub-95 .row,
        #content2 #sub-101 .row,
        #content2 #sub-102 .row,
        #content2 #sub-103 .row {
            padding: 0 !important;
        }
        #sub-102 #component9143 > div, #sub-103 #component9330 > div {
            padding: 0 !important;
        }
        #sub-95 .col-sm-6 p span,
        #sub-101 .col-sm-6 p span,
        #sub-102 .col-sm-6 p span,
        #sub-103 .col-sm-6 p span {
            font-size: 20px !important;
        }

        /*교회소개 > 예배시간*/
        .timetable > div p {
            font-size: 35px !important;
        }

        /*교회소개 > 오시는길*/
        #sub-15 #component4760 p {
            font-size:35px !important;
        }
        #sub-15 #unit8699 div span {
            font-size: 14px !important;
        }
        
        /*설교 공통*/
        .sermon-banner {
            background-image: url(http://data.dimode.co.kr/UserData/mrch/files/369/1500/NS5zZXJtb25fbV9iZy5qcGdkaW1vZGVfNTI0OTY2OF9lbmMc.jpg) !important;
            height: 0 !important;
            padding-top: calc(413 / 700 * 100%);
        }
        #sub-25 #unit5519 .container div:nth-of-type(2),
        #sub-26 #unit5519 .container div:nth-of-type(2),
        #sub-27 #unit5519 .container div:nth-of-type(2),
        #sub-28 #unit5519 .container div:nth-of-type(2),
        #sub-29 #unit5519 .container div:nth-of-type(2),
        #sub-1377 #unit5519 .container div:nth-of-type(2) {
            flex-wrap: wrap;
            justify-content: space-between !important;
        }
        #sub-25 #component5029 a,
        #sub-26 #component5029 a,
        #sub-27 #component5029 a,
        #sub-28 #component5029 a,
        #sub-29 #component5029 a,
        #sub-1377 #component5029 a
        {
            width: 31%;
        }
        #sub-25 #component5029 a p,
        #sub-26 #component5029 a p,
        #sub-27 #component5029 a p,
        #sub-28 #component5029 a p,
        #sub-29 #component5029 a p,
        #sub-1377 #component5029 a p
        {
            margin: 0 !important;
        }
        .sermon-banner p {
            font-size: 35px !important;
        }
        .new-sermon-left {
            width: 100%
        }
        .new-sermon-right {
            width:100%
        }

        /*목회편지*/
        #sub-430 .board-theme .theme-list {
            flex-wrap: wrap;
        }
        #sub-430 .board-theme .theme-list img {
            width:100%;
        }
        .letter-banner {
            background-image: url(http://data.dimode.co.kr/UserData/mrch/files/257/1508/Ni5sZXR0ZXJfbV9iZy5qcGdkaW1vZGVfNzY2MDgwN19lbmMc.jpg) !important;
            background-size: cover;
        }
        .letter-banner p {
            font-size:40px !important;
        }
        #sub-430 .board-theme.gallery .theme-list > .each-document {
            margin-bottom:20px !important;
        }

        
        /*커뮤니티 > 남녀전도회*/
        .meeting-banner p {
            font-size: 40px !important;
        }

        /*교육부서 공통*/
        #sub-459 .board-theme.gallery .theme-list > .each-document, #sub-460 .board-theme.gallery .theme-list > .each-document, #sub-461 .board-theme.gallery .theme-list > .each-document, #sub-462 .board-theme.gallery .theme-list > .each-document {
            /*width: auto;*/
            width: 48%;
        }

        /*교육부서 > 유치부*/
        .youth-banner img {
            width: 50%;
        }
        .list-items {
            display:none;
        }
        .youth-banner .f_bmjua {
            font-size: 13px !important;
        }
        .youth-banner div p:nth-of-type(2) {
                top: 27% !important;
        }
        .youth-banner div p:nth-of-type(3) {
            top: 59% !important;
            transform: translate(-50%, -50%) !important;
            line-height: 0.8 !important;
        }
        .youth-banner div p:nth-of-type(1) {
            right:0 !important;
        }
        .board-theme .theme-detail .detail-video iframe {
            height:233px !important;
        }

        /*교육부서 > 유년부*/
        .child-banner img {
            width: 50%;
        }
        .child-banner .f_bmjua {
            font-size: 13px !important;
        }
        .child-banner div p:nth-of-type(2) {
            top: 27% !important;
        }
        .child-banner div p:nth-of-type(3) {
            top: 59% !important;
            transform: translate(-50%, -50%) !important;
            line-height: 0.8 !important;
        }
        .child-banner div p:nth-of-type(1) {
            right: 0 !important;
        }

        /*교육부서 > 중고등부*/
        .teen-banner img {
            width: 50%;
        }
        .teen-banner .f_bmjua {
            font-size: 13px !important;
        }
        .teen-banner div p:nth-of-type(2) {
            top: 27% !important;
        }
        .teen-banner div p:nth-of-type(3) {
            top: 59% !important;
            transform: translate(-50%, -50%) !important;
            line-height: 0.8 !important;
        }
        .teen-banner div p:nth-of-type(1) {
            /*right: 0 !important;*/
        }

        /*교육부서 > 청년부*/
        .young-banner img {
            width: 50%;
        }
        .young-banner .f_bmjua {
            font-size: 13px !important;
        }
        .young-banner div p:nth-of-type(2) {
            top: 27% !important;
        }
        .young-banner div p:nth-of-type(3) {
            top: 59% !important;
            transform: translate(-50%, -50%) !important;
            line-height: 0.8 !important;
        }
        .young-banner div p:nth-of-type(1) {
            /*right: 0 !important;*/
        }
    }


    @media (max-width:375px) and (min-width:321px) {
        #welcome-text {
            width: 100% !important;
            top: -95% !important;
            right: 0% !important;
        }
    }
    @media (max-width:320px) {
        #welcome-text {
            width: 100% !important;
            top: -117% !important;
            right: 0% !important;
        }
    }
}
