﻿
#sermon {
}

.col-md-6 {
    padding: 0;
    position: relative;
}

.sermon-title {
    font-size: 18px;
    margin-bottom: 45px;
    margin-left: 50px;
    position: absolute;
    bottom: 0;
    color: #fff;
}

    .sermon-title em {
        font-style: normal;
        position: relative;
        top: 10px;
    }

    .sermon-title span {
        font-size: 20px;
        margin-right: 20px;
    }

    .sermon-title .span2 {
        font-size: 20px;
    }

    .sermon-title strong {
        font-size: 23px;
        margin-right: 20px;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        word-wrap: normal !important;
        display: inline-block;
        width: 180px;
        position: relative;
        top: 13px;
    }

    .sermon-title img {
        margin-right: 260px;
    }

    .sermon-title em {
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        display: inline-block;
        text-align: right;
    }

    .sermon-title .desc2 {
        width: 125px;
    }

#quick {
    text-align: center;
    padding: 30px 0 100px;
}

    #quick li {
        display: inline-table;
        background: #FAB14A;
        color: #fff;
        padding: 30px 5px;
        font-size: 24px;
        width: 130px;
        height: 130px;
        vertical-align: middle;
        margin: 0 55px;
        box-shadow: 5px 5px 6px 2px #ccc;
    }

        #quick li:hover {
            box-shadow: 16px 17px 6px 2px #ccc;
            transition: 0.5s all;
            background: #ffd08d;
        }

        #quick li p {
            margin: 0;
            display: table-cell;
            vertical-align: middle;
        }

.new-box {
    padding: 50px 0 20px;
}
.new-box a {
	color:#000;
	}

.new-box ul {
    margin-top: 40px;
}

.new-box ul li {
       border: 1px solid #000;
       padding: 60px 0;
       font-size: 16px;
       width: 140px;
       height: 140px;
       display: inline-block;
       cursor:pointer;
       font-weight:700;
 }
 .new-box ul li p{
 	letter-spacing:1px;
}
.new-box ul a:nth-child(3) li p{
	letter-spacing:-0.5px;
}
 	
.new-box ul li p:hover{transform:scale(1.2); transition:0.2s all;}

.new-box ul a:nth-child(2) li {
    margin: 0 25px;
}

.sermon-right hr {
    width: 70px;
    border-bottom: 3px solid #333;
    margin: 0 auto;
    height: 0;
}

.sermon-right h5 {
    font-size: 19px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
}

.sermon-right h2 {
    font-size: 38px;
    margin: 30px 0 60px;
    font-weight: 400;
}

.sermon-right table td {
    padding: 8px 0;
    text-align: center;
}

.sermon-right table {
    border: none;
    font-size: 19px;
    margin: 0 auto;
}

.sermon-right {
    padding: 40px 15px;
}


#next {
    background: url(../../../Layouts/parisyeonhap_Layout/Images/bg_4.png) no-repeat;
    background-size: 100% 100%;
    height: ;
    text-align: center;
    padding: 40px 0;
}

#info .sermon-right {
    padding: 20px 0;
}

#info .sermon-right table {
        font-size: 17px;
        padding: 6px 0;
    }

#info .sermon-right h2 {
        font-size: 37px;
        margin: 30px 0;
    }

#info .new-box {
    padding: 50px 0 11px;
}

#next > div > div > div > p {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

.col-md-12 ul a li img {
    max-width: none;
}
.col-md-12 ul a li img:hover{transform:scale(1.2); transition:0.5s all;}

.slider .slider-dots {
    display: none;
}

    .slider .slider-dots .each-dot.active {
        background: transparent !important;
        border: 1px solid #fff !important;
    }

    .slider .slider-dots .each-dot {
        opacity: 0.5;
    }

#next ul {
    margin-top: 50px;
}

#next li {
    display: inline-block;
    color: #333;
    font-size: 18px;
    height: 90px;
    vertical-align: middle;
    width: 90px;
    margin: 0 25px;
    display: inline-table;
    height: 90px;
}

#next li p {
        margin: 0;
        display: table-cell;
        vertical-align: middle;
    }

#next li:hover {
        background: #fff;
        color: #333;
        transition: 0.2s all;
    }

#next hr {
    width: 135px;
    border-bottom: 1px solid #fff;
    margin: 0 auto 30px;
    height: 0;
}

