﻿/* 

Layout stylesheet  

Royal Botanic Garden Edinburgh
Homepage Design

Net Resources
Date  30/03/2010	

Social Media Icons Paul Robert Lloyd
http://paulrobertlloyd.com/2009/06/social_media_icons

*/

/* 1.0 General styles */
/* 2.0 Global styles */
/* 3.0 Header styles */
/* 4.0 Navigation styles */
/* 5.0 News styles */
/* 6.0 Upper styles */
/* 7.0 Lower styles */
/* 8.0 Footer styles */



/* 1.0 General */

body {
	background-color: #FFF;
}

#container {
	overflow: hidden;
	margin: 0 auto 20px;
	position: relative;
	z-index: 0;
}
#skippy a:link, #skippy a:visited {
	position: absolute;
	z-index: -100;
	top: -100px;
	display: block;
	left: 10px;
	font-size: 1.8em;
	font-weight: bold;
	background: black;
	color: white;
	padding: 8px;
	border-radius: 4px;
	-o-border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 0 0 10px white;
	-o-box-shadow: 0 0 10px white;
	-webkit-box-shadow: 0 0 10px white;
	-moz-box-shadow: 0 0 10px white;
}
#skippy a:focus, #skippy a:hover, #skippy a:active {
	top: 10px;
	z-index: 100;
}
a:link, a:visited {
	text-decoration: none;
	color: #63831B;
}
a:focus, a:hover, a:active {
	text-decoration: none;
}
#main a:link, #main a:visited {
	text-decoration: underline;
}
#main a:focus, #main a:hover, #main a:active {
	text-decoration: none;
	background-color: transparent;
}
#main a:visited {
	color: #666;
}
a.image_anchor{
	padding: 0;
	display: block;
}
h3 a:link,h3 a:visited {
	padding:0;
	border-style: none;
}


a.external { 
	padding-right: 15px;
}
p.caption { 
	text-align: center;
	color: #666666;
	font-size: 0.916em;
	font-style: italic;
}
img.leftpic, img.post-leftpic {
	float: left;
	clear: both;
	margin: 0 15px 10px 0;
	border: 1px solid #CCCCCC;
}
img.rightpic, img.post-rightpic {
	float: right;
	clear: both;
	margin: 0 0 10px 15px;
	border: 1px solid #CCCCCC;
}
img.midpic, img.post-midpic {
	display: block;
	margin: 0 auto;
	border: 1px solid #CCCCCC;
}
.hidden {
	display: none;
}
.assist-text {
	left: -5000px;
	top: -1000px;
	position: absolute;
}

/* 2.0 Global styles */

#global {
	background-color: #8F8F8F;
	background: #959D7E url(../images/glob-fade-base-d.png) left bottom repeat-x;	
	color: #FFF;
	padding: 20px 10px 10px;
	margin: 0 0 10px;
}
#global li {
	float: left;
	margin: 0 8px 0 0;
}

#global ul, #global li, #global form, #global fieldset {
	display: inline;	
}
#global form, #global fieldset {
	float: right;
	margin: 1px 0 3px;
}
#global label, #global input {
	float: left; 
	padding: 2px;
}
#global a:link, #global a:visited {
	background: #959D7E;
	display: block;
	color: #FFF;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.25), 1px 1px 0 rgba(255,255,255,0.25);
	padding: 2px 10px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border: 1px solid #959D7E;
}
#global a:focus, #global a:hover, #global a:active {
	border-top: 1px solid #666;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #666;
	background: #EEE;
	color: #748051;
	text-shadow: none;
}
#global .subscribe a:link, #global .subscribe a:visited, #global .subscribe a:focus, #global .subscribe a:hover, #global .subscribe a:active {
	padding-left: 32px;
	background-image: url(../images/email_edit.png);
	background-position: 8px center;
	background-repeat: no-repeat;	
}
#global input#search {
	background: #eee;
	margin: 0;
	border: 1px solid #FFF;
	color: #999;
	width: 150px;
	height: 16px;
	border-radius: 2px 0 0 2px;
	-moz-border-radius: 2px 0 0 2px;
	-webkit-border-radius: 2px 0 0 2px;
}

#global input#search:focus, #global input:focus, #global input:active {
	background-color: #FFC;
	color: #333;
	/*
	border: 1px solid #4D4D4F;
	*/
}

#global label {
	padding: 2px 8px;
}
#global input#submit-search {
	border-radius: 0 2px 2px 0;
	-moz-border-radius: 0 2px 2px 0;
	-webkit-border-radius: 0 2px 2px 0;
	background: #FFF url(../images/search.png) center no-repeat;	
	text-indent: -999em;
	border: 1px solid #FFF;
	min-width: 20px;
	padding: 1px;
	margin: 0 !important;
	height: 22px;
}
#global fieldset input#submit-search:focus, #global fieldset input#submit-search:hover, #global fieldset input#submit-search:active {
	background: #FFF url(../images/search_active.png) center no-repeat;
	cursor: pointer;	
}
#global fieldset.active input {
	/*
	box-shadow: 0 0 3px #4D4D4F;
	-webkit-box-shadow: 0 0 3px #4D4D4F;
	-moz-box-shadow: 0 0 3px #4D4D4F;
	*/
}
/*
*/
#main-content {
	min-height: 300px;
}


