/* CSS Document */


.gallery-content{
	margin:5px;
	cursor:pointer;
        
}

.gallery {
  	border: 1px solid #ccc;
  	overflow:hidden;
	border-radius:15px 15px 15px 15px;
	box-shadow:2px 5px 15px black;
	background-color:white;		
	display:flex;
	justify-content:center;
	background-image:url(imagenes/load.gif);
	background-repeat:no-repeat;
	background-position:center;
	background-size:350px;
        
        transition-duration: 0.2s;	
        margin:10px;
  	width: 290px;
  	height:240px;
        margin:10px;
        
	
}

.gallery:hover {
  	border: 1px solid #777;
	box-shadow:5px 5px 25px blue;
        transition-duration: 0.5s;	
        margin: 5px;
  	width: 300px;
  	height:250px;
}

.gallery-imgH {
	height:100%;
	width:auto;
	margin:auto;
}

.gallery-imgW {
	width:100%;
	height:auto;
	margin:auto;
}

.gall-descripcion {
  padding: 15px;
  text-align: center;
  color:#FFF;
  font-style:normal;
  text-decoration:none;
  height:75px;
}



@media only screen and (max-width: 600px) {

	.gallery-content{
		margin:5px;
	}
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 19227000; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 95%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 95%;
  height:100%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: mdl-animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: mdl-animatetop;
  animation-duration: 0.4s;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  overflow:hidden;
}

/* Add Animation */
@-webkit-keyframes mdl-animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}



@keyframes mdl-animatetop {
  from {top:-800px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  background-color: #5cb85c;
  color: white;
  height:30px;
  padding-right:12px;
  width:100%;
}

.modal-body {
	overflow:hidden;	
	height:90%;
	width:100%;
	display:flex;
	justify-content:center;
	background-color:#FFF;
	background-image:url(imagenes/load.gif);
	background-position:center;
	background-repeat:no-repeat;
	background-size:350px;
}

.modal-body {
	background-color:#FFF;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* la imagen a mostrar*/

#gal-img-show{

	display:block;
	width:auto;
}


@media only screen and (max-width: 600px) {

	.modal {
	  padding-top: 60px; /* Location of the box */
	}
	
}


.sec-galeria{
		display:none;
		flex-direction:row;
		justify-content:center;
		align-items:center;	
	  	flex-wrap:wrap;
		margin-bottom:50px;
		margin-top:25px;
}