
body {
	font-family: Georgia, serif;
	font-size: 62.5%;
	color: #333;
	background: #fff url("../img/page-bg.jpg") top repeat-x;
}

/* Base setup */

p, li, td, th, dt, dd, cite, blockquote, label, legend { font-size: 1.4em; line-height: 1.4; }

p { margin-bottom: 1em; }

li p, td p, th p, dt p, dd p, blockquote p, blockquote cite, label p, li label, li li { font-size: 1em; }

h1, h2, h3 { font-weight: bold; }

h1 { font-size: 3em; margin: 0 0 0.5em; }
h2 { font-size: 1.8em; margin: 1em 0 0.5em; }
h3 { font-size: 1.4em; margin: 1em 0 0.5em; }

section, article, header, footer, nav, aside { display: block; }

img { display: block; }

input, textarea, select {
	font-family: sans-serif;
	font-size: 1.3em;
}

strong { font-weight: bold; }
em { font-style: italic; }

.replace {
	display: block;
	overflow: hidden;
	text-indent: -999em;
}

.hidden {
	position: absolute;
	left: -9000px;
}

.clear { clear: both; }

a { color: #900; }
a:hover { color: #c00; }

.left {
	float: left;
	display: inline;
}

/* Text formatting */

h1 {
	color: #099;
	font-weight: normal;
}

.text p { font-size: 1.6em; color: #333; }

.text li {
	margin-left: 2em;
	list-style: disc;
}

.text ol li { list-style: decimal; }

.text ol li ul li { list-style: disc; }

.text ul, .text ol {
	margin: 2em 0;
}

.text ol ol, .text ol ul, 
.text ul ul, .text ul ol { margin: 0.5em 0; }


.text .event_list {
	overflow: hidden;
}

.event_list nav {
	display: block;
	overflow: hidden;
	margin-bottom: 10px;
}

.text .event_list ul.events {
	border-bottom: 1px solid #cbb;
	margin-bottom: 5px;
	display: block;
	clear: both;
}

.text .event_list ul.events li {
	list-style: none;
	margin: 0;
	border-top: 1px solid #cbb;
	padding: 10px 0 15px;
	overflow: hidden;
}

.text .event_list .description {
	width: 380px;
	float: left;
	display: inline;
}

.text .event_list .description p { font-size: 1em; }

.text .event_list .description a {
	text-decoration: none;
	color: #900;
}

.text .event_list .description a:hover {
	text-decoration: underline;
}

.text .event_list .description strong {
	font-size: 1.143em;
}

.text .event_list ul.events li p.meta {
	font-size: 0.929em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	float: right;
	display: inline;
	margin-top: 10px;
}

.text .event_list ul.events li p a,
.text .event_list ul.events li span.enrol {
	float: right;
	display: inline;
	margin-left: 5px;
}

.text .event_list ul.events li span.enrol a { float: none; }

.text .event_list li span.enrol {
	height: 28px;
	background: url("../img/sprites.png") right -270px no-repeat;
	line-height: 28px;
	color: #fff;
	padding-right: 10px;
}

.text .event_list li span.enrol span {
	display: block;
	height: 28px;
	background: url("../img/sprites.png") 0 -270px no-repeat;
	line-height: 28px;
	padding-left: 10px;
}

.text .event_list li span.no_spaces { background-position: right -300px; }
.text .event_list li span.no_spaces span { background-position: 0 -300px; }

.text .event_list li span.enrol a { color: #fff; float: none; }

.text .event_list li a.icon {
	display: block;
	width: 28px;
	height: 28px;
	background: url("../img/sprites.png") -80px -30px no-repeat;
	overflow: hidden;
	text-indent: -999em;
}

.text .event_list li a.education 	{ background-position: -175px -30px; }
.text .event_list li a.culture 		{ background-position: -276px -30px; }
/*
.text .event_list li a.health:hover 	{ background-position:  -80px -60px; }
.text .event_list li a.education:hover 	{ background-position: -175px -60px; }
.text .event_list li a.culture:hover 	{ background-position: -276px -60px; }
*/
.text .event_list p.pages,
.text .event_list p.pagination {
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.3em;
	color: #999;
}

.text .event_list p.pages { float: left; }
.text .event_list p.pagination { float: right; }

.text .event_list p.pagination a {
	margin-left: 10px;
	text-decoration: none;
	color: #900;
}

.text .event_list p.pagination a:hover {
	text-decoration: underline;
}

.text .event_list nav {
	float: left;
	display: inline;
}

.text .event_list nav li {
	float: left;
	display: inline;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.3em;
	padding: 0;
	margin: 0 10px 0 0;
	line-height: 28px;
}

.text .event_list nav li a { text-decoration: none; font-weight: bold; }

.text .event_list nav li a.icon {
	display: block;
	overflow: hidden;
	text-indent: -999em;
	background: url("../img/sprites.png") -80px -30px no-repeat;
	height: 28px;
	width: 95px;
}

.text .event_list nav li a.health 		{ width: 95px; }
.text .event_list nav li a.education 	{ width: 101px; }
.text .event_list nav li a.culture 		{ width: 84px; }

.text .event_list nav li a.health 		{ background-position: -80px -30px; }
.text .event_list nav li a.education 	{ background-position: -175px -30px; }
.text .event_list nav li a.culture 		{ background-position: -276px -30px; }
/*
.text .event_list nav li a.health:hover 	{ background-position:  -80px -60px; }
.text .event_list nav li a.education:hover 	{ background-position: -175px -60px; }
.text .event_list nav li a.culture:hover 	{ background-position: -276px -60px; }
*/
.text p.tags,
.text p.sortby {
	color: #099;
	margin: 1.5em 0;
	font-size: 1.3em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

.text p.tags a,
.text p.sortby a { text-decoration: none; }
.text p.tags a:hover,
.text p.sortby a:hover { text-decoration: underline; }

.text p.sortby { text-align: right; margin-bottom: -1em; }

article.leftcol {
	width: 440px;
	float: left;
	display: inline;
}

article.leftcol .date {
	font-style: italic;
	font-size: 1.3em;
	color: #999;
	margin-top: -0.5em;
}

aside.actions {
	width: 100px;
	float: right;
	margin-right: 20px;
	margin-bottom: 2em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

aside.actions h4 {
	font-size: 1.3em;
	color: #099;
	margin-bottom: 0.5em;
}
aside.actions p { font-size: 1.3em; line-height: 1.2; }
aside.actions a { text-decoration: none; }

aside.actions ul {
	margin-bottom: 1em;
}

aside.actions li { font-size: 1.3em; }

aside.actions .minipanel {
	color: #fff;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.3em;
	line-height: 1.2;
}

aside.actions .minipanel a,
aside.actions .minipanel span {
	background: #099;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;	
	display: block;
	text-decoration: none;
	padding: 10px;
	text-align: center;
}

aside.actions .minipanel a {
	color: #fff;
}

aside.actions .minipanel span {
	background: #666;
}

aside.actions .minipanel span strong {
	display: block;
	font-size: 4.5em;
	font-weight: normal;
	text-align: center;
	line-height: 1.2;
}

aside.actions .minipanel span.no_spaces {
	background: #900;
}

aside.actions .minipanel a:hover {
	background: #088;
}

aside.actions .filter {
	margin: 2em 0;
}

aside.actions .filter fieldset {
	border: none;
	padding: 0;
	margin: 0 0 2em;
}

div.pagination {
	overflow: hidden;
	border-top: 1px solid #cbb;
	padding-top: 5px;
	clear: both;
}

div.pagination a.prev,
div.pagination a.next {
	color: #900;
	text-decoration: none;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.3em;
}

div.pagination a.prev { float: left; }
div.pagination a.next { float: right; }

.text div.excerpt h2, .text p.excerpt, .text .excerpt p {
	color: #360;
	font-size: 2.1em;
	font-style: italic;
	line-height: 1.3;
}

/* Layouts */

#page {
	width: 960px;
	margin: 0 auto;
	background: #fff;
}

#main {
	width: 640px;
	float: right;
	display: inline;
	padding: 50px;
}

.homepage #main {
	clear: both;
	width: auto;
	float: none;
	display: block;
	padding: 0;
}

#logo {
	display: block;
	margin: 20px 0 22px 20px;
}

.homepage #logo {
	margin-bottom: 0;
}

#signin {
	background-color: #fff;
	text-align: center;
	color: #333;
	font-size: 1.3em;
	padding: 1em 0;
}

