html {
   scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
   html {
      scroll-behavior: auto;
   }
}

* {
   margin: 0;
   padding: 0;
   list-style-type: none;
}

body {
   font-family: "Roboto", serif;
   font-size: 1em;
   line-height: 1.3;
   margin: 0;
   padding: 0;
   color: #000625;
}

h1 {
   font-size: 2.5em;
   font-weight: 700;
   line-height: 1;
   margin-bottom: 0.5em;
}

h2 {
   font-size: 1.813em;
   line-height: 1.1;
}

h3 {
   font-size: 1.5em;
   margin: 0 0 0.5em 0;
   font-weight: 400;
   line-height: 1.2;
}

h4 {
   font-size: 1.313em;
   line-height: 1.2;
   margin: 0 0 0.5em 0;
}

p {
   font-size: 1em;
   margin-bottom: 0.5em;
}

img {
   max-width: 100%;
}

a {
   color: #000625;
   text-decoration: none;
   transition: 0.2s;
}

a:hover {
   color: #00d6d6;
}

.button {
   background-color: rgb(214, 177, 82);
   border-radius: 6px;
   display: block;
   width: 100%;
   color: #FFF;
   font-weight: 700;
   height: 64px;
   padding: 0 20px;
   text-align: center;
   line-height: 64px;
   text-decoration: none;
   font-size: 1em;
   margin: 2em 0 0 0;
   max-width: 220px;
   transition: 0.2s;
}

.button:hover {
   background-color: #00d6d6;
   color: #FFF;
}

.clearfix::after {
   content: "";
   clear: both;
   display: table;
}

.wrap {
  margin: 0 auto;
  padding: 5em 0;
  width: 90%;
  max-width: 1100px;
}

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

   h1 {
      font-size: 3em;
   }

   h2 {
      font-size: 2.5em;
      line-height: 1.1;
   }

   h3 {
      font-size: 1.750em;
      margin: 0 0 0.5em 0;
      font-weight: 400;
   }

   h4 {
      font-size: 1.313em;
      margin: 0 0 0.5em 0;
   }

   p {
      font-size: 1em;
   }

   .floatLeft {
      float: left;
      width: 45%;
      margin-right: 7%;
   }

   .floatRight {
      float: right;
      width: 48%;
   }

}

/****   HEADER   ****/

.header {
   background-color: #FFF;
}

.header .wrap {
   padding: 2em 0;
}

.logo {
  text-align: center;
  width: 100%;
}

.nav {
  margin: 1.5em auto 0 auto;
  width: 100%;
  text-align: center;
}

.nav a,
.dropbtn {
   background-color: transparent;
   color: #002850;
   font-size: 1em;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   margin: 5px 10px;
   border: none;
   border-bottom: 1px solid;
}

.nav a:hover,
.dropbtn:hover, .dropbtn:focus {
   color: #00d6d6;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  right: 0;
  padding: 10px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 16px;
  text-decoration: none;
  display: block;
  border: none;
  text-align: left;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

.nav .social {
   border-bottom: 0;
   text-decoration: none;
   margin: 0 0 0 10px;
   vertical-align: middle;
   display: inline-block !important;
}


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

   .logo {
     float: left;
     text-align: left;
     width: auto;
   }

   .nav {
     float: right;
     margin: 15px 0 0 0;
     width: auto;
   }

   .nav a {
     margin: 0 1em;
   }

}


/****   INTRO   ****/

.intro {
   background-image: url('images/introBG.jpg');
   background-repeat: no-repeat;
   background-size: cover;
   background-position: 50% 50%;
   color: #FFF;
}

.intro .button {
   background-color: rgb(45, 184, 12);
}

.introSlideshow {
   margin: 2em 0;
}


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

   .intro p,
   .intro h1,
   .intro .button {
      width: 45%;
      float: left;
   }


   .introSlideshow {
      float: right;
      width: 48%;
      margin: 0;
   }

}

/****   QUIENES SOMOS   ****/

#quienesSomos {
   background-color: #fffbf2;
   text-align: center;
}

#quienesSomos .floatRight {
   text-align: left;
}

#quienesSomos p {
   max-width: 900px;
   margin: 0 auto 3em auto;
}

#quienesSomos h2 {
   font-weight: 400;
}

#quienesSomos h4 {
   margin-bottom: 1em;
}


#quienesSomos .floatRight {
   margin-top: 2em;
}

#quienesSomos .floatRight p {
   margin-bottom: 1em;
}


/****   ESTADISTICAS   ****/

#estadisticas h1 {
   color: rgb(28, 47, 96);
   text-align: center;
}