#next h5 {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 10px;
}

#next h2 {
    font-size: 45px;
    margin: 40px 0;
    font-weight: bold;
    color: #4381ba
}






.bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 15px;
    font-size: 18px;
    text-align: left;
}

    .bottom a {
        padding: 1px 0px;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        word-wrap: normal !important;
        display: inline-block;
        color: #fff;
        text-decoration: none;
    }

/*Contact us*/
#contact { background: url(../../../Layouts/parisyeonhap_Layout/Images/contactus_bg.png) no-repeat; background-size: 100% 100%; height: 432px;  text-align: center;  padding: 80px 0;}
#contact h1 { font-size: 45px; font-weight: bold; margin: 0 0 17px;}
#contact h2 { font-size: 23px; font-weight: bold; margin: 35px 0 0;}
#contact h2 span { font-size: 23px; font-weight: bold; display: inline-block; margin-left: 20px;}
#contact hr { width: 120px; border-bottom: 1px solid #333; margin: 0 auto;}
#contact ul { margin-top: 65px;}
#contact li { display: inline-block; font-size: 19px; padding: 0 130px 0 100px; font-weight: bold; }
#contact li p { margin: 20px 0 0; font-weight: normal; }


/*Gallery*/

#gallery {
    background: url(../../../Layouts/parisyeonhap_Layout/Images/bg_g.png) no-repeat;
    background-size: 100% 100%;
    height: 474px;
    text-align: center;
    padding: 50px 170px 70px;
}

#gallery h1 { font-size: 45px; font-weight: bold; margin: 0 0 17px; color: #fff;}

#gallery hr {
        width: 120px;
        border-bottom: 1px solid #fff;
        margin: 0 auto;
}

.gallery-box {
    position: relative;
    margin: 0 auto;
    max-width: 1300px;
    overflow: hidden;
    height: 320px;
}



.wrapper {
    overflow: hidden;
}

#ms2-gellary img:hover {
    transform: scale(1.2);
    transition: 0.2s all;
}

.gallery-desc {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    padding: 15px 30px;
}

    .gallery-desc p {
        margin: 0;
        font-size: 17px;
        color: #fff;
        text-align: left;
    }

.wrapper img {
    width: 470px;
    height: 250px;
}

.box_controls a.disabled{display:none;}

.box_controls a:first-child {
    width: 31px;
    height: 60px;
    position: absolute;
    left: 0;
    top: 50%;
    background: url(../../../Layouts/parisyeonhap_Layout/Images/arrow_1.png);
    cursor: pointer;
}
.box_controls a:nth-child(2) {
        width: 31px;
        height: 60px;
        position: absolute;
        right: 0;
        top: 50%;
        background: url(../../../Layouts/parisyeonhap_Layout/Images/arrow_2.png);
        cursor: pointer;
}
.box_contents{
    position: relative;
    width: 365px;
    height: 100%;
    z-index: 1;
    transition-duration: 0ms;
    display: flex;
    transform-style:preserve-3d;
    box-sizing:content-box;
}
.swiper-slide {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-flex-shrink: 0;
    -ms-flex: 0 0 auto;
    flex-shrink: 0;
    
    height: 100%;
    position: relative;
    
    overflow: hidden;
}
#ms2-gellary {width:1101px;
              margin:57px auto;
              overflow:hidden;
}
.ms2-cont {
    font-size: 17px;
    color: #fff;
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 21%;
    text-align: left;
    padding: 12px 12px 12px 18px;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal !important;
    display: block;
}

#ms2-left {
    position: absolute;
    top: 45%;
    left: 0;
    cursor:pointer;
}
#ms2-right {
    position: absolute;
    top: 45%;
    right: 0;
    cursor: pointer;
}

#ms2-left img {
    opacity:0.5;
}

#ms2-right img {
    opacity: 0.5;
}


@media (min-width:1200px){
	#sermon > .container{
	width:1240px!important;
	}
	}