#signin p {
	margin: 0;
}

#signin p.options {
	font-size: 1.2em;
	color: #666;
	margin-top: 0.5em;
}

#signin p.options em {
	font-style: italic;
}

#signin p.options a:link,
#signin p.options a:visited {
	color: #900;
	text-decoration: none;
}

#signin p.options a:hover,
#signin p.options a:active {
	color: #C00;
}

header {
	float: right;
	display: inline;
	position: relative;
	overflow: hidden;
	background: url("../img/header-bg.png") top repeat-x;
	width: 740px;
}

.homepage header {
	margin-bottom: 3em;
}

header nav {
	width: 740px;
	float: right;
	display: inline;
	font-family: sans-serif;
	font-weight: bold;
	background: #fff;
}

header nav ul {
	overflow: hidden;
	display: block;
}

header nav li {
	float: left;
	font-size: 2em;
	line-height: 1.2;
}

header nav li a {
	display: block;
	padding: 10px 12px;
	text-decoration: none;
	color: #8A0000;
	background: url("../img/sprites.png") 0 -170px no-repeat;
	-webkit-transition: color 0.2s linear;
}

header nav li.selected a {
	color: #099;
}

header nav li.first a { background: none; }

header nav li a em {
	display: block;
	font-family: Georgia, serif;
	font-size: 0.75em;
	font-weight: normal;
	color: #360;
	-webkit-transition: color 0.2s linear;
}

