/*
Theme Name: Telemax
Theme URI: http://www.telemax.es
Description:  Theme desarrollado especialmente para http://www.telemax.es
Version: 1.0
Design: www.blogalizate.com
Author: @blogalizate
Author URI: http://www.blogalizate.com
Text Domain: blogalizate
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* HTML
=========================================== */
body {
	background: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.5em;
	color: #222;
}


img {
	max-width: 100%;
	height: auto;
}


blockquote {
	font-style: italic;
	color: #666;
}

*:focus {
	outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Montserrat', sans-serif;
	color: #d80000;
	line-height: 1em;
}

a {
	color: #d80000;
	text-decoration: underline;
}

a:hover {
	color: #222;
	text-decoration: underline;
}

h1.inicio {
	display: none;
}

/* ALINEACION DE LAS IMAGENES + CAPTION
=========================================== */
img.alignnone{
	margin:1rem 1rem 1rem 0;
	margin: 0 auto;
}

img.alignleft {
	float:left;
	margin:1rem 1rem 1rem 0;
}

img.alignright {
	float:right;
	margin:1rem 0 1rem 1rem;
}

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top:1rem;
	margin-bottom:1rem;
}

a img.alignnone,
a img.alignleft {
	float:left;
	margin:1rem 1rem 1rem 0;
}

a img.alignright {
	float:right;
	margin:1rem 0 1rem 1rem;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top:1rem;
	margin-bottom:1rem;
}

.wp-caption {
	background:#fff;
	padding:5px;
}
.wp-caption .wp-caption-text {
	text-align:center;
	margin-top:5px;
}

/* VIDEOS YouTube y Google Maps RESPONSIVE 
============================================= */
div.flex-video,
div.mapa {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin: 50px 0; 
  clear: both;
}
 
div.flex-video iframe,
div.mapa iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.mapa {
	max-width: 800px;
}

/* MAQUETACIÓN BÁSICA
=========================================== */
.max {
	max-width: 1200px;
	margin: 0 auto;
	padding:0 1rem;
}


/* HEADER
=========================================== */
header {
	overflow: hidden;
	background: #fff;
	color: #222;
}

.cabecera{
  margin: 0.5rem auto;
  text-align: center;
}

.cabecera .eslogan h2 {
    color: #d80000;
    font-size: 100%;
    line-height: 1.5em;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}

.cabecera .telefonos {
    font-weight: bold;
}


/* MENU
=========================================== */
nav.menu-superior {
	-webkit-border-radius: 5px;
 	-moz-border-radius: 5px;
  	border-radius: 5px;
  	background: #d80000;
  	padding: 0.5rem;
  	margin: 0;
  	color: #222;
  	font-family: 'Montserrat', sans-serif;
 }

nav.menu-superior ul {
	list-style: none;
	padding: 0.5rem;
}

nav.menu-superior ul li {
	display: inline-block;
}

#nav-principal {
	display: none;
}

#movimiento-menu {
	display: block;
	background: #d80000;

}

.ico-menu i.material-icons {
    color: #fff;
    padding: 0.5rem;
    font-size: 250%;
    cursor: pointer;
}


nav#menu-movil {
	display: block;
	position: relative;
	margin-bottom: 0.5rem;
}

nav#menu-movil  {
	text-decoration: none;
	font-size: 120%;
	text-align: center;
	padding: 0;
}

nav#menu-movil ul {
	display: none;
	z-index: 2;
	margin: -0.2rem auto 0 auto;
	list-style: none;
	padding: 0
}

nav#menu-movil li {
    width: 100%;
    cursor: pointer;
    background: #d80000;
    color: #222;
}


nav#menu-movil li a {
	padding: 1em 0;
    color: #FFF;
	display: block;
    text-decoration: none;
    text-transform: uppercase;
 }

 nav#menu-movil li a:hover {
	text-decoration: none;
 }


/* ASIDE BARRAS LATERALES
=========================================== */
aside {
 	 background: #fafafa;
 	 padding:1.5rem 1rem;
 	 margin: 1rem 0;
}