@media (min-width:1200px) and (max-width:1499px) {
			.sermon-title img{
				margin-right:260px;
			}	
	
    	.sermon-title strong {
            width: 180px;
      }

        .sermon-title em {
            margin: 0 5px;
        }

        .sermon-title em {
            width: 150px;
        }

        .gallery-box {
            
        }

        #gallery {
            padding: 70px 15px;
        }

        #next li {
            margin: 0 8px;
        }

        #next h2 {
            margin-bottom: 55px;
        }

        #quick li {
            margin: 0 54px;
        }

        .sermon-right {
            padding: 10px 0;
        }
    }

    @media (min-width:993px) and (max-width:1199px) {
    	  .sermon-title img{
    	  	margin-right:30px;
    	  	}
    
    		.sermon-title {
    			margin-left:15px;
    			font-size:15px;
    			margin-bottom:32px;
    		}
    		 #info .sermon-right{
    		 	padding-bottom:0;
    		 	}
    		 #info .new-box{
    		 	padding:0;
    		 	}
    	  .new-box ul a:nth-child(2) li{
    	  	margin:0;
    	  	}
    		.new-box ul li{
    			margin:0;
    			}
    		#info .sermon-right table{
    			font-size:15px;
    			}
    		#info .sermon-right h2{
    			font-size:32px;
    			}	
    		.sermon-right table{
    			font-size:17px;
    			}
    	  .navbar-nav{
    	  	margin-left:160px;
    	  	}
        .gallery-box {
            margin-top: 0px;
        }

        #gallery {
            padding: 70px 5px;
        }

        #next h2 {
            margin-bottom: 55px;
        }

        #quick li {
            margin: 0 33px;
        }

        .sermon-right {
            padding: 10px 0;
        }

        .gallery-desc {
            padding: 15px;
        }

        #gallery > div > div > a > div {
            padding: 0 8px;
        }

        #notice > div > div > div {
            padding: 0 15px;
        }

        #next li {
            display: inline-block;
            color: #333;
            font-size: 18px;
            border: 1px solid #333;
            vertical-align: middle;
            width: 80px;
            margin: 0 4px;
            display: inline-table;
            height: 80px;
        }

        .sermon-right li {
            display: inline-block;
            color: #333;
            font-size: 18px;
            border: 1px solid #333;
            height: 90px;
            vertical-align: middle;
            width: 90px;
            margin: 0 14px;
            display: inline-table;
            height: 90px;
        }
    }

    @media (min-width:768px) and (max-width:992px) {
    	 
    		#sermon > div > div > div > img{
    			width:100%;
    		}
    		
    		.sermon-title span {
    			font-size:25px;
				}
    	
 	    	#info img{
 	    	margin:0 auto;
 	    	width:100%;	
 	    	}
 	    	.sermon-title{
 	    		margin-left:50px;
 	    		margin-bottom:60px;
 	    	}
 	    	
 	    	
 	    	.sermon-title strong {
 	    		margin-right:0;
 	    		width:310px;
 	    		font-size:26px;
 	    	}

        .sermon-title em {
            margin: 0 10px;
        }

        .sermon-title em {
            width: 160px; 
        }

        #contact li {
            padding: 0 20px;
            font-size: 22px;
        }
   			#ms2-gellary{
   				width:280px;
   				margin:0 auto;
   			}
   			#ms2-left{
   			left:20%;	
   			top:30%;
   			}
   			#ms2-right{
   			right:20%;
   			top:30%;	
   			}
   			.new-box ul li {
   				font-size:18px;	
   			}
   			
   			.new-box ul a:nth-child(2) li{
   				margin:0 60px;	
   			}
   			
        #gallery {
            height: auto;
            padding: 10px 15px;
            background:#7C86C1;
        }
				.gallery-box {
					height:auto;
					margin:25px auto;
				}
        #gallery h1 {
            font-size: 30px;
        }

        #contact h1 {
            font-size: 30px;
        }

        #notice h1 {
            font-size: 30px;
        }

        #next {
            height: auto;
        }

        #notice > div > div > div {
            padding: 0 15px;
            margin-top: 55px;
        }

        #notice .notice-box {
            padding: 40px 15px;
        }

            #notice .notice-box ul li {
                padding: 20px 10px 0;
            }

                #notice .notice-box ul li p {
                    font-size: 17px;
                }

            #notice .notice-box h2 {
                font-size: 22px;
            }

        #quick li {
            display: inline-table;
            background: #FAB14A;
            color: #fff;
            padding: 30px 5px;
            font-size: 18px;
            width: 110px;
            height: 110px;
            vertical-align: middle;
            margin: 0 20px;
            box-shadow: 5px 5px 6px 2px #ccc;
        }

        #next h2 {
            margin: 20px 0 50px;
        }

        #next ul {
            margin-bottom: 50px;
        }

        #next {
            padding: 60px 0;
        }

        #quick {
            padding: 0 0 60px;
        }

        .sermon-right {
            padding: 50px 0 30px;
        }
    }

    @media (max-width: 767px) {

    	  .new-box ul a:nth-child(2) li{
    	  	margin:0;
    	  	}
        #info {
            margin-top:20px;
        }
        #info .sermon-right {
            padding: 0;
        }

        .sermon-title {
            margin-bottom: 15px;
            margin-left: 10px;
        }
        .sermon-title img{
            position:absolute;
            right:25px;
            bottom:20px;
            margin-right:0;
        }


        #contact {
            background: url(../../../Layouts/parisyeonhap_Layout/Images/bg_5.png) no-repeat;
            background-size: auto 100%;
            height: 385px;
            text-align: center;
            padding: 50px 0 0;
            background-position: right;
        }

        .sermon-title strong {
            font-size: 18px;
            width: 310px;
            top: 2px;
        }

        #notice {
            padding: 40px 0;
        }

            #notice .notice-box .plus {
                font-size: 34px;
            }

        #gallery hr {
            margin: 0 auto 30px;
        }

        .gallery-box {
            margin-top: 20px;
        }

        

            #contact h2 {
                font-size: 19px;
            }

                #contact h2 span {
                    font-size: 17px;
                }

            #contact ul {
                margin-top: 30px;
            }

            #contact li {
                padding: 0 20px;
                font-size: 17px;
                margin-bottom: 15px;
            }
        #info .new-box {
            padding-bottom:35px;
        }
        
        .new-box ul li {
   				font-size:14px;	
   			}
            #gallery {
            height: auto;
            padding:30px 0;
        }
        #ms2-left {
            top:35%;
        }
        #ms2-right {
            top: 35%;
        }
        .gallery-box {
            height:unset;

        }
        #ms2-gellary {
            margin: 0 auto;
            width: 280px;
        }
        .swiper-slide {
           margin:0;
           width:unset;
        }
        #contact li p {
            margin:10px 0 0;
        }
        #gallery h1 {
            font-size: 25px;
        }

        #contact h1 {
            font-size: 25px;
        }

        #notice h1 {
            font-size: 25px;
        }

        #next {
            height: auto;
        }

        #notice > div > div > div {
            padding: 0 15px;
            margin-top: 30px;
        }

        #notice .notice-box {
            padding: 30px 15px;
        }

            #notice .notice-box ul li {
                padding: 20px 10px 0;
            }

        .sermon-title em {
            display: none;
        }

        #notice .notice-box ul li p {
            font-size: 17px;
        }

        #notice .notice-box h2 {
            font-size: 19px;
        }

        #quick li {
            display: inline-table;
            background: #FAB14A;
            color: #fff;
            padding: 30px 5px;
            font-size: 15px;
            width: 102px;
            height: 102px;
            vertical-align: middle;
            margin: 10px;
            box-shadow: 5px 5px 6px 2px #ccc;
        }

        #next h2 {
            margin: 20px 0 50px;
            font-size: 18px;
        }

        #next ul {
            margin-bottom: 20px;
        }

        #next {
            padding: 20px 0;
        }

        .next-left {
            padding: 0;
        }

        #next > div > div > div > p {
            font-size: 16px;
        }

        #quick {
            padding: 0 0 60px;
        }

        .sermon-right {
            padding: 0;
        }

        #notice .notice-box ul li p {
            font-size: 16px;
        }

        #notice .notice-box ul li span {
            font-size: 16px;
        }

        #next li {
            display: inline-block;
            color: #333;
            font-size: 14px;
            border: 1px solid #333;
            height: 90px;
            vertical-align: middle;
            width: 70px;
            margin: 0 1px;
            display: inline-table;
            height: 70px;
        }

        .sermon-right h2 {
            font-size: 23px;
            margin-bottom:20px;
        }

        .sermon-right table {
            font-size: 17px;
        }

        .new-box ul {
            margin-top:0;
        }

        .new-box ul li {
            padding: 35px 0;
            font-size: 13px;
            width: 100px;
            height: 90px;
        }
        .new-box ul li:nth-child(2){
            margin:0 10px;
        }


    }


