/*
Theme Name:     White Blog Twenty Eleven Child
Theme URI:      http: //example.com/
Description:    Child theme for the Twenty Eleven theme 
Author:         Marta Gaspar
Author URI:     http: //example.com/about/
Template:       twentyeleven
Version:        0.1.0
*/
@import url("../twentyeleven/style.css");

.page-template-default #primary {
    width: 100%;
}

/* = Home & Menu
-------------------------------------------------------------- */
#branding .only-search + #access div {
    padding-right: 0px;
}
#access div {
    margin: 0 0 0 3%;
}
#main {
    padding: 1em 0 0;
}

/*
#access {
	background-image: url(images/menubar.png) top left no-repeat;
 	box-shadow: 0 1px 2px #fff;	
}
*/
article a {
	text-decoration: underline;	
}
#access {
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft: 6px;	
	-moz-border-radius-topright: 6px;
	-moz-border-radius-topleft: 6px;		
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;	
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;		
	background: -moz-linear-gradient(#AA1413, #AA1413) repeat scroll 0 0 transparent;
	background: -webkit-linear-gradient(#AA1413, #AA1413);
	background-color: #AA1413;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

#access a {
    padding: 0 12px 1px 12px;
    line-height: 2.333em;
}
#access .current_page_item{
	background: #efefef;
}
#access .current_page_item a{
	color: #444;
}
#access li {
    font-size: 13px;
}
#access ul ul {
	top: 2.333em;
}

article{
	    border-bottom: 1px solid #E1E1E1;	
	clear: both;
}
#content {
 	margin: 0 0 0 0;
    width: 100%;
}
#primary {
	float: left;
	margin: 0;
	width: 66%;
	/*padding-right: 5px;*/
}
#secondary {
    float: right;
    margin: 0;
    width: 30%;
}
#branding hgroup {
	/*margin: 0px 10px -135px 180px;*/
	z-index: 1;
	position: absolute;
	margin: 6px 0px 0px 190px;
	height: 60px;
}
#branding img {
	height: auto;
	margin-bottom: 0px;
	width: 100%;
	display: inline;
}

#site-title a{
	color: #982301;	
	font-weight: normal;
	/*font-size: 2em;
	line-height: 2em;*/	
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
	color: #808080;
}
.post-thumb { 
	float:left; width: 23%; margin-right: 2%; margin-top: 15px;
}
.post-content {
	float:left; margin-top: 15px;
	width: 75%;
	padding-bottom: 10px;
}
.post-content_onecol {
	width: 100%; float: none;margin-top: 15px; margin-left: 15px;
}

#supplementary {
    padding: 1.625em 0.6%;
}

#site-generator #column_a{
	float:left;
	text-align:left;
}
#site-generator #column_b{
	float: right;
	text-align:right;
}
#site-generator {
	height: 90px;
	padding: 0.6%;
	margin-top: 5px;
}
/* =Header
----------------------------------------------- */
#site-description {
    color: #000000;
    font-size: 18px;
}
#branding #searchform {
    position: absolute;
    text-align: right;
	right: 20%;
    top: 42px;
    background-color: #FFFFFF;
}
#branding {
	border: none;
	padding-bottom: 0px;
}
#branding #s {
    width: 62px;
}
#page {
    margin: 0 auto;
    max-width: 1000px;
}
.only-search{
	visibility:hidden;
}
.bar-widget {
	bottom:-34px;
  	width:195px;
    top:auto;
  	position:absolute;
  	right:2%;
  	text-align:right;
  	color: #FFFFFF;
}
.bar-widget  .widget-title{
	display:none;
}
.bar-widget img {
	width: auto ! important;
}

#ie7 .bar-widget {
	bottom:-30px;
}
/* =Global
----------------------------------------------- */
body, input, textarea {
	color: #373737;
	font: 12px Verdana,Arial, Helvetica, Verdana, Geneva, sans-serif;
	font-weight: 300;
	line-height: 1.625;
}
/* =Widget
----------------------------------------------- */
.widget-title {
	background-color: #aa1413;
	color: #FFFFFF;
	padding: 5px 0 8px 8px;
  	font-size:13px;
	text-transform: none;
	letter-spacing: 0;
	line-height: normal;
	margin-bottom: 5px;
}
.widget ul {
	/*font-size: 15px;*/
	margin-left: 17px;
	list-style: square outside none;
	}	
.widget a {
    font-weight: normal;
}
.widget ul li {
  font-size:12px;
}

/* Singular content styles for Posts and Pages */
/* ----------------------------------------------- */
.singular .hentry {
	padding: 1.875em 0 0;
}
.singular .entry-title {
	font-size: 24px;
	font-weight: normal;	
	line-height: 28px;	
	color: #982301;
}
.singular .entry-header,
.singular .entry-content,
.singular footer.entry-meta,
.singular #comments-title {
	margin: 0 auto;
	width: 100%;
}
.singular #content,
.left-sidebar.singular #content {
	margin: 0;
}
.singular .entry-meta .edit-link a {
    position: absolute;  	
  	bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    margin-left: 10px;
}

