html, body {
	min-height: 100%;
	width: 100%;
	position: relative;

	background: #1e2b3b;
}


.Gallery {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;

	background: rgba(0,0,0,.5);
	z-index: 50;
}

.Gallery[data-visible="0"] {
	display: none;
}

.Gallery > .container {
	width: 900px;
	margin: 50px auto 0 auto;
}

.Gallery > .container > .inner {
	width: 100%;
	min-height: 100%;
	margin: 0 auto;

	background: #1a2634;
}

.Gallery > .container > .inner > h1 {
	margin: 0;
	float: left;
	padding: 10px 0 0 25px;
	font-size: 24px;
	font-family: Tahoma,sans-serif;
	font-weight: normal;
	color: #ffffff;
}

.Gallery > .container > .inner > .close {
	float: right;
	margin: 5px 10px 0 0;

	font-size: 12px;
	font-family: Tahoma, sans-serif;
	color: #ffffff;
}

.Gallery > .container > .inner > .close:hover {
	cursor: pointer;
	border-bottom: 1px dashed #ffffff;
}

.Gallery > .container > .inner > .navigation {
	float: left;
	width: 200px;
	margin: 0;
	padding: 10px 0 0 25px;
}

.Gallery > .container > .inner > .navigation > span {
	font-size: 16px;
	font-family: Tahoma, sans-serif;
	color: #83baf8;
}

.Gallery > .container > .inner > .navigation ul  {
	margin: 0;
	padding: 0 0 10px 0;

	list-style: none;
}

.Gallery > .container > .inner > .navigation ul li { 
	padding-bottom: 1px;
}

.Gallery > .container > .inner > .navigation ul li span { 
	padding: 2px 5px;

	color: #ffffff;
	font-size: 12px;
	font-family: Tahoma, sans-serif;
}

.Gallery > .container > .inner > .navigation ul li span:hover {
	cursor: pointer;
	border-bottom: 1px dashed #ffffff;
}

.Gallery > .container > .inner > .navigation ul li[data-selected="selected"] span {
	padding: 2px 5px;
	color: #1A2634;
	background: #ffffff;
}

.Gallery > .container > .inner > .photos {
	width: 650px;
	height: 550px;
	float: left;
	overflow: auto;
}

.Gallery > .container > .inner > .photos > .photo { 
	width: 120px;
	height: 90px;
	float: left;
	margin: 10px;

	background: #666666;
	border: 1px solid #ffffff;
}

.Gallery > .container > .inner > .photos > .photo:hover {
	cursor: pointer;
	border: 1px solid #83BAF8;
} 

.Gallery > .container > .inner > .photos_empty {
	float: left;
	padding: 150px 0 0 150px;

	color: #ffffff;
	font-size: 12px;
	font-family: Tahoma, sans-serif;
	text-align: center;
}

.Gallery > .container > .inner > .photos_empty[data-visible="0"] {
	display: none;
}

.Gallery > .container > .inner > .moreButton {
	width: 80px;
	margin: 0 auto;
	padding: 10px 0 10px 0;
}

.Gallery > .container > .inner > .moreButton > p {
	margin: 0;
	padding: 0;

	font-size: 12px;
	font-family: Tahoma, sans-serif;
	color: #ffffff;
	text-align: center;
}

.Gallery > .container > .inner > .moreButton > p:hover {
	cursor: pointer;
	border-bottom: 1px dashed #ffffff;
}

.PhotoDetail {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;

	background: rgba(0,0,0,0.8);
	z-index: 51;
}

.PhotoDetail[data-visible="0"] {
	display: none;
}

.PhotoDetail > .container {
	margin: 0 auto;
	width: 50%;
	min-height: 100%;
	padding: 20px 0;
	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.PhotoDetail > .container > .inner {
	width: 100%;
	height: 100%;

	background: #233347;
}

.PhotoDetail > .container > .inner > .buttons {
	padding: 10px 0 15px 0;
	position: relative;
}

.PhotoDetail > .container > .inner > .buttons > .button[data-name="close"] {
	position:absolute;
	top: 5px;
	right: 10px;

	font-size: 12px;
	font-family: Tahoma, sans-serif;
	color: #ffffff;
}

.PhotoDetail > .container > .inner > .buttons > .button[data-name="close"]:hover {
	cursor: pointer;
	border-bottom: 1px dashed #ffffff;
}

.PhotoDetail > .container > .inner > .photo {
	height: 500px;

	background: #1a2634;
	background-repeat: no-repeat;
	background-position: center center;
}

.PhotoDetail > .container > .inner > .attributes > .left {
	width: 60%;
	padding: 10px;
	float: left;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.PhotoDetail > .container > .inner > .attributes > .right {
	width: 40%;
	padding: 10px;
	float: left;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.PhotoDetail > .container > .inner > .photo[data-hasBig] {
  cursor: pointer;
}

.PhotoDetail .attributes table {
  border-collapse: collapse;
  width: 100%;
}

.PhotoDetail .attributes table tr:nth-child(odd) {
  background: #1a2634;
}

.PhotoDetail .attributes table td {
  padding: 2px 6px;

  font-size: 12px;
  font-family: Tahoma, sans-serif;
}

.PhotoDetail .attributes table td.name {
  color: #83BAF8;
  font-weight: bold;
}

.PhotoDetail .attributes table td.value {
  color: #ffffff;
}

.PhotoDetail .attributes table td.value a {
  color: #83BAF8;
  text-decoration: none;
}

.PhotoDetail .attributes table td.value a:hover {
  text-decoration: underline;
}

.PhotoDetail > .arrow[data-direction="left"] {
	left: 0;
}

.PhotoDetail > .arrow[data-direction="right"] {
	right: 0;
}

.PhotoDetail > .arrow {
	width: 25%;
	height: 100%;
	position: fixed;
	top: 0;
	padding-top: 20%;
	color: #727272;
	font-size: 72px;
	text-align: center;
	cursor: pointer;
}

.PhotoDetail > .arrow:hover {
	color: #ffffff;
}

/* big photo */

.BigPhoto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 55;

  text-align: center;
  background: rgba(0,0,0,.8);
  cursor: pointer;
}

.BigPhoto > img {
  max-width: 100%;
  max-height: 100%;
}

.BigPhoto[data-visible="0"] {
	display: none;
}

._clearfix {
	clear: both;
}

._clearfix::before, ._clearfix::after {
	content: "";
	display: table;
}

._clearfix::after {
	clear: both;
}