/* 3.0 Header styles */

#header {
	background: rgb(225,225,225) url(../assets/graphics/banners/new_home_banner.jpg) left no-repeat;  
	min-height: 180px;
	padding: 0 10px;
	margin: 0;
	position: relative;
}
#header h1 a {
	margin: 20px 0;
	display: block;
	height: 110px;
	background: url(../images/logo_white.png) 10px no-repeat;
	text-indent: -999em;
	border: none;
}
#spirit_link {
	text-indent: -999em;
	display: block;
	width: 600px;
	height: 180px;
	position: absolute;
	top: 0;
	left: 360px;
	background: transparent;
}
#the-gardens #header { background-image: url(../assets/graphics/banners/new_gardens_banner.jpg); }
.benmore #header { background-image: url(../assets/graphics/banners/new_benmore_banner.jpg) !important; }
.edinburgh #header { background-image: url(../assets/graphics/banners/new_edinburgh_banner.jpg) !important; }
.dawyck #header { background-image: url(../assets/graphics/banners/new_dawyck_banner.jpg) !important; }
.logan #header { background-image: url(../assets/graphics/banners/new_logan_banner.jpg) !important; }
.inverleith #header { background-image: url(../assets/graphics/banners/new_inverleith_banner.jpg) !important; }
#whats-on #header { background-image: url(../assets/graphics/banners/new_whatson_banner.jpg); }
#about-us #header { background-image: url(../assets/graphics/banners/new_about_banner.jpg); }
#support-us #header { background-image: url(../assets/graphics/banners/new_support_banner.jpg); }
#education #header { background-image: url(../assets/graphics/banners/new_education_banner.jpg); }
#science #header { background-image: url(../assets/graphics/banners/new_science_banner.jpg); }


/* 4.0 Navigation styles */

#nav {
	background: #EEE url(../images/nav-fade-base.png) right top repeat-x;
	padding: 0 10px;
	margin: 10px 0 0;
	width: 938px;
	border: 1px solid #EEE;
}
#nav ul {
	float: left;
	background: url(../images/nav-fade.png) left top no-repeat;
	width: 940px;
	padding-left: 2px;
}
#nav li {
	float: left;
	background: url(../images/nav-fade.png) right top no-repeat;
	padding-right: 3px;
}
#nav li:last-child {
	/*background: url(../images/nav-fade.png) left top no-repeat;*/
	/*float: right;*/
	border-right: none;
	font-weight: bold;
	padding-left: 2px;
}

/* CSS3 redundency */

#nav li.last {
	/*float: right;*/
	/*background: url(../images/nav-fade.png) left top no-repeat;*/
	border-right: none;
	font-weight: bold;
	padding-left: 2px;
}

#nav li a {
	display: inline-block;
	padding: 6px 24px;
	color: #4F4F4F;
	text-decoration: none;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.125), 1px 1px 0 rgba(255,255,255,0.25);
	border: 1px solid transparent;
}
#nav li a:focus, #nav li a:hover, #nav li a:active {
	background: url(../images/glob-fade-base.png) 0 0 repeat-x;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.125), 1px 1px 0 rgba(255,255,255,0.25);
}
#nav li.active a:link, #nav li.active a:visited {
	color: #FFF;
} 
#the-gardens #nav li#main_nav2 a, #nav li#main_nav2 a:focus, #nav li#main_nav2 a:hover, #nav li#main_nav2 a:active  {
	background-color: #638C19;
	border: 1px solid #638C19;
	color: #FFF !important;
}
#whats-on #nav li#main_nav8 a, #nav li#main_nav8 a:focus, #nav li#main_nav8 a:hover, #nav li#main_nav8 a:active  {
	background-color: #D36805;
	border: 1px solid #D36805;
	color: #FFF !important;	
}
#about-us #nav li.active#main_nav13 a, #nav li#main_nav13 a:focus, #nav li#main_nav13 a:hover, #nav li#main_nav13 a:active  {
	background-color: #476532;
	border: 1px solid #476532;
	color: #FFF !important;	
}
#support-us #nav li#main_nav71 a, #nav li#main_nav71 a:focus, #nav li#main_nav71 a:hover, #nav li#main_nav71 a:active  {
	background-color: #007AB8;
	border: 1px solid #007AB8;
	color: #FFF !important;	
}
#education #nav li#main_nav78 a, #nav li#main_nav78 a:focus, #nav li#main_nav78 a:hover, #nav li#main_nav78 a:active  {
	background-color: #9F48A3;
	border: 1px solid #9F48A3;
	color: #FFF !important;	
}
#science #nav li#main_nav99 a, #nav li#main_nav99 a:focus, #nav li#main_nav99 a:hover, #nav li#main_nav99 a:active  {
	background-color: #BA2727;
	border: 1px solid #BA2727;
	color: #FFF !important;	
}
#shop #nav li#main_nav803 a, #nav li#main_nav803 a:focus, #nav li#main_nav803 a:hover, #nav li#main_nav803 a:active  {
	background-color: #638C19;
	border: 1px solid #638C19;
	color: #FFF !important;	
}

