/**
 * Layout styles
 */

* {
	margin: 0;
	padding: 0;
	border: 0px;
}

body {
    text-align: center;

	background-attachment:fixed;
	background-color:#CCCCC0;
	background-image:url("../images/background.jpg");
	background-position:50% 0;
	background-repeat:repeat-x;
}

div#container {
    width: 770px;
    margin: auto;
    margin-bottom:30px;
    margin-top:30px;
    /*padding: 30px 0px;*/
    padding: 0px 7px 0px 8px;
    text-align: left;
}

div#bottom-container {
    background: transparent url("../images/background_border_bottom.gif") no-repeat 0 100%;	
    padding-bottom:10px;
}

div#top-container {
	background: transparent url("../images/background_border_top.gif") no-repeat;
	padding-top:10px;
}

div#content-container {
	background:#cccbc5;
	padding: 0 7px 0 8px;
}

div#header {
	 height: 165px;
    margin-bottom: 15px;
}

div#header .r {
	/* allow for better flags positionning */
	position: relative;
	height: 136px;
}

div#header h1 {
    float: left;
    width: 510px;
    display: inline; /* IE */
    position: relative;
    top: -13px;
    left: 8px;
    border-top: 5px solid #7d0e27;
    padding: 1em 0 0 0.5em;
}

div#logo {
    float: right;
    margin: 1px 15px 15px 0;
	border-width: 0;
}

div#menu {
	border-top: 1px solid #b3b2aa;
	height: 32px;
}

div#menu ul {
	/*height: 24px;*/
	padding: 10px 0 0 15px;
}

div#menu ul li {
	display: inline;
	/*height: 34px;*/
	margin-right: 20px;
}

div#menu ul li a {
	display: inline-block;
	/*height: 16px;*/
	padding-bottom: 22px;
}

div#flags {
	position: absolute;
	/*right: 30px;*/
	left: 681px;
	top: 105px;
}

div#flags a {
	display: block;
	float: left;
	margin-right: 6px;
	padding: 5px 0 5px 5px;
}

/* http://alistapart.com/articles/negativemargins/ */
div#article-wrapper {
    width: 100%;
    float: left;
    margin-right: -225px;
}

div#article {
    margin-right: 225px;
}

div#article .r {
	padding: 0px 11px 1px 10px;
}

div#article .bg {
	padding: 0.5em;
}

div#content {
	margin-top:-15px;	
}

div#content p {
    padding-top: 12px;
}

div#column {
    float: right;
    width: 217px;
}

div#column .bd .r {
    padding-left: 7px;
}

div#column div.inter {
	height: 5px;
	font-size: 0;
}

#news, #footer {
    margin-top: 15px;
}

#news ul {
    height: 69px;
	font-size: 11px;
}

#news ul li {
    position: relative;
    display: inline;
    height:80px;
    float: left;
    top: -8px;
    padding-top: 4px;
	line-height: 15px;
}

#news span {
    margin: 0 12px;
}

#news span.text {
	display: block;
	color: #6D6C65;
}

#news span.text a {
	color: #800E28;
}

#news span.link {
	display: block;
	font-style: italic;
	color: #999;
}
 
#news ul li.actu0 {
    width: 79px;
    background: url("../images/news_twitter.png") no-repeat 2px 2px;
}

#news ul li.actu0 a {
    width: 71px;
    height: 70px;
    display: block;
    font-size: 11px;
	color: #800E28;
	padding: 10px 0 0 8px;
}

#news ul li.actu1 {
    width: 224px;
}

#news ul li.actu2 {
    width: 223px;
    border: 1px solid #b4b3ab;
    border-width: 0 1px;
}
#news ul li.actu3 {
    width: 222px;
}

#news img {
    position: absolute;
    left: 8px;
}

#news a {
	font-weight: normal;
}

