﻿*
{
	margin: 0;
	padding: 0;
}

html, body {
	font-family: 'Rubik', Arial, Helvetica, sans-serif;

	overflow: hidden;
	scrollbar-track-color: #fff;
	scrollbar-face-color: #aad7ff;
	background: #d3e2ea;

	width: 100%;
	overflow-y: hidden;
}

a {
	text-decoration: none;
	color: #8090A0;
	font-weight: bold
}

#gallery p br:after {
	content: ".";
	visibility: hidden;
	display: block
}

#loader {
	position: absolute;

	height: 200px;
	width: 200px;
	top: 80px;
	left: -2000px;
	text-align: center;
	color: #888;
	font-size: 115%
}

#image_selector {
}

#image_selector a {
	color: #708090;
	text-decoration: none
}

#image_selector li {
	list-style: none;
	float: left;
	text-align: center;
	font-size: 105%;

	margin: 0 8px 8px 8px
}

#image_selector img {
	width: 189px;
	height: 145px;

	border-radius: 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);

	opacity: 0.95
}

#image_selector img:hover {
	opacity: 0.80
}

#contact {
	margin: 0 25px;
}

.window {
	position: relative;
	margin: 24px auto 0;

	width: 652px;

	background: #fcfcfc;
	z-index: 101;

	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .4);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .4);
	-box-shadow: 0 0 10px rgba(0, 0, 0, .4);
	box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.window .content {
	text-align: justify;
	font-size: 13px;
	color: #555e6e;
	line-height: 18px;

	padding: 5px 18px;

	overflow: auto;
	overflow-x: hidden;
}

.window p {
	margin: 2px;
}

.window h2 {
	z-index: 102;
	font-smooth: always;
	font-size: 16px;
	letter-spacing: 0.08em;
	background: url(../img/main-shadow-t.png) center 30px repeat-x;
	height: 35px;
	padding: 6px 0 4px 0;
	color: #0c3c7e;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
}

#contact a {
	color: light-blue;
	text-decoration: none;
	border-color: light-blue;
	border-bottom: 1px solid;
}

#contact a:hover {
	border-bottom: 1px dashed;
}

.ui-loader
{
	display: none !important;
}

@media (max-width: 654px) {
	body, html
	{
		overflow-y: auto;
	}

	.window {
		margin: 10px auto 0;

		width: 98%;
		height: auto;
	}

	.window .content {
		padding-left: 4px;
		padding-right: 4px;
	}

	#image_selector li
	{
		margin-left: 0;
		width: 100%;
	}

	#image_selector img {
		width: 75%;
		height: auto;
	}
}

@media (max-width: 480px) {
	.window h2 {
		font-size: 13px;
	}
}

@media (max-height: 768px) {
	body, html
	{
		overflow-y: auto;
	}
}

