/*
 * Subject to copyright.
 *
 * Web Development by LOOKsystems Limited
 * mailto:info@looksystems.ltd.uk
 * http://www.looksystems.ltd.uk
 *
 */

/* GLOBAL STYLES */

body {
	color: #000;
	background-color: #fff;
	font-family: arial, helvetica, sans-serif;
	text-align: center;
	padding: 0;
	margin: 1em 0 3em 0;
}

a {
	color: #6dc0d1;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #dfc043;
}
a img {
	border: none;
}

h1, h2, h3, h4, h5, h6, p, form {
	padding: 0;
	margin: 0;
}

/* PAGE STYLE */

#wrapper {
	text-align: left;
	margin: 0 auto;
	width: 840px;
	background: url(../img/fade-right.gif) right top repeat-y;
	padding-right: 20px;
}
html>body #wrapper {
	width: 820px;
}

#page {
	width: 820px;
	padding-left: 20px;
	background: url(../img/fade-left.gif) left top repeat-y;
}
html>body #page {
	width: 800px;
}

/* CORNWALL PEOPLE FIRST BRANDING */

#header {
	color: #fff;
	background: #dfc043;
	clear: both;
	height: 155px;
	overflow: hidden;
	margin: 0;
}
#header h1 a {
	text-decoration: none;
	position: relative;
	width: 800px;
	height: 154px;
	display: block;
}
#header h1 a .text {
	color: #fff;
	position: relative;
	left: .5em;
	top: .25em;
}
#header h1 a .image_overlay {
	top: 0;
	left: 0;
	position: absolute;
	width: 800px;
	height: 154px;
	background: url(../img/cornwall-people-first.gif) 0 0 no-repeat;
}

/* HELP AND TOOLBAR */

#sitetools {
	position: relative;
	color: #fff;
	background-color: #6dc0d1;
	font-weight: bold;
	margin-top: 2px;
	font-size: 110%;
	height: 32px;
}
html>body #sitetools {
	height: auto;
	min-height: 32px;
}

#sitetools .image_overlay {
	top: 0;
	left: 0;
	position: absolute;
	display:block;
	height: 32px;
}
html>body #sitetools .image_overlay {
	height: auto;
	min-height: 32px;
}

#sitetools ul {
	list-style: none;
	padding: 0;
	margin: 0 20px 0 10px;
}
html>body #sitetools ul {
	margin: 0 20px;
}
#sitetools li {
	float: left;
	list-style: none;
	padding: 0;
	margin: 0;
}
#sitetools a {
	color: #fff;
	text-decoration: none;
	position: relative;
	display: block;
}
#sitetools .text {
	position: relative;
	top: .1em;
}
#help {
	float: left;
}
#tools {
	float: right;
}

#help #using_this_site a {
	width: 300px;
}
#help #using_this_site a .image_overlay {
	background: url(../img/tools-help.gif) 0 0 no-repeat;
	width: 100%;
}
#tools #go_home a {
	width: 3em;
}
html>body #tools #go_home a {
	width: auto;
	min-width: 32px;
}
#tools #go_home a .image_overlay {
	background: url(../img/tools-gohome.gif) top right no-repeat;
	width: 100%;
}
#tools #text_larger a {
	width: 21px;
}
#tools #text_larger a .image_overlay {
	background: url(../img/tools-larger.gif) 0 0 no-repeat;
	width: 100%;
}
#tools #text_smaller a {
	width: 15px;
}
#tools #text_smaller a .image_overlay {
	background: url(../img/tools-smaller.gif) 0 0 no-repeat;
	width: 100%;
}

/* HOME MENU */

#home ul {
	list-style: none;
	width: 800px;
	height: 526px;
	margin: 0;
	padding: 0;
}
#home li {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
#home li a {
	position: relative;
	width: 200px;
	height: 263px;
	display: block;
}
#home li .text {
	text-align: center;
	font-size: 200%;
	display: block;
	width: 200px;
	height: 163px;
	padding-top: 100px;
}

#home li a:hover .text {
	background: #dfc043;
	color: #fff;
}
#home li a .image_overlay {
	top: 0;
	left: 0;
	position: absolute;
	background: url(../img/home.jpg) 0 0 no-repeat;
	display: block;
	width: 200px;
	height: 263px;
}

