/**
 * Our City Our Future master stylesheet
 *
 * @author	Matthew Pennell
 * @since	19/02/08
 * @date	21/02/08
 * @version	1.0
 * @media	screen, projection
 */

/* @group RESET BROWSER DEFAULTS */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, 
del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img, fieldset { border: none; }
ul, ol { list-style: none; }

.clear {
	clear: both;
}

/* @end */

/*@group BASIC HTML ELEMENTS */

body {
	background: #fff;
	color: #000;
	font: 11px/127% Verdana, Arial, Helvetica, sans-serif; /* 11px/14px */
	text-align: center; /* for IE5.x */
	margin-bottom: 1em;
	padding-bottom: 1em;
}

a:link, a:visited {
	color: #00aeef;
	text-decoration: underline;
}

a:hover, a:focus {

}

a:active {
	
}

ol, ul {
	margin: 0 0 1.27em 2.54em;
}

ol {
	list-style: decimal;
}

ul {
	list-style: disc;
}

legend {
	display: none;
}

input {
	font-weight: bold;
	color: #666;
	border: 1px solid #b2b2b2;
}

textarea {
	font-weight: bold;
	color: #666;
	border: 1px solid #b2b2b2;
	width: 95%;
	height: 200px;
}

input[type="hidden"],
input[type="image"],
input[type="checkbox"],
input[type="radio"] {
	border: 0;
}

/* @end */

/* @group LAYOUT: PAGE BUILDING BLOCKS */

#wrapper {
	text-align: left; /* for IE5.x */
	width: 95%;
	max-width: 950px;
	margin: 0 auto;
}

#header {
	background: url(../images/header-bg.png) repeat-x 0 100%;
	height: 13.364em;
	position: relative;
}

#header label {
	position: absolute;
	left: -999em;
}
#secondary-nav, #main, #sidebar {
	float: left;
	width: 22%;
	margin-bottom: 4em;
}

#secondary-nav {
	background: #ceefff url(../images/secondary-nav-bg.png) repeat-x 0 0;
	margin-top: 1.27em;
	padding-bottom: 18px;
	position: relative;
}

#main {
	width: 56%;
}

#content {
	margin: 0 19px;
}

#sidebar {
	background: url(../images/sidebar-bg.gif) no-repeat 0 0;
	min-height: 354px;
	margin-top: 1.27em;
	width: 21%;
}

#footer {
	clear: left;
}

/* @end */

/* @group HEADER */

#logo, #flags, #search, #login, #phone, #resize {
	position: absolute;
}

#logo {
	left: 31px;
	top: 32px;
}

#flags {
	right: 0;
	top: 26px;
}

#phone {
	right: 0;
	top: 64px;
}

#resize {
	right: 19px;
	bottom: 14px;
	width: 5em;
	font-weight: bold;
	color: #666;
	white-space: nowrap;
	text-align: left;
	font-size: 1.02em;
}

#dec, #inc {
	width: 17px;
	height: 17px;
	float: right;
	margin-top: 4px;
	text-indent: -999em;
	background: url(../images/resize-bg.gif) no-repeat 0 0;
}

#inc {
	background-position: -24px 0;
	margin-left: 7px;
}

#search {
	right: 174px;
	top: 64px;
	visibility: visible;
}

#search input, #search button {
	border-width: 1px 0 1px 1px;
	width: 126px;
}

#search button {
	border-width: 1px 1px 1px 0;
	background: #00aeef;
	color: #fff;
	width: 18px;
	margin-left: -4px;
}

#login {
	top: 19px;
	right: 191px;
	border-right: 1px solid #50b0d1;
	line-height: 2.636;
	padding-right: 19px;
	font-weight: bold;
	visibility: visible;
}

#login a {
	color: #666;
}

/* @end */

/* @group PRIMARY NAVIGATION */

#primary-nav {
	position: absolute;
	bottom: 9px;
	left: 0;
	font-weight: bold;
	margin: 0;
	margin-right: 10%;
	width: 90%;
	list-style: none;
}

#primary-nav li {
	float: left;
	background: #fff url(../images/primary-nav-li-bg.gif) no-repeat 0 0;
	margin-right: 3px;
}

#primary-nav .on {
	background: #666 url(../images/primary-nav-on-bg.gif) no-repeat 0 0;
}

#primary-nav a {
	color: #666;
	text-decoration: none;
	padding: 4px 8px 3px;
	display: block;
	background: url(../images/primary-nav-a-bg.gif) no-repeat 100% 0;
}

