﻿#main .slider .slider-dots .each-dot {
    margin: 0 5px;
}

    #main .slider .slider-dots .each-dot.active {
        background: #0072BB;
        border-color: #0072BB;
        width: 30px;
        transition: all ease-in-out .25s;
        border-radius: 15px;
    }

.container {
    width: 1330px;
}

.flex-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#main2 {
    /* background: url(../../../Layouts/bdsm_layout/Images/3_sermon_bg.png) no-repeat; */
    height: 537px;
	position:relative;
}
#main2 .container{
	position:relative;
}

    #main2 .flex-wrap {
        height: 537px;
    }

    #main2 .c1 {
        background: url(../../../Layouts/bdsm_layout/Images/sermon_bg2.png) no-repeat;
        width: 651px;
        height: 487px;
        position: relative;
    }

#main2 .c1 .sermon-cont{
	    position: absolute;
    top: 0;
    left: 0;
    padding: 30px;
	text-decoration:none;
	color:#fff;
}
#main2 .c1 .sermon-cont i {
font-size:60px; margin-top:30px;
}
#main2 .c1 .sermon-cont h1 {
	margin:30px 0 70px;
	font-size:42px;
}
        #main2 .c1 > .sermon-bottom {
            font-size: 20px;
            color: #fff;
            position: absolute;
            bottom:0;
            width: 100%;
        }
#main2 .c1 > div > ul { display:flex; background:#004c74; height:55px; justify-content: space-around;}
#main2 .c1 > div > ul > li { width:100%; text-align:center; cursor:pointer;}
#main2 .c1 > div > ul > li:nth-child(1){ background:#009ddd; }

#main2 .c1 > div > ul > li > a { color: #fff; padding: 5px 15px; display: inline-flex; height: 55px; align-items: center; text-decoration:none;}
#main2 .c1 > div > ul > li:nth-child(2){background:rgb(0 157 221 / 40%)}
#main2 .c1 > div > ul > li:nth-child(3){background:rgb(0 140 221 / 78%)}
#main2 .c1 > div > ul > li:hover{ transition:all ease-in-out .15s;}
#main2 .c1 > div > ul > li:hover a { font-weight:bold;}
    #main2 .c2 {
        display: inline-flex;
        flex-wrap: wrap;
        width: 650px;
        justify-content: space-between;
        align-content: space-between;
        height: 487px;
    }

        #main2 .c2 > div {
            width: 313px;
            height: 230px;
        }

        #main2 .c2 div {
            position: relative;
        }

            #main2 .c2 div .text {
                font-size: 26px;
                color: #fff;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
                border-bottom: 3px solid #fff;
                padding-bottom: 5px;
                font-weight: bold;
            }

            #main2 .c2 div a {
            }

                #main2 .c2 div a:hover .text {
                    color: #01c9ca;
                    border-bottom: 3px solid #01c9ca;
                    transition: all 0.2s;
                }

        #main2 .c2 .child1 {
            background: url(../../../Layouts/bdsm_layout/Images/online_bg2.png) no-repeat;
        }

        #main2 .c2 .child2 {
            background: url(../../../Layouts/bdsm_layout/Images/wednesday_bg2.png) no-repeat;
        }

        #main2 .c2 .child3 {
            background: url(../../../Layouts/bdsm_layout/Images/dawn_bg2.png) no-repeat;
        }

        #main2 .c2 .child4 {
            background: url(../../../Layouts/bdsm_layout/Images/house_bg2.png) no-repeat;
        }


#main3 {
    /* background: url(../../../Layouts/bdsm_layout/Images/4_Quick_bg.png) no-repeat; */
    height: 380px;
	display: flex;
    align-items: center;
}

    #main3 .title {
        text-align: center;
        color: #fff;
        margin: 80px 0;
    }

        #main3 .title h1 {
            font-family: serif;
            font-weight: bold;
        }

        #main3 .title h4 {
            font-family: serif;
            color: #f3f3f3;
            margin-top: 20px;
            letter-spacing: 2px;
        }

    #main3 .flex-wrap {
        height: 370px;
    }

        #main3 .flex-wrap .cont {
            background: #fff;
            height: 340px;
            width: 315px;
            padding: 30px;
            box-shadow: 5px 5px 15px #b7b7b7;
        }

    #main3 .cont .ctitle {
        color: #144475;
        font-size: 26px;
        display: flex;
        justify-content: space-between;
        vertical-align: middle;
        line-height: 55px;
    }

