/***********************************************
Estilos Generales
***********************************************/
/*Elementos HTML*/

*{
    box-sizing: border-box;
}
html {
   padding:0;
   margin:0;
  }
body {
    margin: 0;
    padding: 0;
   /* font-size: 1.8vw;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif;*/
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: small;
    overflow-x: hidden;
    overflow-y: auto;
}

	h1{
	font-size: 2.1vw;
	font-weight: 300;
	color: #1b2d49;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;	
		
	}
h2{
  color: #1b2d49;
        font-size: 2.1vw;
		font-weight: 300;
        text-align: center;
        margin-top: 10px;
}
h3{
  color: #1b2d49;
        font-size: 1.5vw;
		font-weight: 300;
        text-align: center;
        margin-top: 10px;
}
.izquierda h2{
  color: #1b2d49;
    font-size: 2.2vw;
    text-align: left;
	margin-top: 20px;
}

h2.cabecera{
  font-size: 2vw;
  font-weight: 300;
  color: #1b2d49;
	text-align: center;
	margin-top: 10px;
}
.izquierda h3{
  color: #1b2d49;
  font-size: 2vw;
	text-align: center;
	margin-top: 10px;
}
h4{
	font-size: 1.5vw;
	font-weight: 300;
	color: #1b2d49;
	text-align: center;
	margin: -5px 0 10px 0;
}
p{
    font-family: Tahoma, Verdana, sans-serif
	font-size: 1em;
	padding: 20px;
}
 hr{
	 margin: 5px 0;
 }
 /*****************************
 Estilos de la cabecera  
 ******************************/
 .cabecera-text h1{
   font-size: 4.1vw;
	font-weight: 300;
	color: white;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    }
.cabecera-text h2{
	font-size: 2.3vw;
	font-weight: 300;
	color: white;
	text-align: center;
	margin-top: 10px;
}
 .cabecera-image {
	background-color: black;
    background: no-repeat center; 
    background-size: cover;
	transition: background-image 6s;
    height: 45.5vw;
    position: relative;
  }
  /* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
  transition-timing-function: ease;
}
.w3-animate-zoom {animation:animatezoom 1.0s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}

@keyframes fade {
  from {opacity: 0.1} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
  .cabecera-text{
    font-family: Georgia, serif;
    font-size: 3.7vw;
    font-weight: bold;
    text-shadow: 3px 3px 3px #797979;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fefefe;
  }
  
 /*
 .cabecera {
    background-color: #f1f1f1;
    padding: 20px;
    text-align: center;
  }
.cabecera h1{
    color: #444;
    background-color:#f3f3f3;
    margin-top: 0px;
    margin-bottom: 0px;
}
.cabecera hr{
    color: #ccc;
    margin: 0px;
    height: 1px;
    background-color: #999;
}*/

	/*Tooltip1 de la barra de Navegación (1zquierda) info*/
	
 .tooltipa {
  position: relative;
  float: left;
  top: 3px;
  left: 5px;
  display: inline-block;
  /*border-bottom: 1px dotted black;*/
}

