/*
Theme Name: Comunity
Description: Tema para razon artificial.
Version: 0.1
Author: Adrigm
Author URI: http://adrigm.es
Tags: green, white, two-columns, fixed-width, right-sidebar
*/

/* RESET */
/* ----------------------------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;

}

ul, ol, ul li, ol li {
	list-style :none outside;
}

.clear {
	clear: both;
}

a {
	color: #5579ba;
	text-decoration: none;
}

a:hover {
	color: #333;
}

a:hover {
}

.centrar {
	text-align: center;
}

/* Main */
/* ----------------------------------------------------------------------------- */

html {
	background-color: #DCE0E8;
	background-image: url(images/body-bg.png);
	background-repeat: repeat-x;
	background-position: top;
}

body {
	font-family: Tahoma, sans-serif, serif;
	font-size: 13px;
	background-image: url(images/sombra_bg.png);
	background-repeat: repeat-y;
	background-position: center;
}

#container {
	margin: 0 auto;
	width: 960px;
	background-color: #E6EAF2;
}

/* Header */
/* ----------------------------------------------------------------------------- */

#header {
	background-image: url(images/header-bg.png);
	background-repeat: repeat-x;
	height: 112px;
}

#sup-nav {
	float: right;
	height: 18px;
	font-size: 0.8em;
	margin-right: 20px;
	padding-top: 10px;
}

#sup-nav a {
	color: #fff;
}

#sup-nav a:hover {
	color: #5579ba;
}

#rss {
	background-image: url(images/rss.png);
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 28px;
	padding-top: 9px;
}

#twitter {
	background-image: url(images/twitter.png);
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 28px;
	padding-top: 9px;
}

#logo h1 a img {
	margin: 20px 0px 0px 20px;
}

/* Topnav */
/* ----------------------------------------------------------------------------- */


#topnav {
	height: 35px;
	background-image: url(images/topnav-bg.png);
	background-repeat: repeat-x;
	font-size: 12px;	
}

#topnav ul {
	padding-top: 7px;
	padding-left: 15px;
	height: 20px;
	background-image: url(images/toolbar-div.png);
	background-position: 15px 2px;
	background-repeat: no-repeat;
}

#topnav ul li {
	float: left;
}

#topnav ul li a {
	color: #fff;
	padding: 5px 15px;
	font-weight: bold;
	background-image: url(images/toolbar-div.png);
	background-repeat: no-repeat;
	background-position: right;
}

#topnav ul li a:hover {
	color: #ccc;
}


/* Sidebar */
/* ----------------------------------------------------------------------------- */

#sidebar {
	float: right;
	width: 220px;
	margin-right: 15px;
	margin-top: 15px;
}

.block {
	margin-bottom: 20px;
	background-color: #fff;
	border: solid 1px #BCC0C7;
	padding: 10px;
}

.block h2 {
	margin: -10px -10px 5px -10px;
	padding: 8px;
	font-size: 1.1em;
	background-image: url(images/cat-bg.png);
	background-repeat: repeat-x;
	background-position: top;
	border-bottom: solid 2px #BCC0C7;
}

.block li {
	margin: 0px 0px 3px 0px;
	list-style-position: inside;
	list-style-image: url(images/list.png);
}

.block a:hover {
}

/* Content */
/* ----------------------------------------------------------------------------- */

#content {
	float: left;
	width: 695px;
	margin-left: 15px;
	margin-top: 15px;
}

.post {
	margin-bottom: 20px;
	background-color: #fff;
	border: solid 1px #BCC0C7;
	padding: 10px;
}

.post h1 {
	margin: -10px -10px 5px -10px;
	padding: 10px;
	font-size: 1.4em;
	background-image: url(images/cat-bg.png);
	background-repeat: repeat-x;
	background-position: top;
	border-bottom: solid 2px #BCC0C7;
}

.post h1 a {
	color: #000;
}

.post p {
	margin-bottom: 15px;
	line-height: 1.4em;
}

.post h2, .post h3, .post h4 {
	font-weight: normal;
	margin-bottom: 10px;
}

.post h2 {
	font-size: 1.4em;
}

.post h3 {
	font-size: 1.2em;
	font-weight: bold;
}

.post h4 {
	font-size: 1em;
}

.post ul, .post ol {
	margin-bottom: 20px;
}

.post ul li {
	margin-left: 30px;
	margin-bottom: 7px;
	list-style-position: outside;
	list-style-type: disc;
}

.post ol li {
	margin-left: 30px;
	margin-bottom: 7px;
	list-style-position: outside;
	list-style-type: decimal;
}

.alignleft {
	float: left;
	margin: 0px 10px 10px 0px;
}

