/*--------------------------------------------
Style sheet for greencs.co.uk
Author: Clive Walker
Website: http://www.cvwdesign.co.uk
---------------------------------------------*/

/* ----- Reset ----- */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	padding: 0;
	margin: 0;
}

fieldset, img {
	border: 0;
}

/* ----- Base rules for html, body ----- */

html {
	height:100%
}

html {
	overflow-y: scroll;
}   /* fix for Firefox, Opera scrollbar jump*/

body {
	font: 76%/1.6 Verdana, Geneva, sans-serif;
	/*min-width: 960px;*/
	text-align: center;
	background: #F0E4DB;
	color: #222;
}

/* ----- Main layout elements ----- */

#wrapper {
	width: 961px;
	margin: 0 auto;
	text-align: left;
	background: #FFF url(../images/imgcontainer-bg2.gif) repeat-y -15px 0;
}

#header {
	height: 134px;
	padding: 0;
	background: #FFF;
	position: relative;
}

#innerheader {
	position: absolute;
	width: 300px;
	top: 0;
	right: 0;
}

#navigation {
	float:left;
	width:100%;
	background: #369B47;
	line-height:normal;
	border-bottom:1px solid #29833B;
}

#imgcontainer, #picture-nav {
	float: left;
	width: 940px;
	height: 300px;
	margin-left: 20px;
	border-right: 1px solid #60AD3A;
}

#imgcontainer {
	height:200px;
}

#picture-nav {
	width: 940px;
	padding: 10px 0;
	height: auto;
	background: #369B47;
}

#mainImg {
	margin-top: 100px;
	margin-left: 475px;
}

#content {
	width: 960px;
	float: right;
	background: url(../images/content-bg2.gif) repeat-y -16px 0;
	border-right: 1px solid #298E36;
}

#mainContent {
	width: 600px;
	margin: 0 0 0 30px;
	float: left;
	border-right: 1px solid #EFEFEF;
	padding-right: 20px;
	padding-left: 10px;
	padding-bottom: 10px;
}

#secondaryContent {
	width: 290px;
	display: inline; /* :IE double margin float bug */
	float: right;
	background-color:#FFF;
}

#footer {
	clear: both;
	padding: 10px 20px 20px 35px;
	border-top: 2px solid #60AD3A;
	background: #369B47;
	color: #EFEFEF;
}

/* ----- Styles for single column layout ------*/

#single-column #secondaryContent {
	width: 10px;
}

#single-column #mainContent {
	width: 865px;
	border-right: 0 solid #EFEFEF;
}

/* ----- Link styles ----- */

a:link, a:visited {
	color: #60AD3A;
	color: #549933;
	text-decoration: none;
}

a:hover {
	color: #298E36;
	text-decoration: underline;
}

a:active {
	text-decoration: none;
}

#content a:link, #content a:visited {
	border-bottom: solid 1px #ccc;
}

#content a:hover {
	text-decoration: none;
	border-bottom: solid 0 #ccc;
}

#content a.image {
	border: none;
}

#footer a:link, #footer a:visited {
	color: #EFEFEF;
}

#footer a:hover, #footer a: active {
	text-decoration: none;
}

/* ----- Main Navigation ----- */

ul#main-nav {
	margin: 0 0 0 20px;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 2; /*This is required to solve the z-index bug in IE6 and 7. Must be greater than sub-menus*/
}

ul#main-nav ul {
	width: 160px; /* Sub Menu Width */
	margin: 0;
	list-style: none;
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1; /*need so that the submenu appears above slideshow */
}

ul#main-nav ul ul, ul#main-nav ul ul ul {
	top: 0;
	left: 100%;
}

ul#main-nav li {
	float: left;
	display: inline;
	position: relative;
}

ul#main-nav ul li {
	width: 100%;
	display: block;
}

/* Root Menu */
ul#main-nav a {
	border-top: 1px solid #29833B;
	border-right: 1px solid #29833B;
	padding: 6px;
	float: left;
	display: block;
	background: #369B47;
	color: #FFF;
	text-decoration: none;
	height: 1%;
	font-size: 12px;
	font-weight: normal;
}

/* Root Menu Hover Persistence */
ul#main-nav a:hover, ul#main-nav li:hover a, ul#main-nav li.iehover a {
	background: #60AD3A;
	color: #FFF;
}

/* 2nd Menu */
ul#main-nav li:hover li a, ul#main-nav li.iehover li a {
	float: none;
	background: #369B47;
}

/* 2nd Menu Hover Persistence */
ul#main-nav li:hover li a:hover, ul#main-nav li:hover li:hover a, ul#main-nav li.iehover li a:hover, ul#main-nav li.iehover li.iehover a {
	background: #60AD3A;
}

