h2#welcome {color:#3c5a98;}
h2#welcome2 {color:#3c5a98;margin: 35px 0 0 10px;text-decoration: underline;}
h2#latest-news,h3#latest-news {color:#6666ff;text-indent: 1em;}
li.latest-news-bullet{ list-style-type: none;}
li.latest-news-bullet:before{
	content: '\2764';
    margin: 0 0.5em; 
    font-size: 1.2em;
    color: #ff0000;
      
    }
#reuters {margin-left:1em;}    
/* Attempt to remove nav link for "current page" in nav menu */
#page-home #wrapper nav#left li.page-home>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-home #wrapper nav#left li.page-home  {color: #ffeb0f;background-color:#3c5a98;}
#page-about #wrapper nav#left li.page-about>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-about #wrapper nav#left li.page-about  {color: #ffeb0f;background-color:#3c5a98;}
#page-history #wrapper nav#left li.page-history>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-history #wrapper nav#left li.page-history  {color: #ffeb0f;background-color:#3c5a98;}
#page-staff #wrapper nav#left li.page-staff>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-staff #wrapper nav#left li.page-staff  {color: #ffeb0f;background-color:#3c5a98;}
#page-pastoral #wrapper nav#left li.page-pastoral>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-pastoral #wrapper nav#left li.page-pastoral  {color: #ffeb0f;background-color:#3c5a98;}
#page-services #wrapper nav#left li.page-services>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-services #wrapper nav#left li.page-services  {color: #ffeb0f;background-color:#3c5a98;}
#page-calendar #wrapper nav#left li.page-calendar>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-calendar #wrapper nav#left li.page-calendar  {color: #ffeb0f;background-color:#3c5a98;}
#page-location #wrapper nav#left li.page-location>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-location #wrapper nav#left li.page-location  {color: #ffeb0f;background-color:#3c5a98;}
#page-youth #wrapper nav#left li.page-youth>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-youth #wrapper nav#left li.page-youth  {color: #ffeb0f;background-color:#3c5a98;}
#page-groups #wrapper nav#left li.page-groups>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-groups #wrapper nav#left li.page-groups  {color: #ffeb0f;background-color:#3c5a98;}
#page-sermons #wrapper nav#left li.page-sermons>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-sermons #wrapper nav#left li.page-sermons  {color: #ffeb0f;background-color:#3c5a98;}
#page-social #wrapper nav#left li.page-social>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-social #wrapper nav#left li.page-social  {color: #ffeb0f;background-color:#3c5a98;}
#page-contact #wrapper nav#left li.page-contact>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-contact #wrapper nav#left li.page-contact  {color: #ffeb0f;background-color:#3c5a98;}
#page-links #wrapper nav#left li.page-links>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-links #wrapper nav#left li.page-links  {color: #ffeb0f;background-color:#3c5a98;}
#page-accessibility #wrapper nav#left li.page-accessibility>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-accessibility #wrapper nav#left li.page-accessibility  {color: #ffeb0f;background-color:#3c5a98;}
#page-courses #wrapper nav#left li.page-courses>a  {pointer-events: none; cursor: none; color: #ffeb0f;background-color:#3c5a98;}
#page-courses #wrapper nav#left li.page-courses  {color: #ffeb0f;background-color:#3c5a98;}

.hwaccel {  -webkit-transform: translateZ(0); }
object {background-color: black;}

div#loading {margin-left: 50%; margin-right: 50%; position: absolute; top: 0px;}



