/*
	Theme Name: Sneakers Barcelona Blog
	Theme URI: www.sneakers-barcelona.com
	Description: HTML5 Blog teheme
	Version: 1.0
	Author: Madstudio SCP Barcelona
	Author URI: http://www.madstudio.es
	Tags: Blank, HTML5, CSS3


*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:14px;
	min-height:100%!important;
}
body {
	/*font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
	font-family:Arial, Helvetica, sans-serif;
	color:#444!important;
	background-image:url(img/bg_web.jpg);
	background-repeat:repeat-x;
	min-height:100%!important;
	
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1125px;
	width:95%;
	margin:0 auto;
	position:relative;
	background-color:#fff;
	padding:0 30px;
	height:100%;
	min-height:100%!important;
	overflow: hidden;
	}
/* header */
.header {
	overflow: visible;
    width: 100%;
	background-position:-21px 15px;
	background-image:url(img/header_rayas.jpg);
	background-repeat:no-repeat;
}
/* logo */
.logo {
	float: left;
    height: 95px;
	width: 32.5%;
	
}
.logo-img {

}

#header_img1{
	float: left;
    width: 32.5%;
}

#header_img2{
	float: right;
    width: 32.5%;
}

/* nav */
.nav {
	float: left;
    width: 100%;
}

.nav UL{
	list-style:none;
	 margin: 0;
    padding: 0;
}

.nav li{
	display: inline-block;
    font-size: 12px;
    height: 33px;
    margin: 0 15px;
    text-transform: uppercase;
    vertical-align: top;
    width: 90px;
}

.nav li:nth-of-type(1){
	margin: 0 15px 0 0;
}

#iconos_social_container{
	float: right;
    height: 50px;
    margin: -10px -15px 0;
    text-align: right;
    width: 40%;
}

#iconos_social_container UL{
	list-style:none;
	margin:0;
	padding:0;
}

#iconos_social_container UL li{
	display:inline-block;
	width: 53px;
}

.header .really_simple_share
{
	display:none;
}

main{
	float: left;
    height: 100%;
    min-height: 100% !important;
    width: 70%;
	margin: 40px 0 0;	
}


section{
	width:100%;
	  margin: -20px 0 0;
}
/* sidebar */
.sidebar {
	float: left;
    min-height: 100%;
    width: 28%;
	margin: -20px 0 0;

}

.archive .sidebar{
	margin: 42px 0 0;
}
/* footer */
.footer {
 	float: left;
    height: 20px;
    min-width: 1150px;
	padding:10px 0 50px;
}

.pagination{
	width:100%;	
	float:left;
}

.pagination .page-numbers{
	width:5%;
	display:inline-block;
	 text-align: center;	
}

.pagination .next,
.pagination .prev{
	width:18%;
	display:inline-block;
	
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.post{
    width: 90%;
}

.home .post{
	float: left;
    margin: 0 32px 68px 0;
    width: 45%;	
}

.home .post p{
	display:none;	
}

.home h1{
	display:none;
}

.single .post h1{
	 margin: -6px 0 10px;
}

.post h2{
	line-height:18px;
	margin:15px 0 0 0;
	font-size:14px;	
}

.category .post h2,
.category .post h2 A{
	font-size:22px;
	color:#000;
	margin: 10px 0 5px;
}

.date,
.category{
	font-size:12px;
	color:#CCC;	
}

.single .date{
	float:left;
	margin: 16px 0 0 5px;	
}

.single .date:before{
	content:" / ";
}

.single_cat{
	width:auto;
	float:left;
	margin: 14px 0 30px;
}

.single .attachment-post-thumbnail{
	margin:0 0 40px 0;
}


.single .post{
	width: 96%;
}

.single .post p{
	text-align:justify;
	line-height:18px;
	font-size:13px;	
}

.category A,
.single_cat a{
	font-size:12px;
	color:#CCC;
	text-decoration:none;
}

.category .post{
	padding: 0 0 20px;
}

.category .post p{
	margin: 5px 0 0;
    padding: 3px 0 25px;
}

#widget_featured-posts-2{
	margin:40px  0 0 0	
}

