/* 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: 728px;
font: 16px/20px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
background: #e3e3e3 ;
}

/* standard alignments */
h4 { text-align: center  }


.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;
}
.centered { text-align: center; }
.centered-table { text-align: center; margin-left: auto; margin-right: auto;
}
/* Hx tags */

h1 {
font-size: 40px;
font-family: Garamond, Georgia, Times, "Times New Roman", serif;
padding: 20px 0;
}

h2 {
font-size: 24px;
padding: 20px 0;
color: #f33210;
}

h2 a {
color: #f32f0c;
}

h2 a:hover {
color: #000;
}

h3 {
font-size: 18px;
color: #000;
padding-bottom: 3px;
border-bottom: #7b0000 1px solid;
margin-bottom: 10px;
}

p {
padding-bottom: 20px;
}

/* header */

header {
position: relative;
margin-top: 10px;
background: #F5E9DF;
width: 728px;
height: 180px; /* 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;
}

header h1, header p {
position: relative;
z-index: 9999;
width: 600px;
}

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

header h1 {
padding: 30px 0 20px 20px;
font-size: 50px;
color: #7b0000;
}

header p {
padding-left: 20px;
}

/* nav */

nav {
background: #fffffc;
margin: 0 auto;
margin-top: 10px;
width: 728px;
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: #f32f0c;
padding: 0 30px;
line-height: 38px;
}

nav .menu a:hover {
color: #000;
}
/* content and sidebar layout */

#content {
float: left; 
width: 688px; 
margin:10px 0 10px 0; 
padding:5px 20px 5px 20px;
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: 300px; 
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;
}
article h2 { text-align: center;  }
article h5 { 
text-align: left;
color: #009933;
line-height: 24px;
font-size: 20px;
font-variant: small-caps;
padding-bottom: 2px;
 }
/* 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: #F5E9DF;
-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: 728px;
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: center;
font-size: 14px;
}

footer a {
color: #999;
}

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

