/* page container */

#page {
	width: 970px;
	height: auto;
	margin: 0 auto;
	clear: both;
}

/* header */

#header {
	width: auto;
	height: 280px;
	clear: both;
}

/* logo */

#logo {
	width: 160px;
	height: 100px;
}

#logo h1 { display: none; }

/* top menu */

#menu {
	width: auto;
	height: 30px;
	line-height: 30px;
	margin-top: 70px;
}

#menu a {
	height: 30px;
	padding: 0 10px;
	float: left;
}

/* main container */

#main {
	width: auto;
	height: auto;
	clear: both;
}

/* sidebar */

#sidebar {
	width: 250px;
	height: 100%;
}

/* sidebar blocks */

#sidebar div.box {
	width: 250px;
	height: auto;
	margin-top: 20px;
	clear: both;
}

#sidebar div.first { margin-top: 0; }

#sidebar div.inside {
	width: 240px;
	height: auto;
	padding: 10px 5px;
	clear: both;
}

/* captions */

div.title {
	width: auto;
	height: 35px;
	line-height: 35px;
	padding-left: 35px;
	clear: both;
	overflow: hidden;
}

/* category menu */

#categories a {
	padding: 5px;
	display: block;
}

/* content */

#content {
	width: 680px;
	height: 100%;
}

/* boxes */

#boxes {
	width: 680px;
	height: auto;
	clear: both;
}

#boxes div.box {
	width: 164px;
	height: auto;
	margin: 0 0 10px 8px;
	float: left;
}

#boxes div.first { margin-left: 0; }
#boxes div.box p { padding: 2px 0; }

/* footer */

#footer {
	width: auto;
	height: 40px;
	line-height: 40px;
	margin: 15px 0;
	clear: both;
}

/* tables */

table.table {
	width: 100%;
	border-collapse: collapse;
	clear: both;
}

table.table td { padding: 6px; }

table.table div.printarea {
	margin: 0 auto;
	clear: both;
}

table.table div.printareatext {
	margin: 0 auto;
	padding-bottom: 5px;
	clear: both;
}

/* forms */

form.form div.fieldset {
	width: auto;
	height: auto;
	margin-bottom: 15px;
	clear: both;
}

form.form div.legend {
	width: auto;
	height: 25px;
	line-height: 25px;
	clear: both;
}

form.form div.legend span { padding-left: 10px; }
form.form div.fields { padding: 10px; }

form.form div.fields div {
	margin-top: 10px;
	clear: both;
}

form.form div.fields div.first { margin-top: 0; }

form.form label {
	width: 170px;
	margin-right: 10px;
	padding-top: 4px;
	float: left;
	clear: left;
}

form.form input,
form.form textarea,
form.form select { padding: 4px }

form.form input.button { padding: 10px; }

form.form input.file {
	margin-bottom: 10px;
	clear: both;
}

form.form input.checkbox,
form.form input.radio { margin-top: 6px; }

/* items */

div.items {
	width: auto;
	height: auto;
	clear: both;
}

div.items div.item {
	width: 335px;
	margin: 10px 0 0 10px;
	padding: 10px 0;
	float: left;
}

div.items div.first { margin-left: 0; }
div.items div.item div.img { width: 75px; }
div.items div.item div.txt { width: 250px; }

/* category list */

div.cats ul.cat {
	width: 220px;
	height: auto;
	margin-left: 10px;
	float: left;
}

div.cats ul.first { margin-left: 0; }

div.cats a {
	padding: 5px;
	display: block;
}

/* messages */

div.error,
div.success {
	margin-bottom: 15px;
	padding: 25px;
	clear: both;
}

/* fixer */

br.fix {
	width: auto;
	height: 0;
	line-height: 0;
	clear: both;
}

/* floats */

.l { float: left; }
.r { float: right; }

/* margins */

.mt { margin-top: 10px; }
.mr { margin-right: 10px; }
.mb { margin-bottom: 10px; }
.ml { margin-left: 10px; }

/* paddings */

.pt { padding-top: 10px; }
.pr { padding-right: 10px; }
.pb { padding-bottom: 10px; }
.pl { padding-left: 10px; }

/* others */

.contact { padding-left: 15px; }
