/* --------------------------------
   General
----------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/*iepngfix htc*/
img, div, input { behavior: url("iepngfix.htc") }

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

html {
	font-size: 62.5%; /* reset 1em to 10px */
	height: 100%;
}

body {
	background:#dcdcdc  url('../img/body_azul_5.jpg') no-repeat center top fixed;/*#025685*/
	color: #333333;
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
	padding-top: 20px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: normal;
}

small,.small {font-size: 0.9em;}

a {
	color:#fff /*#ebfaff*/;
	text-decoration: none;
}
a:hover {
	color: #fff /*#ebfaff*/;
	text-decoration: underline;
}

/*p {padding: 0.2em 0 1.2em;}*/
p  {padding:5px}

blockquote, code {
	/*background: #4A4A4A;*/
	/*border: 1px solid #333;*/
	color: #333;
	display: block;
	margin-bottom: 12px;
}
code {
	font: normal 0.9em Verdana,sans-serif;
	line-height: 1.5em;
	padding: 8px 14px;
}
blockquote {
	/*background: #4A4A4A url('../img/quote.gif') no-repeat left top;*/
	padding: 6px 14px 6px 44px;
}
blockquote p {padding: 0.5em 0;}
blockquote table { border:none;}
blockquote a {
	color:#333 /*#ebfaff*/;
	text-decoration: underline;
}
blockquote a:hover {
	color: #333 /*#ebfaff*/;
	text-decoration: underline;
}

/* --------------------------------
   Headings, titles
----------------------------------- */

h1 {font: normal 2em Georgia,sans-serif;}
h2 {font: normal 1.6em Georgia,sans-serif;}
h3 {font: normal 1.4em Georgia,sans-serif;}
h4 {font: bold 1em Georgia,sans-serif;}

h1, h2, h3, h4 {margin-bottom: 5px;}


/* --------------------------------
   Main layout
----------------------------------- */
.clean {clear:both;}

#paper_left {
	/*background: url('../img/paper_left.gif') no-repeat left top;*/
	margin: 0 auto;
	padding-bottom: 34px;
	width: 950px;
}
#paper_right {
	/*background: url('../img/paper_right.gif') no-repeat right bottom;*/
}

#layout_wrapper {
	margin: 0 auto;
	width: 950px;
	background-color: #81abc9;
	/*background-image: url(../img/grain_dark.gif);*/
}
#layout_container {padding: 5px;}
#layout_content {border: 1px solid #000033; height:auto;}

#header_image {
	height: 250px;
	background: #222 url('../img/cab_3.jpg') center top no-repeat;
	border-bottom: 1px solid #222;
	border-top: 1px solid #186298;
}

#header_image_peq {
	height: 120px;
	background: #222 url('../img/cab_3.jpg') center bottom no-repeat;
	border-bottom: 1px solid #222;
	border-top: 1px solid #186298;
}


/* --------------------------------
   Site title
----------------------------------- */

#site_title {
	/*background: /*url(../img/bg_sitetitle.jpg) repeat-x #114d89;*/
	/*background: #fff /*#003366*/;
	background:url(../img/header.jpg) bottom right no-repeat #fff;
	padding: 12px 20px;
	height:60px;
	border-bottom:1px solid #003366;
}
#site_title h1 	{
	color: #003366;
	font: normal 2.5em Georgia,sans-serif;
	margin: 0 0 5px;
}
#site_title h2 {
	color: #003366;
	font: normal 1.1em sans-serif;
	margin: 0;
	float:right;
}
#site_title a {
	color: #003366 /*#ebfaff*/;
	text-decoration: none;
}
#site_title a:hover {
	color: #003366 /*#ebfaff*/;
	text-decoration: underline;
}

#site_title #left{
	float:right;
	clear:both;
	position:relative;
	width:350px;
	margin-top:-5px;
	right:-10px;
	padding:0px;
	font-size:11px;
	}
	
#site_title #left img{
	margin:0px 3px;
	vertical-align:bottom;
	}
	
#site_title #left .col1{
	position:relative;
	width:auto;
	float:left;
	margin-right:30px;
	}

#site_title #left .col2{
	position:relative;
	width:auto;
	float:left;
	margin-right:5px;
	}
	
#site_title #left .col3{
	position:relative;
	width:auto;
	float:right;
	}
	
	
/* --------------------------------
   Navigation
----------------------------------- */

.navigation {
	background: url(../img/navigation_blue.jpg) repeat-x #003366;
	border-top: 1px solid #81ABC9;
	border-bottom: 1px solid #003366;
}
.navigation ul {display: inline; margin: 0;}
.navigation ul li {
	border-right: 1px solid #222266;
	float: left;
	list-style: none;
}
.navigation a {
	color: #fff;
	display: block;
	font: bold 1em Verdana,sans-serif;
	padding: 10px 14px;
	text-decoration: none;
}
.navigation a:hover {
	background: #2364a4;
	color: #fff /*#ebfaff*/;
	text-decoration: none;
}
.navigation li.current_page_item a {
	background: #2364a4;
	color: #fff /*#ebfaff*/;
}

