  :root{
  --color1: rgb(219,144,.5);
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11,194,211, 0.623);
  --color4: rgba(0, 27,72);
  --color5:rgb(255,255,255);
  --fondo: #f2f2f2;
  --titulos: 40px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido:45px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 /*  border-radius: 5px; */
  
}

body {
  font-family: 'EB Garamond', serif;
  background: var(--fondo);
}

img{
  vertical-align: top;
}


/* Preloader */
.hidden{
  overflow: hidden;
}

.centrado{
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lds-facebook {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #cef;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 6px;
    height: 51px;
  }

  50%,
  100% {
    top: 19px;
    height: 26px;
  }
}

/* Header */

header{
  width: 100%;
  height:120px;
  background: /*linear-gradient(to bottom,
  rgba(211,135,20, .6),
  rgba(29,241,171, .6),
  rgba(7,109,150, .45)
  ), url(img/fondo_azul_1.jpg)*/black;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  font-family: 'EB Garamond', serif;
  
}

/*
 * Logo
 */
 .logoh {
	float: left;
	padding: 20px 0 0 20px;
	text-decoration: none;
}
.logoh:hover {
		color: rgba(0, 27,72);
	}
	
	.logoh .site-name {
		display: block;
		font-weight: 700;
		font-size: 3em;
	}
	
	.logoh .site-desc {
		display: block;
		font-weight: 300;
		font-size: 1.em;
		color: rgb(219,144,.5) ;
  }
  /*
 * Logo
 */
nav{
  width: 100%;
  position: fixed;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5)
}

.nav1{
  background: /* transparent */black;/* color del fondo del menu responsive */
  height: 120px; /* tamaño del  menureesponsive */
  color:#fff; /* color de la letra a inicio*/
}

.nav2{
  background: black;
  height:120px;
  color:#ffffff; /* color de la letra cuando cambia el menu */
}

.contenedor-nav{
  display: flex;
  margin: auto;
  width: 95%;
  justify-content: space-between;
  align-items: center;
  max-width:1300px; /* con esto modificamos el ancho */
  height:inherit;
  overflow: hidden;
}

.w3-container{
  width: 100%;
  position: fixed;
  box-shadow: 0 0 0 0 rgba(0,0,0);
  background-color: black;
  font-family: 'EB Garamond', serif !important;
  font-size: 20px;

  
}

nav .enlaces a{
  display: inline-block;
  padding: 0px 0;
  margin-right: 10px;
  font-size: 22px;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: inherit;
}

nav .enlaces a:hover{
  /* border-bottom: 3px solid #f2f2f2; */ /*color del la limea del menu*/
  transition: 0.6s;
}

.logo, .logo img{ height:80px;}

.icono{
  display:none;
  font-size: 25px;
  padding: 23.5px 20px;
  color: #ffffff !important;
  background-color:black;
}

.textos{
  width: 100%;
  height: 100%;
  display:flex;
  justify-content: center;
  flex-direction: column;
  align-items: left;
   /*color:rgba(0, 27,72);*/ 
  color:transparent;
  overflow: hidden;
  text-align: left;
}

.textos>h1{font-size:80px;}

.textos>h2{font-size: 30px; font-weight: 300; color:rgba(0, 27,72);}

/* Main */

        /* slider */

.slider{width: auto;
  height:auto;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  background: black;
}

.slider ul {
  display: flex;
  padding: 0;
  width: 400%;

  animation: cambio 20s infinite alternate;
  animation-timing-function: linear;
}
.slider li {list-style: none;
  width: 100%;
}

.slider img {
  width: 100%;
  
  display: flex;
}

@keyframes cambio{
0% {margin-left: 0}
20% {margin-left: 0}

25% {margin-left: -100%}
50% {margin-left: -100%}

55% {margin-left: -200%}
75% {margin-left: -200%}

80% {margin-left: -300%}
100% {margin-left: -300%}
}


/* .flex-caption p{
  font-family: 'EB Garamond', serif;
	position: relative;
	top: 50%;
	text-align: center;
	width: 100%;
	font-size: 30px;
	color: #f2f2f2;
  font-weight: bold;
  padding: 1%;
}  */



@media screen and (max-width: 375px) {
  .slider {
    background-color: /* lightgreen */ black;
    height: 400px;
   
  }
}

@media screen and (max-width: 375px) {
  .slider img {
     background-color: /* lightgreen  */black;
    height: 400px;
  }
} 

  
      /* slider */
.contenedor{
  margin:auto;
  padding: var(--margenes) 0;
  width: 100%;
  max-width: 1500px; /* con esto modificamos el ancho  */
  text-align: center;
  overflow: hidden;
}

