/*
Theme Name: Trastejant Theme
Theme URI: http://www.trastejant.es;
Author: CrakerNano
Author URI: http://www.crakernano.com
Description: Tema de Trastejant
Version: 1.0
*/

body{
/*background-color: yellow;*/
margin: 0;
/*background: url(img/fondo.jpeg) #000;*/
}

a, a:visited, a:active{
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
}

a:hover{
	font-style: italic;	
}

h1, h2, h3, h4, label{
	font-family: 'Poiret One', cursive;
}

p{
	font-family: 'Open Sans', sans-serif;
	text-align: justify;
}

header{
	text-align: center;
	align-content: center;
}

header h2{
	text-align: center;
}

nav{
	text-align: center;
	width: 100%;
	display: block;
	margin: 3em auto 8em auto;
	align-content: center;
	left: 25%;
	list-style-type: none;
	padding: 0;
	position: relative;
}

nav ul{
	float: none;
	text-align: center;
}

nav ul li{
	list-style: none;
	float: left;
	margin-right: 2.2em;
	padding: 8px;
	color: white;
}

nav ul li a, a:visited{
	text-decoration: none;
	color: black;
}

nav ul li a.activo, header nav ul li.current_page_item a{
	color:#fff;
	text-shadow:2px 2px 2px #111;
}

nav ul li.current_page_item {
	background-color: #82C9CD;
	padding: 8px;
	color: white;
}

nav ul li.current_page_item {
	color: white;
}

nav ul li:hover {
	background-color: #82C9CD;
	
		-webkit-transition: background-color 500ms linear;
        -moz-transition: background-color 500ms linear;
        -o-transition: background-color 500ms linear;
        -ms-transition: background-color 500ms linear;
        transition: background-color 500ms linear;
    
}

nav ul li:hover a{
	font-style: italic;
}
main{
	width: 90%;
	margin:3em auto 0 auto;
	background-color: #FFF;
	padding: 1.6em;	
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
	border-top: 2px  #82C9CD solid;
	position: relative;


}

main div#contenedor{
	background-color: #FFF;
	height: inherit;
	position: relative;
	overflow: hidden;
}


main section{
	padding: 1.2em;
	width: 70%;
	float: left;
	position: relative;
	height: auto;
	overflow: hidden;


}

main section p{
	padding-bottom:8px;
	text-align:justify;
	line-height:19px;
}

main section article{
	border-bottom: 2px  #82C9CD solid;

}

main section article small{
	font-size: 0.9em;
	background-color: #F5F5F5;
	width: 100%;
	display: block;
	padding: 0.5em;
	font-family: 'BenchNine', sans-serif;
}

main section article small a, a:visited{
		font-family: 'BenchNine', sans-serif;
		color: black;
		font-style: italic;
}

main section article a.leerMas{
	text-decoration: none;
	background-color: #F5F5F5;
	padding: 10px;
	margin-bottom: 10px;	
	display: table-cell;
	color: #000;
}

main section article a.leerMas:hover{
	
	background-color: #000;	
	color: #F5F5F5;
}

aside#sidebar{	
	width: 20%;
	margin-top: 3em;
	float: right;
	position: relative;
	border-left: 5px ridge grey;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	padding-left: 5px;

}

aside#sidebar h3{
	text-shadow: 0 0 3px #82C9CD;
	text-align: center;
}

aside#sidebar ul li{
	list-style-image: url("img/icono-Open-Hardware.png");
}

aside#sidebar ul li a, a:visited{
	text-decoration: none;
	color: #000;
}

aside#sidebar ul li a:hover{
	color: #82C9CD;
}

aside#sidebar #s .widget.widget-categories ul li{
	list-style-image: url("img/pencil.png");
}

main div#identificador{
	background-color: #F5F5F5;
	max-width: 100%;
	height: auto;
	text-align: center;
	align-content: center;
	/*font-size: 4em;*/
	color: #82C9CD;
	text-transform: uppercase;
	font-family: 'Black Ops One', cursive;
	margin: 2em auto 1em auto;
}

main div#identificador h1{
	font-size: 4em;
	display: inline;
}
main div#identificador label{
	
	display: block;
}

main div#identificador label h2{
	font-size: 2em;
	
}
main section article div.imagenDestacada{
	position: relative;
	align-content: center;	
	display: block;	
	width: 100%;
	padding: 0.4em;
	margin: auto;
	background-color:#F5F5F5;		
}
img.wp-post-image{
 	position: relative;
 	margin: auto;
	display: block;
	height: 260px;
	width: auto;	
    

}

