/* Propriétés générales */
*{
margin: 0;
padding: 0;
}
html {
height:100%;
}
/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

body {
margin: 0 auto;  
width: 940px;
background-color:#FFCC66; 
line-height: 1;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #666;
font-size: 14px;
line-height: 18px;
height:100%;
}
/* layout */
#container {
float: right;
width: 650px;
}

#content {
margin: 0 280px 0 20px;
position:relative;
min-height:100%;
padding-bottom:20px;
}

#sidebar {
float: left;
overflow: hidden;
width: 280px;
margin-top: 20px;
margin: 0 -240px 0 20px;
}
.menu,
#main,
#wrapper {
margin: 0 auto;
width: 940px;
}

#wrapper {
background: #FFEEBB;
padding: 0 20px;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

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

#fourth {
margin-right: 0;
}

#fourth p {
padding-right: 5px;
}

/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #433335;
}
h2, h2 a {
	background-color:#663366;
	color:#FFFFFF;
	padding-left:5px;
	padding-top:2px;
	padding-bottom:2px;
	font-size:12px;
	font-variant: small-caps;
	position: relative;
	z-index:1;
}
h3 {
color:#663366;
}

a{
color: #663366;
text-decoration:none;
}
a:hover {
color: #FFA840;
}
	
hr {
background-color: #663366;
border: 0;
height: 1px;
margin-bottom: 18px;
clear: both;
}

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;

}
/* header */


header {
margin-top: 20px;
padding: 30px 0 0 0;
margin-right:-40px;
margin-left:-40px;

background: url("../images/header_background.png") repeat-y ;
height:170px;
width:1020px;
/* Border-radius not implemented yet */
	-moz-border-radius: 22px;
	-webkit-border-radius: 22px;
}

header img {
clear: both;
display: block;
}

header>h1 {
position: absolute;
top: 80px;
margin: 0 0 0 20px;
width: 700px;
font-size: 40px;
text-align:center;
}

header>h1 a {
color: #FFCC66;
font-weight: bold;
text-decoration: none;
text-shadow: 0px 2px 3px #433335;
}

header>h3 {
position: absolute;
top: 120px;
margin: 10px 0 0 20px;
width: 700px;
color: #FFA840;
font-style: italic;
text-shadow: 0px 2px 3px #433335;
font-size: 20px;
font-variant: small-caps;
}


/* nav */

nav {

background: #663366;
margin: 0 auto;
margin-right:-20px;
margin-left:-20px;
font-variant: small-caps;
width: 980px;
display: block;
float: right;
/* Border-radius not implemented yet */
-webkit-border-bottom-right-radius: 22px;
-webkit-border-bottom-left-radius: 22px;
-moz-border-radius-bottomright: 22px;
-moz-border-radius-bottomleft: 22px;
border-bottom-right-radius: 22px;
border-bottom-left-radius: 22px;
}

nav .menu {
font-size: 16px;
font-weight: bold;
margin-left: 40px;
}

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

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

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

}

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

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

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

}

nav .menu li:hover ul {
display: block;
position: absolute;
z-index:5;
opacity : 0.9;
    -moz-opacity : 0.9;
    -ms-filter: "alpha(opacity=90)"; /* IE 8 */
    filter : alpha(opacity=90); /* IE < 8 */
}

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

}

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

/* main content */

#main {
overflow: hidden;
padding: 40px 0 0 0;
min-height:550px;
}

#content {
width: 650px;
margin-bottom: 16px;
color: #444;
font-size: 14px;
line-height: 20px;
padding-left: 10px;
border-left: 1px #433335 solid;
min-height:550px;
}

article {
padding: 10px;
}

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

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

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

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
color: #433335;
margin: 0 0 20px 0;
line-height: 1.5em;
text-shadow: 0px 2px 3px #ddd;
}

.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: 12px;
}
#content footer{
position:absolute;
bottom:0px;

}
/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
line-height: 1.5em;
text-shadow: 0px 2px 3px #bbb;
}

aside ul {
list-style: square inside;
margin-bottom: 20px;
}

footer {
margin-bottom: 20px;
clear:both;
font-size:12px;
}
footer div {
		display: table;
		margin: 0 auto;
		padding: 44px 0;
		width: 940px;
		color: #777;
}
#footer-area {
border-top: 4px solid #663366;
margin-top: -4px;
padding: 18px 0;
overflow: hidden;
}


/* class */
.loader1 {
	text-align:center;
	width:100%;
	background-color:white;
	padding-bottom:40px;
	padding-top:20px;
	font-weight:bold;
}
.lien{
cursor:pointer;
}


/* formulaire */
form#form2 {
  //background: #9cbc2c;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 20px;
  width: 550px;
}

form#form2 fieldset {
  border: none;
  margin-bottom: 10px;
}
form#form2 fieldset:last-of-type {
  margin-bottom: 0;
}

form#form2 legend {
  //color: #384313;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 10px;
  text-shadow: 0 1px 1px #c0d576;
}
form#form2 fieldset fieldset legend {
  color: #111111;
  font-size: 13px;
  font-weight: normal;
  padding-bottom: 0;
}
form#form2 ol li {
  background: #b9cf6a;
  background: rgba(255,255,255,.3);
  border-color: #e3ebc3;
  border-color: rgba(255,255,255,.6);
  border-style: solid;
  border-width: 2px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  line-height: 30px;
  list-style: none;
  padding: 5px 10px;
  margin-bottom: 2px;
}
form#form2 ol ol li {
  background: none;
  border: none;
  float: left;
}
form#form2 label {
  float: left;
  font-size: 13px;
  width: 110px;
}
form#form2 fieldset fieldset label {
  background:none no-repeat left 50%;
  line-height: 20px;
  padding: 0 0 0 30px;
  width: auto;
}
form#form2 fieldset fieldset label:hover {
  cursor: pointer;
}
form#form2 input, form#form2 textarea {
  background: #ffffff;
  border: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
  font: italic 13px Georgia, "Times New Roman", Times, serif;
  outline: none;
  padding: 5px;
  width: 350px;
}
form#form2 input:not([type=submit]):focus,
form#form2 textarea:focus {
  background: #eaeaea;
}
form#form2 button {
  background: #865386;
  border: none;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
  color: #ffffff;
  display: block;
  font: 18px Georgia, "Times New Roman", Times, serif;
  letter-spacing: 1px;
  margin: auto;
  padding: 7px 25px;
  text-shadow: 0 1px 1px #000000;
  text-transform: uppercase;
}
form#form2 button:hover {
  background: #663366;
  cursor: pointer;
}
