/*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);
}

/*CAJAS EXTRA*/

main>div:nth-of-type(1){
  width: 29%;
  margin-top: 10%;
  height: 1100px;
}
main>div:nth-of-type(1)>div:nth-of-type(1){
width: 100%;
height: 195px;
margin-bottom: 2%;
margin-top: 2%;
text-align: center;
}

main>div:nth-of-type(1)>div:nth-of-type(1)>a>img{ 
  width: 15%;
}

.titulo{
  margin-top: 5%;
  margin-bottom: 5%;
  font-size: 2em;
  color: #EF5949;
  text-align: center;
}

/*FORMULARIO*/
form{
  margin-bottom: 2%;
  width: 70%;
  float: right;
  margin-top: 2%;

}
form>p>label{
  display: block;
  margin-left: 2%;
}
input[type ="text"],input[type ="email"]{
  width: 90%;
  height: 60px;
  background-color: rgb(208, 215, 223);
  box-shadow: 0px 0px 2px gray;
  margin: 2%;
  color: #EF5949;
  font: bolder;
  padding-left: 3%;

}
form>p>textarea{
  width: 90%;
  height: 300px;
  background-color:rgb(208, 215, 223);
  box-shadow: 0px 0px 2px gray;
  margin: 2%;
  color: #EF5949;
  font: bolder;
  padding: 2% 0% 0% 2%;

}
form>p:nth-of-type(7){
  margin-bottom: 2%;
}
input[type="checkbox"]{
  width: 10%;
  height: 10px;
}

input[type="submit"]{
  width: 30%;
  height: 60px;
  background-color: #EF5949;
  box-shadow: 0px 0px 2px gray;
  margin: 2%;
  color: white;
  font: bolder;
}


input[type="submit"]:hover{
    box-shadow: 0px 0px 3px gray;
}

/*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;

}















