/*
Theme Name: Doira
Theme URI: http://www.doira.net/
Description: A styled magazine theme suitable for youth associations
Version: 0.1
Author: David Perez-Pinar Lopez
Author URI: http://www.doira.net/
Credits: http://code.google.com/p/blueprintcss/
*/

/*
Colour selection
- Background: #FFFFFF
- Primary 1:  #FFCC00
  Blended 1:  #FFDD55
  Blended 2:  #FFEEAA
- Primary 2:  #990000
  Blended 1:  #BB5555
  Blended 2:  #DDAAAA

External tools for color selection
- Colour Blender (http://meyerweb.com/eric/tools/color-blend/)

*/

/* Selector de idioma */
.qtrans_language_chooser {
float: right;
margin-top:1px;
margin-left:1px;
z-index:7;
}

.qtrans_language_chooser li {
display:inline;
}

#language_selector {
float: right;
margin-top: 5 px;
margin-right: 5px;
}

/* Cuerpo principal */
body {
	margin-bottom: 0;
	margin-top: 0px;
	/* background: url('images/gridline.gif') top repeat-x; */
}

#outside { background: url('images/get.png') top left no-repeat; }

blockquote {
	font-style: normal;
	padding: 0 0 0 0;
	color: #000;
	background: url('images/quote.png') .5em top no-repeat;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #000; }

a {
	color: #FF3706;
	text-decoration: none;
}

a:active, h2 a:active, h3 a:active {
	color: #8c1b00;
	text-decoration: none;
}

a:hover, h2 a:hover, h3 a:hover {
	color: #464646;
	text-decoration: none;
}

blockquote p { padding: 0 20px 0 30px; }

hr {
	background: #CCC;
	height: 1px;
}

img { margin: 0; }

.photo_align_left {
	float: left;
	padding: 0 1.5em 1.5em 0;
}

a.button { float: left; }

/* Fix for buttons */
input {
	padding-left: 0;
	border: 1px solid #CCCCCC;
}

ol { margin-left: 35px; }
label { font-weight: normal; }

textarea {
	height: 200px;
	width: 500px;
}

.small { font-size: .9em; }
.nomargin { margin: 0; }
a.button, button { font-weight: normal; }
dl.small dd { font-size: .9em; }

span.meta_align_right {
	color: #ccc;
	font-size: .6em;
	float: right;
}

span.meta_align_right a { color: #ccc; }
span.meta_align_right a:hover { color: #000; }
.linkcat { list-style: none; }

.post_first {
	background: #ffffff;
	padding: 0;
}

.post_first h6 {
	color: #666666;
}

.post_alt {
	background: #eee;
	padding: 0;
}

.meta {
	color: #999999;
	font-size: .8em;
	line-height: 1.3em;
	font-family: Georgia;
}

.meta a { color: #999999; }
.meta a:hover { color: #333355; }

.byline {
	color: #999999;
	font-size: .8em;
	line-height: 1.875em;
}

.byline a {
	color: #FF3706;
	text-decoration: none;
	line-height: 1.875em;
}

.byline a:hover { color: #000000; }

.five_posts h6 a, .five_posts h4 a, .five_posts h3 a {
	text-decoration: none;
	margin-bottom: 0;
}

#maincontent h2, #feature h2 {
	color: #3B4A25;
	border-bottom: 1px dotted #AAA;
	margin-bottom: 15px;
}

h2 a {
	color: #3B4A25;
	text-decoration: none;
}

#maincontent .post h2, #feature .post h2 { margin-bottom: 5px; }
#maincontent .content { padding: 25px 30px 20px 0px; }

/* Formato de imágenes y texto en contenedores de ID feature */
#feature p { margin: 7px 0 2em 0; }
#feature img { margin: 5px 7px 5px 0px; }


.feature_text { margin-top: 2em; }
#home_right { padding: 0; }
#home_right .entry { padding: 0 0 2em 0; }
#home_left { padding: 0; }
#home_left .entry { padding: 0 0 2em 0; }

.author {
	padding: 1.5em;
	margin-bottom: 1.5em;
	background: #eee;
}

.author img {
	float: left;
	padding: 0 1em 1em 0;
}

.author p { margin-left: 8em; }

.author h6 {
	margin-left: 7em;
	border-bottom: 1px #000 dotted;
}

.navigation, 
.navigation a { color: #AAA; }
.alignright { float: right; }
.alignleft { float: left; }
.post { margin-bottom: 25px; }
.entry {
	padding-bottom: 15px;
}
.entry em {
	background: inherit;
}

/* HEADER */
#header {
	height: 87px;		/* Modificado para cabecera con imagen de fondo: ver #headerimage */
	width: 950px;
	padding: 4px 0 0 0;
}

#headerimage {
	background: url(http://www.doira.net/images/doiraheader.jpg) 0 100% no-repeat;
	height: 87px;
	padding: 0;
	margin: 0;
}

#header h1, #header .description {
	padding: 0;
	margin: 0;
	line-height: 2em;
}

/* NAVIGATION IN POSTS */
.entry #nav .content {
	padding: 0;
	margin: auto;
}

.entry #nav {
	margin-bottom: 15px;
	background: #FFF;
}

.entry #nav li a {
	color: #FFF;
	border-right: 1px solid #AAA;
	background: #666;
}

.entry #nav li.last a { border-right: none; }

.entry #nav li a:hover {
	background: #333;
	color: #FFF;
}

