@font-face {
  font-family: 'HelveticaNeue-Heavy';
  src: url('../fonts/HelveticaNeue-Heavy.otf');
}

@font-face {
  font-family: 'HelveticaNeue-Medium';
  src: url('../fonts/HelveticaNeue-Medium.otf');
}

@font-face {
  font-family: 'HelveticaNeue-Light';
  src: url('../fonts/HelveticaNeue-Light.otf');
}

body {
  font-family: 'HelveticaNeue-Medium';
  font-size: 12px;
  color: #606060;
}

video {
    width: 100%;
}

.logo {
    max-width: 122px;
}

strong {
  color: #39617E;
}

.full-width {
  width: 100%;
  min-width: 100%;
}

.header {
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 99;
  animation: 1s ease-out 0s 1 slideInFromTop;
}

.header.show {
  -webkit-box-shadow: 0px 3px 16px 0px rgb(0 0 0 / 8%);
  box-shadow: 0px 3px 16px 0px rgb(0 0 0 / 8%);
  animation: 1s ease-out 0s 1 slideInFromTop2;
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    transform: translateY(-100%);
    opacity: 0;
  }
  75% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInFromTop2 {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    transform: translateY(-100%);
    opacity: 0;
  }
  75% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.header .nav-link {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 14px;
  text-transform: uppercase;
  transition-duration: 0.5s;
}

.header .nav-link:hover {
  color: #39617E;
}

.header .nav-link-logo {
  position: relative;
  margin-top: 0;
  padding-top: 0;
  align-self: self-start;
}

.header .nav-link-logo img {
  position: absolute;
  top: 0;
  left: 0;
  animation: 1s ease-out 0s 1 opacityShow;
}

.header.show .nav-link-logo img {
  width: 52px;
  top: -8px;
  transition-delay: 0.5s;
  animation: 1s ease-out 0s 1 opacityShow2;
}

@keyframes opacityShow {
  0% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes opacityShow2 {
  0% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header .redes-sociales {
  padding-top: 0.3rem;
  margin-left: 20px;
}

.header .redes-sociales a {
  color: #fff;
  background-color: #39617E;
  font-size: 18px;
  display: inline-block;
  width: 28px;
  height: 26px;
  text-align: center;
  border-radius: 50%;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: #39617E;
}

.home {
  display: flex;
  flex-direction: row;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  padding-top: 130px;
}

.home .home-left,
.home .home-right {
  width: 50%;
}

.home .home-left {
  display: flex;
  justify-content: flex-end;
}

.home .home-right {
  display: flex;
  align-items: center;
  padding-left: 16px;
}

.home .cuadro-texto {
  background-color: rgba(255, 255, 255, 0.7);
  text-align: right;
  width: 100%;
  max-width: 550px;
  padding: 30px 26px;
  padding-bottom: 90px;
}

.home .cuadro-texto h2 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 28px;
  text-transform: uppercase;
}

.home .cuadro-texto h2 span {
  color: #39617E;
}

.home .cuadro-texto p span {
  color: #39617E;
}

.home .cuadro-texto a {
  text-transform: uppercase;
  color: #39617E;
  font-family: 'HelveticaNeue-Medium';
  font-size: 12px;
  text-decoration: none;
  transition-duration: 0.5s;
}

.home .cuadro-texto a:hover {
  opacity: 0.5;
}

.home .cuadro-titulos h3, .home .cuadro-titulos .boton {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  background-color: #39617E;
  display: inline-block;
  padding: 8px 10px;
  text-decoration: none;
  margin-bottom: 20px;
}

.home .cuadro-titulos ul {
  padding-left: 0;
  list-style-type: '- ';
  list-style-position: inside;
}

.home .cuadro-titulos ul li, .home .cuadro-titulos p {
  color: #fff;
  font-size: 14px;
}

.nosotros {
  padding-top: 40px;
  padding-bottom: 40px;
}

.nosotros h1 {
  font-family: 'HelveticaNeue-Medium';
  font-size: 66px;
  text-transform: uppercase;
  margin: 0;
  color: #39617E;
}

.nosotros h4 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 12px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 36px;
}

