/* Created by http://freehtml5templates.com */

/* basics */

/* reset */
* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}
pre {
	margin-left: 32px 
}
blockquote {
	margin: 60px;
	width: 80%;
}
/* standard body */
body {
margin: 0 auto;
width: 760px;
font: 16px/22px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
background: #e3e3e3 url(../bkg/black-yellow.gif) fixed ;
}
body.collection {	 background-color: #FFBC79; background-image: url(images/fbm240.jpg);}
 

 
 body.loops {
	background-color: #ffd700;
	background-image: url(loops/bbb/035.html);
	background-attachment: fixed;
}

body.past { background: #FFFF99 url(bkg/bluelines.html);}
 
 span.red { color:#f33210 }
/* standard alignments */

body.schematics {color: #000000; background: url(schematics/images/bkg-bogen.html) fixed;}

.alignleft {
float: left;
}

img.alignleft {
margin: 5px 10px 0 0; 
}

.alignright {
float: right;

}

.alignmiddle {
float: center;
}
img.alignmiddle {
margin: 5px 10px 0 0; 
}
img.alignright {
margin: 5px 0 0 10px; 
border: 0;
}

.center {
text-align: center;  padding: 10px 0 10px;
}
.centered { text-align: center; }
.centered-table { text-align: center; margin-left: auto; margin-right: auto;
}


@font-face {
	font-family: 'DANOISERegular';
	src: url('../fonts/danoisemedium-webfont.eot');
	src: local('?'), url('../fonts/danoisemedium-webfont.woff') format('woff'), url('../fonts/danoisemedium-webfont.ttf') format('truetype'), url('../fonts/danoisemedium-webfont.svg#webfont7nMTraqe') format('svg');
	font-weight: normal;
	font-style: normal;
}
/* Hx tags */
 
h2 {
font-family: DANOISERegular, Arial, Verdana, sans-serif;
text-align: center; 
font-size: 30px;
padding: 20px 0;
color: #f33210;
font-weight: 600;
} 
/* Language */
h3 {
text-align: center;
font-size: 16px;
font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;
color:#8b1b13;
padding: 10px 0 10px 0;
}

h4 { 
text-align: center;
margin: 0 20px 0 20px;

 }

h5 { 
text-align: left;
color: #009933;
line-height: 24px;
font-size: 20px;
font-variant: small-caps;
padding-bottom: 2px;
margin-left: 20px;

 }

p {
padding: 0 20px 20px 20px;
}

/* header */

header {
position: relative;
margin-top: 10px;
background: #F5E9DF;
width: 760px;
height: 170px; /* for IE */
min-height: 180px; /* for not-IE */
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}


#headerlogo {
position: absolute;
top: 0px;
right: 0px;
}

/* nav */

nav {
background: #fffff6;
margin: 0 auto;
margin-top: 10px;
width: 760px;
display: block;
float: left;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

nav .menu {
font-size: 16px;
font-weight: bold;
margin-left: 12px;
}

nav .menu ul {
list-style: none;
margin: 0;
}

nav .menu li {
float: left;
position: relative;
}

nav .menu a {
display: block;
text-decoration: none;
color: #FFF;
padding: 0 20px;
line-height: 38px;
}

nav .menu a:hover {
color: #000;
}

/* nav 1-level dropdowns */
nav .menu li ul { 
display: none; 
}

nav .menu ul li a {
display: block;
text-decoration: none;
color: #f32f0c;
background: #fffff6;
margin-left: 1px;
white-space: nowrap;
}
nav .menu ul li a:hover { 
background: #fff; 
}

nav .menu li:hover ul {
display: block;
position: absolute;
}

nav .menu li:hover li {
float: none;
}

nav .menu li:hover a { 
background: #fff; 
}

nav .menu li:hover li a:hover { 
background: #7b0000; 
}

/* content and sidebar layout */

#content {
float: left; 
width: 740px; 
margin:10px 0 10px 0; 
padding: 5px 10px 5px 10px;
background-color: #fffff6;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}


/* article */
table.fifth { 
width:600px; margin-left: auto; margin-right: auto; }
td.f { 
width: 16%;
text-align: center;
 }

 
.articlecontent p a {
color: #7b0000;
}

.articlecontent p a:hover {
color: #000;
}

 



/* box shadow on pics */
.articlecontent img {
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}


/* footer */
footer {
clear: both;
float: left;
background: #7b0000;
width: 760px;
color: #fff;
margin-bottom: 10px;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

footer p {
text-align: right;
font-size: 11px;
padding-right: 20px;
}

footer a {
color: #999;
}

footer a:hover {
color: #FFF;
text-decoration: none;
}