#main3 .cont ul {
	list-style:circle;
	padding-left:20px;
}
    #main3 .cont ul li a {
        color: #000;
        font-size: 20px;
        width: 100%;
        display: inline-block;
        margin-top: 25px;
        text-decoration: none;
    }

        #main3 .cont ul li a:hover {
            background: #0072bc;
            color: #fff;
            transition: all ease-in-out .25s;
        }

#main4 {
    /* background: url(../../../Layouts/bdsm_layout/Images/5_board_bg.png) no-repeat; */
    height: auto;
	margin-bottom:30px;
}

    #main4 .title {
        text-align: center;
        margin: 0px 0 10px;
    }

        #main4 .title h1 {
            margin-bottom: 50px;
            font-family: serif;
        }

    #main4 .tab-wrap {
        width: 650px;
        height: 615px;
        border: 1px solid #e3e3e3;
        padding: 60px 50px;
        background: #fff;
        position: relative;
    }
	#main4 .tab-wrap .swiper-slide.active{
		z-index:10;
	}
		#main4 .tab-wrap .swiper-slide {
			position:fixed;
        }
        #main4 .tab-wrap .ctitle {
            font-size: 22px;
            font-weight: bold;
            display: flex;
            align-items: flex-end;
            margin-bottom: 40px;
        }

            #main4 .tab-wrap .ctitle img {
                margin-right: 20px;
            }

        #main4 .tab-wrap .tab-list {
            position: absolute;
            top: 80px;
            right: 45px;
        }

            #main4 .tab-wrap .tab-list ul li {
                display: inline-block;
                cursor: pointer;
            }

                #main4 .tab-wrap .tab-list ul li a {
                    width: 8px;
                    height: 8px;
                    background: #e1c0c4;
                    border-radius: 50%;
                    display: inline-block;
                    margin: 0 5px;
                }

                #main4 .tab-wrap .tab-list ul li.active a {
                    background: #F5793B;
                }

.contsWrap .cont-title {
    font-size: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

    .contsWrap .cont-title .cont-date {
        font-size: 18px;
        color: #000;
    }

.textOverEl {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 70%;
}

.contsWrap a {
    text-decoration: none;
}

.contsWrap .cont {
    font-size: 18px;
    margin: 20px 0;
    height: 300px;
    overflow: hidden;
    position: relative;
	color:#000;
	padding:0 10px;
}

.contsWrap .tab-pane:after {
    content: ".....";
    font-size: 18px;
    position: absolute;
    bottom: 60px;
    left: 50px;
}

.tab-cont2 .tab-pane:after {
    content: unset;
}

.contsWrap.tab-cont2 .cont img {
    width: 100%;
}

.contsWrap > div {
    width: 100%;
    height: 365px;
}

.tab-wrap .quick-btn {
    position: absolute;
    right: 50px;
    bottom: 55px;
}

#main5 {
    text-align:center;
    position: relative;
	margin-bottom:40px;
	
}

#main5 .quick-menus{
	display: flex;
	justify-content:center;
}
#main5 .quick-menus a img { width:80px;
display:block;
margin:0 auto 5px;}
#main5 .quick-menus a {
	text-decoration:none;
	color: #000;
    font-size: 17px;
    text-align: center;
    padding: 5px 10px;
    
	margin:0 20px 10px;
	
}
#main5 .quick-menus a:hover{
	transform:translateY(-10px);
	transition:all ease-in-out .35s;
	font-weight:bold;
}
#main5 .quick-menus a.hvr-shutter-in-vertical:before{
	background:#fff;
}
@media (max-width:1640px){
	
}
@media (min-width:1200px) and (max-width:1320px) {
	.container{width:100%;}
	#main2 .flex-wrap > div { width:50%;}
	#main2 .flex-wrap > div.c1{margin-right:15px;}
	#main2 .c2 > div{ width:50%;}
}
@media (min-width:993px) and (max-width:1199px) {
	.container{width:100%;}
	#main2 .flex-wrap > div { width:50%;}
	#main2 .flex-wrap > div.c1{margin-right:15px;}
	#main2 .c2 > div{ width:50%;}
}

@media (min-width:768px) and (max-width:992px) {
	.container{width:100%;}
	#main2 .flex-wrap > div {
		width:100%;
		background-size: cover;
		
		}
	#main2 .flex-wrap > div.c2{
		height:auto;
		
	}	
	#main2 .flex-wrap { flex-wrap:wrap;}
	#main2 .c2 > div{width:25%;}
	#main2{height:auto;}
	#main2 .flex-wrap{height:auto;}
	#main3 .flex-wrap .cont{
		padding:30px 15px;
	}
}