.tooltipa .tooltiptexta {
  visibility: hidden;
  width: 1200px;
  background-color: #555;
  font-size: 1.3em;
  color: #fff;
  text-align: left;
  line-height: 1.8em;
  border-radius: 6px;
  padding: 15px 30px;
  position: absolute;
  z-index: 1;
  bottom: -350%;
  right: -800px;
  left: 0;
  margin-left: 60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltipa .tooltiptexta::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: 5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltipa:hover .tooltiptexta {
  visibility: visible;
  opacity: 1;
}
/*Termina Tooltip1*/

	/*Tooltip2 de la barra de 'Consulta' (derecha) info*/
 .tooltipb {
  position: relative;
  float: right;
  top: 3px;
  right: 20px;
  display: inline-block;
  /*border-bottom: 1px dotted black;*/
}

.tooltipb .tooltiptextb {
  visibility: hidden;
  width: 1200px;
  background-color: #555;
  color: #fff;
  font-size: 16px;
  /*text-align: center;*/
  line-height: 1.8em;
  border-radius: 6px;
  padding: 15px 10px 30px 15px;
  position: absolute;
  z-index: 1;
  bottom: 50%;
  left: -1150px;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltipb .tooltiptextb::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltipb:hover .tooltiptextb {
  visibility: visible;
  opacity: 1;
}
ul.tool{
	margin-left: 20px;
}
/*Termina Tooltips de cabecera*/

/* Style the top navigation bar */
.topnav {
	position: relative;
	/*background: url(../img/cabecera/cabecera.jpeg) no-repeat bottom;*/
	top: 88.1%;
    overflow: hidden;
    background-color: #fff;
	opacity: 0.9; 
	/*color: #333;*/
	height: 50px;
	border:1px solid #888;
	border-radius: 4px;
	margin: 0 auto 0 auto;
  }
  
  /* Style the topnav links */
  .topnav a {
   /* float: left;*/
    display: inline-block;/*antes: block; (con float:left;)*/
   /* color: rgba(0, 0, 0, 0.1);*/
	color: #2f2f2f;
	height: 48px;
    font-size: 1.4vw;
	font-weight: 200;
    text-align: center;
    padding: 14px 16px;
	border-radius: 8px;
    margin: 0 auto 0 65px;
    text-decoration: none;
    
  }
  /* Change color on hover */
  .topnav a:hover {
    transition-duration: 0.6s;
    background-color: #eee;
    color: black;
	border: 1px solid #888;
  }
  /*Botón (ancla) para subir */
  .subir a{
    text-decoration: none;
    color: #1b2d49;
    position: absolute;
    right: 20px;
  }
  .subir a:hover{
    padding: 4px;
    border: 1px solid #1b2d49;
    border-radius: 8px;
    transition-duration: 0.6s;
  }

img{
  margin-left: auto;
  margin-right: auto;
}
.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}
 /*Estilos Secciones de la pagina*/
  
  /* Clear floats after the columns */
  .grid-container:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .catalogo{
    width: 100%;
    height: 150px;
  }
 #estudios.estudiosec{
      width: 100vw;
      height: 35vh !important;
      background-color: #ffffff;
	 /* border: 1px solid #1b2d49;*/
	  margin: auto;
  
  }
  .proyecto{
    /*margin-top: 70px;
    margin-bottom: 40px;*/
	font-size: 1.3em;
}
/*Sección contacto (incluye barra de botonrs)*/
  .contacto{
    width: 100vw;
      height: 50vh !important;
      background-color: #ffffff;
	  /*border: 1px solid #1b2d49;*/
	  margin: auto;
    margin-bottom: 40px;
  }

 
  /********************************************
  Responsive layout - makes the three columns 
  stack on top of each other instead of next 
  to each other 
  *********************************************/
  @media screen and (max-width:600px) {
	  
	  h2{
		  
		 font-size: 4.5vw;
	 }
	  h3{
		  
		 font-size: 3.5vw;
	 }
    .grid-template-columns {
      width: 100%;
    }
	.topnav a{
		font-size: 2.2vw;
		text-align:center;
		
	}
	#catalogo{
		margin-bottom: 30px 30px;
	}
	
	#estudios.estudiosec{
		margin: auto;
	}
	#proyecto.proyecto{
		height: 5vh;
	}
	#form-contacto{
	background-color: blue;
	margin: 0, auto;
	height: 30vh;
	}
	#contacto.contacto{
		height: 60vh;
	}
	.subir a{
		font-size: 2.2vh;
	}
	#footer.footer{
		font-size: 2.2vh;
		padding-bottom: 10px, auto;
	}
  }
/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}
/*img [class*="col-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}*/


.col-3 img{
  display: inline-block;
  width: 95%;
  height: auto;
  border: 1px solid #343434;
  border-radius: 8px;
}
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}
  
#form-contacto{
	width: 99%;
	background-color: #efefef;
	margin: 0 auto 0 auto;
	height: 20vh;
}
#contacto.contacto{
  height: 60vh;
  border: 1px solid #797979;
}

.subir{
  height: 20px;
}
.footer{
	/*left: 0;
	bottom:0;*/
	width: 100vw;
	height: 18vh;
	text-align: center;
	padding: 20px 0;
	border: 1px solid #a3a3a3;
}
.footer a{
	color: #1b2d49;
	text-decoration: none;
}