/*
Title:       	Master Styles (Main style sheet)
Author:      	Ben Usher Smith, ben@heehaw.co.uk
Updated:      	Tuesday February 5th 2008
Notes:       	Hand-crafted by Heehaw Multimedia in Edinburgh, Scotland
Known issues:	None
*/

body,
body#home {
	margin:0;
	padding:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:small;
	text-align:center;
	color:#383d44;
	border-top:.63em solid #8cc63f;
	background:#f3f4f4}

/* Links */
a:link,
a:visited {
	padding-bottom:1px;
	color:#69c;
	text-decoration:none;
	border-bottom:1px solid #69c}

a:hover,
a:focus {
	color:#69c;
	padding-bottom:0;
	border-bottom:2px solid #69c}

a:focus {
	background:#ffc}

a.skip_focus:focus {
	background:none}
h3 { color: #fe349e; font-size: 1.35em; font-weight: bold; margin-bottom: 15px }
#sidebar a:link,
#sidebar a:visited,
#sidebar a:hover,
#sidebar a:focus {
	padding:0;
	border:none}
	
/* Page Structure */
#header {
	padding:0;
	margin:0;
	display:block;
	border-bottom:.31em #a7a9ac solid;
	font-size:95%;
	background-color:#fff}
	
#main_body {
	background-color:#fff}

#main_body_inner {
	width:64em;
	margin:0 auto;
	padding:0;
	font-size:95%;
	line-height:1.6em;
	text-align:left}

body#home #content {
	padding:2em .85em 0 0;
	width:54em;
	float:left;
	border:none}

body#home #sidebar {
	width:8em;
	float:right;
	border:none}
	
#content {
	border-left:2px #ccc solid;
	padding-left:.85em;
	width:50.15em;
	float:right}
	
#sidebar {
	padding-top:2.1em;
	margin-bottom:1em;
	width:12.5em;
	float:left}

#wrap {
	padding-bottom:1em;
	background:#fff}

/* Primary Navigation Wrapper */
#nav_wrap {
	padding:0;
	margin:0;
	line-height:1.4em;
	font-size:95%;
	background:#fff}

/* Primary Navigation */
#pri_nav {
	width:64em;
	margin:0 auto;
	padding:0}

#pri-nav ul {
	margin:0;
	padding:0;
	list-style:none}

#pri_nav li {
	font-weight:800;
	float:left;
	color:#666667;
	margin:0;
	padding:0 .13em 0 0;
	font-family:Helvetica, Arial, sans-serif;
	font-size:110%;
	text-transform:capitalize}

#pri_nav li.last_nav_item {
	background-image:none}

#pri_nav li a {
	float:left;
	margin:0 1.1em 0 0;
	padding:.31em 0 .63em 0;
	text-decoration:none;
	border-top:.31em solid #fff;
	border-bottom:none;
	color:#666}

#pri_nav li a:hover,
#pri_nav li a:focus,
#pri_nav li a.active_nav_item {
	color:#00aeef;
	padding:.31em 0 .63em 0;
	border-top:.31em solid #a7a9ac}

#pri_nav li a.active-nav-item {
	color:#ed1d8f}
	
#pri_nav li a:focus {
	background-color:#fff}

/* Header */
h1 {
	height:142px;
	width:182px}

#header_inner {
	background:#fff url(/images/global/photo.jpg) right bottom no-repeat;
	width:64em;
	height:142px;
	margin:0 auto;
	padding:0}
	
#header h2 {
	margin:0;
	padding:0 0 .5em 0;
	font:160% normal Helvetica, Arial, sans-serif;
	line-height:1.5em;
	text-align:left;
	color:#666}
	
h2 {
	padding:1.31em;
	margin-bottom:.5em;
	font:150% bold Helvetica, Arial, sans-serif;
	background-color:#eff0f0;
	background-position:1.31em 50%;
	background-repeat:no-repeat;
	background-image:none;
	color:#179fda}
	
body#what_we_do h2.h2icon {
	padding-left:4.5em;
	background-image:url(/images/global/what_we_do_h2.gif)}

body#community_grants h2.h2icon {
	padding-left:6.5em;
	background-image:url(/images/global/community_grants_h2.gif)}

body#research h2.h2icon {
	padding-left:5.5em;
	background-image:url(/images/global/research_h2.gif)}

body#downloads h2.h2icon {
	padding-left:5.125em;
	background-image:url(/images/global/downloads_h2.gif)}
	
h2 strong {
	color:#069}

#title_txt {
	float:left}

