/*
Theme Name: HG Framework
Theme URI: http://www.hectorgarrofe.com
Description: Plantilla Wordpress para XXXXXXXXXXXXX
Author: Héctor Garrofé
Author URI: http://www.hectorgarrofe.com
Version: 2.0
*/

/*---------------------------------------------
//  hg reset
//---------------------------------------------
*/

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


/*
	HTML5 Reset :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	line-height	: 140%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
.responsive img,
.responsive  object,
.responsive  embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  

/*---------------------------------------------
//  Wordpress basics
//---------------------------------------------
*/

.alignleft{float: left;margin-right: 20px;margin-bottom: 10px;}
.alignright{float: right;margin-left: 20px;margin-bottom: 10px;}
.aligncenter{display: block; margin: 20px auto;}

em {font-style: italic;}

h1{font-size: 26px; font-weight: 400; margin-bottom: 5px;}
h2{font-size: 18px; font-weight: 400; margin-bottom: 5px;}
h3{font-size: 14px; font-weight: 400; margin-bottom: 5px;}
h4{font-size: 12px; font-weight: 400; margin-bottom: 5px;}
h5{font-size: 10px; font-weight: 400; margin-bottom: 5px;}
h6{font-size: 8px; font-weight: 400; margin-bottom: 5px;}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
}

.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;
}

/*
HAMBURGUER ICON
*/
.c-hamburger {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 58px;
  height: 58px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.c-hamburger:focus {
  outline: none;
}

.c-hamburger span {
  display: block;
  position: absolute;
  top: 24px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: #000000;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  content: "";
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span:after {
  background-color: #000000;
}

.c-hamburger span::before {
  top: -6px;
}

.c-hamburger span::after {
  bottom: -6px;
}

.c-hamburger--htx {
  background-color: transparent;
}

.c-hamburger--htx span {
  transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
  background-color: transparent;
}

.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.3s;
}
/*
END HAMBURGUER ICON
*/


/*---------------------------------------------
//  NOTIFICACIONES QUE SE MUESTRAN PARA
	CONFIGURAR EL TEMA O INFORMAR SOBRE
	ERRORES
//---------------------------------------------
*/

.message{
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 10px 0;
}

.warning{
	background: #f0e055;
	border: 1px solid #7b6f0f;
	color: #7b6f0f;
}

#no-header-menu-advice{
	float: right;
}

/*---------------------------------------------
//  body
//---------------------------------------------
*/

html {
	-webkit-text-size-adjust: none;
}

body{
	background: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
	font-size: 14px;
	color: #000000;
	overflow: hidden;
}

#wrapper{
	width: 100%;
	height: 100%;
}

#wrapper.active{
	-webkit-filter: brightness(50%);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5 ease-in-out;
	transition: all 0.5s ease-in-out;
	background: #ffffff;
}

#wrapper.slide{
	width: 100%;
	height: 100%;
	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	-ms-transform: translate3d(0,0,0);
	-o-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4 ease-in-out;
	transition: all 0.4s ease-in-out;
}

#wrapper.active.slide{
	-webkit-transform: translate3d(250px,0,0);
	-moz-transform: translate3d(250px,0,0);
	-ms-transform: translate3d(250px,0,0);
	-o-transform: translate3d(250px,0,0);
	transform: translate3d(250px,0,0);
	-webkit-filter: brightness(50%);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4 ease-in-out;
	transition: all 0.4s ease-in-out;
	background: #ffffff;
}

#container{
	max-width: 960px;
	margin: 0 auto;
}

/*---------------------------------------------
//  header
//---------------------------------------------
*/

#header-container{
	max-width: 100%;
	float: left;
	width: 100%;
	background: #fff;
    border-top: 4px solid #de0022;
}

header{
	max-width: 960px;
	margin: 0 auto;
	position: relative;
}

#logo{
	float: left;
	max-width: 280px;
	margin-top: 4px;
}

#logo img{
	width: 100%;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/*---------------------------------------------
//  content
//---------------------------------------------
*/

#content h1,h2,h3,h4,h5,h6{
	/**/
}