@media (max-width: 767px) {
	#main .slider .slider-dots { bottom:5px;}
    .container {
        width: 100%;
    }
	#main .slider .slider-dots .each-dot{
		width:8px;
		height:8px;
		margin:0 1px;
	}
	#main .slider .slider-dots .each-dot.active{
		width:15px;
	}

    #main2 {
        height: auto;
        padding: 0 10px;
    }

        #main2 .flex-wrap {
            height: auto;
            flex-wrap: wrap;
            margin: 20px 0;
        }

            #main2 .flex-wrap > a {
                width: 100%;
                display: inline-flex;
                height: 30vw;
            }

        #main2 .c1 {
            background-size: contain;
			width: 100%;
			background-position: center;
			height: 71vw;
        }
		#main2 .c1 .sermon-cont{
			padding:5vw;
		}
		#main2 .c1 .sermon-cont h3{
			font-size:14px; margin-top:10px;
		}
		#main2 .c1 .sermon-cont h1{
			font-size:26px;
			margin-bottom:10px;
			margin-top:20px;
		}
		#main2 .c1 .sermon-cont h4{
			font-size:16px;
		}
		#main2 .c1 .sermon-cont i{
			margin-top:5px;
			font-size:40px;
		}
		#main2 .c1 > .sermon-bottom{
			font-size:16px;
			word-break:keep-all;
		}
            #main2 .c1 > div {
                font-size: 26px;
            }

                #main2 .c1 > div > img {
                    width: 50px;
                }

        #main2 .c2 {
            width: 100%;
            height: auto;
            margin-top: 20px;
			justify-content: center;
        }

            #main2 .c2 > div {
                width: 45%;
    background-size: cover !important;
    height: 34.6vw;
    margin: 5px;
            }
            #main2 .c2 div .text {
                font-size:6vw;
				white-space:nowrap;
            }

            #main3 {
                height: auto;
                background-size: 100% 100%;
                padding-bottom: 20px;
            }

        #main3 .title {
            margin: 20px 0;
        }

            #main3 .title h1 {
                font-size: 32px;
                word-break: keep-all;
            }

            #main3 .title h4 {
                padding: 0 10px;
                text-align: center;
                word-break: keep-all;
            }

        #main3 .flex-wrap {
            height: auto;
            flex-wrap: wrap;
            justify-content: center;
        }

            #main3 .flex-wrap .cont {
                height: auto;
                width: 100%;
                padding: 15px 30px;
            }

            #main3 .flex-wrap .cont {
                margin: 10px 0;
            }

        #main3 .cont ul li a {
            margin-top: 15px;
        }

    #main4 {
        height: auto;
        padding: 0 0 20px;
        background-size: contain;
		margin-bottom:0;
    }

        #main4 .tab-wrap {
            width: 100%;
            margin-bottom: 10px;
        }

        #main4 .flex-wrap {
            flex-wrap: wrap;
            height: auto;
        }

        #main4 .title {
            margin: 25px 0 15px;
        }

            #main4 .title h1 {
                font-size: 26px;
                word-break: keep-all;
                margin-bottom: 0;
            }

        #main4 .tab-wrap {
            height: auto;
            padding: 5px 15px 25px;
        }

            #main4 .tab-wrap .ctitle {
                margin-bottom: 20px;
            }

                #main4 .tab-wrap .ctitle img {
                    margin-right: 10px;
                }

    .contsWrap .cont-title {
        font-size: 18px;
    }
	#main4 .tab-wrap .swiper-slide{
		position:relative;
	}
    #main4 .tab-wrap .tab-list {
        display:none;
    }

    .contsWrap .cont-title .cont-date {
        font-size: 12px;
    }

    .contsWrap .cont {
        font-size: 14px;
        height: 250px;
    }
    .contsWrap.tab-cont2 .cont{
        height: 50vw;
    }
    .contsWrap.tab-cont2 > div {
    height:70vw;
    }
    .contsWrap > div {
        height: 270px;
    }

    .tab-wrap .quick-btn {
        right: 15px;
        bottom: 10px;
    }

    .contsWrap .tab-pane:after {
        left: 15px;
        bottom: 10px;
    }
	.tab-wrap .swiper-pagination{
		top:40px;
		right:20px;
	}
	.tab-wrap .swiper-pagination-bullet {
		margin:0 3px;
		background:#e1c0c4;
		opacity:1;
	}
	.tab-wrap .swiper-pagination-bullet-active{
		background:red;
	}

#main5{
	margin-bottom:0;
}
				
}