footer{	
	clear: both;
	max-width: 90%;
	margin: auto;
	background-color: #343A41;
	color: #FFF;
	border-top: 2px #666 solid;
	font-size: .8em;
	text-align: center;
	padding: 1.7em;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
	margin-bottom: 2em;
}

footer a{
	color: #fff;
	}
/*------------------------- General --------------------------*/
img.alignright{
float: right;
margin: 5px 0 5px 10px;
}
img.alignleft{
float: left;
margin: 5px 10px 5px 0;
}
img.aligncenter {
margin: 5px auto 5px auto;
max-width: 100%;
height: auto;
}

.alignright, .alignright {
        float: right;
        margin-left: 1em;
        margin-bottom: 1em;
}

.alignleft, a .alignleft {
        float: left;
        margin-right: 1em;
        margin-bottom: 1em;
}

.aligncenter, a .aligncenter {
        display: block;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 1em;
}

main div.espacio{
	clear: both;
	height:50px;
	width: 100%;
	display:block;
	 }
/*
p.wp-caption-text{
	font-size: 0.7em;
	text-align: center;
	margin-top: -1px;
}
*/
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 7px;
margin: auto;
margin-bottom:7px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/*--------------------- FORMULARIOS & COMENTARIOS -------------------*/
#commentform.comment-form label{
	display: block;

} 

#commentform.comment-form textarea{
	display: block;
	width: 95%;
	background-color: #fff;
	border: 2px solid black;
} 

#commentform.comment-form input#submit{
	text-decoration: none;
	background-color: #82C9CD;
	border-radius: 15px;
	border:none;
	padding: 0.3em;
	margin-bottom: 10px;	
	display: table-cell;
	color: #fff;
	font-family: 'BenchNine', sans-serif;
	font-size: 1em;
	width: 95%;
	} 

	ol.commentlist{
		width: 70%;
	}

	ol.commentlist li{

		list-style: none;		
	}

	.comment-body{
		border: 2px dashed #82C9CD;
		border-top-left-radius: 15px;
		border-bottom-left-radius: 15px;
		border-left: 4px solid #82C9CD;
		padding: 2em;
		margin-bottom: 1.2em;
	}

	.comment-author.vcard{
		font-size: 1em;		
	}

	.comment-meta.commentmetadata{
		font-size: 0.7em;		
		width: 100%;
		display: block;
		padding: 0.5em;
		font-family: 'BenchNine', sans-serif;
	}

	ol.commentlist .comment-body .reply{
		background-color: #82C9CD;
		padding: 0.3em;
		border-radius: 15px;
		width: auto;
		text-align: center;
		
	}
	ol.commentlist .comment-body .reply a{
		font-family: 'BenchNine', sans-serif;
		font-size: 1em;
		color: white;

	}

/*-------------------- ESTILOS DE WIDGET------------------------*/

#wp-calendar { border-collapse: collapse; border:1px solid #ddd; width:100%; border-top:none; }
#wp-calendar td, #wp-calendar th { text-align:center; }
#wp-calendar caption { color: #fff; padding: 0; line-height: 39px; }
#wp-calendar thead, #wp-calendar tfoot { line-height:33px; background:#eee; }
#wp-calendar tbody { line-height:33px; }
#wp-calendar #prev, #wp-calendar #next { padding:0 10px; background:#eee; }
#wp-calendar #prev { text-align:left; }
#wp-calendar #next { text-align:right; }

/*----*------------------- CATALOGO ----------------------------*/

main div#contenedor section#catalogo{
	width: 100%;
	align-content: center;
}

main div#contenedor section#catalogo li{
	
	list-style: none;
	float: left;
	margin: 0.6em 1% 4em 1%;
	text-align: center;
	border: 2px solid #82C9CD;
	padding: 2em;
	width: 11em;
	height: 11em;
		
}

main div#contenedor section#catalogo li:hover{
	 	background-color:#F5F5F5;
		-webkit-transition: background-color 500ms linear;
	    -moz-transition: background-color 500ms linear;
	    -o-transition: background-color 500ms linear;
	    -ms-transition: background-color 500ms linear;
	    transition: background-color 500ms linear;
    

}

main div#contenedor section#catalogo li img.wp-post-image{
 	position: relative;
 	margin-bottom:2em ;
	display: block;
	height: inherit;
	width: inherit;
    

}

main div#contenedor section#catalogo li a{
	color: black;	
	font-family: 'BenchNine', sans-serif;	
	font-size: 1.2em;
}

main div#contenedor section#catalogo li div.titulo{
	width: 11em;
	background-color: #82C9CD;
	padding: 1em;
	margin-top: -15%;
	margin-left: -1em;
}

