/*
Theme Name: Buffalo Ridge Baptist Church
Theme URI: http://www.karbanovich.org/
Description: Theme for the Buffalo Ridge Baptist Church.
Version: 1.0
Author: Anton Karbanovich
Author URI: http://karbanovich.com/
Tags: old, red, black, classic
*/

/* HERE COMES THE CSS REST  */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: Arial, Helvetica, sans-serif;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* ---------   END RESET    ---------- */


body {
background: url(images/map_bg_212.jpg) #F0F0F0 repeat-x top center;
background-position: center 212px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #333333;
}

a {
color: #920E0C;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

#wrapper {
width: 100%;
background: url(images/new_header_pattern.jpg) repeat-x top center; 
margin: auto;
}

#header {
width: 960px; 
height: 212px; 
margin: auto;
}

#logo {
background:transparent url(images/logo.png) no-repeat scroll center top;
height: 107px;
position: relative;
float: left;
top: 43px;
left: 68px;
width: 392px;
}

#logo a {
display: block;
width: 100%;
height: 100%;
text-decoration: none;
}

#logo a span {
visibility: hidden;
}

#slogon {
background: url(images/slogon.png) no-repeat top left;
width: 414px;
height: 120px;
position: relative;
float: right;
top: 33px;
right: 13px;
}


#slogon a {
display: block;
width: 100%;
height: 100%;
text-decoration: none;
}

#slogon a span {
visibility: hidden;
}

#menu {
width: 100%;
background: url(images/menu.png) no-repeat top center;
margin: auto;
position: relative;
height: 40px;
top: 51px;
}

#menu ul {
margin-left: 33px;
}


#menu ul li {
float: left;
margin: 2px 1px 0 1px;
height: 38px;
}


#menu ul li a {
text-decoration: none;
color: #FFFFFF;
font-size: 14px;
display: block;
width: 100%;
height: 100%;
font-family: Helvetica, Arial, sans-serif;
text-shadow: #000000;
font-weight: lighter;
}

#menu ul li a span {
visibility: hidden;
}

#menu ul li a:hover {
background: url(images/menu_bg.png) repeat-x top left;
}

#menu ul li.home {
width: 148px;
}


#menu ul li.about {
width: 173px;
}


#menu ul li.news {
width: 212px;
}


#menu ul li.sermons {
width: 167px;
}


#menu ul li.contact {
width: 183px;
}


#banner {
width: 920px;
margin: auto;
position: relative;
background: url(images/main_banner.jpg) no-repeat top right;
height: 270px;
margin-bottom: 5px;
margin-top: 24px;
}

#banner img.banner1 {
margin: 18px 0 0 1px;
}


#banner img.banner2 {
margin: 2px 0 0 1px;
}

#leftmenu {
position: relative; 
float: left;
left: 20px;
top: 17px;
z-index: 999;
}

#leftmenu ul li {
margin: 6px 0px;
}


#content {
width: 960px;
margin: auto; 
padding: 0px;
}


#maintext {
background: url(images/box_middle.png) repeat-y top left;
width: 673px;
position: relative;
float: right;
margin: 0 18px 0 0;
z-index: 1;
line-height: 1.7;
}


#actualcontent {
width: 85%;
margin: auto;
min-height: 350px;
}


#actualcontent h1 {
width: 100%;
background: url(images/h1_bg.jpg) no-repeat top center;
height: 54px;
font-size: 18px;
color: #333333;
font-style: italic;
text-align: center;
padding: 22px 0 0 0;
margin: 10px 0 0 0;

}


#homeblock {
width: 270px; 
float: left;
}

#maintext h2 {
color: #990000;
font-size: 16px;
font-weight: lighter;
}


#maintext h3 {
color: #666666;
font-size: 14px;
font-weight: lighter;
}

#maintext p {
margin: 5px 0;
}


#homeblock p {
float: left;
}