#primary-nav a:hover, #primary-nav a:focus {
	color: #00aeef;
}

#primary-nav .on a {
	color: #fff;
	background: url(../images/primary-nav-on-a-bg.gif) no-repeat 100% 0;
}

/* @end */

/* @group SECONDARY NAVIGATION */

#secondary-nav h2 {
	color: #fff;
	margin: 8px 0 11px;
	padding: 5px 11px;
	font: 1.545em Arial;
	font-weight: bold;
	background: #636163;
}

#secondary-nav ul {
	margin: 0 11px;
	list-style: none;
	font-weight: bold;
}

#secondary-nav ul ul {
	margin: 0;
	list-style: none;
}

#secondary-nav li li {
	background: #acdef2;
	margin-bottom: 1px;
}

#secondary-nav li li.on {
	background: #636163;
}

#secondary-nav a {
	color: #fff;
	text-decoration: none;
	display: block;
}

#secondary-nav a:hover, #secondary-nav a:focus {
	text-decoration: underline;
	background: transparent;
}

#secondary-nav li li a {
	padding: 3px 16px;
	color: #636163;
}

#secondary-nav li li.on a {
	color: #fff;
}

#secondary-nav li li a:focus, #secondary-nav li li a:hover {
	text-decoration: underline;
	background: transparent;
}

#secondary-nav #bl, #secondary-nav #br {
	height: 12px;
	width: 12px;
	background: url(../images/secondary-nav-b-bg.gif) no-repeat 0 0;
	position: absolute;
	bottom: 0;
}

#secondary-nav #bl {
	left: 0;
}

#secondary-nav #br {
	right: 0;
	background-position: -12px 0;
}

.convex {
	background: transparent;
	margin: 2px 0;
	width: 100%;
}
.convex .top, .convex .bottom {
	display: block;
	background: transparent;
	font-size: 1px;
}
.convex .t1, .convex .t2,
.convex .t3, .convex .t4,
.convex .b1, .convex .b2,
.convex .b3, .convex .b4 {
	display: block;
	overflow: hidden;
}
.convex .t1, .convex .t2, .convex .t3,
.convex .b1, .convex .b2, .convex .b3 {
	height: 1px;
}
.convex .t2, .convex .b2 {
	margin: 0 3px;
	border-width: 0 2px;
}
.convex .t3, .convex .b3 {
	margin: 0 2px;
}
.convex .t4, .convex .b4 {
	height: 2px;
	margin: 0 1px;
}
.convex .boxcontent {
	display: block; 
	background: #00aeef;
	border-left: 1px solid #2dc1f6;
	border-right: 1px solid #2dc1f6;
	padding: 0 5px;
}
.convex .t1 { margin: 0 5px; background: #2dc1f6; }
.convex .t2 { background: #00aeef; border-left: 1px solid #00aeef; border-right: 1px solid #2dc1f6; }
.convex .t3 { background: #00aeef; border-left: 1px solid #2dc1f6; border-right: 1px solid #2dc1f6; }
.convex .t4 { background: #00aeef; border-left: 1px solid #42c3f3; border-right: 1px solid #42c3f3; }
.convex .b4 { background: #00aeef; border-left: 1px solid #42c3f3; border-right: 1px solid #42c3f3; }
.convex .b3 { background: #00aeef; border-left: 1px solid #2dc1f6; border-right: 1px solid #2dc1f6; }
.convex .b2 { background: #00aeef; border-left: 1px solid #2dc1f6; border-right: 1px solid #2dc1f6; }
.convex .b1 { margin: 0 5px; background: #2dc1f6; }

/* @end */

/* @group MAIN CONTENT */

h1 {
	color: #00aeef;
	font-weight: bold;
	font-size: 1.818em;
	margin-bottom: 0.7em;
	line-height: 1em;
}

.home h1 {
	margin: 20px 34px;
}

h2 {
	color: #666;
	font-size: 1.273em;
	font-weight: bold;
	margin-bottom: 1em;
}

h3, h4 {
	color: #666;
	font-weight: bold;
	margin-bottom: 1.27em;
}

p {
	margin-bottom: 1.27em;
}

/*
#content table.datatable {
	width: 100%;
	border: 1px solid #999;
	border-collapse: collapse;
}

#content table.datatable th {
	background: #999;
	color: #fff;
}

#content table.datatable tr th,
#content table.datatable tr td {
	border-bottom: 1px solid #999;
	padding: 2px 5px;
}

#content table.datatable tr.alt td {
	background: #f4f4f4;
}
*/

#content img {
	margin-bottom: 1.27em;
}

#breadcrumb {
	margin: 1.27em 19px;
	color: #00aeef;
	font-weight: bold;
}

#breadcrumb a {
	color: #666;
	font-weight: normal;
}

#breadcrumb span.divider {
	color: #666;
	font-weight: normal;
}

/* @end */

/* @group SIDEBAR */

#sidebar input[type="text"] {
	width: 155px;
	display: block;
	margin-bottom: 6px;
}

#sidebar label {
	position: absolute;
	left: -999em;
}

#sidebar .rounded {
	margin: 1.27em 0 1.27em 28px;
	position: relative;
	background: url(../images/rounded-bg.gif) no-repeat 0 100% #E5F6FD;
	overflow: hidden;
}

.rounded form, .rounded ul {
	background: url(../images/rounded-ul-bg.gif) no-repeat 100% 100%;
	margin-bottom: 0;
}

.rounded form {
	border-top: 1px solid #00aeef;
	padding: 0.5em 0.5em 0.6em;
}

#sidebar .rounded h3 {
	margin: 0;
}

