/* --------------------------------------------------
    General
   -------------------------------------------------- */

body {
	background: #fff;
	min-width: 600px;
}

hr {
	border: 1px solid #e76808;
}

/* --------------------------------------------------
    Links
   -------------------------------------------------- */

a:link {
	color: #d45e08;
}


a:visited {
	color: #a52f0f;
}

a:active {
	color: #ffc62b;
}

a:hover {

}

/* --------------------------------------------------
    Page corners
   -------------------------------------------------- */

.cornerTopLeft {
	height: 100%;
	background: url('/images/left-top-corner.png') top left no-repeat;
}

.cornerTopRight {
	height: 100%;
	background: url('/images/right-top-corner.png') top right no-repeat;
}

.cornerBottomLeft {
	height: 100%;
	background: url('/images/left-bottom-corner.png') bottom left no-repeat;
}

.cornerBottomRight {
	height: 100%;
	background: url('/images/right-bottom-corner.png') bottom right no-repeat;
}

/* --------------------------------------------------
    Branding
   -------------------------------------------------- */

#branding {
	background: url('/images/orangefade.png') repeat-x #ffc62b bottom;
	clear: both;
}

#brandingC {
	background: url('/images/bgfade.png') repeat-y;
}

#title {
	color: #a52f0f;
}

#loginForm {
	float: right;
	padding: 1em;
	padding-bottom: 0;
	line-height: 1.5em;
	text-align: right;
	font-size: 80%;
}

#loginForm input.text {
	width: 8em;
}

/* --------------------------------------------------
    Breadcrumb
   -------------------------------------------------- */

#breadcrumb {
	font-weight: bold;
	font-size: 80%;
	color: #ffc62b;
}

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

#breadcrumb li {
	display: inline;
}

#breadcrumb a {
	text-decoration: none;
}

/* --------------------------------------------------
    Columns
   -------------------------------------------------- */

#wrapper {
	background: #fff0cd;
	padding: 0;
	clear: both;
	border: 2px solid #e76808;
	border-top: 0;
	border-bottom: 0;
}

#navigation {
	float: left;
	width: 17%;
	padding-top: 0.5em;
/*	overflow: auto; */
}

#content {
	float: right;
	width: 82%;
}

#primary {
	float: left;
	width: 66%;
	padding: 0;
}

#primaryC {
	padding-right: 0.5em;
}

#secondary {
	float: right;
	width: 33%;
}

/* --------------------------------------------------
    Menu
   -------------------------------------------------- */

#navigationC ul {
	margin: 0;
	padding-left: 0;
	list-style-type: none;
}

/* --- Menu item */
#navigationC ul li a {
	display: block;
	text-decoration: none;
	font-weight: bold;
	line-height: 1.5em;
	font-size: 95%;
	color: #ffc62b;
	background: #e76808 url('/images/menu-top-right.png') no-repeat top right;
	padding-left: 1em;
	margin-bottom: 2px;
}

#navigationC ul li a:hover {
	background-color: #d45e08;
}

#navigationC ul li a.select {
	color: #fff0cd;
}

/* --- Submenu item */
#navigationC ul ul li a {
	font-size: 80%;
	font-weight: normal;
	padding-left: 2em;
	background: #ffa405;
	color: #d45e08;
}

#navigationC ul li li a:hover {
	background-color: #e69200;
}

#navigationC ul ul li a.select {
	color: #fff0cd;
}


#navigationC ul ul li a span {
	background: url('/images/menu-bottom-right.png') no-repeat bottom right;
}

#navigationC ul li a span {
	display: block;
	background: url('/images/menu-bottom-right.png') no-repeat bottom right;
}

/* --------------------------------------------------
    Boxes
   -------------------------------------------------- */
div.cbb {
	border-radius: 12px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	padding: 1em;
	box-shadow: 3px 3px 5px #777;
	-moz-box-shadow: 3px 3px 5px #777;
	-webkit-box-shadow: 3px 3px 5px #777;
}

/* --------------------------------------------------
    Search box
   -------------------------------------------------- */

#search input.text {
	width: 100%;
}

#search .buttons {
	margin-top: 0.5em;
}

#search div.left {
	float: left;
}

#search input.submit {
	float: right;
	padding: 0;
}

/* --------------------------------------------------
    Valid box
   -------------------------------------------------- */

ul#valid {
	margin: 0;
	margin-left: 1em;
	margin-bottom: 0.3em;
	padding: 0;
}


/* --------------------------------------------------
    Footer
   -------------------------------------------------- */

#footer {
	margin: 0;
	margin-bottom: 0.5em;
	background: url('/images/orangefade-bottom.png') top repeat-x #ffc62b;
}


