﻿.middle-layout-a {
    background-image: url(/UserData/hnja/Layouts/hnja_Layout/Images/2.sermon_bg.png);
    height: 388px;
    width: 100%;
    background-position: center;
}


.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background: none;
    right:50px;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background: none;
    left:50px;
}
.middle-layout-a .middleawrapper .aspan {
    color: #75B2CE;
    font-size: 32px;
    display: inline-block;
    padding-top: 50px;
}



.middle-layout-a .right_img {
   position:absolute;
   left:140px;
   float:left;
}
.middle-layout-a .play_img{
   position:absolute;
   top:125px;
   right:75px;
   z-index:4;
}
.middle-layout-a .middleawrapper .a2span{
    color:#fff;
    font-size:32px;
    display: inline-block;
}

.middle-layout-a .middleawrapper > p {
    color: #BABDC4;
    font-size: 16px;
    padding-bottom: 26px;
    word-break:keep-all;
}

.middle-layout-a .middleawrapper img{
    padding-right:14px;
}

.middleawrapper .btn-123 {
    float:left;
}
.middleawrapper .sermon-video-list {
    position:absolute;
    top:290px;
    right:inherit!important;
}
.middle-layout-b {
    background-image: url(/UserData/hnja/Layouts/hnja_Layout/Images/3.contents_bg.png);
    height: 816px;
    width: 100%;
    padding: 80px 30px;
    margin-top:-7px;
    background-position: center;
    overflow-y: hidden;
    font-family: NanumSquare, sans-serif;
    font-weight: bold;
}

    .middle-layout-b .center {
        position:absolute;
        left:50%;
        top:50%;
        width:100%;
        transform:translate(-50%,-50%);
    }
    .middle-layout-b .ename {
        font-family: NanumSquare, sans-serif;
        /* font-weight: bold; */
        word-break:keep-all;
        color: #B0B1B3;
        letter-spacing: 1px;
    }

    .middle-layout-b .ename2 {
        font-family: NanumSquare, sans-serif;
        /* font-weight: bold; */
        color: #C0DEF6;
        letter-spacing: 1px;
        word-break: keep-all;
    }


.middle-layout-b .title {
    font-size: 25px;
    margin: 0px;
}


    .middle-layout-b .flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .middle-layout-b .middleblwrapper .bspan {
        padding-top: 40px;
        display: inline-block;
        color: #b39883;
        font-size: 28px;
    }

    .middle-layout-b .holyworship {
        position: relative;
        background-image: url(/userdata/hnja/layouts/hnja_layout/images/3.contents_1worship_bg.png);
        background-size: cover;
        height: 315px;
        width: 32%;
        color: #fff;
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        text-align:center;
    }


    .middle-layout-b .praise {
        height: 315px;
        background-image: url(/userdata/hnja/layouts/hnja_layout/images/3.contents_3praise_bg.png);
		background-size: cover;
        margin-top: 25px;
        width: 32%;
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        text-align: center;
    }

    .middle-layout-b .nextgeneration {
        position: relative;
        background-image: url(/userdata/hnja/layouts/hnja_layout/images/3.contents_2next_bg.png);
        background-size: cover;
        height: 315px;
        width:32%;
        color: #fff;
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        text-align: center;
    }

    .middle-layout-b .churchintroduce {
        height: 315px;
        background: #125089;
        width:32%;      
        margin-top:25px;
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        text-align: center;
    }

    .middle-layout-b .worshipintroduce {
        position: relative;
        background: #70B7EB;
        background-size: cover;
        height: 315px;
        width: 32%;
        color: #fff;
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        text-align: center;
    }

    .middle-layout-b .training {
        height: 315px;
        background: #307FE6;
        width:32%;       
        margin-top: 25px;
        text-decoration: none;
        color: #fff;
        font-size: 20px;
        text-align: center;
    }



    .middle-layout-b .middleblwrapper .b2span {
        display: inline-block;
        color: #000;
        font-size: 40px;
        padding-bottom: 10px;
    }

.middle-layout-b .middleblwrapper > p{
    font-size:16px;
    color:#c5c4c2;
    margin-bottom:35px;
}

.middle-layout-b .middleblwrapper > a{
    color:#000;
    text-decoration:none;
}

.middle-layout-b .middleblwrapper .school{
    width: 464px;
    height: 46px;
    background-color: #fff;
    margin-bottom:16px;
    border-radius:5px;
    font-size:24px;
    overflow-y:hidden;
}

.middle-layout-b .middleblwrapper .school .schoolimg1{
        padding: 16px 10px;
}

.middle-layout-b .middleblwrapper .school .schoolimg2{
    float: right;
    padding: 10px 10px;
}

.middle-layout-b .middlebrwrapper{    
    padding: 50px 0px 0px 0px;
}

.middle-layout-c{
    padding:0px;
}

.middle-layout-c .document-widget{
    width: 100%;
    font-size: 0px;
    letter-spacing: 0px;
    word-spacing: 0px;
}

.middle-layout-c .document-widget img{
    display: inline-block;
    font-size: 0;
    vertical-align: top;
    padding: 0;
    line-height: 0;
    margin: 0px;
    height:203px;
    width:100%;
}



.middle-layout-d { 
    border-bottom: 1px solid #cdcdcd;
}

.middle-layout-d .topnotice{
    text-align:center;
    padding-top:36px;
    padding-bottom:40px;
}

.middle-layout-d .topnotice .topnlabel{    
    font-size: 32px;
    padding: 7px;
    font-weight: 600;
    width: 262px;
    display: inline-block;
    border: 1px solid #000;
}


