body
{
	font: 1em Helvetica;
	background: url(/images/bodybackground.png) fixed;
}




/* base box */

div#header, div#base, div#footer, ul#mainmenu
{
	width: 800px;
	margin: 0px auto;
}

div#header
{
	margin-bottom: 25px;
	display: none;
}

div#base
{
	width: 800px;
	margin: 0px auto;
	background: #fff;
	border: 1px #ccc solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	padding: 10px;
}

div#content
{
	width: 800px;
}

div#smallcontent
{
	width: 490px;
	padding: 5px;
}

div#footer
{
	clear: both;
	padding: 10px;
	font-size: 0.9em;
	text-align: center;
}

div#footer a
{
	text-decoration: none;
}




/* base format */

strong
{
	font-weight: bold;
	font-size: 1.1em;
}

small
{
	font-size: 0.9em;
	color: #999;
}

a
{
	color: #000;
}

a.noline
{
	text-decoration: none;
}

p
{
	margin: 1em 0px;
}

p.unset
{
	font-size: 0.9em;
	text-align: center;
}

p.pagenav
{
	text-align: center;
}

p.pagenav a
{
	text-decoration: none;
}

h1
{
	
}

h2
{
	font-size: 1.2em;
	font-weight: bold;
}

h3
{
	font-weight: bold;
	border-bottom: 1px #ccc solid;
	margin: 25px 0px 15px 0px;
	/*width: 490px;*/
	clear: left;
}

h3 + a.head
{
	margin-top: -2.5em;
	margin-right: 0.5em;
	float: right;
	text-decoration: none;
	font-size: 0.8em;
}

ul li a.head
{
	display: block;
	font-size: 0.8em;
	float: right;
	text-decoration: none;
}

ul li + li
{
	margin-top: 1em;
}

ul.small li +li
{
	margin-top: 0;
}




/* hiding hiddens */

.hiding .hidden
{
	display: none;
}




/* values */

div#content span.caption, div#content span.value, div#smallcontent span.caption, div#smallcontent span.value
{
	display: block;
}

div#content span.caption, div#smallcontent span.caption
{
	color: #555;
	float: left;
}

div#content span.value, div#smallcontent span.value
{
	margin-left: 200px;
}




/* sidebar */

div#sidebar
{
	width: 200px;
	float: right;
}

div#sidebar a + a
{
	display: block;
}

div#sidebar div.box
{
	margin-bottom: 1em;
}

div#sidebar div.box h4
{
	font-weight: bold;
}

div#sidebar div.box .caption, div#sidebar div.box .value
{
	display: block;
}

div#sidebar div.box .caption
{
	font-size: 0.9em;
	color: #555;
}

div#sidebar div.box .value
{
	margin-bottom: 0.5em;
}




/* menu */

ul#mainmenu
{
	margin: 50px auto 5px auto;
	font-size: 0.9em;
	font-weight: bold;
}

ul#mainmenu li
{
	display: inline;
	padding: 5px;
	margin: 0px 3px;
	border: 1px #ccc solid;
	-moz-border-top-left-radius: 5px;
	-moz-border-top-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-khtml-border-top-left-radius: 5px;
	-khtml-border-top-right-radius: 5px;
	background: #efefef;
}

ul#mainmenu li.active
{
	border-bottom-color: #fff;
	background: #fff;
}

ul#mainmenu li a
{
	text-decoration: none;
}

ul#mainmenu li.inactive
{
	color: #aaa;
}




/* form buttons */

button
{
	display: inline-block;
	background: none;
	margin: 0;
	padding: 3px 0;
	border-width: 0;
	overflow: visible;
	font: 100%/1.2 Arial, Sans-serif;
	text-decoration: none;
	color: #333;
}

* html button
{
	padding-bottom: 1px;
}

html:not([lang*=""]) button
{
	margin: 0 -3px;
}

button span
{
	background: #ddd url(/images/bg-button.gif) repeat-x 0 0;
	margin: 0;
	padding: 3px 0;
	border-left: 1px solid #bbb;
	border-right: 1px solid #aaa;
}

* html button span
{
	padding-top: 0;
}

button span span
{
	position: relative;
	padding: 3px .4em;
	border-width: 0;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #aaa;
}

button.pill-l span
{
	border-right-width: 0;
}

