/* PAGE ELEMENTS */
* {
	margin: 0px;
	padding: 0px;
	border: 0px;
}
body, div, p, a, th, td, h1, h2, h3 {
	color: #333;
	font-family: Verdana, Arial;
}
body {
/*	background: #DDD;*/
	
	font-size: 12px;
	background-color: #fabccd;
}
input, textarea {
	background: white;
	border: solid 1px black;
	color: black;
	font-family: Verdana, Arial;
	font-size: 13px;
}
div#main {
	background: white;
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	margin: 10px auto;
	padding: 20px 0px 5px;
	position: relative;
	text-align: left;
	width: 960px;
}
div.clear {
	clear: both;
	float: left;
	width: 100%;
}
ul li { list-style: disc inside; }
ol li {
	list-style: decimal outside;
	margin-left: 20px;
}


/* FIELDS */
div.field {
	margin: 0px;
}
.field div.leftcol {
	float: left;
}
.field div.rightcol {
	border-left: solid 2px #CCC;
	float: right;
	padding-left: 10px;
	width: 390px;
}

/* HEADER */
div#menubar {
	background: url('/img/menu-bar.png') no-repeat top right;
	color: white;
	font-size: 16px;
	font-weight: bold;
	height: 30px;
	line-height: 30px;
	position: absolute;
	right: 5px;
	width: 725px;
}
#menubar a {
	color: white;
	margin-left: 20px;
}
#menubar a:hover, #menubar a.current {
	text-decoration: underline;
}
div#menu {
	float: left;
	font-size: 14px;
	margin: 45px 5px 5px 5px;
	text-align: left;
	width: 207px;
}
#menu ul {
	margin: 0px;
	padding: 0px;
}
#menu li {
	list-style: none outside none;
	margin: 0px;
	padding: 0px 10px;
}
#menu li.category {
	background: url('/img/menu-block.png') no-repeat left bottom;
	font-size: 16px;
	height: 30px;
	line-height: 30px;
	margin-top: 3px;
}
#menu li.category a {
	color: white;
	font-weight: bold;
	text-decoration: none;
}
#menu li.category a:hover, #menu li.category a.current {
	text-decoration: underline;
}
#menu li.subset {
	background: #FABCCD;
	margin: 0px 4px;
	padding: 4px 6px;
}
#menu li.subset a:hover, #menu li.subset a.current {
	text-decoration: underline;
}
#menu a:hover div, #menu a.current div, #menu a div:hover {
	background: #EEE;
	border-color: #FFF;
	border-top-color: #999;
	border-left-color: #999;
}
div#submenu {
	background: #DDD;
	border: solid 1px #CCC;
	float: right;
	font-size: 12px;
	font-weight: bold;
	outline: solid 1px white;
	padding: 5px;
	padding-right: 15px;
	text-align: left;
}
#submenu ul {
	padding-left: 10px;
}
#submenu a {
	color: black;
	text-decoration: none;
}
#submenu a:hover, #submenu a:focus {
	text-decoration: underline;
}


/* FOOTER */
div#footer {
	clear: both;
	margin-top: 15px;
}
#footer p { text-align: center; }
#footer p, #footer p a {
	font-size: 11px;
	font-weight: bold;
}

