@import url(https://fonts.googleapis.com/css?family=Work+Sans:400,800);
* { margin:0; padding:0; box-sizing:border-box;}
html {
	height: 100%;
}
body {
	background-color: #30393f; 
	background-image: repeating-linear-gradient(-45deg, rgba(0,0,0,0), rgba(0,0,0,0.8) 1px, transparent 1px, transparent 6px);
	background-size: 8px 8px;
	font-family: 'Work Sans', sans-serif;
	font-style: normal;
	height: 100%;
}
header > div {
	float: left;
	height: 100%;
}
header div:nth-of-type(1){
	width: 33.333%;
	overflow: hidden;
}
header div:nth-of-type(2){
	width: 66.666%;
	background: url(../images/IMG_7274_slate.jpg) no-repeat right top;
	background-size: cover;
}
header nav, footer nav, h3, h1{
	font-weight: 800;
}
header nav {
	height: 9.5em;
}
header nav {
	letter-spacing: .05em;
	font-size: 1.25em;
	text-transform: uppercase;
	/*clear: left;*/
	float: right;
	padding: .5em;
	}
header nav a {
	color: rgba(255,255,255,.9);
	text-decoration: none;
	border-bottom: solid .2em rgba(255,255,255,.9);
	padding: .15em .25em .15em;  
	margin: 0 .1em;
	}
header nav a:hover {
	color: #B2001C;
	background-color: rgba(255,255,255,.9);
	border-top: solid .25em #000;
}
nav a.active {
	opacity:.7;
}
nav a.active:hover {
	background: none;
	color: rgba(255,255,255,.9);
	}
nav#secondary_nav {
	margin-top:1em;
}
nav#secondary_nav li {
	display: inline-block;
	padding: 0 .5em;
}
nav#secondary_nav a {
	color:#78838e;
	}
main {
	padding-bottom: 1em;
}
h1{
	font-size: 3em;
	color: rgba(133,160,176,.85);
	letter-spacing: .05em;
	text-transform: uppercase;
	text-align: center;
	padding-top: 1em;
	}
h2 {
	text-transform: uppercase;
	color: #F3FFFF;
	font-size: 1.5em;
	padding: .2em 0;
	font-weight: 400;
	line-height:1.1em;
	}
h3 {
	color: #B2001C;
	font-size: 1.35em;
	padding-bottom:.3em;
	text-transform: uppercase;
	line-height:1em;
}
h4 {
	text-transform: uppercase;
	font-weight: 800;
	line-height: 1.25em;
	font-size: 1.05em;
	text-align: center;
	letter-spacing: .05em;
}
h5 {
	text-transform: uppercase;
	font-size: 1em;
	line-height:1em;
}
h6 {
	font-size: .9em;
	padding-top: .35em;
	padding-bottom: .2em;
}
main > p {
	font-size: 1.1em;
	text-align: center;
	color: #AFBCBB;
	text-transform: uppercase;
	letter-spacing: .1em; 
	padding-top: .25em;
	}
footer{
	background-color: rgba(0,0,0,.5);
	color: #D0E1E8;
	margin-top: 3em;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}
footer a {
	color: #D0E1E8;
}
footer h3 {
	float: left;
	color: rgba(255,255,255,.85);
	padding-right: .75em;
}
footer > nav {
	/*float: none;*/
	margin-bottom: 1em;
	padding: 8px 28px;
	font-size: 1.25em;
	text-transform: uppercase;
}
footer > nav a {
	/*letter-spacing: 0;*/
	color: #91B7C4;
	margin-left: 0;
	padding: .15em .25em .15em;
	border-bottom: solid .2em #91B7C4;
	text-decoration: none;
	}
footer > nav a:hover {
	background-color: transparent;
	color: #fff;
	border-bottom-color: #fff;
}
footer span {
	float: left;
	margin-right: 1em;
}
#contactos div, #sanlo div {
	float: left;
	margin: 0 1.4em 2em 0;
	font-size: .8em;
}
footer span:first-of-type {
	margin-left: 28px;
	}