/* 5.0 News styles */

#news {
	padding: 10px 0;
	margin: 10px 10px 0;
	position: relative;
	border-top: 1px dotted #DDD;
	border-bottom: 1px dotted #DDD;
}
#news h3 {
	color: #476532;
	font-weight: bold;
}
#news .sliding {
	z-index: 10;
}
#news .sliding li a {
	border: none;
	padding: 2px 4px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}

#news p.feed {
	position: absolute;
	right: 0;
	top: 10px;	
	z-index: 1000;
}
#news p.feed a:link, #news p.feed a:visited {
	display: block;
	background: url(../images/feed.png) right center no-repeat;
	height: 1.5em;
	line-height: 1.5em;
	width: 20px;
	z-index: 100;
	border: none;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	padding-right: 30px;
	font-weight: bold;
}
#news p.feed a:focus, #news p.feed a:hover, #news p.feed a:active {
	background-color: #63831B;
}

/* 6.0 Upper styles */

#upper {
	margin: 10px 10px 0;
	overflow: hidden;
	border-bottom: 1px dotted #DDD;
	padding: 0 0 10px;
}
#upper ul#slideshow{
	float: left;
	width: 298px;
	min-height: 238px;
	border-right: 1px solid #FFF;
}
#upper ul.sliding {	
	overflow: hidden;
}
#upper ul.sliding {
	height: 284px;	
}

#upper ul#slideshow li {
	position: relative;
	width: 300px;
}
#upper ul#slideshow li.fitted {
	cursor: pointer;
}
#upper ul.sliding li {	
	width: 300px;
	height: 282px !important;	
	overflow: hidden;
	border: 1px solid #CCC;
	width: 296px !important; 
}
#upper ul.noslide li {
	width: 300px;
}
#upper ul.noslide {
	height: 240px;
	overflow: hidden;
}	
#upper ul.sliding li a {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.65);
	color: #FFF;	
}
#upper ul#slideshow a {
	width: 300px;
	text-decoration: none;
}
#upper ul.sliding a:focus, #upper ul.sliding a:hover, #upper ul.sliding a:active {
	/*
	font-style: italic;
	*/
}
#upper h2 {
	padding: 8px;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.25), 1px 1px 0 rgba(255,255,255,0.25);
}
#upper #gardens li {
	padding-left: 18px;
	background: url(../images/bullet_green.png) left no-repeat;	
}


#upper div.alpha {
	background: #EEE;	
	border-radius-topright: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	
}
#upper div.alpha h2 {
	background: #63831B url(../images/glob-fade-base.png) 0 0 repeat-x;	
	color: #FFF;
	padding: 8px 10px;
	left: -10px;
	width: 300px;
	position: relative;
	/*
	border-bottom: 9px solid #FFF;
	*/
	margin-bottom: 9px !important;
	border-radius-topright: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
}
#upper div.alpha div > * {
	margin: 0 0 10px;
}
#upper div.omega {
	position: relative;
}
#upper div.omega p.more {
	position: absolute;
	top: 10px;
	right: 6px;
}

#upper div.omega h2 {
	border-top-right-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	background: #D36805 url(../images/glob-fade-base.png) 0 0 repeat-x;
	color: #FFF;
}

ul#events {
	padding: 0 0 8px;
	margin-top: 8px;
}
ul#events li {
	border-top: 1px solid #FFF;
	border-bottom: 1px dotted #9A9;
	padding: 4px 8px;	
}
ul#events li {
	background: #eee;
	position: relative;
}
#events li.first img {
	margin: -4px -8px -8px; 	
}
#events li.first span {
	position: absolute;
	bottom: 9px;
	left: 8px;
	width: 276px;
	bottom: 0;
	left: 0;
	background: black;
	background: rgba(0,0,0,0.85);
	color: white;
	padding: 8px 12px;
}


ul#events li a {
	border: none;
}
ul#events li:nth-child(odd) {
	background: #cdc;
}
#events a.summary {
	display: block;
}
#events abbr {
	font-size: 0.9em;
}

#upper div {
	min-height: 180px;
}
#upper .more {
	text-align: right;
}	
#upper .more a  {
	padding: 4px 20px 4px 4px;
	background-image: url(../images/bullet_go.png);
	background-position: right;
	background-repeat: no-repeat;	
	border: none;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.25);
}

/* 7.0 Lower styles */

