/* -------------------------------------------------------------- 
  
   CSS Framework
   Web Design & Development by Studio 24 Ltd
   www.studio24.net - (0870) 241 6159
     
-------------------------------------------------------------- */


@import "reset.css";



/* =CONTAINERS
-------------------------------------------------------------- */

body {
	background: url(../img/bg-page.gif);
}

div#container {
	background-color: #d3ebdd;
	width: 944px;
	margin: 0 auto;
	padding: 0;
	border-left: 10px solid #FFF;
	border-right: 10px solid #FFF;	
	border-bottom: 10px solid #FFF;	
}

div#branding {
    background: url(../img/bg-branding.gif) repeat-x top left;
    padding: 33px 0 0 52px;
}



/* =SITE-TOOLS
-------------------------------------------------------------- */

ul#site-tools {
	list-style-type: none;
} 

div#site-search {
    float: right;
    padding: 5px 15px 0 0;
}

div#site-search input#s {
    background-color: #d3ebdd;
    border: 1px solid #007a6d;
    color: #007a6d;
    font-size: 1.2em;
}

div#site-search input#searchsubmit {
    padding-left: 3px;
    margin-bottom: -5px;
}

/* =NAV-PRIMARY
-------------------------------------------------------------- */

ul#nav-primary {
    clear: right;
    float: right;
    margin: 0;
    padding: 0;
	list-style-type: none;
	font-family: Georgia, Times, serif;
} 

ul#nav-primary li {
    float: left;
    margin: 0;
    padding: 0;
}

ul#nav-primary a {
    margin: 0 0 0 1px;
    padding: 0.4em 0.9em;
    background-color: #007a6d;
    color: #FFF;
    text-decoration: none;
}

ul#nav-primary a:hover {
    background-color: #003333;
}

ul#nav-primary li.current_page_item a {
    background-color: #003333;
}


/* =NAV-SECONDARY
-------------------------------------------------------------- */

div#nav-secondary {
    clear: both;
    float: right;
    width: 190px;
    padding: 14px 0px 0 6px;
    margin: 0 -44px 1em 1em;
    border-top: 3px solid #007a6d;
    border-left: 6px solid #007a6d;
}


/* =BREADCRUMB
-------------------------------------------------------------- */

ul#nav-breadcrumb {
	list-style-type: none;
} 


/* =CONTENT CONTAINERS
-------------------------------------------------------------- */


div#content {
    clear: both;
    margin: 0;
    padding: 48px 44px 0 68px;
}

div#content img {
    padding: 2px;
    border: 2px solid #b2ddc9;
}

div#content img.no-border {
    border: 0;
}

div#content-primary {
    width: 100%;
    margin-bottom: 1em;
}

/* =SITE-INFO
-------------------------------------------------------------- */

ul#site-info {
    clear: both;
    padding: 1em 0 2.5em 0;
    margin: 0 44px 0 53px;
    border-top: 2px solid #b2ddc9;
	list-style-type: none;
} 

ul#site-info li {
    float: left;
    padding: 0 0.4em 0 0.4em;
    border-right: 1px solid #336666;
}

ul#site-info li.no-divider {
    border: 0;
}

ul#site-info li.right {
    float: right;
}


/* =BASIC TYPOGRAPHY
-------------------------------------------------------------- */

body {
    font-family: Arial, Helvetica, sans-serif;
	font-size: 100%; /* Dont resize here, resize text elements below */
	color: #336666;
    line-height: 1.125em;
}

p, ul, ol, dl, table, form {
	font-size: 0.75em; /* 12px - changing this will mean you have to re-calculate all nested font-sizing - just leave it alone! */
}

p {
	margin: 0 0 1em 0;
}

h1, h2, h3, h4, h5, h6 {
	line-height:1.5em;
}

h1 {
    margin-left: -15px;
    font-family: Georgia, Times, serif;
	font-size: 1.4em; 
	font-weight: normal;
}