#content ol li{
	padding-left: 35px;
}

#content ol {
    list-style-type: none;
    counter-reset: ol-counter;
    margin: 30px 0;
}

#content ol > li{
	position: relative;
	margin-bottom: 15px;
}

#content ol > li:before {
	content: counter(ol-counter);
	counter-increment: ol-counter;
	position: absolute;
	top: 0;
	left: 8px;
	color: #fff;
	background: #000;
	padding: 1px 5px;
	box-sizing: border-box;
	font-size: 16px;
}

#content p {
	margin-bottom: 20px;
}

#home-container{
	/**/
}

#home-container #content{
}

#home-container #content p {
}


#page-container{
	overflow: hidden;
	width: 100%;
}

#page-container h2{
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #de0022;
    text-transform: uppercase;
    font-size: 24px;
    clear: both;
}

#page-container #content{
	width: 70%;
	float: right;
	position: relative;
	padding: 20px 20px 20px 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#page-container #content img{
	max-width: 100%;
	height: auto;
}

.home #page-container #content{
	float: none;
	width: 100%;
}

#page-container #content p {
	margin-bottom: 20px;
	line-height: 22px;
}

#page-container #content a{
	color: #de0022;
	font-weight: 400;
}

/*---------------------------------------------
//  menu
//---------------------------------------------
*/
header nav{	
	float: right;
}

/*
header nav select{
	display: none;
}
*/

header nav a{
	text-decoration: none;
	color: #494949;
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2 ease-in-out;
	transition: all 0.2s ease-in-out;
	font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

header nav  ul.menu > li{
	display: inline-block;
	float: left;
	position: relative;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2 ease-in-out;
	transition: all 0.2s ease-in-out;
}

header nav ul.menu > li > a{
	padding: 47px 15px;
	display: block;
	text-transform: uppercase;
	/* Algunos parámetros se recogen del admin panel */
}

header nav ul.menu > li > a:hover{
	background: #ececec;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2 ease-in-out;
	transition: all 0.2s ease-in-out;
}

header nav  ul.menu > li.current-menu-item{}

header nav  ul.menu > li.current-menu-item > a{}

header nav  ul.menu > li.current-menu-item > a,
header nav  ul.menu > li.current-menu-ancestor > a{
	background: #de0022;
	color: #fff;
}

/*---------------------------------------------
//  submenu 1er nivel
//---------------------------------------------
*/

header nav ul > li > ul{
	display: none;
}

header nav ul > li:hover > ul{
	position: absolute;
	top: 111px;
	left: 0;
	z-index: 999999;
	display: block;
	min-width: 115px;
}

header nav ul.menu > li > ul > li{
	position: relative;
	min-width: 100px;
}

header nav ul.menu > li:hover > ul > li{
	background: #ececec;
}

header nav ul.menu > li > ul > li:hover{
	background: #d9d9d9;
}

header nav ul.menu > li > ul > li a{
	padding: 10px 10px;
}

header nav ul > li > ul > li.current-menu-item a{
	background: yellow;
}

/*---------------------------------------------
//  submenu 2do nivel
//---------------------------------------------
*/

header nav ul > li > ul > li > ul{
	display: none;
	z-index: 1;
}

header nav ul > li > ul > li:hover > ul{
	display: block;
	position: absolute;
	background: #c8c8c8;
	left: 161px;
	top: 0;
    min-width: 115px;
}

/*---------------------------------------------
//  Blog
//---------------------------------------------
*/
#content .post{
	margin-bottom: 40px;
}

.read-more{
	color: #fff !important;
	background: #de0022 !important;
	padding: 5px 10px;
	box-sizing: border-box;
}

/*---------------------------------------------
//  footer
//---------------------------------------------
*/
#footer-container{
	width: 100%;
	background: #de0022;
}

footer{
	max-width: 960px;
	margin: 0 auto;
	color: #fff;
	padding: 30px 0 10px 0;
	font-size: 12px; 
}

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

#copyright-container{
	width: 100%;
	background: #303030;
	padding: 10px 0;
	font-family: 'Raleway', sans-serif;
    font-weight: 800;
}