aside {float:left;border: solid 1px black; background-color: #ffffaa; width:50%; margin-left:auto; margin-right:auto; padding:0px 10px; font-style: italic; font-family: "DejaVu Sans","Arial",sans-serif,cursive;}
h1 {font-size: 1.1em; vertical-align: top; margin-top: 0px;}


/* Homepage */
section.fbook {float:right; width:290px;margin:0px; background-color: #303030; padding: 0px 10px 20px;	}	
section.half-width 
				{
						float:left; 
						width:280px; 
						background-color: #ffffee;
						border: solid 1px black;
						padding:6px;border-radius:5px;
				-webkit-box-shadow: 2px 6px 10px 5px rgba(22, 22, 22, 0.7);
box-shadow: 2px 6px 10px 5px rgba(22, 22, 22, 0.7);			
			}
section#home-content 
		{
			width: 420px; 
			margin-left: 20px;
			float: left;
			background-color:#c4cbd9;
			padding-right: 20px;
			font-size: 0.9em;
			
		}
section#home-latestnews 
		{
			width: 100%; 
			margin-left: 20px;
			clear:both;
			background-color:#c4cbd9;
			padding-right: 20px;
		}
section#slideshow {width:403px; margin-bottom: 20px;}

	
body {
	
	
	     -webkit-font-smoothing: antialiased;
    margin: 0px;
    padding: 0px;
    font-size:15px;
    font-family: Verdana,Tahoma,Arial,Universe,sans,sans-serif;
    background-color: #3c5a98;
      color: #232525;
    
/*
background-image: linear-gradient(bottom, rgb(255,255,255) 2%, rgb(126,121,224) 51%, rgb(10,4,97) 92%);
background-image: -o-linear-gradient(bottom, rgb(255,255,255) 2%, rgb(126,121,224) 51%, rgb(10,4,97) 92%);
background-image: -moz-linear-gradient(bottom, rgb(255,255,255) 2%, rgb(126,121,224) 51%, rgb(10,4,97) 92%);
background-image: -webkit-linear-gradient(bottom, rgb(255,255,255) 2%, rgb(126,121,224) 51%, rgb(10,4,97) 92%);
background-image: -ms-linear-gradient(bottom, rgb(255,255,255) 2%, rgb(126,121,224) 51%, rgb(10,4,97) 92%);

background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.02, rgb(255,255,255)),
	color-stop(0.51, rgb(126,121,224)),
	color-stop(0.92, rgb(10,4,97))
);    
*/  

/* middle color - blue was 126,121,224 */
background-size:100% auto;
background-image: url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'); 
background-repeat: no-repeat;

background-image:  url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'),linear-gradient(bottom, rgb(200,200,200) 2%, rgb(127,127,127) 51%, rgb(0,0,0) 92%);
background-image:  url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'),-o-linear-gradient(bottom, rgb(200,200,200) 2%, rgb(127,127,127) 51%, rgb(0,0,0) 92%);
background-image:  url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'),-moz-linear-gradient(bottom, rgb(200,200,200) 2%, rgb(127,127,127) 51%, rgb(0,0,0) 92%);
background-image:  url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'),-webkit-linear-gradient(bottom, rgb(200,200,200) 2%, rgb(127,127,127) 51%, rgb(0,0,0) 92%);
background-image:  url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'),-ms-linear-gradient(bottom, rgb(200,200,200) 2%, rgb(127,127,127) 51%, rgb(0,0,0) 92%);

background-image:  url('http://www.broughtybaptist.org/images/backgrounds/back3.gif'),-webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.02, rgb(200,200,200)),
	color-stop(0.51, rgb(127,127,127)),
	color-stop(0.92, rgb(0,0,0))
); 
  
 
}

section.pad-top {padding-top:20px;}
section.margin-top {margin-top:20px;clear:both;}

header{
    clear: both;
    height: 50px;
    color:#ffeb0f;
    background-color: #3c5a98;
    padding-top:10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 1.7em;
    letter-spacing: 0.4em;
    width: 970px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    display: block;
		}
header > img {text-align: left; height: 75%; float:left;padding-left: 20px;}

header>p.header {display:block;margin-top:-15px;padding:0px;line-height:1em;font-size:0.5em;letter-spacing:0.3em;}
header>p.header> strong {font-size:0.9em;letter-spacing:0.1em;font-weight: bold;}

div#wrapper {
    background-color:#c4cbd9;
    width:970px;
	 padding-left: 0px;
	 margin-bottom:100px;
	 margin-top: 20px;
	 margin-left: auto;
	 margin-right: auto;
    border: solid 1px black;
    display:none;
    
	}

div#bookshelf-anchor {

    background-color:transparent;
    width:730px;
	 padding-left: 0px;
	 margin-bottom:100px;

	 margin-left: auto;
	 margin-right: auto;
margin-top: -600px;
height: 600px;
	 
	} 
iframe#bookshelf {

position: relative;
width: 600px;
height: 185px;
margin-left: 50px;

	}



