/*   
Theme Name: ARES Rioja
Theme URI: http://www.aresrioja.es/
Description: Una modificacion realizada a partir del tema RedXmas 2006.
Author: David Ruiz
Author URI: http://www.eklipse.es/
Version: 1.5
*/

/**********************************************************
	Configuracion general de estilos base
**********************************************************/
* {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

body {
        background: url(imagenes/dados.jpg) no-repeat 0 0 #fff;
        background-attachment:fixed;
        background-position: bottom left;
        margin: 0;
        padding: 0;
	font: 14px "Verdana";
}

/* Formato general para los enlaces de la web */
a:link,a:visited {
	color: #800000;
	text-decoration: none;
	border-bottom: 1px dotted #AA2727;
}

a:hover {
	color: #FCB4B7;
	text-decoration: none;
	border-bottom: none;
}

/* Formato general para el parrafo y la imagen */
p img {
	margin: 5px;
	padding: 5px;
}

img.avatar {
	margin: 5px;
	padding: 5px;
	border: solid 1px #999;
	float: right;
}

/* Contenedor general de la pagina */
#contenedor {
	width: 90%;
	margin: 0 auto 0 auto; /* Esto sirve para centrar horizontalmente el contenido */
}

/**********************************************************
	Cabecera de la pagina con el logo
**********************************************************/
#cabecera {
	height: 150px;
        background: url(imagenes/logo.png) no-repeat 0 0;
        vertical-align: text-bottom;
        padding-bottom: 5px;
        font-size: 9px;
        color: #dddddd;
}

/**********************************************************
	Menu de la paginas del sitio
**********************************************************/
#menu {
	margin-top: 10px;
	height: 32px;
	background: #DAD196;
	font: 900 14px "Verdana";
}

#dropmenu li.current_page_item {
	border-bottom: 3px solid #000000;
}
#dropmenu, #dropmenu ul {
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
	line-height:1.5em;
	z-index:300;
	width:100%;
} 
#dropmenu a {
	display:block;
	padding:0.25em 8px;
	border-right:1px solid #c8c8c8;
	text-decoration:none;
	background: #DAD196;
}
#dropmenu a:hover {
	text-decoration:none;
}
#dropmenu li {
	float:left;
	position:relative;
}
#dropmenu ul {
	position:absolute;
	display:none;
	width:12em;
	top:1.9em;
}
#dropmenu ul a {
	border-left:1px solid #c8c8c8;
	text-decoration:none;
}
#dropmenu li ul {
	border-top:1px solid #c8c8c8;
	width:13.7em;
}
#dropmenu li ul a {
	width:12em;
	height:auto;
	float:left;
	border-bottom:1px solid #c8c8c8;
	text-decoration:none;
}
#dropmenu ul ul {
	top:auto;
}
#dropmenu li ul ul {
	left:12em;
	margin:0px 0 0 10px;
}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {
	display:none;
}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {
	display:block;
}

/**********************************************************
	El contenido de la pagina, el asunto, el meollo,...
**********************************************************/
#contenido {
	margin: 0 0 0 0;
}

/* Contenedor general de los textos e im�genes de la web */
#maintext {
	margin-top: 20px;
	margin-left: 290px;
}

#maintext h3 {
	font-size: 1.4em;
	margin: 0 0 10px;
}

#maintext h4 {
	font-size: 1.2em;
	margin: 10px 0;
}

#maintext p {
	margin: 0 0 10px;
}

#maintext ul,#maintext ol,#maintext blockquote {
	margin: 0 30px;
}

#maintext ul,#maintext ol {
	margin-bottom: 10px;
}

li.commentitem {
	min-height: 75px;
}

#maintext blockquote {
	font-size: 0.9em;
	background-color: #f0f0f0;
	padding: 10px 10px 0;
	font-style: italic;
}

#maintext h2.pagetitle {
	font-size: 1.2em;
	margin-bottom: 20px;
}

/* Cada noticia o pagina va dentro de un DIV de esta clase */
.postblock {
	margin: 10px 10px 0 0;
	padding: 5px;
	background: #ffffff;

	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;

	-khtml-border-radius-topleft:10px;
	-khtml-border-radius-topright:10px;
	-khtml-border-radius-bottomleft:10px;
	-khtml-border-radius-bottomright:10px;

	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
}

/* Esto es el titulo de las noticias y las paginas */
.postblock h3 {
	color: #003300;
}

.postblock h3 a:link,.postblock h3 a:visited {
	color: #003300;
	text-decoration: none;
	border: none;
}

.postblock h3 a:hover {
	color: #800000;
	text-decoration: none;
	border: none;
}

