﻿/* style s */

.slider .move-btn {background:none!important;}

 .container {

    padding-left:7px;
    padding-right:7px;
}
#dimodePage .page-actions{
	position:absolute;
	right:0;
}

 .sermonjong .sermonjongwrapper {
    width: 261px;
    height: 700px;
    position: absolute;
    right: 1px;
    z-index: 2;
}
.div-plus {
    margin-top:25px;
    display:inline-block;
    width:100%;
}
.right-btn{float:right;}


/* main1 s */
.main-1-left{
	padding-left:0px;
	padding-right:15px;
}
.main-1-right{
	padding-left:15px;
	padding-right:0px;
}
#main-1 { margin:50px 0 0;}
#sermon { background:url(/userdata/newglory/Layouts/newglory_Layout/Images/sermon1.png) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px 40px;}
#sermon .pastor { font-size:18px; color:#000; margin:0px 0px 10px; display:inline-block;    vertical-align: middle;}
#sermon .title { font-size: 25px; color: #000;margin: 0px 0px 30px;display: inline-block; width: 225px; white-space: nowrap;overflow: hidden;text-overflow: ellipsis; font-weight:normal;}
#sermon .bible { font-size:18px; color:#000; margin:0}
#sermon .date { font-size:20px; color:#000; }
#sermon{position:relative;text-align: right;}
#sermon a {text-decoration:none; color:#000;}
#sermon a:hover { font-weight:bold; transition:0.3s all ease;}
#sermon .sermon-div{position:absolute;top:80px;right:5%;width:40%; cursor:default;}
    #sermon .sermon-div h5 a {
        display: inline-block;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
#sermon .sermon-play-img {
    padding-left: 50px;
}

