/******************************************************************************
 * Calindora CSS Style Definitions (http://www.calindora.com)
 *
 * Copyright (c) 2009 Jason Lynch
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
 * NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
 * USE OR OTHER DEALINGS IN THE SOFTWARE.
 ******************************************************************************/

/******************************************************************************
 * Layout
 ******************************************************************************/

#page {
	margin: auto;
	max-width: 70em;
}

#header {
	padding: 1em;
	text-align: center;
}

#container {
	background: url('/media/img/container-bg.png') repeat-y 74%;
	float: left;
	width: 100%;
}

#content {
	float: left;
	padding: 1em 1% 1em 0;
	width: 73%;
}

#sidebar {
	float: right;
	padding: 1em 0 1em 1%;
	width: 25%;
}

#footer {
	border-top: 1px solid black;
	clear: both;
	padding: 1em;
	text-align: center;
}

/******************************************************************************
 * Tables
 ******************************************************************************/

table {
	border-collapse: collapse;
	margin-bottom: 1em;
	width: 100%;
}

th {
	background: #E5F5FF;
	border-top: 1px solid #102940;
	border-bottom: 1px solid #102940;
	color: #002040;
	height: 2em;
	line-height: 2em;
	padding: 0 10px;
	text-align: center;
}

td {
	padding: 4px 5px;
	text-align: center;
}

table .odd td {
	background: #EEEEF2;
}

td.no {
	color: red;
}

td.yes {
	color: green;
	font-weight: bold;
}


/******************************************************************************
 * Navigation
 ******************************************************************************/

#nav-primary {
	background: url('/media/img/nav-primary-bg.png') repeat-x bottom;
	margin: 0px auto;
	overflow: hidden;
	position: relative;
}

#nav-primary a {
	background: url('/media/img/nav-primary-tab-left.png') no-repeat left top;
	color: #DDDDDD;
	display: block;
	padding: 6px 20px;
	text-decoration: none;
}

#nav-primary a:hover {
	text-decoration: underline;
}

#nav-primary li.active a {
	background: url('/media/img/nav-primary-tab-left-active.png') no-repeat left top;
	color: white;
	padding: 6px 20px 7px 20px;
}

#nav-primary li {
	background: url('/media/img/nav-primary-tab-right.png') no-repeat right top;
	float: left;
	margin: 0px 5px;
}

#nav-primary li.active {
	background: url('/media/img/nav-primary-tab-right-active.png') no-repeat right top;
}

#nav-primary ul {
	float: left;
	font-weight: bold;
	list-style: none;
	margin: 0px 0px 0px 20px;
	overflow: hidden;
}

#nav-secondary {
	background: url('/media/img/nav-secondary-bg.png') repeat-x bottom;
	clear: both;
	width: 100%;
}

#nav-secondary a {
	color: #DDDDDD;
	display: block;
	float: left;
	font-weight: bold;
	padding-bottom: 1px;
	text-decoration: none;
	white-space: nowrap;
}

#nav-secondary li.active a {
	color: white;
	text-decoration: underline;
}

#nav-secondary a:hover {
	text-decoration: underline;
}

#nav-secondary li {
	background: url('/media/img/nav-secondary-separator.png') no-repeat left 45%;
	float: left;
	margin: 0px;
	padding: 0.5em 15px 0.8em 17px;
}

#nav-secondary li.first {
	background: none;
}

#nav-secondary ul {
	font-size: 0.85em;
	list-style: none;
	margin: 0px auto;
	overflow: hidden;
}

/******************************************************************************
 * Tags
 ******************************************************************************/
/*h1 {
	margin: auto;
	width: 25em;
}

#sidebar h2 {
	font-size: 90%;
}

#sidebar p {
	margin: 0.5em 0;
}

/******************************************************************************
 * Classes
 ******************************************************************************/
/***
#sidebar .info {
	background: #87AECF;
	padding: 0.8em;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
}*/