.subnavigation ul {
	display:inline;
	background:#303038;
	float:left;
	width:100%;
	border-top:1px solid #151515;
	}

.subnavigation ul li {
	text-align:center;	
	border-right:1px solid #060606;
	list-style: none;
	float:left;
	width:auto;
	}

.subnavigation a {
	display:block;
	border-top:1px solid #666666;
	border-bottom:1px solid #060606;
	font-size:12px;
	padding: 10px 14px;
	color: #999999;
	}

.subnavigation ul li a:hover {
	background-color: #1F1F1F;
	text-decoration:none;
	color:#fff;
	}


/* Sub navigation */
#subnav a {
	padding: 10px;
	font-size: 0.9em;
}


/* --------------------------------
   Main
----------------------------------- */

#main {
	background: #4A4A4A;
	color: #333333;
}


/* --------------------------------
   Bottom
----------------------------------- */

#bottom {
	background: #052A4F;
	border-bottom: 1px solid #00182F;
	border-top: 1px solid #174C7F;
	color: #999999;
	padding: 5px;
}
#bottom ul li {
	border-bottom: 1px solid #00456f;
}
#bottom ul li a {
	color: #81ABC9;
	display: block;
	padding: 4px 6px;
}
#bottom ul li a:hover {
	color: #ebfaff;
	text-decoration: none;
	background-color: #104D89;
}

/* Tag cloud */
#tag_cloud a {color: #777;}
#tag_cloud a:hover {color: #FFC;}

/* --------------------------------
   r
----------------------------------- */

#footer {
	background: #0C385F;
	border-bottom: 1px solid #0C283F;
	border-top: 1px solid #1F547F;
	color: #CCCCCC;
	font-size: 0.9em;
	padding: 10px 12px;
	line-height:16px;
}
#footer a {color: #CCCCCC;}
#footer .right,#footer .right a {color: #CCCCCC;}
#footer a:hover {color: #CCCCCC;}


/* --------------------------------
   Floats
----------------------------------- */

.left {float: left;}
.right {float: right;}
.clear,.clearer {clear: both;}
.clearer,.block {
	display: block;
	line-height: 0;
	font-size: 0;
}
.clearer {height: 0;}


/* --------------------------------
   Misc
----------------------------------- */

/* Columns */
.col3 {width: 31%; margin-right: 3%; text-align:center;}
.col3cent {width: 40%; margin-right: 3%; text-align:left;}
.col3last {width: 21%; text-align:center;}
.col3last {margin-right: 0; float:left}

.col2{width: 20%; margin-right: 3%;}
.col2last {width: 77%; margin-right: 0;}

.col21{ width:15%; margin-right:3%;}
.col22{ width:80%}
.col22_1{ width:68%; margin-right:2%;}
.col22_2{ width:26%}