/*right board*/
#board{
	position:relative;
	background:url(/userdata/newglory/Layouts/newglory_Layout/Images/board.png) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px 40px;
}
#board .board-div{position: absolute;left:0;top:0; padding:30px;width:100%;cursor: default;}
#board .board-sermon{font-size:20px;color:white;margin-bottom:30px;}
.board-title .left-title{
	font-size: 18px;
    float: left;
    text-decoration: none;
    color: white;
    display: inline-block;
    width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board-title .right-date{
	font-size:18px;
	float:right;
	text-decoration:none;
	color:white;
}
.board-title{
	line-height:2.5;
}

 /*주일설교*/
 
.pastor-div-img {
    padding-top:10px;
    padding-bottom:10px;
}
.pastor-div-img2 {
    padding-top:10px;
    padding-bottom:10px;
}
.pastor-div-img > a > img{
        margin-bottom: 11px;
}

 /*슬라이드 왼쪽 바 none*/
 .slider .move-btn.prev-btn{
     display : none !important;
 }
 .slider .move-btn.next-btn{
    display : none !important;

 }

 .sermonjong .sermonjongwrapper .sermonjuil {
        text-align: left;
        height: 200px;
        background-color: #f0f0f0;
        padding: 3px 0;
        right: 0px;
    }

 .sermonjong .sermonjongwrapper .sermonsuyo {
        text-align: left;
        height: 200px;
        background-color: #fff;
        padding: 3px 0;
        right: 0px;
    }

.sermonjong .sermonjongwrapper .boardfree {
        text-align: left;
        height: 296px;
        background-color: red;
        padding: 3px 0;
        right: 0px;
    }


  .sermonjong .sermonjongwrapper .sermonjuil > span {
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: 5px;
        margin-left: 35px;
        margin-top: 1px;
    }

     .sermonjong .sermonjongwrapper .sermonjuil > a > img {
        right: 37px;
        top: 26px;
        position: absolute;
        font-size: 29px;
    }
.sermonjong .sermonjongwrapper .sermonjuil > hr {
        border-top: 1px solid #0749a0;
        display: inline-block;
        width: 5%;
        margin: 0;
        margin-left: 36px;
    }

.sermonjong .sermonjongwrapper .sermonjuil .sermonimg {
        padding: 35px 35px;
    }

    .sermonjong .sermonjongwrapper .sermonjuil .document-widget {
        text-align: left;
    }

       .sermonjong .sermonjongwrapper .sermonjuil .document-widget td {
            border: 0;
            color: #909090 !important;
            padding: 7px 5px;
        }

       .sermonjong .sermonjongwrapper .sermonjuil .document-widget .document {
            color: #909090 !important;
            font-size: 18px;
            font-weight: 600;
            text-align: left;
            width: 100%;
            display: inline-block;
            float: left;
            position: relative;
            top: -30px;
            margin-left: 30px;
            margin-top: 1px;
        }

     .sermonjong .sermonjongwrapper .sermonjuil .sermonbonmon {
        color: #909090 !important;
        font-size: 11px;
        font-weight: 600;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: -30px;
        margin-left: 36px;
        margin-top: 1px;
    }


     .sermonjong .sermonjongwrapper .sermonsuyo > span {
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: 5px;
        margin-left: 35px;
        margin-top: 1px;
    }

    .sermonjong .sermonjongwrapper .sermonsuyo > img {
        right: 37px;
        top: 237px;
        position: absolute;
        font-size: 29px;
    }

   .sermonjong .sermonjongwrapper .sermonsuyo > hr {
        border-top: 1px solid #0749a0;
        display: inline-block;
        width: 5%;
        margin: 0;
        margin-left: 36px;
    }

     .sermonjong .sermonjongwrapper .sermonsuyo .sermonimg {
        padding: 35px 35px;
    }

    .sermonjong .sermonjongwrapper .sermonsuyo .document-widget {
        text-align: left;
    }

       .sermonjong .sermonjongwrapper .sermonsuyo .document-widget td {
            border: 0;
            color: #909090 !important;
            padding: 7px 5px;
        }

       .sermonjong .sermonjongwrapper .sermonsuyo .document-widget .document {
            color: #909090 !important;
            font-size: 18px;
            font-weight: 600;
            text-align: left;
            width: 100%;
            display: inline-block;
            float: left;
            position: relative;
            top: -30px;
            margin-left: 30px;
            margin-top: 1px;
        }

  .sermonjong .sermonjongwrapper .sermonsuyo .sermonbonmon {
        color: #909090 !important;
        font-size: 11px;
        font-weight: 600;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: -30px;
        margin-left: 36px;
        margin-top: 1px;
    }


     .sermonjong .sermonjongwrapper .boardfree > span {
        font-size: 18px;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: 5px;
        margin-left: 35px;
        margin-top: 0px;
        margin-bottom: 20px;
        color: #fff;
    }

    .sermonjong .sermonjongwrapper .boardfree > ul > li > a {
        font-size: 15px;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: 5px;
        margin-left: 35px;
        margin-top: 1px;
        padding-bottom: 20px;
        color: #fff;
    }

    .sermonjong .sermonjongwrapper .boardfree > a > img {
        right: 37px;
        top: 228px;
        position: absolute;
        font-size: 29px;
    }

 .sermonjong .sermonjongwrapper .boardfree > hr {
        border-top: 2px solid #fff;
        display: inline-block;
        width: 8%;
        margin: 0;
        position: relative;
        top: 15px;
    }

    .sermonjong .sermonjongwrapper .boardfree .sermonimg {
        padding: 35px 35px;
    }

   .sermonjong .sermonjongwrapper .boardfree .document-widget {
        text-align: left;
    }

        .sermonjong .sermonjongwrapper .boardfree .document-widget td {
            border: 0;
            color: #909090 !important;
            padding: 7px 5px;
        }

        .sermonjong .sermonjongwrapper .boardfree .document-widget .document {
            color: #909090 !important;
            font-size: 18px;
            font-weight: 600;
            text-align: left;
            width: 100%;
            display: inline-block;
            float: left;
            position: relative;
            top: -30px;
            margin-left: 30px;
            margin-top: 1px;
        }

     .sermonjong .sermonjongwrapper .boardfree .sermonbonmon {
        color: #909090 !important;
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        width: 100%;
        display: inline-block;
        float: left;
        position: relative;
        top: -30px;
        margin-left: 36px;
        margin-top: 1px;
    }

    .sermonjong .sermonjongwrapper .ftbicon {
        width: 33px;
        position: absolute;
        right: -60px;
        top: 55px;
    }

        .sermonjong .sermonjongwrapper .ftbicon img {
            padding-bottom: 5px;
        }

     .sermonjong .sermonjongwrapper .freegroup {
        position: relative;
        margin-top : 30px;
    }

      .sermonjong .sermonjongwrapper .freegroup > div {
            display: inline-block;
            color: #fff;
            font-size: 18px;
            text-align: left;
            width: 33px;
            float: left;
            position: absolute;
            top: 5px;
            right: 0;
            margin-top: -16px;
        }

        .sermonjong .sermonjongwrapper .freegroup .freeleft {
            right: 60px;
        }

       .sermonjong .sermonjongwrapper .freegroup .freestop {
            right: 40px;
        }

         .sermonjong .sermonjongwrapper .freegroup .freeright {
            right: 20px;
        }

.layout-main .slider-area {
    height: 675px;
    padding:0px;
}

    .layout-main .slider-area img {
    }

.header-right ul li a {color :#fff ; padding : 0px 6px; font-size:12px; text-decoration:none; letter-spacing:-1px;}
.box_2{text-align : center}

/* main slider s */
.contentImageSlider {
    overflow:inherit;
}
.slider-area { padding: 0px; position:relative;}

/* main slider e */

.mc {border: 1px solid #D5D5D5;}
.mainsection-0{padding:80px 0;display: inline-block;width: 100%;}
.mainsection-1 { background-color:#f0f0f0; }
.main1-content-1, .main1-content-2 {
    padding-top:20px;
    padding-bottom:40px;
}



.mainsection-1 h4 {width: 100%;display: inline-block;font-size: 22px;padding-top: 40px;font-weight: 500;margin: 0px 0px 0px;}
.mainsection-1 > .container > .row > img { float:right;}
.main-img-title {display:inline-block; background-color:red; color:#fff; padding: 5px 0px 5px 5px; width:95px; position:absolute; bottom : 0px ; right : 0px}
.main-date { font-size: 15px; color:#fdfdfd; display:inline-block;float:right;}
.main-title { font-size: 16px; color:#fdfdfd; display:inline-block;float:left;text-overflow: ellipsis; overflow: hidden; white-space: nowrap; word-wrap: normal !important; display: block; margin-top:0px; font-weight : 500;}
.main1-content {
    padding: 15px 15px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    width: 100%;
}
.main1-content a { text-decoration:none; }
.mc img:hover {opacity:0.7; transition:0.3s;}

.mainsection-2 { padding: 50px 0px 20px 0px;}
.ms2-left{padding:0px;}
.ms2-left h4 { font-size: 19px; margin:0px 0px 15px; font-weight:bold;}
.ms2-left-1 { padding-left:0px;     padding-right: 25px;}
.ms2-left-2 { padding-right:20px; padding-left: 5px;}
.ms2-left img:hover { opacity:0.6; transition:0.3s;}
.ms2-left-box h6 { margin:0px; font-size:17px; font-weight:bold; display:inline-block; float:left;}
.ms2-left-box img { float:right; margin-bottom:10px;}
.ms2-left-box ul { clear:both; padding-top:20px; border-top:1px solid #eee;}
.ms2-left-box ul li { padding-bottom:16px; font-size: 15px; text-align:left; font-family : NanumSquare;}
.ms2-left-box ul a { font-size:14px; color:#8f8f8f; text-decoration:none; letter-spacing:-1px;}
.ms2-left-box ul span { float:right; }

.ms2-right-1 li { display: inline-block;text-align: center;margin-top: 15px; padding: 0px 25px; border-right: 1px solid #979797;}
.ms2-right-1 li:last-child { border-right:none;}
.ms2-right-1 li a { text-decoration:none;}
.ms2-right-1 li:hover { color:red;}
.ms2-right-1 li img { margin-bottom:20px;}
.ms2-right-1 li h5 { font-size:18px; font-weight:bold; color:#0a0a0a; margin-bottom:15px;}
.ms2-right-1 li p { margin:0px; color:#979797; margin-bottom: -3px; font-size:14px;}
.ms2-right-2 ul { margin-top:45px; text-align:center; width:100%;}
.ms2-right-2 ul li { display:inline-block; float:left; height:120px;}
.ms2-right-2 ul li h4{ color:white;}
.ms2-right-2 p { font-size:13px; color:#fff; }
.ms2-right-2 ul a { text-decoration:none;}
.ms2-right-2 ul li:nth-child(1) { background:url(../Images/banner1.jpg); background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:230px; padding:10px 0px;}
.ms2-right-2 ul li:nth-child(2) { background-color:#979797; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:110px;}
.ms2-right-2 ul li:nth-child(3) { background-color:#C4B37C; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:110px;}
.ms2-right-2 ul li:nth-child(4) { background-color:#979797; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:110px;}
.ms2-right-2 ul li:nth-child(2) img { margin:22px 0px 15px;}
.ms2-right-2 ul li:nth-child(3) img { margin:28px 0px 15px;}
.ms2-right-2 ul li:nth-child(4) img { margin:28px 0px 15px;}
.ms2-right-2 h5 { color:#fff; margin:0px 0px 10px; font-size:17px;}
.ms2-right-time { margin:0px 0px 2px;}


/* main-quick s */

.main-quick { background-color:#279CE5; margin-bottom:-5px;}
.main-q-img { display: inline-block; margin-right: 15px;}
.main-q-content {display:inline-block; color:#fff; font-size:15px;}
.main-quick-content a:hover {text-decoration: none;}
.main-quick-content {text-align:center;}
.mq { padding:30px; border-right: 1px solid #eeeeee;}
.mq:hover { background-color: rgba(255,255,255,0.5); transition:0.3s;}
.mc img { width:100%; height:270px; }

/* main-quick e */

.hidden-click {
    display: inline-block;
    float: left;
    position: absolute;
    top: 325px;
    height: 40px;
    right: 289px;
    background-color: #000000;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    color: white;
    z-index: 60;
    opacity: 0.55;
    cursor: pointer;
}
.position-arow-img {
        position: absolute;
    top: 8px;
    left: 9px;
}
.notice-div {
    margin-bottom:20px;
}

#loginForm { margin-top:250px !important; margin-bottom:200px !important; }

@media(min-width:767px) {
    .mainsection-1 .row .main1-content-1:nth-child(4n-2) {
        padding-right: 21px !important;
        padding-left: 0px !important;
    }

    .mainsection-1 .row .main1-content-1:nth-child(4n-1) {
        padding-left: 7px !important;
        padding-right: 21px !important;
    }

    .mainsection-1 .row .main1-content-1:nth-child(4n-4) {
        padding-right: 21px !important;
        padding-left: 7px !important;
    }

    .mainsection-1 .row .main1-content-1:nth-child(4n-3) {
        padding-left: 7px !important;
        padding-right: 0px !important;
    }
}

/*앨범*/
.albums {position: absolute;background-color: #0749a0;color: #fff; right:0px; bottom:0; text-align:center; padding:5px 22px; font-size:15px;}
.gnb-container{padding-right:0px!important;}

@media (min-width:992px) and (max-width:1199px) {
    .ms2-left-1 .ms2-left-box .span-date, .ms2-left-2 .ms2-left-box .span-date {
        display:none;
    }
    .mc img {
        height:240px;
    }
    .ms2-right-1 li {
        padding: 15px;
        margin-top: 0px;
    }
    .ms2-right-2 ul li:nth-child(1) { background:url(../Images/banner1.png); background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:50%; padding:10px 0px;}
    .ms2-right-2 ul li:nth-child(2) { background-color:#979797; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:16%;}
    .ms2-right-2 ul li:nth-child(3) { background-color:#cfc3ab; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:16%;}
    .ms2-right-2 ul li:nth-child(4) { background-color:#555F69; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:16%;}
	
	.board-title .left-title{
	width:250px;
}
#sermon .title{
	width:190px;
}
	
}


/*아이패드 기준*/
@media (max-width:1024px) {
    .slider-1{display : none;}    
    .slider-2{display : none;}
    .slider-3{display : none;}
    .navbar{overflow : hidden;}
    .ms2-right-1 li{padding : 0px 15px;}
    .ms2-right-2 ul li:nth-child(1){width : 133px; padding : 7px 0px}
    .hidden-click {
        display:none;
    }
}

@media (max-width:1023px) {
    .navbar-toggle {display:block;}
    .layout-footer #footer {padding-bottom:30px;}
    #slider-inner { position:relative;}
    .slider-3 { padding: 15px 30px 13px; }
    .ms2-right-1 li { width:32%;}
    .ms2-right-2 ul li:nth-child(1) { background:url(../Images/banner1.png); background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:50%; padding:20px 0px;}
    .ms2-right-2 ul li:nth-child(2) { background-color:#979797; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:16%;}
    .ms2-right-2 ul li:nth-child(3) { background-color:#cfc3ab; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:16%;}
    .ms2-right-2 ul li:nth-child(4) { background-color:#555F69; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:16%;}
    .ms2-left-1 { text-align:center;}
    .mainsection-1 h4 { font-size:18px;}
    #notice1 > a:nth-child(3) { display:none;}
    .footer-info { clear:both;}
    #footer-logo { display:block; width:100%;}
    .footer-info { margin-top:15px;}
    .ms2-left h4 { text-align:center; margin:15px 0px;}
    .ms2-left-2 > div { text-align:center;}
    .ms2-left-box ul { text-align:left;}
    #footer { padding: 20px 15px!important;}
}
@media (max-width:991px) {
    .mc img {
        height: 180px;
    }
    .mainsection-1, .mainsection-2 {
        margin-bottom: 0px!important;
    }
    .slider-area {
        top: 50px;
    }
    .ms2-left {
        margin-bottom:30px;
    }
    .ms2-right {
        margin-bottom: 50px;
    }
    .mainsection-1, .mainsection-2 {
        position: relative;
        top: 50px;
        margin-bottom: 50px;
    }
    .footer_herder {
        border-top:inherit;
    }
	.main-1-left{
	padding-left:15px;
	padding-right:15px;
}
.main-1-right{
	padding-left:15px;
	padding-right:15px;
}


    #loginForm { margin-top:100px !important; margin-bottom:100px !important; }
}


@media (max-width:767px) {
    .div-plus {
        padding:0px 25px;
    }
    .ms2-left-box {
        padding: 0px 25px;
    }
    .row {
        margin: 0px;
    }
    .mainsection-0 {
        padding: 0px;
        padding-top: 80px;
    }
	.board-title .left-title{
	width:160px;
}
#sermon{
	    height: 260px;
}
#board{
	    height: 260px;
}
#board .board-sermon{margin-bottom:0px;}
.board-title{line-height:1.8;}
	#sermon .title{width:150px!important;}
	#sermon .sermon-div{top:50px;}
    .slider-1 > div, .slider-2 > div { text-align:center; margin-top:20px;}
    #slider-inner h6 { width:100%;}
    #slider-inner p { width:100%;}
    .slider-plus { margin-bottom:10px;}
    .main1-content-2 { padding-top:0px!important;}
    .mainsection-1 h4 {padding:15px 20px 15px 15px}
    .ms2-left-2 { padding-right:15px;}
    .ms2-right-1 li p { display:none;}
    .ms2-right-1 li h5 { font-size:13px;}
    .ms2-right-1 li { padding:0px; margin: 30px 1px 0px;}
    .ms2-right-2 ul li:nth-child(1) { background:url(../Images/banner1.png); background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:100%; padding:20px 0px;}
    .ms2-right-2 ul li:nth-child(2) { background-color:#979797; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:33.333%;}
    .ms2-right-2 ul li:nth-child(3) { background-color:#cfc3ab; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:33.333%;}
    .ms2-right-2 ul li:nth-child(4) { background-color:#555F69; background-position:center; background-repeat:no-repeat; background-size:100% 100%; width:33.333%;}
    .ms2-left-2 > div { margin-top:20px;}
    .ms2-left-1 { padding-left:15px;}
    
}

/* style e */