#copyright{
	max-width: 960px;
	margin: 0 auto;
	color: #777777;
	padding: 10px 0;
	font-size: 12px;
	text-align: center;
}

#footer-cols{
	overflow: hidden;
}

.footer-col{
	width: 25%;
	float: left;
	margin-bottom: 20px;
}

.footer-col h3{
	font-size: 18px;
	font-family: 'Raleway', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

/*---------------------------------------------
//  footer menu
//---------------------------------------------
*/
footer nav ul{
	border-bottom: 1px solid rgba(255,255,255,0.6);
	margin-bottom: 20px;
}

footer nav ul.menu li{
	display: inline-block;
	padding-bottom: 10px;
}

footer nav ul.menu li a{
	text-transform: uppercase;
	padding: 0 8px;
	font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

footer nav ul.menu li:first-child a{
	padding-left: 0;
}

footer nav ul.menu li a:before{
	content: '|';
	color: rgba(255,255,255,0.6);
	float: left;
}

footer nav ul.menu li:first-child a:before{
	content: none;
}

footer nav ul.menu li:last-child a:after{
	content: '|';
	color: rgba(255,255,255,0.6);
	float: right;
}

.current-menu-item a{
	/**/
}

#footer-info{
	padding-top: 10px;
}

/*---------------------------------------------
//  submenu 1er nivel
//---------------------------------------------
*/

#menu-footer > li > ul{
	display: none;
	z-index: 1;
}

#menu-footer > li:hover > ul{
	display: block;
	position: absolute;
	background: #c8c8c8;
}

/*---------------------------------------------
//  submenu 2do nivel
//---------------------------------------------
*/

#menu-footer > li > ul > li{
	position: relative;
}

#menu-footer > li > ul > li > ul{
	display: none;
	z-index: 1;
}

#menu-footer > li > ul > li:hover > ul{
	display: block;
	position: absolute;
	background: #c8c8c8;
	left: 90px;
	top: 0;
    min-width: 90px;
}



/*---------------------------------------------
//  galerias [slide]
//---------------------------------------------
*/
.nav-thumbnails{
	margin-top: 5px;
    margin-bottom: 10px;
}

.nav-thumbnails li {
	margin-left: 5px;
	margin-right: 5px;
}

.nav-thumbnails li:first-child {
	margin-left: 0px;
	margin-right: 5px;
}


.mini-thumb {
	float: left;
}

/*---------------------------------------------
//  sidebar
//---------------------------------------------
*/

.home #sidebar{
	display: none;
}

#sidebar-languages-content{
	overflow: hidden;
}

#sidebar aside{
	float: left;
	width: 30%;
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#sidebar h2{
	font-family: 'Raleway', sans-serif;
    font-weight: 800;
    color: #de0022;
    font-size: 22px;
}

#sidebar-languages-content h2{
	display: none;
}

#sidebar .sidebar-element{
	margin-bottom: 20px;
}

#sidebar .sidebar-element a{
	text-decoration: none;
	color: #000;
}

#sidebar .sidebar-element ul li{
	padding: 2px 0;
	box-sizing: border-box;
}

/*---------------------------------------------
//  notificaciones
//---------------------------------------------
*/
#notificacion{
	background: yellow;
	width: 250px;
	min-height: 200px;
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 8;
	display: none;
}

#cerrar{
	float: right;
}

#cerrar:hover{
	cursor: pointer;
}

/*---------------------------------------------
//  Carousel
//---------------------------------------------
*/

#carousel-container{
	position: relative;
	clear: both;
	margin-bottom: 35px;
}

.carousel-title{
	background: rgba(222,0,34,0.8);
	position: absolute;
	bottom: 45px;
	left: 0;
	width: 100%;
	font-size: 32px;
	padding: 10px 20px;
	padding-bottom: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #ffffff;
	text-align: center;
	font-family: 'Raleway', sans-serif;
    font-weight: 800;
}

