@charset "utf-8";

/****** BASIC STYLING ******/
/* Remove padding and margin */
* {
  	margin: 0;
	padding: 0;
}

/* Put it back on certain elements */
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, fieldset, table, ul {
  	margin: 1em 0;
}

body {
	font: 12px Arial, Helvetica, sans-serif;
	background: #ffffff;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	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;
}
a {
	color:#A8A76F;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
	color:#80A9B1;
}
img {
	border:none;
}
.fltlft {
	float:left;
	position:relative;
}
.fltrit {
	float:right;
}
.clearflt {
	clear:both;
}

/***** NAVIGATION STYLING ******/
ul#navigation {
	margin:0;
	padding:0;
}
ul#navigation li {
	list-style-type:none;
	float:left;
	text-align:center;
}
ul#navigation li a {
	display:block;
	width:150px;
	height:33px;
	padding:3px 0;
	margin:0;
	color:#505050;
	font-weight:bold;
	background: url(../../images/main/navigation-bg.gif) no-repeat;
}
ul#navigation a:hover {
	color:#ffffff;
	background:url(../../images/main/navigation-bg-on.jpg) no-repeat;
}
#home ul#navigation li a.home, #services ul#navigation li a.services, #resources ul#navigation li a.resources, #location ul#navigation li a.location, #about ul#navigation li a.about, #contact ul#navigation li a.contact {
	color:#ffffff;
	background:url(../../images/main/page-on.jpg) no-repeat;
} 
/***** CONTENT STYLING ******/
#container {
	width: 900px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
}
#header { 
	padding: 0;  /* 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. */
	position:absolute;
	top:0;
}
#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; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	background:url(../../images/main/karpel-logo.gif) no-repeat;
	width:255px;
	height:47px;
	text-indent:-9000px;
	float:left;
	cursor:pointer;
}
#header p#contact {
	color:#80A9B1;
	font-size:30px;
	padding:0;
	margin:15px 0 0 650px;
}
#mainContent {
	padding: 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: #FFFFFF;
	position:relative;
	top:115px;
	height:100%;
}

/****** FOOTER STYLING ******/
#footer {
	text-align:center;
	padding:10px 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	margin-top:35px;
	font-size:10px;
	font-weight:bold;
	color:#A8A76F;
	position:relative;
	top:115px;
	_height:135px; /* IE6 Fix so that this div shows correctly */
	line-height:1.5em;
}
#footer a {
	padding:10px;
}
#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: 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}