header nav li a:hover em {
	color: #090;
}

#login_search {
	position: absolute;
	right: 20px;
	top: 10px;
	color: #960;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

#login_search p { font-size: 1.3em; }

#login_search a { color: #960; }
#login_search a:hover { color: #630; }

p.breadcrumb {
	background: #BFE5E5;
	padding: 10px 20px 12px;
	margin: 0;
	border-top: 1px solid #99B2B2;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.3em;
	line-height: 1;
	width: 700px;
	float: right;
	color: #099;
}

p.breadcrumb a { color: #099; text-decoration: none; }
p.breadcrumb a:hover { color: #066; }

.header_shadow {
	width: 740px;
	height: 35px;
	background: url("../img/header-wave.png") no-repeat;
	position: absolute;
	top: 87px;
	left: 0;
	z-index: 500;
}

aside.sidebar {
	float: left;
	display: inline;
	background: #600;
	width: 220px;
	color: #fff;
	margin-bottom: 30px;
}

aside.sidebar .side_logo p.serif {
	margin: 0;
	padding: 10px 15px 15px 15px;
}

aside.sidebar .side_logo p.logo {
	margin: 0;
	font-family: sans-serif;
	font-size: 1em;
	line-height: 1;
}

aside.sidebar .side_logo p.logo a {
	display: block;
	width: 220px;
	height: 0;
	padding-top: 280px;
	overflow: hidden;
	background: url("../img/logo-image.jpg") 0 0 no-repeat;
	color: #fff;
	font-weight: bold;
	font-size: 2em;
	text-decoration: none;
}

aside.sidebar .side_logo p.logo a:hover {
	height: 260px;
	padding: 10px 15px;
	line-height: 0.8;
}

aside.sidebar .side_logo p.logo a em {
	font-size: 0.75em;
	font-family: Georgia, serif;
	color: #ff0;
	font-weight: normal;
}

aside.sidebar nav {
	background: #099 url("../img/sidenav-base.jpg") bottom no-repeat;
	padding-bottom: 175px;
}

aside.sidebar nav li {
	font-size: 1.8em;
	font-weight: bold;
	line-height: 1;
}

aside.sidebar nav li.last {
	border-bottom: 1px solid #fff;
}

aside.sidebar nav a {
	display: block;
	text-decoration: none;
	padding: 10px;
	color: #FFED66;
	border-top: 1px solid #43B4B4;
	border-bottom: 1px solid #008282;
}

aside.sidebar nav a:hover {
	background: #088;
	color: #ff9;
}

aside.sidebar nav .selected a {
	color: #fff;
	background: url("../img/nav-arrow.png") 205px center no-repeat;
}

.panel { margin-bottom: 3em; }

.panel h2 {
	background: #fc0 url("../img/sprites.png") right -90px repeat-y;
	color: #900;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 2.4em;
	padding: 7px 10px;
	line-height: 1;
	margin: 0 0 0.5em;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}


/* Homepage */

#slideshow {
	width: 740px;
	height: 260px;
	overflow: hidden;
	float: right;
}

#slideshow img { display: block; }

.home_left {
	width: 290px;
	float: left;
	display: inline;
	margin-right: 20px;
}

.home_left h3 {
	color: #600;
	font-size: 1.6em;
	padding-left: 10px;
	padding-right: 10px;
}

.home_left p {
	padding-left: 10px;
	padding-right: 10px;
}

.home_left .date {
	font-style: italic;
	font-size: 1.3em;
	color: #999;
	margin-top: -0.5em;
}

#upcoming {
	width: 280px;
	float: left;
	display: inline;
}