#home ul #home_help a .image_overlay {
	background-position: 0 0;
}
#home ul #home_help a:hover .image_overlay {
	background-position: 0 -526px;
}
#home ul #home_about a .image_overlay {
	background-position: -200px 0;
}
#home ul #home_about a:hover .image_overlay {
	background-position: -200px -526px;
}
#home ul #home_news a .image_overlay {
	background-position: -400px 0;
}
#home ul #home_news a:hover .image_overlay {
	background-position: -400px -526px;
}
#home ul #home_projects a .image_overlay {
	background-position: -600px 0;
}
#home ul #home_projects a:hover .image_overlay {
	background-position: -600px -526px;
}
#home ul #home_fun_and_events a .image_overlay {
	background-position: 0 -263px;
}
#home ul #home_fun_and_events a:hover .image_overlay {
	background-position: 0 -789px;
}
#home ul #home_gallery a .image_overlay {
	background-position: -200px -263px;
}
#home ul #home_gallery a:hover .image_overlay {
	background-position: -200px -789px;
}
#home ul #home_shop a .image_overlay {
	background-position: -400px -263px;
}
#home ul #home_shop a:hover .image_overlay {
	background-position: -400px -789px;
}
#home ul #home_contact a .image_overlay {
	background-position: -600px -263px;
}
#home ul #home_contact a:hover .image_overlay {
	background-position: -600px -789px;
}

/* PRIMARY NAVIGATION */

#menu ul {
	list-style: none;
	margin: 0 0 0 5px;
	padding: 0;
	float: left;
	border-bottom: 1px solid #dfc043;
}
#menu li {
	float: left;
	list-style: none;
	padding: 0;
	font-weight: bold;
}
#menu li a {
	position: relative;
	text-align: center;
	width: 112px;
	height: 139px;
	color: #dfc043;
	background-color: inherit;
	display: block;
	text-decoration: none;
}
#menu #menu_fun_and_events a {
	width: 122px;
}
#menu #menu_gallery a {
	width: 102px;
}
#menu li a .text {
	width: 111px;
	height: 96px;
	display: block;
	padding-top: 40px;
	text-align: center;
	border-left: 1px dotted #dfc043;
	margin-top: 2px;
}
#menu #menu_about a .text {
	border: none;
}
#menu #menu_fun_and_events a .text {
	width: 121px;
}
#menu #menu_gallery a .text {
	width: 101px;
}
#menu li a:hover .text {
	color: #fff;
	background-color: #dfc043;
}

#menu li a .image_overlay {
	top: 0;
	left: 0;
	background: url(../img/menu.jpg) 0 0 no-repeat;
	position: absolute;
	display: block;
	width: 122px;
	height: 139px;
}
#menu li#menu_about a .image_overlay {
	background-position: -10px 0;
}
#menu li#menu_about a:hover .image_overlay {
	background-position: -10px -139px; 
}
#menu li#menu_news a .image_overlay {
	background-position: -122px 0;
}
#menu li#menu_news a:hover .image_overlay {
	background-position: -122px -139px;
}
#menu li#menu_projects a .image_overlay {
	background-position: -234px 0;
}
#menu li#menu_projects a:hover .image_overlay {
	background-position: -234px -139px;
}
#menu li#menu_fun_and_events a .image_overlay {
	background-position: -346px 0;
}
#menu li#menu_fun_and_events a:hover .image_overlay {
	background-position: -346px -139px;
}
#menu li#menu_gallery a .image_overlay {
	background-position: -468px 0;
}
#menu li#menu_gallery a:hover .image_overlay {
	background-position: -468px -139px;
}
#menu li#menu_shop a .image_overlay {
	background-position: -570px 0;
}
#menu li#menu_shop a:hover .image_overlay {
	background-position: -570px -139px;
}
#menu li#menu_contact a .image_overlay {
	background-position: -682px 0;
}
#menu li#menu_contact a:hover .image_overlay {
	background-position: -682px -139px;
}

/* MAIN CONTENT */