/* FOOTER */
#footer {
	text-align: center;
	font-size: .9em;
	margin: 0;
}

#footer a { text-decoration: none; }

#bns-login {
	float: left;
}

/* SEARCH */
#search {
	float: right;
	margin-right: 5px;
}

#search #s
{
	background: transparent url('images/icons/search_grey.gif') 0px center no-repeat;
	padding: 2px 0 2px 17px;
	width: 135px;
	color: #DDDDDD;
	font-size: 0.9em;
	margin-right: 0px;
	margin-top: 10px;
}

#search #s:hover { color: #FFFFFF; }
.search-excerpt { margin: 0; }

/* COMMENTS */
.commentlist li { padding: 8px 15px; }
.comments-alt { background: #EEE; }

/* LISTS */
.bottombar { }

/* IMAGENES EN ARTICULOS */
.entry img {
	margin-right: 10px;
	margin-bottom: 1 px;
	margin-top: 0;
}

.D img {
	margin-right: 10px;
	margin-bottom: 1 px;
	margin-top: 0;
}

/* Texto e imágenes de artículos */
.articulo p {
	margin: 0 0 1.5em 0;
	padding: 0;
	font-family: Georgia, "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
	text-align: justify;
}
.articulo em {
	background: inherit;
}
.articulo img {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}
.articulo img.alignleft {
	padding-right: 10px;
}
.articulo img.alignright {
	padding-left: 10px;
}

div.SocialLink {
	float: right;
	padding: 0;
	margin-left: 5px;
	margin-bottom: 5px;
}

.SocialLink img {
	float: none;
	display: inline;
	vertical-align: bottom;
	margin: 0;
	padding: 0;
}

/* Contenidos especiales */
img.wp-smiley {		/* Smiley insertado mediante caracteres, convertido por WP en imagen */
	display: inline;
	float: none;
}

p.wp-caption-text {	/* Texto de pie de foto generado automáticamente al insertar imagen de galería */
	color: #999999;
	font-size: 0.8em;
}

/* Separación de artículos resumidos (por categorías) */
.articulo:after { /* rules are applied after every element with a class of post */
 content: "."; /* a period is dynamically generated … */
 display: block; /* … and made into a block-level element … */
 height: 0; /* … then shrunk … */
 visibility: hidden; /* … and hidden … */
 clear: both; /* … then turned into a clearing element — no extra divs necessary */
}

/* IE 6 */
* html .articulo {
 height: 1%; /* IE 6 doesn't understand ":after" but it has this strange "hasLayout" behavior … with certain defined dimensions an element will automatically clear floats. Since IE 6 treats "height" as "min-height" this is a safe hack to use — google "Holly hack" for more info */
}

/* IE 7 */
.articulo {
 min-width: 1px; /* IE 7 has the same "hasLayout" weirdness but treats "height" as "height," so another safe dimension to add is needed; for whatever reason "min-width" works well */
}



/*.size-medium img {position: relative; float: left; margin-right: 5px;}*/

/* FORMATOS DE PORTADA ******************************************************/

/* Modificación de distribución general */
.colborder {
	margin-right: 4px;
	padding-right: 5px;
}

.span-7 {
	width: 310px;
}

/* Estilo miniaturas */
img.imgtfe {
	margin-right: 10px;
	margin-bottom: 5px;
	margin-top: 2px;
	border: 1px solid #666666;
	float: left;
}

.featured-gallery {
	margin-top: 10px;
}

/* Posts en dos columnas */
.featured-news-block h2 {
	font-size: 12pt;
}

div#left-column {
	width: 305px;
	float: left;
	clear: none;
	margin-top: 5px;
	margin-right: 10px;
}