#upcoming h3 {
	color: #988;
	font-size: 1.8em;
	margin-top: 0;
	border-top: 1px solid #ccc;
	padding-top: 10px;
}

#upcoming h4 {
	color: #333;
	font-size: 1.6em;
	text-align: center;
	line-height: 1;
	margin-bottom: 10px;
}

#upcoming .activities li {
	overflow: hidden;
	padding-left: 80px;
	position: relative;
	margin-bottom: 0.25em;
	color: #666;
}

.activities .meta {
	position: absolute;
	z-index: 5;
	top: 3px; left: 28px;
	width: 35px; height: 27px;
	text-align: center;
	color: #fff;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	line-height: 27px;
	letter-spacing: -1px;
}

.activities .meta .month {
	position: absolute;
	left: -9000px;
}

#upcoming .activities li p { line-height: 1.3; }

#upcoming .activities strong a {
	text-decoration: none;
	color: #900;
}

#upcoming .activities strong a:hover {
	color: #C00;
	text-decoration: underline;
}

#upcoming .activities .type {
	width: 70px;
	height: 27px;
	position: absolute;
	top: 3px;
	left: 0;
	overflow: hidden;
}

#upcoming .activities .type a {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	width: 70px;
	height: 27px;
	background: url("../img/sprites.png") 0 0 no-repeat;
}

#upcoming .activities .type a.education { background-position: 0 -30px; }
#upcoming .activities .type a.culture 	{ background-position: 0 -60px; }

#upcoming .key {
	display: block;
	overflow: hidden;
	margin-bottom: 10px;
}

#upcoming .key li {
	float: left;
	display: inline;
	padding-left: 30px;
	font-family: sans-serif;
	font-size: 1.2em;
	padding: 0;
}

#upcoming .key li a {
	display: block;
	overflow: hidden;
	text-indent: -999em;
	background: url("../img/sprites.png") -80px -30px no-repeat;
	height: 28px;
	width: 95px;
}

#upcoming .key li a.education 	{ background-position: -175px -30px; width: 101px; }
#upcoming .key li a.culture 	{ background-position: -276px -30px; width: 84px; }
/*
#upcoming .key li a.health:hover 	{ background-position: -80px -60px; }
#upcoming .key li a.education:hover { background-position: -175px -60px; }
#upcoming .key li a.culture:hover 	{ background-position: -276px -60px; }
*/
#facebook {
	float: right;
	width: 350px;
}

#facebook h2 {
	background: #099;
	color: #fff;
}

#network {
	clear: both;
	border-top: 1px solid #ccc;
	padding: 20px 0;
	overflow: hidden;
}

#network p, #network ul {
	float: left;
}

#network ul {
	margin-left: 70px;
}
#network ul li {
	margin-right: 10px;
}
#network ul li,
#network ul li a {
	display: block;
	float: left;
	height: 150px;
	width: 218px;
}
#network ul li a {
	background: url('../img/home-badges.png') no-repeat 0 0;
	text-indent: -999em;
}
#network ul li a:hover {
	background-position: 0 -150px;
}
#network ul li.badge-terau,
#network ul li.badge-terau a { width: 100px; }
#network ul li.badge-midv,
#network ul li.badge-midv a { width: 180px; }
#network ul li.badge-terau a { background-position: -228px 0; }
#network ul li.badge-midv a { background-position: -338px 0; }
#network ul li.badge-terau a:hover { background-position: -228px -150px; }
#network ul li.badge-midv a:hover { background-position: -338px -150px; }

#network p {
	font-size: 1.3em;
	color: #988;
	font-style: italic;
}

/* Forms */

fieldset {
	padding: 10px 0;
	border-top: 1px solid #ccc;
	margin: 2em 0;
}

legend {
	font-weight: bold;
	font-size: 1.8em;
	margin: 0 0 0.5em;
	padding-right: 10px;
	background: #fff;
	display: block;
	font-family: sans-serif;
	position: absolute;
	text-indent: -999em;
}

.row {
	overflow: hidden;
	margin-bottom: 0.5em;
	padding-left: 10px;
	position: relative;
}

.indented {
	margin-left: 120px;
}

input.field, input.text, textarea, select {
	border: 1px solid #998;
	border-top: 1px solid #777;
	padding: 5px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.4em;
}

.field, input.text, textarea {
	width: 400px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background: url("../img/field-bg.png") top repeat-x;
}

.row label {
	display: block;
	margin-bottom: 0.5em;
	padding-top: 0.4em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.3em;
}

.row .require {
	position: absolute;
	left: 0;
	top: 7px;
	color: #F00;
	font-weight: bold;
}

