/* Gamma Gallery Style */

.gamma-container {
	min-height: 200px;
}

.gamma-gallery {
	list-style-type: none;
	padding: 0;
	margin: 40px 0 50px 0;
	width: 100%;
	position: relative;
}

/* http://nicolasgallagher.com/micro-clearfix-hack/ */
.gamma-gallery:before,
.gamma-gallery:after {
    content: " ";
    display: table;
}

.gamma-gallery:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
.gamma-gallery {
    *zoom: 1;
}
 */

.gamma-gallery li {
	display: block;
	cursor: pointer;
	padding: 8px;
	/*float: left !important;
	position: relative !important;
	left: inherit !important;
	top: inherit !important;*/
}

.gamma-gallery li img {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	-webkit-filter: grayscale(80%);
	filter: grayscale(80%);
	-webkit-transition: all 0.1s ease-in;
  	-moz-transition: all 0.1s ease-in;
  	-o-transition: all 0.1s ease-in;
  	transition: all 0.1s ease-in;
}

	.no-touch .gamma-gallery li:hover img {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
	}

.gamma-description {
	display: none;
	background: #fff;
	background: rgba(255, 255, 255, 0.6);
	position: absolute;
	top: 20px;
	left: 20px;
	bottom: 20px;
	right: 20px;
	text-align: center;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.4s ease-in-out;
	-moz-transition: opacity 0.4s ease-in-out;
	-ms-transition: opacity 0.4s ease-in-out;
	-o-transition: opacity 0.4s ease-in-out;
	transition: opacity 0.4s ease-in-out;
}

.no-touch .gamma-gallery li:hover .gamma-description {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: 1;
}
 
.gamma-description:before {
	content: '';
	height: 100%;
}

.gamma-description:before,
.gamma-description h3 {
	display: inline-block;
	vertical-align: middle;
}

.gamma-description h3 {
	width: 100%;
	padding: 0 20px;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 2px;
}

.gamma-buttons {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10001;
}

.gamma-buttons button {
	float: left;
	display: block;
	width: 30px;
	height: 30px;
	background-color: transparent;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	border: none;
	outline: none;
	opacity: 0.5;
}

	.gamma-buttons:hover button {
		opacity: 1;
	}

	@media (min-width: 1024px) {
		.gamma-buttons {
			top: 15px;
			right: 15px;
		}
		.gamma-buttons button {
			width: 40px;
			height: 40px;
		}
	}

/*.gamma-buttons button:before,
.gamma-nav span:before {
	font-family: 'entypo-selected';
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: block;
	text-align: center;
	opacity: 0.7;
	outline: none;
}*/

/* Ocultamos el botón Play */
button.gamma-btn-ssplay {
	display: none;
}

.no-touch .gamma-buttons button:hover {
}

button.gamma-btn-close {
	background-image: url("img/close-button.svg");
}

button.gamma-btn-close:before {
}

button.gamma-btn-ssplay:before {
	content: '\25b6';
}

button.gamma-btn-sspause:before {
	content: '\2389';
}

.gamma-single-view {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
	z-index: 10000;
	text-align: center;
	display:none;
}

.gamma-overlay {
	background: rgba(255,255,255,1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	display: none;
	z-index: 9999;
}

.gamma-single-view img {
	position: absolute;
	cursor: pointer;
}

.gamma-description-wrapper {
	position: absolute;
	top: 0;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 10;
	padding: 0;
}

.gamma-single-view .gamma-description {
	display: inline-block;
	background: transparent;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: auto;
}

.gamma-single-view .gamma-description h3 {
	font-size: 15px;
	padding: 5px 0 20px;
	color: #1a171b;
}

.gamma-nav span {
	position: absolute;
	z-index: 99;
	display: block;
	opacity: 0.7;
	background-color: #f0f0f0;
	border: 1px solid #f0f0f0;
	width: 45px;
	padding: 25px 0;
	background-size: 25px;
	background-position: center;
	background-repeat: no-repeat;
	top: 50%;
	margin-top: -25px;
	left: 0;
	cursor: pointer;
	text-align: center;
	background-image: url('img/arrow-prev.svg');
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

	@media (min-width: 600px) {
	    .gamma-nav span {
	      width: 80px;
	      margin-top: -40px;
	      padding: 40px 0;
	      background-size: 36px;
	    }
	  }

	  @media (min-width: 1024px) {
	    .gamma-nav span {
	      width: 100px;
	      margin-top: -45px;
	      padding: 45px 0;
	      background-size: 40px;
	    }
	  }

.gamma-nav span.gamma-next {
	background-image: url('img/arrow-next.svg');
	left: auto;
	right: 0;
}

.gamma-nav span:before {
	color: #fff;
	opacity: 0.7;
	font-size: 40px;
}

.gamma-nav span:hover:before {
	opacity: 1;
}

.gamma-nav span:hover {
	opacity: 1;
	background-color: #ffffff;
	border-color: #ccc;
}

.gamma-nav span:before {
	display: block;
	margin: 0;
	width: auto;
}

.gamma-nav span.gamma-prev {
	
}

.gamma-nav span.gamma-prev:before {
	
}

.gamma-nav span.gamma-next:before {
}

.gamma-img-fly {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

/* Loaders */

.gamma-loading {
	background: transparent url("img/loader_light.gif") no-repeat center center;
}

.gamma-single-view.gamma-loading {
	background: transparent url("img/loader_light.gif") no-repeat center center;
}


/* Make some things unselectable. Remove where selection is needed: */

.gamma-container img,
.gamma-nav span,
.gamma-buttons button,
.gamma-description-wrapper,
.gamma-description,
.gamma-description h3 {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@media screen and (max-width: 750px) {

	.gamma-description {
		top: 10px;
		left: 10px;
		bottom: 10px;
		right: 10px;
	}

	.gamma-description h3 {
		font-size: 14px;
		padding: 0 5px;
	}

}

@media screen and (max-width: 500px) {

	.gamma-buttons {
		float: left;
		clear: both;
	}

}