.contenedor h3{
  font-family: 'EB Garamond', serif;
  font-size: 35px;
  color: var(--color4);
  margin-bottom: var(--espacios);
  text-align: center;
}

.contenedor p{
  
  font-weight: 300;
  color: var(--color4);
  font-family: 'EB Garamond', serif;
  text-align: justify;
  text-align: center;
  padding: 2px 5px;

}

.after::after{
  content:'';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 20px;
  background: transparent;/* aqui modificamos  el colorde la rayita*/
  margin-bottom: var(--espacios-contenido);
  text-align: justify;
}

.card{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.content-card{
  width: 50%;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  overflow: hidden;
  height:600px;
}

.people{
  height: 40%;
}

.content-card img{
  width: auto;
  height: 95%;
  padding: 2%;
  margin: 2%;
  object-fit: cover;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  border-radius: 10%
}

.texto-team{
  height: 20%;
  width: 100%;
  padding: 20px;
  text-align: left;
  font-size: 18px;
  color:rgba(0, 27,72);
  font-family: 'EB Garamond', serif;
  
}

@media screen and (max-width: 375px) {
  .content-card img {
   
    width: 300px;
   
  }
}


@media screen and (max-width: 375px) {
  .team {
   
    height: 1200px;
   
  }
}


@media screen and (max-width: 375px) {
  .content-card {
   
    height: 1000px;
   
  }
}

@media screen and (max-width: 375px) {
  .people {
   
    height: 35%;
   
  }
}
@media screen and (max-width: 425px) {
  .texto-team {
   
    font-size: 16px;
   
  }
}




/* aqui modificamos  el color y la imagen de  entre socios y areas de servicio*/
.about{
  background:  linear-gradient(to bottom,
  rgba(1, 5, 15, 0.45),
  rgba(0,27,150, .45),
  rgba(1,5,15, .45)
  ),url(img/horizon.jpg);
  width: 100%;
  height: 25px;
}
/* aqui modificamos  el color y la imagen de  entre socios y areas de servicio*/
.servicios{
  display: flex;
  color:#fff;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
}
.caja-servicios{
  width: 30%;
  margin: auto;
  text-align: center;
}
.caja-servicios>h4{
  margin-bottom: var(--espacios);
}

.caja-servicios>p{
  text-align: center;
}

.botones-work{
  overflow: hidden;
}

.botones-work li{
  display: inline-block;
  text-align: center;
  margin-left: var(--espacios);
  margin-bottom: var(--espacios-contenido);
  padding: 6px 12px;
  border: 1px solid var(--color4);
  list-style: none;
  color: var(--color4);
  font-size: 18px;
}

.botones-work li:hover{
  background: var(--color4);
  color:#fff;
  cursor: pointer;
}

.botones-work .active{
  background: var(--color4);
  color:#fff;
}

.galeria-work{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.cont-work{
  width: 23%; /* con esto ponemos el numero de imagenes del  contenedor*/
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);
  height:375px;
  overflow: hidden;
  margin-bottom: var(--espacios-contenido);
}

.img-work{
  height: 200px;/* con esto ponemos la imagen a la mitad del contenedor*/
  width: 100%;
}

.img-work img{
  height: 200px;/* con esto ponemos la imagen a la mitad del contenedor*/
  width: 100%;
  object-fit: cover;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.5);

}

.textos-work{
  height: 200px;
  display: inline-block;
  vertical-align: top;
}


.textos-work h4{
  line-height: 30px;
  font-weight: 600;
  font-family: 'EB Garamond', serif;
  color: var(--color4);
  text-align: center;
   /* con esto cambiamos los textos contenedor*/

}

.textos-work h5{
  line-height: 15px;
  font-weight: 600;
  font-family: 'EB Garamond', serif;
  color: var(--color4);
  text-align: justify;
  padding: 4px;
  height: 50%;
  width: 100%;
  font-size: 80%;
  display: inline-block;
  vertical-align: top;

 } /* con esto cambiamos los textos contenedor*/

/* Footer */


.marca-logo{
  width: 40%;
  margin: auto;
  margin-bottom: var(--espacios);
}
.marca-logo img{
  width: 100%;
}
.iconos{
  display: flex;
  margin: auto;
  justify-content: space-around;
  width: 50%;
}
.fab{
  font-size:60px;
  color: #FFF;
  margin-bottom: var(--espacios);
  display: inline-block;
}

footer p{
  margin-top:var(--espacios);
}