#lower {
	margin: 10px 10px 0;
	border-bottom: 1px dotted #DDD;
	padding: 0 0 10px;
}
#lower div {
	min-height: 220px;
	background: #EEE;
	padding-bottom: 15px;
}
#lower h3 {
	background: #D4EBB3;
	color: #63831B; 
	padding: 4px 8px;
	margin: 0 0 8px;
	border-top: 4px solid #FFF;
}
#lower img {
	border: 1px solid #999;
	width: 218px;
	display: block;
}
#lower p {
	margin: 4px 8px;
}
#lower ul, #lower ol {
	margin: 4px 8px;
}
#lower li {
	line-height: 1.2;
	padding-left: 18px;
	margin: 0 0 4px;
	background: url(../images/bullet_green.png) left no-repeat;	
}

/* 8.0 Footer styles */
#footer {
	background-color: #EEE;
	margin: 10px 10px 0;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
#footer a {
	border: none;
}
#meta {
	float: left;
	padding: 10px;
	width: 920px;
}
#meta li {
	float: left;
}
#meta li a {
	display: block;
	padding: 3px 4px;
	margin: 0 8px 0 0;
}
#meta li.last {
	float: right;
	padding: 3px 4px;
}

#social {
	padding: 0;
	margin: 10px 10px 0;
}
#social li {
	float: right;
	padding-right: 4px;	
	width: 136px;
	margin: 0 5px;
}
#social a {
	display: block;
	background-position: 4px;
	background-repeat: no-repeat;
	padding: 3px 4px 3px 24px;
	border: none;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#social #twitter a {
	background-image: url(../images/twitter-16x16.png);	
}
#social #flickr a {
	background-image: url(../images/flickr-16x16.png);
}
#social #facebook a {
	background-image: url(../images/facebook-16x16.png);
}
#social #youtube a {
	background-image: url(../images/youtube-16x16.png);
}
#social #dopplr a {
	background-image: url(../images/dopplr-16x16.png);
}
#social #linkedin a {
	background-image: url(../images/linkedin-16x16.png);
}
#social #google a {
	background-image: url(../images/google-16x16.png);
}
p#colophon {
	float: left;
	margin: 8px 10px;	
	padding: 2px;
}

/* Site widening: General site layout */

#main {
	margin-top: 10px;
}
p#breadcrumbs {
	text-align: right;
	margin-bottom: 10px;
}
#main-content a:visited {
	color: #666;
	padding: 1px 0;
}
#the-gardens #main-content a:link { color: #638C19; border-bottom-color: #638C19;}
#whats-on #main-content a:link { color: #D36805; border-bottom-color: #D36805;}
#about-us #main-content a:link { color: #476532; border-bottom-color: #476532;}
#support-us #main-content a:link { color: #0071B8; border-bottom-color: #0071B8;}
#education #main-content a:link { color: #9F48A3; border-bottom-color: #9F48A3;}
#science #main-content a:link { color: #BA2727; border-bottom-color: #BA2727;}
#main-content a:focus, #main-content a:hover, #main-content a:active {
	background-color: transparent;
	border-bottom-style: solid;
}


/* add class for gardens 
#the-gardens #main { background: url(../assets/graphics/banners/gardens_bottom.jpg) 45px -1px no-repeat; }
.edinburgh #container #main { background: url(../assets/graphics/banners/edinburgh_bottom.jpg) 45px -1px no-repeat; }
.benmore #container #main { background: url(../assets/graphics/banners/benmore_bottom.jpg) 45px -1px no-repeat; }
.dawyck #container #main { background: url(../assets/graphics/banners/dawyck_bottom.jpg) 45px -1px no-repeat; }
.inverleith #container #main { background: url(../assets/graphics/banners/inverleith_bottom.jpg) 45px -1px no-repeat; }
.logan #container #main { background: url(../assets/graphics/banners/logan_bottom.jpg) 45px -1px no-repeat; }
#whats-on #main { background: url(../assets/graphics/banners/whatson_bottom.jpg) 45px -1px no-repeat; }
#about-us #main { background: url(../assets/graphics/banners/about_bottom.jpg) 45px -1px no-repeat; }
#support-us #main { background: url(../assets/graphics/banners/support_bottom.jpg) 45px -1px no-repeat; }
#education #main { background: url(../assets/graphics/banners/education_bottom.jpg) 45px -1px no-repeat; }
#science #main { background: url(../assets/graphics/banners/science_bottom.jpg) 45px -1px no-repeat; }
*/

/* Site widening: Sub Navigation */

#main #sub-nav ul { 
	padding-bottom: 10px;
	margin-bottom: 0;
	/*
	margin-left: -10px;
	*/
}
#main #sub-nav ul ul { 
	padding-bottom: 0;
	margin-bottom: 0;
}
#main #sub-nav h2 { 
	border-bottom: 1px solid white; 
	padding: 10px 20px;
	margin: 0;
	font-size: 1.2em
}

#sub-nav a:link, #sub-nav a:visited { 
	display: block; 
	padding: 5px 5px 5px 25px; 
	border-bottom: 1px solid white; 
	color: #000;
	text-decoration: none;
}
#sub-nav li li a:link, #sub-nav li li a:visited { 
	padding: 5px 20px 5px 40px; 
}

