/* =============================================================================
   Site Styles
   ========================================================================== */

.cleaner { clear: both; }
.left { float: left; }
.right { float: right; }

img { width:100%; }

ul li { list-style:none; }
a { text-decoration: none; }
a img:hover { opacity: 0.9; }

body { 
	font-family: 'Roboto', sans-serif;
	font-weight:300;
}

h1 { font-weight: 300; }
h3 { font-weight: 400; }
h1, h3 { color:#005496; }
h1.a { color: #000; margin-bottom:-15px!important;}


.container.clearfix.madera h1, .contacto1.madera h3, .container.clearfix.madera strong { color: #afa16a; }
.container.clearfix.madera h1{ margin-bottom: -15px; }


#portada {
	background:url(../img/backgrounds/background_02.jpg) no-repeat;
	background-size: cover;
    background-position: center!important;
  	height:100%;
}

#portada hr {
	color:#30CECB;
	background:#30CECB;
	border:3px solid;
	margin:0 0 10px;
	padding:0;
}

ul#idioma li { float:left; }
ul#idioma, ul#idioma li a { color:#fff; font-size:0.9em; font-weight: 400; }
ul#idioma li a:hover { color:#30CECB; }
ul#idioma li.activo a { color:#005496; }

.slicknav_menu {
	display:none;
	background: #30CECB;
}

.grid_6.frase { 
	margin-top:30px;
	margin-bottom: 20px;
	font-weight: 400;
	font-size: 1em; 
}
.grid_6.frase.vidrio { 
    background:rgba(142,204,204,0.6);
    color:#fff;
}
.grid_6.frase.madera { 
    background:rgba(175,161,106,0.6);
    color:#fff;
}
.grid_6.frase p { padding:0 20px; }
.grid_6.frase.vidrio span { color:#005496; }
.grid_6.frase.madera span { color:#005496; }

.flecha {
	float:right;
	width:207px;
	height:30px;
	display:block;
	background: url('../img/flecha.png') no-repeat;
}

.flecha:hover { opacity: 0.8; }

.flecha p { 
	color:#fff;
	font-size:0.88em;
	margin:5px 10px 0 0;
	text-align:right;
}

.container {
  margin: 20px auto;
}

.grid_4, .grid_8, .grid_12 { margin-bottom: 20px; }
.grid_11 h1 { font-size:2.5em; margin-bottom:20px; margin-top:0px; }

table.blindex td.t1 { border-right:1px solid; display:block; margin-right: 30px; padding-right: 30px; }

footer {
	color:#ccc;
	font-size: 0.8em;
}

footer a {
    color:#ccc;
}

footer a:hover {
	opacity: 0.5;
}

#footer1 { background:#333333; margin-bottom: -40px; }
#footer1 p { font-size: 1.3em; }
#footer1 ul { float:right; margin-top:15px; }
#footer1 ul li { float:left; margin-left:30px; }
#footer2 { background:#262626; }
#footer3 { background:#000000; }
#footer3 p, #footer3 a { color:#6acfdb; }

#partners li img.vasa { width: 105px; }
#partners li img.quanex { width: 106px; }
#partners li img.masisa { width: 120px;  }
#partners li img.knauf { width: 56px; margin-top:-7px; }
#partners li img.eternit { width: 96px; margin-top:-7px; }


/* DMG */
.nomargin_grid
{
	margin-right:0px;
	margin-left:0px;
	margin-bottom:0px;
	width: 324px;
}

.nomargin
{
	margin-right:0px;
	margin-left:13px;
	
}
.azl {
	color: #005496;
}
.azl2 h2{

	font-size:25px;
	font-weight:normal;
}

img.img_ig {margin: 3px 0px 0px 0px;}

/* HOME */

.imgmobile { display:none; }

#templados, #templados_en {
	background: url('../img/vidrios-templados1.png') no-repeat;
	-webkit-transition: background-image 0.3s;
    -moz-transition: background-image 0.3s;
    -o-transition: background-image 0.3s;
    transition: background-image 0.3s;
	width: 300px;
    height: 210px;
	display: block;
}
#templados_en {
	background: url('../img/vidrios-templados1_en.png') no-repeat;
}
#templados:hover {
	background: url('../img/vidrios-templados2.png') no-repeat;
}
#templados_en:hover {
	background: url('../img/vidrios-templados2_en.png') no-repeat;
}

#dvh, #dvh_en{
	background: url('../img/dvh1.png') no-repeat;
	-webkit-transition: background-image 0.3s;
    -moz-transition: background-image 0.3s;
    -o-transition: background-image 0.3s;
    transition: background-image 0.3s;
	width: 300px;
    height: 210px;
	display: block;
}
#dvh_en{
	background: url('../img/dvh1_en.png') no-repeat;
}
#dvh:hover {
	background: url('../img/dvh2.png') no-repeat;
}
#dvh_en:hover {
	background: url('../img/dvh2_en.png') no-repeat;
}