#sidebar h3 {
	color: #636163;
	background: #fff;
}

#sidebar h3 span {
	padding: 10px;
	display: block;
}

.rounded ul {
	margin: 0;
	list-style: square;
	list-style-position: inside;
	color: #00aeef;
}

.rounded li {
	border-top: 1px solid #00aeef;
	padding: 0.5em 0.5em 0.6em;
}

.rounded a {
	color: #666 !important;
	/*text-decoration: none !important;*/
}

.rounded a:hover, .rounded a:focus {
	/*text-decoration: underline !important;*/
	text-decoration: none !important;
}

/* @end */

/* @group HOMEPAGE SPECIFIC-STYLES */

#summary {
	background: #cceffc url(../images/summary-bg.gif) no-repeat 100% 100%;
	color: #4d4d4d;
	float: left;
	width: 100%;
	margin-bottom: 10px;
	min-height: 173px;
}

#summary img {
	float: left;
	*margin-bottom: -14px;
}

#summary p {
	padding-right: 20px;
	margin-left: 437px;
}

#summary p.first {
	background: url(../images/summary-tr-bg.gif) no-repeat 100% 0;
	padding-top: 30px;
}

.box {
	background: #cceffc;
	float: left;
	width: 32.5%;
	margin: 0 0.7% 2.54em 0;
	height: 28em;
}

#left {
	background: #cceffc url(../images/left-bg.gif) no-repeat 0 100%;
}

#center {
	width: 33.3%;
}

#right {
	margin-right: 0;
	background: #cceffc url(../images/right-bg.gif) no-repeat 100% 100%;
}

.box h2 {
	background: #00aeef;
	color: #fff;
	padding: 1.27em 22px;
	font-size: 1em;
	margin-bottom: 0;
	height: 1.5em;
	overflow: hidden;
}

.box h2 a:link, .box h2 a:visited {
	color: #fff;
	text-decoration: none;
}

.box h2 a:hover, .box h2 a:active .box h2 a:focus {
	color: #fff;
	text-decoration: underline;
}

#left h2 {
	background: #00aeef url(../images/left-h2-bg.gif) no-repeat 0 0;
}

#right h2 {
	background: #00aeef url(../images/right-h2-bg.gif) no-repeat 100% 0;
}

.box .image-wrapper {
	border: 2px solid #fff;
	border-width: 2px 0;
	width: 100%;
	height: 79px;
	overflow: hidden;
	/*position: relative;*/
	text-align: center;
}

.box img {
	/*display: block;*/
	/*width: 100%;*/
}

.box ul {
	color: #00aeef;
	list-style-type: square;
	margin: 1em 18px;
}

.box li {
	margin-bottom: 0.635em;
}

.box ul a {
	color: #4d4d4d !important;
	font-weight: bold;
	text-decoration: none !important;
}

.box ul a:hover, .box ul a:focus {
	text-decoration: underline !important;
}

/* @end */



/* @group FOOTER */

#footer {
	color: #666;
}

#footer ul {
	background: url(../images/footer-bg.png) repeat-x 0 100%;
	padding-bottom: 1em;
	float: left;
	width: 100%;
	margin: 0;
	list-style: none;
}