.nosotros p {
  font-size: 16px;
}

.nosotros .cuadro-texto {
  padding-left: 60px;
  position: relative;
}

.nosotros .cuadro-texto:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.nosotros .cuadro-texto h3 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nosotros .cuadro-texto h3 span {
  color: #39617E;
}

.equipo {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #C9C9C9;
}

.equipo h2 {
  font-family: 'HelveticaNeue-Light';
  font-size: 54px;
  text-transform: uppercase;
  margin-bottom: 35px;
  line-height: 1;
}

.equipo h2 span, .equipo h2 strong {
  font-family: 'HelveticaNeue-Medium';
  font-size: 66px;
  color: #39617E;
}

.equipo p {
  font-size: 16px;
}

.equipo .card {
  background-color: transparent;
  border: none;
  padding-left: 10px;
  padding-right: 10px;
}

.equipo .card .card-img-overlay {
  color: #fff;
  background-color: rgba(57, 97, 126, 0.7);
  overflow-y: auto;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 60px;
}

.equipo .card .card-img-overlay h4 {
  font-family: 'HelveticaNeue-Medium';
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.equipo .card .card-img-overlay p {
  font-family: 'HelveticaNeue-Medium';
  font-size: 14px;
}

.equipo .card .card-img-overlay ul {
  padding-left: 16px;
}

.equipo .card .card-img-overlay ul li {
  font-family: 'HelveticaNeue-Medium';
  font-size: 14px;
  margin-bottom: 10px;
}

.equipo .imagen {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.equipo .nombre {
  text-align: center;
  margin-top: 10px;
}

.equipo .nombre h4 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 18px;
  text-transform: uppercase;
}

.equipo .nombre h4 span {
  color: #39617E;
}

.equipo .nombre p {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 18px;
}

.equipo .carousel-control-prev {
  left: -100px;
}

.equipo .carousel-control-next {
  right: -100px;
}

.programas {
  padding-top: 40px;
  padding-bottom: 40px;
}

.programas h2 {
  font-family: 'HelveticaNeue-Light';
  font-size: 54px;
  text-transform: uppercase;
  margin-bottom: 35px;
  line-height: 1;
}

.programas h2 span, .programas h2 strong {
  font-family: 'HelveticaNeue-Medium';
  font-size: 66px;
  color: #39617E;
}

.programas p {
  font-size: 16px;
}

.lista-programas {
  display: flex;
  flex-direction: row;
}

.lista-programas .programa {
  width: 25%;
}

.lista-programas .programa .imagen {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition-duration: 0.5s;
}

.lista-programas .programa .imagen .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background-color: rgba(57, 97, 126, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  transition-duration: 0.5s;

  transform: translateY(-100%); /* W3C */
  -webkit-transform: translateY(-100%); /* Safari & Chrome */
  -moz-transform: translateY(-100%); /* Firefox */
  -ms-transform: translateY(-100%); /* Internet Explorer */
  -o-transform: translateY(-100%); /* Opera */
}

.lista-programas .programa .imagen:hover .hover {
  transform: translateY(0);
}

.lista-programas .programa .imagen .hover p {
  font-size: 14px;
}

.lista-programas .programa .imagen .hover a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #fff;
  text-transform: uppercase;
  padding: 4px 10px;
}

.lista-programas .programa .titulo {
  text-align: center;
  margin-top: 16px;
}

.lista-programas .programa .titulo h4 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 16px;
  text-transform: uppercase;
}

.lista-programas .programa .titulo h4 span {
  color: #39617E;
}

.programas-botones {
  margin-top: 100px;
  margin-bottom: 50px;
}

