/*  HTML5 ✰ Boilerplate  */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,  footer, header, hgroup,
menu, nav, section, summary, time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display:block;
}
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }


body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

body, select, input, textarea {   color: #444; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }

a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

nav ul, nav li { margin: 0; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {  padding: 15px;  white-space: pre;  white-space: pre-wrap;  white-space: pre-line;  word-wrap: break-word; }
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px;  -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red;  box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px);  clip: rect(1px, 1px, 1px, 1px); }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after {  content: "\0020"; display: block; height: 0; visibility: hidden;	 }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


@media all and (orientation:portrait) {

}

@media all and (orientation:landscape) {

}

@media screen and (max-device-width: 480px) {


  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; }
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}


body {
	font-size: 87.5%;
	font-family: museo-sans-1, museo-sans-2, 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4 {
	font-family: 'Lucida Grande', Verdana, Helvetica, Arial;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.highlight {
	border-bottom: 2px solid #cc6633;
	background: none;
	font-weight: bolder;
}

.unedited {
	font-style: italic;
}

#header {
	position: relative;
	width: 950px;
	margin: 0 auto;
}

#logo {
    float: left;
    margin: 0.5em 0;
}

#userbox {
    display: block;
    position: relative;
    right: 0;
    float: right;
	margin: 0.5em 0;
	padding: 0;
}

#userbox ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
	display: inline;
	font-size: small;
}

#userbox li {
    float: left;
    padding-right: 0.5em;
    margin-left: 0.5em;
    border-right: 1px #777 solid;
}

#userbox_username {
	font-weight: bold;
}

#userbox ul.stats {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: large;
}

#userbox ul.stats li {
	display: inline;
}

#main_nav {
    display: block;
    float: right;
    clear: right;
    margin-top: 2.5em;
    margin-bottom: 1em;
	min-width: 560px;
	height: 2em;
}

#main_nav ul {
    margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
}

#main_nav li {
	float: left;
	list-style: none;
	margin-left: 1.5em;
}

#main_nav li a {
	display: block;
	padding: 0 0.5em;
	color: #515151;
	text-decoration: none;
	text-align: center;
	font-size: 1.5em;
	cursor: pointer;
	border-top: 5px #AAA solid;
}

#main_nav li a.selected, #main_nav li a:hover {
	border-top: 5px #444 solid;
	color: #000;
}

#main_nav li a.selected {
	font-weight: bold;
}

/** Contents */

#body {
    padding-top: 0.25em;
}

.header h2 {
    margin: 0;
}

#messages ul {
    list-style-type: none;
    margin: 0 5em;
}

.info {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.info {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.info a {color:#514721;}

.sub_nav {
    margin-top: 1em;
}

.sub_nav ul {
    margin: 0;
	list-style: none;
}

.sub_nav li {
	margin-bottom: 1em;
}

.sub_nav li a {
	text-decoration: none;
	font-size: 150%;
	color: #515151;
}

.sub_nav li a.selected, .sub_nav li a:hover {
	border-top: 3px #AAA solid;
	color: #000;
}

#content {
}

#sidebar {
}

.user {
	border-color: #cc6633 !important;
}
.company {
	border-color: #006478 !important;
}
.charity {
	border-color: #6EA435 !important;
}
.userbg {
	background-color: #cc6633 !important;
}
.companybg {
	background-color: #006478 !important;
}
.charitybg {
	background-color: #6EA435 !important;
}

/** Panel */

.panel {
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
}

.panel .title, .panel .content {
	padding: 0.5em;
}

.panel .title h3, .panel .title h4 {
	margin: 0;
	color: #EEE;
}

.panel .title img.icon {
	float: right;
}

.panel .content ul {
	list-style: none;
	margin: 0 0 0.5em 0;
	padding: 0;
}

.panel .content li {
	border-bottom: 1px #CCC solid;
	margin-top: 4px;
}

.panel .content li.first {
	font-size: large;
}

.panel .content ul li a {
	text-decoration: none;
}

.panel .content ul li img {
	vertical-align: text-bottom;
}

.panel hr {
	margin: 0.25em 0;
}

/** specific panels */

#stats {
    margin: 0;
}