@media screen and (max-width: 700px){
  .nav2{
    color: #ffffff;
  }

  .icono{
    display:block;
    cursor: pointer;
    /*color: #ffffff; *//* sin color */
  }

  .enlaces{
    position: fixed;
    top:80px;
    background: transparent;
    left: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    overflow: hidden;
  }

  .enlaces a{
    display: block;
    width: 100%;
    height: 50px;
    padding: 20px;
    text-align: center;
    background: black; /* color del fondo del menu responsive */
    color:#ffffff;
  }

  .textos>h1{font-size: 70px;}
  .textos>h2{font-size:35px;
     text-align: center;
    }

  .content-card{
    width: 48%;
    margin-bottom:var(--margenes);
  }

  :root{
    --margenes: 30px;
  }
}

@media screen and (max-width: 500px){
  :root{
    --espacios-contenido: 25px;
  }

  .content-card{
    width: 90%;
    height: 150%;
  }

  .caja-servicios{
    width: 90%;
    margin-bottom: var(--margenes);
  }

  .cont-work{
    width: 85%;
  }

  .marca-logo{
    width: 80%;
  }

  .iconos{
    margin: auto;
  }
}



footer{
  width: 100%;
  background: #141414;
  color: white;   
  
}

.container-footer-all{
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 40px;
}

.container-body{
  display: flex;
  justify-content: space-between;
}

.colum1{
  max-width: 400px;
}

.colum1 h1{
  font-size: 22px;
}

.colum1 p{
  font-size: 14px;
  color: #f2f2f2;
  margin-top: 20px;
}

.colum2{
  max-width: 400px;
  
}

.colum2 h1{
  font-size: 22px;
}

.row{
  margin-top: 20px;
  display: flex;
}

.row img{
  width: 36px;
  height: 36px;
}

.row label{
  margin-top: 10px;
  margin-left: 20px;
  color: #C7C7C7;
}

.colum3{
  max-width: 400px;
}

.colum3 h1{
  font-size: 22px;
}

.row2{
  margin-top: 20px;
  display: flex;
}

.row2 img{
  width: 36px;
  height: 36px;
}

.row2 label{
  margin-top: 10px;
  margin-left: 20px;
  max-width: 140px;
}

.container-footer{
  width: 100%;  
  background: #101010;
}

.footer{
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;  
  padding: 20px;
}

.copyright{
  color: #f2f2f2;
}

.copyright a{
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.information a{
  text-decoration: none;
  color: #f2f2f2;
}


@media screen and (max-width: 1100px){
  
  .container-body{
      flex-wrap: wrap;
  }
  
  .colum1{
      max-width: 100%;
  }
  
  .colum2,
  .colum3{
      margin-top: 40px;
  }
}

/* estilos del boton */
.modal {
	padding: 0 20px;
	margin-bottom: 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: #fff;
	background: rgba(0, 27,72);
	border-radius: 3px;
	font-family: 'EB Garamond', serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
	cursor: pointer;
}

.modal:hover {
	background: rgba(94,125,227, .9);
}
/* pop up */
.overlay {
	background: rgba(0,0,0,.3);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

.overlay.active{
visibility: visible;
}
.popup {
	background:  rgba(0, 27,72);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  border-radius: 3px;
  padding: 20px;
	text-align: center;
  width: 600px;
  transition: .3s ease all;
	transform: scale(0.5);
	opacity: 0;
  
}

.popup .btn-cerrar-popup {
  font-size: 16px;
	line-height: 16px;
	display: block;
	text-align: right;
	transition: .3s ease all;
	color: #BBBBBB;
}

.popup .btn-cerrar-popup:hover {
  color: #000;
}

.popup h5 {
	font-size: 26px;
	font-weight: 600;
  margin-bottom: 10px;
  color: white;
 /*  opacity: 0;  */
}

.popup h6 {
	font-size: 16px;
	font-weight: 300;
  margin-bottom: 40px;
  color: white;
/* 	opacity: 0;  */
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup.active {	transform: scale(1); opacity: 1; }
.popup.active h4 { animation: entradaTitulo .8s ease 1s forwards; }
.popup.active h5 { animation: entradaSubtitulo .8s ease 1s forwards; }

@keyframes entradaTitulo {
	from {
		opacity: 0;
		transform: translateY(-25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes entradaSubtitulo {
	from {
		opacity: 0;
		transform: translateY(25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Style the button that is used to open and close the collapsible content */
.colapsable {
  /* background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px; */
  padding: 0 20px;
	margin-bottom: 20px;
	height: 40px;
	line-height: 40px;
	border: none !important; /* sin bordes */
	color: rgba(0, 27,72);
	background: transparent; /* con esto hago el boton ttransparente */
	border-radius: 3px;
  font-family: 'EB Garamond', serif;
	font-size: 20px;
	cursor: pointer;
	transition: .5s ease all;
  cursor: pointer;
  outline: none; /* con esto  */
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.activar, .colapsable:hover {
  background-color: transparent;
}

/* Style the collapsible content. Note: hidden by default */
.resumen {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}