﻿body
{
	font-family:Calibri;
	font-size:1.2em;
	background-color: #aaa;
	min-width:1000px;
	min-height:500px;
	width:80%;
	margin-left:auto;
	margin-right:auto;
}
header
{
	display:-moz-box; /* Firefox */
	display:-webkit-box; /* Safari and Chrome */
	display:-ms-flexbox; /* Internet Explorer 10 */
	display:box;
	justify-content:space-between;
	flex-direction:row;
	background-image:url("../img/image5.jpg");
	background-size:cover;
	height:250px;
	width:100%	;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	box-shadow:0px 0px 5px black;
}
h1,h2,h3,h4
{
	color:#366;
}
a:hover
{
	text-decoration:underline;
}
#logo
{
	height:100%;
	display:block;
	color:#fff;
	vertical-align:bottom;
	width:300px;
	margin-right:200px;
	margin-left:2em;
}
#pic
{
	height:100%;
	width:100%;	
	background:url("/img/logo.png") center center / 300px 180px no-repeat;
}
#logo > h4
{
	padding:0px;
	margin:0px;
	text-align:center;
	color:#DFF;
	font-family:'Helvetica';
	font-size:90%;
}
.infoblock
{
	-moz-box-flex:1.0; /* Firefox */
	-webkit-box-flex:1.0; /* Safari and Chrome */
	-ms-flex:1.0; /* Internet Explorer 10 */
	box-flex:1.0;
	padding-top:1em;
}