#stats li {
    margin: 0;
}

#stats .number {
    font-size: 3em;
}

/** Menu */

.panel ul.menu li {
	width: 100%;
	border: none;
}

.panel ul.menu li.selected, .panel ul.menu li a:hover {
	background-color: #FFFFCC;
}

.panel ul.menu li.selected {
	font-size: medium;
}

.panel ul.menu a {
	display: block;
	width: 100%;
	text-decoration: none;
}

#content .panel {
	margin: 0 10px 0.5em 0;
	border: 5px #000 solid;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	CCborderRadius: 5px;
}

#content .panel .title, #content .panel .content {
	padding: 5px;
}

#content .panel .title h3 {
	margin: 0;
}

/** Box */

.box {
	margin-bottom: 0.5em;

	border-top: 2px solid #cc6633;
	border-left: 1px solid #cc6633;
	-webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-right-radius: 10px;
	CCborderRadiusBR: 10px;

	background-color: #EED;
}

/** Icons */

img.icon {
	margin-right: 5px;
	vertical-align: middle;
}

/** Buttons */

.action {
	margin: 2px 0;
	padding: 2px 10px;
	background-color: #164464;
	text-decoration: none;
	color: #FFF;
	font-size: small;
	font-weight: bold;
	border: 1px outset #000;
	border-style: none outset outset none;
	cursor: pointer;
	vertical-align: middle;
}

.action:hover {
	background-color: #265474;
	color: #FFF;
}

a.button {
	text-decoration: none;
}

/** Forms */

form {
	font-size: small;
}

input.text, input.title, textarea, select {
	margin: 0; padding: 0;
}

input[type="checkbox"], input[type="radio"], input.checkbox, input.radio {
	display: inline;
}

fieldset {
	margin: 1em 0 0 0;
	padding: 1em;
}

fieldset.buttons {
	margin-left: 1em;
	border-style: none;
}

legend {
	color: #445566;
	font-weight: bold;
}

fieldset ol {
	margin: 0;
	padding: 0.5em 1em 0 1em;
	list-style: none;
}

fieldset li {
	padding-bottom: 1em;
}

fieldset label {
	font-weight: bold;
	display: block;
	vertical-align: middle;
	color: #445566;
}

fieldset p {
	margin: 0 1em 1em 0;
}

form.compact fieldset {
	margin: 0; padding: 0;
}

form.compact fieldset.submit {
	margin: 0.5em 0 1.5em 1em;
	border-style: none;
}

form.compact legend {
}

form.compact fieldset ol {
	margin: 0.5em 0;
	padding: 0 1em;
	list-style: none;
}

form.compact p {
	margin: 0.25em 0;
	padding: 0 1em;
}

ul.errorlist li {
	list-style: none;
	padding:.8em;margin-bottom:1em;border:2px solid #ddd;
	background: #FBE3E4;color: #8a1f11;border-color: #FBC2C4;
}

.help_text {
	font-style: italic;
	font-size: smaller;
}

/** Messages */
.message {
	margin: 0 0 1em 2em;
	width: 80%;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.message .title {
	font-size: large;
	margin-bottom: 0.5em;
}

.message .button {
	display: block;
	margin-top: 1em;
	font-size: large;
	font-weight: bold;
	text-align: center;
}

.message .button a {
	margin: 0 auto;
	padding: 0.5em 1em;
	display: inline;
	text-decoration: none;
	cursor: hand;
	border: 2px solid;
	background: #FFF6BF;
	color: #514721;
	border-color: #FFD324;
}

/**
 *  Footer
 */

#footer {
	border-top: 2px #cc6633 dotted;
	margin: 2em 0;
	padding-top: 1em;
	font-size: small;
	color: #444;
	height: 150px;
}

#footer div {
	height: 150px;
	border-right: 1px #AAA solid;
}

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


