html, body, div, img, ul {margin:0; padding:0;}
body {background: #ffffff; font-family: Arial, sans serif; font-size: 90%; line-height: 1.2em}
img {border: 0}

ul {
	list-style: inside;
}

p {
	margin: 7px;
}

div#wrapper {
	margin: 10px auto;
	width: 850px;
}

div#header {
	background: #e0e7ed url('../img/template/building.png') 10px top no-repeat;
	height: 140px;
	color: #192f5a;
	padding: 3px 3px 0 80px;
}

div#header p{
	margin: 0;
}

div#header h1#higher {
	padding: 58px 0 0 0;
	margin: 0;
	font-size: 170%;
}

div#header a {
	text-decoration: none;
	color: #192f5a;
}

div#header a:hover {
	text-decoration: underline;
}

div#header p#lower {
	padding: 6px 10px 0 0;
	font-size: 100%;
}

ul#menu {
	left: -3px;
	width: 860px;
	margin: 6px 0;
	position: relative;
	overflow: hidden;
}

ul#menu a {
	color: #ffffff;
	text-decoration: none;
}

ul#menu a:hover {
	text-decoration: underline;
}

ul#menu a:hover li {
	text-decoration: underline;
}

ul#menu li {
	background-color: #192f5a;
	color: #ffffff;
	font-size: 110%;
	padding: 10px;
	margin: 0 3px;
	display: block;
	float: left;
	width: 259px;
	text-align: center;
}

ul#menu .education li {
	width: 260px;
}

div#body {
	background: #ffffff url('../img/template/background.png');
}

div#side {
	float: right;
	background-color: #192f5a;
	color: #ffffff;
	width: 283px;
	height: 100%;
	padding:0px 10px 0;
}

div#side a{
	color: #fff;
}
div#content {
	margin: 0 310px 0 0;
	background-color: #e0e7ed;
	width: 534px;
	padding: 3px;
	overflow: hidden;
}

*div#content {
	padding-bottom: 6px;
}

div#content div.cell {
	background-color: #ffffff;
	height: 172px;
	width: 172px;
	text-align: center;
	overflow: hidden;
	float: left;
	margin: 3px;
	cursor: pointer;
}

div#content div.cell img {
	vertical-align: top;
	height: 172px;
	width: 172px;
}

div#content div.cell p {
	font-size: 120%;
	color: #192f5a;
	text-decoration: none;
	padding: 0 5px;
}

.cells a{
    text-decoration: none;
}

div#content div#koza {
	background: url('../img/template/koza.png');
}

div#content div.text-wrapper {
	display: table-cell;
	height: 172px;
	width: 172px;
	position: relative;

	vertical-align: middle;
}

div#content div.text-wrapper p {
	margin-top: expression((parentNode.offsetHeight - this.offsetHeight) < 0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");
}

*div#content #last {
	width: 169px;
	height: 169px;
	padding: 3px 0 0 3px;
	margin: 3px 0 0 3px;
}

p#breadcrumbs {
	margin: 3px 3px 25px 3px;
}

img.icon {
	float: right; margin: 3px;
}

form label {
	font-size: 80%;
}

div#content ul{
	font-size: 80%;
	list-style: outside;
	position: relative;
	left: 20px;
	padding-right: 20px;
}

form .full {
	width: 380px;
}

form textarea {
	font-family: Arial, sans serif; font-size:100%;
}

div.errors {
	border: 1px solid #d22; background-color: #f6e7ed; margin: 3px; padding: 3px;
}

div#footer {
	width: 535px;
	text-align: center;
	font-size: 80%;
    margin: 10px 305px 10px 0;
}

div#footer a {
	color: #777; margin: 3px;
}

div#footer a:visited {
	color: #777;
}

div#footer a:hover {
	color: #000;
}