#footer {
	width: 100%;
	background: url(images/footer_bg.jpg) no-repeat top center;
	color: #333333;
	font-size: 16px;
	font-style: italic;
	height: 75px;
	text-align: center;
	margin: auto;
	margin-top: 15px;
	padding-top: 25px;
}

#footer div {
margin-right: 300px;
}

#footer span.author {
font-size: 12px;
position: relative;
left: 180px;
top: 5px;
}



/* CONTACT FORM STYLES /////////////////// */

.contactform {
	width: 440px;
}


.contactform input,
.contactform textarea {
border: 1px solid #666666;
background: #f1f1f1;
padding: 3px; 
color: #333333;
}

.contactleft {
	width: 25%;
	height: 25px;
	white-space: pre;
	text-align: right;
	float: left;
	margin: 3px 0;
	padding: 5px 0 0 0;
}

.contactright {
	width: 70%;
	text-align: left;
	float: right;
	padding: 4px;
	margin: 3px 0;
}



a.download {
width: 90px;
height: 22px;
display: block;
background: url(images/sermon_download_button.jpg) no-repeat;
text-decoration: none;
float: right;
margin-right: 20px;
}

a.download span {
visibility: hidden;
}

a.listen {
width: 90px;
height: 22px;
display: block;
background: url(images/sermon_listen_button.jpg) no-repeat;
text-decoration: none;
float: right;
margin-right: 20px;
}

a.listen span {
visibility: hidden;
}







.clear {
clear: both;
}








#myGallery, #myGallerySet, #flickrGallery
{
	width: 460px;
	height: 345px;
	z-index:5;
	border: 1px solid #000;
	float: right;
}

#flickrGallery
{
	width: 500px;
	height: 334px;
}

#myGallery img.thumbnail, #myGallerySet img.thumbnail
{
	display: none;
}

.jdGallery
{
	overflow: hidden;
	position: relative;
}

.jdGallery img
{
	border: 0;
	margin: 0;
}

.jdGallery .slideElement
{
	width: 100%;
	height: 100%;
	background-color: #000;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('img/loading-bar-black.gif');
}

.jdGallery .loadingElement
{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #000;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('img/loading-bar-black.gif');
}

.jdGallery .slideInfoZone
{
	position: absolute;
	z-index: 10;
	width: 100%;
	margin: 0px;
	left: 0;
	bottom: 0;
	height: 30px;
	background: #333;
	color: #fff;
	text-indent: 0;
	overflow: hidden;
}

* html .jdGallery .slideInfoZone
{
	bottom: -1px;
}

.jdGallery .slideInfoZone h2
{
	padding: 0;
	font-size: 16px;
	margin: 0;
	margin: 2px 2px;
	font-weight: Lighter;
	font-family: tahoma, verdana, arial, sans-serif;
	text-align:right;
	color:#3E98E5;
	visibility: hidden;
}

.jdGallery .slideInfoZone p
{
	padding: 0;
	font-size: 16px;
	margin-left: 25px;
	margin-top: -15px;
	color: #ffffff;
}

.jdGallery div.carouselContainer
{
	position: absolute;
	height: 135px;
	width: 100%;
	z-index: 10;
	margin: 0px;
	left: 0;
	top: 0;
}

