/* This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
}
/* The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the page and create a centered container for the page content to display. */
body {
	color: Black;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.4em;
	margin: 0 0 0 0; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
	padding: 0 0 0 0; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
	text-align: center; /* Centers the page content container in IE 5 browsers. */
}

/* Commonly used to style page titles. */
h1 {
  color: #bd3a3a;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.4em;
}

/* Commonly used to style section titles. */
h2 {
  color: #bd3a3a;
  font-size: 1.6em;
  font-weight: normal;
  line-height: 1.4em;
}

/* Sets the style for the h3 header. */
h3 {
	color: #bd3a3a;
	font-size: 1.2em;
	font-weight: bolder;
	line-height: normal;
}

h4 {
  color: #bd3a3a;
	 font-size: 1.0em;
  font-weight: bold;
 /* line-height: 12px; */
	
}

h5 {
  color: #bd3a3a;
	 font-size: 1.0em;

}

/* Sets the style for unvisited links. */
a,  a:link {
  color: #69c;
  font-weight: bold;
  text-decoration: none;
}

/* Sets the style for visited links. */
a:visited {
	color: #666666;
	font-weight: bold;
	text-decoration: none;
}

/* Sets the style for links on mouseover. */
 a:hover {
  color: #990000;
  text-decoration: none;
  background-color: #D8DFE4;
 /* padding: 1px 0px 1px 0px;  */
}
/* Sets the style for a link that has focus. */
a:focus {
  color: #2170bd;
}

/* Sets the style for a link that is being activated/clicked. */
a:active {
  color: #75A3FF;
}

a img {border:none;
padding:0px;}

/* This is a container for the page content. It is common to use the container to constrain the width of the page content and allow for browser chrome to avoid the need for horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container on the page. IE 5 browser require the use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left and right margins to center the container on the page. */
#outerWrapper {
  margin: 0px auto 20px auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
   width: 900px; 
	max-width: 900px;
	min-width: 600px;
	text-align: left; /* Redefines the text alignment defined by the body element. */
}
#outerWrapper #header {
  border-bottom: 1px solid #9bb6d2; /* Sets the bottom border properties for an element using shorthand notation */
  font-weight: bold;
  height: 130px;
  line-height: 18px;
  padding: 10px 10px 0px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}



#outerWrapper #header h1 {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 2em;
  line-height: normal;
}

#outerWrapper #contentWrapper {
  margin: 0px 0px 0px 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
  /* padding: 10px 10px 10px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}

#outerWrapper #contentWrapper leftColumn1 {
 /* background-color: #FFFFCA; */
  border-right: solid 1px #9bb6d2; /* Sets the right border properties for an element using shorthand notation */
padding: 10px 10px 0px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
/* Contains the main page content. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. */

#outerWrapper #contentWrapper #content {
	margin: 0 0 0 0px; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
	padding: 10px 10px 0px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
/* Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the close of the container with floated elements. */

#outerWrapper #contentWrapper .clearFloat {
  clear: left;
  display: block;
  min-height: 100%;
}

#outerWrapper {
  border-top: solid 1px #9bb6d2; /* Sets the top border properties for an element using shorthand notation */
 /*  height: 30px; */
  padding: 10px 10px 0px 0px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  text-align: right;
}
#outerWrapper{
  padding: 10px 0px 0px 0; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
}
  
#header {
	background-color: #FFFFCA;
}

.headerpic {
	text-align: center;
	padding-bottom: 0px;
}

.floatleft {
	float: left;
}

.floatright {
	float: right;
}

#navwrap {
	height: 36px; 
	border-bottom: 1px solid #9bb6d2;
	padding-bottom: 5px;
	padding-left: 0px;
	background-color: #FFFFCA;
	border-left: 2px solid #9bb6d2;
	border-right: 2px solid #9bb6d2;
	margin-top:-10px;
  }

#navbar {
/* position: absolute; top: 145px; left: 350px; margin: 0 auto; */
}

#logo {
	float: left;
	margin-left: -5px;
}

#leftColumn1 {
min-height: 765px;
float: left;
width: 200px;
padding: 10px 10px 0px 10px;
background-image: url("../images/B5 site/column background.png");
height:100%;
}

#content {
	width:655px;
	text-align: left;
	border-right: 1px solid #9bb6d2;
	min-height: 765px;
	float:right;
	display: block;
	border-left: 1px solid #9bb6d2;
}

