html {
	height: 100%;
}

body {
	min-width: 800px;
	height: 100%;
	color: #000000;
	text-decoration: none;
	margin: 0;
	font-family: Verdana, Georgia, Sans-Serif;
	background: #ffffff url(../images/background.jpg) repeat-x 0 0;
}

#wrap {
	width: 900px;
	display: block;
	padding: 0 5px 5px 5px;
	margin: 0 auto 10px auto;
	color: #000000;
	line-height: 16px;
	font-size: 0.9em;
	font-family: Verdana, Georgia, Sans-Serif;
	background-color: transparent;
}

#header {
	height: 160px;
	padding: 0;
	margin: 0;
	background: transparent url(../images/header.jpg) no-repeat 0 0;
	color: #000000;
	clear: both;
}

#topbuttons {
	width: 268px;
	position: relative;
	float: right;
	margin: 0;
	padding-right: 11px;
}

#topbuttons a ,
#topbuttons a:link,
#topbuttons a:visited {
	background: transparent url(../images/header_button.jpg) no-repeat 0 0;
	width: 61px;
	height: 50px;
	float: right;
	margin: 0 5px;
}

#topbuttons a:hover {
	background: transparent url(../images/header_button.jpg) no-repeat -61px 0px;
}

#search {
	float: right;
	margin: 0 16px 0 50px;
	position: relative;
}
#search input.textbox {
	font-size: 13px;
	padding: 6px;
	width: 200px;
	float: right;
	border: 1px solid #258CDB;
}
#search input.imagebox {
	float: right;
}

#header .intro {
	margin: 20px 0 0 30px;
}

#menu {
	margin: 0 0 15px 0;
	padding: 0;
	height: 31px;
}

#main {
	margin: 3px 0;
	padding: 0;
	width: 900px;
	min-height: 500px;
}

#footer {
	clear: both;
	padding: 10px;
	margin: 0;
	display: block;
	text-align: center;
	color: #000000;
	font: normal 10px/14px Verdana, Helvetica, Arial, sans-serif;
	height: 150px;
	background: #E9EDF6 url(../images/footer.jpg) repeat-x 0 0;
}

/* Anchors */
a, a:link, a:visited {
  text-decoration: none;
  color: #3300cc;
  color: #000099;
}

a img {
	border: 0;
}

a.forward {
	background: transparent url(../images/forward.gif) no-repeat 100% 70%;
	padding: 7px 17px 7px 0;
}

a.back {
	background: transparent url(../images/back.gif) no-repeat 0% 50%;
	padding: 7px 0 7px 17px;
}

a.bullet {
	background: transparent url(../images/list-bullet.jpg) no-repeat 0% 50%;
	padding-left: 9px;
}

a.view_records {
	background: transparent url(../images/view_records.gif) no-repeat 0% 50%;
	padding: 7px 0 7px 18px;
}
a.add_record {
	background: transparent url(../images/add_record.gif) no-repeat 0% 50%;
	padding: 7px 0 7px 18px;
}

a.extern {
	background: transparent url(../images/link-extern.gif) no-repeat 100% 50%;
	padding-right: 12px;
}

a:hover {
	color: #3300cc;
	background-color: #bcccff;
}

/* Table */
table {
	margin: 2px auto;
	padding: 2px;
	border-collapse: collapse;
}

table thead td {
	padding: 5px;
	text-align: center;
	font-weight: bold;
}

table tbody td {
	padding: 5px;
}

table caption {
	font-weight: bold;
	text-align: center;
	margin: 0 auto;
	padding: 5px;
}

table.border td {
	border: 1px solid #D0D0D0;
}

tr.no_top_border td { border-top: 0; }
tr.no_bottom_border td { border-bottom: 0; }

.my-projects {
	width: 97%;
}

/* Headings */
h1 {
	font-size: 1.9em;
	font-weight: normal;
	margin: 5px 0 7px 0;
	padding: 4px 0;
	color: #000000;
	clear: both;
	line-height: 23px;
}

h2 {
	margin: 0 0 3px 5px;
	padding: 0 0 0px 10px;
	height: 30px;
	line-height: 30px;
	color: #7F4318;
	font-size: 1.4em;
	font-weight: normal;
	text-align: left;
}