.carousel-text{
	background: rgba(222,0,34,0.8);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	font-size: 18px;
	padding: 10px 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #ffffff;
	padding-bottom: 20px;
	padding-top: 0;
	text-align: center;
	font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.carousel-button{
	background: black;
	position: absolute;
	bottom: 18%;
	left: 10%;
	font-size: 14px;
	padding: 5px 13px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-decoration: none;
	color: #ffffff;
    display: none !important;
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0; background: transparent; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(img/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -41px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}

/*---------------------------------------------
//  mobile menu
//---------------------------------------------
*/

div#mobile-menu{
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	background: #de0022;
	width: 180px;
	height: 100%;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3 ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-transform: translate3d(-100%,0,0);
	-moz-transform: translate3d(-100%,0,0);
	-ms-transform: translate3d(-100%,0,0);
	-o-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
	/*overflow-y: scroll;*/
    -webkit-overflow-scrolling: touch;
	padding-bottom: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div#mobile-menu.active{
	-webkit-transform: translate3d(0%,0,0);
	-moz-transform: translate3d(0%,0,0);
	-ms-transform: translate3d(0%,0,0);
	-o-transform: translate3d(0%,0,0);
	transform: translate3d(0%,0,0);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3 ease-in-out;
	transition: all 0.3s ease-in-out;
}

div#mobile-menu a{
	font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
	display: block;
	background: transparent;
	padding: 15px 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2 ease-in-out;
	transition: all 0.2s ease-in-out;
}

div#mobile-menu a:first-child{
	border-top: none;
}

div#mobile-menu a:hover{
	background: transparent;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5 ease-in-out;
	transition: all 0.5s ease-in-out;
}

div#mobile-menu a.first_sub_menu_level{
	font-size: 12px;
	padding-left: 30px;
}

#mobile-menu-button{
	background: transparent;
	height: 50px;
	font-size: 28px;
	color: #000;
	position: fixed;
	top: 0;
	left: 0;
	padding: 10px;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3 ease-in-out;
	transition: all 0.3s ease-in-out;
	border-right: none;
	z-index: 999999;
	display: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#mobile-menu-button.active{
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-transform: translateX(180px);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3 ease-in-out;
	transition: all 0.3s ease-in-out;
	background: #de0022;
	color: #ffffff;
}

.admin-bar div#mobile-menu,
.admin-bar #mobile-menu-button{
	top: 46px;
}

#mobile-site-title{
	float: left;
	width: 100%;
	text-align: center;
	display: none;
	line-height: 50px;
}

/*---------------------------------------------
//  Teamplate - Portfolio
//---------------------------------------------
*/
.portfolio-item{
	display: inline-block;
	width: 30%;
	margin-bottom: 30px;
}

/*---------------------------------------------
//  Teamplate - Team
//---------------------------------------------
*/

.team-member{
	text-align: center;
}

/*---------------------------------------------
//  Template - Mostrar hijos con foto
//---------------------------------------------
*/
.fill{
	display: inline-block;
	width: 30%;
	margin-bottom: 30px;
	vertical-align: top;
}

#llista-fills{
	text-align: center;
}

#llista-fills .fill:nth-child(3n+2){
	display: inline-block;
	width: 30%;
	margin: 0 3.33%;
}

/*---------------------------------------------
//  Contact Form 7
//---------------------------------------------
*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
	padding: 5px 10px;
	box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #000;
    border: 1px solid #9a9a9a;
    width: 100%;
}

.wpcf7 input[type="submit"]{
	border: none;
	background: #de0022;
	text-transform: uppercase;
	padding: 10px 10px;
	box-sizing: border-box;
	width: 100%;
	color: #fff;
	font-size: 20px;
	font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

/*================= PORTFOLIO =====================*/
#container-iso{
	width: 100%;
	box-sizing: border-box;
}

.item {
	float: left;
	width: 25%;
	height: auto;
	box-sizing: border-box;
	padding: 5px;
	overflow: hidden;
}

.item img{
	width: 100%;
	vertical-align: middle;
}

