@charset "utf-8";

/* SHARP GALLERY */
.sharp-gallery {
	width: 100%;
	min-width: 250px;
	font-family: Arial, sans-serif;
	line-height: 1.2;
	position: relative;
	display: none;
	box-sizing: border-box;
}
.sharp-gallery.sg-page-font {
	font-family: inherit;
}
.sharp-gallery.sg-has-wbg {
	padding: 12px 0 7px;
}

/* Chrome autoscroll jump fix */
.sg-scrollfix {
	position: absolute;
	width: 1px;
	height: 100%;
	visibility: hidden;
}

/* Wide background */
.sg-widebg {
	background-color: #252525;
	position: absolute;
	height: 100%;
	margin-top: -12px;
}

/* HEAD */
.sg-head {
	margin-bottom: 7px;
	position: relative;
}
.sg-title {
	color: #000000;
	font-size: 27px;
	margin-bottom: 2px;
}
.sg-white-text .sg-title {
	color: #ffffff;
}
.sg-subtitle {
	color: #707070;
	font-size: 17px;
	margin-bottom: 5px;
}
.sg-white-text .sg-subtitle {
	color: #f5f5f5;
}
.sg-tag {
	font-size: 12px;
	color: #ffffff;
	background-color: #f23d3d;
	border-radius: 3px;
	padding: 3px 5px;
	display: inline-block;
}

/* BODY */
.sg-body {
	position: relative;
}
.sg-body.sg-has-wbg {
	padding: 4px 0;
}
.sg-body.sg-big-space.sg-has-wbg {
	padding: 5px 0;
}

/* Body wide background */
.sg-body-widebg {
	background-color: #252525;
	position: absolute;
	height: 100%;
	margin-top: -4px;
}
.sg-big-space .sg-body-widebg {
	margin-top: -5px;
}

/* THUMB */
.sg-thumb {
	background-color: #252525;
	margin-right: 3px;
	margin-bottom: 3px;
	float: left;
	position: relative;
	cursor: pointer;
	z-index: 100;
	box-sizing: content-box;
}
.sg-thumb:hover {
	z-index: 101;
}
.sg-under .sg-thumb {
	margin-top: 3px;
	margin-bottom: 0;
}
.sg-big-space .sg-thumb {
	margin-right: 5px;
	margin-bottom: 5px;
}
.sg-under.sg-big-space .sg-thumb {
	margin-top: 5px;
	margin-bottom: 0;
}

.sg-borders .sg-thumb {
	border: 1px solid #252525;
}
.sg-big-borders .sg-thumb {
	border: 2px solid #252525;
}

.sg-thumb.sg-lastcol {
	margin-right: 0;
}
.sg-body .sg-thumb.sg-firstrow {
	margin-top: 0;
}
.sg-thumb.sg-lastrow {
	margin-bottom: 0;
}

/* View */
.sg-view {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

/* Thumb image */
img.sg-fit {
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	display: block;
}
img.sg-fillw {
	width: 100%;
}
img.sg-fillh {
	height: 100%;
}
img.sg-stretch {
	width: 100%;
	height: 100%;
}

/* Thumb label */
.sg-label {
	font-size: 13px;
	color: #fafafa;
	width: 100%;
	padding: 10px 5px 5px;
	opacity: 0.9;
	position: absolute;
	left: 0;
	bottom: 0;
	box-sizing: border-box;

	/* Gradient background */
	background: rgba(0,0,0,0);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.8)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}
.sg-plain-label .sg-label {
	background: rgba(0, 0, 0, 0.5);
	padding: 5px;
}
.sg-labels-disabled .sg-label {
	display: none;
}

/* Border */
.sg-border {
	position: absolute;
	top: -1px;
	left: -1px;
	border-width: 4px;
	border-style: solid;
	border-color: #f20000;
	box-sizing: border-box;
}
.sg-small-border .sg-border {
	border-width: 3px;
}
.sg-rounded-border .sg-border {
	border-radius: 3px;
}
.sg-big-space .sg-border {
	top: -2px;
	left: -2px;
}
.sg-border.sg-line {
	left: 0;
	border-left-style: none;
	border-right-style: none;
	border-bottom-style: none;
}
.sg-under .sg-border.sg-line {
	top: 1px;
	border-top-style: none;
	border-bottom-style: solid;
}
.sg-under.sg-big-space .sg-border.sg-line {
	top: 2px;
}

.sg-borders .sg-border {
	left: -2px;
	top: -2px;
}
.sg-borders.sg-big-space .sg-border {
	left: -3px;
	top: -3px;
}
.sg-borders .sg-border.sg-line {
	left: -1px;
}
.sg-borders.sg-under .sg-border.sg-line {
	top: 0;
}
.sg-borders.sg-under.sg-big-space .sg-border.sg-line {
	top: 1px;
}

.sg-big-borders .sg-border {
	left: -3px;
	top: -3px;
}
.sg-big-borders.sg-big-space .sg-border {
	left: -4px;
	top: -4px;
}
.sg-big-borders .sg-border.sg-line {
	left: -2px;
}
.sg-big-borders.sg-under .sg-border.sg-line {
	top: -1px;
}
.sg-big-borders.sg-under.sg-big-space .sg-border.sg-line {
	top: 0;
}

/* Border arrow */
.sg-up, .sg-down {
	width: 14px;
	height: 10px;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	left: 50%;
	margin-left: -7px;
	display: none;
}
.sg-up {
	background-image: url("img/up.png");
	top: -14px;
}
.sg-small-border .sg-up {
	top: -12px;
}
.sg-down {
	background-image: url("img/down.png");
	top: 100%;
	margin-top: 4px;
}
.sg-small-border .sg-down {
	margin-top: 2px;
}