address {
	font-style: normal;
}
iframe {
	height: 250px;
	background-color: rgba(255,255,255,.9);
	padding: .5em;
}
ol {
  list-style-position: inside;
}
#wrapper {
    min-height: 100%;
    position: relative;
    padding-bottom: 200px;
    /*min-height: -webkit-calc(100% - 100px);    
    min-height: -moz-calc(100% - 100px);     
    min-height: calc(100% - 100px);   */  
}
#wrapper > header{
	border-bottom: solid .1em #28333C;
	box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3), 4px 4px 10px rgba(0,0,0,.15);
	background-color: rgba(0,0,0,.15);
}
#logo {
	max-width: 12.5em;
	position: absolute;
	top: 1.25em;
	left: 1.25em;
	opacity: .95;
}

#map {
	width: 11em;
	float: right;
	margin-right: 4em;
}
#areas, #recursos_fotos {
	width: 80%;
    margin:0 auto;
    margin-top: 2em;
}

#areas img, #recursos_fotos img {
	width: 24%;
	margin: .5%;
	float: left;
	display: block;
	line-height: 0;
	border-bottom: solid 1.25em #A3001A;
}

#intro {
	padding: 0;
	width: 80%;
	background-color: rgba(0,0,0,.5);
	margin: 1em auto;
	}
#map_intro {
	display:flex;
	flex-direction: column;
}
#mapa_obras {
	width: 65%;
    margin: 2em auto 3em auto;
}
#organigrama {
    margin: 1em auto 3em auto;
    width:100%;
    max-width:900px;
}
#intro > header {
	float: left;
	width: 24%;
	margin: 0 2%;
	color: #fff;
	padding: 1.5em .5em;
	line-height: 1.5em;
	font-weight: normal;
	}
#map_intro header {
	width: 24%;	
	padding: 2em;
	}
#intro > div {
	float: left;
	background-color: rgba(255,255,255,.95);
	width: 72%;
	padding: 1.7em;
	}
#map_intro_txt {
	display:flex;
}
#map_intro_txt_body {
	background-color: rgba(255,255,255,.99);
	padding: 2em;
}
#intro div div {
	float: left;
	width: 50%;
	margin: 0;
	padding-left: 1em;
	}
#map_intro img {
	display:block;
	}
#intro p, #map_intro p {
	color: #191919;
	font-size: .9em;
	line-height: 1.4em;
}
#intro h6, #map_intro h6 {
	color: #000;
}
#experiencia {
	width: 100%;
}
/*#recursos_fotos {
	display: flex;
	justify-content: space-between;
	margin:0 auto;
}*/
/*#recursos_fotos img {
	display: block;
	border-bottom: solid 1.25em #A3001A;
	flex-basis:24%;
}*/

#organigrama {
	display: block;
}
#mapa_obras img  {
	width: 100%;
	min-width: 652px;
	display: block;
}
#legal {
	font-size: .75em;
	color: #62737A;
	text-align: center;
	clear: left;
	background-color: #000;
	padding:.8em;
}
#contact_box {
	width: 65%;
	background-color: rgba(255,255,255,.97);
	margin: 2em auto 0;
}
#contact_box a {
	color: rgba(0,0,0,.9);
}
#contact_box h3 {
	float: left;
	color: rgba(0,0,0,.9);
	padding-right: .75em;
}
#contact_list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: flex-start;
	padding: 2em 1em .75em;
}
#contact_box span {
	float: left;
}
#contactos div, #sanlo div {
	float: left;
	margin: 0 1.4em 2em 0;
	font-size: .8em;
}
.column {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.plus {
	font-family: "Courier New", Courier, monospace;
	font-weight: normal;
	color: #A71B31;
	font-size: .8em;
	vertical-align: middle;
}
.proj_menu {
	width: 60%;
    margin-top: 0 2em;
    display:flex;
    flex-wrap:wrap;
	justify-content:flex-start;
}
.proj_menu img {
	display: block;
	width: 100%; 
	line-height: 0;
}
.proj_menu div {
	padding: 1em .75em 1.5em;
	height: auto;
}
.proj_menu a {
	text-decoration: none;
	flex-basis: 16%;
	background-color: #A3001A;
	color: #F3FFFF;
}
.proj_menu a:link {
	-webkit-transition: background-color .4s ease;
	-moz-transition: background-color .4s ease;
	-ms-transition: background-color .4s ease;
	-o-transition: background-color .4s ease;
	transition: background-color .4s ease;
}
.proj_menu a:hover{
	background-color:rgba(255,255,255,.95);
	color: #000;
}
.proj_menu p {
	font-size: .9em;
	margin-top: .1em;
	text-align: center;
	text-transform: uppercase;
}
#project_pics {
		width: 90%;
	    display: flex;
	    flex-wrap: wrap;
	    justify-content: space-around;
	    align-items: flex-start;
	    margin-bottom: 2em;
	}
