html, body {
	font: 11pt Trebuchet MS, Trebuchet, Lucida Sans Unicode, Lucida Grande, Lucida Sans, Arial, sans-serif;
	color: #555;
	background: #dff1f2 url('../img/bg.png') repeat-x top;
	padding: 0;
	margin: 0;
}

html#homepage, body.homepage {
	background: #acde00;
	padding-bottom: 16px;
}

.container_12 {
	padding: 0;
	margin: 0 auto;
}

p {
	line-height: 1.5em;
	margin: 1em 0;
}

.sectionbottom, .sectiontop {
	display: block;
	clear: both;
	background: url('../img/sectionbottom.png') no-repeat bottom;
	height: 8px;
	width: 960px;
	margin: 0 0 1em 0;
}

.sectiontop {
	margin: 1em 0 0 0;
	background: url('../img/sectiontop.png') no-repeat;
}

.section {
	background-color: #fff;
}

h1, h2, h3, h4, h5 {
	font-size: 120%;
	font-weight: 700;
	letter-spacing: -1px;
	margin: 0 0 1em 0;
	padding: 0;
}

/* nav */

ul.nav {
	list-style: none;
	margin: 0 0 0 0.5em ;
	padding: 0;
	height: 34px;
}

ul.nav li {
	float: left;
	margin: 0 0.5em 1em 0;
	padding: 0;
}

ul.nav li a {
	display: block;
	border: 0;
	background-repeat: no-repeat;
	padding: 5px 5px 0 5px;
	height: 25px;
}

ul.nav li a.menu {
	width: 60px;
	text-align: center;
	background-image: url('../img/menubottom.png');
	background-position: -70px 100%;
	color: #fff;
	font-size: 90%;
}

ul.nav li a.important {
	font-weight: bold;
	background-image: url('../img/menubottom-hl.png') !important;
}

.flasher {
	vertical-align: middle;
	margin-right: 0.25em;
}

ul.nav li a.icon {
	margin: 0;
	padding: 5px 0 0 0;
	width: 27px;
	background-position: 0 100%;
}

ul.nav li a.icon span {
	display: block;
	overflow: hidden;
	text-indent: -3000px;
	white-space: nowrap;
}

ul.nav li a.menu:hover, ul.nav li a.active {
	padding-top: 8px;
	background-position: 0 100%;
	height: 25px;
}

ul.nav li a:hover {
	height: 28px;
}

/* links */

a:link {
	color: #5ab8e7;
	text-decoration: none;
	border-bottom: 1px dotted #5ab8e7;
}

a:visited {
	color: #5ab8e7;
	text-decoration: none;
	border-bottom: 1px dotted #bbb;
}

a:active, a:hover {
	color: #5ab8e7;
	border-bottom: 1px solid #5ab8e7;
	text-decoration: none;
}

a.noborder {
	border: 0 !important;
}

/* forms */

input {
	font-size: 120%;
	padding: 0.25em;
	font-weight: 300;
}

input.text {
	border: 1px solid #ccc;
}

input.button {
	background-color: #e40378;
	color: #fff;
	border: 0;
}

input.button:hover {
	background-color: #acde00;
	border: 0;
}

table {
	width: 100%;
	padding: 0;
	margin: 0;
}

td {
	padding: 0.5em;
}

/* lists */

ul.list {
	list-style: none;
}

ul.list li.listitem .controls {
	display: none;
}

ul.list li.listitem:hover .controls {
	display: block;
}

ul.list li.listitem {
	margin: 4px 0;
	padding: 0.5em;
	border-left: 8px solid #ddd;
	border-right: 8px solid #ddd;
}

ul.list li.active, ul.list li.listitem:hover {
	background-color: #ebf7fc;
	border-color: #5ab8e7;
}

ul.list li.active.standard, ul.list li.standard:hover {
	background-color: #fafdf0;
	border-color: #acde00;
}

ul.list li.active.official, ul.list li.official:hover {
	border-color: #e40378;
	background-color: #fef0f7;
}

.listitem .small {
	font-size: 90%;
	color: #888;
}

.listitem .author {
	font-size: 90%;
	border: 0;
}

.listitem .misc {
	font-size: 90%;
	color: #5ab8e7;
}

.standard .misc {
	color: #acde00;
}

.official .misc {
	color: #e40378;
}

.listitem .title, .listitem .author {
	display: block;
}

.listitem .thumb {
	float: right;
	margin-left: 1em;
	width: 64px;
	height: 64px;
	overflow: hidden;
}

/* map and events */

#eventslist {
	position: relative;
}

