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

/* basics */

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

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

/* standard body */
body {
margin: 0 auto;
width: 960px;
font: 16px/22px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
background: #e3e3e3 url(images/dkredblk.gif) ;
background-attachment: fixed;
}

 
 
 span.red { color:#f33210 }
/* standard alignments */



.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;
}
pre {
	margin-left: 20px;
}

pre.textsmall { 
	margin-left: 20px;
	font-size: 8px;

 }

@font-face {
	font-family: 'SquadaOne-Regular';
	src: url('../fonts/SquadaOne-Regular.ttf');
}

h2 {
font-family: 'SquadaOne-Regular', 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: 960px;
height: 220px; /* for IE */
min-height: 220px; /* 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: #fef2bd;
margin: 0 auto;
margin-top: 10px;
width: 960px;
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: 30px;
}

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

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

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

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

/* 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;
}
aside {
float: right;
text-align: left; 
width: 190px; 
margin:0; 
padding:0;
}

/* 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;
}

/* sidebar */
aside section {
margin: 10px 0 0 0;
padding: 10px 15px;
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;

}

aside section ul {
margin: 0 0 0 20px;
color: #7b0000;
}

aside section ul li a {
text-align: center;
display: block;
text-decoration: none;
color: #000;
}

aside section ul li a:hover {

color: #ccc;
}

/* footer */
footer {
clear: both;
float: left;
background: #fef2bd;
width: 960px;
color: #dc143c;
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: center;
font-size: 14px;
color: black;
}

footer a {
color: #4169e1;
}

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