#footer li {
	float: left;
	padding: 0 9px;
}

#footer li.b {
	background: url(../images/footer-li-bg.gif) no-repeat 100%;
}

#footer li.r {
	float: right;
}

#footer a {
	color: #666;
	text-decoration: underline;
}

#footer a:hover, #footer a:focus {
	text-decoration: none;
}

#footer img {
	display: block;
	clear: both;
	padding-top: 0.635em;
}

#badges {
	margin-top: 5px;
	clear: both;
}

#badges img{
	margin-right: 5px;
}

/*** CLASSES USED TO GET INSIDE .NET TABLES IN SEARCH.ASPX ***/

#SearchDataGrid td {
	padding: 0.5em;
}

TR.pagerstyle td {
	background-color: #ceefff;
	text-align: center;
	padding: 0;
}

TR.pagerstyle td SPAN {
	padding: 0 0.5em;
}

/* @end */

/******************************
* START CLASSES REQUIRED BY WYSIWYG
/******************************/
.textunderline {/* underlined text */
	text-decoration: underline;
}

.textdefault { /* a text 'reset' class for use in wysiwyg only, should match default text style */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;  /* 11px/14px */
	font-weight: normal;
	text-decoration: none;
	color: #000;
}

/*** LIST CLASSES ***/

UL.circle {list-style-type: circle;}
UL.disk {list-style-type:  disk;}
UL.square {list-style-type: square;}
OL.decimal {list-style-type: decimal;}
OL.lower-alpha {list-style-type: lower-alpha;}
OL.upper-alpha {list-style-type: upper-alpha;}
OL.lower-roman {list-style-type: lower-roman;}
OL.upper-roman {list-style-type: upper-roman;}

/*** TABLE, IMAGE AND PARAGRAPH TEXT ALIGNMENT ***/
 
TABLE.left, P.left, IMG.left { /* align table or <p>-wrapped image/image to the left */
	float: left;
	margin: 0 10px 10px 0;
}
 
TABLE.right, P.right, IMG.right { /* align table or <p>-wrapped image/image to the right */
	float: right;
	margin: 0 0 10px 10px;
}
 
TABLE.center { /* align table to the centre */
	margin: 0 auto;
}
 
P.center { /* align <p>-wrapped image to the left */
	text-align: center;
}

P.textcenter { /* align paragraph text to the centre */
	text-align: center;
	display: block;
}
 
P.textleft {/* align paragraph text to the left */
	text-align: left;
	display: block;
}
 
P.textright { /* align paragraph text to the right */
	text-align: right;
	display: block;
}
 
P.textjustify { /* 'justify' align paragraph text */
	text-align: justify;
	display: block;
}

/*** TABLE, IMAGE AND PARAGRAPH TEXT ALIGNMENT ***/

TABLE.datatable {
	border-style: solid;
	border-color: #666;
	border-width: 1px 0 0 1px;
	margin-bottom: 2px;
}

TABLE.datatable TH {
	color: #fff;
	border-style: solid;
	border-color: #666;
	border-width: 0 1px 1px 0;
	background-color: #999;
	padding: 4px;
	text-align: left;
	vertical-align: top;
	font-weight: bold;
}

TABLE.datatable TH.plaintext { /* for default text in a <th> */
	font-weight: normal;
	text-align: left;
}

TABLE.datatable TH A:link,
TABLE.datatable TH A:visited,
TABLE.datatable TH A:hover,
TABLE.datatable TH A:active,
TABLE.datatable TH A:focus, {
	color: #fff;
	font-weight: bold;
}

TABLE.datatable TD {
	border-style: solid;
	border-color: #666;
	border-width: 0 1px 1px 0;
	padding: 4px;
	text-align: left;
	vertical-align: top;
}

TABLE.datatable TD TD { /* remove borders from nested table cells */
	border-width: 0;
}

TABLE.datatable CAPTION {
	color: #fff;
	border-style: solid;
	border-color: #666;
	font-weight: bold;
	padding: 4px;
	text-align: left;
	border-width: 1px 1px 0px 1px;
	background-color: #666;
}
/******************************
* END CLASSES REQUIRED BY WYSIWYG
/******************************/


#content TABLE TD {
	vertical-align: top;
}


UL#flags {

	padding: 0;

	margin: 0 1em 0 1.5em;

	list-style-type: none;


}

UL#flags LI {

	padding: 0 0.1em;

	margin: 0;

	float: left;	

}

