* {
        margin:0;
        padding:0;
	border: 0;
}

html {  height: 100% }

body {
        posistion: relative;
        height: 100%;
        font-family: Comic Sans MS, Verdana, Arial, sans;
        font-size: 100.1 %;
		  background: #ff6600;
        background: url("images/tile005_400.jpg");
}

#wrapper {
        position: relative;
        width: 100%;
}

#topline {
        position: absolute;
        top: 0px;
        right: 0px;
        background: url("images/topline.gif");
        background-repeat: no-repeat;
        height: 32px;
        text-align: right;
        padding: 2px 8px 2px 40px;
        color: #fff;
        font-size: 80%;
        font-weight: bold;
}

#topline a {
        color: #fff;
        text-decoration: none;
        padding-left: 2px;
        padding-right: 2px;
}

#topline a:hover {
        color: #ff6600;
        background: #fff;
}

#mainwrap {
	display: table;
        height: 100%;
        vertical-align: middle;
	width: 100%;
	text-align: center;
}

#main {
        text-align: center;
	width: 100%;
}

#main h1 {
	margin-left:auto;
	margin-right:auto;
        margin-top: 40px;
        margin-bottom: 20px;
        color: white;
        width: 520px;
        font-size: 130%;
}
#main h2 {
        color: white;
        width: 520px;
        font-size: 110%;
	margin-left:auto;
	margin-right:auto;
}
#main h3 {
        color: white;
        width: 520px;
        font-size: 90%;
	margin-left:auto;
	margin-right:auto;
}

#imgholder {
        width: 512px;
        height: 287px;
        overflow-y: hidden;
        border: 1px #ff7a21 solid;
        border-bottom: 0px;
        margin-bottom: 0px;
	margin-left:auto;
	margin-right:auto;
}

#imgholder img {
	border:0;
	overflow:hidden;
}

#main img {
        border: 1px #ff7a21 solid;
        border-top: 0px;
}

#language {
        position: absolute;
        top: 32px;
        right: 0px;
        width: 128px;
        height: 44px;
        text-align: right;
        margin: 0px 8px 0 0;
        padding: 3px;
}

#language td {
        padding:2px;
        cellspacing:2px;
}

#language img {
        border: 0;
}

#language a:hover {
        border-bottom: 3px #ff7a21 solid;
        border-top: 30px #ff7a21 solid;
}

#history {
        position:absolute;
        bottom: 0px;
        left: 0px;
        background: url("images/bottomline.gif") right;
        background-repeat: no-repeat;
        height: 32px;
        text-align: left;
        margin: 0px 40px 0px 0px;
        padding: 0px 40px 0px 8px;
        color: #fff;
        font-size: 80%;
        font-weight: bold;
        border: 0;
        vertical-align: bottom;
}
.hishelp {
	display: block;
	padding-top: 10px;
}
#history a {
        color: #fff;
        text-decoration: none;
        padding-left: 2px;
        padding-right: 2px;
}
#history a:hover {
        color: #ff6600;
        background: #fff;
}

#maingallery {
	color: #522100;	
}

#maingallery .headline {
	color: #fff;
	font-size: 180%;
	margin: 40px 8px 20px 8px;
	width: 512px;
	text-align: center;
}

#maingallery .desc {
	text-align: center;	
}

#maingallery a {
	text-decoration: none;
	color: white;	
	padding-left: 2px;
    padding-right: 2px;
}

#maingallery a:hover {
	color: #522100;
	background: white;
}

#maingallery img {
	border: 1px #888 outset;
	margin: 2px 4px 6px 4px;
}

#formmain {
	color: #522100;
	width: 100%;
	text-align: center;
}

#formmain h1 {
	color: #fff;
	font-size: 180%;
	margin: 40px 8px 20px 8px;
	width: 512px;
	text-align: center;
}

#formmain p {
	text-align: center;	
}

#formmain a {
	text-decoration: none;
	color: white;	
	padding-left: 2px;
   padding-right: 2px;
}

#formmain a:hover {
	color: #522100;
	background: white;
}

#formmain img {
	border: 0px;
	margin: 2px 4px 6px 4px;
}

#formmain input {
	border: 1px #888 inset;
	background: #eee;
}

#formmain textarea {
	border: 1px #888 inset;
	background: #eee;
}

#formmain button {
	border: 2px #888 outset;
}

#formmain option {
	border: 0px;
}

#formmain select {
	border: 0px;
}

#formmain table {
	border: 1px #ff7a21 solid;
	width: 600px;
	margin-top: 8px;
	margin-left: 16px;
	margin-right: auto;
	margin-bottom: 8px;
	background: #eeb333;
}

#formmain td {
	border: 0;
	text-align: left;
	margin: -1px;
	padding: 4px 6px 6px 6px;
	border-bottom: 1px #522100 dotted;
}

#formmain tr {
	border: 0;
	padding: 0;
	margin: 0;
}

#links {
	text-align: center;
	width: 512px;
}

#links h2 {
	text-align: center;
}

#links li {
	list-style-type: none;
}

/* Menu CSS */
.buttonscontainer {
width: 120px;
position: absolute;
top: 0;
left: 0;
color: #fff;
text-align: left;
font-size: 10px;
display: block;
}

.buttons lh {
color: #ffffff;
border: 1px solid;
background-color: #ff6600;
padding: 2px;
padding-left: 3px;
font: 12px;
font-weight: bold;
text-decoration: none;
border-color: #ff6600 #aa3300 #aa3300 #ff6600;
margin: 0px;
width: 100%;
text-align: left;
display: block;
}

.buttons a {
color: #ffffff;
border: 1px solid;
background-color: #ff6600;
padding: 2px;
padding-left: 3px;
font: 12px Arial, sans-serif;
font-weight: bold;
text-decoration: none;
border-color: #ff8833 #aa3300 #aa3300 #ff8833;
margin: 0px;
width: 100%;
text-align: left;
display: block;
}

.buttons a:hover {border: 1px solid;
padding-left: 4px;
padding-top: 3px;
padding-bottom: 1px;
padding-right: 1px;
background-color: #ffffff;
border-color: #aa3300 #ff8833 #ff8833 #aa3300;
color: #ff6600;
text-decoration: none;}

#counter {
display:block;
position: absolute;
bottom: 0px;
right: 0px;
}

.filename {
	text-align: center;
	font-size: 10px;
	color: #aa3300;
	}
.subdir {
	color: #ffffff;
	border: 1px solid;
	background-color: #ff6600;
	padding: 2px;
	padding-left: 3px;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
	border-color: #ff6600 #aa3300 #aa3300 #ff6600;
	margin: 0px;
	width: 100%;
	text-align: center;
	display: block;
}