
/* CSS Document */



/************************************ RESET ************************************************/
* {margin: 0; padding: 0; border: 0; outline: 0; list-style: none; box-sizing: border-box;}




/************************************ ESTRUCTURA ************************************************/
header {display: block; padding: 25px 0; margin-bottom: 50px;}
/*nav {display: block; float: right; padding-top: 8px;}*/
nav {padding-top: 8px; margin-left: 40%;}
article {display: block;}
aside {display: block;}
footer {display: block; padding: 70px 0 50px 0;}

.pagewidth {max-width: 1200px; margin: 0 auto;}
.clear {display: block; clear: both;}
.clear:before {clear: both;}




/************************************ FONTS ************************************************/
body, form, input, select, table, textarea {font-family: 'Dosis', sans-serif; font-size: medium; color: black;}
h1 {font-size: x-large; margin-bottom: 20px; line-height: 1.1em; position: relative;}
h1 span {display: block; width: 100%; margin: 0 auto; position: absolute; top: 54px; text-align: center;}
h3 {font-size: large; margin-bottom: 20px; line-height: 1.1em;margin-top: 20px;}
hr {border-top: 1px dashed rgba(0,0,0,.25); margin: 30px 0;}
p {margin-bottom: 20px;}
a {color: black; text-decoration: none;}

@font-face {
	  font-family: 'Dosis', sans-serif;
      src: url("http://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf");}

/*texto seleccionado*/

/* Para Safari */
::selection {
background-color:coral;
color:#fff;
}

/* Para Firefox */
::-moz-selection {
background-color:coral;
color:#fff;
}

/************************************ HEADER ************************************************/
body {background:#fff;}
header {background: white;}
.logo {height: 80px;}




/************************************ NAV ************************************************/
nav {text-align: right;}
nav a {display: inline-block; margin: 0 10px; padding-bottom: -2px; border-bottom: 2px solid transparent; line-height: 32px; text-transform: lowercase;}
nav a:hover {font-weight: bold; opacity:0.5;}

nav a:nth-child(4):hover {letter-spacing: -.0090em;}

.social {display: inline-block; white-space: nowrap; margin-left: 10px; margin-bottom: 20px; float: right;}
.social a {margin: 0;}
.social a:hover {border-color: transparent;}
.social a img {vertical-align: middle; margin-left: 10px; width: 18px; height: auto;}

/**************************************MENU*******************************************************/
.menu-main{
    display:flex;
    justify-content: space-between;
    background: #FFFFFF;
    height: 45px;
}

.menu-main a{
    flex: 1;
    display: flex;
    color: #333333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;    
    justify-content: center;
    align-items: center;
	margin-bottom: 2%;
	

}

.menu-main a:hover{
    background: rgba(0,0,0, .1);
}


@media (max-width: 768px) {
    
    .menu-main{
        height: auto;
        border-bottom: 0px;
        display: block;
    }
    
    .menu-main a{
        height: 45px;
        border-bottom: 1px solid #29487d;
    }

}

/************************************ VIDEO HEADER ************************************************/
.video_spacer {
	height: 400px;
}
.video_header {
	height: 400px;
	width: 100%;
	margin: -30px 0 50px 0;
	position: absolute;
	left: 0;
	overflow: hidden;
	position: absolute;
	background: #3e372d;
  opacity: 0.9;
}
.video_header video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	opacity: .9;
}
.destacado_centrado {
	display: none;
	position: relative;
	margin-top: 90px;
	padding: 70px 0;
	font-size: xx-large;
	font-weight: normal;
	text-align: center;
	color:#fff;
	
	

}

/************************************BOTÓN IR ARRIBA******************************************/
.ir-arriba {
	display:none;
	padding:5px;
	background:#fff;
	font-size:15px;
	color:#fff;
	cursor:pointer;
	position: fixed;
	bottom:5px;
	right:5px;
	z-index: 200;
	opacity: 0.85;


}


/************************************ ARTICLE ************************************************/
article {}
article img {width: 100%; height: auto; margin-bottom: 20px;}

.columna {float: left; width: 50%;}
.columna_izquierda {padding-right: 10px;text-align: justify;}
.columna_derecha {padding-left: 10px;text-align: justify;}
.columna p {display: table; margin-bottom: 20px;}
.columna img {margin-bottom: 20px;}
.columna_centrado {margin-top: 20px; text-align: justify;}
.descripcion {width: 102%;}
.descripcion div {float: right; width: 31.33%; padding: 10px 0 0 0; border-top: 2px solid black; margin: 0 2% 40px 0;}
.descripcion h1 {display: inline; font-size: medium;}
.descripcion p {display: inline;}