h3 {
	text-align: left;
	font: bold 15px Verdana, Helvetica, Arial, sans-serif;
	margin: 10px 0;
}

/* Other elements */
p {
	margin: 5px 5px 5px 0;
	padding: 0;
	text-indent: 15px;
}

hr {
	color: #336699;
	line-height: 1px;
	background-color: #336699;
	height: 1px;
	border: 0;
	width: 70%;
}

.pagination {
	text-align: center;
	padding: 0;
	margin-bottom: 20px;
	clear: both;
	display: block;
}

/* Lists */
ul {
  margin: 2px;
  padding: 0;
  list-style: none;
}

li {
	margin: 0 0 0 10px;
	padding: 2px 0 2px 14px;
	background: transparent url(../images/bullet2.gif) no-repeat 0 5px;
}

ol li {
	background: none;
	margin-left: 3px;
	padding-left: 0;
}

dl {
  margin: 3px 0;
  padding: 0;
}

dt {
  font-weight: bold;
}

dd {
	padding: 0 0 0 10px;
	margin: 3px 0 3px 10px;
}

dl.bullet dd {
	padding-left: 15px;
	background: transparent url(../images/bullet2.gif) no-repeat 0 3px;
}

ul.error li { color: red; }

/* Form Elements */
form {
	padding: 0;
	margin: 5px 0;
}

fieldset {
	border: 0;
}

form div label {
	width: 130px;
	float: left;
	text-align: right;
	margin: 2px 5px 3px 0;
	padding: 0 9px 0 0;
	display: block;
}

form.labels-new-row div label {
	float: none;
	width: auto;
	text-align: left;
	margin: 2px 5px 3px 0;
	padding: 0;
	display: block;
}

form p,
form div {
	display: block;
	margin-bottom: 5px;
}

form p {
	margin-left: 144px;
	text-indent: 0;
	text-align: left;
}

form.labels-new-row p {
	margin-left: 0;
}

form div textarea {
	color: #505050;
	width: 200px;
	font: normal 13px Verdana, Helvetica, sans-serif;
	padding: 5px;
	background: #ffffff url(../images/input.jpg) repeat-x 0 0;
	border: 1px solid #999999;
}

form div select {
	font: normal 13px Verdana, Helvetica, sans-serif;
	color: #505050;
	width: 212px;
	padding: 5px;
	background-color: #f9f9f9;
	border: 1px solid #999999;
}

form div input {
	color: #505050;
	width: 200px;
	font: normal 13px Verdana, Helvetica, sans-serif;
	padding: 5px;
	background: #f9f9f9 url(../images/input.jpg) repeat-x 0 0;
	border: 1px solid #999999;
}

em.error {
	background: transparent url(../images/unchecked.gif) no-repeat 0 0;
	padding-left: 16px;
	color: red;
	display: block;
	clear: both;
	margin-left: 145px;
	margin-top: 3px;
}

form p em.error {
	margin-left: 4px;
}

em.success {
	background: transparent url(../images/checked.gif) no-repeat 0 0;
	padding-left: 16px;
	color: green;
	margin: 0;
	display: inline;
	clear: none;
}

input.button {
	height: 35px;
	color: #000000;
	padding: 1px 5px;
	margin: 2px 3px 0 0;
	font: normal 14px Helvetica, Arial, sans-serif;
}

label.error {
	margin-left: auto;
	width: 250px;
}

label.required {
	background: transparent url(../images/required.jpg) no-repeat 100% 100%;
}

form.login {
	margin-left: auto;
	margin-right: auto;
	width: 300px;
}

form.login div input {
	width: 90%;
}

/* Menu */
#menu ul {
	padding: 0;
	margin: 0;
	width: 500px;
	float: left;
	height: 30px;
	list-style-type: none;
}
#menu ul li {
	margin: 0;
	padding: 0;
	display: block;
	float: left;
	background: none;
	height: 23px;
}
#menu ul li a {
	text-decoration: none;
	font: bold 15px Arial, Verdana, Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
	color: #ffffff;
	display: block;
	float: left;
	padding: 7px 10px 0 7px;
	padding: 0;
	margin: 0 2px;
	height: 30px;
	line-height: 30px;
	width: 105px;
	text-align: center;
}
#menu ul li a:hover,
#menu ul li.selected a {
	text-decoration: none;
	background: transparent url(../images/button.jpg) no-repeat 0 0;
}

