/*ESTILOS GENERALES*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/*CABECERA*/

#header {
  min-width: 1024px;
  width: 100%;
  height: 200px;
  margin: 0px auto;
}

#header #logotipo {
  width: 770px;
  margin: 0px auto;
  padding-top: 20px;
}

#header #logotipo img {
  display: block;
  text-align: center;
  margin: 0px auto;
  width: 170px;
}

/*CONTENIDO CENTRAL*/

main {
  margin: 0% 10% 0% 10%;
}

body {
  background-image: url("../../../img/Fondos/Fondo.jpg");
  max-width: 1920px;
  min-width: 1095px;
}

/*BARRA DE NAVEGACION*/

nav {
  width: 100%;
  height: 45px;
  top: 0px;
  position: sticky;
  z-index: 20;
  background-color: white;
  font-size: 12px;
  box-shadow: 0px 0px 2px gray;
}

nav ul {
  list-style: none;
  text-decoration: none;
  width: 100%;
  display: inline-block;
}

nav>ul>li {
  line-height: 45px;
  float: left;
  border-right: 1px solid gray;
  width: 19.99%;
  background-color: white;
  text-align: center;
}

nav>ul>li a {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
}

nav>ul>li>a::first-letter {
  font-size: 2rem;
  color: #6ecde9;
}


nav>ul>li>a:first-child {
  border-left: 1px solid gray;
}

nav>ul>li:hover {
  background-color: #f2f1f0;
  box-shadow: 0px 0px 4px #6ecde9 inset;
}

/*MENÚ DESPLEGABLE*/

nav>ul>li>ul {
  display: none;
  z-index: 20;
  position: absolute;
  width: 19.99%;
}

nav>ul>li:hover>ul {
  display: block;

}

nav>ul>li>ul>li {
  border-right: 1px solid gray;
  background-color: white;
  text-align: center;
}

nav>ul>li>ul>li a {
  text-transform: uppercase;
}

nav>ul>li:hover>ul>li {
  background-color: #f2f1f0;
  border-bottom: 1px solid #d6d6d6;
  padding: 8px;
  line-height: 35px;
  font-size: 8px;

}

nav>ul>li:hover>ul>li a {
  color: #666666;
}


nav>ul>li:hover>ul>li a::first-letter {
  font-size: 2rem;
  color: #6ecde9;
}

nav>ul>li:hover>ul>li:hover {
  box-shadow: 0px 0px 2px #ccc inset;
  background: rgb(252, 246, 246);
}

/*MENÚ subDESPLEGABLE*/

nav>ul>li>ul>li a {
  display: block;
}


nav>ul>li>ul>li>ul {
  display: none;
  z-index: 20;
  position: absolute;
  top: 0px;
  left: 100%;
  float: left;
}

nav>ul>li>ul>li>ul>li {

  border-right: 1px solid gray;
  background-color: white;
  text-align: center;

}

nav>ul>li>ul>li:hover>ul {
  display: block;
}

nav>ul>li>ul>li:hover>ul>li {
  background-color: #f2f1f0;
  border-bottom: 1px solid #d6d6d6;
  line-height: 35px;
  padding: 8px;
  font-size: 8px;
}

nav>ul>li>ul>li:hover>ul>li a {
  color: #666666;
}


nav>ul>li>ul>li:hover>ul>li a::first-letter {
  font-size: 2rem;
  color: #6ecde9;
}

nav>ul>li>ul>li:hover>ul>li:hover {
  box-shadow: 0px 0px 2px #ccc inset;
  background: rgb(252, 246, 246);
}

/*PRIMER DIV: SLIDER*/

main>div:nth-of-type(1) {
  position: relative;
}

.mySlides {
  display: none;
  width: 100%;
  height: 750px;
  z-index: 1;
  margin-top: 70px;
  border-radius: 150px;
}

.buttonIzq {
  position: absolute;
  background-color: #6ecde9;
  opacity: 0.5;
  border: none;
  color: white;
  left: 0.001%;
  top: 46%;
  padding: 18px 15px;
  text-align: center;
  font-size: 16px;
}

.buttonIzq:hover {
  cursor: pointer;
}

.buttonDrcha {
  position: absolute;
  background-color: #6ecde9;
  opacity: 0.5;
  border: none;
  color: white;
  right: 0.001%;
  top: 46%;
  padding: 18px 15px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.buttonDrcha:hover {
  cursor: pointer;
}


/*SEGUNDO DIV*/

main>div:nth-of-type(2) {
  width: 100%;
}

article {
  width: 100%;
  margin: 6% auto;
}

article>h2 {
  border-bottom: 1px solid gray;
  margin-bottom: 10%;
  margin-right: 6%;
  color: #6ecde9;
  text-align: center;
}

article>img {
  display: block;
  height: 234px;
  width: 40%;
  border-radius: 60px 60px 60px 60px;
  margin: auto;
}

article>p {
  color: rgb(75, 71, 71);
  width: 90%;
}

article>p>a {
  display: block;
  color: gray;
  font: bold;
  text-decoration: none;
  margin-top: 10%;
  font-family: sans-serif;
  margin-bottom: 2%;
  text-align: center;
}

article>p>a:hover {
  color: #6ecde9;
}

/*PIE DE PÁGINA*/
footer {
  background-image: url("../../../img/Footer/Footer.jpg");
  background-position: 100% 50%;
  background-size: cover;
  height: 450px;
  margin: 0% 10% 0% 10%;
}

footer>div:nth-of-type(1) {
  height: 85%;
  width: 100%;
}

footer>div:nth-of-type(1)>div:nth-of-type(n) {
  text-align: center;
  color: white;
  line-height: 62px;
  font-size: 2em;
  width: 32%;
}

footer>div:nth-of-type(1)>div:nth-of-type(1)>div>a>img,
footer>div:nth-of-type(1)>div:nth-of-type(2)>div>a>img {
  width: 10%;
}

footer>div:nth-of-type(1)>div:nth-of-type(1)>div>div {
  font-size: 0.4em;
  line-height: 24px;
}
footer>div:nth-of-type(1)>div:nth-of-type(2)
{
  margin-left: 35%;
}

footer>div:nth-of-type(1)>div:nth-of-type(2),
footer>div:nth-of-type(1)>div:nth-of-type(1),
footer>div:nth-of-type(1)>div:nth-of-type(3) {
  float: left;
}

footer>div:nth-of-type(1)>div:nth-of-type(2)>div,
footer>div:nth-of-type(1)>div:nth-of-type(1)>div {
  display: block;
  line-height: 30px;
}

footer>div:nth-of-type(1)>div:nth-of-type(2)>div>div {
  font-size: 0.6em;
  margin-top: 10%;
  margin-bottom: 15%;
  line-height: 24px;
}

footer>div:nth-of-type(2) {
  text-align: center;
  height: 15%;
  width: 100%;
  line-height: 74px;
  background-color: #31313180;
  color: white;

}