/* 3rd Menu */
ul#main-nav li:hover li:hover li a, ul#main-nav li.iehover li.iehover li a {
	background: #369B47;
}

/* 3rd Menu Hover Persistence */
ul#main-nav li:hover li:hover li a:hover, ul#main-nav li:hover li:hover li:hover a, ul#main-nav li.iehover li.iehover li a:hover, ul#main-nav li.iehover li.iehover li.iehover a {
	background: #60AD3A;
}

/* 4th Menu */
ul#main-nav li:hover li:hover li:hover li a, ul#main-nav li.iehover li.iehover li.iehover li a {
	background: #666;
}

/* 4th Menu Hover */
ul#main-nav li:hover li:hover li:hover li a:hover, ul#main-nav li.iehover li.iehover li.iehover li a:hover {
	background: #333;
}

/* Hover Function - Do Not Move */
ul#main-nav li:hover ul ul, ul#main-nav li:hover ul ul ul, ul#main-nav li.iehover ul ul, ul#main-nav li.iehover ul ul ul {
	display: none;
}

ul#main-nav li:hover ul, ul#main-nav ul li:hover ul, ul#main-nav ul ul li:hover ul, ul#main-nav li.iehover ul, ul#main-nav ul li.iehover ul, ul#main-nav ul ul li.iehover ul {
	display: block;
}

/* ----- Sub-navigation ----- */

ul.sub-nav {
	padding: 5px;
	margin: 10px 0;
	list-style: none;
	background-color: #fff;
	border-bottom: 1px solid #e7e7e7;
	float: left;
	clear: left;
	width: 270px;
}

ul.sub-nav li {
	float: left;
}

ul.sub-nav li a {
	float: left;
	text-decoration: none;
	color: #999;
	padding: 0 14px 0 0;
	margin-right: 6px;
	font-weight: bold;
	font-size: 110%;
}

ul.sub-nav li a span {
	float: left;
	padding-right: 15px;
	display: block;
	height: 24px;
}

ul.sub-nav li a:hover {
	background: url(../images/sub-nav.gif) no-repeat top right;
	color: #29833B;
}

ul.sub-nav li a:hover span {
	background: url(../images/sub-nav.gif) no-repeat left top;
}

.telephone {
	font-size: 150%;
	color: #29833B;
	text-align: center;
	margin: 0;
	padding: 0;
}

.telephone img {
	vertical-align: middle;
}

/* ----- Paddings ----- */

#secondaryContent {
	padding-top: 25px;
}

#secondaryContent * {
	padding-left: 15px;
	padding-right: 20px;
}

#secondaryContent * * {
	padding-left: 0;
	padding-right: 0;
}

/* ----- Headings ----- */

h1, h2, h3 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

h1, h2, h3, #mainContent .contact {
	font-weight: normal;
	border-bottom: 1px solid #EDEDE5;
	padding-bottom: 5px;
	color: #14562B;
}

h1, h2, h3, p {
	margin: 1em 0;
}

h1 {
	font-size: 1.6em;
	margin-top: 0;
}

h2 {
	font-size: 1.4em;
}

h3, #mainContent .contact {
	font-size: 1.2em;
}

/* ----- Main div styles ----- */

p, li {
	font-size: 1em;
}

#secondaryContent h2 {
	font-size: 1.3em;
	margin: 0;
}

#mainContent p, #secondaryContent p {
	line-height: 1.6;
	font-size: 100%;
}

#content li {
	margin-left: 20px;
	list-style: url(../images/bullet.gif) none;
	margin-bottom: 5px;
}

#sitemap ul li {
	margin-left: 100px;
}

.addressdetails {
	border-right: 1px solid #EDEDE5;
	float: left;
	width: 45%;
	margin-right: 5%;
	margin-bottom: 5%;
}

#mainContent .highlight {
	font-size: 110%;
	border: 1px dashed #60AD3A;
	padding: 10px;
	color: #60AD3A;
	font-weight: bold;
	margin-right: 15px;
	margin-left: 5px;
}

/*#mainContent h1 + p {
	font-size: 140%;
	color: #fff;
	background: #369B47;
	padding: 10px;
	font-style: italic;
}*/

#secondaryContent ul {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* ----- Paragraphs and text ----- */

#mainContent .contactp {
	background: #D2ECC6;
	padding: 10px;
	font-size: 120%;
	border: 1px solid #363;
}

.center {
	text-align: center
}

.subdued {
	color: #7C7C7C;
}

.tborder {
	border-top: 1px solid #EDEDE5;
	padding-top: 10px;
}

/* ----- Images ----- */

.margin-left, p.center img {
	margin-left: 10px;
}

.logos img {
	margin-left: 10px;
	}

/* ----- Thumbnails on Home page -----*/

ul.thumbnails {
	margin: 0 0 10px;
	padding: 0;
	float: left;
	text-align: center;
	line-height: 1em;
	list-style: none;
}

