.panel-header.panel-custom {
	background-image: url("../images/images/tan.png");
	font-family: Papyrus;
	color: grey;
}

html { 
	font-size:100%; 
	font-family: "Lucida Sans", sans-serif;
}

span {
  	background-color: black;
	color: white;
}

.container{
	clear: both;
}

.navbar .navbar-brand {
    max-width: 80%;
    white-space: normal;
}

tr td{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.panel-gallery.panel-custom {
    background-image: url("../images/pastors/church.jpg");
    background-attachment: fixed;
    background-size: cover;
}

.panel-footer.panel-custom {
    clear:both;
    background-image: url("../images/images/tan.png");
	background-size: cover;
    color: grey;
}


@media screen and (max-width: 400px){
    .altar-space {margin-top: 20px; margin-bottom: 20px;}
}

@media screen and (min-width: 400px){
	.rwd-break1 { display: none;}
	.altar-space {margin-top: 20px; margin-bottom: 20px;}
}

@media screen and (min-width: 768px) {
	.rwd-break2 { display: none;}
	.altar-space {margin-top: 20px; margin-bottom: 20px;}
}

@media screen and (max-width: 992px) {
	.photo-space {margin-top: 10px; margin-bottom: 20px;}
}

@media screen and (min-width: 992px) {
	.photo-space {margin-top: 10px; margin-bottom: 20px;}
}

@media screen and (max-width: 805px){
	.panel-pastors.panel-custom {
		background: linear-gradient(rgba(237, 242, 244, 0.8), rgba(237, 242, 244, 0.5)),
			  url(../images/pastors/church.jpg) no-repeat fixed;
		background-size: cover;
	}
	.panel-gallery.panel-custom {
		background: linear-gradient(rgba(237, 242, 244, 0.8), rgba(237, 242, 244, 0.5)),
			  url(../images/pastors/church.jpg) no-repeat fixed;
		background-size: cover;
	}
	.pastor-space {padding-bottom:20px;}
	.altar-space {margin-top: 20px; margin-bottom: 20px;}
}

@media screen and (min-width: 806px){
	.panel-pastors.panel-custom {
		background: linear-gradient(rgba(237, 242, 244, 0.8), rgba(237, 242, 244, 0.5)),
			  url(../images/pastors/church.jpg) no-repeat;
		background-size: cover;
	}
	.panel-gallery.panel-custom {
		background: linear-gradient(rgba(237, 242, 244, 0.8), rgba(237, 242, 244, 0.5)),
			  url(../images/pastors/church.jpg) no-repeat;
		background-size: cover;
	}
	.pastor-space {padding-bottom:40px;}
}


iframe {
 width: 10px !important;
 min-width: 100%;
 *width: 100%;
}

.responsive {
 width: 100%;
 height: 0;
 padding-bottom: 75%;
 overflow: hidden;
 position: relative;
}

.responsive iframe {
 position: absolute;
 width: 100%;
 height: 100%;
 top:0; 
 left: 0;
}

.responsivePhoto {
	position: relative; 
	text-align: center;
}
 
.responsivePhoto.img {
	position: absolute;
	top:0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}