/* Makes images fully responsive */
body {background-color:#D9D9D9;}
#fijo{
    margin: 0px;
    padding: 0px;
    border-bottom-color:rgba(192,192,192,0.8);
    background-color:rgba(250,204,170,0.8) ;
    position: fixed; /* Set the navbar to fixed position */
    top: 10; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */

}

/*-------- Formulario----*/


/*-------------------- Menu------------------*/
#letra{color: black;
font-size: 15px;
font-style: italic;
font-weight: bold;} 
#dropdownmenu2{background-color: transparent;
border: none;
color: black;
font-size: 15px;
font-style: italic;
font-weight: bold;
text-align: left; }
#dropdownmenu2 a:focus{border-radius: none}

/*-------------------Pie de paguina------------------------*/


/* ------------------- Carousel Styling ------------------- */

.carousel-inner {
  border-radius: 15px;
  background-color: #fff;

}

.carousel-caption {
  background-color: rgba(47,151,47,.4);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 0;
  padding: 0;
  color: #fff;
  height: 50px;
  text-align: left;
}
.palabrascarousel{
  margin-left: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 20px;
  width: 100%;
  z-index: 15;
  margin: 0;
  padding: 0 25px 25px 0;
  text-align: right;
}

.carousel-control.left,
.carousel-control.right {
  background-image: none;
}


/* ------------------- Section Styling - Not needed for carousel styling ------------------- */

.section-white {
   padding: 10px 0;
  display: block;

}

.section-white {
  background-color: #fff;
  color: #555;

}


/*------Imagen Final------*/
#imagen{width:500px;
height:500px;}

@media screen and (min-width: 768px) {

  .section-white {
     padding: 1.5em 0;
  }

}

@media screen and (min-width: 992px) {

  .container {
    max-width: 930px;
  }
  .container-fluid {
    padding-left: 5%;
    padding-right: 5%;}

}
  #ancho {
    padding-right: 1%;
    padding-left: 1%; 

  }
/*Titulo de galeria*/
.galeriatitulo{
  text-align: center;
  font-size: 60px;
  font-family: 'Viga', sans-serif;
  }

  /*boton cerrar*/
  #cerrar {
    display: block;
    width: 70px;
    height: 40px;
    margin-bottom : 10px ;
    margin-top: 10px;
    margin-left: 48%;
    margin-right: 20px;
    text-align: center;
    padding: 10px 10px 10px 10px;
    background-color: #fff;
    color:black;
    font-family: 'Viga', sans-serif;
    border:none;

 }

/*Estilos de la galeria*/

.galeria {
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria li {
    margin: 10px auto;
}

.galeria img {
    width: 250px;
    height: 150px;
    border:solid #fff;
}

/*Estilos del modal*/

.modal {
    display: none;
}

.modal:target {
    
    display: block;
    position: fixed;
    background: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imagen {
    width: 100%;
    height: 75%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen a {
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
}

.imagen a:nth-child(2) {/*contiene la etiqueta a de la imagen*/
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}

.imagen img {
    width: 700px;
    height: 100%;
    max-width: 100%;
    border: 7px solid #fff;
    box-sizing: border-box;
}