/*Menu*/
ul.horizontal{
	margin:0;
	padding:0;
}

ul.horizontal li{
	display:block;
	float:left;
	padding:0 10px;
}

header {
  background: rgba(0,0,0,0.7);
  width: 100%;
  position: fixed;
  z-index: 100;
}

nav {
  float: left;
}

nav ul {
  list-style: none;
  overflow: hidden; 
}

nav ul li {
  float: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

nav ul li a {
  display: block; 
  padding: 20px;
  color: #fff;
  text-decoration: none;
}

nav ul li:hover {
  background: #eca023;
}

/*Galeria*/

.contenido {
  padding-top: 80px;
}

.item {
	margin-top: 10px;
	margin-right: 5px; # Separacion por la derecha
	border-width:2px;
	border-style:solid;
	border-color:black;
	float: left;
	width: 300px;
	height: 320px;
	overflow: hidden; Para que la imagen no se salga
}

.item img {
  width:320px; # Tiene que ser como el ancho de .item
  display:block; # Esto es para que el texto aparezca debajo
}

.item p {
	margin-top: 0px;
	margin-bottom: 5px;
}

.galleria {
  width: auto; # el ancho nos limitara el numero de imagenes por fila. 
  margin: auto; # esto es para centrar todas las imagenes
}

.usuarios {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.usuarios td, .usuarios th {
  border: 1px solid #ddd;
  padding: 8px;
}

.usuarios tr:nth-child(even){background-color: #f2f2f2;}

.usuarios tr:hover {background-color: #ddd;}

.usuarios th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: auto;

}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 80px;
  right: 35px;
  color: red;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}