#widget_featured-posts-2 h3,
#tag_cloud-2 h3,
#text-2 h3{
	 border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    height: 28px;
    padding: 5px 0 0;
	text-transform:uppercase;
}


#tag_cloud-2{
	min-height:160px;
}
.tagcloud{
	 color: #8d8d8d;
    font-size: 14px;
    text-transform: capitalize;
}

.featured-title{
	width:100%;
	font-weight:bold;
	font-size:14px;
	margin:0;
	padding:0;
}

#widget_featured-posts-2 .date{
	margin: -5px 0 0;
}

ul#yiw-featured-post li {
   font-size: 14px!important;
    margin: -23px 0 -21px !important;
}

ul#yiw-featured-post li {
    border-bottom: none!important;
}

#nosotros_img{
	width:109px;
	float:left;
	margin: 0 18px 0 0;
	
}

#nosotros_txt{
	 float: left;
    font-size: 12px;
    padding: 0;
    width: 54%;
}

#nosotros_txt p{
	margin: 0 0 10px;
}

#nosotros_txt a{
	font-size: 11px;
}

.txt_gran{
	font-size:17px;	
	
}

.tagcloud a{
	font-size: 14px !important;
    line-height: 22px;
	color: #999;
}

.footer {
    color: #999;
    float: left;
    font-size: 12px;
    height: 20px;
    min-width: 100%;
    padding: 25px 0 50px;
    text-align: center;
}


.copyright{
	border-top:1px solid #000;
	padding:20px 0 0 0;
	
}

.l_img{
	height: auto;
    overflow: hidden;
    width: 100%;
}

.home .l_img{
	height: 190px;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen
and (min-width: 300px)
and (max-width: 480px) {
	
	.logo{
		margin: 10px 0 0 14px;
    	width: 100%;
	}
	
	#header_img1 {
		display:none;
	}
	
	#header_img2{
		display:none;
	}
	
	.nav {
		float: left;
		width: 106%;
	}
	.l_img{
		height: 100%;
	}
	.nav li{
		width: 53px;
	}
	
	#iconos_social_container{
		float: right;
		height: 30px;
		margin: 10px -30px 15px;
		text-align: center;
		width: 120%;
	}
	
	
	.post {
    	width: 100%!important;
	}
	main{
		width: 100%;
	}
	
	.sidebar {
		margin: 0px 0 0;
		width: 100%;
	}
	
	.date, .category {
		color: #ccc;
		font-size: 13px;
		padding:10px 0;
	}
	
	.post h2 {
		line-height: 18px;
		margin: 15px 0 10px;
	}
	
	.category A{
		font-size: 13px;
	}
	
	.tagcloud a {
		font-size: 20px !important;
		line-height: 30px;
		margin: 0 8px 0 0;
		padding: 0 8px 0 0;
	}
	
	#nosotros_txt {
		float: left;
		font-size: 14px;
		line-height: 20px;
		padding: 15px 0 0;
		width: 100%;
	}
	#header_img1 {
		display:none;
	}
	
	#header_img2{
		display:none;
	}
	
	.pagination .next, .pagination .prev{
		width: 32%!important;
	}
	
	.pagination .page-numbers{
		width:10%;	
	}
	
}



@media only screen and (min-width:480px) and (max-width:767px)  {
	.logo{
		margin: 0 0 15px 25%;
    	width: 100%;
	}
	
	#header_img1 {
		display:none;
	}
	
	#header_img2{
		display:none;
	}
	
	#iconos_social_container{
		float: right;
		height: 30px;
		margin: 0px -15px 15px 0;
		text-align: right;
		width: 80%;
	}
	
	.l_img{
		height: 100%;
	}
	
	.home .post {
    	float: left;
    	margin: 0 30px 65px 0;
    	width: 100%;
	}
	
	main{
		width: 100%;
	}
	
	.sidebar {
		margin: 0px 0 0;
		width: 100%;
	}
	.date, .category {
		color: #ccc;
		font-size: 13px;
		padding:10px 0;
	}
	
	.post h2 {
		line-height: 18px;
		margin: 15px 0 10px;
	}
	
	.category A{
		font-size: 13px;
	}
	
	.tagcloud a {
		font-size: 20px !important;
		line-height: 30px;
		margin: 0 8px 0 0;
		padding: 0 8px 0 0;
	}
	
	#nosotros_txt {
		float: left;
		font-size: 14px;
		line-height: 20px;
		padding: 15px 0 0;
		width: 100%;
	}
	
	.pagination .next, .pagination .prev{
		width: 18%!important;
	}
	
}



