/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    vertical-align:top;
	font-family: Arial, Helvetica, sans-serif;
	color:#4d4d4d;
	background-color:#ccc;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

div.clear  { clear: both; }
div.clear_1  { clear: both; padding-top: 15px;}
div.clear_2  { clear: both; padding-top: 80px;}
div.clear_3  { clear: both; padding-top: 40px;}
div.clear_4  { clear: both; padding-top: 30px;}
div.clear_5  { clear: both; padding-top: 6px;}
div.clear_esp_1  { clear: both; padding-top: 70px;}

hr.linea_color {
    border-top: 1px solid #1E254E;
}

.barra {
	width: 100%;
	height: 5px;
	background-color: #1E254E;
}

.titulos {
	font-size: 130%;
}

.titulos_2 {
	font-size: 200%;
	font-weight: normal;
}

.subtitulos {
	font-size: 120%;
}

.subtitulos_2 {
	font-size: 105%;
}

.avisos{
	color: #FF0000;
}

#contenedor {
	font-size: 90%;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 20px;
	width: 980px;
	background-color: #FFF;
	-webkit-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	-moz-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

#logo_contenedor {
	float:left;
	width: 29%;
}

#logo {
	float:right;
	width: 75%;
}

#barra_inferior {
	font-size: 65%;
	margin-top:20px;
	padding: 5px 30px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	color: #777;
}

#barra_inferior a {
	color: #777;
}

#barra_inferior #navegador_pie {
	float:left;
}

#barra_inferior #img_basf {
	float:right;
}

#barra_inferior #hero {
	float:left;
}

#navegador_contenedor {
	float:right;
	width: 66.5%;
	padding-top: 46px;
}

#navegador {
	float:left;
	width: 100%;
}

#navegador a {
	color:#1e254e;
	padding: 8px 18px;
	background-color:#E6E6E6;
	margin: 0;
	float: left;
	text-decoration:none;
	font-size:90%;
}

#navegador a:hover {
	background-color:#A1CBEE;
}



#navegador_subpaginas {
	float:left;
	width: 100%;
    line-height: 1;
	font-size: 90%;
}

#navegador_subpaginas a.cisternas {
	margin-right: 3%;
}


#navegador_lateral {
	margin-top: 25px;
}

#navegador_lateral a {
	display:block;
	width:100%;
	color:#FFFFFF;
	background-color:#A1CBEE;
	text-align:left;
	padding: 10px 0 10px 130px;
	margin-bottom: 3px;
	text-decoration:none;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-webkit-border-radius: 0px 25px 25px 0px;
	-moz-border-radius: 0px 25px 25px 0px;
	border-radius: 0px 25px 25px 0px;
}

#navegador_lateral a.sel {
	background-color:#2F97DA;
}

#navegador_lateral a.sub {
	color:#2F97DA;
	background-color:#FFFFFF;
	padding: 3px 0 3px 0;
	margin: 0 0 0 130px;
	width: auto;
	display:list-item;
	list-style:none;
}

#navegador_lateral a.sub:hover {
	list-style:disc;
	text-decoration:underline;
}

#navegador_lateral a.sel:hover, #navegador_lateral a.sin:hover {
	background-color:#1161A6;
}

