body {
    padding: 0px;
    margin: 0;
    background: #e3e3e3;
    font-family: Georgia;
	overflow-y: scroll;
	overflow-x: hidden;
}
a {
	text-decoration: none;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.wrap {
	max-width: 900px;
	margin: 0 auto;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.header {
    background: #86C6C3;
    padding: 20px 20px;
    color: #fff;
    text-align: center;
    font-size: 20px;
}
.header a {
	color: #fff;
}
.nav {
    text-align: center;
    background: #C3E4E2;
    padding: 20px 10px;
    color: rgba(0, 0, 0, 0.3);
}
.nav a:hover {
	text-decoration: underline;
}
.nav .selected {
	font-weight: bold;
}
.nav .selected, .nav a {
	margin: 0 5px;
	color: rgba(0, 0, 0, 0.6);
}
.content {
	text-align: center;
	background: #fff;
	padding: 20px;
	border-radius: 0 0 5px 5px;
}
.content.about {
	text-align: center;
	color: rgba(0, 0, 0, 0.9);
}
.content.about a {
	color: rgba(0, 0, 0, 0.7)
}
.footer {
	padding: 15px 0;
	text-align: center;
	color: rgba(0, 0, 0, 0.6);
}
.text {
	line-height: 150%;
}
.social {
	padding: 18px 0;
	margin: 18px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.social a {
	width: 32px;
	height: 32px;
	display: inline-block;
	background-image: url(foxlike_icons.png);
	margin-right: 5px;
}

.social a.twitter {
	background-position: 0 0;
}
.social a.twitter:hover {
	background-position: -32px 0;
}
.social a.vk {
	background-position: -64px 0;
}
.social a.vk:hover {
	background-position: -96px 0;
}
.social a.instagram {
	background-position: -128px 0;
}
.social a.instagram:hover {
	background-position: -160px 0;
}
.social a.da {
	background-position: -192px 0;
}
.social a.da:hover {
	background-position: -224px 0;
}
.closed {
	color: #990300;
}
.opened {
	color: #209900;
}

.gallery_text {
	margin-bottom: 10px;
	text-align: center;
	color: rgba(0, 0, 0, 0.9);
}

.gallery_pic {
	width: 200px;
	height: 200px;
	float: left;
	margin: 7px;
	overflow: hidden;
	background-color: #f6f6f6;
	cursor: pointer;
}
.gallery_pic img {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}
.gallery_pic img.visible {
	opacity: 1;
}

.overlay {
	background: rgba(0, 0, 0, 0.85);
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}
.overlay_photo {
	position: absolute;
	display: inline-block;
	margin: 0 auto;
	top: 50%;
	left: 50%;
	/*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);*/
	cursor: pointer;
}
.overlay_image {
	float: left;
	
}
.overlay_close {
	position: absolute;
	right: 0;
	top: 0;
	color: #fff;
	opacity: 0.3;
	cursor: pointer;
	width: 64px;
	height: 64px;
	background: url(close.png) center center no-repeat;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}
.overlay_close:hover {
	opacity: 1;
}

hr {
	border: none;
    height: 1px;
    background: #ccc;
}
.overlay_arrow {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.5;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
	cursor: pointer;
}
.overlay_arrow:hover {
	opacity: 1;
}
.overlay_arrow.left {
	left: -40px;
	background-image: url(arrow-left.png);
}
.overlay_arrow.right {
	right: -40px;
	background-image: url(arrow-right.png);
}
.overlay_title {
	position: absolute;
	top: -25px;
	left: 0;
	color: #fff;
	opacity: 0.4;
	font-size: 13px;
}
.overlay_about {
	position: absolute;
	font-size: 15px;
	opacity: 0.7;
	color: #fff;
	width: 100%;
	text-align: center;
}
.overlay_about_text {
	padding: 0 20px;
}