/* iPads (portrait) ----------- */
@media only screen and (min-width:768px) and (max-width:1024px) and (orientation:portrait){

	.logo {
		float: left;
		height: 95px;
		position: relative;
		top: 8px;
		width: 38.5%;
		z-index: 2;
	}
	
	#header_img1 {
		display:inline;
		margin: 38px 0 0;
	}
	
	#header_img2{
		display:inline;
		margin: -58px 0 0;
	}
	
	#iconos_social_container{
		 margin: -50px -25px 0 !important;
	}
	
	.home .post {
		float: left;
		margin: 0 30px 65px 0;
		width:92%;
	}
	
	.l_img{
		height: 100%;
	}
	
.pagination .next, .pagination .prev{
		width: 18%!important;
	}

}
	
	
	/* iPads (landscape) ----------- */

@media only screen
and (min-width : 768px)
and (max-width : 1024px)
and (orientation : landscape) {


	.header {
			background-image:url(img/header_rayas.jpg);
			background-repeat:no-repeat;
			overflow: visible;
			width: 100%;
			background-position:-21px 15px;
		}
	
	.logo {
		float: left;
		height: 95px;
		left: -4px;
		position: relative;
		top: 0px;
		width: 39.5%;
		z-index: 2;
	}
	
	section {
		margin: -40px 0 0;	
	}
	
	#header_img1 {
    	position: relative;
    	top: 34px;
	}
		
	#header_img2 {
    	position: relative;
    	top: -61px;
	}
	
	.nav {
		float: left;
		margin: -20px 0 35px;
		width: 100%;
	}
	
	main {
		width: 60%;
	}
	
	
	#iconos_social_container{
		margin: -85px -20px 0;
	}
	
	.sidebar {
		float: left;
		margin: -56px 0 0 -20px!important;
		min-height: 100%;
		width: 42%;
	}
	
	.home .post{
		width: 90%;
	}
	
	main {
		margin: 4px 0 0;
	}
	
	.single-post .post{
		
	}
	
	.home .l_img{
			height: 300px;
			
	}

}

@media only screen and (min-width:1025px) and (max-width:1139px) and (orientation : landscape) {
	.logo{
		left: 1px;
    	top: 0;
	}

	.header {
		background-image:url(img/header_rayas.jpg);
		background-repeat:no-repeat;
		overflow: visible;
		width: 100%;
		background-position:-51px 15px;
		height: 135px;
	}
	
	#header_img1 {
    	position: relative;
    	top: 32px
	}
		
	#header_img2 {
    	left: 0;
    	position: relative;
    	top: 32px;
	}
	
	.home .post{
		width: 45%;
		min-height:265px;
	}
	
	.sidebar {
		width: 30%;
	}
	
	
}
	
@media only screen and (min-width:1140px) {
	.header {
		background-image:url(img/header_rayas.jpg);
		background-repeat:no-repeat;
		overflow: visible;
		width: 100%;
		background-position:-21px 15px;
	}
	
	.logo {
		float: left;
		height: 95px;
		margin: 0 0 0 3%;
		width: 31.5%;
	}
	
	.nav {
		float: left;
		margin: 10px 0 -20px;
		width: 50%;
	}
	
	.home .post{
		width: 45.9758%;
	}
	
	.sidebar{
		width: 30%;
	}
	
	#header_img1 {
    	position: relative;
    	top: 30px;
	}
		
	#header_img2 {
    	left: 16px;
    	position: relative;
    	top: 32px;
	}
	.home .post{
		width: 45%;
	}
	
	.sidebar {
		width: 30%;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