.destacado {
	display: block;
	min-height: 240px;
	padding: 60px 0 60px 220px;
	margin-top: -20px;
	font-size: 130%;
	font-weight: normal;
}
.map {
	height: 620px;
	overflow: hidden;
	background: #fff;
	font-size: 0;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
/******************************IMGS Y GRAFICAS******************/
img.media{
  width: 80px;
	padding-right: 20px;
	float: left;
}

img.pequeña{
  width: 60px;
	padding-right: 40px;
	float: left;
}

img.esquema {
  	width: 65%;
	min-width: 230px;
	height: auto;
	padding-left: 10%;
	padding-right: 10%;
	float: left;
}

img.amsari{
  	width: 65%;
	min-width: 230px;
	height: auto;
	padding-left: 30px;
	padding-right: 30px;
	float: left;
}


img.grafica{
  width: 90%;
	min-width: 250px;
	height: auto;
	padding-left: 5%;
	float: left;
}

/************************************ TRABAJOS ************************************************/
.trabajos a {
	display: block;
	position: relative;
	margin-bottom: 20px;
	font-size: 0;
}
.trabajos a img {
	width: 100%;
	height: auto;
	margin: 0;	
}
.trabajos a div {
	padding: 10% 30% 10% 10%;
	position: absolute;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background: url('images/input.png') repeat top right rgba(255,255,255,.6);
	opacity: 0;
}
.trabajos a:hover div {
	opacity: 1;
}

.trabajos h3 {font-size: large;}
.trabajos p {font-size: medium; margin-bottom: 20px;}
.trabajos p:after {display: block; margin-top: 20px; font-size: x-large; font-weight: bold; content: '';}




/************************************ VIDEO ************************************************/
.video {
	position: relative;
	padding-bottom: 50%;
	padding-top: 25px;
	height: 0;
	margin: 0 10px 10px 0;
	clear: both;
	background: #000;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 82%;
	height: 82%;
	margin: 5% 8%;
}

/************************************ VIDEO YOUTUBE************************************************/



/************************************ ASIDE ************************************************/
aside {}

aside a {}
aside a:hover {font-weight: bold;}

.share {display: block; margin-top: 40px;}
.share strong {display: block; margin-bottom: 10px;}
.share a {float: left;}


/************************************ FOOTER ************************************************/
footer {}
footer .social {display: none; margin: 20px 0 0 -12px;}



/************************************ CSS EFFECTS ************************************************/
footer a, .trabajos div, .equipo * {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
/*article img, .trabajos a, .cycle-slideshow, .equipo li, .map {
	-webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,.2);
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,.2);	
}*/



/************************************ MEDIA QUERIES ************************************************/
@media all and (max-width: 1050px) {
	.pagewidth {padding-left: 5%; padding-right: 5%;}
	.clientes img {width: 24%; margin: 0 1% 1% 0;}
	.destacado {padding-left: 150px; background-size: 250px auto; background-position: 0 30px;}
	.descripcion div {width: 48%;}
	.equipo li {width: 31%;}
}
@media all and (max-width: 800px) {
	header {text-align: center;}
	header .pagewidth {padding: 0;}
	nav {display: block; float: none; text-align: center; padding-top: 18px;margin-left: 0%;}
	.destacado {padding: 50px 0 50px 30px; min-height: inherit; background: none;}
	.clientes img {width: 31.33%;}
	header .social {display: none;}
	footer .social {display: block; float: none; clear: both; margin: 10px 0 0 -12px;}
}
@media all and (max-width: 600px) {
	.columna {width: 100%; padding: 0; margin: 0;}
	.equipo li {width: 48%;}
	.clientes img {width: 48%;}
    .map {height: 200px; margin-bottom: 20px;}
    .descripcion div {width: 98%}
	.video_header, .video_spacer {height: 200px; margin-bottom: 5%;}
	.destacado_centrado {margin-top: 10px; padding-top: 90px;z-index: 190;}
}
@media all and (max-width: 400px) {
    body, .descripcion, .descripcion p, .equipo li {font-size: medium;} 
	nav a {margin: 0 5px; font-size: 90%;margin-left: 0%;}
	.descripcion {width: auto;}
	.destacado {padding: 50px 30px;}
    .trabajos a div {padding: 5%}
}

