/*
Stylesheet for the Trawna Publications site.

Colors
======
#5600b6: Purple - header background
#cc6f1c: Orange - headings (204,111,28)
#ffdd8a: Light Orange - hovers (255,221,138)
#e2e2e2 - Light Grey - Non-content background
#002fa7: Deep blue - no longer used
*/

html,
body {
	margin: 0;
	padding: 0;
}

/* Layout */

html {
	color: #1d1d1d;
	background-color: #e2e2e2;
	min-width: 800px;
	font-family: sans-serif;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	color: #cc6f1c;
	background-color: transparent;
	font-family: "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif; /* Lucida Grande works best on OS X, Tahoma is very similar and a system font on Windows */
}

a {
	color: #0033CC;
	text-decoration: underline;
}

a:focus {
	outline: none;
}

img {
	border: none;
}

#wrap,
#footer,
#header-wrap {
	padding: 0 30px;
}

#wrap {
	color: #1d1d1d;
	margin: 0 0 0 10px; /* Offset for the content div drop-shadow */
}

#footer {
	text-align: center;
	font-size: 75%;
	font-weight: bold;
	padding: 1em 0;
}

	#footer ul {
		display: inline;
		padding: 0;
		margin: 0 0.5em 0 0;
	}

	#footer li {
		display: inline;
		margin: 0;
		padding: 0.25em 0;
		border-left: 2px solid #cc6f1c;
	}

	#footer li.first {
		border-left: 0;
	}

	#footer a {
		margin: 0;
		padding: 0.25em 0.5em;
		color: #cc6f1c;
		text-decoration: none;
	}

		#footer a.selected
		{
			color: #1d1d1d;
			background-color: transparent;
		}

	#footer a:hover {
		color: #1d1d1d;
		background-color: #ffdd8a;
		text-decoration: none;
	}

#header {
	height: 90px;
	background: #5600b6 url(/img/background/background.png) repeat-x top left;
	color: white;
	padding: 0;
}

	#header img {
		float: left;
	}

	#header h1 {
		font-size: 250%;
		font-family: "BankGothic Md BT", arial, helvetica, sans-serif;
		float: right;
		color: white;
		padding: 0 10px 0 0;
		margin-top: 0;
	}

	#header a {
		color: white;
		background-color: transparent;
		text-decoration: none;
	}

	#header a:hover {
		color: white;
	}

/* Set the menu position for browsers that understand the meaning of
   "absolute" positioning of nested divs.
*/
#nav {
	position: absolute;
	top: 62px;
	right: 10px;
}

#nav, #footer {
	font-family: "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif; /* Lucida Grande works best on OS X, Tahoma is very similar and a system font on Windows */
}

#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 14px;
	clear: both;
}

	#nav ul li {
		float: left;
		height: 28px; /* li>a = 15, plus 4+9 padding; IE6 needs this :-( */
	}

	#nav ul a {
		margin: 0 3px 0 0;
		padding: 4px 12px 9px 12px;
		background-color: #cc6f1c;
		color: #ffdd8a;
		text-decoration: none;
		-moz-border-radius: 4px 4px 0 0;
		-webkit-border-top-left-radius: 3px;
		-webkit-border-top-right-radius: 3px;
		border-radius: 3px 3px 0 0;
	}

	/* IE6 doesn't like these definitions, so we use the child selector hack to hide them from it */
	#nav ul li>a {
		display: block;
		height: 15px;
	}

		#nav a.selected
		{
			color: #cc6f1c;
			background-color: #e2e2e2;
			font-weight: bold;
		}

	#nav ul a:hover {
		color: #cc6f1c;
		background-color: #ffdd8a;
	}

.entry {
	float: left;
	width: 70%;
	margin: 0;
}

.wide_entry {
	margin: 0;
}

#content {
	/* margin: 0 0 0 10px; */
	margin: 0 auto;
	background: white;
	max-width: 65em;
}

#co_right_shadow {
	background: url(img/wrap_shadow_right.png) right top repeat-y;
}

#co_bottom_shadow {
	background: url(img/wrap_bottom_shadow.png) left bottom repeat-x;
}

#co_top_shadow {
	background: url(img/wrap_top_shadow.png) left top repeat-x;
}

#co_top_right_corner {
	background: url(img/wrap_top_right_corner.png) right top no-repeat;
	padding-top: 13px;
}

#co_right_bottom_corner {
	padding-bottom: 10px;
	padding-right: 16px;
	background: url(img/wrap_shadow_right_bottom_corner.png) right bottom no-repeat;
}

#content-pad {
	padding: 20px 25px 20px;
}

.cleaner {
	clear: both;
	height: 1px;
	margin-top: -1px;
	display: block;
}

	#wrap a.add,
	.button {
		background: url(img/sidebar-button.png) 0 0 no-repeat;
		height: 33px;
		padding: 0 0 0 14px;
		display: inline-block;
		color: #1d1d1d;
		font-size: 13px;
		font-weight: bold;
		text-decoration: none;
		font-weight: bold;
	}

		#wrap a.add span,
		.button span {
			padding: 8px 20px 12px 0;
			margin: 0 0 0 20px;
			display: block;
			background: url(img/sidebar-button.png) top right no-repeat;
		}

		#wrap a.add:hover,
		.button:hover {
			color: #2c4d66;
		}

	#sidebar h4.add {
		background: url(img/add.png) center left no-repeat;
		padding: 0 0 0 21px;
		font-size: 13px;
	}

	#sidebar a.add + a.add {
		margin-top: 7px;
	}