#evtmap {
	height: 400px;
	background-color: #acde00;
}

#map {
	position: absolute;
	width: 460px;
	top: 0px;
	left: 470px;
}

/* colours */

.onprimary {
	background-color: #acde00;
	color: #fff;
}

.primary {
	color: #acde00;
}

.onsecondary {
	background-color: #e40378;
	color: #fff;
}

.secondary {
	color: #e40378;
}

.onbright {
	background-color: #ddd;
}

/* icons */

.icon {
	padding-left: 16px;
	margin-right: 0.5em;
	background: url('../img/miniicons.png') no-repeat 0 0;
}

a.icon:link, a.icon:visited {
	color: #5ab8e7;
}

.more {
	background-position: 0 -36px;
}

.findevent {
	background-position: 0 -16px;
}

.eventinfo {
	background-position: 0 4px;
}


/* square */

.square {
	padding: 0.5em;
}

.square_large, .square_medium, .square_small, .square_tiny {
	background-image: url('../img/squares.png');
	background-repeat: no-repeat;
	background-position: 0 0;
	overflow: hidden;
}

.square_large {
	width: 120px;
	height: 120px;
	padding: 10px
}

.square_medium {
	width: 60px;
	height: 60px;
	background-position: -140px 0;
}

.square_small {
	width: 30px;
	height: 30px;
	background-position: -140px -60px;
}

.square_tiny {
	width: 20px;
	height: 20px;
	background-position: -140px -90px;
}

/* front page specific */

.featured {
	margin: 1em 0;
	border-bottom: 8px solid #ddd;
	border-top: 8px solid #ddd;
}

.featured:hover {
	border-color: #5ab8e7;
}

/* generic styling */

.center {
	text-align: center;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

sup {
	position: relative;
	vertical-align:top; 
	font-size: 50%;
	top: -0.25em;
	line-height: inherit;
}

/* interact */

ul.interact {
	list-style: none;
}

ul.interact li {
	margin: 0 0.5em;
	padding: 0;
}

ul.ismall {
	padding: 0;
	margin: 0;
}

ul.interact li a {
	display: block;
	margin: 1em 0;
	padding: 1em 0.5em 1em 3.5em;
	background-color: #e40378;
	color: #fff;
	font-size: 110%;
	font-weight: 700;
	border: 0;
}

ul.ismall li a {
	margin: 0.25em 0;
	padding: 0.6em 0.25em 0.6em 3.5em;
}

.smaller {
	font-size: 90%;
}

.smaller .thumb {
	width: 24px;
	height: 24px;
}

ul.interact li a:hover {
	background-color: #acde00;
	border: 0;
}

.iflickr, .iyoutube, .itwitter {
	background-position: -10px 50%;
	background-repeat: no-repeat;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.iflickr:hover, .iyoutube:hover, .itwitter:hover {
	background-position: 0 50%;
}

.iflickr {
	background-image: url('../img/iflickr.png');
}

.iyoutube {
	background-image: url('../img/iyoutube.png');
}

.itwitter {
	background-image: url('../img/itwitter.png');
}

/* fixes */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* train */

#trainwrapper {
	width: 100%;
	overflow: auto;
	background: #acde00 url('../img/mini-bg.png') repeat-x top;
	margin: 0;
	padding: 0;
}

#train {
	margin: 0;
	padding: 0;
	width: 0;
	border: collapse;
}

#train td {
	margin: 0;
	padding: 0;
	vertical-align: top;
}

#train td a {
	display: block;
	height: 52px;
	padding-top: 35px;
	text-align: center;
	font-size: 28px;
	vertical-align: bottom;
	font-family: Georgia, serif;
}

#train td a {
	background-repeat: no-repeat;
}

#train td a:link {
	color: #5ab8e7;
}

#train td a:visited {
	color: #888;
}

#train td a:active, #train td a:hover {
	color: #fff;
}

#train td a.carriage-1 {
	background-image: url('../img/mini-carriage-1.png');
	width: 89px;
}

#train td a.carriage-2 {
	background-image: url('../img/mini-carriage-2.png');
	width: 89px;
}

#train td a.carriage-3 {
	background-image: url('../img/mini-carriage-3.png');
	width: 79px;
}

#train td a.carriage-4 {
	background-image: url('../img/mini-carriage-4.png');
	width: 80px;
}

#train td a.carriage-5 {
	background-image: url('../img/mini-carriage-5.png');
	width: 58px;
}

#train td a {
	border: 0 !important;
}

#search {
	margin-bottom: 0.5em;
}

/* featured */