h2 {
    margin-left: -15px;
    font-family: Georgia, Times, serif;
	font-size: 1.2em; 
	font-weight: normal;
}

h3 {
    font-family: Georgia, Times, serif;
	font-size: 1em;
	font-weight: normal;
}

h4 {
	font-size: 0.9em; 
	font-weight: bold;
}


/* =NESTED HEADINGS */
ul h1, ol h1, table h1 {
	font-size: 2.67em;
}

ul h2, ol h2, table h2 {
	font-size: 2.34em;
}

ul h3, ol h3, table h3 {
	font-size: 2em;
}

ul h4, ol h4, table h4 {
	font-size: 1.67em;
}

ul h5, ol h5, table h5 {
	font-size: 1.33em;
}

ul h6, ol h6, table h6 {
	font-size: 1em;
}

ul#nav-primary {
    font-family: Georgia, Times, serif;
    font-size: 0.9em;
    font-weight: normal;
}


/* =LINKS
-------------------------------------------------------------- */

a:link, a:visited, a:focus, a:active {
	
}

a:hover {

}

#skipLink { 
	position:absolute;
	left:-9000px;
	top:0; 
	z-index:20;
} 

/* icon links */

.pdf, a.pdf, a.pdf:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/pdf.gif) no-repeat 0 0;
}

.word, a.word, a.word:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/word.gif) no-repeat 0 0;
}

.excel, a.excel, a.excel:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/excel.gif) no-repeat 0 0;
}

.txt, a.txt, a.txt:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/txt.gif) no-repeat 0 0;
}

.flash, a.flash, a.flash:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/flash.gif) no-repeat 0 0;
}
.video, a.video, a.video:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/video.gif) no-repeat 0 0;
}

.podcast, a.podcast, a.podcast:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/podcast.gif) no-repeat 0 0;
}

.pub, a.pub, a.pub:hover {
	padding:2px 0 4px 20px;
	background: ur(../img/icons/pub.gif) no-repeat 0 0;
}

.rss, a.rss, a.rss:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/rss-feed.gif) no-repeat 0 0;
}

.print, a.print, a.print:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/print.gif) no-repeat 0 0;
}

.friend, a.friend, a.friend:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/friend.gif) no-repeat 0 0;
}

.help, a.help, a.help:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/help.gif) no-repeat 0 0;
}

.info, a.info, a.info:hover {
	padding:2px 0 4px 20px;
	background: url(../img/icons/info.gif) no-repeat 0 0;
}
	
/* =LISTS
-------------------------------------------------------------- */

ul {
	margin: 0 0 1em 2em; 
}

ol { 
	margin-left: 2.4em; /* larger left margin to line up numeral with bullets on unordered lists */
}

ol.alpha {
	list-style-type: lower-alpha;
}

dl {
	margin: 0 0 1em 2em;
}

dt {
	font-weight: bold;
}

dt, dd {
	margin: 0 0 0.5em 0 ;
}

/* =NESTED ELEMENTS - resetting the font-sizes */
ul ul, ol ol, ul ol, ol ul, dd ul, dd ol,
table ul, table ol, ul table, ol table,
ul p, ol p, dl p, table p, p code, p pre,
form ul, form ol, form dl, form table, form code, form pre, form p
{
	font-size: 100%;
}

ul ul, ol ol, ul ol, ol ul, dd ul, dd ol
{
	margin-bottom: 0;
}

div#content ul {
    margin-left: 1.4em;
}

div#content ul li {
    list-style-type: none;
	background: url(../img/li-arrow.gif) no-repeat center left;
	padding-left: 12px;
}


/* =SECONDARY NAV LISTS / H2 */
div#nav-secondary ul {
    margin-left: 0;
}

div#nav-secondary ul li {
    background: none;
}

div#nav-secondary ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
} 

div#nav-secondary li {
    margin: 0;
    padding: 0;
}