.button {
	color: red !important;
	background-image: url(img/button_on_white.png);
	padding: 0;
	height: 35px;
}

	.button span {
		background-image: url(img/button_on_white.png);
	}

/* Headings */

h2 {
	font-weight: normal;
	margin: 18px 0 12px 0;
}

.node h2 {
	font-size: 125%;
	font-weight: bold;
	background: #ffdd8a;
}

/* IE6 doesn't like these definitions, so we use the child selector hack to hide them from it */
.node>h2 {
	margin: -20px -25px 14px;
	padding: 15px 25px;
}

/* Messages & errors */

#flashMessage {
	color: white;
	background: #3b8f30;
	border: 1px solid #62e350;
	padding: 5px;
	margin: 0 0 14px 0;
}

.error-message {
	color: #cc0000;
}


/* Sidebar */

#sidebar {
	float: right;
	width: 30%;
	margin: 5px 0 0 0;
}

	#sidebar h2 {
		margin: 0;
	}

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

	#sidebar .input {
		padding: 0;
	}

	#sidebar > ul > li {
		margin: 0;
		padding: 8px 14px;
	}

	#sidebar > ul > li:last-child {
		border-bottom: none;
	}

.sidebar-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	left: -14px;
}

	#sidebar .sidebar-menu li {
		margin: 0;
		padding: 0;
	}

	.sidebar-menu a {
		display: block;
		padding: 4px 4px 4px 24px;
	}

	#sidebar .sidebar-menu a.current {
		color: white;
		text-decoration: none;
		background-color: #6f6f6f;
	}

.sidebar-menu-alt {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.sidebar-menu-alt li {
		margin: 0 0 5px;
		padding: 0;
	}

	.sidebar-menu-alt a {
		display: block;
		color: #1d1d1d;
		background: #d2d2d2;
		padding: 5px 10px;
		text-decoration: underline;
	}

	.sidebar-menu-alt a:hover {
		text-decoration: none;
		background-color: #969696;
		color: white;
	}

	/* Sidebar box */

	#sidebar .sidebar-box {
		background-color: #f5f5f5;
		border: 2px solid #cbcbcb;
		border-width: 0 2px 2px 0;
		border-bottom-color: #c0c0c0;
		padding: 12px;
		margin: 8px 0 6px 10px !important;
	}

	#sidebar .sidebar-box:last-child {
		border-bottom: 2px solid #c0c0c0;
	}

	.sidebar-box h4 {
		margin: 0 0 6px 0;
		font-size: 12px;
		font-weight: bold;
	}

	.sidebar-box .input {
		margin: 10px 0;
	}

	.sidebar-box .submit {
		margin-top: 16px;
	}

		.sidebar-box .input input {
			width: 96%;
			font-size: 12px;
		}

		.sidebar-box .submit input,
		.sidebar-box select {
			font-size: 12px;
		}

.edited-item-link {
	font-size: 14px;
	line-height: 17px;
}

	/* Sidebar search */

		#sidebar .search .input {
			margin-bottom: 0;
		}

		#sidebar .search label {
			font-weight: bold;
		}

		#sidebar .search input {
			width: 99%;
			margin: 2px 0 0 0;
			display: block;
			font-size: 14px;
			padding: 2px;
		}

#sidebar-search-results {
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

	#sidebar-search-results li {
		margin: 0;
		padding: 0;
	}

	#sidebar-search-results a {
		display: block;
		padding: 3px 6px;
		background: #0033CC;
		color: white;
		text-decoration: none;
	}

#sidebar_content, #testimonial {
	padding: 0 0 0 2em;
}

blockquote {
	background: url(img/q_open.gif) no-repeat top left;
	padding: 0 0 0 30px;
	margin: 0;
}

blockquote p:last-child {
	height: 25px;
	padding: 0 30px 0 0;
	background: url(img/q_close.gif) no-repeat bottom right;
}

#featured {
}

.box {
	border: 1px solid #cc6f1c;
	width: 41%;
	float: left;
	padding: 0 2%;
	margin: 0 1% 1em;
	position: relative;
}

.box ul {
	list-style: url(img/bullet.png);
}

.small {
	font-size: 75%;
}

.left {
	float: left;
	margin-right: 10px;
	position: relative;
}

.right {
	float: right;
	margin-left: 10px;
	position: relative;
}

.clear {
	clear: both;
}

.screenshot {
	border: 1px solid #cc6f1c;
	padding: 2px;
}

.body-process #content li {
	margin: 1em 0;
}

.body-contacts div.page {
	background: url(/graphics/backgrounds/toronto.jpg) no-repeat bottom right;
	min-height: 380px;
}
