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

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

body {
line-height: 1;
background: #8c8c8c;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #666;
font-size: 14px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 940px;
margin: 0 auto;
margin-top: 10px;
margin-bottom: 10px;
}

header {
width: 940px;
height: 200px;
margin: 0 auto;
background: #fff url(images/headerimg.jpg) no-repeat left top;
}

#main {
width: 940px;
margin: 0 auto;
background: #fff;
overflow: hidden;
}

#content {
float: right;
width: 940px;
}

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

/* basics */

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

a:link, a:visited {
color: #386378;
text-decoration: none;
outline: none;
}

a:hover, a:active {
color: #333;
text-decoration: underline;
}

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}

/* nav */

nav {
background: #f7e33f;
margin: 0 auto;
width: 940px;
display: block;
float: left;
}

nav .menu {
font-size: 16px;
font-weight: bold;
text-align: center;
margin-left: 16px;
margin-top: 5px;
}

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

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

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

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

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

nav .menu ul li a {
display: block;
text-decoration: none;
color: #000000;
background: #f7e33f;
margin-left: 1px;
width: 90px;
white-space: nowrap;
}
nav .menu ul li a:hover { 
background: #f7e33f; 
}

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

nav .menu li:hover li {
float: none;
font-size: 12px;
}
nav .menu li:hover a { 
background: #f7e33f;
}

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

/** HEADER */

header h1 {
margin: 0;
padding: 0 0 0 30px;
color: #fff;
font-weight: 900;
line-height: normal;
}

header h1 { 	
float: left;
padding-top: 20px; 
}

header h1 a:link, header h1 a:visited {
font-size:  23px;
text-decoration: none;
color: #fff;
}

header h1 a:hover { 
color:#999;
}

/** ARTICLES **/

article {
padding: 30px 20px 5px 40px;
}

#contentbottom {
    background-color: #fff;
	/*background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f5f5f5), to(#d5d5d5), color-stop(.6,#e5e5e5));
	background-image: -moz-linear-gradient(19% 75% 90deg, #d5d5d5, #e5e5e5, #f5f5f5 100%);*/
}

.article_columns {
	text-align: justify;
	}
	
.article_columns p {
padding-right: 20px;
}

article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #b4b4b4;
-moz-box-shadow: 3px 3px 7px #b4b4b4;
}

#content h1, h2,  h4, h5, h6 {
color: #000;
margin: 0 0 20px 0;
}

#contentbottom h3 {
color: #999;
margin: 0 0 20px 0;
}

#content ul, li {
list-style-type: none;
}

#contentbottom img {
border: 1px solid #666;
}

/* footer widget blocks */

#footer-area {
background: #f7e33f;
color: #000000;
font-size: 90%;
padding: 18px 0;
overflow: hidden;
}

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

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

footer a:link, footer a:visited {
color: #666;
}

footer a:hover {
color: #999;
}

footer ul {
margin-top: -18px;
}

footer p {
margin-top: -17px;
color: #000;
}