@charset "utf-8";
body  {
	font: 12px Arial, Helvetica, sans-serif;
	background: #FFF;
	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: #424145;
}
#container {
	width: 980px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 10px auto 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #a5a7aa;
	text-align: left; /* this overrides the text-align: center on the body element. */
	height: 579px;
	position:relative;
	background-image: url(images/main_bg.jpg);
	background-position: bottom right;
	background-repeat: no-repeat;
} 
#header {
	background: #DDDDDD;
	padding: 0 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. */
	background-image: url(images/header.gif);
	height: 97px;
} 
#header h1
{
	margin:0;
}

#mainContent.flexcroll h1
{
	margin-top:0px;
}
#header a {
	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: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	display:block;
	text-indent: -1000px;
	overflow: hidden;
	outline: 0;
	height: 97px;
}
#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 200px; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0px 15px 20px;
	
}
#sidebar1 ul
{
	list-style:none;
	margin:0;
	padding:0;
}

#sidebar1 ul.sub
{
	margin-top:35px;
}

#sidebar1 ul.bottom
{
position:absolute;
bottom:12px;
}

a
{
	color:#599bcc;
	text-decoration:none;
}
#sidebar1 a:hover,#sidebar1 a.active
{
	color:#589bcb;
}

#sidebar li
{
	margin:0;
	padding:0;
	
}
#sidebar1 a
{
	color:#3e3f41;
	text-decoration:none;
	font-size: 17px;
	padding: 3px 0px;
	margin:0;
	display: block;
	outline:none;
}
#mainContent {
	margin: 117px 0 0 20px; /* 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: 0 0px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	width: 380px;
	float: left;
	display: block;

} 

#mainContent h2
{
	font-weight:normal;
	font-size:20px;
	
}
#mainContent.flexcroll
{
		overflow: auto;
	height: 230px;
}
#mainContent p 
{
	margin:0;
	padding:5px 15px 5px 0;
	color:#424145;
	line-height:15px;
}
#mainContent h1,#mainContent h2,#mainContent h3
{
	color:#599bcc;
	font-family:Arial, Helvetica, sans-serif;
	padding:0 0;
	margin:5px 0;
}

#mainContent h1
{
	font-size:28px;
	margin:15px 0 0 0;
}
#contact
{
	position:absolute;
	bottom:17px;
	left: 240px;
}

#contact strong 
{
	font-weight:normal;
	color:#599bcc;
}
#footer {
	padding: 0 10px 0 20px;
	font-size: 10px;
	margin-top: 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: 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;
}


.imageselector
{
	width:100px;height:177px;display:block;overflow:hidden;float:left;
	margin-left:11px;
}
.imageselector img
{
width:32px;
height:25px;
border:1px solid #999;
float:left;
margin:0px 10px 10px 0px;
cursor:pointer;
}

.cslist
{
	list-style:none;
	margin:10px 0px;
	padding:0px;
	width: 700px;
	display: block;
}

.cslist li
{
	float:left;
}

.cslist a
{
	width:30px;
	height:13px;
	border:1px solid #6c6d70;
	display:block;
	padding:6px 0 7px 0;
	font-weight:700;
	text-align:center;
	margin-right:12px;
}

.cslist a:hover, .cslist a.active
{
	background-color:#599bcc;
	color:#FFF;
}