/* Content */
abbr,
acronym {
	font-size:90%;
	letter-spacing:.06em;
	font-style:normal;
	border-bottom:.06em dotted #dbd5c5;
	cursor:help}

a abbr {
	border:none}

em {
	font-style:italic}

strong {
	font-weight:800}

address {
	margin:0;
	padding:0;
	font-style:normal}
	
body#home h3 {
	font:normal 130%  Helvetica, Arial, sans-serif;
	text-align:left;
	clear:both;
	line-height:1.4em;
	color:#179fda;
	border-bottom:solid 2px #e6e7e8;
	font-weight:800;
	padding:.25em 0 .75em 0;
	margin:0 0 .25em 0}

body#home h3 strong {
	font-weight:800;
	color:#069}
	
/* Content styles */
#content h4 {
	font-weight:800;
	display:inline;
	margin:.94em 0 .63em 0;
	padding:0;
	color:#666}

#content p {
	margin:0 0 1.25em 0}

#content img.left_image {	
	float:left;
	margin:5px 12px 4px 0;
	padding:0}
	
#content ul {
	margin:1.25em;
	padding:.3em;
	color:#666;
	list-style:square;
	font-family:Helvetica, Arial, sans-serif;
	font-size:110%}
	
#content ul li {
	padding:0 0 .3em 0}

/* Logo */
#header h1 a {
	background:url(/images/global/logo.gif) no-repeat 0 0;
	/*margin:1.13em 0;*/
	text-indent:-99999px;
    height:142px;
	width:280px;
	border:none;
	display:block}

/* Secondary & Tertiary Navigation */
.active {
	color:#ed3a95}
		
#sec_hi,
#sec_nav {
	margin:0;
	padding:0;
	list-style:none}

#sec_lo {
	margin:4em 0 0 0}
	
#sec_hi li,
#sec_nav li {
	display:block;
	line-height:1em;
	padding:0;
	margin:0 .25em .8em 0;
	font:bold 120% Helvetica, Arial, sans-serif}

#sec_hi li span {
	color:#ed3a95;
	line-height:1em;
	padding:0;
	margin:0 0 .8em 0}

#sec_nav li.last_nav_item { clear: both; }

#sec_nav ul li { /*float: left;*/ }
*:first-child+html #sec_nav ul li { margin-bottom: 10px; }
* html #sec_nav ul li { margin-bottom: 10px; }
#sec_nav ul li a { /*float: left;*/ }

#sec_hi li,
#sec_nav li {
	display:block;
	line-height:1em;
	padding:0;
	margin:0 .25em .8em 0;
	font:bold 120% Helvetica, Arial, sans-serif}

#sec_hi li span em {
	font-style:normal;
	color:#179fda}

#sec_nav li ul {
	margin:1em .25em .8em 0}
	
#sec_nav li li {
	padding:0 0 0 1.88em;
	margin:0 0 .19em .19em;
	font-size:85%;
	margin-bottom: 8px;
}

#sec_nav li a,
#sec_nav li a:link,
#sec_nav li a:visited {
	color:#666}

#sec_nav li li a,
#sec_nav li li a:link,
#sec_nav li li a:visited {
	color:#888}

#sec_nav li a:hover,
#sec_nav li a:focus,
#sec_nav li a.active_nav_item,
#sec_nav li li a:hover,
#sec_nav li li a:focus,
#sec_nav li li a.active_nav_item {
	color:#ed3a95}

#sec_nav a span.nav_num { float: left; width: 1.5em; }
#sec_nav a span.nav_text { float: left; width: 7.5em; margin-bottom: 10px; }

/* Fat header */
#fat_header {
	padding:0;
	margin:0;
	background:#fff;
	font-size:95%}

#fat_header_inner {
	width:64em;
	margin:.2em auto;
	padding:0;
	text-align:left}

#fat_header h2 {
	font-size:1em;
	margin:0;
	padding:0}
	
#fat_header h2 a {
	display:block;
	text-align:center;
	line-height:6.6em;
	padding:0;
	margin:0;
	text-transform:uppercase;
	border-width:0.19em;
	border-style:solid;
	border-color:#777;
	color:#fff;
	height:6.6em;
	background-image:none;
	background-color:#999;
	background-position:50% 50%;
	background-repeat:no-repeat}
		
#fat_header h2 a.what_we_do,
#fat_header h2 a.community_grants,
#fat_header h2 a.research,
#fat_header h2 a.downloads,
#fat_header h2 a.funding,
#fat_header h2 a.news_events,
#fat_header h2 a.local_network,
#fat_header h2 a.resources {
	text-indent:-9999px}
	