#the-gardens #sub-nav ul { 
	background: white url(../assets/graphics/cut-outs/gardens_cutout.jpg) bottom no-repeat !important;
	padding-bottom: 255px;
}
#the-gardens #sub-nav ul, #the-gardens #sub-nav .active li a:link, #the-gardens #sub-nav .active li a:visited  { 
	background-color: #D3E084; 
	color: #000;
}
#the-gardens #sub-nav a:link, #the-gardens #sub-nav a:visited {
	background-color: #DCE5AA; 
	color: #000;
}
#the-gardens #sub-nav .active > a:link, #the-gardens #sub-nav .active > a:visited { 
	background-color: #638C19; 
	color: #FFF; 
}
#the-gardens #sub-nav li li a:link, #the-gardens #sub-nav li li a:visited, #the-gardens #sub-nav li.active li a:link, #the-gardens #sub-nav li.active li a:visited { 
	background-color: #EBF0D1; 
	color: #000; 
}
#the-gardens #sub-nav a:focus, #the-gardens #sub-nav a:hover, #the-gardens #sub-nav a:active, 
#the-gardens #sub-nav .active li a:focus, #the-gardens #sub-nav .active li a:hover, #the-gardens #sub-nav .active li a:active { 
	background-color: #638C19 !important; 
	color: #FFF !important; 
}

#whats-on #sub-nav ul { 
	background: white url(../assets/graphics/cut-outs/whatson_cutout.jpg) bottom no-repeat !important;
	padding-bottom: 255px;
}
#whats-on #sub-nav ul, #whats-on #sub-nav .active li a:link, #whats-on #sub-nav .active li a:visited  { 
	background-color: #E6AB73; 
	color: #000;
}
#whats-on #sub-nav a:link, #whats-on #sub-nav a:visited {
	background-color: #E9B788; 
	color: #000;
}
#whats-on #sub-nav .active > a:link, #whats-on #sub-nav .active > a:visited { 
	background-color: #D36805; 
	color: #FFF; 
}
#whats-on #sub-nav li li a:link, #whats-on #sub-nav li li a:visited, #whats-on #sub-nav li.active li a:link, #whats-on #sub-nav li.active li a:visited { 
	background-color: #EED5BD; 
	color: #000; 
}
#whats-on #sub-nav a:focus, #whats-on #sub-nav a:hover, #whats-on #sub-nav a:active, 
#whats-on #sub-nav .active li a:focus, #whats-on #sub-nav .active li a:hover, #whats-on #sub-nav .active li a:active { 
	background-color: #D36805 !important; 
	color: #FFF !important; 
}

#about-us #sub-nav ul { 
	background: white url(../assets/graphics/cut-outs/about_cutout.jpg) bottom no-repeat !important;
	padding-bottom: 255px;
}
#about-us #sub-nav ul, #about-us #sub-nav .active li a:link, #about-us #sub-nav .active li a:visited  { 
	background-color: #B0CE9A; 
	color: #000;
}
#about-us #sub-nav a:link, #about-us #sub-nav a:visited {
	background-color: #C7DABA; 
	color: #000;
}
#about-us #sub-nav .active > a:link, #about-us #sub-nav .active > a:visited { 
	background-color: #476532; 
	color: #FFF; 
}
#about-us #sub-nav li li a:link, #about-us #sub-nav li li a:visited, #about-us #sub-nav li.active li a:link, #about-us #sub-nav li.active li a:visited { 
	background-color: #E6EDE1; 
	color: #000; 
}
#about-us #sub-nav a:focus, #about-us #sub-nav a:hover, #about-us #sub-nav a:active, 
#about-us #sub-nav .active li a:focus, #about-us #sub-nav .active li a:hover, #about-us #sub-nav .active li a:active { 
	background-color: #476532 !important; 
	color: #FFF !important; 
}

#support-us #sub-nav ul { 
	background: white url(../assets/graphics/cut-outs/support_cutout.jpg) bottom no-repeat !important;
	padding-bottom: 255px;
}
#support-us #sub-nav ul, #support-us #sub-nav .active li a:link, #support-us #sub-nav .active li a:visited  { 
	background-color: #B1DAF6; 
	color: #000;
}
#support-us #sub-nav a:link, #support-us #sub-nav a:visited {
	background-color: #C3E0F2; 
	color: #000;
}
#support-us #sub-nav .active > a:link, #support-us #sub-nav .active > a:visited { 
	background-color: #0071B8; 
	color: #FFF; 
}
#support-us #sub-nav li li a:link, #support-us #sub-nav li li a:visited, #support-us #sub-nav li.active li a:link, #support-us #sub-nav li.active li a:visited { 
	background-color: #DDEFFA; 
	color: #000; 
}
#support-us #sub-nav a:focus, #support-us #sub-nav a:hover, #support-us #sub-nav a:active, 
#support-us #sub-nav .active li a:focus, #support-us #sub-nav .active li a:hover, #support-us #sub-nav .active li a:active { 
	background-color: #0071B8 !important; 
	color: #FFF !important; 
}

