@charset "utf-8";
/* CSS Document */

* {
	margin: 0;
	padding:0;
}

html, body, #wrapper{
	height: 100% !important;
}

body > #wrapper, body > #mainpageslides, body > #wrapperphoto   {height: auto; min-height: 100% !important;}

body {
	font-family: Calibri,Arial, Gadget,Helvetica, sans-serif;
	font-size: 100%;
	border:none;
	border-style:none;
	background:#E8E8E8;
	text-align:center;
}

#wrapperbg{
	background:#E8E8E8 url(../_images/background.jpg) no-repeat scroll center top;
	min-height: 100%;
	height:auto;
	width: 1000px;
	margin:0px auto 0px auto;
}

#wrapper {
	text-align: left;
	width: 1000px;
	margin:0px auto 0px auto;
}

#main, #mainpageslides, #wrapperphoto{
	padding-bottom:70px;
}


#footer {
	width: 1000px;
	margin:0px auto 0px auto;
	position: relative;
	padding-top:20px;
	margin-top: -70px;
	height: 50px;
	clear:both;
} 

h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
	font-family:Cambria,Georgia,Times,"Times New Roman",serif;
	font-weight: normal;
	color:#2D3F5B;
	line-height: normal;
}

h1 {
	font-size: 25px;
	padding-bottom: 6px;
}

h2 {
	font-size: 20px;
}

h3 {
	font-size: 18px;
}

p, ul, ol {
	margin-top: 0;
	line-height: 100%;
	color:#2D3F5B;
}


a {
	text-decoration: none;
	color:#2D3F5B;
}


#wrapper a:link,
#wrapper a:visited {
	text-decoration: none;
	color:#2D3F5B;
}

#wrapper a:hover {
	color:#2D3F5B;
	border-bottom: none;
	
}

#header {
	position: relative;
	width: 845px;
	height: 150px;
	margin: 0px auto 0px auto;
	z-index:4000;
}

#header  h1 {
	margin: 0px 0px 0px 5px;
	font-size: 40px;
	padding: 16px 0px 0px 0px;
}

#header  h2 {
	margin: 0px 0px 0px 8px;
	font-size: 17px;
}

#header a:hover {
	border-bottom: 1px solid #000;
}
/* Main Menu */
/*------- main navigation ----------*/
#header #mainnav  {
	margin: 0 auto 0 auto;
	position: absolute;
	bottom:0px;
	width: 810px;
}


/* Page */
#sideNav{
	float:left;
	width:185px;
	margin: 0px auto 0px auto;
}

#mainpage {
	float:right;
	width: 800px;
	padding: 15px 0 0 0;
	border: none;
/*	background: url(../_images/menubackground.png) repeat;*/
}

#mainpageslides {
	width: 810px;
	border: none;
	margin: 15px auto 15px auto;
	padding: 0px 0 0px 0;
}

#mainpagephoto {
	width: 800px;
	height: 480px;
	border-left:#999 solid 2px;
	border-top:#999 solid 2px;
	border-right:#666 solid 2px;
	border-bottom:#666 solid 2px;
	padding-top: 0;
	z-index:0;
}

#wrapperphoto {
	width: 800px;
	margin:0px auto 0px auto;
	padding:5px 0px 55px 0px;
	position:relative;
} 

#centerflash{
	margin:0px 0px 0px 0px;
}


/* --- page styles -----*/
#mainpageslides h1{
	padding:10px 0 5px;
	text-align:center;
	text-transform: capitalize;	
}

#profile {
	padding:25px
}

#profile p {
	line-height: 1.5em;	
}

#profile #DivImg {

	padding: 30px 50px 10px 50px;
	float:right;
	border: none;
}

/*#profile img .sign {
	margin: 50px 0px 0px 0px;
	float:left;
	border: none;
}*/

#maincontentthanks {
	padding: 50px;
}


#footer table{
	min-width:800px;
	background: url(../_images/menubackground.png) repeat;
	border:none;
	font-size: 10px;
	margin: 0px auto 0px auto;
	padding: 0px 0px 5px 0px;
	color: #999;	
}

#footer table a {
	color: #666;
	display:block;

}
#footer table a:hover {
	color: #000;
	display:block;
	text-decoration: underline;
}

#location {
	padding-top: 40px;
	padding-bottom: 10px;
}

#footer td.righttext{
	font-size: 14px;
	padding: 0px 0px 0px 20px;
	text-align: left;
	margin:0px
}

#footer td.lefttext{
	font-size: 8px;
	padding: 0px 0px 0px 20px;
	text-align: right;
	margin:0px
}
#mainpageslides p{
	text-align:center;
}

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */