html,body{
margin:5px;
height:100%;
font:normal 14px Arial, Helvetica, sans-serif;
}

/* wrap */
#wrapper{
position:relative;
top:20px;
}

/*----------- header ---------------*/
#header {
	width: 100%;
	position: relative;
	padding:0px;	
	color: #FFF;
	margin-bottom:2px;	
	margin-top:2px;
	}

#hr1{
background:url(images/hr1.gif) repeat-x center top;
height:6px;
margin:2px 0px 2px 0px;
border:none;
padding:0px;
width:100%;
line-height:6px;
}

#head-header{
position:relative;
height:31px;
margin-bottom:2px;
border:0px;
}
#head-left-thing{
float:left;
height:31px;
width:6px;
background:url(images/left-thing.jpg) no-repeat;
}
#head-center-thing{
width:100%;
float:left;
position:relative;
height:31px;
background:url(images/center-thing.jpg) repeat-x top center;
}
#head-right-thing{
float:right;
height:31px;
width:6px;
background:url(images/right-thing.jpg) no-repeat;
font:12px Arial, Helvetica, sans-serif;
}

#logo{
position:relative;
background:url(images/logo.jpg) no-repeat;
/*border:2px solid #0064ff;*/
height:66px;
width:588px;
z-index:0;
}
/*#afterlogo{
position:relative;
float:left;
background:url(images/afterlogo.jpg) no-repeat;
height:67px;
width:334px;
}
*/

#slogans{
position: absolute;
left:10px;
top:5px;
width:300px;
z-index:50;
}

#slogan1 {
position:relative;
top:-5px;
color:#fd0001;
margin:0px;
padding:0px;
font:bold 80% Arial,sans-serif;
z-index:10;
line-height:14px;
}

#slogan2 {
position:relative;
top:-5px;
left:40px;
color:white;
margin:0px;
padding:0px;
font:bold 80% Arial,sans-serif;
z-index:10;
line-height:14px;
}

/*--------------- end header -----------------*/

/*--------------- Sidebar -------------------*/	
#sidebar {
position:relative;
	float:left;
	width:250px;
	padding:2px;
	margin:0px;
	margin-bottom:10px;
	color: #DFF9FF;
	border:1px solid #0064ff;
	background-color:#0064ff;
	/*height:100%;		*/
}

#sidebar-bottom {
position:relative;
	float:left;
	width:300px;
	padding:2px;
	color: #003366;
	font: bold Arial;
	border:1px solid #0064ff;
	background-color:#0064ff;
	/*height:100%;		*/
}	

#sidebar-inner{
border:2px solid #499aff;
/*margin:2px;*/
text-align:center;
/*height:100%;*/
	/*height:592px;*/
}

#sidebar-inner a{
display:block;
background:url(images/sidebar-inactive.jpg) no-repeat;
height:42px;
width:238;
color:white;
padding:0px;
margin:0px;
text-decoration:none;
line-height:42px;
}

#sidebar-inner a:hover{
display:block;
background:url(images/sidebar-active.jpg) no-repeat;
height:42px;
width:238;
color:white;
padding:0px;
margin:0px;
text-decoration:none;
}

#sidebar-inner h3{
margin:0px;
padding:0px;
font: bold 90% Arial,sans-serif;
}
/*--------------- end Sidebar -------------------*/

/*--------- content ------------*/
#content{
position:relative;
display:block;
float:left;
width:70%;
margin-left:10px;
font:normal 14px Arial, Helvetica, sans-serif;
text-align:justify;
/*border-bottom:1px solid #FF0001;*/
}

#content h2 {
	margin-top: 10px;
	font: Bold 140% Arial,sans-serif;
	color:#fd0001; 
	padding: 5px 0px 5px 25px; 	
	border-bottom: 1px solid #fc2525;
	background: #FFF url(images/square-green.png) no-repeat 3px 50%;	
	text-transform: none;
}

#content h3 {
	font: Bold 100% Arial,sans-serif;
	color:#fd0001; 
	padding: 5px 0px 5px 5px; 	
	clear:both;
	}

#pad {
	padding: 5px 0px 5px 5px; 
}

div.rounded {
    clear:both;
    max-width:2400px;
    margin:5px auto;
    width:95%;
}


.clear{
clear:both;
}

/*-------------- footer ---------------*/
/* Footer */	
#foot-footer{
height:31px;
margin-top:2px;
border:0px;
}
#foot-left-thing{
float:left;
height:31px;
width:6px;
background:url(images/f-left-thing.jpg) no-repeat;
}
#foot-center-thing{
width:100%;
float:left;
position:relative;
height:31px;
background:url(images/f-center-thing.jpg) repeat-x top center;
}
#foot-right-thing{
float:right;
height:31px;
width:6px;
background:url(images/f-right-thing.jpg) no-repeat;
}

#footer {
	color: #CCCCCC;
	clear: both;
	text-align: right;	
	font-size: 92%;	
	border:1px solid #0064ff;
	background:none;
	margin:2px 0px 2px 0px;
}

#footer a{
color:#CCCCCC;
}
#footer a:hover{
color:#666666;
}
#footer input{
margin:0px;
padding:0px;
color:#666;
border:#666666;
background: #EAEAEA;
}
#footer form{
padding:0px;
margin:0px;
}


/* Images */
p img {
	padding: 0;
	max-width: 100%;
	}


img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
	
	.caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

.caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.caption p.caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px 0px;
	margin: 0px;
	text-align:center;
}
/* End Images */

.left {
float:left;
margin:0 15px 4px 0;
}

.right {
float:right;
margin:0 0 4px 15px;
}

#contacts{
/*border-top:1px solid #fd0001;*/
float:left;
width:100%;
font:normal 12px Arial, Helvetica, sans-serif;
}
#contacts h3{
font: Bold 100% Arial,sans-serif;
	color:#fd0001; 
	padding: 5px 0px 5px 5px; 	
	clear:both;
	}
	
td {
border:1px solid black;
padding:2px;
}