#laminados, #laminados_en {
	background: url('../img/vidrios-laminados1.png') no-repeat;
	-webkit-transition: background-image 0.3s;
    -moz-transition: background-image 0.3s;
    -o-transition: background-image 0.3s;
    transition: background-image 0.3s;
	width: 300px;
    height: 210px;
	display: block;
}

#laminados_en {
	background: url('../img/vidrios-laminados1_en.png') no-repeat;
}

#laminados:hover {
	background: url('../img/vidrios-laminados2.png') no-repeat;
}

#laminados_en:hover {
	background: url('../img/vidrios-laminados2_en.png') no-repeat;
}

.white-popup {
    position: relative;
    background: #FFF;
    padding: 2.75%;
    width: auto;
    max-width: 60%;
    margin: 20px auto;
}

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
	width: 100% !important;
}

/* SCROLL UP */

.scrollup, 
.scrollup_en {
    width: 67px;
    height: 25px;
    position: fixed;
    bottom: 28px;
    right: 20px;
    display: none;
    text-indent: -9999px;
    background: url('../img/up.png') no-repeat;
}
.scrollup_en {
	background: url('../img/flecha-eng.png') no-repeat;
}


/* CONTACTO */

input:required:invalid, input:focus:invalid {
  /* insert your own styles for invalid form input */
  -moz-box-shadow: none;
}