main div#contenedor section#catalogo li div.titulo:hover{
	
	background-color:#F5F5F5;
		-webkit-transition: background-color 500ms linear;
	    -moz-transition: background-color 500ms linear;
	    -o-transition: background-color 500ms linear;
	    -ms-transition: background-color 500ms linear;
	    transition: background-color 500ms linear;
    
	
}

main div#contenedor section#catalogo li div.cat{
	font-size: 0.8em;
	background-color: #82C9CD;
	margin-top: -25%;
	border-radius: 20px;
	width: auto;
	margin-bottom: 2em;
}

main div#contenedor div#selectorCat{
	width: 100%;
	align-content: center;
	margin-bottom: 5em;
	position: relative;
	display: block;

}

main div#contenedor div#selectorCat li.categories ul{
	align-content: center;
	display: block;
	
}

main div#contenedor div#selectorCat li.categories{
font-family: 'Open Sans', sans-serif;
text-align: center;
background: #F5F5F5; 
color: black;
list-style: outside none none;
}

main div#contenedor div#selectorCat ul{
	align-content: center;
	display: block;

}

main div#contenedor div#selectorCat ul li{
	list-style: none;
	background-color: #343A41;
	float: left;
	padding: 0.3em 1.5em;    
	margin-right: 2em;

}

main div#contenedor div#selectorCat ul li:hover{
	background-color: #82C9CD;
		-webkit-transition: background-color 500ms linear;
	    -moz-transition: background-color 500ms linear;
	    -o-transition: background-color 500ms linear;
	    -ms-transition: background-color 500ms linear;
	    transition: background-color 500ms linear;
}

main div#contenedor div#selectorCat ul li a{
	font-family: 'Open Sans', sans-serif;
	color: white;
	font-style: normal;
}

main div#contenedor div#selectorCat li.tecnologia{
	list-style: outside none none;
    text-align: center;
    background-color: #F5F5F5;
    font-family: 'Poiret One', cursive;
}


/*------------ Tutoriales -----------------------*/

main div#contenedor section#contenidoTutoriales{	
	width: 95%;

		
}

main section#contenidoTutoriales div#cabeceraTutorial{	
	width: 95%;
	border:2px solid #F5F5F5;
	height: auto;
	margin-bottom: 2em;
	padding: 1.2em;
		
}

/*------------ Destacados ---------------------*/
main div#destacados{
	margin:5px auto;
	display: block;
	width: 100%;
	margin-bottom: 2em;
}

main div#destacados ul#contenedores{
	margin:5px auto;
}

main div#destacados ul#contenedores li{
	list-style: none;
	float:left;
	margin-right: 0.5em;	
	width: 30%;
	height: 200px;
	border:2px solid #F5F5F5;	
	border-bottom-left-radius: 25px;
	border-bottom-right-radius: 25px;
	padding: 0.5em;
	align-content: center;
}

main div#destacados ul#contenedores li:hover{
	background-color: #82C9CD;
		-webkit-transition: background-color 500ms linear;
	    -moz-transition: background-color 500ms linear;
	    -o-transition: background-color 500ms linear;
	    -ms-transition: background-color 500ms linear;
	    transition: background-color 500ms linear;
}

main div#destacados ul#contenedores li img{
	margin-left: auto;
	margin-right: auto;
	display: block;
}
main div#suscribirse{
	clear: both;
	background-color: #F5F5F5;
	max-width: 100%;
	height: auto;
	text-align: center;
	align-content: center;
	font-size: 1em;
	color: #82C9CD;	
	display: block;
	margin: 0.5em auto 1em auto;
	padding: 1em;
}

main div#contenedor section#contenidoTutoriales article#contenido{
	float: left;
	position: relative;
	width: 40%;
}
main div#contenedor section#contenidoTutoriales article#contact-form{
	float: right;
	position: relative;
	width: 50%;
	height: auto;
	border-left: 3px solid #82C9CD;
	border-bottom: none;
	margin-bottom: 20px;
	padding-left: 20px;
}
main div#contenedor section#contenidoTutoriales article#rrss{
	clear: both;
	width: 100%;
	background-color: red;
}
main div#contenedor section#contenidoTutoriales article#empleadores{
	clear: both;
	margin-top: 2em;	
	width: 100%;
	border-top: 3px solid #F5F5F5;
	display: block;
	position: relative;
	border-bottom: none;
}

main div#contenedor section#contenidoTutoriales article#empleadores li{
	list-style: none;
	float: left;
	margin: 20px;

}
main div#contenedor section#contenidoTutoriales article#empleadores li img{
		width: 90px;
		height: auto;
	
}	

main div#contenedor section#contenidoTutoriales div#relacionados{
	margin-top: 3em;
}

