body {
	background: #000;
	color: #fff;
	font-family: 'BenchNine', sans-serif;
	width: 672px;
	margin: 0 auto;
	padding: 72px 0 0 0;
	font-size: 18px;
	font-weight: 300;
}

@media all and (min-width: 1056px) {
	body {
		width: 1024px;
	}

	div.thumb:nth-child(3n+1){
		clear:both;
	}
}

@media all and (max-width: 1055px) {
	div.thumb:nth-child(2n+1){
		clear:both;
	}
}

h1 {
	margin: 0 0 32px 0;
	border-bottom: 1px solid #222;
	font-size: 260%;
	font-weight: 300;
}

h2 {
	font-size: 180%;
	margin: 64px 0 32px 0;
	font-weight: 300;
}

div#foot {
	padding: 32px 0 32px 0;
	clear: both;
}

div.thumb {
	width: 320px;
	float: left;
	margin: 0 0 32px 32px;
	xopacity: 0.9;
	min-height: 208px;
}

div.thumb:hover {
	background-color: #222;
	xopacity: 1;
}

div.thumb img {
	display: block;
	width: 320px;
	height: 180px;
}

div.thumbs {
	margin-left:-32px;
}


div.description {
	padding: 2px 0 2px 4px;
}

div.gallery-summary {
	margin-bottom: 64px;
}


a {
	color: #fff;
	xtext-decoration: none;
	font-weight: 300;
}

div.thumb a, h1 a, h2 a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}


div.whitebox-container {
	display: none;
	background: rgba(0,0,0,0.8);
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	cursor: pointer;
}

div.whitebox-description {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	text-align: left;
	background-color: rgba(0,0,0,0.5);
}

img.whitebox-img {
	position: absolute;
	bottom: 0;
    left: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    right: 0;
    top: 0;
}

input.scroll {
	background-color: transparent;
	border: 0;
	opacity: 0.4;
	width: 64px;
	height: 64px;
	cursor: pointer;
	position: absolute;
	outline: none;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
}

input.scroll::-moz-focus-inner {
  border: 0;
}


input.scroll:hover {
	opacity: 1;
}

input.scrollLeft {
	background-image: url('/templates/szfoto/scroll-left.png');
	top: 50%;
	left: 0;
	margin-top: -32px;
	z-index: 180;
}

input.scrollRight {
	background-image: url('/templates/szfoto/scroll-right.png');
	top: 50%;
	right: 0;
	margin-top: -32px;
	z-index: 180;
}