/* A font by Jos Buivenga: http://exljbris.nl */
@font-face {
	font-family: "Calluna";
	src: local("Calluna"), url("../fonts/Calluna-Regular.otf") format("opentype");
}

/* CSS Reset from http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! 
:focus {
	outline: 0;
}*/
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/* End CSS Reset */

body {
	background-color: #f5f9fc;
	font-family: "Lucida Grande", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.4em;
	color: #231f20;
	text-align: center;
}

a:link, a:visited, a:hover, a:active {
	text-decoration: none;
	font-weight: bold;
	transition: color 0.1s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
	-moz-transition: color 0.2s ease-in-out;
}
a:link, a:visited {
	color: #36506f;
}
a:hover, a:active {
	color: #7e122c;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
p, address {
	margin-bottom: 1.2em;
}
address {
	font-style: normal;
}
ul {
 	list-style: disc;
	margin-bottom: 1.2em;
}
ul li {
	margin-left: 1.3em;
}

div#buttons {
	padding-bottom: 10px;
}
a.button {
	display: block;
	width: 200px;
	background: transparent url(../images/button-left-disabled.png) center left no-repeat;
	margin: 0 auto 10px;
	position: relative;
	top: 0;
}
a.button span {
	display: block;
	padding: 1.2em 2em;
	background: transparent url(../images/button-right-wing-disabled.png) center right no-repeat;
	text-align: center;
}
a.button.current {
	background-image: url(../images/button-left.png);
}
a.button.current span {
	background-image: url(../images/button-right-wing.png);
}
a.button:link, a.button:visited {
	color: #8193a9;
}
a.button:hover, a.button:active {
	color: #7e122c;
	background-image: url(../images/button-left.png);
}
a.button:hover span, a.button:active span {
	background-image: url(../images/button-right-wing.png);
}
a.button.current:link, a.button.current:visited {
	color: #36506f;
}
a.button.current:hover, a.button.current:active {
	color: #7e122c;
}
a.button:active {
	top: 1px;
}

#everything {
	width: 960px;
	overflow: hidden;
	margin: 30px auto 40px;
}
#page {
	width: 478px;
	float: left;
	background: #fefefe url(../images/little-logo.png) bottom center no-repeat;
	border: 1px solid #dfe9f3;
	border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
	text-align: left;
	min-height: 740px;
	padding-bottom: 95px;
	margin-bottom: 10px;
}

#logo {
	display: block;
	margin: 20px auto;
	width: 100%;
	text-align: center;
}

div#h1-container {
	width: 100%;
	border-style: solid;
	border-color: #dfe9f3;
	border-width: 1px 0;
	padding: 12px 0 8px;
	text-align: left;
	background-color: #f5f9fc;
	margin-bottom: 20px;
}
div.flash-success-wide + div#h1-container,
div.flash-alert-wide + div#h1-container,
div.flash-info-wide + div#h1-container,
div.flash-error-wide + div#h1-container {
	border-top-width: 0;
}

h1, h2, legend {
	margin: 0 20px;
	text-shadow: 0 -1px 1px #dde1e4, 0 1px 1px #ffffff;
	font-size: 30px;
	line-height: 1.0em;
	font-family: Calluna, Georgia, "Times New Roman", serif;
	font-weight: normal;
}

p {
	line-height: 1.6em;
	margin-left: 20px;
	margin-right: 20px;
}

legend {
	font-size: 24px;
}

#left-wing, #right-wing {
	color: #36506f;
	font-size: 12px;
	background: #eef5fc url(../images/wing-bg.png) top left repeat;
	border: 1px solid #dfe9f3;
	border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
	float: left;
	margin: 60px 0 40px;
	width: 238px;
	min-height: 678px;
	text-align: left;
	padding: 20px 0;
	text-shadow: 0 -1px 1px #eef5fc;
}
#left-wing {
	-webkit-border-top-right-radius:0;
	-webkit-border-bottom-right-radius:0;
	-moz-border-radius-topright:0;
	-moz-border-radius-bottomright:0;
	border-right-color: #e9f1f9;
}
#right-wing {
	-webkit-border-top-left-radius:0;
	-webkit-border-bottom-left-radius:0;
	-moz-border-radius-topleft:0;
	-moz-border-radius-bottomleft:0;
	border-left-color: #e9f1f9;
}
#left-wing h2, #right-wing h2,
#left-wing p, #right-wing p,
#left-wing address, #right-wing address {
	margin-left: 30px;
	margin-right: 30px;
}

#left-wing h2 {
	font-size: 24px;
	line-height: 1.4em;
	text-shadow: 0 -1px 1px #eef5fc;
	margin-top: 20px;
	margin-bottom: 0.4em;
	text-shadow: 0 -1px 1px #dde1e4, 0 1px 1px #f5f9fc;
}

#right-wing .adverts {
	margin: 10px 40px 0 30px;
}

#footer {
	clear: both;
	width: 480px;
	margin: 10px auto;
	color: #36506f;
	font-size: 11px;
	text-shadow: 0 -1px 1px #eef5fc;
/* 	text-align: left; */
}
#footer p {
	margin-left: 10px;
	margin-right: 10px;
}

/* Flash messages */
.flash-error {
	background-color: #ffdfdf;
	border: 1px solid #df7d7d;
	border-width: 1px 0;
}
.flash-alert {
	background-color: #f7f3bd;
	border: 1px solid #e5d688;
	border-width: 1px 0;
}
.flash-info {
	background-color: #cee2fc;
	border: 1px solid #8ea9cd;
	border-width: 1px 0;
}
.flash-success {
	background-color: #cef5cb;
	border: 1px solid #9ecf97;
	border-width: 1px 0;
}
.flash-error p,
.flash-alert p,
.flash-info p,
.flash-success p {
	background-repeat: no-repeat;
	background-position: 20px 50%;
	padding: 5px 5px 5px 44px;
	margin: 4px 0;
}
.flash-error p {
	color: #af4c4c;
	background-image: url(../images/icons/exclamation-red.png);
}
.flash-alert p {
	color: #894200;
	background-image: url(../images/icons/exclamation.png);
}
.flash-info p {
	color: #1a2b50;
	background-image: url(../images/icons/information.png);
}
.flash-success p {
	color: #0d470b;
	background-image: url(../images/icons/tick.png);
}
.flash-error .dismiss,
.flash-alert .dismiss,
.flash-info .dismiss,
.flash-success .dismiss {
	display: none;
	margin-left: 1em;
	text-transform: uppercase;
	font-size: 0.8em;
}
/* End Flash messages */
