@font-face
{
	font-family: "open-sans";
	font-style: normal;
	font-weight: 400;
	src: url("img/opensans.woff") format("woff");
}

html
{
  overflow: -moz-scrollbars-vertical; 
  overflow-y: scroll;
}

body
{
	color: #000;
	background-color: #fff;
	padding: 0px;
	margin: 0px;
	font-family: open-sans, sans-serif;
	font-size: 15px;
}

#wrapper
{
	width: 900px;
	margin: 0px auto 0px auto;
}

#footer
{
	margin: 0;
	padding: 0;
	height: 48px;
}

hr
{
	clear: both;
	margin-top: 26px;
}

#content
{
	margin-top: 20px;
	line-height: 21px;
}

#slider
{
	margin: 32px 32px 0px 32px;
	width: 512px;
	height: 340px;
	float: left;
}

#sidepic
{
	margin: 64px 0 0 16px;
}

h1
{
  font-size: 20px;
  color: #485b85;
  margin-top: 32px;
}

h2
{
  font-size: 16px;
  margin-top: 32px;
}

.left
{
	float: left;
}
.right
{
	float: right;
}
.column
{
  float: left;
  width: 50%;
  margin-bottom: 20px;
}

a
{
	text-decoration: none;
	color: #000;
}
a:hover
{
	text-decoration: underline;
}
a img
{
	border-style: none;
}

nav ul
{
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}
nav ul li
{
	float: left;
}
nav ul a
{
	text-decoration: none;
	color: #000;
	padding: 0 14px;
}
nav ul a:hover
{
	text-decoration: underline;
}

nav ul ul
{
	display: none;
	position: absolute;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px 4px 4px 4px;
	background: #d3dce3;
	box-shadow: 3px 3px 15px #bbb;
	padding: 8px;
}
nav ul li:hover > ul 
{
	display: block;
}
nav ul ul li
{
	float: none;
}
nav span
{
	font-size: 12px;
	color: #485b85;
}

.gallery
{
	display: table;
	margin: 16px 16px 16px 16px;
}
.gallery div
{
	float: left;
	padding: 2px 2px 2px 2px;
	margin: 4px 4px 4px 4px;
	border: 1px solid #aaa;
}
.gallery a
{
	display: table-cell;
	width: 128px;
	height: 128px;
	text-align: center;
	vertical-align: middle;
}
.gallery img
{
	border-style: none;
	vertical-align: middle;
}
.gallery div:hover
{
	border: 1px solid #000;
}
.clear
{
	clear: both;
}

.section
{
	display: table;
//	margin: 16px 16px 16px 16px;
	margin: 0px auto 0px auto;
	width: 804px;
}
.section div
{
	float: left;
	padding: 2px 2px 2px 2px;
	margin: 6px 6px 6px 6px;
	border: 1px solid #aaa;
}
.section a
{
	display: table-cell;
//	width: 384px;
//	height: 128px;
	text-align: center;
	vertical-align: middle;
}
.section img
{
	border-style: none;
	vertical-align: middle;
}
.section div:hover
{
	border: 1px solid #000;
}

form
{
	float: left;
  margin-right: 32px;
}
fieldset
{
	margin: 1em 0;
	padding: 1em;
	border: 1px solid #ccc;
	border-radius: 4px 4px 4px 4px;
	background: #d3dce3;
	width: 320px;
	box-shadow: 3px 3px 15px #bbb;
}
legend
{
	font-weight: bold;
}
label
{
	width: 5em;
	margin-right: 1em;
	float: left;
}
label[for=name], label[for=name_si]
{
	width: 11em;
}
input
{
	width: 10em;
}
textarea
{
	width: 310px;
	height: 66px;
  resize: vertical;
}
input[type=file]
{
	width: 224px;
}
textarea, input[type=file], input[type=submit], input[type=button]
{
	font-family: inherit;
	font-size: inherit;
}
input[type=submit], input[type=button]
{
	width: 5em;
  font-weight: bolder;
}
input:not([type=file]):focus, textarea:focus
{
	box-shadow: 3px 3px 3px #555;
}
input[type=number]
{
	width: 76px;
	text-align: right;
	-moz-appearance: textfield;
}

table
{
	border-collapse: collapse;
	box-shadow: 3px 3px 15px #bbb;
}
table, th, td
{
	border: 1px solid #000;
}
caption
{
	font-size: 1.2em;
	font-weight: bold;
	margin: 1em 0;
}
thead
{
	background: #d3dce3;
}
th, td
{
	padding: 0.1em 1em;
}
td.num
{
	text-align: right;
}

.pagination
{
	margin-left: 16px;
	margin-bottom: 32px;
	display: block;
	text-align: left;
	height: 22px;
	line-height: 21px;
	clear: both;
	padding-top: 3px;
	font-size: 12px;
	font-weight: normal;
	cursor: default;
}

.pagination a
{
	padding: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	border: 1px solid #ebebeb;
	margin-left: 10px;
	text-decoration: none;
	background-color: #f5f5f5;
	width: 22px;
	font-weight: normal;
}

.pagination a:hover
{
	background-color: #ddeeff;
	border: 1px solid #bbddff;
}

.pagination img
{
	width: 8px;
	height: 8px;
}

.pagination .active
{
	padding: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	border: 1px solid #bbddff;
	margin-left: 10px;
	text-decoration: none;
	background-color: #ddeeff;
}

.pagination .disabled
{
	padding: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	border: 1px solid #ebebeb;
	margin-left: 10px;
	text-decoration: none;
	background-color: #f5f5f5;
}