.alignright {
	float: right;
	margin: 0px 0px 10px 10px;
}

.aligncenter {
	display: block; 
	margin: 0 auto 15px auto;
}

.imageborder {
	border: solid 1px #ccc;
	padding: 5px;
}

blockquote {
	font-size: 1.3em;
	font-style: oblique;
	padding: 20px;
}

pre {
	font-family: "Lucida Console", Monaco, monospace;
	font-size: 0.9em;
	margin-bottom: 20px;
	padding: 8px;
	border: 1px solid #000;
	background-color: #2e3436;
	color: #FFF;
	clear: both;
	overflow: auto;
}

.advertencia {
	margin: 10px 0px;
	padding: 10px;
	border: 1px solid #b0b0b0;
	background-color: #FFC;
}

.consejo {
	margin: 10px 0px;
	padding: 10px;
	border: 1px solid #b0b0b0;
	background-color: #C4FFC4;
}

.post-info {
	background-color: #eaeff7;
	border-bottom: dotted 1px #ccc;
	margin: -5px -10px 15px -10px;
	padding: 5px 10px;
	color: #333;
}

.fecha {
	float: left;
}

.n_comentarios {
	float: right;
}

.wp-pagenavi {
	margin-bottom: 18px;
}

.wp-pagenavi span.pages, .wp-pagenavi span.current, .wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi span.extend {
	background-color: #fff !important;
	color:#444 !important;
	text-transform:uppercase;
	padding:7px 9px !important;
	border:1px solid #ccc !important;
	margin: 0px 3px;
}

.wp-pagenavi span.pages {
	background-color:#E8E8E8 !important;
	border:1px solid #ccc !important;
	color: #444 !important;
	margin: 0px 3px;
}

.wp-pagenavi a:hover {
	background-color:#E8E8E8 !important;
	border:1px solid #aaa !important;
	color: #333 !important;
}



a.more-link {
	display: block;
	width: 102px;
	height: 25px;
	background:url(images/readmore.png) no-repeat top left;
	color: #999;
	padding-left: 28px;
	padding-top: 3px;
	margin-top: 10px;
}

a.more-link:hover {
	color: #666;
	background-position: 0px -28px;
}

/* ---------------[ Tables ]--------------- */

table {
	margin-bottom:15px;
	}

tr, td, th {
	margin:auto; 
	}

td, th {
	padding:5px;
	vertical-align:top;
	}

th {
	font-weight:bold;
	background:#ddd;
	}

td {
	border:1px solid #ddd;
	}

/* Footer */
/* ----------------------------------------------------------------------------- */

#footer {
	text-align: center;
	color: #fff;
	background-color: #323C53;
	padding: 10px;
	border-top: solid 1px #fff;
}

/* COMMENTS */
/* -------------------------------------------------------------------- */

.comments-tittle {
	text-align: center;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.comment-info {
	margin: -10px -10px 0px -10px;
	margin-bottom: 10px;
	padding: 10px 10px 15px 10px;
	line-height: 150%;
	background-image: url(images/cat-bg.png);
	background-repeat: repeat-x;
}

.comment {
	background-color: #fefefe;
	border: solid 1px #ccc;
	margin: 0px 0px 20px 0px;
	padding: 10px;
}

.comment-avatar {
	float: left;
	padding: 5px 5px 5px 0px;
	margin-top: -10px;
}

.comment-content p {
	clear: none;
	line-height: 150%;
	font-size: 13px;
	margin-bottom: 15px;
}

/* COMMENTS FORM */
/* -------------------------------------------------------------------- */

textarea {
	color: #000;
	border: solid 1px #CCCCCC;
	padding: 5px;
	margin: 5px 0px;
	width: 98%;
	height: 150px;
	background-image: url(images/bg_post.png);
	background-repeat: repeat-x;
	background-position: top;
}

.post input {
	border: solid 1px #CCCCCC;
	margin: 5px 0px;
	padding: 3px;
}

.post input#submit{
	color: #333;
	width: 162px;
	height: 37px;
	padding: 0px;
	display: block;
	cursor: pointer;
	background-image: url(images/boton.png);
	background-position: top;
}

.post input#submit:hover {
	background-image: url(images/boton.png);
	background-position: 0px 70px;
}


.post input#submit:active {
	background-image: url(images/boton.png);
	background-position: 0px 35px;
}

#content #submit {
	color: #333;
	width: 162px;
	height: 35px;
	padding: 0px;
	display: block;
	cursor: pointer;
	background-image: url(images/button.png);
	background-position: top;
	border: none;
	color: #ccc;
}

#content #submit:hover {
	background-position: 1px 70px;
}


#content #submit:active {
	background-position: 1px 35px;
}