/* Images */
img.bordered {padding: 3px; background: #666;}

/* Text */
.tleft {text-align: left;}
.tcenter {text-align: center;}
.tright {text-align: right;}
.vtop {vertical-align: top;}

/* Icons */
span.comment {background: url('../img/icon_comment.gif') no-repeat left center; padding-left: 18px;}

/* Label */
.label {
	background: #222 url('../img/post_top.gif') repeat-x left top;
	border-bottom: 2px solid #555;
	color: #BBB;
	margin: 0;
	padding: 0.5em 0.8em 0.6em;
}

/* Margin, padding, width, height */
.ptb10 {padding: 10px 0;}

/* --------------------------------
   Posts
----------------------------------- */

.post {
	background: #fff /*#00456f*/;
	border-bottom: 1px solid #00314F;
}
.post a{color:#333333; text-decoration:underline}
.post a:hover {text-decoration:none}
.post_top {
	background: #003366 url('../img/post_top_azul.jpg') repeat-x left top;
	border-bottom: 4px solid #00284F;
	border-top: 1px solid #186298;
	height:5px;
	padding: 10px 16px 13px;
	clear:both;
}
.post_title h2 {
	color:#FFFFFF;
	font-size: 2em;
	margin: 0px;
	padding: 0px;
}
.post_body {
	/*background: url('../img/post_body.jpg') no-repeat top left;*/
	border-top: 1px solid #003366;
	padding: 16px 16px;
}
.post_body_no {
	background: #f4f4f4; /*url('../img/post_body.jpg') no-repeat left top;*/
	border-top: 1px solid #003366;
	padding:0px ;/*30px 16px 20px 16px/
}
.post_body_taller {
	background: url('../img/post_body_taller.jpg') no-repeat right bottom;
	border-top: 1px solid #003366;
	padding: 30px 16px 20px 16px;
}
.h_item {
	margin-top:10px;
	margin-bottom: 10px;
	/*margin-top:20px;*/
}
	/*.post_body .left {
		width:54%;
		float:left;
	}*/
	/*.post_body .right {
		width:40%;
		float:right;
	}*/
.post_metadata {padding: 10px;}
.post_metadata .content {
	background: #424242;
	color: #999;
	font-size: 0.9em;
	padding: 10px 12px;
}
.post_metadata a {color: #BBB;}
.post_metadata a:hover {color: #DDD;}

.post_body ul, .post_body ol {margin: 0 0 1em 1.5em;}
.post_body ul {list-style: disc;}
.post_body ol {list-style: decimal;}


/* ----------------------------------------
  Forms
------------------------------------------- */

form {margin: 0; padding: 0;}

/* Inputs */
input#s, textarea, input.styled {
	background: #DDD;
	border: 2px solid #003366;
	font: normal 1em Verdana,sans-serif;
	padding: 3px;
	width: 160px;
}
textarea {width: 440px;}

/* Seachform */
table.search {
	border-collapse: collapse;
	width: 250px;
}
table.search td {vertical-align: top;}


/* ----------------------------------------
   Comments
------------------------------------------- */

.comment_gravatar {width: 48px;}
.comment_gravatar img {
	background: #666;
	border: 1px solid #444;
	padding: 2px;
}
.comment_author {
	color: #EEE;
	padding-top: 2px;
}

/* ----------------------------------------
   Lists
------------------------------------------- */

.nicelist {padding: 0;}
.nicelist ol {margin: 0;}
.nicelist ol li {
	border-bottom: 1px solid #333;
	border-top: 1px solid #505050;
	list-style: none;
	padding: 8px 10px 1px;
}
.nicelist ol li:first-child {border-top: none;}
.nicelist li.alt {background: #444;}
.nicelist .body {padding-top: 5px;}
.nicelist .date {
	color: #999;
	font-size: 0.9em;
	padding-top: 4px;
}
.nicelist .date a {
	color: #BBB;
	text-decoration: none;
}
.nicelist .date a:hover {text-decoration: underline;}


/* ----------------------------------------
   Archives
------------------------------------------- */

.archive_title {font: normal 1.4em sans-serif;}
.archive_title a {text-decoration: none;}
.archive_title a:hover {text-decoration: underline;}
.archive_postinfo {padding-bottom: 6px;}


/* ----------------------------------------
   Pagination
------------------------------------------- */

.pagenavigation {
	background: #555;
	border-top: 1px solid #444;
	font-size: 0.9em;
	padding: 7px 8px 9px;
}
.pagenavigation a {
	color: #CCC;
	text-decoration: none;
}
.pagenavigation a:hover {
	color: #FFF;
	text-decoration: underline;
}

/* 
   Thumbnails
------------------------------------------------------------------- */

.thumbnails {margin: 0 -0 0em -8px;}
.thumbnails a.thumb {	
	background: url('../img/grain_blue.gif');
	display: block;
	float: left;
	margin: 0 0 8px 8px;
	padding: 3px;
}
.thumbnails a.thumb:hover {
	background-color: #81ABC9;
}
.thumbnails .thumb img {display: block;}



/* 
   Box
------------------------------------------------------------------- */

.box {
	float:right;
	margin-bottom: 1.5em;
	width: 330px;
	}
.box_peq {
	float:right;
	margin-bottom: 1.5em;
	width: 100%;
	height:100%;
	/*background:#2364a4;*/
}
.box_title {
	/*background: url('../img/grain_blue.gif');*/
	background-color:#003366;
	color: #FFFFFF;
	font-weight: bold;
	padding: 5px 8px;
}
.box_content {
	padding: 4px 5px;
	background:#003366;
	color:#FFFFFF;
}
.box li {
	border-top: 1px solid #DDC;
	padding: 4px 6px;
}
.box li:first-child {border-top: none;}


/* 
   Table
------------------------------------------------------------------- */
.bordertab {border:1px solid #003366; background:#ecf4ff;}
table td {
	/*background:#FFFFFF;*/
	padding:0px 0px;
	margin:1px;
	line-height:2em;
}
.tdhead {
	color:#FFFFFF;
	text-align:center;
	background: #003366 url('../img/post_top_azul.jpg') repeat-x left top;
}
.tabrow_gris{
	background-color:#CCCCCC;
	}
.tabrow_azul{
	background-color:#ecf4ff;
	}
.tabrow_azuloscuro{
	background-color:#d4e6ff;
	}
/*
Gallery
-----------------------------------------------------------------------*/
.galleryimage {
	margin: 0 -0 0em -8px;	
}

.galleryimage a {	
	background: url('../img/grain_blue.gif');
	display: block;
	float: left;
	margin: 0 0 8px 8px;
	padding: 3px;
}
.galleryimage a:hover {
	background-color: #81ABC9;
}
.galleryimage  img {
	display: block;
	width:166px;
	height:111px;
}

/* ----------------------------- */

.logo{
	background:url(../img/logo_melma.jpg) top left repeat none;
	width:160px;
	height:80px;
	}
	
.border_bot_blue{
	color:#003366;
	border-left: 15px solid #003366;
	padding-left:10px;
	}
