/*
 * pages structure
 */
html,body {
	margin: 0;
	padding: 0;
	height: 100%;
}

#body {
	background: white url(../images/page-shadow-bg.png) repeat-y 50% 0;
	height: auto !important;
	height: 100%;
	margin: 0 auto;
	min-height: 100%;
	position: relative;
}

#wrapper {
	background: white;
	margin: 0 auto;
	position: relative;
	width: 964px;
}

#header {
	background: #F1F5F5 url(../images/shadow.png) repeat-x 50% 0;
	min-height:75px;
	padding:10px 20px;
}

#header h1 {
	float:left;
	font-size:180%;
	margin:15px 0 0 0;
	padding:0;
	width:105px;
} 
#header h1:first-letter {
	letter-spacing:0;
	text-shadow:none;
}
#header h2 {
	clear:none;
	float:left;
	font-family:Georgia, serif;
	font-style:italic;
	letter-spacing:2px;
	margin:18px 0 0 0; 
	padding:10px;
} 

#header #search {
	position:absolute;
	right:15px;
	top:7px;
}

#header #utils {
	color: #535d6c;
	font-size: 110%;
	position: absolute;
	right: 10px;
	text-align: right;
	top: 65px;
}

#header #utils a {
	color: #535d6c;
	padding:7px;
}
#header #utils a.sitemap {
	background: transparent url(../images/sitemap.png) no-repeat 0 0.2em;
	padding-left:33px;
}

#header #utils .separator {
	background: transparent url(../images/header-dots.png) no-repeat 50% 70%;
	padding: 5px 10px;
}

#topnav {
	background: transparent url(../images/shadow.png) repeat-x 50% 100%;
	padding-bottom: 10px;
	position: relative;
	width: 964px;
	z-index: 70;
	width: 964px;
}

#topnav ul {
	background: #999;
	border: white 2px solid;
	border-left: 0;
	border-right: 0;
	height: 30px;
	margin: 0;
	padding: 0;
}

#topnav li {
	background:#111;
	border-right: 2px solid white;
	float: left;
	list-style: none;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
}

#topnav .selected {
	background: #009CC3;
}	
#topnav li a {
	color: white;
	font-size: 140%;
	letter-spacing: -1px;
	padding: 8px 50px;
	position: relative;
	top: 6px;
}

#topnav .selected a, 
#topnav li.selected a:hover {
	color:#0b2228;
}
#topnav li a:hover {
	color:#fc0;
	text-decoration: none;	
}

#topnav li.first {
	background: #666;
}
#topnav li.first.selected {
	background: #009CC3;
}

#localnav {
	background: white;
	float: left;
	padding: 1em 20px 140px 10px;
	position: relative;
	width: 144px;
}

#localnav h2 {
	color: #bbb;
	font-size: 210%;
	font-style: italic;
	letter-spacing: -1px;
	/*	height:23px;
	line-height:100%;*/
	margin: 6px 0 7px 0;
	/*	overflow:hidden; */
}

#localnav h2 a {
	background: none;
	color: #bbb;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

#localnav h3 {
	font-size: 150%;
	letter-spacing: -1px;
	margin: 0 0 10px 2px;
}

#localnav h3 a {
	text-decoration: none;
}

#localnav ul {
	margin: 0;
	padding: 0;
}

#localnav li {
	list-style: none;
}

#localnav li a {
	background: transparent url(../images/localnav-bullet-blue.png) no-repeat 7px 6px;
	color: #535d6c;
	display: block;
	font-size: 130%;
	letter-spacing: -1px;
	padding-left: 26px;
}

#localnav li.selected a,
#localnav li.selected a:hover {
	background: transparent url(../images/localnav-bullet-blue.png) no-repeat 7px -40px;
	color: #009CC3;
}

#localnav li a:hover {
	background: transparent url(../images/localnav-bullet-yellow.png) no-repeat 7px -40px;
	color: #f80;
	text-decoration: none;
}


/* tricks : #wrapper avoid styling admin (fck editor) */
#wrapper #content {
	background: white;
	float: left;
	margin: 0 auto;
	position: relative;
	width: 604px;
}

/* content for website + admin */
#content {
	padding: 5px 130px 90px 30px;
}

body.gallery2Plugin #wrapper #content {
	padding-top:1em;
padding-right:0px;
width:700px;
}

body.gallery2Plugin #gallery.modeGallery h1 {
	display:none;
}


#footer {
	background: #f1f5f5 url(../images/shadow.png) repeat-x 50% 0;
	bottom: 0 !important;
	bottom: -1px;
	height: 19px;
	left: -482px;
	margin-left: 50%;
	padding: 20px 30px;
	position: absolute;
	width: 904px;
	z-index: 80;
	padding: 20px 30px;
}

#footer .image.left {
	margin: 0;
	width: 200px;
}

#footer p,#footer .image {
	margin: 0.4em 0;
}

#footer .designby {
	bottom: 18px;
	color: #999;
	position: absolute;
	right: 20px;
}

#footer .designby:hover {
	color: #535d6c;
}


/*
 * SPECIALS PAGES
 */ /* home page */
#home-page #content {
	float: none;
	padding-right: 30px;
	width: 904px;
}

#home-page #localnav {
	display: none;
}
