@import url('demo.css');

/* Gamma Gallery Style */

.gamma-container {
	min-height: 200px;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.gamma-gallery {
	list-style-type: none;
	padding: 0px;
	margin: 0;
	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;
	position: relative;
	cursor: pointer;
	float: left;
	padding: 4px;
}

.gamma-gallery li img {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	padding-bottom: 10px;  
}

.gamma-description {
	position: absolute;
	top: 5px;
	left: 10px;
	bottom: 10px;
	right: 10px;
	text-align: center;
			vertical-align: top;
}

.no-touch .gamma-gallery li:hover .gamma-description {

}
 
.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: 30px;
	z-index: 10001;
}

.gamma-buttons button {
	float: left;
	background: #999999;
	color: #fff;
	display: block;
	width: 50px;
	height: 50px;
	font-size: 20px;
	font-weight: 900;
	margin-left: 5px;
	cursor: pointer;
	border: none;
	outline: none;
}

.gamma-buttons button:before,
.gamma-nav span:before {
	font-style: normal;
	speak: none;
	display: block;
	text-align: center;
	outline: none;
}

.no-touch .gamma-buttons button:hover {
	background: #a6a6a6;
}

button.gamma-btn-close:before {
	content: '\2715';
}

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

button.gamma-btn-sspause:before {
	font-weight: 900;
	font-size: 30px;
	letter-spacing: 1px;
	content: '\2759 \2759'; 
}

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

.gamma-overlay {
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 9999;
}

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

.gamma-description-wrapper {

	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 10;
	padding: 5px 0;
}

.gamma-single-view .gamma-description {
	background: transparent;
	position: relative;
	bottom: auto;
	left: auto;
	right: auto;
	top: auto;
}

.gamma-single-view .gamma-description h3 {
	color: #fff;
}

.gamma-nav span {
	position: absolute;
	display: block;
	width: 20px;
	height: 38px;
	top: 50%;
	margin-top: -19px;
	left: 20px;
	cursor: pointer;
	text-align: center;

}

.gamma-nav span.gamma-next {
	left: auto;
	right: 30px;
}

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

.gamma-nav span:hover:before {
}

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

.gamma-nav span.gamma-prev:before {
	margin-left: -10px;
	font-size: 65px;
	content: '\25c2';
	color: gray;
}

.gamma-nav span.gamma-next:before {
	font-size: 65px;
	content: '\25b8';
	color: gray;
}

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

/* Loaders */

.gamma-loading {
	background: url('../gallery_2015/loader_light.gif') no-repeat center;
}

.gamma-single-view.gamma-loading {
	background: url('../gallery_2015/loader_dark.gif') no-repeat 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;
	}

}
