html {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	height:100vh;
	width:100%;
}


body {
	min-height:100%;
	width:100%;
	box-sizing: border-box;
	font-family: verdana;
	font-size: 1.1em;
	line-height: 1.25em;
	text-align: left;
	margin: 0;
	padding: 0;
}

div {
	box-sizing: border-box;
	//text-shadow: -1px 0px #000, 0px 1px #000, 1px 0 #000, 0 -1px #000;
}

div#layout {
	box-sizing: border-box;
	max-width: 1024px;
	min-width: 960px;	
	width: 75vw;
	margin: 0px auto 0px auto;
	position:relative;
}

div#main {
	overflow: hidden;	
	width:100%;
	min-height:200px;
	box-sizing: border-box;
	vertical-align: top;
	border:1px #11141f solid;
	padding:1em;
}


div#header {
	transition: opacity 1s, background-color 2s ease;
	opacity: 0.4;
	width: 95%;
	min-height:100px;
	height: 13vh;
	margin-top:1em;
	margin-bottom: 1em;
	margin-left:auto;
	margin-right:auto;
}

#header:hover {
	transition: opacity 1s, background-color 2s ease;
	opacity:1;
}

A#logolink {
	display:block;
	width: 100%;
	height: 100%;
}

div#menu {
	display: flex;
	justify-content:space-around;
	flex-wrap:wrap;
	align-items: center;
	flex-basis: auto;
	
	width:100%;
	min-height: 1.5em;
	padding: 8px 12px 8px 8px;
	border: 1px solid;
	border-bottom:0px;
	border-top-left-radius:30px;
}

div#menu > A {
	margin: 0.25em 1em 0.25em 1em;
}


div#footer {
	width:100%;
	box-sizing: border-box;
	
	padding: 1em 0 1em 0;
	
	text-align: center;
	border:1px solid;
	border-top:0px;
	font-size: 80%;
	border-bottom-right-radius:10px;
}


div#home {
	vertical-align: top;
	padding: 0 0 0 0;
}

div#news {
	font-size:90%;
	overflow: auto;
	height: 40vh;
	text-align:left;
	padding: 5px 4px 2px 4px;
	border:1px solid;
}

div#button {
	display: flex;
	justify-content:space-around;
	flex-wrap:wrap;
	align-items: center;
	height: auto;
	padding-top: 1em ;
}

div#end {
clear:both;
}

.screenshot {
  box-sizing: content-box;
  min-width:150px;
  max-width:25%;
  text-align: center;
  padding:8px;
  border:1px solid;
  font-size:90%;  
}

.right {
  float:right;
  margin-left:4px;
}

.left {
  float:left;
  margin-right:6px;
}

img{border: 0;}
img.button{margin: 2px 0 1px 0; vertical-align: top; opacity: 0.40; transition: opacity 2s ease; display:inline-block;}
img.button:hover{opacity: 1;transition: opacity 0.5s ease}

h1 {
	font-family: Tahoma;
	text-align: left;
	font-size:175%;
	text-shadow: -1px 0px #000, 0px 1px #000, 1px 0 #000, 0 -1px #000;
}

h4 {
	margin-bottom:2px;
    padding-bottom: 2px;
}

hr {
    padding-top: 5px;
    padding-bottom: 5px;
}

p {
text-align:left;
margin: 2px 4px 8px 4px;
}

A:link {
	transition: 1s ease;
	text-shadow: -1px 0px #000, 0px 1px #000, 1px 0 #000, 0 -1px #000;
}

A:hover {
	transition: 0.1s ease;
}

.stylebuttons {
	//margin-left:-120px;
	//float:right;
	text-align:right;
	margin-right:1em;
}

.counter {
  opacity: 0.40;
}

.stylebutton {
  float:right;
  opacity:1;
  padding: 0 3px 0 3px;
}

.stylebutton > A:hover {
	opacity:1;
}


table.gallery {
border:1px solid;
border-spacing: 0px;
border-collapse: collapse;
}
table.gallery td {
width: 200px;
text-align: center;
padding: 1px;
border:1px solid;
}

dt {
  font-weight: bold;
}

dd {
  margin-left:20px;
}




@media only screen and (max-width: 980px) {
	div#layout {
		width: 100%;
		min-width: 400px;		
	}
	div#header {
		border-left: 0px;
		border-right:0px;
	}
	div#main {
		border-left: 0px;
		border-right:0px;
	}
	div#menu {
		border-left: 0px;
		border-right:0px;
	}
	div#footer {
		border-left: 0px;
		border-right:0px;
	}
}