.post-thumb img {
  	background-color: #F2F2F1;
    border: 1px solid #CCCCCC;
    /*border-radius: 6px 6px 6px 6px;*/
    float: left;
    /*margin: 4px 0 10px;*/
    padding: 3px;
    /*width: 180px;
    height: 130px;  */
}
.entry-title, .entry-title a {
	font-size: 24px;
	font-weight: normal;	
	line-height: 28px;	
	color: #982301;
}
.entry-title,
.entry-header .entry-meta {
	padding-right: 0px;
}
.entry-content,
.entry-summary {
	/*float:left;*/
}
.entry-meta a, .entry-date a {
	color: #666666;
}
.entry-meta a {
	font-weight: normal
}
.entry-content, .entry-summary {
    padding: 0 0 0;
}
.hentry, .no-results {
    border-bottom: none;
    margin-bottom: 5px;
    padding: 0;
    position: relative;
}
.entry-header hgroup .entry-title {
    padding-top: 5px;
}
#respond {
	width: 85.9%;
}

/* =entries
-------------------------------------------------------------- */
header .entry-meta {
    color: #888888;
    font-size: 12px;
    line-height: 18px;
    /*border-bottom: 1px solid #E1E1E1;*/
    margin-bottom:10px;
}
footer.entry-meta, footer.entry-meta a {
	color: #982301;
    font-size: 12px;
    line-height: 18px;
    border-bottom: none;
}
footer.entry-meta {
}
.post {
	    border-bottom: 1px solid #E1E1E1;	!important;
}
#respond {
	width: 94%;
}
.singular #author-info {
    margin: 2.2em 0 2% 0;
    padding: 5%;
}
/* =Gallery
----------------------------------------------- */
.format-gallery, .gallery-thumb {
	display: block;
	margin: .375em 1.625em 0 0;
}

/* =Navigation
-------------------------------------------------------------- */
#content nav {
	padding: 0 0 0em;
}

/* varios */
h3 a.rsswidget{
	color: #FFFFFF;
}

/* =Languages */
#nav_top {
	text-align: right;
	font-size: 10px;
}
#nav_top a {
	text-decoration: underline;
	font-style: italic;
}

/* =Carousel Content 
-------------------------------------------------------------- */
.featured-post {
background: #990000;
color: #fff;
height: 270px;
margin: 30px 0 0 52px;
text-decoration: none;
}
.featured-post a {
color: #fff;
text-decoration: underline;
}

.attachment-featured {
float: left;
}

.featured-post-description h2 a {
font-size: 16px;
color: #B9B9B9;
font-weight:bold;
text-decoration: none;
}

.featured-post-description h2 a:hover {
}

.featured-post-description {
width: 230px;
float: left;
margin: 0 0 0 16px;
}

.continue {
background: url(images/button.png) 0 0;
width: 143px;
height: 28px;
float: left;
text-align: center;
margin: 0 0 0 -2px;
padding: 7px 0 0 0;
}

.continue:hover {
background: url(images/button.png) 0 -35px;
}

a.continue {
color: #D5D5D5;
text-decoration: none;
}

.post-thumb img {
	/*display: block; position: absolute;*/
	width: 100%; 
}

/* =IE7
----------------------------------------------- */	
#ie7 #branding #searchform {
	width: 100px;	
}


/* iPad [portrait + landscape]  Esto ultimo lo he a�adido al final para probar, hay que ver cual funciona */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	.post-thumb img {
		display:block;
	}
	#primary {
		width: 65%;
	} 
	#secondary
	{
		width: 26%;
	}
	#access {
		background: #222; /* Show a solid color for older browsers */
		background: -moz-linear-gradient(#AA1413, #AA1413);
		background: -o-linear-gradient(#AA1413, #AA1413);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#AA1413), to(#AA1413)); /* older webkit syntax */
		background: -webkit-linear-gradient(#AA1413, #AA1413);
		-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
		-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
		box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
		clear: both;
		display: block;
		float: left;
		margin: 0 auto 6px;
		width: 100%;
	}	
	
}
@media only screen and (max-device-width: 800px)
{
#primary{width:100%;}
}
/* iPhone [portrait + landscape] */
/*@media only screen and (max-device-width: 480px) {*/
@media only screen and (max-device-width: 640px) {
	.post-thumb img {
		display:block;
	}
	.post-thumb {
		color: #D5D5D5;
	}
	#primary {
		width: 100%;
	}
	#access {
		background: #222; /* Show a solid color for older browsers */
		background: -moz-linear-gradient(#252525, #0a0a0a);
		background: -o-linear-gradient(#252525, #0a0a0a);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#AA1413), to(#AA1413)); /* older webkit syntax */
		background: -webkit-linear-gradient(#AA1413, #AA1413);
		-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
		-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
		box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
		clear: both;
		display: block;
		float: left;
		margin: 0 auto 6px;
		/*margin-top: 100px;*/
		width: 100%;
	}
	/* quit gallery */
	[id*="slideshow"]{
		display:none !important;
		border:1px solid red !important;
	}
	.bar-widget {
	    bottom: 0;
	    position: relative;
	    right: 0;
	    text-align: right;
	    top: auto;
	    width: 195px;
	}
	#branding hgroup {
		margin: 0;
		padding: 0px;
		/*padding-left: 105px;
		margin-bottom: -50px;	*/	
	}	
	#branding hgroup h1 {
		padding-left: 130px;
		margin-top: -50px;
	}
	#branding hgroup h2 {
		padding-left: 130px;
		margin-top: -5px;
	}			
	#branding #searchform{
		display:none;
	}
}
@media only screen and (max-device-width: 480px) {
	#branding hgroup h1 {
		padding-left: 80px;
		margin-top: -70px;
	}
	#branding hgroup h2 {
		padding-left: 80px;
		margin-top: -5px;
		margin-bottom: 20px;
	}
	#site-description {
  		font-size:12px;		
	}
	#site-title a {
  		font-size:14px;
  	}	
}

body.custom-background #page {
	padding-left: 10px;
	padding-right: 10px;
}
