/* Church of the Holy Family Style Sheet v 1.0 */
/* Developed by Christian Magill */

/*
LAYOUT
*/

html, body{ /* prevents page shift by forcing scrollbars */
	height: 100%;
	margin-bottom: 1px;
}

body{
	text-align: center; /* forces centering in ie browsers that do not properly support auto margins */
	background: #90abbe url(images/wrapper_bg.gif) center repeat-y;
}

#outer_wrap{
	display: table; /* makes wrap extend 100% height for firefox browser. */
	width: 770px;
	height: 100%;
	margin: 0 auto; /* centers page */
	background: url(images/wrapper_bg.gif) center repeat-y;
}

#inner_wrap{
	position: relative;
	width: 750px;
	height: 100%;
	text-align: left; /* reset from ie browsers */
	margin: 0 10px; /* explicit values as mac ie has trouble centering using auto inside of a centered object */
}

#content_col{
	float: right; /* using opposing floats to position content_col & navigation */
	width: 570px;
}

h1{ /* displays title and logo using image replacement techniques */
	height: 159px;
	width: 570px;
	margin: 25px 0 0 0;
	background: url(images/holy_family_logo.gif) no-repeat;
	
}

h1 span{ /* hide header text replaced by image */
	display: none;
}

#content{ /* extra div avoids ie box model hacks */
	padding: 25px;
}

#content h2{ /* maintains alignment between header text and nav */
	margin-top: 0;
	padding-bottom: .5em;
	background: url(images/hr.gif) bottom left repeat-x;
	line-height: 100%;
}

#content h3{ /* maintains alignment between header text and nav */
	padding-top: .5em;
	background: url(images/hr.gif) top left repeat-x;
	line-height: 100%;
}

#footer{
	clear: both;
	background: url(images/hr.gif) top left repeat-x;
	margin: 25px;
	padding: 25px 0 0 0;
}

#footer p{
	text-align: center;
}


img.imgleft{
	padding: 1px;
	border: #cadcda solid 1px;
	margin: 0px 10px 10px 0px;
	float: left;
}

img.imgright{
	padding: 1px;
	border: #cadcda solid 1px;
	margin: 0px 0px 10px 10px;
	float: right;
}

img.imgcenter{
	display: block;
	padding: 1px;
	border: #cadcda solid 1px;
	margin: 0px auto;
}

.staffbox{
	width: 335px;
}

/*
 * NAVIGATION
 */

#nav *{
	margin: 0px;
	padding: 0px;
	border: 0px;
	line-height: 100%;
}

#nav{
	float: left; /* using opposing floats to position content_col & navigation */
	width: 180px;
	margin-top: 209px;
	background: #3d451e;
	border-top: 2px solid #3d451e;
	border-bottom: 2px solid #3d451e;
}

#nav ul{
	border-top: 1px solid #d78807;
	border-bottom: 1px solid #d78807;
	padding: 7px 10px;
	list-style-type: none;
}

#nav li{
	width: 160px;
}

#nav a{
	display: block;
	padding: 3px 0 3px 12px;
}

#nav a:link, #nav a:visited{
	text-decoration: none;
	color: #e3edec; 
	background: url(images/arrow_white.gif) no-repeat 0 50%;
}

#nav #current{
	background: url(images/arrow_orange.gif) no-repeat 0 50%;
}

#nav a:hover{
	color: #d78807;
}

#nav a:hover span{
	color: #e3edec; 
}


/*
 * TEXT STYLES
 */

html body{	/* overrides default.css font-family */
	font-family: georgia, times, "times new roman", serif;
}

h1, h2, h3, h4, h5, h6, p{
	color: #3d451e;
}

#content p{
	text-align: justify;
}

a:link, a:visited{
	text-decoration: underline;
	color: #7a8630;
}

a:hover{
	color: #d78807;
}

blockquote{
	color: #3d451e;
	font-style: italic;
	padding-left: 28px;
	background: url(images/quote.gif) no-repeat 0 0;
}

address{
	color: #3d451e;
	font-style: normal;
	font-weight: normal;
}

address:first-line{
	font-weight: bold;
}

/*

div.events h3{
	text-align:right;
}

*/

div.events h4{
	margin-left: 25px;
}

div.events p{
	margin-left: 50px;
}


/*
FORM
*/

form label{
	color: #3d451e;
}


/*
CLEARFIX: (http://www.positioniseverything.net/easyclearing.html)
*/

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* hide from ie-mac (commented blackslash hack v2) \*/
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
/* end hide from ie-mac */