.clear {
	clear: both;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.nowrap {
    white-space: nowrap;
}

/**
 * Design styles
 */

body {
    font-family: sans-serif;
    font-size: 62.5%; /* http://www.blogherald.com/2006/09/08/css-tips-and-tricks/ */
    line-height: 1em;
}

h1, h3, div#content p.chapeau {
    font-size: 1.2em;
    text-transform: uppercase;
    line-height: 1.5em;
}

div#content p.chapeau {
	font-weight:bold;
	margin:0;
	padding:0;
	color: #838278;
}

h1, h2 {
    color: #7d0e27;
}

h1 span {
	display: none;
}

h3 {
	margin-top:25px;
    color: #838278;
}

h2 {
    font-size: 16px;
    line-height: 1.25em;
    font-weight: bold;
    margin-bottom: 1em;
	text-transform: uppercase;
}

a {
	color: #6d6c65;
	text-decoration: none;
}

a:hover {
	color: #7d0e27;
	text-decoration: none;
}

em {
	font-style:normal;
	font-weight:bold;	
}

div#menu ul {
    list-style-type: none;
}

div#menu ul li {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    color: #777777;
}

div#menu ul li a {
	color: #777777;
    text-decoration: none;
}

#menu ul li a:hover,
#menu ul li a.selected {
	color: #800E28;
}

#menu ul li a:hover,
#menu ul li a.selected,
#menu ul li.active a {
	background: transparent url("../images/menu_underscore.png") repeat-x bottom left;
}

div#flags a img {
	border: 2px solid #ffffff;
}

div#flags a.current img {
	border-color: #cccbc5;
}

div#article, div#column,
div#news, div#footer {
    line-height: 1.2em;
}

div#article p {
	text-align:justify;	
}

p {
    font-size: 1.2em;
    line-height: 1.2em;
}

div#article {
    color: #666666;
}

div#article .bg {
	background: #f5f5f4 url("../images/background_article.png") repeat-x top left;
}

div#footer {
	position: relative;
}

div#footer p {
    color: #6d6c65;
    font-size: 1em;
    background: transparent url("../images/picto_arrow.gif") no-repeat 2px center;
    padding-right: 7%; /* exces logo */
    padding-left: 16px;
}

div#footer p#exces {
	background-image: none;
	padding: 0;
	position: absolute;
	right: 5px;
	top: 0;
}

/* Rounded corners technique taken and (slightly) extended from
   http://www.schillmania.com/content/entries/2006/04/more-rounded-corners/ */
.corners .rc-round,
.corners .rc {
    font-size: 1px;
}

.corners .hd-round,
.corners .hd,
.corners .ft-round,
.corners .ft,
.corners .rc-round,
.corners .rc {
    height: 10px;
}

.corners .hd-round,
.corners .hd,
.corners .ft-round,
.corners .ft,
.corners .bd {
    margin-right: 10px;
}

.corners .rc, .corners .rc-round, .corners .r {
    margin-right: -10px;
}

.corners .hd-round {
    background: url("../images/corner_round_top_left.png") no-repeat;
}

.corners .hd-round .rc-round, .corners .hd .rc-round {
    background: url("../images/corner_round_top_right.png") no-repeat right 0px;
}

.corners .hd {
    background: url("../images/corner_top_left.png") no-repeat;
}

.corners .hd .rc, .corners .hd-round .rc {
    background: url("../images/corner_top_right.png") no-repeat right 0px;
}

.corners .bd {
    background: url("../images/content_background_left.png") repeat-y 0px 0px;
}

.corners .bd .r {
    padding: 0px 3px 0px 2px;
    background: url("../images/content_background_right.png") repeat-y right 0px;
}

.corners .ft {
    background: url("../images/corner_bottom_left.png") no-repeat;
}

.corners .ft .rc, .corners .ft-round .rc {
    background: url("../images/corner_bottom_right.png") no-repeat right 0px;
}

.corners .ft-round {
    background: url("../images/corner_round_bottom_left.png") no-repeat;
}

.corners .ft-round .rc-round, .corners .ft .rc-round {
    background: url("../images/corner_round_bottom_right.png") no-repeat right 0px;
}