button.pill-l span span
{
	border-right: 1px solid #bbb;
}

button.pill-c span
{
	border-right-style: none;
	border-left-color: #fff;
}

button.pill-c span span
{
	border-right: 1px solid #bbb;
}

button.pill-r span
{
	border-left-color: #fff;
}

button:hover span, button:hover span span, button:focus span, button:focus span span
{
	cursor: pointer;
	border-color: #9cf !important;
	color: #000;
}

button:active span
{
	background-position: 0 -400px;
	outline: none;
}

button:focus, button:active
{
	outline: none;
}

button.primary
{
	font-weight: bold;
	color: #000;
}




/* form */

form.standard input, form.standard textarea, form.standard label
{
	display: block;
}

form.standard input, form.standard textarea
{
	width: 250px;
	border: 1px #aaa solid;
	padding: 3px;
}

form.standard textarea
{
	height: 100px;
}

form.standard label
{
	margin-top: 1em;
}

form.standard input, form.standard select, form.standard textarea
{
	margin-left: 300px;
	margin-top: -1.75em;
}

form.standard select + select
{
	margin-left: 10px;
}

form.standard .help
{
	font-size: 0.8em;
	color: #555;
}

form.standard input[type="radio"]
{
	margin-left: 300px;
	margin-top: 1em;
}

form.standard input[type="radio"] + label
{
	display: block;
	margin-left: 320px;
	margin-top: -35px;
	font-size: 0.8em;
}

form ul.error_list li
{
	color: #a00;
	font-size: 0.9em;
}




/* loginform */

div#blankbox
{
	width: 400px;
	margin: 100px auto;
	padding: 10px;
	background: #fff;
	border: 1px #ccc solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}

form.block input
{
	display: block;
	margin-bottom: 1em;
}

form.block label
{
	display: block;
	margin-bottom: 0.3em;
}





/* modalbox */

#modal_content
{
	display: none;
	position: fixed;
	left: 50%;
	padding: 15px;
	top: 10%;
	-webkit-box-shadow: 0px 0px 8px #111;
	background: #fff;
	width: 400px;
	margin-left: -200px;
	text-align: center;
}

#modal_content small
{
	font-size: 77%;
}

#modal_content div.modal_close
{
	float: right;
	cursor: pointer;
	margin-left: 8px;
	font-weight: bold;
}

#modal_content h3
{
	font-size: 116%;
}

#modal_overlay
{ 
	background-color: #000;
}

* iframe.overlay
{
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

* html #modal_content
{
	position: absolute;
	top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}




/* block */

ul.block li + li
{
	clear: both;
}

ul.block li span
{
	display: block;
}

ul.block li span.date
{
	float: right;
	color: #aaa;
	font-size: 0.8em;
}

ul.block li img.profilepicture
{
	padding: 1px;
	border: 1px #ccc solid;
	float: left;
	margin-bottom: 5px;
	margin-right: 5px;
}

ul.block li a.name
{
	text-decoration: none;
	font-weight: bold;
}




/* boxes */

ul.boxes li
{
	float: left;
	width: 150px;
	height: 200px;
	padding: 3px;
	margin: 2px;
	text-align: center;
	vertical-align: middle;
	display: block;
}

ul.boxes li img
{
	border: 1px #ccc solid;
	padding: 1px;
	margin: -2px;
}

ul.boxes li a
{
	text-decoration: none;
}




/* photos */

a.prev, a.next
{
	text-decoration: none;
}

a.next
{
	float: right;
}

img.link
{
	position: absolute;
}

div#photocontainer
{
	margin-top: 1em;
	position: relative;
	text-align: center;
}

img#photo
{
	position: relative;
}

div#photocontainer img.link
{
	position: absolute;
}

img.linkable
{
	cursor: crosshair;
}

span.info
{
	display: block;
	font-size: 0.8em;
	color: #555;
}

span.info span.unviewedphotos
{
	color: #d55;
}

div.photonav
{
	margin: 1em 0;
}

div.photonav div
{
	width: 33%;
	display: inline-block;
}

div.indexbox
{
	text-align: center;
}

div.nextbox
{
	text-align: right;
}

a.prev,
a.next,
a.index
{
	text-decoration: none;
}




/* clearfix */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}