.contenedor_1{
	float:left;
	width: 25%;
	background-color:#D9D9D9;
	padding: 10px 10px;
	margin: 0 105px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.ima_rollover {
	position: relative;
	float: left;
    z-index: 0;
    width: 100%;
}

.ima_rollover_sobre {
	position: absolute;
	float: left;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.ima_rollover img {
	-webkit-border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
}

.contenedor_2{
	float:left;
	width: 22%;
	height: 160px;
	background-color:#D9D9D9;
	padding: 3px;
	margin: 5px 13px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.contenedor_2 .contenedor_2_texto {
	font-size: 80%;
}

table {
    text-align:left;
}

table thead th{
    text-align:center;
    padding:8px 15px;
    border:1px solid #7c868f;
    background: #D9D9D9; /* Old browsers */
}

table tbody td, table tbody th{
    padding:5px;
    border: 1px solid #7c868f;
}

table tbody th{
    text-align:left;
    font-weight:normal;
}

.iframe_google_map {
	width: 600px;
	height:350px;
}







.contenedor_3{
	float:right;
	width: 62%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	padding-right: 115px;
}

.contenedor_4{
	float:right;
	width: 58%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	padding-right: 160px;
}

.contenedor_5{
	float: left;
	width: 25%;
	margin-left: 8%;
}

.contenedor_6{
	float: left;
	width: 48%;
	background-color: #E5E5E5;
	border:#B2B2B2 solid 1px;
	padding: 5px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.contenedor_6 .cabecera {
	float: left;
	width: 100%;
	background-color: #333;
	color: #D9D9D9;
	padding: 3px;
	margin-bottom: 5px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.contenedor_6 img {
	float: left;
	max-width: 66%;
}

.contenedor_6 .enlaces {
	float: right;
	width: 33%;
}

.contenedor_6 .enlaces a {
	float: left;
	clear: both;
	width: 100%;
	background-color: #FFF;
	color: #B37642;
	display: block;
	margin-bottom: 8px;
	padding: 3px 8px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.contenedor_7{
	float: left;
	width: 55%;
}

.contenedor_8{
	float: left;
	width: 40%;
	padding-left: 5%;
}

#redes_sociales img {
	padding: 0 7px;
}


a, ul.links , ul.links a {
	color: #b37642;
	text-decoration: none;
}

a:hover, ul.links a:hover {
	text-decoration: underline;
}

img.adornada {
	background-color: #E5E5E5;
	border:#B2B2B2 solid 1px;
	padding: 5px;
}

img.justificada {
	float:left;
	padding: 0 10px 10px 0;
}

img.justificada_adornada {
	background-color: #E5E5E5;
	border:#B2B2B2 solid 1px;
	padding: 5px;
	float:left;
	margin: 0 10px 10px 0;
}

form, form.largo {
	width: 45%;
	margin: 10px auto;
	padding: 20px;
	background: #F0F0F0;
	border: 1px solid #e1e1e1;
	font-size: 90%;
}

form.largo {
	width: 70%;
}

form fieldset .separadores {
	clear:both;
	background-color: #D9D9D9;
	padding: 3px;
	margin: 5px 0;
	text-align:center;
}


label {
	float: left;
	clear: left;
	margin: 8px 9px 0 0;
	width: 30%;
	text-align: right;
}

input, textarea {
	width: 55%;
	padding: 4px 8px;
	margin: 0 0 7px 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius: 2px;
	border: 1px solid #e1e1e1;
}

input[type=radio] {
	width: 10%;
}

textarea {
	height: 130px;
}
	
input:focus, textarea:focus {
	background: #FFF8D6;
}

input[type=submit], input[type=reset] {
	background-color: #404040;
	color: #D9D9D9;
}

input[type=submit]:hover {
	background: #2D552F;
}

input[type=reset]:hover {
	background: #711514;
}


table.costos td, table.costos th{
	text-align: center;
	padding: 5px 10px;
}

table.costos th{
	background-color: #d3d2d2;
	font-weight:normal;
}

#proyecto_texto {
	padding-top: 20px;
}

#listado_proyecto_texto {
	width: 55%;
	margin-left: 20px;
	float: left;
}

#listado_proyecto_imagen {
	width: 40%;
	float: left;
}

#proyecto_texto .titulo, #listado_proyecto_texto .titulo {
	color: #666666;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 5px;
}
	
#proyecto_texto .descripcion, #listado_proyecto_texto .descripcion {
	padding-left: 20px;
	padding-bottom: 10px;
}


/* === Para la galeria === */
#gallery1, #gallery2, #gallery3, #gallery4, #gallery5, #gallery6, #gallery7, #gallery8, #gallery9, #gallery10 {
	max-width: 300px;
	float: left;
	margin: 30px;
}
#gallery1 ul, #gallery2 ul, #gallery3 ul, #gallery4 ul, #gallery5 ul, #gallery6 ul, #gallery7 ul, #gallery8 ul, #gallery9 ul, #gallery10 ul {list-style: none;  padding: 0px; margin: 0px;}
#gallery1 ul li, #gallery2 ul li, #gallery3 ul li, #gallery4 ul li, #gallery5 ul li, #gallery6 ul li, #gallery7 ul li, #gallery8 ul li, #gallery9 ul li, #gallery10 ul li { display: inline;}
#gallery1 ul a, #gallery2 ul a, #gallery3 ul a, #gallery4 ul a, #gallery5 ul a, #gallery6 ul a, #gallery7 ul a, #gallery8 ul a, #gallery9 ul a, #gallery10 ul a { text-decoration: none; }

#gallery_certificados a {
	text-decoration:none;
	margin: 30px;
}