#fat_header h2 a.what_we_do {
	border-color:#f8c2da;
	background-color:#ed1d8f;
	background-image:url(/images/global/what_we_do_sml.gif)}
	
#fat_header h2 a.what_we_do:hover {
	border-color:#ed1d8f}
	
#fat_header h2 a.what_we_do:focus {
	border-color:#906}

#fat_header h2 a.news_events {
	border-color:#eee;
	background-color:#a7a9ac;
	background-image:url(/images/global/news_events_sml.gif)}

#fat_header h2 a.news_events:hover {
	border-color:#a7a9ac}

#fat_header h2 a.news_events:focus {
	border-color:#666}

/*	
#fat_header h2 a.community_grants {
	border-color:#d9eac1;
	background-color:#8cc63f;
	background-image:url(/images/global/community_grants.gif)}

#fat_header h2 a.community_grants:hover {
	border-color:#8cc63f}

#fat_header h2 a.community_grants:focus {
	border-color:#063}
*/
	
#fat_header h2 a.local_network {
	border-color:#ade1fa;
	background-color:#00aeef;
	background-image:url(/images/global/local_network_sml.gif)}
	
#fat_header h2 a.local_network:hover {
	border-color:#00aeef}

#fat_header h2 a.local_network:focus {
	border-color:#339}
	
/*	
#fat_header h2 a.research {
	border-color:#fed9b3;
	background-color:#f7901e;
	background-image:url(/images/global/research.gif)}
	
#fat_header h2 a.research:hover {
	border-color:#f7901e}

#fat_header h2 a.research:focus {
	border-color:#c30}
*/

#fat_header h2 a.resources {
	border-color:#fed9b3;
	background-color:#f7901e;
	background-image:url(/images/global/resources_sml.gif)}
	
#fat_header h2 a.resources:hover {
	border-color:#f7901e}

#fat_header h2 a.resources:focus {
	border-color:#c30}

/*	
#fat_header h2 a.downloads {
	border-color:#ade1fa;
	background-color:#00aeef;
	background-image:url(/images/global/downloads.gif)}
	
#fat_header h2 a.downloads:hover {
	border-color:#00aeef}

#fat_header h2 a.downloads:focus {
	border-color:#339}
*/

#fat_header h2 a.funding {
	border-color:#d9eac1;
	background-color:#8cc63f;
	background-image:url(/images/global/funding_sml.gif)}

#fat_header h2 a.funding:hover {
	border-color:#8cc63f}

#fat_header h2 a.funding:focus {
	border-color:#063}
	
#fat_header div.fat_header {
	float:left;
	padding:.25em .885em .25em 0;
	margin:0;
	/* width:23.709%; */
	width:18.809%}
	
#fat_header #fat_head_end {
	float:left;
	padding:.25em 0;
	margin:0;
	/* width:24.709%; */
	width:18.809%;}	

/* Footer */
#footer {
	background:#f3f4f4;
	border-top:.13em solid #a7a9ac;}

#footer_inner {
	width:64em;
	margin:0 auto;
	padding:.94em 0 1.25em 39px;
	line-height:1.5em;
	text-align:left}

#footer p {
	color:#adadac;
	font:12px solid Helvetica, Verdana, Arial, sans-serif;
	margin:0;
	padding:0;
	line-height:1.5em}

#footer p small {
	font-size:90%}
	
#footer p strong{
	font-weight:normal;
	color:#666}

/* MISC. */
hr,
.hide {
	display:none}
	
.mandatory {
	color:#ed3a95}
	
img {
	background:#f6f6f6 url(/images/global/loader.gif) no-repeat 50% 50%}

a img {
	border:none}

body#home img.pic {
	float:right;
	margin-bottom:1em}
	
#skip a {
	color:#fff;
	display:block;
	border:none;
	text-indent:-9999px;
	height:1px;
	width:1px;
	background-color:#fff;}

/* self-clearing floats */
#pri_nav:after,
#pri_nav ul:after,
#header:after,
#header_inner:after, 
#main_body:after,
#fat_header:after,
#fat_footer:after,
#footer:after {
	content:"."; 
    display:block; 
    height:0; 
    clear:both; 
    visibility:hidden}
    
/* Organisation Section */

#organisation_address { float: left; width: 280px; }
#organisation_contact { float: left; width: 320px; }

#organisation_contact p { margin-bottom: 0px; }

/* Search Section */

#categories_left { float: left; width: 280px; margin-top: 15px; }
#categories_right { float: left; width: 320px; margin-top: 15px; }
dl.search-result dd { margin-bottom: 10px; }