html,body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 
}

/* Navigation bar */

.topnav {
  overflow: hidden;
  background-color: #1e4487;
  position: relative;
  width: 100%;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: #1e4487;
}

.topnav a.active {
  background-color: #333;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    padding: 23.5px;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (min-width:601px) {
  .topnav a {
    font-size: 1.1em;
    padding: 1.1em 1em;
  }

  a.logo {
    padding: 10.5px 16px;
  }
}

@media screen and (min-width: 768px) {
  
  .topnav a {
    font-size: 1.5em;
    padding: 1.1em 1em;
  }

  .logo {
    padding: 23.75px !important;
  }
}

/* Hero image */

.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/inicio/inicio.jpg);
    height: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.hero-text h1 {
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bolder;
  margin: 0 0 0.5em 0;
  line-height: 1em;
}

button {
  text-transform: uppercase;
  background: #1e4487;
  border: 1px solid white;
  color: white;
  border-radius: 5px;
  padding: 1em 2em;
}

button:hover {
  background: #0892d0;
  cursor: pointer;
}

@media screen and (max-height: 320px) {
  .hero-text h1 {
    font-size: 1.6em;
  }

  .hero-text p {
    font-size: 0.8em;
  }
}

@media screen and (min-width:601px) and (max-width: 767px) {
  .hero-text h1, .hero-text p, .hero-text button {
    transform: scale(1.5);
  }

  .hero-text h1 {
    margin: 0 0 1em 0;
  }

  button {
    margin-top: 1em;
    padding: 0.5em 2em;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .hero-text h1, .hero-text p, .hero-text button {
    transform: scale(1.6);
  }

  .hero-text h1 {
    margin: 0 0 1em 0;
  }

  button {
    margin-top: 1.1em;
    padding: 0.5em 2em;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-text h1, .hero-text p, .hero-text button {
    transform: scale(1.7);
  }

  .hero-text h1 {
    margin: 0 0 1em 0;
  }

  button {
    margin-top: 1.2em;
    padding: 0.5em 2em;
  }
}

@media screen and (min-width: 1200px) {
  .hero-text h1, .hero-text p, .hero-text button {
    transform: scale(2);
  }

  .hero-text h1 {
    margin: 0 0 1em 0;
  }

  button {
    margin-top: 2em;
    padding: 0.5em 2em;
  }
}

/* Footer */

#main-footer {
  background: #333;
  text-align: center;
  color: white;
  padding: 1em;
}

#main-footer h5 {
  margin: 0;
  font-size: 1.5em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}

#main-footer p {
  font-size: 1em;
}

#main-footer a {
  color: white;
  text-decoration: none;
}

#main-footer .btn {
  color: #fff;
  display: block;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
  background: #1e4487;
  border: 1px solid #fff;
  border-radius: 5px;
  margin: 1em 0;
}

#main-footer .btn:hover {
  background: #0892d0;
}

.social-icons {
  margin: 1em 0;
  padding-bottom: 1em;
  border-bottom: 1px solid #1e4487;
}

.copyright a {
  color: #0892d0 !important;
}

.contacto-mobile, .contacto-desktop {
  position: relative;
  bottom: 0%;
  /*height: 100%;*/
}

#body-contacto {
  background: #333;
}

#main-footer-desktop {
  display: none;
}

@media screen and (min-width: 601px) and (max-width: 767px) {
  #main-footer h5 {
    font-size: 1.5em;
  }

  #main-footer .btn {
    font-size: 1.5em;
  }

  .social-icons {
    font-size: 1.4em;
  }

  .copyright {
    font-size: 1.4em;
  }
  
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  
  #main-footer h5 {
    font-size: 2em;
  }

  #main-footer p {
    font-size: 1.5em;
  }

  #main-footer .btn {
    font-size: 1.6em;
  }

  .social-icons {
    font-size: 1.5em;
  }

  .social-icons a {
    font-size: 1em;
  }

  .copyright {
    font-size: 1.5em;
  }
}


@media screen and (min-width: 992px) {
  #main-footer {
    display: none;
  }

  #main-footer-desktop {
    /*justify-items: center;*/
    text-align: center;
    background: #333;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1em 2em 2em;
    gap: 4em;
    color: white;
    /*text-align: left;*/
    justify-content: left;
}

#main-footer-desktop h3 {
    font-size: 2.5em;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

#main-footer-desktop p {
  transform: scale(1);
  font-size: 1.5em;
  margin-top: 0;
}

#main-footer-desktop .btn {
    color: #fff !important;
    display: block;
    text-align: center;
    padding: 0.5em;
    font-size: 1.5em;
    background: #1e4487;
    border: 1px solid #fff;
    border-radius: 5px;
    margin: 1em 0;
}

#main-footer-desktop .btn:hover {
  background: #0892d0;
}

#main-footer-desktop #whatsapp {
    margin-bottom: 1.5em;
}

#main-footer-desktop .fab {
    font-size: 1em;
    align-items: center;
    color: white;
}

.fa-facebook, .fa-instagram {
  color: white;
}

#main-footer-desktop a {
    font-size: 1.4em;
    color: #fff;
    text-decoration: none;
}

#main-footer-desktop #right-column {
    color: #fff;
}

#main-footer-desktop #right-column .redes-sociales {
    color: #fff !important;
}

.redes-sociales {
  font-size: 1em;
}

.copyright {
  font-size: 1.2em;
}

.copyright a {
  font-size: 1em !important;
}

}

/* Profesionales */

main .heading {
  color: #1e4487;
  text-align: center;
}

.profile {
  border: solid 0.5px #1e4487;
  border-radius: 5px;
  background: #f5f5f5;
  padding: 10px 7px 10px;
  margin: 0 16px 32px 16px;
  box-shadow: 3px 3px lightgrey;
  text-align: center;
}

.profile-img {
  width: 25%;
  border-radius: 50%;
  padding-bottom: 5px;
}

.profile h3 {
  padding: 0 5px;
  margin: 5px 0;
}

.profile p {
  color: #333;
  margin: 5px 60px 80px 60px;
  padding: 5px 5px;
  font-size: 15px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
}

.profile:hover {
  transform: scale(1.025);
  background: #fff;
}

.foto-profesionales {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  /*margin-bottom: 2em;*/
  border-radius: 5px;
}

.foto-profesionales-texto {
  text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 1034px) {
  
  main .heading {
    font-size: 3em;
  }

  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .profile {
    flex-basis: 40%;
  }

  .profile h3 {
    font-size: 1.5em;
  }

  .profile p {
    font-size: 1.5em;
  }

  .profile-img {
    width: 50%;
  }

}

@media screen and (min-width: 1035px) {

  main .heading {
    font-size: 3em;
  }

  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .profile {
    flex-basis: 30%;
  }

  .profile h3 {
    font-size: 1.5em;
  }

  .profile p {
    font-size: 1.5em;
  }

  .profile-img {
    width: 50%;
  }
}

/* Especialidades */


/* Slideshow */
.mySlides {
  display: none;
}

img {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}



