/* global */

html, body {
  height: 100%;
}

html {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  color: #434644;
}

.print {
	display: none;
}

/* layout */

#wrapper {
	position: relative;
	overflow: auto;
  width: 70%;
  margin: 0 auto;
  padding: 0 10px 20px;
  z-index: 1;
}

#content {
	float: left;
	width: 100%;
}

#main {
	margin-left: 260px;
}

#sidebar {
	float: left;
  width: 240px;
	margin-left: -100%;
}

/* styles */

#header {
  background: #ff6600 url('../img/banner-left.gif') left top no-repeat;
}

#header #banner {
  height: 175px;
  background: url('../img/banner-right.gif') right top no-repeat;
}

#header .hgroup {
  width: 400px;
  height: 176px;
  margin: 0 auto;
  background: url('../img/logo-child.gif') center center no-repeat; 
  text-align: center;
  text-indent: -9999px;
}

#header .hgroup .city {
  display: block;
  margin-top: 110px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.2em;
  color: #ffe9da;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-indent: 0;
}

#root #header .hgroup {
  background-image: url('../img/logo-root.gif');
  text-indent: -9999px;
}

#header .nav, #footer .nav {
  height: 2em;
  padding-bottom: 2px;
  background-color: #0076A3;
  
  -webkit-box-shadow: 0 0 35px rgba(0, 0, 0, 0.3);
}

#header .nav ul, #footer .nav ul {
  overflow: auto;
  width: 70%;
  margin: 0 auto;
}

#header .nav li, #footer .nav li {
  float: left;
  border-left: 1px solid #6699cc;
}

#header .nav li a, #footer .nav li a {
  display: block;
  height: 2.25em;
  line-height: 2.25em;
  padding: 0 1.5em;
  font-size: 0.9em;
  font-weight: bold;
  color: #e1e1e1;
  text-decoration: none;
  border-left: 1px solid #114477;
}

#header .nav li:first-child, #header .nav li:first-child a,
#header .nav li.current-menu-item, #header .nav li.current-menu-item a,
#header .nav li.current-menu-item + li, #header .nav li.current-menu-item + li a,
#footer .nav li:first-child, #footer .nav li:first-child a,
#footer .nav li.current-menu-item, #footer .nav li.current-menu-item a,
#footer .nav li.current-menu-item + li, #footer .nav li.current-menu-item + li a  {
	border: none;
}

#header .nav li a:hover, #footer .nav li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#header .nav li.current-menu-item a, #footer .nav li.current-menu-item a {
  background-color: #00b9ff;
  font-weight: bold;
  color: #ffffff;
}

#wrapper {
  line-height: 1.5em;
  background: url('../img/sidebar.png') 0 0 repeat-y;
}

#wrapper p {
  margin-bottom: 1em;
}

#wrapper strong {
  font-weight: bold;
}

#wrapper em {
  background-color: #fffac1;
}

#wrapper .flags {
  overflow: auto;
}

#wrapper .flags li {
  float: left;
}

#wrapper .flags li a {
  display: block;
  width: 20px;
  height: 13px;
  margin: 0 8px 8px 0;
  border: 1px solid #0000ee;
}

#wrapper .flags li a img {
  width: 20px;
  height: 13px;
}

#main h1 {
  font-size: 2em;
  font-weight: normal;
  line-height: 1em;
  padding-top: 1em;
  padding-bottom: 1em;
  color: #0076a3;
}

#main h2 {
  font-size: 1.25em;
  font-weight: bold;
  color: #ff8040;
}

#main address {
	font-style: italic;
}

#main #copyright {
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid #acacac;
  font-size: 0.9em;
}

#main #copyright {
  font-size: 0.9em;
}

#main #copyright h2 {
  font-size: 1.1em;
  color: #434644;
}

#main a.print {
	margin-top: 1em;
	display: block;
}

#main ul {
	list-style: disc;
	padding-left: 30px;
	padding-bottom: 1em;
}

#sidebar {
	padding-top: 10px;
}

#sidebar form {
	margin-top: 6px;
	margin-left: 10px;
}

#sidebar p, #sidebar .nav, #sidebar ul, #sidebar > a {
  margin: 0 10px;
}

#sidebar a {
  color: #333333;
}

#sidebar h1 {
	margin: 24px 0 10px;
	font-size: 24px;
	text-align: center;
	text-transform: uppercase;
	
	/* comment out to make green */
	color: #ff8040;
}

#sidebar .nav {
  margin-bottom: 1em;
  padding-bottom: 3em;
  border-bottom: 1px solid #c3e56c;
}

#sidebar .nav li {
  width: 240px;
  position: relative;
  margin-left: -20px;
}

#sidebar .nav li a {
  display: block;
  line-height: 30px;
  padding-left: 30px;
  background: url('../img/handout.gif') 10px 8px no-repeat;
}

#sidebar .nav li:hover {
  background-color: #e3efc7;
}

#sidebar .nav > ul > li:hover > a {
  height: 28px;
  border-bottom: 2px solid #88a43e; 
}

#sidebar .nav li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 230px;
  width: 240px;
  background-color: #e3efc7;
}

#sidebar .nav li:hover > ul {
  display: block;
}

#sidebar .nav li ul li {
  margin-left: 0;
}

#sidebar .nav li ul li a {
	background-image: url('../img/handout-child.gif');
}

#sidebar .nav li ul li a:hover {
  color: #ff8040;
}

#sidebar a.all {
  font-style: italic;
}

#feature {
  width: 180px;
  margin-bottom: 10px;
  padding: 10px;
  -webkit-box-shadow: 0 0 10px #cccccc;
}

#feature img {
  width: 190px;
}

.results dd {
	margin-bottom: 20px;
	padding: 0 0 20px 20px;
	border-bottom: 1px solid #acacac;
}

.results dd:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.sponsors li {
  float: left;
}

#footer .translator p {
	display: block;
	float: left;
}

#footer .translator {
	width: 70%;
	margin: 0 auto;
	height: 3em;
	line-height: 3em;
}

#footer .translator #translation_bar {
	display: block;
	float: left;
	height: 15px;
	margin-top: 10px;
}

#footer .translator a {
	display: block;
	float: left;
	margin: 2px 0 0 5px;
	height: 11px;
	line-height: 3em;
}

#footer .translator img {
	display: block;
}