/* Cree par Philippe Vuillaumier en modifiant un free design trouvé sur http://freehtml5templates.com */

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

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

@font-face {
	font-family: 'QikkiRegRegular';
	src: url('Qarmic_sans_Abridged-webfont.eot?');
	src: url('Qarmic_sans_Abridged-webfont.eot?#iefix') format('embedded-opentype'),
		 url('Qarmic_sans_Abridged-webfont.ttf') format('truetype');
}

body {
line-height: 1;
background: #ffd838;
font-family: 'QikkiRegRegular',Verdana, Arial, Helvetica, sans-serif;
color: #666;
font-size: 16px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 940px;
margin: 0 auto;
margin-top: 5px;
margin-bottom: 5px;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

nav {
width: 940px;
height: 50px;
margin: 0 auto;
background: #315fa9;
}

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

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

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

a:link, a:visited {
color:#004C9A;
}

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

hr {
background-color: #ffd838;
border: 0;
height: 1px;
margin-bottom: 18px;
clear: both;
}

p {
margin-bottom: 18px;
text-align: justify;
}

li {
padding-left: 5px;
}

/* nav */

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

nav .menu ul {
margin: 0;
padding: 17px 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: #FFF;
}

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

/** HEADER */

header h1, header h2 {
margin: 0;
padding: 0 0 0 30px;
line-height: normal;
}

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

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

header h1 a:hover { 
text-decoration: underline; 
}

header h2 {
text-decoration: none;
font-size: 32px;
color: #ffe16a;
text-shadow: 0px 2px 3px #333;
}

#headerlogo {
position: absolute;
right: 43px;
}

/** ARTICLES **/

article {
height: 300px;
}

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;
text-align: justify;
}

#content strong{
font-weight: bold;
text-align: justify;
}

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

#content h1, h2, h3, h4, h5, h6 {
color: #004C9A;
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: 30px;
}

#backtop {
position: fixed;
right : 40px; bottom: 20px;
outline: none;
overflow:hidden;
color:#fff;
text-align:center;
background-color:rgba(49,79,96,0.84);
height:40px;
width:40px;
line-height:40px;
font-size:14px;
border-radius:2px;
cursor:pointer;
transition:all 0.3s linear;
z-index:999999;
opacity:1;
display:none;
}

#backtop:hover {
background-color:#27CFC3;
}

#backtop.mcOut {
opacity:0;
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
}

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

aside li a {
display: block;
text-decoration: none;
}

aside li a:hover {
text-decoration: underline;
}

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

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

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

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

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