div#nav-secondary h2 {
    padding: 0 0 10px 12px;
    margin: 0;
    font-size: 1em;
}

div#nav-secondary a {
    text-decoration: none;
}

div#nav-secondary a:hover {
    text-decoration: underline;
}

div#nav-secondary li.current_page_item {
    font-weight: bold;
    background: url(../img/li-arrow.gif) no-repeat center left;
}

/* =OTHER TEXT ELEMENTS
-------------------------------------------------------------- */

blockquote { 

}

pre, code {
	font-size: 0.85em;
	margin: 0 0 1em 0;
}


/* =TABLES
-------------------------------------------------------------- */

/* NOTE: tables still need 'cellspacing="0"' in the markup for browser reset consistency */

table {
	width: auto;
	margin: 0 0 1em 0;
	border-top:1px solid #007a6d;
	border-left:1px solid #007a6d;
}

th,td {
	padding: 0.3em 0.4em 0.2em 0.4em;
	border-bottom:1px solid #007a6d;
	border-right:1px solid #007a6d;
}

th {
	font-weight:bold;
}

table .alt { /* use this class on every other <tr> for a zebra effect - change colour as suits */
	background: #edf3fe;
}



/* -------------------------------------------------------------- 
   -------------------------------------------------------------- 
	     				FORMS
   -------------------------------------------------------------- 
   -------------------------------------------------------------- */
   

/* =DEFAULT-FORM-STYLES
----------------------------------------------- */

form.default-form {
}

form.default-form fieldset {	
	margin: 1em 0 0 0;
	padding: 0;
	border: 1px solid #EEE;
}

form.default-form fieldset.actions {
	border: none;
}

form.default-form legend {
	font-weight: bold;
	padding:.5em;
	margin-left:1em;
}

form.default-form p {

}

form.default-form div {
	display: block;
	width: 100%;
	float: left;
	padding: 0.5em 0 0.5em 0;
	border-top: 1px solid #EEE;
}

form.default-form div.alt {
	background: #edf3fe; /* example background colour for optional 'zebra' effect */
}

form.default-form label {
	position: relative;
	top: 0.15em;
	padding: 0 0 0 1em;
	width: 15em; /* change this width according to your site design to line things up */
	float: left;
}

form.default-form label em {
	position: absolute;
	right: 0.5em;
	color: red;
	font-weight: bold;
}

form.default-form .radio, form.default-form .checkbox {
	position: relative;
	top: 0.2em;
	float: left;
	margin: 0 0.5em 0 0.5em;
	width: auto;
}

form.default-form #day, form.default-form #month, form.default-form #year {
	position: relative;
	top: 0;
	width: 4.8em; /* small width set for date selection dropdowns */
}

form.default-form fieldset.actions {
	border: none;
	text-align:right; /* set right or left as suits your design */
}

form.default-form fieldset.actions p {
	display: inline;
}

form.default-form #submit {
	width: auto;
}

form.default-form input, form.default-form textarea, form.default-form select {
	width: 15em;	
}

form.default-form .error { /* example highlighting style for form validation */
	border: 1px solid red;
	background: #FFCCCC;
}



/* =ERROR MESSAGES
----------------------------------------------- */

div#error {
	padding: 18px 0 0 52px;
	margin: 1em 0 1em 0;
	border: 1px solid red;
	background: #FFCCCC url(../img/icons/icon-alert-warning.gif) no-repeat 10px 10px;
}


/* =WP IMAGE ALIGNMENT
----------------------------------------------- */

div#content img.alignright {
    float: right;
    margin: 0 0 10px 10px;
}

div#content img.treatments {
    margin-top: -3em;
}


/* =WP HOMEPAGE LATEST NEWS LIST
----------------------------------------------- */
div#content ul#latest-news {
    margin-left: 0;
}

/* =Extra Text Styles
----------------------------------------------- */
div#content .large {
    font-size: 140%;
}