body {
	color: #666;
	font: 14px Arial, Verdana, 'sans-serif';
}

h1 {
	font: bold 16px Tahoma, Verdana, Arial, 'sans-serif';
	padding-bottom: 20px;
	color: #476a7d;
}

p {
	margin-bottom: 10px;
}

a {
	color: #34a8db;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #476a7d;
}

ul {
	margin-left: 30px;
	list-style-type: circle;
}

li {
	margin: 0px;
	padding: 0px;
}

#wrapper {
	width: 880px;
	overflow: auto;
	margin: 0px auto;
	background: #fff;
}

#header {
	float: left;
	width: 860px;
	height: 140px;
	padding: 0 10px;
	background: #fff url(images/header.jpg) top left no-repeat;
}

#header h1 {
	width: 240px;
	height: 40px;
	margin: 20px 0 0 30px;
	display: block;
}

#header h1 a {
	width: 240px;
	height: 40px;
	display: block;
}

#top_nav {
	float: left;
	margin: -1px 0 0 20px;
	display: inline;
}

#top_nav ul {
	margin: 0px;
	list-style: none;
}

#top_nav ul li {
	padding-right: 10px; 
	display: inline;
	color: #fff;
}

#top_nav ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	outline: none;
}

#top_nav ul li a:hover {
	color: #b1edff;
}

#second {
	float: left;
	width: 470px;
	display: inline;
	margin-left: 15px;
}

#first {
	float: left;
	width: 180px;
	display: inline;
	margin-left: 10px;
}

#two_col {
	float: left;
	width: 640px;
	display: inline;
	margin-left: 20px;
}


.contact {
	display: inline;
	margin-right: 10px;
}
.contact .ervkod {
 width: 50px;
}
.contact .csubmit {
 width: 100px;
 height: 28px;
}
.contact .uzenet {
 width: 200px;
 height: 100px;
}

#third {
	float: right;
	width: 180px;
	display: inline;
	margin-right: 10px;
}

.box {
	float: left;
	width: 160px;
	margin: 0 0 20px 0;
	padding: 0 10px 10px 10px;
	background: #fff url(images/box.gif) bottom left no-repeat;
}

.box_header {
	float: left;
	width: 160px;
	height: 10px;
	padding: 0 10px;
	background: #fff url(images/box_header.gif) top left no-repeat;	
}

#footer {
	float: left;
	width: 860px;
	height: 50px;
	padding: 0 10px;
	margin: 30px 0;
	background: #fff url(images/footer.jpg) top left no-repeat;
}

#footer p {
	line-height: 50px;
	margin-left: 20px;
}

#footer a, #footer a:hover {
	color: #ccc;
}




/* forms */
form { 
	float: left;
}

fieldset {
}

legend {
	display: none;
}

label {
	float: left;
	width: 440px;
	margin-bottom: 3px;
	font-weight: bold;
}

input {
	width: 360px;
	height: 20px;
	padding: 3px;
	line-height: 20px;
	border: 1px solid #476a7d;
	font-weight: bold;
	color: #476a7d;
}

input.submit {
	float: left;
	width: 120px;
	height: 30px;
	padding: 3px 0;
	display: box;
	background: #3aa9d6;
	color: #fff;
}

input.button {
	float: left;
	width: auto;
	height: 30px;
	padding: 0 2px;
	margin: 0 4px 3px 0;
}

.errors {
	float: left;
	width: 620px;
	margin-bottom: 10px;
	padding: 5px 8px;
	border: 2px solid #d63a41;
	color: #d63a41;
	background: #f2d6d8;
}

.row {
	float: left;
	width: 640px;
	margin-bottom: 3px;
}

#preview {
	float: left;
	width: 640px;
	margin-bottom: 3px;
}

/* tables */

table { 
	border: 1px solid #ccc;
}

thead {
	background: #3aa9d6;
	color: #fff;
}

tr {
	border: 1px solid #ccc;
}

tr.odd {
	background: #f9f9f9;
}

td {
	padding: 4px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#sbb {
  width: 120px;
  height: 28px;
} 
#sbi {
  width: 300px;
}

table {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}