ul.thumbnails li {
	display: inline;
	margin: 0;
	padding: 0;
}

ul.thumbnails a {
	display: block;
	float: left;
	margin: 0;
	padding: 4px 4px 9px;
	border: 1px solid #ccc;
	border-top-color: #eee;
	border-right-color: #ddd;
	border-bottom-color: #bbb;
	text-align: center;
	color: #296283;
	text-decoration: none;
	font: 125% "Trebuchet MS", Arial, Helvetica, sans-serif;
	background: #E0EEF5;
	text-transform: capitalize;
}

ul.thumbnails img {
	display: block
}

ul.thumbnails a {
	width: 165px;
	margin: 4px 13px 4px 0;
}

ul.thumbnails a, ul.thumbnails a:visited {
	background: #CFCFCF;
	color: #333;
}

ul.thumbnails a:visited {
	text-decoration: none;
}

ul.thumbnails a:hover {
	border: 1px solid #ccc;
	background: #00492B;
	color: #FFF;
}

/* ----- Others ----- */

#secondaryContent ul.thumbnails a {
	padding-left: 4px; /*overrides the ** selector*/
	margin-left: 40px;
} 


/* ----- Floats and clears ----- */

.fleft {
	float: left;
	margin-right: 10px;
}

.fright {
	float: right;
	margin-left: 10px;
}

.clearboth {
	clear: both;
}

/* ----- Table styles -----*/

table {
	border-collapse: collapse;
	border-left: 1px dotted #ccc;
	width: 598px;
}

table.width598 {

}

table.width598 td {
	vertical-align: middle;}

td {
	padding: 3px 3px 10px 10px;
	border-right: 1px dotted #ccc;
}

th {
	text-align: left;
	border-bottom: 1px solid #AADB93;
	font-size: 120%;
	background: #D2ECC6;
	padding-left: 10px;
}

tr {
	border-bottom: 1px solid #CFEBC2;
}

td span {
	font-size: 90%;
}

/* ----- Dropdown on Downloads page ----- */
      
.demo-show {
	width: 590px;
}

.demo-show h3 {
	margin: 0;
	padding: 0.25em 0.25em 0.25em 25px;
	background: #D2ECC6 url(../images/plus-minus.gif) no-repeat 2px 8px;
	border-top: 1px solid #369B47;
	cursor: pointer;
	clear: right
}

.demo-show h3.active {
	background: #D2ECC6 url(../images/plus-minus.gif) no-repeat 2px -82px;
}

.demo-show div {
	padding-top: 5px;
	padding-left: 30px;
}

.demo-show div p {
	clear: right;
	border-bottom: 1px dotted #ccc;
	padding-bottom: 30px;
	padding-top: 5px;
	margin: 0;
}

.demo-show div img {
	float: right;
	margin-right: 40px;
}

/* ----- Form  styles ----- */

/* two different forms, contact and login */

form#log-in {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
	margin: 0 10px 10px 0;
	padding: 0;
	/*min-width: 500px;*/
	max-width: 100%;
	width: 250px;
	font-size: 110%;
}

form#ContactGreenCS {
	width: 500px;
}

form fieldset {
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
	border: 1px solid #DCEEC4;
}

form label {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 70px;
	padding: 0;
	margin: 10px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
}

form#ContactGreenCS label {
	width: 140px;
}

form fieldset legend {
	font-size:1em; /* bump up legend font size, not too large or it'll overwrite border on left */
	color: #14562B;
	letter-spacing: 1px;
	font-weight: bold;                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

form input, form textarea, form select {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:125px;      /* set width of form elements to auto-size??, otherwise watch for wrap on resize */
	margin:10px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}

form#ContactGreenCS input, form#ContactGreenCS textarea, form#ContactGreenCS select {
	width: auto;
}

form#log-in input#login {
	width: auto;
}

textarea {
	overflow: auto;
}

form#log-in small {
	display: block;
	margin: 10px 0 5px 80px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 85%;
}

form#ContactGreenCS small {
	margin-left: 150px;
}

form .required {
	font-weight:bold;
} /* uses class instead of div, more efficient */

form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}

/* ------ The music player thing ------- */

#jquery_container_1 {text-align: center; padding: 0;}

#secondaryContent .jp-controls a, #innerheader .jp-controls a {
	background: #D2ECC6;
	margin: 4px 4px 10px;
	padding: 2px;
	border: 1px solid #369B47;
}

.jp-controls {
	float:left;
	width: 97%;
	margin-left: 25px;
	padding-bottom: 5px;}

.jp-controls p {
	display: inline;}

.jp-current-time, .jp-duration {
	float: left;
	width: 20%;
	color: #999;
}

.jp-current-time {
	margin-left: 37%;}