/* Projects */
.meta {
	font-size: 0.7em;
	color: #707070;
	text-align: left;
	text-indent: 0;
	margin-left: 15px;
}

.project-list {
	padding: 0 0 0 5px;
	margin: 0;
	float: left;
	width: 640px;
}
.project-list p,
.project-list h3 {
	float: left;
	margin: 0;
	padding: 3px 0 3px 0;
	width: 100%;
	text-indent: 0;
}
.project-list h3 {
	font-size: 1.2em;
	font-weight: normal;
	text-align: left;
	padding-bottom: 0;
}
.project-list img {
	float: left;
	margin: 0 5px 5px 0;
	padding: 5px;
	border: 1px solid silver;
	width: 150px;
	height: 104px;
}

/* Project Details */
.project-description img.border {
	float: left;
	margin: 10px;
	border: 1px solid silver;
	background-color: white;
}
.project-description {
	float: left;
	width: 100%;
}
.project-info {
	width: 100%;
	float: left;
	border-bottom: 1px dotted darkblue;
	border-top: 1px dotted darkblue;
	margin: 5px 0;
	padding: 5px 0;
	clear: both;
}
.project-info ul {
	float: left;
	width: 350px;
}
.project-info li.mark strong {
	float: left;
	margin-right: 5px;
}
#project-mark {
	margin-left: 5px;
}
.social {
	text-align: right;
	margin: 5px 0;
}

/* gallery */
table#gallery {
  margin: 0 auto;
  padding: 2px;
  border-collapse: collapse;
}

table#gallery tr td {
  padding: 3px;
  width: 380px;
}

table#gallery tr td img {
  float: left;
  margin-right: 3px;
}

/* Comments */
.add-comment #message{
	height: 130px;
}
.comment-list div .author {
	font-weight: normal;
	font-size: 14px;
	padding: 4px;
}
.comment-list div .comment {
	border-left: 3px solid #6699ff;
	color: #555555;
	padding: 8px;
	margin-left: 10px;
}

/* Categories */
.category-list {
	float: right;
	padding: 3px;
	margin: 0 auto;
	border-left: 1px dotted blue;
}
.category-list li {
	margin: 0 2px 10px 0;
	background: none;
}

.category-list li a,
.category-list li span {
	background-color: #FFD07F;
	color: #3845FF;
	padding: 3px 3px 3px 5px;
}
.category-list li span {
	color: darkblue;
	font-weight: bold;
	font-size: 0.8em;
	padding: 5px 4px 4px 4px;
}
.category-list a:hover {
	color: white;
}

/* Footer */
#footer ul {
	display: block;
	padding: 0;
	margin: 0 auto;
	width: 801px;
}

#footer ul li {
	float: left;
	width: 237px;
	height: 150px;
	padding: 3px;
	margin: 0;
	background: none;
}

#footer ul li p {
	text-align: left;
	text-indent: 0;
	color: #707070;
}

/* Other */
.error-handler {
	text-align: center;
	font-weight: bold;
	margin-bottom: 40px;
}

img.border {
	margin: 0;
	padding: 6px;
	background-color: #EFEFEF;
	border: 4px solid #D0D0D0;
	color: #000000;
}

.left-column {
	width: 640px;
	float: left;
}

.right-column {
	width: 252px;
	float: right;
}

.block {
	clear: both;
	display: block;
}

#add-project-form {
	width: 750px;
	margin: 0 auto;
}

.add-comment #text {
	width: 440px;
	height: 100px;
}

#add-news #content {
	width: 600px;
	height: 250px;
}

#add-news #title {
	width: 350px;
}

.hidetext {
	position: absolute;
	left: -9999px;
	text-align: left;
}

div.hide, .hide { display: none; }

span.b { font-weight: bold; }
span.i { font-style: italic; }
span.u { text-decoration: underline; }

.left { float: left; }
.right { float: right; }
.center { text-align: center; }