.item:hover .item-info-container{
	opacity: 1;
	top: 0%;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2 ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.item-info-container{
	opacity: 0;
	position: absolute;
	top: 0%;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	padding: 20px;
	box-sizing: border-box;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2 ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.item-info{
	width: 100%;
	height: 100%;
	background: white;
	padding: 25px;
	box-sizing: border-box;
}

#filters{
	width: 100%;
	display: block;
	height: 30px;
	text-align: right;
}

#filters div{
	display: inline-block;
}

#filters div:hover{
	cursor: pointer;
}

#portfolio-header-container{
	position: relative;
}

#portfolio-header-container img{
	vertical-align: top;
}

#portfolio-header-opacity{
	background: rgba(0,0,0,0.7);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
}

#portfolio-header-text{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;
}

.titol-llistat-fills{
	text-align: center;
}

/*---------------------------------------------
//  Listas
//---------------------------------------------
*/

#page-container #content ul{
	margin-bottom: 20px;
}

#page-container #content ul li:before{
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	background: #000;
	position: absolute;
	top: 8px;
	left: 10px;
}

#page-container #content ul li{
	position: relative;
	padding-left: 20px;
}

#footer-logos{
	text-align: center;
	margin-bottom: 0;
	background: #f8f8f8;
	padding: 40px 20px;
	box-sizing: border-box;
}

#footer-logos img{
	max-height: 43px;
	width: auto;
	vertical-align: middle;
	margin: 16px 10px;
	display: inline-block;
}

#intro-text{
	font-size: 16px;
	padding-top: 40px;
	padding-bottom: 60px;
	box-sizing: border-box;
}

#breadcrumbs-container{
	background: #de0022;
	padding: 10px 40px;
	box-sizing: border-box;
	float: left;
	width: 100%;
	color: #fff;
}

#breadcrumbs{
	max-width: 960px;
	margin: 0 auto;
}

#breadcrumbs a{
	color: #fff;
}

.entry-title{
	font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #de0022;
    text-transform: uppercase;
    font-size: 32px;
}

.page-id-121 #page-container #content{
	width: 50% !important;
	float: left !important;
	padding-right: 40px !important;
}

#mapa-contacto{
	width: 50%;
	float: right;
}

#mapa-contacto h2{
	margin-top: 30px;
}

#mapa-contacto iframe{
	height: 340px;
}

#post-121 textarea{
	min-height: 305px;
}

.flex-control-paging li a{
	background: rgba(222,0,34,0.3);
}

.flex-control-paging li a.flex-active{
	background: rgba(222,0,34,1);
}

#home-mapa-left{
	width: 50%;
	float: left;
}

#home-mapa-right{
	width: 50%;
	float: right;
}

.page-template-template-producto #page-container #content{
	float: left;
	width: 68% !important;
}

.page-template-template-producto #info-producto{
	float: right;
	width: 30%;
}

.page-template-template-producto #info-producto p{
	margin-bottom: 10px;
}

.page-template-template-producto #info-producto h3{
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #de0022;
    text-transform: uppercase;
    font-size: 16px;
}

#imagen-del-producto{
	margin-top: 20px;
}

#form-producto{
	border: 1px solid #ccc;
	padding: 10px 15px;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.descarga-de-archivo{
	border: 1px solid #ccc;
	display: block;
	width: 100%;
	padding: 5px 10px;
	padding-left: 30px;
	box-sizing: border-box;
	margin-top: -1px;
	background: url('img/descargar.png') no-repeat 10px center;
	background-size: 14px;
}

.page-template-template-mostrar-hijos-como-listado #llista-fills{
	text-align: left;
}

.page-template-template-mostrar-hijos-como-listado #llista-fills .entry-title{
	border-bottom: 1px solid #ccc;
	padding: 10px;
	box-sizing: border-box;
}

.social-footer-ico-facebook{
	max-width: 20px;
	height: auto;
	float: left;
	margin-right: 5px;
	margin-top: 2px;
	vertical-align: middle;
}

.social-footer-ico-twitter{
	max-width: 22px;
	height: auto;
	float: left;
	margin-right: 5px;
}

.social-footer-ico-youtube{
	max-width: 23px;
	height: auto;
	float: left;
	margin-right: 5px;
}

