@charset "utf-8";
body  {
	font: 9pt/17pt arial;
	margin: 0;
	padding: 0;
	height: 100%;
	background: #344d56;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
#clear {
	clear: both;
}
.bodyclass #container { 
	width: 766px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #D2E8F0;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border-left: 1px solid #344d56;
	border-right: 1px solid #344d56;
	text-align: left; /* this overrides the text-align: center on the body element. */
	height: 100%;
} 
#header { 
	background: #344d56; 
	height: 181px;
	padding: 0px 0px 0px 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 
#head1 {
	display: inline;
	float: left;
	background-image:url(http://www.stpaulsvernal.org/images/new/head1.gif);
	width: 255px;
	height: 146px;
	background-repeat: no-repeat;
}
#head2 {
	display: inline;
	float: left;
	background-image:url(http://www.stpaulsvernal.org/images/new/head2.gif);
	width: 258px;
	height: 146px;
	background-repeat:no-repeat;
}
#head3 {
	display: inline;
	float: left;
	background-image: url(http://www.stpaulsvernal.org/images/new/head3.gif);
	width: 253px;
	height: 146px;
	background-repeat:no-repeat;
}
#navbar {
	display: inline;
	float: left;
	background-image: url(../images/new/bar_bg.gif);
	background-repeat: repeat-x;
	width: 766px;
	height: 35px;
}

#navbar ul {
	 list-style-type: none;
	 margin: 0; padding:0;
	 clear:both;
}
#navbar li {
	float:left;
	display: inline;
	margin-left: 13px;
	margin-top: 6px;
	height: 18px;
}
#navbar li a{
	display: block;
	text-indent: -5000px;	
}

#navbar li.home a{
	background:url(../images/new/nav_home.gif) no-repeat;
	width: 45px;
	margin-left:4px;
}

#navbar li.home a:hover {
	background:none;
	background:url(../images/new/nav_home_hover.gif) no-repeat;
	width: 45px;
	margin-left:4px;
}
#navbar li.our_clergy a{
	background:url(../images/new/nav_clergy.gif) no-repeat;
	width: 79px;
}
#navbar li.our_clergy a:hover {
	background:none;
	background:url(../images/new/nav_clergy_hover.gif) no-repeat;
	width: 79px;
}
#navbar li.our_ministry a{
	background:url(../images/new/nav_ministry.gif) no-repeat;
	width: 87px;
}
#navbar li.our_ministry a:hover {
	background:none;
	background:url(../images/new/nav_ministry_hover.gif) no-repeat;
	width: 87px;
}
#navbar li.our_history a{
	background:url(../images/new/nav_history.gif) no-repeat;
	width: 82px;
}
#navbar li.our_history a:hover {
	background:none;
	background:url(../images/new/nav_history_hover.gif) no-repeat;
	width: 82px;
}
#navbar li.our_parish a{
	background:url(../images/new/nav_parish.gif) no-repeat;
	width: 75px;
}
#navbar li.our_parish a:hover {
	background:none;
	background:url(../images/new/nav_parish_hover.gif) no-repeat;
	width: 75px;
}
#navbar li.gallery a{
	background:url(../images/new/nav_gallery.gif) no-repeat;
	width: 58px;
}
#navbar li.gallery a:hover {
	background:none;
	background:url(../images/new/nav_gallery_hover.gif) no-repeat;
	width: 58px;
}
#navbar li.the_epistle a{
	background:url(../images/new/nav_epistle.gif) no-repeat;
	width: 75px;
}
#navbar li.the_epistle a:hover {
	background:none;
	background:url(../images/new/nav_epistle_hover.gif) no-repeat;
	width: 75px;
}
#navbar li.contact_us a{
	background:url(../images/new/nav_contact.gif) no-repeat;
	width: 91px;
}
#navbar li.contact_us a:hover {
	background:none;
	background:url(../images/new/nav_contact_hover.gif) no-repeat;
	width: 91px;
}
#navbar li.login a{
	background:url(../images/new/nav_login.gif) no-repeat;
	width: 32px;
	height: 9px;
	margin-top: 4px;
	margin-left: 13px;
}





.bodyclass #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.bodyclass #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 226px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #edf3f4; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 3px 10px 35px 20px;
	min-height: 100%;
	border-right: 2px solid #FFFFFF;
	height: 100%;

}
#sidebar1 form.dropmenu {
	margin-top: -2px;
	margin-left: -15px;
}
.bodyclass #mainContent {
	margin: -15 0 0 250px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: -15 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	autoflow:auto;
	height: 100%;
} 
.bodyclass #mainContent img.welcome {
	margin-top: -3px;
}
.bodyclass #footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#344d56; 
	height: auto;
	color:#FFFFFF;
	font: 9pt/12pt Arial, sans-serif;
	font-weight: bold;

} 
.bodyclass #footer a{
	color: #edf3f4;
	font: 8pt/12pt Arial, sans-serif;
	font-weight: lighter;
	font-style:italic;
}
.bodyclass #footer a:hover{
	color:#FFFFFF;
	font: 8pt/12pt Arial, sans-serif;
	font-weight: lighter;
	font-style:italic;
}
.bodyclass #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