/* CSS for menu */
nav#left 
{

    width: 150px;
    text-align:left;
	float: left;
	background-color:#c4cbd9;
	-webkit-box-shadow: 6px 8px 12px 7px rgba(22, 22, 111, 0.7);
box-shadow: 6px 8px 12px 7px rgba(22, 22, 111, 0.7);
margin-top:10px;
margin-left:8px;
border-radius:10px;
}




ul.menu li 
	{
			list-style-type: none; 
			width:100px;	
			background-color: grey;
			color:white;
			padding:1px 5px;
			border-bottom: solid 1px black;
			border-radius: 15px;
			margin-bottom: 4px;
			padding-left: 1em;
	}
ul.menu li:hover {background-color:#0d2452;} 
ul.menu li a:link {display:block;
												color: white;
												background-color:grey;
												}	

ul.menu li a:visited {display:block;
color: white;
background-color:grey;
}

ul.menu li a:hover {display:block;
color: #ffeb0f;
background-color:#0d2452;
}

 ul.menu {margin-left:0px;padding-left:10px;  width:150px; margin-bottom:0px;}





section,section#content {

	width: 720px; 
margin-left: 20px;
float: left;
background-color:#c4cbd9;
padding-right: 50px;

}


section.banner {
float: left;
background-color:#000000;
padding: 10px;
width: 340px;
height: 500px;
color:white;
}

section.banner > img {height: 220px;}

article#content {

	width: 720px; 
margin-left: 20px;
float: left;
background-color:#c4cbd9;
padding-right: 50px;

}

article.banner-wrapper {width: 680px; border: solid 1px white;}
article#banner-group {

	width: 3000px; 
margin-left: 20px;
float: left;
background-color:#c4cbd9;
padding-right: 50px;

}
ul.sermon-list 
{
font-size:0.95em;
	list-style-position: outside;
	
	}


ul#bfbc-historic-buildings {	list-style-position: inside;padding:3px;}
footer {clear:both; text-align: center; margin-bottom: 30px; padding-top: 20px;}









div.page {min-width:60%; width:80%; margin-left: auto;margin-right:auto;text-align: center;padding:0px; background-color: white;margin-top:0px;position:relative;}



