* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	font-weight: normal;
	/* border: 0; */

	font-family: Ubuntu, Georgia, serif;
}

body {
	background-color: #f8f8f8;
}

h1 {
	font-size: 150%;
	font-weight: bold;
	/* margin: 15px 0; */
}

.index-title {
	font-size: 125%;
	font-weight: bold;
/*	background-color: #e8e8e8; */
	margin: 0;
}

h2 {
	font-size: 125%;
	font-weight: bold;
	margin: 5px 0;
}

h2.index-subtitle {
	font-style: oblique;
	font-weight: normal;
	font-size: 100%;
	margin: 0 0 0 0;
}

p.file-title {
	font-size: 110%;
}

form ul {
	list-style-type: none;
}

input {
	padding: 1px 2px;
	border: 1px solid #C3C3C3;
	border-radius: 0;
	font-size: 100%;
}

input[type=file] {
	border: solid 1px #C3C3C3;
}

input[type=checkbox] {
	position: relative;
	vertical-align: middle;
	bottom: 1px;
	width: 16px;
}

ul {
	padding:4px;
	list-style-position: inside;
	list-style-type: none;
}

#news-article li {
	padding-left: 4px;
	margin-top: 2px;
	border-left: solid 3px #E8E8E8;
}

.form-hint {
	font-size: 80%;
}

.error_msg {
	color: #A80000;
	font-size: 125%;
	font-weight: bold;
}

.danger a {
	color: red;
}

.unimportant {
	color: gray;
	font-size: 75%;
}

.file-title {
	font-weight: bold;
	font-size: 125%;
}

#page-body {
	margin: 25px 5% 0 5%;
	background-color: #f8f8f8;
}

#page-content {
	margin-left: 12px;
	margin-bottom: 12px;
	background-color: #f8f8f8;
}

#page-footer {
	margin-top: 25px;
	position: absolute;
	bottom: 0;
}

#page-header-menu {
	padding: 16px 0 16px 0;
}

#page-header-menu li {
	display: inline;
}

#page-header-menu li.navlink {
	padding: 4px 6px;
}

#page-header-menu li.navlink:hover {
	background: #f0f0f0;
}

#page-header-menu a {
	text-decoration: none;
	font-weight: bold;
	color: #292929;
}

#page-header-menu a.logout { color: #A72921; }
#page-header-menu a.blog { color: #21A730; }
#page-header-menu a.admin { color: #E88E2B; }
#page-header-menu a.my { color: #21A730; }

#page-header-menu span {
	font-weight: bold;
	color: #292929;
}

#index-header {
	/* margin-left: 6px; */
	margin-bottom: 24px;
	/* background-color: #F1F1F1; */
}

#index-upload-form {
	text-align: left;
	margin: 25px 10px 25px 25px;
	width: 20%;
	min-width: 400px;
}

#index-upload-form label {
	margin-bottom: 2px;
}

#index-upload-form input {
	margin-bottom: 2px;
	width: 300px;
}

#index-upload-form input[type=checkbox] {
	width: 16px;
}

div.index-login-form {
	margin: 25px 10px 25px 0px;
	width: 20%;
	min-width: 300px;
	text-align: left;
}

div.index-login-form label {
	text-align: left;
	width: 200px;
}

div.index-login-form input {
	width: 200px;
}

div.index-login-form p {
	margin: 1px 0px;
}

.login-misc {
	font-size: 80%;
}

#settings-form {
	margin: 0 0 15px 0;
}

#settings-form li {
	list-style-type: none;
}

#settings-form label {
	width: 225px;
	display:inline-block;
	text-align: left;
	margin: 2px 0;
}

#index-misc-info {
	margin: 0 0 15px 0;
}

#registration-form input {
	width: 175px;
	display: inline-block;
	text-align: left;
	margin: 1px 0;
}

#paginator li {
	font-size: 90%;
	font-weight: bold;
	display: inline;
	padding: 0 2px;
}

#gallery table {
	text-align: center;
	width: 100%;
	margin: 10px 10px;
}

#gallery tr, td {
	margin: 10px;
	padding: 5px;
}

#gallery td {
	border: solid;
	border-width: 1px;
	border-color: #DEDEDE;
}

#gallery {
	/* width: 80%; */
	overflow: hidden;
}

#gallery ul {
	list-style-type: none;
}

#gallery li {
	width: 150px;
	height: 150px;
	/* border: solid 1px #DEDEDE; */
	background-color: #F8F8F8;
	padding: 5px;
	margin: 10px;
	float: left;
}

