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

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

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

body {
line-height: 1;
background-color: #FFFFFF;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E7F3DB), to(#FFFFFF));
background: -moz-linear-gradient(top, #E7F3DB 0%, #FFFFFF 100%);
background: linear-gradient(top, #E7F3DB 0%, #FFFFFF 100%);
background-repeat: no-repeat;
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;
border-radius: 10px;
}

nav {
width: 940px;
height: 50px;
margin: 0 auto;
background: #8ec83e;
margin-top: -5px;
}

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

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

#sidebar {
float: right;
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: #333;
}

a:link, a:visited {
color:#8055ae;
}

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

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}

/* nav */

nav .menu {
    font-size: 16px;
    font-weight: bold;
    }
    nav .menu ul {
        margin: 0;
        padding: 14px 0 0 20px;
        list-style: none;
        line-height: normal;
    }
    nav .menu li {
        display: block;
        float: left;
        }
        nav .menu a {
            display: block;
            float: left;
            margin-right: 5px;
            padding: 3px 15px;
            text-decoration: none;
            text-shadow: 0 0 2px white;
            color: #8055ae;
            }
            nav .menu a:hover {
                text-decoration: underline;
                }
            nav .menu a.active {
                background: #b3de78;
                -moz-border-radius: 6px;
                -webkit-border-radius: 6px;
                border-radius: 6px;
                }


/** HEADER */

header {
padding: 20px 0 0 0;
}

header>h1 {
float: left;
margin: 0 0 18px 20px;
width: 600px;
font-family: Georgia, serif;
font-style: italic;
font-size: 45px;
line-height: 36px;
color: #555;
}

header>h1 a {
color: #333;
font-weight: bold;
text-decoration: none;
}

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

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

#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: #333;
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: block;
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;
}

aside ul {
    list-style: square;
    color: #8ec83e;
    margin: -15px 0 15px 15px;
    }
    aside ul li {
        padding: 3px 0;
    }
    aside ul a.active {
        font-weight: bold;
    }

#footer-area {
background: #e7f3db;
color: #FFF;
font-size: 90%;
padding: 18px 20px;
overflow: hidden;
/* curved border radius */
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}

.footer-segment {
float: left;
margin-right: 20px;
margin-left: 20px;
width: 190px;
}

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

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

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