.row h4,
#Form_Form h4 {
	font-weight: bold;
	font-size: 1.8em;
	margin: 1em 0 0.5em;
	position: relative;
	padding-left: 10px;
	font-family: sans-serif;
	color: #900;
}

.row h4 .require { top: 2px; }

.row .option_set {
	margin-bottom: 1em;
}

.row .option_set label {
	float: none;
	width: auto;
}

.row .field, .row input.text, .row textarea, .row .checkbox, .row select {
	margin-bottom: 0.5em;
}

.row .col {
	width: 48%;
	float: left;
	display: inline;
}

.row .col input.field,
.row .col input.text { width: 85%; }

.button {
	padding: 5px 7px;
	border: 1px solid #066;
	background: #099;
	font-size: 1.5em;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 2px 0 2px #666;
	-webkit-box-shadow: 0 1px 1px #ccc;
	text-shadow: 0 1px 0 #066;
	-webkit-text-shadow: 0 1px 0 #066;
	-moz-text-shadow: 0 1px 0 #066;
	cursor: pointer;
	color: #fff;
	font-weight: bold;
}

.button:hover {
	background: #088;
}

.buttons {
	padding: 10px 0 10px 10px;
	overflow: hidden;
}

.buttons .button {
	float: left;
	display: inline;
	margin-right: 10px;
}

/* Form errors */
.row label.error {
	display: block;
	float: none;
	padding: 0;
	color: #c00;
	width: auto;
}

input.error, textarea.error, select.error {
	background-color: #ffc;
	border-style: dotted;
}

.right {
	display: block;
	float: right;
	margin-left: 20px;
}

.right img {
	border: 1px solid #999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
}

.right p {
	font-size: 1.1em;
	color: #999;
	margin-top: 0.5em;
}

.event_list {
	clear: both;
}

/* Flickr feed plugin */

.flickrpool {
	overflow: hidden;
}

.flickrpool li {
	float: left;
	display: inline;
}

.flickrpool a {
	float: left;
	display: inline;
	margin: 0 5px 5px 0;
	border: 1px solid #ccc;
	padding: 3px;
}

.flickrpool a:hover {
	background: #ddd;
	border-color: #aaa;
}

.flickrpool img {
	display: block;
}


/* Comments */
#PageComments_holder {
	overflow: hidden;
	margin: 3em 0;
}

#PageComments_holder h4 {
	font-size: 1.8em;
	color: #900;
}

#PageComments li p { font-size: 1em; }

#PageComments {
	border-bottom: 1px solid #ccc;
}

#PageComments li {
	border-top: 1px solid #ccc;
	margin: 0;
	padding: 15px 0;
	list-style: none;
}

#CommentsRSSFeed { font-size: 1.4em; }
/* Footer */

footer {
	clear: both;
	overflow: hidden;
	padding-bottom: 30px;
}

footer nav {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 2em 0 3em;
	margin-bottom: 5px;
}

footer nav ul {
	overflow: hidden;
	display: block;
}

footer nav li {
	float: left;
	margin: 0 25px 0 10px;
	font-size: 1em;
}

footer nav li.last { margin-right: 0; }

footer nav h5 {
	font-size: 1.8em;
	line-height: 1;
	margin-bottom: 0.5em;
}

footer nav h5 a { color: #360; -webkit-transition: color 0.2s linear; }
footer nav h5 a:hover { color: #090; }

footer nav h5 em { font-size: 0.7em; }

footer nav h5 a em { color: #988; font-style: italic; -webkit-transition: color 0.2s linear; }
footer nav h5 a:hover em { color: #655; }

footer nav li a {
	text-decoration: none;
}

footer nav li li {
	float: none;
	font-size: 1.3em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	margin: 0;
}

footer nav li li a { color: #666; }
footer nav li li a:hover { color: #333; }

footer p {
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.1em;
	color: #999;
	float: left;
}

footer p a {
	color: #666;
	text-decoration: none;
}

footer p a:hover {
	color: #333;
	text-decoration: underline;
}

footer .follow {
	float: right;
}

footer .follow p, 
footer .follow ul {
	float: left;
	display: inline;
}

footer .follow ul li {
	float: left;
	display: inline;
	margin-left: 5px;
}

footer .follow a {
	display: block;
	overflow: hidden;
	text-indent: -999em;
	background: url("../img/sprites.png") -200px 0 no-repeat;
	width: 16px;
	height: 16px;
}

footer .follow a.icon_flickr { background-position: -220px 0px; }
footer .follow a.icon_youtube { background-position: -240px 0px; }