#contentwide {
	width: 850px;
	padding: 10px 25px 25px 25px;
	text-align: left;
	margin-top: 10px;
	background-color: #FFFFCA;
}

#footer {
  background-color: #FFFFCA;
  border: solid 1px #9bb6d2; /* Sets the top border properties for an element using shorthand notation */

 height: 25px;
  padding: 10px 10px 10px 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
  text-align: center;
  display: block;
  clear: both;
  font-size: .9em;
}

#gallerywrap {
	background-color: #FFFF99;
	padding-top:20px;
	 /*padding-bottom: 20px; */
	margin: 15px auto 0 auto;
}

#slideshow {
	
}

#footer a:link {
/* font-size: .75em; */
}

#covenant {
	width: 100%;
	text-align: left;
	background: #F4E1C3;
	background-image: url(../images/parchment.jpg);
}

.covenant {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	font-style: italic;
	line-height: 1.8em;
	font-weight: bold;
	font-variant: normal;
	text-transform: none;
	color: #6A3535;
	margin-left: 30px;
	margin-right: 30px;
}

.clear {
	clear:both;
	display:block;
	height: 1px;
	overflow:hidden;
	margin: 0;
	padding: 0;
}

ul {
	
	padding: 0px 30px 0px 30px;
}

ol li {
margin-bottom:5px;
}

hr {
	height: 1px;
color: #9BB6D2; 
}

.gallerytext {
	
  color: #bd3a3a;
	font-size: 1.1em;
}

#oberammer {
	border: 1px solid #9BB6D2;
	border-bottom: 1px solid #9BB6D2;
	border-left: 1px solid #9BB6D2;
	border-right: 1px solid #9BB6D2;
	border-top: 1px solid #9BB6D2;
}

#lukegosp {
	border: 1px solid #9BB6D2;
	border-bottom: 1px solid #9BB6D2;
	border-left: 1px solid #9BB6D2;
	border-right: 1px solid #9BB6D2;
	border-top: 1px solid #9BB6D2;
	
}

#lukegosp p {
padding-left:20px;
	padding-right:20px;
	}
	
.bold {
		font-weight: bold;
}
.img_right {
			/* width:270px; */ 
padding-left: 10px;
	float: right;
	margin-left: 15px;
	}
	
	.img_left {
	/* width: 270px; */
	padding-right: 15px;
	margin-right:0px;
	float:left;
	}
	
	.img_centre {
		padding-left: 10px;
	padding-right: 10px;
	text-align:center;
	}

img {border:none;}

	.photocaption {
	  color: #bd3a3a;
		font-weight: bold;
		text-align: center;
	/*	padding-left: 10px;
	padding-right: 15px; */
		font-size: 0.9em;
	}

.quote {
	font-style: italic;
	color: #000066;
}

.underline {
	border-bottom: 1px solid #bd3a3a;
	width: 25%;
}
/****** To make CSS menu go over Flash movies ******/
.FlashUnder {
position: relative;
left: 0px;
bottom: 0px;
margin-bottom:15px;
padding-left: 22px;
padding-bottom: 20px;
}
/*************************************/

#spacer {
height:15px;
}

backtop {
	float: right;
	margin-right: 20px;
}

.centre {
	text-align:center;
}
#outerWrapper {
	background-image:url(/images/B5%20site/column%20background.png);
	background-color: #FFFFCA;
}
#blog {
	width:97%;
	padding:10px 10px 25px 10px;
	background-color:#FC9;
	margin-bottom:25px;
	border-radius:7px;
	border:1px solid #69c;
}#outerWrapper #contentWrapper #content #blog span {
	font-style: italic;
}

.b5youthdiary td{
	border-bottom-color: #039;
	border-bottom-style: solid;
	border: 1px;
	border-top:solid 1px #039;
}
.hidden {
	display: none;
}
#content.funweek {
	width:98%;
	text-align: left;
	border-right: 1px solid #9bb6d2;
	display: block;
	border-left: 1px solid #9bb6d2;
	margin-left:-20px;
	margin-right:20px;
}

#gallerychooser{
	width:100%;
	
}

#gallerychooser td
{ width:33%;
	height:30px;
	padding-left: 5px;
	border-left: 3px;
	border-left-color: #75A3FF;
	border-left-style: solid;
	vertical-align: middle;
}