
/* Style the Image Used to Trigger the Modal */
#imgModal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
  touch-action: none;
  user-select: none;
  border: none;
}


#filterContent{
	display: contents;
	 z-index: -10;
}

#mostrarmodalLogin{
    z-index: 2000;
}

/*#myImg:hover {opacity: 0.7;}*/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top. we put 3 because the navbar is 2*/
	padding-bottom: 27px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: none; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    background-image: url(/assets/img/loading-5e4225c6587251df001acdcd8675d792.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}


/* Modal Content (Image) */
.modal-content {		
		/*border-style: solid;
		border-width: 10px 10px 10px 10px;
		border-color: blue;
		position: relative;
		*/
		margin: auto;
		display: block;
		width: auto;
		max-width: 100%;
		max-height: 100%;

		
}

/* 100% Image Width on Smaller Screens */
/*
@media only screen and (max-width: 700px){
    .modal-content {

    }
}*/

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
	position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 2px 0;
    height: 16px;
}

div#myModal > div#caption span{
	/*text-shadow: 0 0 5px #000;*/
  background-color: rgba(5, 5, 5, 0.5);
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
}


@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

#myModal{
	min-width: 100%;
	min-height: 100%;
    background-color: black;
   	/*background-image: url(/assets/img/loading-5e4225c6587251df001acdcd8675d792.png);*/
   	background-size: contain;
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: center;
    display: none;
    overflow: hidden;
}

/* The Close Button */
#myModal .close {
  top: 15px;
  z-index: 1;
  position: absolute;
  right: 35px;
  display: inline-block;
  border-radius: 60px;
  box-shadow: 0 0 2px white;
  opacity: 1;
  padding: 0.5em 0.6em;
  color: white;
  background: transparent;
  transition: 0.6s ease;
  text-shadow: 2px 2px black;
}

#myModal .close:hover{
  color: black;
  background: white;
  text-shadow: none;
}

/*
#myModal .close:hover,
#myModal .close:focus {
    color: black;
    padding: 0em 0.2em 0.2em 0.2em;
	text-decoration: none;
    cursor: pointer;
	background-color: white;
	border-radius: 50%;
}*/

/* Next & previous buttons */
#myModal .prev,
#myModal .next {
  z-index: 10;
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: .6s ease;
  -webkit-transition: .6s ease;
  -moz-transition: .6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  text-shadow: 2px 2px black;
}

/* Position the "next button" to the right */
#myModal .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

#myModal .prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}


@media (hover: hover) {
	/* On hover, add a black background color with a little bit see-through */
	#myModal .prev:hover,
	#myModal .next:hover {
	  color: black;
	  background: white;
	  text-shadow: none;
	}
}

.animate-flash{
  animation-name: flash;
  animation-duration: 0.5s;
  animation-iteration-count: 1;
}

@keyframes flash {
  0% {
    background: white;
    color: black;
  }
  33% {
    background: transparent;
    color: white;
  }
  66% {
    background: white;
    color: black;
  }
  100% {
    background: transparent;
    color: white;
  }
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#myModal a:active, #myModal a:hover {
    outline-width: 0;
	text-decoration:none; 
	color: white;
}

#loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