#main {
	clear: both;
	margin: 0 1em;
	height: 300px;
	padding: .5em 0;
	position: relative;
}
html>body #main {
	height: auto;
	min-height: 300px;
}
#main h1 {
	font-size: 160%;
	font-weight: bold;
	color: #6dc0d1;
	line-height: 1em;
	margin-bottom: .75em;
}
#main h2 {
	font-size: 120%;
	font-weight: bold;
}

#main .listen {
	top: .5em;
	right: 0;
	position: absolute;
	width: 95px;
}
html>body #main .listen {
	min-width: 95px;
	width: auto;
}

#main .listen a {
	display: block;
	width: 95px;
}
html>body #main .listen a {
	min-width: 95px;
	width: auto;
}

#main .listen a .image_overlay {
	top: 0;
	left: 0;
	position: absolute;
	display: block;
	width: 95px;
	height: 26px;
	background: url(../img/listen.gif) 0 0 no-repeat;
}

#content {
	padding-bottom: 1em;
}

/* NEWS SUMMARY */

#newssummary div {
	margin-bottom: 1em;
}

/* CONTACT FORM */

#contactform {
	width: 480px;
}
#contactform .formfield {
	width: 360px;
}

/* IMAGE GALLERY */

#images {
	margin-top: 1em;
	font-style: italic;
}
#images td {
	font-size: 80%;
	padding-bottom: 6px;
	padding-right: 6px;
	width: 120px;
}

/* VIDEO */

#video {
	margin-top: 1em;
	font-size: 80%;
}

#flashvideo {
	float: left;
}

#video .keycodes {
	float: right;
	font-size: 80%;
}

#video .keycodes td {
	padding-left: 1em;
}

/* SIDEBAR */

#sidebar {
	float: left;
	width: 236px;
	padding-bottom: 1em;
}

#sideimage {
	border: 2px solid #6dc0d1;
	width: 232px;
	height: 232px;
	margin-bottom: 1em;
}

#sidebar ul,
#sidebar li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#sidebar li {
	padding: .25em 0;
	border-bottom: 1px solid #dfc043;
	font-weight: bold;
	font-size: 120%;
}
#sidebar li a {
	color: #6dc0d1;
	text-decoration: none;
}
#sidebar li a:hover {
	color: #dfc043;
}

/* FOOTER */

#footer {
	clear: both;
	font-size: 80%;
}
#footer_text {
	padding: .5em 1em;
	background-color: #6dbfd1;
	color: #000;
	margin-bottom: .25em;
	font-weight: normal;
}

/* CREDITS */

#credits {
	color: #6dc0d1;
	font-size: 80%;
	font-weight: bold;
	text-align: left;
	margin: 0 auto;
	width: 800px;
}
#credits a {
	font-weight: bold;
}

/* WEB STANDARDS */

#webstandards {
	margin: -1em auto 1em auto;
	width: 800px;
}
#webstandards ul,
#webstandards li {
	font-size: 50%;
	margin: 0 0 0 .5em;
	padding: 0;
	list-style: none;
	float: right;
}

/* GENERAL STYLES */

.navigator {
	font-style: normal;
	font-size: 90%;
}
.navigator a.navselect {
	font-weight: bold;
}

.replace {
	text-indent: -9000px;
	overflow: hidden;
}

.hide {
	visibility: hidden;
}

.button, .cancel, .button_delete {
	font-size: 90%;
	border: none;
	cursor: default;
	padding: 2px 8px 1px 8px;
}
.button {
	color: #fff;
	font-weight: bold;
	background-color: #000;
}
.cancel {
	color: #fff;
	background-color: #aaa;
}
.button_delete {
	font-weight: bold;
	color: #fff;
	background-color: #800;
}

.invalid {
	color: #800;
	background-color: #fdd;
}
.invalid td {
	padding: 2px;
}

/* BLANK PAGE */

#blank {
	text-align: left;
	color: #000;
	background-color: #fff;
	padding: 8px;
}
#blank a {
	color: #000;
	background-color: inherit;
	text-decoration: none;
}
#blank a:hover {
	text-decoration: underline;
}

/* ACCESSIBILITY */

.hide {
	display: none;
	overflow: hidden;
	height: 0px;
}

.wai {
	display: none;
}

a.accesskey {
	top: 0;
	display: block;
	position: absolute;
	text-indent: -9000px;
	overflow: hidden;
	height: 0px;
}