.programas-botones .botones {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.programas-botones .botones a {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  background-color: #39617E;
  margin: 0 10px;
  text-decoration: none;
  padding: 10px;
}

.servicios {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #C9C9C9;
}

.servicios h2 {
  font-family: 'HelveticaNeue-Light';
  font-size: 54px;
  text-transform: uppercase;
  margin-bottom: 35px;
  line-height: 1;
}

.servicios h2 span, .servicios h2 strong {
  font-family: 'HelveticaNeue-Medium';
  font-size: 66px;
  color: #39617E;
}

.servicios p {
  font-size: 16px;
}

.lista-servicios {
  display: flex;
  flex-wrap: wrap;
}

.lista-servicios .servicio {
  width: 33.333333%;
  position: relative;
}

.lista-servicios .servicio .titulo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  transition-duration: 0.5s;
}

.lista-servicios .servicio .titulo h4 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  border: 1px solid #fff;
  background-color: rgba(57, 97, 126, 0.7);
  padding: 10px;
}

.lista-servicios .servicio .imagen {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition-duration: 0.5s;
}

.lista-servicios .servicio .imagen .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background-color: rgba(57, 97, 126, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  transition-duration: 0.5s;

  transform: translateY(-100%); /* W3C */
  -webkit-transform: translateY(-100%); /* Safari & Chrome */
  -moz-transform: translateY(-100%); /* Firefox */
  -ms-transform: translateY(-100%); /* Internet Explorer */
  -o-transform: translateY(-100%); /* Opera */
}

.lista-servicios .servicio .imagen:hover .hover {
  transform: translateY(0);
}

.lista-servicios .servicio .imagen:hover .titulo {
  opacity: 0;
}

.lista-servicios .servicio .imagen .hover h4 {
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'HelveticaNeue-Heavy';
  margin-bottom: 10px;
}

.lista-servicios .servicio .imagen .hover h4.medium {
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'HelveticaNeue-Medium';
  margin-top: 45px;
  margin-bottom: 25px;
}

.lista-servicios .servicio .imagen .hover p {
  font-size: 14px;
}

