@font-face{
  font-family: 'Browallia New';
  src:url('../font/Browallia New.ttf');
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Browallia New';
}
body{
  background: #FFF;
  font-size: 16px;
  padding-top: 50px;
}
header{
  background: #C8E9F0;
  /*position: fixed;*/
  width: 100%;
  top: 0;
}
.enc{
  position: absolute;
  background: #F5F5F5;
  width: 100%;
  top: 0;
  max-width: 3000px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
}
.enc .text{
  display: inline-block;
  text-align: center;
}
.enc .text  p{
  color: #888888;
  text-decoration: none;
  display: inline-block;
  padding: 1em;
  text-align: center;
  line-height: 20px;
  padding: 0px 15px;
  font-family:Trebuchet MS,Verdana,Arial,Tahoma;
  font-weight: bold;
  font-size: 13px;
}
.enc .text a{
  color:#26AEBD;
  text-decoration: none;
  display: inline-block;
  padding: 1em;
  text-align: center;
  line-height: 50px;
  padding: 0px 15px;
  font-family:Trebuchet MS,Verdana,Arial,Tahoma;
  font-weight: bold;
  font-size: 13px;
}
.menu{
  width: 90%;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align:left;
  
}
.menu .logo{
  display: inline-block;
  margin-right: 1em;
  margin-top: -20px;

}
.menu .logo img{
  vertical-align: top;
  height: 100px;
  padding-top: 20px;

}
.menu .btn-menu{
  display: none;
  color: #FFF;
  float: right;
  text-decoration: none;
  font-size: 1em;
}
.menu .enlaces,
.menu .system{
  display: inline-block;
  text-align: center;
}
.menu .enlaces a{
  color:#0E5992;
  text-decoration: none;
  display: inline-block;
  padding: 1em;
  text-align: center;
  line-height: 80px;
  padding: 0px 15px;
  font-family:Browallia New;
  font-weight: bold;
  font-size: 18px;
}
.menu .system a{
  margin-top: 20px;
  color:#FFF;
  text-decoration: none;
  display: inline-block;
  padding: 1em;
  text-align: center;
  line-height: 35px;
  padding: 0px 15px;
  font-family:Browallia New;
  font-weight: bold;
  font-size: 15px;
}
.menu .system a:hover{
  text-decoration: none;
  color:#FFF;
}
.menu .enlaces a:hover{
  background-color:#BDE3EB;
  text-decoration: none;
  color: #0E5992;
}
#banner{
  width: 100%;
  
}
.headroom{
  transition: transform .3s ease;
}
.headroom--pinned{
  transform: translateY(0%);
}
.headroom--unpinned{
  transform: translateY(-100%);
}
@media screen and (max-width: 700px){
  header .menu{
    flex-direction: column;
  }
  header .menu.logo{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 1em;
  }
  header .menu .logo .btn-menu{
    display: inline-block;
  }
  header .menu .enlaces{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}
#banner{
  position: relative;
}
#banner img{
  width: 100%;
}
#banner .contenedor{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-95%)translateY(-50%);
  color: #FFF;
}
#banner h2{
  font-size: 36px;
}
#Altos{
  text-align: center;
}
#foto .contenedor{
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
}
#foto article{
  margin: 15px;
}
#foto img{
  width: 100%;
  max-width: 500px;
}
.contenedorr{
    position: relative;
    display: inline-block;
    text-align:justify;
    margin-top: 40px;
  
}
.centrado{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
}

#NOM img{
  width: 100%;
  max-width: 300px;
}
#NOM .texto{
  padding: 40px;
  text-align: justify;
  font-size: 18px;
}
.nnom{
  padding: 15px;
  display: block;
}
.imagennom{

  width: 100%;
  text-align: center;
}
.imagennom h1{
 font-size: 42px;
}
.imagennom h1,h3{
  display: inline;
}
.linea{
  border-top: 23px solid #FF0000;
  position: relative;

}
.linea-t{
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -80%);
}
#NOM .contenedorNOM{
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
}
#NOM article{
  margin: 15px;
}
#NOM img{
  width: 100%;
  max-width: 400px;
    border-radius: 10px;
}
#informacion{
  background:  #1D447D;
  color:#FFF;
  text-align: center;
}
#informacion .contenedor{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.informacion-g{
  margin:20px;
}
.informacion-g img{
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid #FFF;
}
.informacion-g h4{
  font-size: 20px;
}
.contenedor3{
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(1,100%);
  grid-template-rows:repeat(1,30px);
  grid-template-areas: "inf"; 
}
.inf{
    height: 10px;
}
.inf nav{
    background: #1D447D;
  width: 100%;
  grid-area: inf;
  padding-bottom: 0px;
  position: absolute;
}
.inf nav ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.inf nav ul p{
    text-align: left;
    color:#3F72BD;
    line-height: 30px;
    margin-left: 90px;
    font-size: 20px;
    font-family:Arial,Tahoma;
    font-style: bold; 
}
@media screen and (max-width: 402px){
  .centrado{
    font-size: 16px;
  }
}
@media screen and (max-width: 361px){
  .centrado{
    font-size: 15px;
  }
}
@media screen and (max-width: 353px){
  .centrado{
    font-size: 14px;
  }
}
@media screen and (max-width: 351px){
  #banner .contenedor h2{
    font-size: 16px;
  }
  .linea{
    margin-top: 10px;
    border-top: 65px solid #FF0000;
  }
  .linea-t{
    top: 95%;
    left: 50%;
    transform: translate(-50%, -95%);
  }
}
@media screen and (max-width: 306px){
  .centrado{
    font-size: 12px;
  }
}
@media screen and (max-width: 991px){
  .contenedor3 .inf{
    font-size: 4vw;
  }
}
@media screen and (max-width: 369px){
  body{
    padding-top: 70px;
  }
}
@media screen and (max-width: 203px){
  body{
    padding-top: 90px;
  }

}