.jdGallery a.carouselBtn
{
	position: absolute;
	bottom: 0;
	right: 30px;
	height: 20px;
	/*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
	text-align: center;
	padding: 0 10px;
	font-size: 13px;
	background: #333;
	color: #fff;
	cursor: pointer;
}

.jdGallery .carousel
{
	position: absolute;
	width: 100%;
	margin: 0px;
	left: 0;
	top: 0;
	height: 115px;
	background: #333;
	color: #fff;
	text-indent: 0;
	overflow: hidden;
}

.jdExtCarousel
{
	overflow: hidden;
	position: relative;
}

.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper
{
	position: absolute;
	width: 100%;
	height: 78px;
	top: 10px;
	left: 0;
	overflow: hidden;
}

.jdGallery .carousel .carouselInner, .jdExtCarousel .carouselInner
{
	position: relative;
}

.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail
{
	cursor: pointer;
	background: #000;
	background-position: center center;
	float: left;
	border: solid 1px #fff;
}

.jdGallery .wall .thumbnail, .jdExtCarousel .wall .thumbnail
{
	margin-bottom: 10px;
}

.jdGallery .carousel .label, .jdExtCarousel .label
{
	font-size: 13px;
	position: absolute;
	bottom: 5px;
	left: 10px;
	padding: 0;
	margin: 0;
}

.jdGallery .carousel .wallButton, .jdExtCarousel .wallButton
{
	font-size: 10px;
	position: absolute;
	bottom: 5px;
	right: 10px;
	padding: 1px 2px;
	margin: 0;
	background: #222;
	border: 1px solid #888;
	cursor: pointer;
}

.jdGallery .carousel .label .number, .jdExtCarousel .label .number
{
 color: #b5b5b5;
}

.jdGallery a
{
	font-size: 100%;
	text-decoration: none;
	color: inherit;
}

.jdGallery a.right, .jdGallery a.left
{
	position: absolute;
	height: 99%;
	width: 25%;
	cursor: pointer;
	z-index:10;
	filter:alpha(opacity=20);
	-moz-opacity:0.2;
	-khtml-opacity: 0.2;
	opacity: 0.2;
}

* html .jdGallery a.right, * html .jdGallery a.left
{
	filter:alpha(opacity=50);
}

.jdGallery a.right:hover, .jdGallery a.left:hover
{
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}

.jdGallery a.left
{
	left: 0;
	top: 0;
	background: url('img/fleche1.png') no-repeat center left;
}

* html .jdGallery a.left { background: url('img/fleche1.gif') no-repeat center left; }

.jdGallery a.right
{
	right: 0;
	top: 0;
	background: url('img/fleche2.png') no-repeat center right;
}

* html .jdGallery a.right { background: url('img/fleche2.gif') no-repeat center right; }

.jdGallery a.open
{
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	visibility: hidden;
}

.withArrows a.open
{
	position: absolute;
	top: 0;
	left: 25%;
	height: 99%;
	width: 50%;
	cursor: pointer;
	z-index: 10;
	background: none;
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	display: none;
	visibility: hidden;
}

.withArrows a.open:hover { background: url('img/open.png') no-repeat center center; 
	display: none;
	visibility: hidden;}

* html .withArrows a.open:hover { background: url('img/open.gif') no-repeat center center;
	filter:alpha(opacity=80); 
	display: none;
	visibility: hidden;}
	
	
/* Gallery Sets */

.jdGallery a.gallerySelectorBtn
{
	z-index: 15;
	position: absolute;
	top: 0;
	left: 30px;
	height: 20px;
	/*width: 100px; background: url('img/carousel_btn.gif') no-repeat;*/
	text-align: center;
	padding: 0 10px;
	font-size: 13px;
	background: #333;
	color: #fff;
	cursor: pointer;
	opacity: .4;
	-moz-opacity: .4;
	-khtml-opacity: 0.4;
	filter:alpha(opacity=40);
}

.jdGallery .gallerySelector
{
	z-index: 20;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #000;
}

.jdGallery .gallerySelector h2
{
	margin: 0;
	padding: 10px 20px 10px 20px;
	font-size: 20px;
	line-height: 30px;
	color: #fff;
}

.jdGallery .gallerySelector .gallerySelectorWrapper
{
	overflow: hidden;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton
{
	margin-left: 10px;
	margin-top: 10px;
	border: 1px solid #888;
	padding: 5px;
	height: 40px;
	color: #fff;
	cursor: pointer;
	float: left;
}

.jdGallery .gallerySelector .gallerySelectorInner div.hover
{
	background: #333;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton div.preview
{
	background: #000;
	background-position: center center;
	float: left;
	border: none;
	width: 40px;
	height: 40px;
	margin-right: 5px;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton h3
{
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton p.info
{
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
	color: #aaa;
}