/*
Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!
Note: a:active MUST come after a:hover in the CSS definition in order to be effective!!
*/
a:link {color:#4444aa; text-decoration:none;}
a:visited {color:#3333aa; text-decoration:none;}
a:hover  {color:red; text-decoration:none;}
a:active {color:#5555aa; text-decoration:none;}


.heading {
	font-family: Verdana,Arial;
	font-size: 1.2em;
	font-weight: bolder;
	color: #000000;
	letter-spacing: 0.2em;
}

.normal {
	font-family: Verdana,Arial;
	font-size: 1.0em;
	color: #000000;
}

.link {
	font-family: Verdana,Arial;
	font-size: 1.0em;
	font-weight: bolder;
}



.style4 {
	color: #FFFFFF;
	font-weight: bold;
}
.style5 {
	color: #003333;
	font-weight: bold;
	}
	

h1.banner {text-align: center;}
.smalltext {font-size:0.85em;}

em, li {
font-size:0.9em; 
font-family: Verdana,Arial;
}	




/* Images */

img.brian {float:right;margin:10px;border:solid 1px black;}
img.girlsbrigade {float:right;margin:10px;}
img.chr-exp {float:left;margin:10px;}
img.herons {float:right;margin:10px; width:200px;border:solid 1px black;}
img.bannergrp {float:left;margin:10px;border:solid 1px black;}
img.social {float:left;margin:10px; width:200px;border:solid 1px black;}
img#sermonbutton {border:solid black 1px}
article#content > section > a > img {border: solid 1px black;}

iframe {margin: 10px 0px;}

/* image caption styles */
/* see http://www.midwinter-dg.com/blog_demos/css3-animated-image-captions/ */


figure.icons {display: inline-block; margin-left: 10px;float:left;clear:both;margin-top: 0px;width:240px; border:solid 1px black;padding: 5px;background-color:#ffffee;}
figure.icons >img#html5logo {width: 30px;height:100px;  padding-top: 20px;}
figure.icons >img#css-icon {width: 20px;height:100px;padding-top: 20px;}
figure.icons >img#semantics-icon {width: 20px;height:100px; padding-top: 20px;}

figure.icons2 {display: inline-block; margin-left: 10px;float:left;clear:both;margin-top: 0px;width:240px; border:solid 1px black;padding: 5px;background-color:#ffffee;}
figure.icons2 >img#html5logo2 {width: 30px;height:100px;  padding-top: 20px;}
figure.icons2 >img#css-icon2 {width: 20px;height:100px;padding-top: 20px;}
figure.icons2 >img#semantics-icon2 {width: 20px;height:100px; padding-top: 20px;}


figure.html5 {display: inline-block; margin-left:10px;float:left;clear:both;margin-top: -20px;width:120px; border: solid 0px black;}
figure.html5 >img {vertical-align: top; border:0px;}
figure.html5 >img#html5logo {width: 50px;height:120px;  padding-top: 0px;}
figure.html5 >img#css-icon {width: 25px;height:100px;padding-top: 10px;}
figure.html5 >img#semantics-icon {width: 25px;height:100px; padding-top: 10px;}





figure.animtext1 {
	margin: 10px auto;
	width: 220px;

	overflow: hidden;
	position: relative;
	display:inline-block;
	float:right;
}

figcaption.animtext1 {
	position: absolute;
	text-align: center;
	color: rgba(255,255,255,1);
	background-color: rgba(50,27,3,0.8);
	border: 4px solid rgba(122,92,37,0.8);
	display: block;
	width: 700px;
	line-height: 50px;
	position: absolute;
	bottom: 0px;
	left: 50px;
	white-space: nowrap;
	font-size: 20px;
	opacity: 0;

	box-shadow: #fff8cf 0 0 15px;
	
	transform: scale(5,1);

	transition: all .7s;
}

figure.animtext1:hover figcaption.animtext1 {
	opacity: 1;
	left: -250px;

	transform: scale(1,1);
}



section#accesskeys ul li {list-style-type: none;}
.clear-both{clear:both;}


/* code generated by http://cssarrowplease.com/ */
.arrow_box { position: relative; background: #4e4bad; border: 4px solid #16128c; } .arrow_box:after, .arrow_box:before { left: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } .arrow_box:after { border-color: rgba(78, 75, 173, 0); border-left-color: #4e4bad; border-width: 30px; top: 50%; margin-top: -30px; } .arrow_box:before { border-color: rgba(22, 18, 140, 0); border-left-color: #16128c; border-width: 36px; top: 50%; margin-top: -36px; }
.arrow_box2 { position: relative; background: #4e4bad; border: 4px solid #16128c; } .arrow_box2:after, .arrow_box2:before { right: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } .arrow_box2:after { border-color: rgba(78, 75, 173, 0); border-right-color: #4e4bad; border-width: 30px; top: 50%; margin-top: -30px; } .arrow_box2:before { border-color: rgba(22, 18, 140, 0); border-right-color: #16128c; border-width: 36px; top: 50%; margin-top: -36px; }

div.right-arrow
{border: solid 30px black; 
height:0; 
width: 0;
border-top-color: transparent;
border-bottom-color: transparent;
border-left-color: red;
border-right-color:transparent;	
margin-left: 20px;
float: left;
margin-top: 10px;
}
div.input-and-field-label {float: left; border:solid 1px black;width: 500px; margin-left: -15px; background-color: #303030; color: wheat;padding: 10px;}
div.contact input {clear:both;margin: 0.5em 0;  background-color: #ffff00;  padding:0;  width: 440px;}
div.contact textarea {clear:both;margin: 0.5em 0;  background-color: #ffff00;  padding:0;  width: 440px;}
div.field-format {clear:both;}

section.form-input {clear:both;margin: 10px;}
section.form-submit {clear:both;  width: 100%;}
section.form-submit input.submit {width: 200px;margin-left: 20%}
input:required:invalid, input:focus:invalid { 
-webkit-box-shadow: 2px 6px 10px 5px rgba(255, 120, 120, 0.7);
box-shadow: 2px 6px 10px 5px rgba(255, 120, 120, 0.7);	
}
input:required:valid { 
-webkit-box-shadow: 2px 6px 10px 5px rgba(120, 255,  120, 0.7);
box-shadow: 2px 6px 10px 5px rgba(120, 255, 120, 0.7);	
}