.proj_detail {
	background-color: rgba(255,255,255,.95);
	padding: .5%;
    margin:0 auto;
    margin-top: 3em;
    position: relative; /*for the absolute position of the back-to-top arrow*/
}
.proj_detail h3{
	padding: 0;
	margin: .5em 3%;
}
.proj_detail h3 + p{
	margin: .8em 3%;
}
.proj_detail img + img{
	width: 45.5%;
	margin-left: 3%;
	margin-bottom: .7em;
	float: left;
	display: block;
}
img.large{
	width: 94% !important; 
	margin: .5em 3%;
}
.legenda {
	margin: 1em 3% .5em 3%;
	color: #68757E;
	display: inline-block;
	width: 94%;
	text-align: center;
	font-size: .9em;
	font-style: italic;
}
.top_arrow {
	width: 20px;
	height:20px;
	background: url(../images/top_arrow.svg) no-repeat;
	background-size: cover;
	position: absolute;
	bottom: -2em;
	right: 0;
}
.proj_list {
	padding: 1.5em;
	width:80%;
	background-color: rgba(255, 255, 255, 0.9);
	color: #191919;
}
.proj_list div {
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
    -webkit-column-gap: 25px; /* Chrome, Safari, Opera */
    -moz-column-gap: 25px; /* Firefox */
    column-gap: 25px;
    padding-top: 1em;
}
.proj_list p{
	font-size:.9em;
}
.proj_list ul {
	list-style-type: none;
	padding-bottom:.5em;
}
.proj_list li{
	font-size:.9em;
	line-height: 1.2em;
	margin-bottom: .4em;
}
.txt {
	padding: 1.5em;
	background-color: rgba(0,0,0,.3);
	color: #c0c0c0;
	margin: 2em auto 1em auto;
	width: 70%
}
.txt p {
	font-size: .9em;
	line-height: 1.4em;
}
#map_text {
	background-color: rgba(255,255,255,.95);
}
.txt h3, .txt h6 {
	color: rgba(255,255,255,.95);
}
.txt_2cols {
	-webkit-column-count: 2;
    -moz-column-count: 2; 
    column-count: 2;
    -webkit-column-gap: 25px; 
    -moz-column-gap: 25px; 
    column-gap: 40px;
    }
.txt_2cols p, .txt_2cols ol {
	widows: 3; orphans: 3;
}
.txt_2cols div {
	break-inside: avoid;
}
ul.txt_2cols {
	list-style-type: none;
	line-height: 1.4em;
	widows: 3; orphans: 3;
	margin: 1em auto 1.5em;
}
ul.txt_2cols li {
	break-inside: avoid;
	margin-bottom:.75em;
}

.icons {
	float: right;
	margin: 0 2em .5em;
}
.icons img{
	opacity: .85;
	height: 25px;
}
#social { 
	width: 100%; }
