/* 
	- Documento CSS para TrabajoProject.net - 
	
	{ aqu� esta definido todo el dise�o de la p�gina web }
*/

/* Reglas principales de toda la pagina
----------------------------------------*/
body {
	padding:0;
	margin:0;
	font-size: 10px;
	background: #206FAA;
	/*font-family: Verdana, Arial, Helvetica, sans-serif;*/
	font-family: Arial,Helvetica,sans-serif;
	color: #333333;
}

/* Capa donde entra toda la pagina
------------------------------------*/
#wrap {
	width: 950px;
	margin: 0 auto 0 auto;
	background: #ffffff;
}

/* Cabecera de pagina
-----------------------*/
#header {
	border-bottom: 1px solid #cccccc;
  position:relative;
  height:118px;
}
#header h1 {
	font-size: 3em;
	padding: 20px 0 20px 20px;
	margin: 0;
}
#header h1 span.slogan {
	font-size: 14px;
	display:block;
	padding: 0 0 0 20px;
}
#header h1 a {
	text-decoration: none;
	color: #333333;
}
#header h1 a:hover span {
	text-decoration: underline;
}
#header .addthis_button {
position:absolute;
top:85px;
right:20px;
}
#title {
	width: 350px;
	float: left;
}
#shortnews {
	width: 250px;
	float:right;
	padding: 25px 10px 10px 10px;
}
#search {
	width: 300px;
	float:right;
	padding: 25px 10px 10px 10px;
}
#shortnews p,
#search p {
	margin: 0;
	padding: 0 0 10px;
}

/* Contenido de la pagina y a seguir 'no comment'
--------------------------------------------------*/
#content {
	padding: 0 20px;
}
#content p,
#content ul,
#content ol {
	font-size: 1.4em;
	line-height: 1.6em;
}
#content h1 {
	font-size: 2em;
	padding: 0 0 3px 0;
	margin: 20px 0;
	border-bottom:1px solid #cccccc;
}
a,
a:visited
{
	color: #306495;
	background: inherit;
	text-decoration: none;
}
#content a.tbv:visited {
  font-style:italic;
}

a:hover
{
	color: #73471B;
	background: inherit;
	text-decoration: underline;
}
img.picture {
	padding: 4px;
	border: 1px solid #cccccc;
	margin: 0 10px 10px 0;
}

#header, 
#footer {
	background: #DEEAF2;
}
#footer {
	border-top: 1px solid #ccc;
	padding: 20px;
}
#footer p {
	padding:0;
	margin:0;
	font-size: 1.1em;
}
#footer p a,
#footer p a:visited {
  color: #306495;
	text-decoration: none;
}
#footer .copy {
  width: 500px;
  float: left;
}
#footer .powered {
  width: 300px;
  float:right;
}
.clear,
.clearer,
.clearfloat
{
	clear:both;
  height:0;
  font-size: 1px;
  line-height: 0px;
}

/* columns */
.first_column {
  width: 444px;
  float: left;
}
.second_column {
  width: 444px;
  float: left;
  padding-left: 20px;
}

/* navigation */
#navigation {
  background: #eeeeee;
  border-top: 1px solid #cccccc;
  height: 25px;
  clear: both
}
#navigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 1.4em;
  height: 25px;
}
#navigation ul li {
  display: inline;
}
#navigation ul li a {
  color: #306495;
  display: block;
  text-decoration: none;
  float: left;
  line-height: 25px;
  padding: 0 16px;
}
#navigation ul li a:hover {
  background: #eeeeee;
  color: #73471B;
}

/* news / blog page */
#sidebar
{
	float: right;
	width: 200px;
	padding: 15px 10px;
}
#wrap.side #content {
  float: left;
	width: 690px;
}

/* Yii Framework */
.portlet
{
	-moz-border-radius:7px;
	font-size:0.9em;
	margin: 0;
	padding: 3px;
	margin-bottom:15px;
	background-color:#DEEAF2;
}

.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
{
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	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;
}

.errorMessage
{
	color: red;
}

.form
{
	-moz-border-radius:7px;
	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;
}

.post
{
	margin: 20px 0;
}

.post .title
{
	font-size: 1.8em;
	border-bottom: 1px solid silver;
}

.post .title a
{
	color: #555;
	text-decoration: none;
}

#content .post .title a:hover {
  text-decoration: none;
}

.post .author
{
	color: #888;
}

.post .nav
{
	-moz-border-radius:7px;
	padding: 5px;
	background: #F5F5F5;
}

.post .draft
{
	color: red;
}

.post .published
{
	color: green;
}

.post .archived
{
	color: yellow;
}

.comment
{
	-moz-border-radius:7px;
	padding: 5px;
	background: #F5F5F5;
	margin: 5px 0;
}

.comment .author a
{
	color: #555;
	font-weight: bold;
	text-decoration: none;
}

.comment .author a:hover
{
	color: #333;
	border-bottom: 1px solid gray;
}

.comment .time
{
	color: #888;
	font-size: 0.8em;
}

.comment a.cid
{
	color:#CCC;
	float:right;
	font-size:1.5em;
	font-weight:bold;
	padding:0 5px 5px 5px;
	text-decoration: none;
}

.comment a.cid:hover
{
	color:#555;
}

.comment .pending
{
	color:red;
}

span.tag
{
	padding: 0 4px 0 0;
}

table.dataGrid
{
	background: white;
	border-collapse: collapse;
	width: 100%;
}

table.dataGrid th, table.dataGrid td
{
	font-size: 1em;
	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;
}

p.yellow {
  background: #FFFFCC;
}
p.yellow_border {
  border: 1px solid #F90;
}