.middle-layout-d .toprecent {   
    padding-bottom:48px;
}

.middle-layout-d .toprecent .topso{   
    font-weight: 600;
    font-size: 20px;
}

.middle-layout-d .toprecent > a{
    color:#000;
}

.middle-layout-d .toprecent .topso2{   
    float: right;
    padding-right: 15px;
    font-size: 16px;
    font-weight: 600;
}

.middle-layout-d .toprecent > ul {   
    padding-top:22px;
}

.middle-layout-d .toprecent > ul > li > a{   
    width: 100%;
    display: inline-block;
    text-decoration:none;
    color: #000;
    font-size: 14px;
}

.middle-layout-d .toprecent > ul > li > a > hr{
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid #d4d4d4;
}

.middle-layout-d .toprecent > ul > li > a .regday{    
    float: right;
    padding-right: 15px;
}

.middle-layout-e .elabel1 {
    text-align: center;
    color: #5B87AC;
    font-weight: 600;
    font-size: 14px;
    padding-top: 35px;
}

.middle-layout-e .elabel2 {
    text-align: center;
    padding-top: 14px;
    font-size: 34px;
    color: #54514C;
}


.middle-layout-e .ebook{
    text-align: center;
    padding-top:27px;
}

    .middle-layout-e .ebook .espan {
        width: 330px;
        display: inline-block;
        height: 1px;
        margin: 4px 12px;
        background: #BAC8D3;
    }


.middle-layout-e .elabel3 {
    text-align: center;
    color: #888888;
    font-size: 16px;
    padding: 24px 0;
    font-family: NanumSquare, sans-serif;
}


.middle-layout-e .emore{
    text-align:center;
    padding-top:18px;
    padding-bottom:50px;
}

.middle-layout-e .emore .elabel4{       
    font-size: 16px;
    padding: 7px;
    width: 146px;
    display: inline-block;
    border: 1px solid #c5c4c2;
    color: #c5c4c2;
    border-radius: 5px;
}
.middle-layout-a {
    display: inline-block;
}
    
    .middle-layout-a a .cont_btn {
            display: block;
            position: relative;
            left: 377px;
            top: -300px;
            padding:5px;
            width:50%;
            font-size: 24px;
            text-align: center;
            border: 1px solid;
    }

.document-widget.gallery .document {
        width: 14.28%!important;
}
.btitle {
    width:300px;
    white-space: nowrap; 
    font-size: 30px;
    overflow: hidden; 
    text-overflow: ellipsis;
}
.elabel3 .gray {
    float: left;
    width: 100%;
    font-weight:bold;
    margin: 35px 0;
    color: #898989;
}

.bbible {
    width: 150px;
    float: left;
    color: #B3B6BD;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px;
}

.bdate {
    color: #B3B6BD;
    font-size: 15px;
}

.middle-layout-b p {
    word-break:keep-all;
}



@media(max-width:1500px) {
    .middle-layout-a .play_img {
        right: 0px;
    }

    .middle-layout-a a .cont_btn {
        left: 311px;
    }
}
}



@media(max-width:1199px) {
    .middle-layout-a .play_img{
    right:0px;
    }
    .bodyWrapper .layout-header .header-gnb > ul > li > a {
        padding: 13px;
    }
    .middle-layout-b {
        padding: 80px 15px;
    }

}

@media(max-width:991px){
    .btitle {
        width: 66%;
    }

    .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
        left: 20px;
        width:20px;
    }

    .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
        right:20px;
        width:20px;
    }


    .middle-layout-a .middleawrapper > p {
        padding-bottom: 0px;
    }

    .middle-layout-b {
        padding: 80px 15px;
        height: auto;
    }

 
    .middle-layout-a {
        background-position:left;
    }
    .middle-layout-b .middleblwrapper .school{
        width:100%;
    }
    .middleawrapper .sermon-video-list {
              position: absolute;
              top: 290px;
              right:0px;
    }
    .middle-layout-a .play_img {
            position: absolute;
            top: 80px;
            left: 350px;
             z-index: 4;
    }
    .middleawrapper2{
        display:none;
    }

    .btitle {
        font-size: 27px!important;
    }

}
@media(max-width:768px) {

    .middle-layout-b .holyworship {
        width: 100%;
        height:270px;
    }

    .middle-layout-b .worshipintroduce {
        width: 100%;
        height: 270px;
        
    }

    .middle-layout-b .nextgeneration {
        width: 100%;
        height: 270px;
        
    }

    .middle-layout-b .churchintroduce {
        width: 100%;
        height: 270px;
        margin-top: 0px;
    }
    .middle-layout-b .praise {
        width: 100%;
        height: 270px;
        margin-top: 0px;
    }
    .middle-layout-b .training {
        width: 100%;
        height: 270px;
        margin-top: 0px;
    }

    .middle-layout-a a .cont_btn {
        display: block;
        position: relative;
        left: 300px;
        top: -65px;
        width: 40%;
        font-size: 24px;
        text-align: center;
        border: 1px solid;
    }

}

@media(max-width:500px) {
    .middle-layout-a a .cont_btn {   
        left: 250px;
        top: -50px;
        width: 31%;

    }


}


    @media(max-width:414px) {

        .middle-layout-a a .cont_btn {
            display: block;
            position: relative;
            left: 200px;
            top: -65px;
            width: 30%;
            font-size: 24px;
            text-align: center;
            border: 1px solid;
        }

        .middle-layout-d .toprecent > ul > li > a {
            font-size: 13px;
        }
        .middle-layout-a a .cont_btn {
            top: -87px;
        }

        .middle-layout-a .middleawrapper img {
            padding-right:0px; 
        }


    }