#gallery1 img, #gallery2 img, #gallery3 img, #gallery4 img, #gallery5 img, #gallery6 img, #gallery7 img, #gallery8 img, #gallery9 img, #gallery10 img, #galeria_proyecto img {
	background-color: #E5E5E5;
	border:#B2B2B2 solid 1px;
	padding: 5px;
	margin-top: 10px;
	-webkit-transition:0.2s;
	-moz-transition:0.2s;
	-o-transition:0.2s;
	-ms-transition:0.2s;
	transition:0.2s;
}

#galeria_proyecto img {
	margin: 20px;
	margin-top: 10px;
}

#gallery1 img:hover, #gallery2 img:hover, #gallery3 img:hover, #gallery4 img:hover, #gallery5 img:hover, #gallery6 img:hover, #gallery7 img:hover, #gallery8 img:hover, #gallery9 img:hover, #gallery10 img:hover, #galeria_proyecto img:hover {
	-webkit-transform:scale(1.1);
	-moz-transform:scale(1.1);
	-o-transform:scale(1.1);
	-ms-transform:scale(1.1);
	transform:scale(1.1);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/*
@media only screen and (max-width: 980px) {
	#contenedor {
		width: 960px;	
	}
	
	#eslogan {
		font-size: 300%;
	}
	
	#gallery1, #gallery2, #gallery3, #gallery4, #gallery5, #gallery6, #gallery7, #gallery8, #gallery9, #gallery10 {
		margin: 30px 100px 30px 30px;
	}
	
	#gallery_certificados a {
		margin: 5px;
	}
	
	#navegador {
		font-size: 80%;
	}
	
	#nav li { padding: 0 2px; width: 12%;  }
	
	#galeria_proyecto img {
		margin: 10px 29px;
	}

}
*/
@media only screen and (max-width: 767px) {
	#contenedor {
		width: 750px;	
	}
	
	#logo_contenedor {
		float:left;
		width: 25%;
	}
	
	#logo {
		width: 100%;
		float:left;
		padding: 5px 0 0 0;
	}
	
	#navegador_contenedor {
		width: 74%;
		padding-top: 43px;
	}
	
	#navegador a {
		padding: 8px 12px;
	}
	
	.contenedor_1{
		width: 30%;
		margin: 0 70px;
	}
	
	.contenedor_2{
		width: 22%;
		height: 160px;
		margin: 5px 10px;
	}
	
	form, form.largo {
		width: 60%;
	}

}

@media only screen and (max-width: 640px) {
	#contenedor {
		width: 620px;
		padding: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	
	#logo_contenedor {
		float:none;
		margin: 0 auto;
		width: 35%;
	}
	
	#logo {
		width: 100%;
		padding: 8px 0 0 0;
	}
	
	#navegador_contenedor {
		clear:both;
		float:left;
		width: 100%;
		padding-top: 10px;
	}
	
	#navegador a {
		padding: 8px 20px;
	}
	
	.contenedor_1{
		width: 35%;
		margin: 0 40px;
	}
	
	.contenedor_2{
		width: 22%;
		height: 160px;
		margin: 5px 9px;
	}
	
	form, form.largo {
		width: 75%;
	}
}

@media only screen and (max-width: 480px) {
	#contenedor {
		width: 460px;
	}
	
	#logo_contenedor {
		width: 45%;
	}
	
	#navegador_contenedor {
		padding-top: 10px;
	}
	
	#navegador a {
		padding: 8px 0;
		width:33%;
		text-align:center;
		border: #FFFFFF solid 1px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
	
	.contenedor_1{
		width: 40%;
		margin: 0 20px;
	}
	
	.contenedor_2{
		width: 30%;
		height: 150px;
		margin: 5px 5px;
	}
	
	form, form.largo {
		width: 89%;
	}
	
	.iframe_google_map {
		width: 100%;
		height:350px;
	}
	
	#barra_inferior {
		font-size: 80%;
		margin-top: 10px;
		padding: 5px 5px;
	}
}

@media only screen and (max-width: 320px) {
	#contenedor {
		width: 300px;
	}
	
	#logo_contenedor {
		width: 85%;
	}
	
	#navegador_contenedor {
		padding-top: 15px;
	}
	
	#navegador a {
		width: 50%;
	}
	
	.contenedor_1{
		width: 80%;
		margin: 10px 25px;
	}
	
	.contenedor_2{
		width: 68%;
		height: 160px;
		margin: 5px 45px;
	}
	
	form, form.largo {
		width: 95%;
		margin: 0 auto;
		padding: 2px;
	}
}