/* CONTENT */
div#content {
	float: left;
	margin: 40px 5px 10px 0px;
	position: relative;
	text-align: left;
	width: 725px;
}
h1, h2, h3 {
	font-family: Verdana, Arial;
	margin: 0px;
}
h1 { font-size: 20px; }
h2 {
	font-size: 12px;
	margin-top: 5px;
}
#content p {
	margin-bottom: 10px;
	text-align: justify;
}
#content .text ul li, #content .text ol li {
	list-style-position: outside;
	margin: 0px 0px 5px 20px;
	text-align: justify;
}
#content .adminpages ul li, #content .sitemap ul li {
	margin: 0px 0px 0px 20px;
}
a {
	color: black;
	text-decoration: none;
}
a:hover {
	color: black;
	text-decoration: underline;
}
input.text, input[type=checkbox], textarea, select { margin-bottom: 10px; }
input.text, textarea {
	border: solid 1px black;
	width: 400px;
}
input[type=submit], input[type=reset], input[type=button], button {
	background: #AAA;
	border: solid 2px #FFF;
	border-bottom-color: #444;
	border-right-color: #444;
	padding: 4px 8px;
}
input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, button:hover,
input[type=submit]:focus, input[type=reset]:focus, input[type=button]:focus, button:focus {
	background: #CCC;
}
input[type=submit]:active, input[type=reset]:active, input[type=button]:active, button:active {
	background: #CCC;
	border: solid 2px #444;
	border-bottom-color: #FFF;
	border-right-color: #FFF;
}
div#infobox {
	clear: right;
	float: right;
	margin: 5px -10px 10px 0px;
	width: 200px;
}
#infobox div.top {
	background: url('/img/infobox-top.png') no-repeat bottom left;
	height: 10px;
}
#infobox div.bottom {
	background: url('/img/infobox-bottom.png') no-repeat top left;
	height: 10px;
}
#infobox div.middle {
	background: url('/img/infobox-middle.png') repeat-y left;
	padding: 0px 5px;
}
#infobox .middle p {
	color: white;
	font-size: 16px;
	margin: 0px;
	padding: 3px 10px;
	text-align: center;
}
#infobox div.image, #infobox .image p {
	margin: 20px 0px;
	text-align: center;
}
#infobox .image h3 {
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	text-decoration: underline;
}
#infobox .image img { margin: 3px 0px; }
#infobox .image a {
	font-weight: bold;
}
#infobox .image a:hover { text-decoration: none; }

/* HOME PAGE */
#content div.home {
	padding: 10px 50px;
	text-align: left;
}

/* TEXT PAGES */
#content div.text {
	overflow: auto;
	padding: 10px 20px;
	text-align: left;
}
#content div.message {
	font-weight: bold;
}
#content img {
	max-width: 100%;
}
#content .text img {
	margin: 0px 5px;
	text-align: center;
	vertical-align: middle;
}
#content .text a {
	color: #E51D7A;
	font-weight: bold;
}
#content .text a:hover { color: black; }

/* NEWS */
.news div.plain, .news div.colored, .home div.colored, .portfolio div.plain, .portfolio div.colored {
	padding: 5px 10px;
}
.news div.colored, .home div.colored, .portfolio div.colored {
	background: url('/img/news-colored.png') repeat;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#content p.written {
	font-style: italic;
	text-align: right;
}

/* BLOG */
#content .blog img {
	vertical-align: middle;
}

/* PHOTO */
.photo .albumlist div.album { margin-top: 10px; }
.photo .albumlist .album div.preview {
	border: solid 1px black;
	display: inline-block;
	margin: 5px;
	padding: 2px;
}
.photo .albumlist .preview a {
	text-decoration: none;
}
.photo .albumlist .preview img {
	vertical-align: middle;
}
.photo .albumphotos div {
	float: left;
	height: 200px;
	margin: 10px;
	text-align: center;
	width: 200px;
	vertical-align: middle;
}
.photo .picture img {
	max-width: 100%;
}
.photo div.nav { margin-bottom: 10px; }
.photo .nav div {
	display: inline-block;
	text-align: center;
}

/* PORTFOLIO */
.portfolio div.plain, .portfolio div.colored {
	margin-top: 5px;
}
.portfolio table {
	margin: 5px 0px;
	width: 100%;
}
.portfolio td.image {
	padding-right: 10px;
	text-align: center;
	vertical-align: middle;
	width: 160px;
}
.portfolio td.desc {
	padding-right: 10px;
}

/* SITEMAP */
#content .sitemap ul {
	margin: 0px 0px 5px 15px;
}

/* REGISTRATION */
.registration tr.light td, .registration tr.dark td {
	padding: 5px;
}
.registration tr.dark td {
	background: url(/img/news-colored.png) repeat;
}
.registration input.text, .registration select, .registration textarea {
	margin: 0px;
}
.registration label {
	color: #333;
}
.registration tr.submit td {
	border-top: 2px solid white;
}

/* SEARCH */
#content .search a.result { font-weight: bold; }
#content .search p.more { font-style: italic; }


/* ADMIN PAGES */
#content .adminpages a {
	color: black;
	font-weight: normal;
}
.adminpages ul {
	margin-bottom: 20px;
}
.adminpages ul ul {
	margin: 0px;
	padding-left: 15px;
}
#content div.markdown {
	border: double 3px black;
	margin-top: 20px;
}
