@charset "UTF-8";

/*************** GENERAL */
* {
	margin: 0;
	padding: 0;
	font-family: Arial, Tahoma, sans-serif;
}

body {
	font-size: 94%;
	color: #5c5c5c;
	text-align: center;
	background: #ffffff;
	margin-top: .5em;
}

/*************** CONTAINERS */
#header, #content, #issues, #current, #history, #footer, #flashMessage {
	text-align: left;
	margin: 0 auto;
	width: 800px;
}

#header { padding-top: 0.5em; }

#body {
	clear: both;
	width: 100%;
}

#content { padding: 2em 0 1em 0; }

#current {
	margin-bottom: .5em;
	clear: both;
}

#issues { }

#footer {
	clear: both;
	margin-top: 1em;
	text-align: right;
}

/*************** HEADER */
#header a#logo { float: left; }
#header a#logo img { border: 0; }

/*************** CONTENT */
a.rss {
	display: block;
	float: right;
}
#issues a.rss {
	margin-top: .3em;
}
a.rss .icon {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin-right: .5em;
	background: url('/img/rss.png') no-repeat;
	background-position: 0 0;
}
a:hover.rss .icon {
	background-position: -16px 0;
}

/*************** TYPOGRAPHY */
h1 {
	font-size: 1.2em;
	padding: .25em .25em .25em 1em;
	margin: 15px 0 0 220px;
	background: #dff4ba;
	border: 1px solid #3f5519;
	color: #3f5519;
}

h2 {
	font-size: 1.2em;
	margin-top: 1em;
}

h3 {
	color: #2a2a2a;
	font-size: 1.2em;
	line-height: 1.3em;
}

#content p  { margin: .3em 0; }

#current .description p {
	font-size: 1.2em;
	margin: 0.5em 0;
}

#history .description p {
	font-size: 1.1em;
	margin: .8em 0;
	color: #2a2a2a;
}

#history .description h3 {
	font-weight: normal;
}

#issues .description p { margin: 0.1em 0; }
#issues .description p:first-child { margin-top: 0; }

#content a, #content a:visited,
#current a, #current a:visited,
#issues a, #issues a:visited {
	color: 	#3f5519;
}

#content a:hover,
#current a:hover,
#issues a:hover {
	color: #698e29;
	color: #292929;
	text-decoration: none;
}

/*************** LEGENDA */
#content #legenda { 
	float: right;
	width: 8em;
	margin-left: 2em;
}

#content #legenda div {
	display: block;
	clear: left;
}
#history #legenda div.legend-item {
	float: left;
	margin: .2em 2em;
}

/*************** BACK/ADD BUTTONS */
#content a.back-button {
	display: block;
	float: left;
	font-size: 0.9em;
	width: 10em;
	margin: .5em 2em 2em 0;
}

#content a.back-button img {
	float: left;
	margin-right: .2em;
	border: 0;
}

#content a.add-button {
	display: block;
	float: right;
	font-size: 0.9em;
	width: 8em;
	margin: .5em 0 2em 2em;
}

#content a.add-button img {
	float: left;
	margin-right: .5em;
	border: 0;
}

/*************** ISSUE STATUS */
span.status {
	display: block;
	float: left;
	width: 20px;
	height: 20px;
	clear: both;
	background-image: url('/img/status-icon.gif');
	background-repeat: no-repeat;
	background-position: 0 top;
}

#issues span.status { margin: 0.1em; }

#current span.status { margin: 0 5px; }

#history span.status { clear: none; }

#legenda span.status { margin-right: .2em; }

#issues .resolved span.status,
#current.resolved span.status,
#legenda span.status.resolved,
#history span.status.resolved { background-position: 0 top; }

#issues .disruption span.status,
#current.disruption span.status,
#legenda span.status.disruption,
#history span.status.disruption { background-position: -20px top; }

#issues .outage span.status,
#current.outage span.status,
#legenda span.status.outage,
#history span.status.outage { background-position: -40px top; }

/*************** ISSUES INDEX */
a.issue {
	display: block;
	border: 1px solid #b7b7b7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 0.2em;
	padding-right: 30px;
	margin: 0.5em 0;
	text-decoration: none;
	background: url('/img/forward.png') no-repeat right center;
	behavior: url('/js/iepngfix.htc');
}

a.issue.resolved {
	background-color: #dde3d6;
	border-color: #889f6f;
}

a.issue.resolved:hover { background-color: #d3e5be; }

a.issue.disruption {
	background-color: #f4eaa8;
	border-color: #b9a93b;
}

a.issue.disruption:hover { background-color: #f4e584; }

a.issue.outage {
	background-color: #e1d6d6;
	border-color: #a27070;
}

a.issue.outage:hover { background-color: #efc8c8; }

a.issue .title {
	color: #2a2a2a;
	font-size: 1.2em;
	line-height: 1.3em;
	font-weight: bold;
}

a.issue .title .details {
	font-size: 0.7em;
	font-weight: normal;
}

a.issue .created {
	color: #494949;
	float: left;
	padding: 0 0.3em;
	font-size: 0.9em;
	line-height: 1.8em;
	font-weight: bold;
}

a.issue .updated {
	font-size: 0.85em;
	color: #5c5c5c;
	float: right;
	padding: 0.1em 0.3em 0.5em 0.5em;
	letter-spacing: -0.02em;
	font-weight: bold;
	text-align: center;
}

a.issue .updated span {
	letter-spacing: -0.05em;
	font-weight: normal;
}

a.issue .description {
	display: block;
	clear: left;
	font-size: 1.1em;
	color: #292929;
	margin-left: 0.2em;
}

a.issue .description span {
	font-size: 0.7em;	
}

a.issue .controls {
	display: block;
	clear: both;
}

/*************** ISSUE VIEW */
.update {
	display: block;
	clear: both;
}

#current .time {
	font-size: 0.9em;
	color: #5c5c5c;
	padding-left: 30px;
	font-weight: bold;
}

#current .time span {
	letter-spacing: -0.05em;
	font-weight: normal;
}

#history .header {
	background: #dff4ba;
	border: 1px solid #3f5519;
	font-size: 1.1em;
	font-weight: bold;
	padding: 0.1em 0;
}

.update {
	border-bottom: 1px solid #3f5519;
}

.update .controls {
	display: block;
	clear: both;
}

#history .time {
	float: left;
	width: 140px;
	text-align: center;
	margin-bottom: .5em;
}

.update .time span {
	font-size: 1.1em;
	font-weight: bold;
}

#history .description {
	display: block;
	margin-left: 170px;
}

/*************** FORMS */
form {
	clear: both;
	width: 100%;
	text-align: right;
}
form div {
	clear: both;
	vertical-align: text-top;
}
form label {
	display: block;
	font-size: 1.1em;
	text-align: left;
	margin: .2em .5em;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
input, textarea {
	clear: both;
	padding: 0.2em;
	width: 98%;
	margin: .2em 0;
	font-size: 1.1em;
}
input.title {
	font-size: 1.2em;
}
select {
	font-size: 1.1em;
	margin: .2em 0;
	clear: both;
	vertical-align: text-bottom;
}
input[type=submit] {
	display: inline;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}
/*************** MESSAGES */
div.error-message {
	font-weight: bold;
	text-align: center;
	color: #9a0000;
}
div#flashMessage {
	text-align: center;
	padding: .25em 0;
	background: #f2ffe0;
	border: 1px solid #b2d586;
	
}