main div#contenedor section#contenidoTutoriales div#relacionados hr{
	width: 70%;	
	background-color: #82C9CD;	
}

main div#contenedor section#contenidoTutoriales ul#sugerencias{
	
	/*background-color: #82C9CD;	
	padding: 2em;*/
}

main div#contenedor section#contenidoTutoriales ul#sugerencias li{
	list-style: none;
	width: 30%;
	height: 350px;
	float: left;
	margin: 2%;
	border-bottom: 2px solid #82C9CD;
	padding: 3em;
	border-left: 2px solid #82C9CD;
	border-radius: 20px;
		
}

main div#contenedor section#contenidoTutoriales ul#sugerencias li img{
	width: inherit;
	height: auto;
		
}

main div#contenedor section#contenidoTutoriales ul#resultadosBusqueda li{
	list-style: none;
	}

/*----------------------Eventos--------------------------*/

main div#contenedor section#eventos{
	width: 95%;
}

main div#contenedor section#eventos ul li{
	/*clear: both;*/
	list-style: none;
	border: 3px outset;
	margin-bottom: 15px;
	padding: 15px;
	
}

main div#contenedor section#eventos ul li:hover{
	/*background-color: #82C9CD;*/
	border: 3px inset;
	
}

main div#contenedor section#eventos ul li img{ 
	height: 100px;
	max-width: 150px;
	float: right;	
	margin-top: -130px;
	
}

main div#contenedor section#eventos ul li p{
	width: 80%; 
}

main div#contenedor div.eventos ul li div.resumen{ 
	float: left;
	position: relative;
	display: block;
	width: 30%;
}

main div#contenedor section#eventos ul li div.resumen{ 
	margin-top: 20px;  	
  	font-size: 14px;
  	text-align: justify;  
  	border:none;
}
main div#contenedor section#eventos li h1 a{
	color: 000;
	font-size: 1.5em;
	font-family: 'Poiret One', cursive;
}

main div#contenedor section#eventos ul li ul.post-meta{
	display: block;
	}

main div#contenedor section#eventos ul li ul.post-meta li{
	align-content: center;
	list-style: none;
	border: none;
	float: left;
	margin-top: -20px;
	font-size: 0.8em;
	font-family: 'Poiret One', cursive;
}

main div#contenedor section#eventos ul li ul.post-meta li span.post-meta-key{
	font-size: 0.8em;
	font-family: 'Poiret One', cursive;
	font-weight: bold;
} 



/*----------------------REPOSITORIO------------------------*/
main div#contenedor section#contenidoTutoriales ul.wp-github.wpg-repos{
	width: 70%;
	padding: 30px;
	align-content: center;
	margin:10px auto;

} 

main div#contenedor section#contenidoTutoriales ul.wp-github.wpg-repos li{
	list-style-image: url("img/github.png");
	border-bottom: 1px solid;
	margin-bottom: 20px;
	padding: 2px;
} 


section#contenidoTutoriales ul.wp-github{
	/*border:2px black solid;*/
}
/* MEDIA QUERIES */

@media only screen and (min-width: 720px) and (max-width: 979px) {

}

@media only screen and (max-width: 719px) {
body{
	background-color: #fff;
}

main{
	max-width: 710px;
	margin: 0px;
	background-color: #FFF;
	position: relative;
	border: none;
	padding: 0px;
	}

main section{
	padding: 1.2em;
	width: 95%;
	float: left;
	position: relative;
	height: auto;
	overflow: hidden;


}

aside#sidebar{	
	display: none;

}



nav{
	text-align: center;
	width: 100%;
	display: block;
	margin: 1.5em auto 8em 0px;
	align-content: center;
	left: 0;
	list-style-type: none;
	padding: 0;
	position: relative;
}

nav ul li{
	list-style: none;
	float: none;
	margin-right: 2.2em;
	padding: 8px;
	color: white;
}

	main div#identificador{
		font-size: 1.2em;
		margin: 0;
	}

	header {
   max-width: 719px;
	}

	header img{
		width: 300px;
    	height: auto;
	}

	main section article div.imagenDestacada{
	position: relative;
	align-content: center;	
	display: block;	
	width: 100%;
	padding: 0.4em;
	margin: auto;
	background-color:#F5F5F5;		
}
img.wp-post-image{
 	position: relative;
 	margin: auto;
	display: block;
	height: 260px;
	width: auto;	
    

}

main div#destacados ul#contenedores li{
	float: none;
	width: inherit;
	}

main div#contenedor section#contenidoTutoriales article#contenido{
	float: none;
	width: 95%;
}

main div#contenedor section#contenidoTutoriales article#contact-form {
	float: none;
	width: 95%;
	margin: 0;
	border: none;
	}
}