.lista-servicios .servicio .imagen .hover .botones {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.lista-servicios .servicio .imagen .hover .botones a {
  display: inline-block;
  color: rgba(57, 97, 126, 0.7);
  background-color: #fff;
  font-size: 18px;
  width: 28px;
  height: 28px;
  text-align: center;
  border-radius: 50%;
  margin: 0 5px;
}

.contacto {
  padding-top: 90px;
  padding-bottom: 40px;
}

.contacto h2 {
  font-family: 'HelveticaNeue-Medium';
  font-size: 50px;
  color: #39617E;
  text-transform: uppercase;
  margin-bottom: 80px;
}

.contacto h3 {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 16px;
  color: #39617E;
  margin-bottom: 20px;
}

.contacto .formulario .boton {
  text-align: right;
}

.contacto .formulario .form-control {
  border-radius: 0;
  border-color: #39617E;
}

.contacto .formulario .btn-primary {
  background-color: #39617E;
  border-color: #39617E;
  border-radius: 0;
}

.contacto .whatsapp {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 16px;
  color: #39617E;
  text-decoration: none;
  margin-bottom: 25px;
  display: inline-block;
}

.contacto .whatsapp img {
  max-width: 36px;
}

.contacto p {
  font-family: 'HelveticaNeue-Medium';
  font-size: 16px;
  color: #39617E;
}

.contacto p span {
  font-family: 'HelveticaNeue-Heavy';
}

.contacto p a {
  text-decoration: none;
}

.footer {
  background-color: #39617E;
  padding-top: 20px;
  padding-bottom: 30px;
}

.footer .separacion {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer .izquierda {
  display: flex;
  flex-direction: row;
}

.footer .logos-footer {
    margin-left: 20px;
}

.footer .logos-footer img {
  max-width: 100px;
  margin-right: 20px;
}

.footer .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer .links a {
  color: #fff;
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer .redes {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer .redes a {
  display: inline-block;
  color: #39617E;
  background-color: #fff;
  font-size: 18px;
  width: 28px;
  height: 28px;
  text-align: center;
  border-radius: 50%;
  margin: 0 5px;
}

.dialog {
  display: none;
  width: 100% !important;
  max-width: 1000px !important;
}

.dialog .dialog-header {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(57, 97, 126, 0.7);
  padding: 10px 14px;
}

.dialog .dialog-header a {
  color: #fff;
  font-size: 20px;
}

.dialog .dialog-header .buttons a {
  margin-right: 20px;
}

.dialog .container {
  padding: 2rem;
}

.dialog h2 {
  font-family: 'HelveticaNeue-Medium';
  font-size: 40px;
  color: #39617E;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.fancybox__content {
  padding: 0 !important;
}

.dialog-botones {
  margin-top: 40px;
}

.dialog-botones .botones {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.dialog-botones .botones a {
  font-family: 'HelveticaNeue-Heavy';
  font-size: 10px;
  text-transform: uppercase;
  color: #fff;
  background-color: #39617E;
  margin: 0 10px;
  text-decoration: none;
  padding: 10px;
}

#form-visita-guiada input::placeholder, #form-visita-guiada textarea::placeholder {
  color: #0D6180;
  opacity: 1;
  font-size: 12px;
}

#form-visita-guiada input::-ms-input-placeholder, #form-visita-guiada textarea::-ms-input-placeholder {
  color: #0D6180;
  font-size: 12px;
}

#form-visita-guiada .boton {
  text-align: right;
}

#form-visita-guiada .boton button {
  background-color: #0D6180;
  font-size: 12px;
}

@media (max-width: 991px) {
  .header {
    transition-property: none !important;
    transform: none !important;
    animation: none !important;
  }

  .header.show {
    transition-property: none !important;
    transform: none !important;
    animation: none !important;
  }

  .header .nav-link-logo img {
    transition-property: none !important;
    transform: none !important;
    animation: none !important;
    width: 50px;
  }

  .header.show .nav-link-logo img {
    transition-property: none !important;
    transform: none !important;
    animation: none !important;
  }

  .header .redes-sociales {
    margin-left: 0;
  }

  .home {
    padding-top: 56px;
    flex-direction: column;
    background-size: cover;
  }

  .home .home-left, .home .home-right {
    width: 100%;
  }

  .home .home-right {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .lista-programas {
    flex-direction: column;
  }

  .lista-programas .programa {
    width: 100%;
  }

  .lista-programas .programa .imagen .hover {
    transform: translateY(0);
  }

  .lista-servicios {
    flex-direction: column;
  }

  .lista-servicios .servicio {
    width: 100%;
  }

  .lista-servicios .servicio .imagen .hover {
    transform: translateY(0);
  }

  .lista-servicios .servicio .imagen .titulo {
    opacity: 0;
  }

  .equipo h2 {
    font-size: 40px;
  }

  .equipo h2 span {
    font-size: 44px;
  }

  .programas h2 {
    font-size: 40px;
  }

  .programas h2 span {
    font-size: 44px;
  }

  .servicios h2 {
    font-size: 40px;
  }

  .servicios h2 span {
    font-size: 44px;
  }

  .contacto h2 {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .equipo .carousel-inner .carousel-item > div {
    display: none;
  }
  .equipo .carousel-inner .carousel-item > div:first-child {
    display: block;
  }

  .equipo .carousel-inner .carousel-item .col-md-3 {
    width: 100%;
  }

  .equipo .carousel-control-prev {
    left: 0;
  }
  
  .equipo .carousel-control-next {
    right: 0;
  }
}

.equipo .carousel-inner .carousel-item.active,
.equipo .carousel-inner .carousel-item-next,
.equipo .carousel-inner .carousel-item-prev {
  display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

  .equipo .carousel-inner .carousel-item-end.active,
  .equipo .carousel-inner .carousel-item-next {
    transform: translateX(25%);
  }

  .equipo .carousel-inner .carousel-item-start.active, 
  .equipo .carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
  }
}

.equipo .carousel-inner .carousel-item-end,
.equipo .carousel-inner .carousel-item-start { 
  transform: translateX(0);
}