#education #sub-nav ul { 
	background: white url(../assets/graphics/cut-outs/education_cutout.jpg) bottom no-repeat !important;
	padding-bottom: 255px;
}
#education #sub-nav ul, #education #sub-nav .active li a:link, #education #sub-nav .active li a:visited  { 
	background-color: #E6BAEF; 
	color: #000;
}
#education #sub-nav a:link, #education #sub-nav a:visited {
	background-color: #F1DBF4; 
	color: #000;
}
#education #sub-nav .active > a:link, #education #sub-nav .active > a:visited { 
	background-color: #9F48A3; 
	color: #FFF; 
}
#education #sub-nav li li a:link, #education #sub-nav li li a:visited, #education #sub-nav li.active li a:link, #education #sub-nav li.active li a:visited { 
	background-color: #F5EDF6; 
	color: #000; 
}
#education #sub-nav a:focus, #education #sub-nav a:hover, #education #sub-nav a:active, 
#education #sub-nav .active li a:focus, #education #sub-nav .active li a:hover, #education #sub-nav .active li a:active { 
	background-color: #9F48A3 !important; 
	color: #FFF !important; 
}

#science #sub-nav ul { 
	background: white url(../assets/graphics/cut-outs/science_cutout.jpg) bottom no-repeat !important;
	padding-bottom: 255px;
}
#science #sub-nav ul, #science #sub-nav .active li a:link, #science #sub-nav .active li a:visited  { 
	background-color: #EBC2BE; 
	color: #000;
}
#science #sub-nav a:link, #science #sub-nav a:visited {
	background-color: #EED6D6; 
	color: #000;
}
#science #sub-nav .active > a:link, #science #sub-nav .active > a:visited { 
	background-color: #BA2727; 
	color: #FFF; 
}
#science #sub-nav li li a:link, #science #sub-nav li li a:visited, #science #sub-nav li.active li a:link, #science #sub-nav li.active li a:visited { 
	background-color: #F9EFEF; 
	color: #000; 
}
#science #sub-nav a:focus, #science #sub-nav a:hover, #science #sub-nav a:active, 
#science #sub-nav .active li a:focus, #science #sub-nav .active li a:hover, #science #sub-nav .active li a:active { 
	background-color: #BA2727 !important; 
	color: #FFF !important; 
}

#main #sub-nav a:link, #main #sub-nav a:visited, #main #sub-nav .active li a {
	color: #000 !important;
}
#main #sub-nav a:focus, #main #sub-nav a:hover, #main #sub-nav a:active, #main #sub-nav .active a {
	color: #fff !important;
}

#main #sub-nav .backlink1 a, #main #sub-nav .backlink2 a, #main #sub-nav .backlink3 a {
	background-color: #666 !important;  
	color: #FFF !important;
}
.backlink1 a { background: url(../images/back.gif) 5px center no-repeat; }
.backlink2 a { background: url(../images/back2.gif) 5px center no-repeat; }
.backlink3 a { background: url(../images/back3.gif) 5px center no-repeat; }



/* Site widening: Section landing page */

#intropanel {
	border-top-left-radius: 20px;
	-o-border-top-left-radius: 20px;
	-webkit-border-top-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	color: #FFF;
}
#main-content #intropanel h1 {
	margin: 20px 20px 10px;
}
#intropanel p, #intropanel ul, #intropanel ol {
	margin: 0 20px 10px;
}
#main #main-content ul{
	margin: 10px 0 10px 33px;
}
#main #main-content ol {
	margin: 10px 0 10px 18px;
}
#main #sub-content ul {
	margin: 10px 0 10px 13px;	
}
#main #main-content ul li, #main #sub-content ul li {
	list-style: square outside none;
}
#main #main-content ol, #main #sub-content ol{
	list-style:inside;
}
#main #main-content ol li, #main #sub-content ol li {
	list-style-type:decimal;
}
#sectionpanel {
	margin: 0 0 10px;
	color: #000;
}
#sectionpanel h1, #sectionpanel h2, #sectionpanel h3, #sectionpanel p, #sectionpanel ol, #sectionpanel ul {
	margin: 10px 20px;
}

#whats-on #sectionpanel div {
	margin: 0;
	padding: 0;
	border-top: 1px solid white;
	min-height: 10px;
	background: #E9B788;
}
#whats-on #sectionpanel .alpha {
	width: 419px;
	border-right: 1px solid white;
}
#whats-on #sectionpanel table {
	width: 419px;
	text-align: center;
	border: 1px solid #A2ADBC;
}
#whats-on #sectionpanel thead th {
	background-color: #A2ADBC;
	color: white;
	border: 1px solid #A2ADBC;
}
#whats-on #sectionpanel thead a:link, #whats-on #sectionpanel thead a:visited {
	border: none;
	color: #FFF;
	text-decoration: none;
	display: inline-block;
	padding: 8px 4px;
}
#whats-on #sectionpanel tbody th {
	background-color: #D9E2E1;
	color: #616B76;
	border: 1px solid #A2ADBC;
	padding: 4px 2px;
}
#whats-on #sectionpanel tbody td {
	background-color: #EEE;
	color: #608194;
	border: 1px solid #A2ADBC;
	font-weight: bold;
}
#whats-on #sectionpanel tbody a:link, #whats-on #sectionpanel tbody a:visited {
	display: block;
	border: none;
	color: #608194;
	text-decoration: none;
	padding: 4px 2px;
}
#whats-on #sectionpanel tbody a:focus, #whats-on #sectionpanel tbody a:hover, #whats-on #sectionpanel tbody a:active {
	background-color: #FFF;
	-moz-box-shadow: 0 0 10px rgb(162, 173, 188);
}
#whats-on #sectionpanel .omega {
	width: 280px;
}
#whats-on #sectionpanel select {
	width: 240px;
}
#whats-on #sectionpanel h3 {
	margin: 0;
	padding: 10px 20px;
	background-color: #F5C394;
	border-bottom: 1px solid white;
}


