﻿#main-slider{
	  padding: 15px 0px 0px 0px;
}

.slider .move-btn{
    background:none !important;
}

.main-middle {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    margin-top: 15px;
    padding: 2px 0px;
}


.main-middle .row {
    margin:0px;
}

.main-middle .container ul {
    display: table;
    margin: 0 auto;
    width: 90%;
}

.main-middle .container li {
    display: inline-block;
}

.main-bottom li {
    background: #f1f1f1;
    height: 111px;
    padding: 10px;
}

.main_bottom_news { background: #f1f1f1; padding: 10px; margin-top:10px; }
.main_bottom_news img { float:right; }

.main-bottom li:nth-child(1), .main-bottom li:nth-child(2) {
    margin-bottom: 10px;
}

.main-bottom {
    margin-top: 15px;
    margin-bottom: 20px;
    padding:0px 10px;
}

.main-bottom ul {
    height:100%;
}

.main-bottom .row > div {
    padding: 0px 5px 0px 5px;
}

.main-bottom .row > div{
    height:353px;
}

.main-bottom .row[name="2"] > div { height:inherit; }

.event{
    height:100%;
}
.event a { text-decoration:none; color:#fff;  }
.event > a > div {
    height:100%;
}

.event > a:hover {
    text-decoration:none;
}

.box-event-content {
    position: relative;
    top: 20%;
    width: 68%;
    height: 60%;
    margin: 0 auto;
    border: 5px solid white;
    background:rgba(0,0,0,0.4);
}

.box-event-content-inner h1:first-child,
.box-event-content-inner h2:first-child,
.box-event-content-inner h3:first-child,
.box-event-content-inner h4:first-child { margin-top:0px; }

.box-sermon-content {
    position: relative;
    top: 20%;
    width: 68%;
    height: 60%;
    margin: 0 auto;
    border: 5px solid white;
    background: rgba(0,0,0,0.4);
}

.box-sermon-content-inner,
.box-event-content-inner {
	position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/*
.event span {
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
    white-space: pre-line;
    line-height: 18px;
    position: relative;
    top: 60px;
}
*/
.main-bottom .main-bottom-right-title span {
    font-size: 18px;
    font-weight: bold;
}

.main-bottom li img {
    float:right;
}

.main-bottom-right-content a {
    text-decoration:none;
}

.main-bottom-right-content span {
    color: #464646;
    font-size: 15px;
}

.slider .slider-dots { bottom:2px !important; }

@media (max-width:1199px) {
    .main-bottom .row > div{
        height:298px;
    }
    .main-bottom .row > div > img {
        width:100%;
        height:100%;
    }
    .main-bottom li {
        background: #f1f1f1;
        height: 92px;
        padding: 10px;
    }
    .main-bottom li:nth-child(1), .main-bottom li:nth-child(2) {
        margin-bottom: 11px;
    }
    .main-bottom .main-bottom-right-title span{
        font-size:15px;
    }
    .main-bottom li img {
        margin-top: -5px;
    }
    .main-bottom-right-content span{
        font-size:12px;
    }
    .document-widget.normal table > tbody > tr > td {
        padding: 5px 6px 0px 6px !important;
    }
    .event span{
        font-size:35px;
    }
    
    .box-sermon-content { width: 75%; }
    
    .box-sermon-content-inner span { font-size:16px; }
    
}


@media (max-width:991px) {
    .main-bottom .row > div{
        height:230px !important;
    }
    .main-bottom li{
        height:74px;
    }
    .main-bottom li:nth-child(1), .main-bottom li:nth-child(2) {
        margin-bottom: 4px;
    }
    .main-bottom .main-bottom-right-title span{
        font-size:11px;
    }
    .main-bottom li img{
        width:22px;
    }
    .main-bottom-right-content span{
        font-size:10px;
    }
    .document-widget.normal table > tbody > tr > td {
        padding: 3px 6px 0px 6px !important;
    }
    .event span {
        font-size: 24px !important;
        top: 32px;
    }
    
    .box-sermon-content-inner span { font-size:12px !important; }
    
    
}

@media (min-width:768px) {
    .favorite {
        width: 11.1%;
        padding: 0px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .main-middle .container ul {
        text-align: center;
    }
}

@media (max-width:767px) {
    .main-bottom .row > div:nth-child(2), .main-bottom .row > div:nth-child(3 ){
        margin-top:15px;
    }
    .slider .move-btn {
        top: 57% !important;
    }
}