aside .box-sidebar {
  margin: 0 0 1rem 0;
}

aside div.widget-title {
  background: #d80000;
  padding: 1rem;
  color: #fff;
  border: none;
  margin: 0 0 0.2rem 0;
}

.box-sidebar ul  {
	padding: 0 0.2rem;
	margin: 0;
	list-style: none;
}

.box-sidebar ul li {
    border-bottom: 1px dotted #929292;
    padding: 0.5rem;
    display: block;
}

.box-sidebar ul li a {
    display: block;
}

.box-sidebar ul li:hover {
	background: #eee;
	color: #929292;
	display: block;
}

aside a {
	color: #222;
	text-decoration: none;
}

aside a:hover {
	color: #929292;
	text-decoration: none;
}


aside input.buscar {
	border: 0 none;
     -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    margin-right: 2%;
    width: 62%;
}

aside input.btn-buscar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 36%;
}


/* FORMULARIOS
=========================================== */
div.wpcf7 {
    max-width: 700px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea {
	width: 95%;
	padding: 1rem;
  	border: none;
  	background: #eee;
  	color: #222;
  	margin: 0 0 0.5rem 0;
}

textarea {
	height: 12rem;
}

input[type="submit"] {
	padding: 1rem;
	border: 0;
	background: #0093f1;
	color: #fff;
	text-align: center;
}

.btn-accion a,
.leermas a {
  padding: 1rem;
  border: 0;
  background: #0093f1;
  color: #fff;
  text-align: center;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

input[type="submit"]:hover,
.btn-accion a:hover,
.leermas a:hover {
	background: #018be2;
}

.leermas a,
.leermas a:hover {
	max-width:100px;
}

/* INDEX
=========================================== */
h2.index-title a {
  	text-decoration: none;
  	font-size: 150%;
    line-height: 100%;
}

div.posts,
section.posts {
 	background: #fff;
 	padding-bottom: 2rem;
}


article.post-index {
	padding-bottom: 2rem;
	border-bottom: 1px dotted #929292;
}

article.post-index div.metas {
	padding-bottom: 0.5rem;
}

article.post-index span.fecha {
    font-weight: bold;
}

article.post-index span.categoria {
	float: right;
}

article.post-index div.autor {
	padding-top: 0.5rem;
	border-top: 1px dotted #929292;
}

article.post-index span.num-comentarios {
  float: right;
}

/* PAGINACION
==================================== */
.paginacion-simple {
    padding-top: 1rem;
}

div.paginacion-simple .anteriores {
	float: right;
}

div.paginacion-simple .siguientes {
	float: left;
}



/* ARCHIVO
========================================= */

h1.archivo {
  font-size: 100%;
}



/* SINGLE
=========================================== */
article.post-single div.metas {
	padding-bottom: 0.5rem;
}

article.post-single span.categoria {
	float: right;
}

article.post-single div.autor {
	padding-top: 0.5rem;
	border-top: 1px dotted #929292;
}

article.post-single span.fecha {
    font-weight: bold;
}

article.post-single span.num-comentarios {
  float: right;
}

article.post-single .etiquetas {
  background: #d80000;
  color: #fff;
  padding: 1rem;
  margin: 1rem auto;
}

article.post-single .etiquetas a {
  color: #fff;
  text-decoration: none;
}

article.post-single .etiquetas a {
  color: #fff;
  text-decoration: underline;
}



/* SINGLE - COMENTARIOS
=========================================== */
section.comentarios {
  border-top: 1px solid #929292;
}

div#formulario-comentarios {
  width: 95%;
}

label {
	font-weight: 700;
}

section.listado-comentarios ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.txt-comentario .avatar {
  width: 60px;
  height: 60px;
  float: left;
  margin: 0 1rem 1rem 0;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
}

.txt-comentario p {
    font-style: italic;
    line-height: 1.3em;
}

li.comment {
	border: 1px solid #929292;
	padding: 1rem;
	background: #fafafa;
	margin: 1rem 0;
}

ul.children li.comment {
	background: #fff;
	margin: 1rem 0;
}


/* PAGE
=========================================== */
section.page {
 	background: #fff;
 	padding-bottom: 2rem;
}


/* FOOTER
=========================================== */
footer {
  background: #222;
  padding: 1rem 0;
  color: #fff;
  margin-top: 1rem;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	color: #d80000;
	text-decoration: none;
}


footer nav ul {
  list-style: none;
  padding: 0;
}

footer .google-partner {
    max-width: 200px;
}


footer .blogalizate {
	font-size: 80%;
}


/* ICONOS REDES SOCIALES
============================ */
.rrss ul {
	margin: 0;
	padding: 0;
}

.rrss li {
    list-style: none;
    display: inline-block;
    margin-right: 0.2rem;
    font-size: 250%;
}

/* INICIO > SLIDER
============================== */
section.slider {
    background: url(images/bg-ban.jpg) bottom;
    background-size: cover;
    max-height: 500px;
    line-height: 0;
}

section.slider .banner {
    text-align: center;
}


/* INICIO > SERVICIOS
============================== */

section.servicios h2.titulo-seccion {
    text-align: center;
    font-size: 300%;
}

article.servicio-portada {
    background: #fafafa;
    padding: 1rem;
    border: 1px solid #ddd;
    margin: 1rem auto;
}

article.servicio-portada .ico-servicio {
    width: 128px;
    margin: 0 auto;
}

article.servicio-portada h2 {
    text-align: center;
    height: 43px;
    line-height: 1.2em;
}

article.servicio-portada .resumen-servicio {
    min-height: 100px;
}


article.servicio-portada .btn-accion {
    max-width: 250px;
    margin: 2rem auto 0 auto;
}



/*
###########################################

 MEDIA QUERIES

###########################################
 */

@media screen and (min-width: 800px) {

	header {
		padding: 0.5rem;
	}

	.cabecera .logo {
		display: inline-block;
		float: left;
		max-width: 200px;
	}

	.cabecera .eslogan {
		display: inline-block;
		float: right;
	}

	div.posts,
	section.posts,
	section.page {
	 	display: inline-block;
 	 	width: 60%;
	  	vertical-align: top;
	  	float: left;
	}

	aside {
		width: 30%;
		display: inline-block;
		float: right;
	}

	footer {
		clear: both;
	}

}


@media (min-width: 900px) {

	/* MENU */

	.menu-rwd {
    display: none;
	}

	#nav-principal{
		display: block;
		text-align: right;
	}

	div#movimiento-menu {
	  display: none;
	  padding-bottom: 0;
	}

	nav#menu-movil a {
		display: none;
	}

	nav.menu-superior {
		-webkit-border-radius: 0;
 		-moz-border-radius: 0;
  		border-radius: 0;
	}

	nav.menu-superior ul {
		list-style: none;
		margin: 0 auto ;
		max-width: 1200px ;
	}

	nav.menu-superior ul li {
		display: inline-block;
		margin-right: 1.5rem;
	}

	nav.menu-superior ul li a {
		color: #fff;
		text-decoration: none;
		padding: 0.5rem;
		text-transform: uppercase;
	}

	nav.menu-superior ul li a:hover,
	nav.menu-superior ul li.current_page_item a {
		color: #222;
    	text-decoration: none;
    	padding: 0.5rem;
    	font-weight: normal;
	}


	/* INICIO > SERVICIOS */

	article.servicio-portada {
    width: 40%;
    display: inline-block;
    padding: 2rem;
    margin: 1%;
    vertical-align: top;
	}

	/* FOOTER */

	footer nav ul li {
    display: inline-block;
    margin-right: 1rem;
	}

}

@media (min-width: 1000px) {

	article.servicio-portada {
    width: 41%;
	}

	div.posts,
	section.posts,
	section.page {
	 	display: inline-block;
 	 	width: 61%;
	  	vertical-align: top;
	  	float: left;
	}
}


@media (min-width: 1100px) {

	div.posts,
	section.posts,
	section.page {
	 	display: inline-block;
 	 	width: 62%;
	  	vertical-align: top;
	  	float: left;
	}
	section.page.full {
    width: 100%;
}

}
