html {
	padding: 0;
	margin: 0;
	background: url("images/bottom.png") repeat-x center bottom #e1e1e1;
}

body {
	padding: 0;
	margin: 0;
	background: url("images/bgtop.jpg") repeat-x center 200px #fff;
	font-family: Tahoma, Arial;
	font-size: 10pt;
}

/* Misc */

img {
	border: 0;
}

.gallerynavi {
	margin: 0;
	padding: 10px 0;
	list-style:none;
	text-align: center;
	font-weight: bold;
}

.gallerynavi li {
	padding: 6px 10px;
	display: inline;
}

/* Links */

a:link, a:visited {
	color: #333;
}

a:hover, a:active {
	color: #888;
	text-decoration: none;
}

/* Wrappity-wrap */

#wrapper {
	color: #000;
}

/* Header */

#header {
	width: 100%;
	height: 200px;
	background: #000;
	text-align: center;
}

#headerflash {
	width: 800px;
	height: 200px;
	margin: 0 auto;
	background: url("images/header.jpg");
}

/* Lower Wrapper */

#lower {
	width: 860px;
	margin: 0 auto;
}

/* Navigation */

#navigation {
	height: 36px;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

#navigation ul {
	list-style: none;
	padding: 0 0 0 10px;
	margin: 0;
}

#navigation li {
	margin: 3px;
	display: inline;
}

#navigation a:link, #navigation a:visited {
	color: #fff;
	text-decoration: none;
}

#navigation a:hover, #navigation a:active {
	color: #ccc;
	text-decoration: underline;
}

/* Content */

#content {
	background: url("images/paper.png") no-repeat center top;
	padding: 10px 55px 10px 55px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
}

/* Footer */

#footer {
	width: 100%;
	min-height: 68px;
	padding: 130px 0 0 0;
	margin-bottom: 50px;
	text-align: center;
	font-size: 90%;
	color: #555;
	background: url("images/bgfooter.png") repeat-x center top;
}

#footer a:link, #footer a:visited {
	color: #333;
}

#footer a:hover, #footer a:active {
	color: #777;
	text-decoration: none;
}

#footer ul {
	list-style: none;
	padding: 0 0 0 10px;
}

#footerelementwrapper {
	width: 100%;
	background: #e1e1e1;
}

#footergadgets {
	width: 750px;
	padding: 10px 0 10px 0;
	margin: 0 auto;
	text-align: left;
}

#footerleft {
	float: left;
	width: 300px;
	background: url("images/deadendtext.png") no-repeat center 8px;
	border-right: 1px solid #999;
	padding: 60px 10px 20px 0;
	text-align: center;
}

#footerleft li {
	margin: 3px;
	display: inline;
}

#footerright {
	margin-left: 330px;
}

#footerright li {
	padding: 1px 0;
}

#footerright a {
	text-decoration: none;
	background: url("images/arrow.png") no-repeat left 3px;
	padding-left: 12px;
}

#footerright a:hover, #footerright a:active {
	background: url("images/arrow_hover.png") no-repeat 4px 3px;
	padding-left: 15px;
	color: #111;
}

#footerright p {
	font-weight: bold;
}

#footergadgets:after {
    clear: both;
    content: '';
    display: block;
} 

/* Bluefoxbuttoni */

#bluefoxmini {
	width: 35px;
	height: 35px;
	background-position: top left;
	background-image: url("images/bfmini.png");
	float: right;
	margin: -10px 10px; /* Ei toimi IE:ssä */
}

#bluefoxmini:hover {
	background-position: top right;
}

/* Guestbook */

.guestbookpost {
	padding: 0 0 7px 0;
	margin: 0 0 7px 0;
	border-bottom: 1px solid #aaa;
}

#writepost .fieldlabel {
	width: 200px;
	font-weight: bold;
	vertical-align: top;
}

#writepost .fieldlabel span {
	font-size: 80%;
	font-weight: normal;
	color: #888;
	padding: 5px 0 2px 0;
	display: block;
}

#writepost .guestbookfield {
	width: 400px;
	padding: 5px 10px;
	background: url("images/fieldbg.png") no-repeat #fff;
	border: 1px solid #aaa;
}

#writepost .guestbooksubmit {
	text-align: right;
}

#writepost .submitbutton {
	background: url("images/buttongradient.png") repeat-x;
	border: 1px solid #aaa;
	padding: 3px 14px;
}

#error {
	background: url("images/exclamation.png") no-repeat #e9a5a5 550px -80px;
	border-left: 5px solid #9b4a4a;
	padding: 1px 20px 5px 20px;
	margin-left: 10px;
}

#success {
	background: url("images/check.png") no-repeat #c3f0b4 550px -80px;
	border-left: 5px solid #7ebe68;
	padding: 1px 20px 5px 20px;
	margin-left: 10px;
}