.head_spacer
{
	-moz-box-flex:5.0; /* Firefox */
	-webkit-box-flex:5.0; /* Safari and Chrome */
	-ms-flex:5.0; /* Internet Explorer 10 */
	box-flex:5.0;
}
nav
{
	height:50px;
	background:linear-gradient(#FFF,#DDD);
	box-shadow:0px 0px 5px black;
	margin:0px;
	padding:0px;
}


nav > a
{	
	display:inline-block;
	height:50%;
	padding:12px;
	overflow:none;
	color:#466;
	border-right:1px solid #BBB;
	font-weight:bold;
	font-style:oblique;
}
nav > a:hover
{
	text-decoration:underline;
	background:rgba(100,100,100,0.1);
}
nav > a:last-child
{
	color:#f58a38;
	float:right;
	border-left:1px solid #BBB;
}
img.icon
{
	vertical-align:middle;
	height:20px;
	padding-right:4px;
	margin:0px;
}
img.icon_large{
	vertical-align:middle;
	height:5em;
	padding:0.5em;
}
.contacts
{
	display:block;
	vertical-align:top;
	color:rgba(255,255,255,.9);
	font-family:"Verdana";
	padding:1em;
	padding-left:1em;
	font-weight:bold;
	font-size:1em;
	text-shadow:0px 0px 10px #000;
	background-color:rgba(0,0,0,0.5);
	border-radius:0.5em;
	margin-bottom:0.5em;
	margin-left:1em;
	margin-right:1em;
	width:15em;
	box-shadow:0px 0px 2px #FFF;
	text-align:right;
}

.contacts:hover{
	background-color:rgba(155,155,155,0.6);
}
hr
{
	color:#aaa;
	border-width:1px;
	border-style:solid;
}
#content
{
	min-height:400px;
	background-color:#fff;
	padding-top:20px;
	padding-left:5%;
	padding-right:5%;
	padding-bottom:30px;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	box-shadow:0px 0px 5px black;
}

.content_left
{
	width:35%;
	height:100%;
}
.content_left > img
{
	max-width:100%;
}
.content_right
{	
	-moz-box-flex:1.0; /* Firefox */
	-webkit-box-flex:1.0; /* Safari and Chrome */
	-ms-flex:1.0; /* Internet Explorer 10 */
	box-flex:1.0;
	padding-left:20px;
}
.flexbox
{

	display:-moz-box; 
	display:-webkit-box;
	display:-ms-flexbox;
	display:box;
	width:100%;
}
footer
{
	width:100%;
	height:80px;
	color:#333;
	text-align:center;
	padding-top:50px;
	display:box;
}

a
{
	text-decoration:none;
}
img
{
	border:none;
}
p::first-letter
{
	font-size:110%;
	font-weight:bold;
}
p
{
	margin:5px;
}
.email
{
	color:#006666;
	font-weight:bold;
}
table
{
	margin-left:auto;
	margin-right:auto;
}
td
{
	border:1px dotted #CCC;
	line-height:150%;
	padding-left:20px;
}
th
{
	background-color:#ccc;
}
.t_footer
{
	color:#555;
	font-size:80%;
	text-align:left;
}
#overlay
{
	 position:absolute;
	 z-index:1;
	 left:0px;
	 top:0px;
	 background:rgba(0,0,0,0.5);
	 height:100%;
	 width:100%;
	 display:none;
}
#request_form
{
	margin-left:auto;
	margin-right:auto;
	margin-top:100px;
	padding-bottom:20px;
	border-radius:10px;
	background-color:#ccc;
	width:350px;
}
#request_form > *
{
	margin-left:15px;
}
#request_form > input
{
	font-weight:bold;
	width:90%;
}
#request_form > label.inline
{
	width:90%;
}
#request_form > textarea
{
	display:block;
	width:100%;
	min-height:150px;
	width:90%;
	resize: none;
}
#request_form > input[type="submit"]
{
	height:30px;
	width:90%;
}
#frmHead 
{
	margin:0px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	background:linear-gradient(#999,#666);	
}
#frmHead > *
{
	font-weight:bold;
	display:inline-block;
	padding:5px;
	margin:0px;
}
#frmHead > img
{
	vertical-align:bottom;
}
span.inline
{
	font-weight:bold;
	-moz-box-flex:1.0; /* Firefox */
	-webkit-box-flex:1.0; /* Safari and Chrome */
	-ms-flex:1.0; /* Internet Explorer 10 */
	box-flex:1.0;
	vertical-align:top;
}
address.inline
{
	text-align:right;
	-moz-box-flex:1.0; /* Firefox */
	-webkit-box-flex:1.0; /* Safari and Chrome */
	-ms-flex:1.0; /* Internet Explorer 10 */
	box-flex:1.0;
	padding:5px;
}
.partner
{
	vertical-align:top;
	display:inline-block;
	text-align:center;
	padding:5px;
	margin:5px;
	font-size:80%;
	border-radius:5px;
}
#closeBtn
{
	height:30px;
	width:30px;
	padding:0px;
	margin:0px;
	border:0px;
	cursor:pointer;
	float:right;
}
.news div > strong
{
	color:#366;
	font-size:110%;
}
strong + .pub
{
	color:#999;
	font-family:Calibri;
	font-style:italic;
	float:right;
}
hr
{
	border:none;
	border-bottom:1px dotted #999;
}
.news
{
	display:flex;
	flex-wrap:wrap;
	width:100%;
}
.newsblock
{
	-webkit-box-flex:1;
	flex:1;
	margin:3em;
	text-align:center;
	min-width:16em;
	max-width:45%;
}
.newsblock_big
{
	width:90%;
	display:block;
	margin-left:5em;
	margin-right:5em;
	text-align:center;
	min-width:16em;
}
.newsblock > img{
	max-width:100%;
}
.newsthumb
{
	max-height:12em;
}

.newsblock > div
{
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}
.newsblock_big > div
{
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}
.paybutton
{
	display:inline-block;
	width:10em;
	padding:0.3em;
	border-radius:6px;
	font-weight:bold;
	box-shadow:0px 0px 3px #333;
	background-color:#DDC;
	margin:1em;
}
.paybutton:hover
{
	box-shadow:0px 0px 5px #222;
	background-color:#EED;
}