#estadisticas ul li {
   display: inline-block;
   width: 47%;
   margin: 0 1%;
   text-align: center;
   margin-bottom: 1em;
}

#estadisticas span {
   background-color: rgb(28, 47, 96);
   color: #FFF;
   font-weight: 700;
   padding: 0.75em 1em;
   display: inline-block;
   border-radius: 20px;
   margin-top: 0.5em;
   font-size: 0.875em;
}

#estadisticas img {
   width: 50%;
   max-width: 80px;
   margin: 1em 0;
}

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

   #estadisticas ul li {
      width: 22%;
      margin: 0 1%;
   }

   #estadisticas span {
      font-size: 1em;
   }

}
/****   EVENTOS   ****/

#eventos {
   background-image: url('images/banner4.jpg');
   background-repeat: no-repeat;
   background-size: cover;
   background-position: 50% 50%;
}

#eventos h1 {
   color: #FFF;
}

.evento {
   background-color: #FFF;
   font-size: 0.925em;
   border-radius: 20px;
   padding: 2em;
   margin-bottom: 2em;
}

.evento .horario {
   text-align: center;
   font-size: 13px;
   margin-bottom: 2em;
}

.evento .horario span {
   color: #4e5f70;
   margin-bottom: 10px;
}

.evento .speaker {
   display: inline-block;
   font-size: 0.825em;
   width: 50%;
   text-align: center;
   margin-top: 2em;
}

.evento .speaker img {
   width: 70px;
   border-radius: 50%;
}

.evento .speaker h4 {
   margin: 8px 0 0 0;
}

.evento .button {
   display: inline-block;
   width: 30%;
   vertical-align: top;
}

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

   .evento {
      display: flex;
   }

   .evento .horario {
      display: flex;
      align-items: center;
      width: 14%;
      text-align: left;
   }

   .evento .horario span {
      display: block;
      margin-bottom: 10px;
   }

   .evento .info {
      display: flex;
      align-items: center;
      width: 50%;
      padding: 0 5% 0 3%;
   }

   .evento .button {
      display: flex;
      align-items: center;
      width: 10%;
   }

   .evento .speaker {
      display: flex;
      align-items: center;
      width: 18%;
      text-align: center;
      font-size: 0.825em;
   }

}


/****   TESTIMONIALS   ****/


#testimonials {
   background-color: #f3f4f7;
   text-align: center;
}

.testimonialCard {
   box-shadow: 0 10px 20px rgba(0,0,0,0.08);
   border-radius: 13px;
   background-color: #FFF;
   padding: 2em;
   text-align: left;
   vertical-align: top;
   margin-bottom: 1em;
}

.testimonialCard img {
   border-radius: 50%;
   float: left;
   margin: 0 1em 0 0;
   width: 20%;
}

.testimonialCard span {
   display: block;
   line-height: 1.4;
}

.testimonialCard p {
   line-height: 1.1;
   margin: 1em 0 0 0;
}

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

   .testimonialCard {
      padding: 3em;
      width: 30%;
      display: inline-block;
      margin: 2%;
   }

   .testimonialCard img {
      margin: 0 1em 0 0;
   }

   .testimonialCard span {
      padding-top: 1em;
   }

   #faqs ul li h4 {
      background-size: 22px;
   }


}


/****   FAQS   ****/

#faqs {
   background-image: url('images/red-empresarial-latina-banner-4.jpg');
   background-size: cover;
   background-repeat: no-repeat;
   background-position: 50% 50%;
   text-align: center;
}

#faqs ul {
   margin: 2em auto 0 auto;
   text-align: left;
   max-width: 860px;
}

#faqs ul li {
   background-color: #FFF;
   padding: 2em 2em 1.5em 2em;
   border-radius: 12px;
   border: 2px solid rgba(0,0,0,.1);
   display: block;
   margin-top: 2em;
}

#faqs ul li h4 {
   background-image: url('images/arrow.png');
   background-repeat: no-repeat;
   background-position: 99% 48%;
   background-size: 16px;
   padding-right: 1.5em;
}

#faqs ul li h4.faqOpen {
   background-image: url('images/arrowUp.png');
}

#faqs ul li p {
   display: none;
}



/****   GALLERY   ****/

#gallery {
   text-align: center;
}

.galleryWrap {
   margin: auto;
   width: 100%;
   max-width: 760px;
}

/****   FOOTER   ****/

#footer {
   background-image: url('images/footerBG.jpg');
   background-size: cover;
   background-repeat: no-repeat;
   background-position: 50% 50%;
}

#footer a {
   color: #FFF;
   display: block;
   font-size: 1.313em;
   font-weight: 700;
   margin-bottom: 1em;
}


#footer .social {
   display: inline-block;
   margin-right: 1em;
}