#gallery li:hover {
	background-color: #E8E8E8;
}

#gallery li.vthumb:hover {
	/* background-color: #EEDDFF; */
	background-color: #E8E8E8;
}

#gallery li.vthumb {
	background-color: #EEDDFF;
}

#gallery .thumbnail {
	text-align: center;
	vertical-align: middle;
}

#my_files {
	overflow: hidden;
}

/* #my_files div.container {
	width: 90%;
} */

#my_files div.thumbnail {
	width: 124px;
	float: left;
	text-align: center;
	vertical-align: middle;
}

#my_files div.meta {
	margin-left: 128px;
	width: 200px;
}

#my_files .meta-date {
	font-size: 85%;
	color: #5a5a5a;
}

#my_files ul {
	list-style-type: none;
}

#my_files li {
/*	width: 500px; */
	height: 126px;
	background-color: #F8F8F8;
	padding: 4px;
	margin: 4px;
	float: left;
}

#my_files li:hover {
	background-color: #E8E8E8;
}

#my_files div.file-container {
	padding: 4px;
	vertical-align: middle;
}

#file-menu {
	font-size: 80%;
}

#file-menu li {
	display: inline;
	padding: 0 4px 0 0;
}

#file-menu a {
	text-decoration: none;
}

#file-face {
	margin: 25px 10px;
}

#file-misc p {
	margin: 4px 0;
}

#file-tags {
/*	font-size: 85%; */
}

#footer {
	font-size: 75%;
	margin: 10px 0 25px 0;
}

#footer p {
	padding: 0 0;
	margin: 2px 0;
}

#comments {
	margin: 32px 0 32px 0;
}

#comment {
	margin: 8px 0 8px 0;
}

#comment .comment_admin {
	font-size: 75%;
	float: right;
}

#comment_body {
	border-bottom: 1px solid lightgray;
	padding: 5px 8px;
	margin: 0 0 0 8px;
	width: 425px;
	min-width: 250px;
	margin-top: 5px;
}

#comment_body ul {
	list-style-type: disc;                                                                                                                                  
	list-style-position: inside;
	margin-bottom: 10px;
}

#comment_body p {
	margin-bottom: 8px;
}

#comment_body h1 { font-size: 120%; }
#comment_body h2 { font-size: 110%; }


#comment_form_container {
	margin-top: 16px;
	width: 425px;
	min-width: 250px;
}

#comments-link {
	margin: 8px 8px;
}

#comments-link a {
	color: gray;
}

#album-body {
	margin-left: 16px;
	min-width: 450px;
/*	max-width: 600px; */
/*	text-align: center; */
}

.album-entry {
	padding: 12px 12px;
	margin: 8px 0px;
	background: #efefef;
	display: inline-block;
/*	text-align: left; */
}

.album-meta {
	margin-top: 4px;
	font-size: 85%;
	color: #5a5a5a;
	text-align: left;
}

.album-meta a {
	color: #5a5a5a;
	text-decoration: underline;
}

#album-title {
	font-size: 130%;
	font-weight: bold;
}

#album-meta-global {
	font-size: 75%;
	color: #5a5a5a;
	margin-bottom: 8px;
}

#new_album_form {
	margin-bottom: 8px;
}

#my_albums_control {
	margin-bottom: 8px;
}

#upload_form {
	width: 400px;
	margin: 25px;
}

#upload_form input {
	margin-bottom: 2px;
}

#upload_form input.file {
	display: block;
	padding: 5px;
	width: 100%;
}

#upload_form input.description {
	width: 100%;
	height: 22px;
}

#upload_form input.submit {
	float: right;
	width: 60%;
	height: 22px;
}

#upload_form input.checkbox {
	height: 22px;
}

#upload_form div.buttons {
	vertical-align: text-top;
}

#news-article span.meta {
	font-size: 75%;
	color: #5a5a5a;
}

#news-article div.text {
	padding: 6px 0 6px 6px;
	margin-bottom: 12px;
/*	border-left-style: solid 2px #5a5a5a; */
}

#profile {
	overflow: hidden;
}

#profile div.userpic {
	width: 150px;
	float:left;
}

#profile div.userinfo {
	margin-left: 158px;
}

code {
	background: #f4f4f4;
	border: 1px solid #ddd;
	color: #666;
	font-family: monospace;
	padding: 2px;
	margin: 2px;
}