.contacto ul,.contacto2 ul { padding:0; }
.contacto ul li, .contacto2 ul li { margin:10px 0; }
.contacto ul input, .contacto ul textarea, .contacto2 ul input, .contacto2 ul textarea { 
	float: right;
	font-family: 'Roboto', sans-serif;
	font-size:18px;
	font-weight:300;
	color:#333;
	width:94%;
	background:#e4e4e4;
	padding:10px 0 10px 15px;
	margin-bottom:10px;
	border:0px; 
}
.contacto label.error, .contacto2 label.error { color:#e2017b; }

input[type="submit"].button-blue{
    margin-left: -4px;
}

.button-blue{
	float:left;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background-color: #005496;
	color:white;
	font-size:18px;
	font-weight: 300;
	padding-top:5px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
    margin-top:-4px;
    width:160px;
    height:50px;
}

.button-blue:hover{
	background-color:#3498db;
	color: #fff;
}

.grid_6.contacto1 .grid_2 { 
	margin-left:-4px;
}

.container.contacto1.clearfix.madera hr { 
	border-style: solid;
	margin:0px 0;
	width:100%;
}


.grid_6.contacto1 hr { 
	border-style: dashed;
	margin:30px 0;
	width:97%;
}

.grid_6.contacto1 h3 { margin-bottom:0; }
.grid_6.contacto1 p { margin-top:0; color:#666666; font-size: 0.9em; }
.grid_6.contacto1 p a { color:#666666; }
.grid_6.contacto1 p span { color:#005496; font-weight: 400; }

.grid_6.contacto2 p { margin-top:0; color:#666666; font-size: 0.9em; }

h1.exito { color:#e2017b; line-height: 1.3em; }

.google-maps {
    position: relative;
    padding-bottom: 58.51%; 
	padding-bottom: 1%; 
	margin-top:3%;
    height:230px;
	width:100%;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* PRODUCTOS */

.productos h3 { color:#00aced; font-size: 1.8em; margin-bottom: 0; margin-top: 0; }
.container.clearfix.madera .productos h3 { color:#005496; }
.container.clearfix.madera2 .productos h3 { color:#00aced; }
.productos ul { color:#005496; padding-left:0; }
.productos a { color:#e2017b; }
.productos a:hover { color:#00ABF6; }

#grillaProductos .grid_3 p { color:#005496; font-size: 0.8em; }
#grillaProductos.pmadera .grid_3 p { color:#B0A361; }

.grid_9.productos h3 { margin-top:0; font-weight: bold; font-size:1.8em; line-height: 1.2em; }
.grid_9.productos h4 { color:#00aced; }
.grid_9.productos ul { font-size: 0.8em; }

.grid_3.detalle a img { margin-top:1em; }
.grid_3.detalle p { margin-top:0.5em; }
.grid_3.detalle p a { color:#e51987; font-size: 0.9em; font-weight: bold; }

/* Custom JQueryUI */

.ui-widget {
    font-family: 'Roboto', sans-serif;
    font-weight:300;
    font-size: 0.8em;
}

.ui-widget-content {
    background: none;
    border: 0;
}

.ui-accordion .ui-accordion-header { 
    font-size: 1.3em;
    font-weight: normal;
    height: 1.8em;
    margin-top: 0.5em;
    padding-top: 1em;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { border-top-right-radius:0; }
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { border-top-left-radius:0; }

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background: #005496;
    border: 0;
    color: #ffffff;
    font-weight: bold;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #005496;
    color: #ffffff;
    border:0;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { border-bottom-right-radius:0; }

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { border-bottom-left-radius:0; }

#accordion ul li { color:#000; }
#accordion a, #accordion a:hover { color:#005496; font-weight: bold; }

.ui-state-default .ui-icon { background-image: url("../img/accflecha.png"); display:block; height:9px; width:19px; }


a.quanex_link{
	width:224px;
	height:48px;
	padding:15px 40px 15px 40px;
	background-color:#006699;
	font-family: 'Roboto', sans-serif;
	font-weight:bold;
	font-size:20px;
	color:#FFF;
}


/* =============================================================================
   Media Queries
   ========================================================================== */

/* Desktop */
@media only screen and (min-width: 1024px) {
    .ajusteImg1 { width:300px; }
    .ajusteImg2 { width:632px!important; }
	
	
	/* DMG */
	.nomargin_grid
	{
		width: 324px!important;
	}
	
}

/* Tablet Portrait size to Base 996px */
@media only screen and (min-width: 768px) and (max-width: 995px) {
	.js #menu, li.divisor { display:none; }	
	.js .slicknav_menu { display:block; }
	
	.imgmobile { display:block; }
	#templados, #dvh, #laminados,
	#templados_en, #dvh_en, #laminados_en
	{ display:none; }	

    #portada hr { display:none; }

    #footer1 ul li { margin-left: 0px; }
    #footer1 ul li a img { width: 80%!important; }
	#partners li img.knauf { margin-top:-4px; }
	#partners li img.eternit { margin-left:10px; }
}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
	.js #menu, li.divisor { display:none; }
	.js .slicknav_menu { display:block; }

	.imgmobile { display:block; }
	#templados, #dvh, #laminados,
	#templados_en, #dvh_en, #laminados_en	{ display:none; }

    #portada hr { display:none; }

    #footer1 ul li { margin-left: 0px; width:20%; }
    #footer1 ul li a img { width: 80%!important; }

	footer #partners { margin-top:-5px!important; }

    #partners li img.vasa, #partners li img.quanex, #partners li img.masisa { margin-top: 0px!important; }
    #partners li img.knauf { width:50%!important; margin-top: -5px!important; }
    #partners li img.eternit { margin-left: -20px!important; }
}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.js #menu, li.divisor { display:none; }
	.js .slicknav_menu { display:block; }

	.imgmobile { display:block; }
	#templados, #dvh, #laminados,
	#templados_en, #dvh_en, #laminados_en	{ display:none; }

    #portada hr { display:none; }
}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {
	.js #menu, li.divisor { display:none; }
	.js .slicknav_menu { display:block; }

	.imgmobile { display:block; }
	#templados, #dvh, #laminados,
	#templados_en, #dvh_en, #laminados_en	{ display:none; }

    #portada hr { display:none; }
    #portada .grid_3 { margin:0!important; }
    #portada .grid_1 { display:none; }
    #portada .grid_6.frase { margin-top:-4px!important; }
    #portada .grid_6 { margin-top:0px!important; }

    .grid_4.mobile { display:none; }
    .grid_11 { width:150px!important; }
    .grid_11 h1 { float:left; line-height:1.1em; font-size:2.1em!important; width:220px!important; }
	h1.a {
		margin-bottom: 0px!important;
	}
	
	.img_down_contacto {display:none;}
	
    .grid_1 { width:50px!important; float:right!important; }
    .productos h3 { line-height: 1.1em; font-size:1.5em; }

    #footer1 ul li { margin: 10px 0; clear:both; }
    #footer2 ul { padding-left: 0; width: 335px; }
    #footer3 p { width:180px; }
    
    #accordion-resizer { width:270px!important; }
    .ui-accordion .ui-accordion-header { font-size:0.8em!important;}

    footer #partners { margin-top:-25px!important; }
    #footer1 ul li { margin-left: 0px; margin-top:7px; width:40%; }
    #partners li img.vasa, #partners li img.quanex, #partners li img.masisa { margin-top: 0px!important; }
    #partners li img.knauf { margin-top: -0px!important; }
    #partners li img.eternit { margin-left: -0px!important; }
	
	
	img.img_ig {margin: 1px 0px 0px 10px;}
	
	
	.container.clearfix.madera h1{
		margin:0;
	}
	.container.contacto1.clearfix.madera{
		margin:0;
	}
}