div#right-column {
	width: 305px;
	float: right;
	clear: none;
	margin-top: 5px;
	margin-left: 10px;
}

div#right-column:after { /* rules are applied after every element with a class of post */
 content: "."; /* a period is dynamically generated … */
 display: block; /* … and made into a block-level element … */
 height: 0; /* … then shrunk … */
 visibility: hidden; /* … and hidden … */
 clear: both; /* … then turned into a clearing element — no extra divs necessary */
}

/* IE 6 */
* html div#right-column {
 height: 1%; /* IE 6 doesn't understand ":after" but it has this strange "hasLayout" behavior … with certain defined dimensions an element will automatically clear floats. Since IE 6 treats "height" as "min-height" this is a safe hack to use — google "Holly hack" for more info */
}

/* IE 7 */
div#right-column {
 min-width: 1px; /* IE 7 has the same "hasLayout" weirdness but treats "height" as "height," so another safe dimension to add is needed; for whatever reason "min-width" works well */
}

/* Formato para barra lateral ************************************************/

.contain_simple_widget h2 {
	font-size: 1.3em;
	font-weight: normal;
	line-height: 1em;
	margin: 8px 0 4px 0;
	background-color: #FFCC77;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 2px;
}

/* Lista de noticias en barra lateral */
.cat-post-item {
	line-height: 1.2em;
}

.page-item a {
	line-height: 1.2em;
}

.widgettitle {
	background-color: #FFCC77;
}

.widgettitle h2 {
}

.wp-forecast-curr-head div {
	visibility: hidden;
	height: 0;
}

/* IE 6 */
* html .wp-forecast-curr-head {
 height: 1%; /* IE 6 doesn't understand ":after" but it has this strange "hasLayout" behavior … with certain defined dimensions an element will automatically clear floats. Since IE 6 treats "height" as "min-height" this is a safe hack to use — google "Holly hack" for more info */
}

/* IE 7 */
.wp-forecast-curr-head {
 min-width: 1px; /* IE 7 has the same "hasLayout" weirdness but treats "height" as "height," so another safe dimension to add is needed; for whatever reason "min-width" works well */
}

.contain_simple_widget:after { /* rules are applied after every element with a class of post */
 content: "."; /* a period is dynamically generated … */
 display: block; /* … and made into a block-level element … */
 height: 0; /* … then shrunk … */
 visibility: hidden; /* … and hidden … */
 clear: both; /* … then turned into a clearing element — no extra divs necessary */
}

/* IE 6 */
* html .contain_simple_widget {
 height: 1%; /* IE 6 doesn't understand ":after" but it has this strange "hasLayout" behavior … with certain defined dimensions an element will automatically clear floats. Since IE 6 treats "height" as "min-height" this is a safe hack to use — google "Holly hack" for more info */
}