#sectionpanel div {
	margin-top: 10px;
	margin-bottom: 10px;
}
#sectionpanel #sub-panel {
	background: url(../images/panel-border.png) 0 0 repeat-y;	
}
#intropanel img {
	float: right;
	border-left: 1px solid white;
	margin-left: 10px;
}
.cont-box {
	border-top-left-radius: 10px;
	-o-border-top-left-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	border-bottom-right-radius: 10px;
	-o-border-bottom-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	margin-bottom: 20px;
	padding: 10px;
}

/* .cont-box option 1 */
.cont-box img {
	width: 220px;
	height: auto;
	margin-top: -10px;
	margin-left: -10px;
	margin-bottom: 5px;
}

#main #main-content #intropanel h1 {
	color: white;
}

#the-gardens #intropanel {
	background-color: #638C19;	
}
#the-gardens #sectionpanel {
	background-color: #D3E084;
}
#the-gardens #main h1, #the-gardens #main-content h2, #the-gardens #main h2, #the-gardens #main-content h3, #the-gardens .cont-box h3 {
	color: #557815;
}
#the-gardens .cont-box { background-color: #DCE5AA; }

#whats-on #intropanel {
	background-color: #D36805;	
}
#whats-on #sectionpanel {
	background-color: #E9B788;
}
#whats-on #main h1, #whats-on #main-content h2, #whats-on #main h2, #whats-on #main-content h3, #whats-on .cont-box h3 {
	color: #D36805;
}
#whats-on .cont-box { background-color: #E9B788; }
#whats-on #main a:link { color: #D36805; }

#about-us #intropanel {
	background-color: #476532;	
}
#about-us #sectionpanel {
	background-color: #B0CE9A;
}
#about-us #main h1, #about-us #main-content h2, #about-us #main h2, #about-us #main-content h3, #about-us .cont-box h3 {
	color: #476532;
}
#about-us .cont-box { background-color: #D4E2CA; }
#about-us #main a:link { color: #476532; }

#support-us #intropanel {
	background-color: #0071B8;	
}
#support-us #sectionpanel {
	background-color: #B1DAF6;
}
#support-us #main h1, #support-us #main-content h2, #support-us #main h2, #support-us #main-content h3, #support-us .cont-box h3 {
	color: #0071B8;
}
#support-us .cont-box { background-color: #B1DAF6; }
#support-us #main a:link { color: #0071B8; }

#education #intropanel {
	background-color: #9F48A3;	
}
#education #sectionpanel {
	background-color: #E7BBEE;
}
#education #main h1, #education #main-content h2, #education #main h2, #education #main-content h3, #education .cont-box h3 {
	color: #9F48A3;
}
#education .cont-box { background-color: #E7BBEE; }
#education #main a:link { color: #9F48A3; }

#science #intropanel {
	background-color: #BA2727;	
}
#science #sectionpanel {
	background-color: #EBC2BE;
}
#science #main h1, #science #main-content h2, #science #main h2, #science #main-content h3, #science .cont-box h3 {
	color: #BA2727;
}
#science .cont-box { background-color: #EBC2BE; }
#science #main a:link { color: #BA2727; }


.bottompanel {
	min-height: 120px;
	/* 	imitating new home panels 
	background-color: #EEEEEE; */
}

.bottompanel img {
	display: block;
	margin: 10px auto;
	width: 218px;
	height: auto;
	height: 152px;
	border: 1px solid #CCCCCC;
}

/* Site widening: Content Pages */

p#b-top {
	text-align: right;
}

#main-content .highlight {
	border-top-left-radius: 10px;
	-o-border-top-left-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	padding: 10px; 
	font-style: italic; 
}
#the-gardens #main-content .highlight {
	background-color: #DCE5AA;
	color: #557815;
}
#whats-on #main-content .highlight {
	background-color: #E9B788 ;
	color: #D36805;
}
#about-us #main-content .highlight {
	background-color: #D4E2CA;
	color: #476532;
}
#support-us #main-content .highlight {
	background-color: #B1DAF6;
	color: #005991;
}
#education #main-content .highlight {
	background-color: #E7BBEE;
	color: #9F48A3;
}
#science #main-content .highlight {
	background-color: #DCE5AA;
	color: #557815;
}

