/* based on a template by http://freehtml5templates.com; modified by dedide December 2010 */

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

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

article {
display: none;
}

#red {
display: block;
}
body {
line-height: 1;
background: #800030;
font-family:Tahoma, Arial, Helvetica, sans-serif;
color: #666;
font-size: 14px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 940px;
margin: 0 auto;
margin-top: 5px;
margin-bottom: 5px;
padding-top: 10px;
padding-bottom: 10px;
-webkit-box-shadow: 3px 3px 7px #111;
-moz-box-shadow: 3px 3px 7px #111;
box-shadow: 3px 3px 7px #111;
-webkit-border-radius:10px;
-moz-border-radius:10px;
-khtml-border-radius:10px;
border-radius:10px;
background: #E00040;
}

nav {
font-family: "Trebuchet MS", serif;
width: 940px;
height: 45px;
margin: 0 auto;
background: #E00040;
}


#main {
width: 940px;
margin: 0 auto;
padding: 15px 0 10px 0;
background: #fdeded;
overflow: hidden;
}

#content {
float: right;
width: 590px;
margin-right: 30px;
padding-right: 15px;
}

#sidebar {
float: left;
padding-left: 15px;
padding-right: 10px;
margin-left: 5px;
width: 270px;
background: #ede6dd;
}

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

/* basics */

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

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

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

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}

/* nav */

nav .menu {
font-size: 14px;
font-weight: bold;
}

nav .menu ul {
margin: 0;
padding: 15px 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: 0px 15px;
text-decoration: none;
color: #ede6dd;
}

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

/* sidebar */
aside h1 {
  font-size: 1.5em;
  line-height: 2.5em;
}

aside ul {
list-style: none;
margin-bottom: 20px;
margin-top: -15px;
}

span.initial {
color: #E00040;
}

/** ARTICLES **/
article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-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 {
color: #333;
margin: 0 0 20px 0;
line-height: 1.5em;
}

#content 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: 24px;
margin-top: 4px;
}

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

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

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

/* footer widget blocks */

#footer-area {
font-family: Trebuchet MS, serif;
background: #E00040;
color: #ede6dd;
font-size: 90%;
padding: 18px 0;
overflow: hidden;
}

#footer-area  li {
margin-bottom: 5px;
}

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

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

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

footer p {
margin-top: -15px;
}

#content img {
max-width: 100%;
}
#sidebar img {
width: 100%;
}

/* Download button (using variable) */

.button a:link {
color: white;
text-decoration: none;
}
.button a:visited {
color: grey;
text-decoration: none;
}
.button a:hover {
text-decoration: none;
}
.button a:active {
color: white;
text-decoration: none;
--button-color: #880000;
}

.button {
border: 1px solid red;
background-color: var(--button-color);
box-shadow: 10px 10px 5px #444444;
border-radius: 5px;
padding: 20px;
font-size: 1.5em;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
width: 100px;
}

:root {
--button-color: red;
}