/* IE 7 */
.contain_simple_widget {
 min-width: 1px; /* IE 7 has the same "hasLayout" weirdness but treats "height" as "height," so another safe dimension to add is needed; for whatever reason "min-width" works well */
}

.bottombar h2 {
	font-size: 1em;
	font-weight: bold;
	line-height: 1em;
	margin: 1em 0 1em 0;
}

.box div {
	padding: 0;
}

.box {
	background: #FFEEaa;
}

/* Grupo de enlaces con imágenes (destacados) */

.SidebarTableCell div {
	padding: 1px 1px 1px 1px;
	border: 1px solid #DDCCAA;
	width: 130px;
	height: 60px;
	float: left;
	margin-bottom: 2px;
	margin-left: 2px;
}

.simpleimage {
	margin: 0;
	padding: 0;
}

/* Cuadro de login */
td#LoginWithAjax_Title {
	vertical-align: top;
}

td#LoginWithAjax_Avatar {
	vertical-align: top;
}

/* Otros (de la plantilla original, algunos modificados) *********************/

ul
{
	list-style-type: none;
	margin-left: 1em;
	padding: 0;
}

ul li
{
	list-style-image: url('images/icons/li.png');
	background-repeat: no-repeat;
	line-height: 2em;
	margin: 0;
	padding: 0;
}