#the-gardens a.external { background: url("../images/external_g.gif") right no-repeat; }
#whats-on a.external { background: url("../images/external_o.gif") right no-repeat; }
#about-us a.external { background: url("../images/external_g2.gif") right no-repeat; }
#support-us a.external { background: url("../images/external_b.gif") right no-repeat; }
#education a.external { background: url("../images/external_p.gif") right no-repeat; }
#science a.external { background: url("../images/external.gif") right no-repeat; }

#main #main-content div.thumbscontainer ul.thumbs {
	margin: 0;
	color: #666666;
}
#main #main-content div.thumbscontainer ul.thumbs li {
	overflow: hidden;
	margin: 0;
	width: 180px;
	padding: 0;	
	font-size: 0.9em;
	text-align: center;
	margin: 0 0 10px;
}
#main #main-content div.thumbscontainer ul.thumbs li img {
	border: 1px solid #CCCCCC;
}
#main #main-content div.thumbscontainer ul.thumbs li p {
	width: 180px !important;
	margin: 5px 0 10px;
}

/* Site widening: event styles */

#main #event-filter p  {
	background-color: #E4E4E4;
	padding: 10px 8px;
	margin: 0 0 20px;
}
#event-filter p select  {
	width: 140px;
	margin: 0 4px;
}

.post-info {
	font-size: 0.916em;	
	font-style: italic;
	color: #666666;
	margin-top: -5px;
}

.post-footer {
	background: #E4E4E4;
	font-size: 0.833em;
	padding: 10px 8px;
	margin-bottom: 20px;
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	position: relative;
}
.post-footer .read-more {
	float: right;
	margin: 0 0 20px 10px;
	/*
	*/
}
.paginator {
	font-size: 0.833em;
}
.event-date {
	color: #222;
	text-transform: uppercase;
	font-weight: bold;
	border-top: 1px solid #222;
	border-bottom: 1px solid #222;
	padding: 4px 0;
	width: 360px;
	overflow: hidden;
}
#event-details {
	float: left;
	border-bottom: 1px solid #222;
	padding-bottom: 10px;
	margin-bottom: 10px;
	width: 360px;
}
#event-details dt {
	float: left;
	clear: left;
	background: url("../images/bullet_black.png") transparent no-repeat;
	font-weight: bold;
	padding-left: 24px;
	width: 80px;
	margin-top: 4px;
}
#event-details dd {
	float: left;
	width: 250px;
	padding-left: 6px;
	margin-top: 4px;
}

/* Site widening: Form styles */

#main fieldset {
	border-top-left-radius: 10px;
	border-top-left-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	background-color: #D4E2CA;
	padding: 20px;
}
#main #cont-signup {
	border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	/*background-color: #D4E2CA;*/
    background-color:#959d7e;
	float: right;
	width: 182px;
	margin: 10px 0 0 10px;
}
#main #cont-signup p {
	font-size: 0.916em;	
	padding: 8px 8px 0;
}
#main fieldset strong.req {
	color: red;
	padding: 0 2px;
}
#main fieldset p {
	margin: 0 0 10px;
}
#main fieldset p.submit{
	padding-left: 120px;
	font-size: 0.833em;
}
#main fieldset p.formhelp{
	padding-left: 120px;
	font-size: 0.833em;
	margin-top:-10px;
}
#main fieldset input, #main fieldset select, #main fieldset textarea {
	max-width: 240px;
}
#main fieldset label {
	width: 120px;
	display: block;
	float: left;
}	
#main fieldset label.checkbox {
	float: right;
	margin-left: 5px;
}
#WebLoginLayer0 .displayed, #WebLoginLayer2 .displayed{display:block}
#WebLoginLayer0.not_displayed,#WebLoginLayer2.not_displayed{display:none}
#WebLoginLayer0 .message,#WebLoginLayer2 .message{margin: 10px 10px 0 10px;color:#dd0000;}
p#forgot_password, p#backtologin{float:right;}

/* Data Tables*/
table.data-table{width:100%; border:1px solid #ccc; border-bottom:0}
table.data-table tr.header-row th{background:#333; color:#fff}
table.data-table td, table.data-table th{border-bottom:1px solid #ccc; padding:3px;font-size:0.9em;}
table.data-table tr.odd td, table.data-table tr.odd th{background:#eee}

/* Form */
#errors{
       border-top-left-radius: 10px;
       -o-border-top-left-radius: 10px;
       -webkit-border-top-left-radius: 10px;
       -moz-border-radius-topleft: 10px;
       background-color: #FFD8D8;
       border: 1px solid #FFBBBB;
       padding: 20px;
       margin:20px 0 10px 0;
}
#success{
       border-top-left-radius: 10px;
       -o-border-top-left-radius: 10px;
       -webkit-border-top-left-radius: 10px;
       -moz-border-radius-topleft: 10px;
       background-color: #D8FFD8;
       border: 1px solid #BBFFBB;
       padding: 20px;
       margin:20px 0 10px 0;
}

