* {margin:0;padding:0;}
body {font-family:arial;}
img{border:none;}
a {color:#000;text-decoration:none;}
a:hover {text-decoration:underline;cursor:pointer;}
p {margin: 0.5em 0;}
h1 {font-size:140%;font-weight:normal;}
h2 {font-size:130%;font-weight:normal;}
h3 {font-size:120%;font-weight:normal;}
em {font-style:italic;}
b {font-style:bold;}

/* Generic classes */
.clear {display:block;clear:both;}
.lerMais {background:transparent url(../images/graphic/cross.gif) no-repeat left center;float:right;padding:0.5em 0 0.5em 14px;text-decoration:underline;}
.errorMessage {color:red;}

/* Header */
#header {background-color:#000;position:fixed;width:100%;height:329px;z-index:1;}
#header a {font-size:90%;position:absolute;}
#header .title {background:transparent url(../images/graphic/opacityblack.png) repeat left top;color:#fff;margin:14px;padding:0.5em;}
#header .fade {position:absolute;top:0;left:998px;}

/* Page */
#page {padding:329px 0 29px;display:block;float:left;width: 100%;}

/* Menu */
#menu {background-color:#fff;padding:14px 0 0 14px;position:relative;z-index:2;}
#menu .logo {float:left;}
#menu ul {float:left;list-style-type:none;padding:32px 0 0 26px;}
#menu ul li {color:#000;float:left;font-size:90%;padding:10px;}

/* Content */
#content{background-color:#fff;padding-top:12px;position:relative;z-index:2;}

/* Context Menu */
.contextMenu {border:1px solid #000;border-bottom:none;clear:right;float:left;margin:14px 0 0 14px;position:relative;width:212px;}
.contextMenu ul {list-style-type: none;}
.contextMenu ul li {border-bottom:1px solid #000;display:block;font-size:90%;width:100%;}
.contextMenu ul li a {display:block;padding:6px 4px 7px 5px;}
.contextMenu .title {background-color:#333333;color:#fff;width:100%;}
.contextMenu .title h3 {font-weight: normal;letter-spacing: 0.5em;padding:2px 3px 2px 7px;text-transform: uppercase;}

/* Homepage generic components*/
#destaque, #agenda, #material, #noticias, #contact {border:1px solid #000;clear:right;float:left;margin:14px 0 0 14px;min-height:412px;position:relative;width:512px;}
#material .pager, #agenda .pager, #noticias .pager {float:right;font-size:90%;margin:7px;}
#material .title, #agenda .title, #noticias .title {background-color:#333333;color:#fff;bottom:0px;position:absolute;width:100%;}
#material .title h3, #agenda .title h3, #noticias .title h3 {font-weight: normal;letter-spacing: 0.5em;padding: 2px 3px 2px 7px;}

/* Destaque */
#destaque .header {background-color:#000000;display:block;height:289px;overflow:hidden;position:relative;}
#destaque .header img {display:block;position:absolute;width:100%;}
#destaque .header h1 {background:transparent url(../images/graphic/opacitywhite.png) repeat left top;bottom:4px;position:absolute;width:100%;}
#destaque .header h1 a {display:block;padding:2px 7px 3px 8px;width:100%;}
#destaque .description {font-size:90%;padding:7px;}

/* Agenda */
#agenda .normal {background-color:#f5f5f5;color:#000;margin:5px 0;padding:2px 3px 3px 4px;}
#agenda .fixe {background-color:red;color:#fff;margin:5px 0;padding:2px 3px 3px 4px;}
#agenda .fixe a {color:#fff;}

/* Article Preview */
.postPreview {margin:7px;}
.postPreview .image {background-color:#fff;float:left;height:136px;width:203px;}
.postPreview img {width:203px;}
.postPreview .content {font-size:90%;padding:7px 7px 10px 215px;}
#noticias .postPreview .image {height:80px;width:120px;overflow:hidden;}
#noticias .postPreview img {width:120px;}
#noticias .postPreview .content {padding:0px 7px 10px 132px;}
#noticias .postPreview h2 {font-size:110%}
#noticias .postPreview .lerMais {padding:0px 0 4px 14px;}
#material .postPreview {margin:14px 7px 0 8px;}

/* Article View */
.post {background-color:#fff;border:1px solid #000;float:left;width:512px;margin:14px 0 0 14px;}
.post .header h1 {padding: 0.1em 0.2em 0.2em;}
.post .header img {width:100%;}
.post .content, .post .author, .post .nav, .comment .idea {background-color:#fff;font-size:90%;padding:6px 7px 7px 8px;}
.post .content ol, .post .content ul {list-style-position: inside;list-style-type: decimal;}
.post .content ol li, .post .content ul li {display: list-item;position: relative;margin:1em 0;}
.post .content ol li p, .post .content ul li p {margin:0;}
.post .content p {margin: 1em 0;}
.post .content a {text-decoration:underline;}
.post .author {font-style: italic;text-align: right;}
.post .nav {border-top:1px solid #000;margin:0.5em 0.7em 0.7em;}
.post .comments {border-top:1px solid #000;}
.post .comments h3 {padding:0.5em 7px 0 8px;}
.comments .form {margin:7px 0 0 0;}
.comment {background:#F5F5F5;margin:7px 0;position:relative;}
.comment .idea p {margin:0 14px 0 0;}
.comment .author {font-size:smaller;}
.comment a {font-weight:bold;}
.comment a.cid {border-bottom:1px solid #FFFFFF;border-left:1px solid #FFFFFF;font-size:90%;padding:2px 7px 1px 3px;position:absolute;right:0;top:0;}
.comment .pending {color:red;}
.comments .form {font-size:90%;}
.comments p.hint {text-indent:0;}

/* Quente View */
.quente {position:relative;}
.quente .post {border:1px solid #000;width:1024px;margin:14px 14px 0 14px;position:relative;}
.quente .post .header h1 {float:right;padding: 0.1em 0.2em 0.2em;width:490px}
.quente .post .header img {width:512px;float:left;margin-right:12px;}
.quente .comment {position:static;}

/* Pager */
.yiiPager {list-style-type: none;}
.yiiPager li {float:left;margin-left:0.5em;}
.yiiPager .first, .yiiPager .last {display: none;}
.yiiPager .hidden a, .yiiPager .selected a {color:#777;}
.yiiPager .hidden a:hover, .yiiPager .selected a:hover {text-decoration:none;cursor:default;}

/* User login and menu */
#userMan, #userMenu {border:1px solid #000;font-size:90%;margin:0 14px 0 14px;min-width:512px;}
#userMan form {padding:14px;}
#userMan .row {margin:0 0 14px 0;}
#userMenu ul {display:block;list-style-type:none;}
#userMenu ul li {float:left;margin:14px 0 14px 14px;}

/* Contact */
#contact {padding:14px;width:712px;}
#contact p, #contact .yiiForm {font-size:90%;}
#contact a.facebook {text-decoration:underline;font-weight:bold;}

.portlet
{
	float: left;
	width: 200px;
	font-size:0.9em;
	margin: 0 18px 0 0;
	padding: 3px;
	margin-bottom:15px;
	background-color:#EEE;
}

.portlet .header
{
	color:#555;
	font-size:1.2em;
	font-weight:bold;
	line-height:1;
	padding:5px 10px 6px;
	margin: 0;
	text-align:center;
}

.portlet .content
{
	background:#F5F5F5;
	padding:5px 5px 10px 5px;
}

.portlet ul, .portlet ol
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0 0 0 5px;
	padding: 0;
}

.portlet li
{
	padding: 2px 0 4px 0px;
}

.portlet .row
{
	margin: 0 0 5px 0;
}

.portlet .row .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}



.form
{
	border: 3px solid #EEE;
	background:#F5F5F5;
	padding:10px;
	margin: 0;
}

.form .row
{
	margin: 5px 0;
}

.form .row label
{
	display: block;
	font-weight: bold;
}

.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

.form label.error,
.form span.error
{
	color: #C00;
}

.form input.error,
.form textarea.error,
.form select.error
{
	background: #FEE;
	border-color: #C00;
}

.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

.form .errorSummary ul li
{
	list-style: square;
}

span.tag
{
	padding: 0 4px 0 0;
}

table.dataGrid
{
	background: white;
	border-collapse: collapse;
	width: 100%;
}

table.dataGrid th, table.dataGrid td
{
	font-size: 0.9em;
	border: 1px #AAA solid;
	padding: 0.3em;
}

table.dataGrid th
{
	background: #DDD;
	text-align: center;
}

table.dataGrid th a
{
	color: #555;
	text-decoration: none;
}

table.dataGrid th a:hover
{
	color: #333;
	border-bottom: 1px solid gray;
}

table.dataGrid tr.odd
{
	background: #F5F5F5;
}
/* end of data grid style */

.actionBar
{
	margin: 10px 0;
} 

div.item
{
	margin: 10px 0 0 0;
	border: 1px solid silver;
	padding: 5px;
}

div.yiiForm
{
	border: 2px solid #EEEEEE;
	background: #F5F5F5;
	margin: 0 0 18px;
	padding: 5px;
	width: 550px;
}

div.yiiForm label.required
{
}

div.yiiForm span.required
{
	color: red;
}

div.errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.errorSummary ul li
{
	list-style: square;
}

div.yiiForm p.hint
{
	color: gray;
	font-size: 90%;
	margin: 0 0 0 110px;
}

div.yiiForm fieldset
{
	border: #DDD 1px solid;
	margin: 10px 0;
	padding: 10px;
}

div.yiiForm legend
{
	font-weight: bold;
}

div.yiiForm label
{
}

div.yiiForm div.action
{
	clear: left;
	margin-left: 110px;
	padding: 0.25em 0;
}

div.yiiForm div.simple,
div.yiiForm div.complex,
.yiiForm .row,
.yiiForm .row

{
	clear: left;
	padding: 0.25em 0;
}

div.yiiForm div.simple label,
div.yiiForm div.complex span,
.yiiForm .row label,
.yiiForm .row span
{
	display: block;
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.yiiForm label.error,
div.yiiForm span.error
{
	color: #C00;
}

div.yiiForm input.error,
div.yiiForm textarea.error,
div.yiiForm select.error
{
	background: #FEE;
	border-color: #C00;
}

div.yiiForm div.simple div,
div.yiiForm div.complex div
{
	margin-left: 110px;
}
