body
{
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-size: 14px;
	background-color: #1C75BC;
}

div.banner 
{
	width: auto;
	margin: 0px;
	padding-top: 10px;
	border: 0px;
	text-align: center;
}

div.rightbox
{
	width: 140px;
	position: absolute;
	top: 0px;
	right: 10px;
	padding: 10px;
	font-size: 14px;
	background-color: #58ACFA;
	z-index: 2;
	/*
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	*/
}

div.rightbox div.verse_reference
{
	text-align: right;
}
	
div.page_body
{
	position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
	width: auto;
	min-height: 350px;
	padding: 10px;
	margin-left: 180px;
	margin-right: 180px;
	margin-top: 10px;
	z-index: 0;
	background-color: white;
	/*
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	*/
}

div.page_body img
{
	max-width: 100%;
}

div.page_body_wrapper
{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	min-width: 750px;
	max-width: 960px;
}

div.menu
{
	position: absolute;
	width: 140px;
	top: 0px;
	left: 10px;
	padding: 10px;
	background-color: #58ACFA;
	z-index: 4;
	/*
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	*/
}

a.menu_toggle
{
	display: none;
}


label
{
	float: left;
	margin-right: 3px;
	text-align: right;
	width: 95px;
}

div.footer
{
	width: auto;
	text-align: center;	
	margin: 15px;
	clear: both;
	font-size: 11px;
}

tr.colored_row
{
	background-color: #F0F0F0;
}

div.page_title
{
	font-size: 16px;
	font-weight: bold;
}

div.box_upper_left_blue
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: top left;
	background-repeat: no-repeat;
	background-image: url('/images/corner_blue.gif');
}
div.box_upper_right_blue
{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: top right;
	background-repeat: no-repeat;
	background-image: url('/images/corner_blue.gif');
}
div.box_lower_left_blue
{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: bottom left;
	background-repeat: no-repeat;
	background-image: url('/images/corner_blue.gif');
}
div.box_lower_right_blue
{
	position: absolute;
	bottom: 0px;
	right: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: bottom right;
	background-repeat: no-repeat;
	background-image: url('/images/corner_blue.gif');
}

div.box_upper_left_white
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: top left;
	background-repeat: no-repeat;
	background-image: url('/images/corner_white.gif');
}
div.box_upper_right_white
{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: top right;
	background-repeat: no-repeat;
	background-image: url('/images/corner_white.gif');
}
div.box_lower_left_white
{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: bottom left;
	background-repeat: no-repeat;
	background-image: url('/images/corner_white.gif');
}
div.box_lower_right_white
{
	position: absolute;
	bottom: 0px;
	right: 0px;
	width: 15px;
	height: 15px;
	overflow: hidden;
	background-position: bottom right;
	background-repeat: no-repeat;
	background-image: url('/images/corner_white.gif');
}

/*********************************************************
	Photo Album stuff
*********************************************************/
div.thumb
{
	float: left;
	/*display: inline;*/			/*this is slightly better that float because the floats don't obey the margin and padding sizes*/
	margin: 3px;
	width: 135px; 				/* when changing this size, you need to change */
	height: 135px;				/* the size of the thumbs in the photo_album.php */
	/*border: 1px solid red;*/
	text-align: center;
	vertical-align: middle;
}

/* Hides from IE-mac \*/
* html .floatfix 
{
	height: 1%;
}
/* End hide from IE-mac */

img.photo
{
	width: auto;
	
}

/*********************************************************
	Sermon Archive stuff
*********************************************************/
div.box
{
	border: 3px solid #CDCDCD;
	background-color: #F0F0F0;
	margin: 10px 0px;
	padding: 3px;
}

span.sermon_date
{
	font-weight: bold;
}

div.event_contact
{
	width: 175px;
	position: relative;
	float: right;
	text-align: center;
}


/****************************************************************
	Mobile template items
****************************************************************/
@media only screen and (max-device-width: 600px) {
	div.banner img
	{
		width: 100%;
	}
	
	div.rightbox
	{
		position: relative;
		width: auto;
		top: 0px;
		left: 0px;
		margin-top: 5px;
		margin-left: 5px;
		margin-right: 5px;
	}
	
	div.menu
	{
		position: relative;
		width: auto;
		top: 0px;
		left: 0px;
		margin-left: 5px;
		margin-right: 5px;
		padding: 15px;
	}
	
	div.page_body_wrapper
	{
		position: relative;
		margin-left: 0px;
		margin-right: 0px;
		min-width: 0px;
		max-width: auto;
	}

	
	div.page_body
	{
		margin-right: 5px;
		margin-left: 5px;
		font-size: 12pt;
	}
	
	
	div.menu
	{
		position: relative;
	}
	
	ul#menu
	{
		display: none;
	}

	a.menu_toggle
	{
		display: inline !important;
	}

	/* overloaded from menu.css */
	ul#menu a
	{
		margin-bottom: 20px !important;
		font-size: 15pt;
	}


















}