ul li a { color: #000; }

/* COMMENT STYLES */
#comments { width: 100%; }
dl#comment_list { margin: 0 0 0 0; }

dl#comment_list dt
{
	padding: 0 0 33px 0;
	background: url('images/comment_top.gif') 0 100% no-repeat;
	font-size: 1.1em;
	line-height: 1.8182em;
	color: #999;
}

dl#comment_list dt.author { background: url('images/comment_author_top.gif') 0 100% no-repeat; }
dl#comment_list dt .comment_num { padding: 0 0.3636em 0 0; }
dl#comment_list dt .comment_num a, dl#comment_list dt .comment_num a:visited { color: #999; }
dl#comment_list dt .comment_num a:hover { color: #a90000; }

dl#comment_list dt strong
{
	font-size: 1.4545em;
	color: #000;
}

dl#comment_list dt strong a, dl#comment_list dt strong a:visited
{
	color: #000;
	border-bottom: 1px dotted #999;
}

dl#comment_list dt strong a:hover
{
	color: #000;
	border-bottom: 1px solid #a90000;
}

dl#comment_list dd
{
	padding: 20px;
	margin: 0 0 1.5385em;
	background: #dfdfdf;
}

dl#comment_list dd.author { background: #0099cc url('images/comment_author_bottom.gif') 0 100% no-repeat; }
dl#comment_list dd.entry p, dl#comment_list dd.entry ul, dl#comment_list dd.entry ol, dl#comment_list dd.entry blockquote { margin-bottom: 1.1538em; }

/* COMMENT FORM */
#comment_form
{
	width: 46.8em;
	margin: 0 0 4.0em 0;
}

#comment_form a:hover { text-decoration: underline; }
#comment_form p { padding: 0.7692em 0; }

#comment_form label
{
	padding: 0 0 0 0.83333em;
	font-size: 1.2em;
}

#comment_form .text_input
{
	width: 15.3846em;
	padding: 0.23077em;
	color: #a90000;
	font: bold 1.3em Verdana, sans-serif;
	border-top: 0.15385em solid #999;
	border-left: 0.15385em solid #999;
	border-right: 0.07692em solid #eee;
	border-bottom: 0.07692em solid #eee;
}

#comment_form .text_input:focus
{
	border-top-color: #666;
	border-left-color: #666;
	border-right-color: #ddd;
	border-bottom-color: #ddd;
}

#comment_form .text_area { width: 32.9231em; }
#comment_form p.subscribe-to-comments { font-size: 1.3em; }
#comment_form p.subscribe-to-comments label { font-size: 1.0em; }

#comment_form .form_submit
{
	padding: 0.5em;
	background: url('images/submit_bg.gif') repeat-x;
	color: #000;
	border: 0.21429em double #999;
	border-top-color: #ccc;
	border-left-color: #ccc;
	font: bold 1.4em/1.0em "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
}

#comment_form .form_submit:hover { color: #0099cc; }

/* Root = Horizontal, Secondary = Vertical */
#navmenu-h { background: #000; }
#navmenu-h li.alignright { float: right; }

ul#navmenu-h
{
	margin: 0 0 1em 0;
	border: 0 none;
	padding: 0;
	width: 950px;
	/*For KHTML*/
	list-style: none;
	height: 24px;
}

ul#navmenu-h li
{
	margin: 0;
	border: 0 none;
	padding: 0;
	float: left;
	/*For Gecko*/
	display: inline;
	list-style: none;
	position: relative;
	height: 24px;
}

ul#navmenu-h ul
{
	margin: 0;
	border: 0 none;
	padding: 0;
	width: 160px;
	list-style: none;
	display: none;
	position: absolute;
	top: 24px;
	left: 0;
}

ul#navmenu-h ul:after /*From IE 7 lack of compliance*/
{
	clear: both;
	display: block;
	font: 1px/0px serif;
	content: ".";
	height: 0;
	visibility: hidden;
}

ul#navmenu-h ul li
{
	width: 160px;
	float: left;
	/*For IE 7 lack of compliance*/
	display: block !important;
	/*For IE*/
}

/* Root Menu */
ul#navmenu-h a
{
	padding: 2px 20px 0 20px;
	float: none !important;
	/*For Opera*/
	/*For IE*/
	display: block;
	background: #000;
	color: #ccc;
	font: 11px/22px Helvetica;
	text-decoration: none;
	height: auto !important;
	/*For IE*/
}

/* Root Menu Hover Persistence */
ul#navmenu-h a:hover,
ul#navmenu-h li:hover a,
ul#navmenu-h li.iehover a
{
	background: #333;
	color: #FFF;
}

/* 2nd Menu */
ul#navmenu-h li:hover li a,
ul#navmenu-h li.iehover li a
{
	float: none;
	background: #000;
	color: #ccc;
}

/* 2nd Menu Hover Persistence */
ul#navmenu-h li:hover li a:hover,
ul#navmenu-h li:hover li:hover a,
ul#navmenu-h li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover a
{
	background: #333;
	color: #FFF;
}

/* 3rd Menu */
ul#navmenu-h li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li a
{
	background: #000;
	color: #ccc;
}

/* 3rd Menu Hover Persistence */
ul#navmenu-h li:hover li:hover li a:hover,
ul#navmenu-h li:hover li:hover li:hover a,
ul#navmenu-h li.iehover li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover a
{
	background: #CCC;
	color: #FFF;
}

/* 4th Menu */
ul#navmenu-h li:hover li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li.iehover li a
{
	background: #EEE;
	color: #666;
}

/* 4th Menu Hover */
ul#navmenu-h li:hover li:hover li:hover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover li a:hover
{
	background: #CCC;
	color: #FFF;
}

ul#navmenu-h ul ul,
ul#navmenu-h ul ul ul
{
	display: none;
	position: absolute;
	top: 0;
	left: 160px;
}

/* Do Not Move - Must Come Before display:block for Gecko */
ul#navmenu-h li:hover ul ul,
ul#navmenu-h li:hover ul ul ul,
ul#navmenu-h li.iehover ul ul,
ul#navmenu-h li.iehover ul ul ul { display: none; }
ul#navmenu-h li:hover ul,
ul#navmenu-h ul li:hover ul,
ul#navmenu-h ul ul li:hover ul,
ul#navmenu-h li.iehover ul,
ul#navmenu-h ul li.iehover ul,
ul#navmenu-h ul ul li.iehover ul { display: block; }

#themes h6
{
	float: right;
	padding-right: 1em;
}

ul#themeswitcher
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	float: right;
}

ul#themeswitcher li
{
	list-style-image: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