/****  DIRECTORIO   ****/

.directorio {
   text-align: left;
   background-color: #fffbf2;
}

.directorio h1 {
   font-size: 2em;
   margin-top: 2em;
}

.company {
   background-color: #FFF;
   border-radius: 8px;
   width: 42%;
   font-size: 0.913em;
   padding: 3%;
   display: inline-block;
   margin: 0.5% 0.5% 1em 0.5%;
   text-align: left;
   vertical-align: top;
}

.company h2 {
   font-size: 1.125em;
   margin-bottom: 5px;
}

.companyLogo {
   width: 64%;
   margin: 0 auto 1.5em auto;
}

.companyOwner {
   margin-top: 2em;
   padding-top: 2em;
   border-top: 1px dotted #eee;
   vertical-align: middle;
}

.companyOwner img {
   display: inline-block;
   border-radius: 50%;
   width: 48px;
   margin-right: 8px;
   vertical-align: middle;
}

.companyOwner span {
   display: inline-block;
   vertical-align: middle;
   font-weight: 700;
}

.companyLinks {
   margin-top: 1.5em;
   font-size: 0.813em;
}

.companyLinks a {
   display: block;
   vertical-align: middle;
   margin-top: 0.5em;
   display: inline-block;
   width: 49%;
}

.companyLinks a img {
   width: 16px;
   margin-right: 2px;
   vertical-align: middle;
}

.directorioNav {
   text-align: center;
   text-transform: uppercase;
   font-size: 0.913em;
}

.directorioNav a {
   display: inline-block;
   margin: 0.5em;
   background-color: rgb(0, 0, 0, 0.05);
   color: rgb(214, 177, 82);
   padding: 0.5em 1em;
   border-radius: 20px;
   cursor: pointer;
}


.welcome {
   text-align: center;
   background-color: #fffbf2;
   color: rgb(28, 47, 96);
}

.welcome .wrap {
   max-width: 860px;
   margin: auto;
}

.welcome h3 {
   margin: 1.5em 0;
}

.welcome h2 {
   margin:0 0 1em 0;
}

.welcome ul {
   margin: 1em 0 2em 0;
}

.welcome li {
   margin-bottom: 5px;
}

.welcome .button {
   margin: auto;
}

.welcome .logo {
   padding: 2em 0 0 0;
   float: none;
   margin: auto;
   text-align: center;
}

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

   .company {
      background-color: #FFF;
      border-radius: 8px;
      width: 22%;
      font-size: 0.913em;
      padding: 2.5%;
      display: inline-block;
      margin: 0.5%;
      text-align: left;
      vertical-align: top;
   }

   .directorioNav a {
      display: inline-block;
      margin: 0.5em;
   }

}


.tableWrap {
   background-color: #FFF;
   border-radius: 16px;
   overflow-x: scroll;
   border: 1px solid rgba(0,0,0,0.1);
   font-size: 0.913em;
}

.tableWrap table {
   border-collapse: inherit;
   border-spacing: 0;
   max-width: 100%;
   width: 100%;
}

.tableWrap table td,
.tableWrap table th {
   text-align: center;
   padding: 2% 3%;
   width: 50%;
   line-height: 1.5;
   box-sizing: border-box;
   background-color: #FFF;
}

.tableWrap table tr td:first-of-type {
   text-align: left;
}

.tableWrap table th,
.tableWrap table td {
   border-bottom: 1px solid rgba(0,0,0,0.1);
}

.tableWrap table td {
   text-align: left;
}

.noBorderBottom {
   border-bottom: none !important;
}

.miembrosExito {
   background-color: #fffbf2;
   background-image: url('images/miembrosIntroBanner.jpeg');
   background-size: cover;
   background-position: 50% 50%;
}

.miembrosExito h1,
.miembrosExito h3 {
   color: #FFF;
   text-align: center;
   max-width: 900px;
   margin: 0 auto 0.5em auto;
}

.miembrosExito h2 {
   color: #FFF;
   margin: 1.5em 0 10px 0;
}

.miembrosCirculos {
   background-color: #f3f4f7;
   background-image: url('images/miembrosCirculosBanner.jpeg');
   background-size: cover;
   background-position: 50% 50%;
}

.tableWrap h2 {
   margin: 0 !important;
}

.miembrosCirculos .tableWrap table td,
.miembrosCirculos .tableWrap table th {
   width: 33%;
}



.miembrosExito .video {
   margin: 2em auto 1em auto;
   max-width: 740px;
}

.miembrosExito .button {
   margin: 2em auto 0 auto;
}

.asegura {
   background-color: #fffbef;
}

.asegura .button {
   margin-bottom: 2em;
}