/* STAGE */
.sg-stage {
	width: 100%;
	height: 0;
	background-color: #252525;
	margin-bottom: 3px;
	float: left;
	display: none;
	position: relative;
	box-sizing: border-box;
}
.sg-under .sg-stage {
	margin-top: 3px;
	margin-bottom: 0;
}
.sg-big-space .sg-stage {
	margin-bottom: 5px;
}
.sg-under.sg-big-space .sg-stage {
	margin-top: 5px;
	margin-bottom: 0;
}

.sg-borders .sg-stage {
	border: 1px solid #252525;
}
.sg-big-borders .sg-stage {
	border: 2px solid #252525;
}

/* Container */
.sg-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

/* Stage wide background */
.sg-stage-widebg {
	background-color: #252525;
	position: absolute;
	height: 100%;
}

/* Image */
.sg-image {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.sg-image img {
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	display: block;

	/* Blurry image fix for Chrome */
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
}

/* Image text */
.sg-text {
	width: 100%;
	padding: 30px 12px 12px;
	opacity: 1;
	position: absolute;
	left: 0;
	bottom: 0;
	box-sizing: border-box;

	/* Gradient background */
	background: rgba(0,0,0,0);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.8)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}
.sg-plain-text .sg-text {
	background: rgba(0, 0, 0, 0.5);
	padding: 12px;
}

.sg-name {
	color: #ffffff;
	font-size: 18px;
	margin-bottom: 3px;
}
.sg-desc {
	color: #fafafa;
	font-size: 15px;
	margin-bottom: 5px;
}
.sg-info {
	color: #c0c0c0;
	font-size: 13px;
}

/* Controls */
.sg-controls {}

/* Arrows */
.sg-prev, .sg-next {
	width: 31px;
	height: 38px;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 50%;
	margin-top: -16px;
	cursor: pointer;
}
.sg-prev {
	background-image: url("img/prev.png");
	left: 5px;
}
.sg-next {
	background-image: url("img/next.png");
	right: 5px;
}

/* Close button */
.sg-close {
	width: 24px;
	height: 24px;
	background: url("img/close.png") no-repeat center;
	position: absolute;
	top: 5px;
	right: 5px;
	cursor: pointer;
}

/* DATA */
.sg-data {
	display: none;
}

/* GLOBAL */
.sg-clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.sg-show {
	display: block;
}
.sg-loading {
	background-image: url("img/preloader.gif");
	background-repeat: no-repeat;
	background-position: center;
}

/* Author links */
.sg-tag a, .sg-info a {
	color: inherit;
	text-decoration: none;
}
.sg-tag a:hover, .sg-info a:hover {
	text-decoration: underline;
}

/* BACKWARD COMPATIBILITY */
.sharp-gallery.sg-right-align {
	text-align: right;
}

.sharp-gallery.sg-big-border {
	border: 1px solid #c0c0c0;
	padding: 5px;
}
.sg-big-border .sg-head {
	padding: 4px 3px 3px;
	margin-bottom: 5px;
}

.sharp-gallery.sg-white-bg {
	border: 1px solid #dadada;
	background-color: #fafafa;
	padding: 7px;
}
.sharp-gallery.sg-grey-bg {
	border: 1px solid #c0c0c0;
	background-color: #f7f7f7;
	padding: 7px;
}
.sharp-gallery.sg-black-bg {
	background-color: #2a2a2a;
	padding: 7px;
}
.sg-white-bg .sg-head,
.sg-grey-bg .sg-head,
.sg-black-bg .sg-head {
	padding: 7px 5px 4px;
}

.sg-head.sg-white-bg {
	background-color: #f7f7f7;
	border: 1px solid #e0e0e0;
	padding: 10px;
	margin-bottom: 5px;
}
.sg-head.sg-black-bg {
	background-color: #303030;
	padding: 10px;
	margin-bottom: 5px;
}

.sg-white .sg-title {
	color: #ffffff;
}
.sg-white .sg-subtitle {
	color: #f5f5f5;
}

.sg-grey-borders .sg-thumb {
	border: 1px solid #707070;
}
.sg-grey-borders .sg-border {
	left: -2px;
	top: -2px;
}
.sg-grey-borders.sg-big-space .sg-border {
	left: -3px;
	top: -3px;
}
.sg-grey-borders .sg-border.sg-line {
	left: -1px;
}
.sg-grey-borders.sg-under .sg-border.sg-line {
	top: 0;
}
.sg-grey-borders.sg-under.sg-big-space .sg-border.sg-line {
	top: 1px;
}
.sg-grey-borders .sg-stage {
	border: 1px solid #707070;
}

.sg-grey-bgs .sg-thumb {
	background-color: #f3f3f3;
	border: 1px solid #d8d8d8;
}
.sg-grey-bgs .sg-stage {
	background-color: #f3f3f3;
	border: 1px solid #d8d8d8;
}

.sg-slim-border .sg-border {
	border-width: 3px;
}
.sg-slim-border .sg-up {
	top: -12px;
}
.sg-slim-border .sg-down {
	margin-top: 2px;
}

/* MOBILE SCREEN */
@media only screen and (max-width: 480px) {
	/* Head */
	.sg-title {
		font-size: 22px;
	}
	.sg-subtitle {
		font-size: 14px;
	}
	.sg-tag {
		font-size: 11px;
	}

	/* Thumb label */
	.sg-label {
		font-size: 12px;
	}

	/* Image text */
	.sg-text {
		padding: 20px 10px 10px;
	}
	.sg-name {
		font-size: 14px;
	}
	.sg-desc {
		font-size: 12px;
		margin-bottom: 0;
	}
	.sg-info {
		font-size: 11px;
	}
}