.col4 p{
	display: block;
	line-height: 25px;
}
/*===============RESPONSIVE=====================*/

/*== TABLET == iPad Landscape */
@media only screen and (max-width : 1024px)  {
	
	#page-container #content {
		padding: 0 20px 20px 20px;	
	}
	
	footer, #copyright{
		padding: 10px 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	.flex-prev,
	.flex-next{
		display: none !important;
	}
}

/* PC pequeños */
@media only screen and (max-width : 960px)  {
	#logo{
		margin-left: 20px;
	}
}

/*== TABLET == iPad PORTRAIT */
@media only screen and (max-width: 768px) {

	#wpadminbar{
		position: fixed !important;
	}

	header {
		text-align: center;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 998;
		background: #f2f2f2;
		height: 50px;
	}

	#logo{
		float: none;
	}
	
	#logo img {
		height: 100%;
		width: auto;
		padding: 4px 0;
	}

	#page-container #content {
		width: 100%;
		padding-top: 30px; 
	}
	
	#sidebar aside {
		width: 100%;
	}
	
	.sidebar-element{
		width: 50%;
		float: left;
	}
	
	.home #page-container #content{
		width: 100%;
	}
	
	#carousel-container{
		margin-top: 50px;
	}
	
	.home #page-container #content{
		padding-top: 0;
	}
	
	.item{
		width: 33.3%;
	}
	
	.carousel-title{
		bottom: 90px;
	}
	
	.carousel-text{
		padding: 20px 44px;
	}
	
}

/*== SMARTPHONE ==*/
@media only screen and (max-width: 600px) {
	
	#home-mapa-left,
	#home-mapa-right{
		display: none;
	}
	
	#page-container #content #intro-text ul li:before{
		display: none !important;
	}
	
	#intro-text{
		font-size: 22px;
		text-align: center;
	}
	
	#intro-text h2,
	#intro-text li,
	#intro-text p{
		text-align: center !important;
	}

	#container {
		margin-top: 0;
		margin-bottom: 0;
	}
    
	.sidebar-element{
		width: 100%;
		float: left;
		margin: 0 auto;
	}
	
	header {
		text-align: center;
	}
	
	/*
	header nav ul{
		display: none;
	}
	*/
	
	header nav {
		width: 100%;
		float: left;
		margin-left: 0;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	header nav select {
		display: inline-block;
	}
	
	.carousel-title{
		bottom: 0;
		font-size: 20px;
	}
	
	.carousel-text{
		bottom: 0;
		font-size: 16px;
		display: none;
	}
	
	.carousel-button{
		font-size: 14px;
		bottom: 8%;
	}
	
	.item{
		width: 50%;
	}
	
	#carousel-container{
		margin-top: 46px;
		float: left;
		width: 100%;
	}
	
	#footer-logos img{
		max-height: 30px;
	}
	
	.footer-col{
		width: 100%;
		text-align: center;
	}
	
	#logo{
		margin-left: 0;
	}
	
	.page-id-121 #page-container #content{
		width: 100% !important;
		padding-right: 20px !important;
	}
	
	#mapa-contacto{
		width: 100% !important;
	}
	
	#llista-fills .fill,
	#llista-fills .fill:nth-child(3n+2){
		width: 100%;
		margin: 0;
		margin-bottom: 20px;
	}
	
	img.alignright{
		margin: 0;
		margin-bottom: 20px;
		width: 100%;
		height: auto;
	}
	
	#breadcrumbs-container{
		margin-top: 46px;
	}
	
	.page-template-template-producto #page-container #content,
	#info-producto{
		width: 100% !important;
	}
	
	#sidebar{
		display: none;
	}

	#intro-text p{
		line-height: 30px !important;
	}
	
	.social-footer-ico-facebook,
	.social-footer-ico-twitter,
	.social-footer-ico-youtube{
		display: none;
	}
	
}

@media only screen and (max-width: 320px) {
	.item{
		width: 100%;
	}
}


/* Para 960px */  
@media only screen  
and (min-width : 1224px) {   
  #cn-notice-text{font-size: 15px!important; line-height: 35px!important;}
}  