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

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

body {
line-height: 1;
background: url(images/bg.jpg) no-repeat center center fixed;
     -moz-background-size: cover;
     -webkit-background-size: cover;
     -o-background-size: cover;
     background-size: cover;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #333;
font-size: 14px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 940px;
margin: 0 auto;
margin-top: 20px;
margin-bottom: 20px;
border: 3px solid #888;
background: #fff;
/* curved border radius */
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

nav {
width: 940px;
height: 50px;
margin-left: auto;
margin-right: auto;
background: #411576;
margin-top: -5px;
}

footernav {
width: 940px;
height: 50px;
margin-left: auto;
margin-right: auto;
background: #411576;
margin-top: -5px;
}

#main {
width: 940px;
margin: 0 auto;
padding-top: 30px;
background: #FFF url(images/colbg.png) repeat-y;
overflow: hidden;
}

#content {
float: right;
width: 640px;
margin-right: 30px;
}

#sidebar {
float: left;
padding-left: 20px;
width: 220px;
}

footer {
width: 940px;
margin: 0 auto;
clear: both;
}

/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #
}

a:link, a:visited {
color: #012A90;
}

a:hover, a:active {
color:#411576;
}

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}

/* nav */

nav .menu {
font-size: 16px;
font-weight: bold;
margin-left: auto;
margin-right: auto;
padding: 15px 15px 0 15px;
}


nav .menu a {
display: block;
text-align: center;
margin-left: auto;
margin-right: auto;
padding: 0px 10px;
text-decoration: none;
color: #FFFF66;
}

nav .menu a:hover {
text-decoration: underline;
color: #AEF65D;
}

/* footer menu */

footernav .footermenu {
font-size: 16px;
font-weight: bold;
margin-left: auto;
margin-right: auto;
padding: 5px 5px 0 5px;
}

footernav .footermenu a {
display: block;
text-align: center;
margin-left: auto;
margin-right: auto;
padding: 0px 10px;
text-decoration: none;
color: #FFFF66;
}

footernav .footermenu a:hover {
text-decoration: underline;
color: #AEF65D;
}

/** HEADER */

header {
padding: 20px 0 0 0;
}

header>a>img {
padding: 0 0 0 10px;
}

header>h1 {
float: left;
margin: 0 0 18px 10px;
width: 600px;
font-size: 40px;
font-weight: bold;
line-height: 36px;
}

header>h1 a:link, header>h1 a:visited {
text-decoration: none;
color: #FF0B3F;
text-shadow: 0px 2px 3px #333;
}

header>h1 a:hover,  header>h1 a:active {
text-decoration: underline;
color: #AEF65D;
}

header>h2 {
color: #0033CC;
clear: right;
float: right;
font-style: italic;
font-size: 24px;
margin: 14px 10px 18px 0;
}

/** ARTICLES **/
article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

article .eventtable th, article .eventtable td {
padding: 8px;
vertical-align: center;
}

article .eventtable h3 {
vertical-align: center;
margin: 0 auto;
}

article .eventtable h4 {
vertical-align: center;
margin: 0 auto;
clear: none;
}

article .eventtable td:img{
vertical-align: middle;
}

article .noheader h4 {
vertical-align: center;
margin: 0 auto;
clear: none;
}

#content p, ul, ol, hr {
margin-bottom: 24px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
color: #0033CC;
margin: 0 0 20px 0;
line-height: 1.5em;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 10px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 10px;
}

.aligncenter, img.aligncenter {
clear: both;
display: inline;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
text-shadow: 0px 2px 3px #ddd;
}

aside ul {
list-style: square;
color: #bbb;
margin: -15px 0 15px 25px;
}

#footer-area {
background: #411576;
color: #FFF;
font-size: 90%;
padding: 15px 0 10px 5px;
overflow: hidden;
/* curved border radius */
-moz-border-radius-bottomright: 8px;
-moz-border-radius-bottomleft: 8px;
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
}

.footer-segment {
float: left;
margin-right: 10px;
margin-left: 10px;
width: 210px;
}

footer aside h4 {
color: #FFFFFF;
font-size: 16px;
line-height: 1.5em;
}

footer ul {
list-style: none;
margin: -15px 0;
}

footer a:link {
color: #FFFF66;
}
footer a:visited {
color: #FF6666;
}

footer a:hover { 
text-decoration: underline; 
color: #00FF00;
}

footer p {
margin-top: -15px;
color: #faf0e6;
}

.copyright {
text-align:center;
}
