html, body
{
	height: 100%;
}

@font-face {
 font-family: 'Colin Sans';
 src: url(ColinSans.eot);
 src: local('Colin Sans'), local('Colin Sans'), 
        url(ColinSans.otf) format('opentype'); }
@font-face {
 font-family: Folks;
 src: url("Folks-Normal.eot") /* EOT file for IE */
}
@font-face {
 font-family: Folks;
 src: url("Folks-Normal.ttf") /* TTF file for CSS3 browsers */
}


h1, h2, h3, h4, h5, h6, .menu
{
	font-family: 'Colin Sans';
	color: #977a3d;
	text-shadow: #000000 1px 1px 1px;
	font-weight: normal;
}

a.menu
{
	font-size: 18px;
}

body {
  font-family: "Folks", Arial, helvetica, sans-serif;
  color: #2f2615;
  font-size: 14px;
  margin-top: 500px;
  background-image: url('./gfx/tex.png');
  background-color: white;
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
	margin: auto;
	z-index: 1;
}

td {
	font-family: "Folks", Arial, helvetica, sans-serif;
  font-size: 14px;
}

th, td.header {
	font-family: "Folks", Arial, helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
}


div.header
{
	position: fixed;
  	height: 228px;
	left: 0px;
	right:0px;

	top: 0px;
	
	background-color: white;
  	background-image: url('./gfx/header.png');
	background-position: center;
	background-repeat: no-repeat;
	
	border-bottom: solid 2px black;
	z-index: 7;
}

div.logo
{
	position: fixed;
  	height: 234px;
	left: 50%;
	width: 1024px;
	top: 0px;
	margin-left: -512px;
	
  	background-image: url('./gfx/logo.png');
	background-position: center;
	background-repeat: no-repeat;
	z-index: 10;
}

img.header
{
	position: absolute;
	padding-top: 10px;
	display: block;
	right: 10px;
	


}


div.body
{
	position: absolute;
	top:  234px;
	bottom: 0px;
	width: 650px;
	left: 50%;
	margin-left: -325px;
	padding: 10px;
	/*overflow: auto;*/
	z-index: 5;
}


div.menu
{
	position: fixed;
	left: 50%;
	margin-left: -512px;
	width: 1024px;
	height: 20px;

	top: 203px;
	z-index: 2000;

}

a
{
	color: #a18133;
	text-decoration: none;
	font-weight: bold;
}

a:hover
{
	color: #ddb75b;
	text-decoration: underline;
}

table.menutop
{
	position: fixed;
	
	left: 50%;
	margin-left: -512px;
	width: 1024px;
	padding-left: 80px;
	height: 20px;
	overflow: none;

	z-index: 0;
}
table.menutop td
{
	padding-right: 80px;
	vertical-align: top;
	height: 30px;
	overflow: none;
}

table.hovermenu
{
	/*visibility: hidden;*/
	visibility: hidden;
	z-index: 1;
	background-color: white;
	position: absolute;
	margin-left: -10px;
	margin-top: 3px;
	padding-top: 5px;
	border-left: solid 2px black;
	border-bottom: solid 2px black;
	border-Right: solid 2px black;
}


img
{
	border: none;
}

li
{
	/*display: table-cell;*/
	list-style-type: none;
	background-image: url('./gfx/point.png');
	background-repeat: no-repeat;
	background-position: 0px 2px; 
	padding-left: 18px; 
	margin-bottom: 2px;
	margin-top: 2px;
	margin-left: -30px;
	/*height: 18px;*/
}
div.adminmenu
{
	position: fixed;
	top: 150px;
	right: 0px;
	width: 150px;
	bottom: 0px;
	z-index: 100;
}
.adminmenu a
{
	display: block;
	font: bold 11px Arial;
    text-decoration: none;
    background-color: #222222;
    color: #ffffff;
    padding: 2px 6px 2px 6px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}


/*@media only screen  
and (max-device-width : 480px) 
and (orientation : portrait) 
{ 
	div.page_placeholder, div.logo, div.menu
	{
		width: 310px;
			position: relative;
			z-index:1;

	}
	div.page_placeholder, 
	div.menu, 
	div.logo
	{
		margin-top: 5px;
		top:auto;
		position: relative;
		z-index:1;
	}
	div.page_content
	{
		width:290px;
		z-index:1;
	}
	div#pagetop_fix
	{
		width: 300px;	position: absolute;
		display: none;

	}
	td.menutop
	{
		display:block;
			z-index:1;
	}
	div#overflow_hide
	{
		display:none;
	}
}*/
@media only screen  
and (max-device-width : 480px){ 

	div.body, div.header, div.menu, table.menutop
	{
		width: 460px;
		position: relative;
		z-index:1;
		margin: auto;
		left: auto; 
		right: auto;
		top: auto;
	} 
	div.header, div.menu, table.menutop
	{
		width: 100%;
		padding: 0;
		top: auto;
	}
	div.logo
	{
		position: absolute;
		left: auto;
		width: 100%;
		margin: auto;
	}

	a.menu, h1
	{
		font-size: 36px;
	}
	div.header
	{
		margin-top: 5px;
		top:auto;
		position: relative;
		z-index:1;
	}
	table.menutop td
	{
		padding: 0;
		text-align: left;
		display:block;
		z-index:1;
		height: 38px;
	}
	table.hovermenu
	{
		position: absolute;
		margin: auto;
		padding: 0;
		z-index: 1;
		display: inline;
		border-right: none;
		border-bottom: none;
	}
	table.hovermenu tr
	{
		display: inline;
	}


}