#footer p {
	margin: 0;
	text-align: center;
	font-size: 80%;
	padding: 0.5em;
}

/* --------------------------------------------------
    Content box (e.g. for news items)
   -------------------------------------------------- */

.box {
	background: #ffffff;
}

.box div.boxcontent {
	border: 2px solid #e76808;
	border-top: 1px solid #e76808;
	border-bottom: 1px solid #ffffff;
}

.box .boxhead a, .box .boxhead h2, .box .boxhead h3, .box .boxfoot p, .boxfoot a {
	color: #ffc62b;
}

.box .boxhead {
	background: #e76808 url('/images/menu-top-left.png') no-repeat top left;
}

.box .hollowhead {
	background: #ffffff url('/images/border-bottom.png') repeat-x top;
	height: 5px;
	margin: 0;
	padding: 0;
}

.box .hollowhead div {
	background: url('/images/border-top-left.png') no-repeat top left;
	height: 100%;
}

.box .hollowhead div div {
	background: url('/images/border-top-right.png') no-repeat top right;
	height: 100%;
}


.box .boxhead h2, .box .boxhead h3, .error .errorhead h3 {
	background: url('/images/menu-top-right.png') no-repeat top right;
}

.box .boxfoot {
	background: #e76808 url('/images/menu-bottom-left.png') no-repeat bottom left;
}

.box .boxfoot p {
	background: url('/images/menu-bottom-right.png') no-repeat bottom right;
}

.box .hollowfoot {
	background: #ffffff url('/images/border-bottom.png') repeat-x bottom;
	height: 5px;
	margin: 0;
	padding: 0;
}

.box .hollowfoot div {
	background: url('/images/border-bottom-left.png') no-repeat bottom left;
	height: 100%;
}

.box .hollowfoot div div {
	background: url('/images/border-bottom-right.png') no-repeat bottom right;
	height: 100%;
}

/* --------------------------------------------------
    Error box
   -------------------------------------------------- */

.error {
	margin-right: 0.5em;
	margin-bottom: 0.5em;
}

.error div.errorcontent {
	background: #ffffff;
	border: 2px solid #ff0000;
}

.error .errorhead h3 {
	color: #ffffff;
}

.error .errorhead {
	background: #ff0000 url('/images/menu-top-left.png') no-repeat top left;
}

.errorbar, .navbar, .infobar {
	margin: 0.5em 0 0 0;
	font-size: 80%;
}

.errorbar {
	background: #ff0000 url('/images/menu-top-left.png') no-repeat top left;
	color: #ffffff;
	margin-right: 0.5em;
}

.infobar {
	background: #e76808 url('/images/menu-top-left.png') no-repeat top left;
	color: #ffffff;
	margin-right: 0.5em; 
}

.infobar a {
	color: #ffc62b;
}

.infobar a:active {
	color: #ffffff;
}

.navbar {
	background: #e76808 url('/images/menu-top-left.png') no-repeat top left;
}

.navbar a {
	color: #ffc62b;
	font-weight: bold;
	text-decoration: none;
}

.errorbar div, .navbar div, .infobar div {
	background:  url('/images/menu-top-right.png') no-repeat top right;
}

.errorbar div div, .navbar div div, .infobar div div {
	background:  url('/images/menu-bottom-left.png') no-repeat bottom left;
}

.errorbar div div div, .navbar div div div, .infobar div div div {
	background:  url('/images/menu-bottom-right.png') no-repeat bottom right;
	padding: 0.2em 0.5em;
}

/* --------------------------------------------------
    Dialog box
   -------------------------------------------------- */

.dialog {
	text-align: center;
	margin: auto;
	width: 20em;
}

/* --------------------------------------------------
    Tables
   -------------------------------------------------- */

table.border th {
	background: #e76808;
	color: #ffc62b;
}

table.border td {
	background: #ffffff;
}

table.border a:link {
	color: #d45e08;
}

/* --------------------------------------------------
    Edit toolbar
   -------------------------------------------------- */

.edit {
	margin-top: 1em;
	border-top: 2px solid #e76808;
	font-size: 80%;
	text-align: right;
}

.edit ul {
	margin: 0;
}

.edit li {
	display: inline;
	float: right;
	padding-left: 1em;
}

/* --------------------------------------------------
    Hacks to work around inadequacies of TinyMCE
   -------------------------------------------------- */

.tt {
    font-family: monospace;
}

/* --------------------------------------------------
    Forms
   -------------------------------------------------- */

fieldset {
 	border: 2px dotted #e76808;
}