#featured h3 {
	clear: both;
}

.thumbs {
	list-style: none;
	padding: 0;
	margin: 0;
	clear: both;
}

.thumbs li {
	display: block;
	float: left;
	margin: 2px 25px 2px 0;
	width: 120px;
	height: 165px;
}

.thumbs li .thumbimg {
	display: block;
	height: 60px;
	background-position: 0 50%;
	border: 1px solid #ccc;
}

.thumbs p.title {
	margin: 2px 0;
	font-size: 90%;
	height: 2.8em;
}

ol.list {
	list-style: none;
	padding: 0;
	margin: 0;
}

ol.list li .thumbimg {
	float: left;
	border: 0;
}


ol.list li {
	padding: 0;
	margin: 0;
	clear: both;
	height: 52px;
}

ol.list div.info {
	padding-left: 56px;
}

ol.list li .thumbimg span {
	width: 48px;
	height: 48px;
	display: block;
	background-position: 50% 50%;
	border: 1px solid #ccc;
	text-align: left;
	font-weight: 300;
	color: #fff;
	font-size: 38px;
}

ol.list li .thumbimg span span {
	width: 100%;
	text-align: center;
	opacity: 0.3;
	filter: alpha(opacity=30)
}

ol.list p, .thumb p {
	font-size: 90%;
	margin: 2px 0;
	padding: 0;
}	

.meta {
	font-size: 75%;
}

/* frontpage layout and style */

.stars {
	display: inline-block;
	width: 50px;
	height: 1.5em;
	background: url('../img/star-unfilled.png') repeat-x center left;
}

.stars .filled {
	display: block;
	height: 1.5em;
	background: url('../img/star-filled.png') repeat-x center left;
}

#mtop, #mbottom {
	margin: 0;
	padding: 0;
}

#mtop {
	background: #d6edf0;
}

#photogrid {
	list-style: none;
	margin: 0;
	padding: 0;
}

#photogrid li {
	padding: 0;
	margin: 2px;
	display: block;
	float: left;
}

#photogrid li img {
	width: 48px;
	height: 48px;
	background-color: #ccc;
}

/* new */

p.new a, h3.new a {
	padding-left: 16px;
	font-weight: 700;
	background: url('../img/new.png') no-repeat top left;
}

td.new a {
	color: #ffd800 !important;
	font-style: italic;
}

td.new a:hover {
	color: #fff !important;
}

/* tooltips */

.tip {
	display: none;
	width: 177px;
	height: 233px;
	background: url('/img/smoke.png') no-repeat top center;
	padding: 0;
	z-index: 150;
	text-align: center;
}

.tip.bottom {
	background: url('/img/smoke-bottom.png') no-repeat bottom center;
}

.tip .smokeyimage {
	display: inline-block;
	width: 120px;
	height: 60px;
	background-position: 50% 50%;
	background-color: #666;
}

.tip p {
	margin: 0;
	color: #5ab8e7;
	font-size: 80%;
}

.tip .title {
	padding: 3em 2.5em 0.5em 2.5em;
}
.tip .author {
	padding: 0.5em 2.5em 3em 2.5em;
}

.tip.bottom .title {
	padding: 5em 2.5em 0.5em 2.5em;
}

/* minilist */

.minilist {
	padding: 0;
	margin: 0;
}

.minilist li {
	padding: 2px 0;
	margin: 2px 0;
	font-size: 80%;
	border-bottom: 1px dotted #ccc;
}

.minilist li .thumb {
	width: 48px;
	height: 48px;
}

.minilist li .title {
	display: inline;
}

/* tweets */

#tweet {
	position: relative;
	z-index: 50;
	padding: 0;
	margin: 0.5em 0;
	height: 40px;
	font-size: 13px;
	overflow: hidden;
	background-color: #fff;
}

#tweetcloud {
	position: absolute;
	z-index: 1;
	top: -5px;
	left: -25px;
}

#tweet .small {
	font-size: 90%;
	color: #888;
	font-style: italic;
}

#tweet .thumb {
	float: left;
	border: 0;
	margin-right: 0.5em;
	height: 38px;
	width: 38px;
}

/* topten */

#topten li.cold {
	background: url('/img/cold.png') no-repeat right top;
}
#topten li.warm{
	background: url('/img/warm.png') no-repeat right top;
}
#topten li.hot{
	background: url('/img/hot.png') no-repeat right top ;
}
#topten li.viral{
	background: url('/img/viral.gif') no-repeat right top;
}

/* fixes */

#train td a img, .smaller a img {
	border: 0;
}