/*
	Theme Name: Porto do Rio
	Theme URI: http://www.portosrio.gov.br
	Description: Port flavour.
	Version: 1.0
	Author: Gustavo Saldanha
	E-mail: foxgustavo@gmail.com
*/
body {
	margin: 0px;
	padding: 0px;
	background: #bce0f7;
	color: #666;
	font: 12px Verdana, Arial, Helvetica, sans-serif;
}

h1 {
	color: #666;
/*	border-bottom: 1px solid #999;*/
	background-color: transparent;
	font-weight: normal;
	font-size: 24px;
	margin: 0 0 20px 0;
	padding: 3px 0 7px 3px;
}

h2{
	margin-bottom: 10px;
	font-size: 14px;
}

a, a:visited{
	color: #02679c;
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}

img {
border: none;
}

code {
 font-family: Verdana, Sans-serif, Monaco;
 font-size: 12px;
 background-color: #f9f9f9;
 border: 1px solid #D0D0D0;
 color: #333;
 display: block;
 margin: 14px 0 14px 0;
 padding: 12px 10px 12px 10px;
}

/* Success, notice and error boxes */
.error, .notice, .success{
	padding: .8em; 
	margin-bottom: 1em;
	border: 2px solid #ddd; 
}
.error{
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4; 
}
.notice{ 
	background: #FFF6BF;
	color: #514721; 
	border-color: #FFD324; 
}
.success{ 
	background: #E6EFC2;
	color: #264409; 
	border-color: #C6D880; 
}
.error a{ 
	color: #8a1f11; 
}
.notice a{ 
	color: #514721; 
}
.success a{
	color: #264409; 
}

/* form elements */

.edit a {
	background:url(images/edit.png) no-repeat;
	text-decoration:none;
	width:25px;
	display:block;
}

label {
	font-weight:bold;
	/*width: 12em; */
	
	display: inline;
	float: left;
	width: 140px;
	width: "150px";
	padding-right: 10px;
	
	vertical-align: middle;	
}

label.required {
	font-weight: bold;
}

button, .button {
	width: auto;
	height: 24px;
	padding: 1px 5px 1px 5px;
	margin: 0;
	color: #fff;
	background-color: #215586;			
	border: 1px solid #606060;
	vertical-align: middle;		
}

label.error {
	float: none; color: red; padding-left: .5em; vertical-align: top; 
}

p {
	clear: both; 
}

.submit {
 margin-left: 12em; 
}

em {
 font-weight: bold; padding-right: 1em; vertical-align: top; 
}

fieldset {
	border: 1px solid #cbdced;
	width: 96%;
	padding:10px;
}

legend {
	color:#000;
}

textarea {
	width:250px;
	padding:2px;
	height:100px;
	display:block;
}

/* search form */

form.search {
	position: absolute;
	top: 5px; right: 5px;
	padding: 0; margin: 0;
	border: none;
	background-color: transparent; 
}

/* Layout */

#wrap {
	width: 800px;
	background: #fff;
	border: 1px solid #999;
	margin: 20px auto;
}

div#header {
	height: 35px;
	margin: 0px auto 5px;
	width: 95%;
}

div#header ul {
	padding: 10px 0px 0px;
	white-space: nowrap;
	list-style-type: none;
	margin: 0px;	
}
div#header ul li {
	float:right;
}
#header ul li a:before{
	content:" .: ";
	color:#02679c;
}
div#header ul li.current_page_item a  {
	text-decoration: underline;
}
div#header ul li a {
	display: block;
	text-decoration: none;
	margin:1px 0px;
	text-align:right;
	font-size:10px;
	padding:4px;
	font-weight: bold;
	text-transform: uppercase;
	color: #999;
}
div#header ul li a:hover {
	color: #02679c;
}


#logo {
	background: url(images/header3.jpg) no-repeat;
	height: 170px;
	width: 95%;
	margin: 0px;
	margin-right: auto;
	margin-left: auto;
}

#governo {
	height: 22px;
	background: #ffcc00 url(images/governo.jpg);
}