#social a {
	float: right;
}
#social a img{
	height: 25px;
}
.clearfix:after {
	display: block;
	content: " ";
	clear: both;
	font-size: 0; 
	visibility: hidden;
	height: 0;
}
@media only screen and (min-width: 1301px) {
	header > div {
		background-position: 50% -120%;
	}
	#areas {
		width: 1090px;
	}
	#intro {
		width: 885px;
	}
	#map_intro, .proj_list {
		width: 69%;
	}
	#map_intro > div {
		width: 80%%;
	}
	#map_intro header {
		width: 86%;
		padding-bottom: 1.7em;
	}
	#map_intro_txt_body {
		display:flex;
		justify-content: space-between;
	}
	#map_intro_txt_body div {
		flex-basis:48%;
	}
	#recursos_fotos {
		width: 97%;
		margin-top:1em;
	}
	/*#experiencia > div img {
		flex-basis:24%;
	}*/
	.proj_menu {
		width: 69.4%;
		margin: 2em 0;
	}
	.proj_menu a {
		flex-basis: 16%;	    
		margin: 0.25%;
	}
	
	.proj_detail {
		flex-basis:32%;
		margin-bottom: .75em;
	}
}
@media only screen and (min-width: 1820px) {
	#map_intro h2 {
		color: #000;
	}
	.spacer {
		width:80%;
		height:2em;
		background-color: rgba(255, 255, 255, 0.9);
		margin-top: 2em;
	}
	#map_intro {
		width: 100%;
		flex-direction: row;
		background-color: rgba(255,255,255,.99);
	}
	#map_intro > div {
		width: 49.75%;
	}
	#map_intro header {
		width: 86%;
		padding-bottom: 1.7em;
	}
	#map_intro_txt {
		flex-direction: column;
		padding: 4em 16em .5em 2.7em;
		background-color:transparent;
	}
	#map_intro_txt_body {
		display:flex;
		justify-content: space-between;
		padding:0;
	}
	#map_intro_txt_body div {
		flex-basis:48%;

	}
	.proj_menu {
		width: 97%;
	}
	.proj_menu a {
	flex-basis: 10.5%;	    
	margin: 0.25%;
	}
	.proj_list {
		width: 80%;
		padding: 2em;
	}
	
	.proj_list div {
	    -webkit-column-count: 4;
	    -moz-column-count: 4;
	    column-count: 4;
	}
	#experiencia {
		margin-top: .75em;
	}
	#recursos_fotos {
		width: 80%;
	}

	/*.txt {
		float: left;
		width: 42%;
		margin-top: 4em;
		margin-left: 4%;
	}*/
	#organigrama  {
	    /*margin-right: 1em;
	    float: right;*/
	    width: 80%;
	}
}
@media only screen and (max-width: 1300px) {
	header > div {
		background-position: 50% -120%;
	}
	#intro div div {
		float: none;
		width: 100%;
		padding-bottom: 0;
	}
	#intro div + div {
		padding-top: 1em;
	}
	#intro header, #map_intro header {
		width: 30%;
	}
	#intro > div {
		width: 66%;
	}
	.proj_menu {
		width: 99%;
		margin-top:1.5em;
	}
	.proj_menu a {
		margin: .25%;
	}
	#map_intro {
		margin-top: 1.5em;
	}
	.proj_list {
		margin: 1em 0;
	}
	.proj_detail {
    flex-basis: 45%;
	}
	#recursos_fotos {
		width: 97%;
	}
}
@media only screen and (max-width: 1210px) {
	header > div {
		background-position: 40% 70%;
	}
	h1 {
		font-size: 2.5em;
	}
	#wrapper > header {
		height: 10em;
	}
	#intro h2, #map_intro h2 {
		font-size: 1.2em;
		margin-right: .25em;
	}
	#map {
		margin-top: -1.5em;
	}
	.proj_detail h3 + p {
		margin: 0 3% .8em;
	}
	.proj_detail h3 {
		margin: .5em 3% .3em;
	}
	.proj_detail img + img {
		margin-top:.5em;
	}
}
@media only screen and (max-width: 1000px) {
	h1 {
		font-size: 2.25em;
		max-width: 97%;
		margin: 0 auto;
	}
	h4 {
    font-size: .9em;
	}
	footer nav {
		font-size: 1em;
	}
	footer h3 {
		font-size: 1em;
	}
	#map {
		margin-top: -1.5em;
		margin-right: 2.5em;
	}
	#intro, #areas, #mapa_obras, #organigrama {
		width: 90%;
	}
	#experiencia > div:first-of-type {
		width: 75%;
	}
	/*#experiencia > div img {
		width: 48%;
		margin: 1%;
	}*/
	.txt {
		width: 73%;
	}
	#map_intro, .proj_menu, .proj_list, .proj_detail {
		width: 95%;
	}
	.proj_menu {
		justify-content: center;
	}
	.proj_menu a {
		flex-basis: 19%;
	    margin: .5%;
	}
	.proj_menu p {
	    font-size: .8em;
	}
}
@media only screen and (max-width: 768px) {
	header nav a {
		display: block;
		text-align: right;
	}
	header nav a:hover {
		border-top:none;
	}
	h1 {
		font-size: 2em;
		line-height: 1.1em;
		padding-top: 1.6em;
	}
	h4 {
		font-size: 1em;
	}
	header div:nth-of-type(1){
		width: 40%;
	}
	header div:nth-of-type(2){
		width: 60%;
	}
	iframe {
		height: 300px;
	}
	footer {
		margin-top:0;
	}
	footer nav {
		float: none;
		text-align: center;
		margin-bottom: 1.5em;
	}
	footer span:nth-of-type(2) {
	    margin-left: 28px;
	}
	#map {
		width:10em;
		margin-top: -.5em;
		margin-right: 1em;
	}
	#areas {
		width: 100%;
	}
	#experiencia {
	    width: 92%;
	}
	#experiencia > div:first-of-type {
		width: 100%;
	}
	#intro, .txt{
		width: 80%;
	}
	#map_intro {
		width: 92%;
		
	}
	#map_intro_txt {
		flex-direction: column;
	}
	#intro header, #map_intro header {

    width: 100%;

	}
	#intro div, #intro header {
		float: none;
		width: auto;
	}
	#intro header {
		margin: 0;
		padding-left: 2.5em;
		line-height: 1em;
	}
	#intro div div {
		padding-left: 0;
	}
	#intro > div {
		padding: 2.7em;
	}
	#mapa_obras, #organigrama {
		width:100%;
	}
	#legal {
		position: static;
		float: none;
	}
	#sanlo {
		min-width: 250px;
	}
	#contact_list span:nth-of-type(1) h3 {
		width: 100%;
	}
	#contact_list span div:nth-of-type(3) {
		clear: left;
	}
	#contact_list span:nth-of-type(2) {
		width:100%;
	}
	.proj_menu {
		width: 100%;
	}
	.proj_menu a {
	    flex-basis: 30%;
	}
	.proj_detail {
		flex-basis: 90%;
	}
	.proj_list {
		width: 92%;
		padding: 2em;
	}
	.proj_list div{
		-webkit-column-count: 2; 
	    -moz-column-count: 2; 
	    column-count: 2;
	}
	#recursos_fotos {
		flex-wrap: wrap;
		width: 92%;
	}
	#recursos_fotos img {
		flex-basis:48%;
	}
	.txt_2cols {
		-webkit-column-count: 1;
	    -moz-column-count: 1; 
	    column-count: 1;
    }
}
@media only screen and (max-width: 572px) {
	body {
		font-size: 15px;
	}
	#wrapper > header {
		background-color: rgba(0,0,0,.25);
	}
	header div:nth-of-type(1) {
		width:45%;
	}
	header div:nth-of-type(2) {
		width: 55%;
		background: none;
	}
	footer nav {
		padding: .5em;
	}
	#contactos div, #sanlo div {
	    margin-bottom: 1em;
	}
	#map_intro img, #organigrama, #secondary_nav #li_organigrama {
		display: none;
	}
	
	#logo{
		width:10em;
	}
	#areas, #intro  {
		width: 80%;
	}
	#map_intro, .proj_list {
		width:92%;
	}
	#areas img {
		width: 48%;
		margin: 1%;
	}
	#contact_box {
		width: 75%;
	}
	.txt {
		width: 88%;
	}
	.proj_menu a {
		width: 32.3%;
		margin: .5%;
	}
	.proj_menu p {
		letter-spacing: 0;
	}
	.proj_detail {
	    flex-basis: 100%;
	}
}
@media only screen and (max-width: 500px){
	header > nav {
		padding-top: 1.3em;
		font-weight: normal;
		font-size: 1em;
	}
	header nav a {
		margin-left: .2em;
		margin-right: .2em;
	}
	h1 {
		padding-top: 1.3em;
	}
	h3 {
		font-size: 1em;
	}
	iframe {
		height: 250px;
	}
	
	footer {
		padding-top: 1em;
	}
	footer nav {
		display: none;
	}
	footer h3, #contact_box h3 {
		float: none;
		padding: 3% 0 3% 0;
	}
	footer span {
		padding-left: 11%;
		padding-bottom: 1em;
	}
	#contactos div, #sanlo div {
		margin: 0 0em 1em;
	}
	footer span div:nth-of-type(2) {
		clear: left;
	}
	#social a {
		float: none;
	}
	#wrapper{
		padding-bottom: 273px;
	}
	#recursos_fotos img:nth-child(3), #recursos_fotos img:nth-child(4) {
		display: none;
	}
	#recursos_fotos img {
		width: 48%;
		margin: 1%;
	}
	#contact_list {
		padding-top: 1em;
		} 
	#social h3 {
		padding-top: 7px;
		}
	.txt {
		margin-top: 1.25em;
		padding: 2em;
	}
	.proj_list div{
		-webkit-column-count: 1; 
	    -moz-column-count: 1; 
	    column-count: 1;
	}
	.icons {
		margin-left: 11%;
	}
}
@media only screen and (max-width: 460px){
	header nav {
		font-size: 1em;
	}
	header nav a, footer nav a {
		color: #91B7C4;
		border-bottom: solid .1em #91B7C4;
	}
	nav a:hover {
		color: #fff;
		background: none;
	}
	nav a.active {
		color: rgba(255,255,255,.9);
		background: none;
	}
	h1 {
		font-size: 1.75em;
		padding-top: 1em;
	}
	main {
		padding-bottom: 0;
	}
	footer span:nth-of-type(1), footer span:nth-of-type(2)  {
	    padding-bottom: 0;
	    margin-left: 0px;
	}
	#contactos div, #sanlo div {
		float: none;
		margin: 0 2em 1em 0;
	}
	#contactos div {
		margin-bottom: .5em;
		padding-bottom: 0;
	}
	#wrapper > header {
		height: 9em;
	}
	#logo{
		width: 9em;
	}
	#intro, #map_intro, .txt, #experiencia, .proj_list {
		width: 100%;
		margin-bottom: 0;
	}
	#intro {
		margin-top: 1.5em;
	}
	#map_intro {
	 	margin-top:.7em;
	}
	#intro header, #intro > div {
	    padding-left: 10.5%;
	}
	#intro header, #map_intro header {
		padding-bottom: 1em;
	}
	#contact_box {
		width: 90%;
	}
	#sanlo {
	    min-width: initial;
	    padding-bottom: 1em;
	}
	#contact_list #sanlo {
		padding-bottom: 0;
	}
	.proj_detail {
		width: 90%;
	}
	.proj_detail img:first-of-type {
		margin-bottom: .25em;
	}
	.proj_menu div {
		display: none;
	}
	#recursos_fotos {
		flex-direction: column;
		margin-top: 1em;
	}
	#recursos_fotos img{
		width: 100%;
	}
	.proj_list {
		margin-top: 0;
	}
	.icons{
		clear: right;
		padding-top: 3%;
	}
	.icons img {
		float: left;
	}
	nav#secondary_nav li {
	padding: 0 .25em;
}
}