/* Definicion de como son los enlaces dentro de una noticia o pagina */
.postblock p a:link,.postblock p a:visited {
	color: #800000;
	text-decoration: none;
	border-bottom: 1px dotted #AA2727;
}

.postblock p a:hover {
	color: #FCB4B7;
	border-bottom-width: 0;
}

/* Formato para mostrar las fechas */
p.date {
	font-size: 0.9em;
	margin: 0 0 10px;
	font: #808080;
}

/* Formato para las lineas de meta-informacion que aparecen sobre cada noticia al final del bloque */
p.postmetadata {
	font-size: 0.9em;
	margin: 0 0 10px;
}

/* Formato para los enlaces de navegacion hacia adelante y hacia atras de las noticias */
p.navigation {
	font-size: 0.9em;
	text-align: center;
}

.navigation a:link,.navigation a:visited {
	color: #800000;
	text-decoration: none;
	border-bottom: 1px dotted #AA2727;
}

.navigation a:hover {
	color: #FCB4B7;
	border-bottom-width: none;
}

/* Formatos para darle estilos a los textos publicados */
.left {
	float: left;
	margin-left: 50px;
}

.right {
	float: right;
	margin-right: 50px;
}

.frase {
	color: #666;
	display: block;
	background: url(imagenes/comillas.gif) no-repeat left top;
	font-size: 180%;
        line-height:120%;
	margin: 10px 20px;
	padding: 10px 20px 0 40px;
	letter-spacing: -0.03em;
}

.autor {
	color: #666;
	display: block;
	letter-spacing: -0.03em;
	text-align: right;
}

.textovertical {
	-webkit-transform: rotate(-90deg);	
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

/**********************************************************
	Esto es para la barra lateral y todo lo que en ella aparece
**********************************************************/
#sidebar {
	float: left;
	margin-right: 20px;
	margin-top: 5px;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 275px;
	font-size: 0.9em;
        background: #000000;
	color: white;
        opacity: 0.7; filter:alpha(opacity=70); zoom:1;

	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;

	-khtml-border-radius-topleft:10px;
	-khtml-border-radius-topright:10px;
	-khtml-border-radius-bottomleft:10px;
	-khtml-border-radius-bottomright:10px;

	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
}

/* Formato para el primer nivel del menú lateral */
#sidebar h2 {
	margin: 10px 0 0;
	font-size: 1.2em;
}

#sidebar ul {
	margin: 0 10px;
	list-style-type: none;
}

#sidebar ul li {
	margin-left: 15px;
	/* list-style-type: square; */
	list-style-image: url(imagenes/enlace.png);
}

/* Formato de los enlaces */
#sidebar a:link,#sidebar a:visited {
	color: #55cc55;
	text-decoration: none;
}

#sidebar a:hover {
	color: #800000;
	text-decoration: none;
}

/**********************************************************
	Formatos para los distintos formularios que hay en la web
**********************************************************/

/* Formulario para buscar en la web... */
input#s {
	width: 150px;
	border: 1px solid #333;
	font-size: 1em;
	padding: 5px;
}

input#searchsubmit {
	width: 50px;
	border: 1px solid #333;
	font-size: 0.9em;
	background-color: #AA2727;
	color: #fff;
}

/* Formulario para dejar comentarios... */
#dejarcomentario {
	padding-left: 50px;
	font: 10px Verdana;
}

#dejarcomentario form input {
	border: 1px solid #333;
	background-color: #f0f0f0;
}

textarea#comment {
	width: 500px;
	border: 1px solid #333;
	background-color: #f0f0f0;
}

input#submit {
	background-color: #AA2727;
	color: #000000;
	width: 150px;
	border-width: 1px;
}

/**********************************************************
	El pie de pagina
**********************************************************/
hr.clear {
	clear: both;
	height: 1px;
	margin: -1px 0 0;
	padding: 0;
	border: none;
	visibility: hidden;
}

#pie {
	margin-top: 10px;
	height: 50px;
	text-align: center;
	font-size: 9px;
}

/**********************************************************
	Poner las imagenes en un articulo igual que en el editor....
**********************************************************/
.alignleft {
	float:left;
	margin:0 0.5em 0.5em 0;
}

.alignright {
	float:right;
	margin:0 0 0.5em 0.5em;
}

.aligncenter {
	text-align:center;
	margin:0 auto;
}

/**********************************************************
	Cambiar las propiedades por defecto del calendario de eventos....
**********************************************************/
#wp-calendar {
	color: black;
}

#wp-calendar td {
	color: black;
}

#wp-calendar #today {
	color: white;
	background: blue;
}