#sidebar {
	width: 20%;
	float: left;
	line-height: 1.5em;
	display:inline;
	margin: 18px 8px 8px 10px;
	padding: 10px;
	font-size:10px;
}

#sidebar h2 {
	color: #999;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 8px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 0px;
	border-bottom: 1px solid #ccc;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

#sidebar ul {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

#sidebar ul li a {
	border-bottom: 1px solid #ccc;
	color: #02679c;
	display: block;
	text-decoration: none !important;
	margin-left: 0px;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 25px;
	background-image: url(images/navbulle.png);
	background-repeat: no-repeat;
	background-position: 10px 50%;
}

#sidebar ul li a:hover {
	border-bottom-color: #fff;
	color: #666 !important;
	background-color: #eee;
}

#main {
	width: 95%;
	float: right;
	display:inline;
	text-align: justify;
	padding: 10px;
	margin: 10px;
}

#content  {
	width: 96%;
	color: #666;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	background-color: #f9f9f9;
	border: 1px solid #D0D0D0;	
	margin: 14px 0 14px 0;
	padding: 12px 10px 12px 10px;
}

#footer {
	clear: both;
	text-align: center;
	height: 40px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCCC;
	width: 95%;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
}

#footer p{
	padding:10px;
	margin:0px;
}


#searchdiv {
	margin-top: 8px;
	margin-bottom: 15px;
}

/* table */
table {
  width: 100%;
}

table th a:link, th a:visited {
  color: #6f9dbd;
}

table td, th {
/*  padding: .3em .5em;*/
}

table tr.even, tr.odd, tbody th {
  border: solid #d3e7f4;
/*  border-width: 1px 0;*/
}

table tr.odd {
  background-color: #ddecf5;
/*  background-color: #edf5fa;	*/
}

table tr.even {
  background-color: #fff;
}

table tr.odd td.active {
  background-color: #ddecf5;
}

table tr.even td.active {
  background-color: #e6f1f7;
}

table thead tr .headerSortUp {
	background: url(asc.gif) no-repeat right;
}
table thead tr .headerSortDown {
	background-image: url(desc.gif) no-repeat right;
}
table thead tr .headerSortDown, table thead tr .headerSortUp {
background-color: #8dbdd8;
}
table thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table thead th {
	background-color: #ddecf5;
  border-bottom: 2px solid #fff;
  color: #494949;
  font-weight: bold;
}

/* pagination */
.pagination {
	font-size: 80%;
	float:right;
}

.pagination a {
  text-decoration: none;
	border: solid 1px #02679c;;
	color: #02679c;
}

.pagination a:hover {
  text-decoration: none;
	background-color: #02679c;
	border: solid 1px #0082d6;
	color: #fff;
}

.pagination a, .pagination span {
  padding: 0.3em 0.5em;
  margin-right: 1px;
	margin-bottom: 5px;
}

.pagination .current {
  background: #02679c;
	border: solid 1px #0082d6;	
  color: #fff;
  padding: 0.3em 0.5em;
  margin-right: 1px;
	margin-bottom: 5px;	
}

.pagination .current.prev, .pagination .current.next{
	color:#999;
	border-color:#999;
	background:#fff;
}

/* Print Friendly */
#print a {
	display: block;
	margin-left: 0px;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 25px;
	background-image: url(images/print.gif);
	background-repeat: no-repeat;
	background-position: 10px 50%;
}

#content .tableborder {
 border: 1px solid #999;
}
#content th {
 font-weight: bold;
 text-align: left;
 font-size: 12px;
 background-color: #666;
 color: #fff;
 padding: 4px;
}

#content .td {
 font-weight: normal;
 font-size: 12px;
 padding: 6px;
 background-color: #f3f3f3;
}


table.dashboard{margin-left:auto;margin-right:auto;border:0;}
table.dashboard td{padding:15px;text-align:center;}
table.admin{width:100%;}
th.admin{text-align:left;color:#586e83;font-weight:normal;border-bottom:2px solid #d7d7d2;}
td.admin{border-bottom:1px solid #d7d7d2;}
