/**
 * Layout styles
 */

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

body {
    text-align: center;
}

input {
	border: 1px solid #b3b2aa;
}

div#container {
    width: 770px;
    margin: 0 auto;
    padding: 30px 0px;
    text-align: left;
}

div#top, div#bottom {
    padding: 0px 7px 0px 8px;
}

div#top {
    padding-bottom: 7.5em;
    margin-bottom: 14px;
}

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;
}

div#logo a:hover {
	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: 18px;
}

div#menu-sub {
	position: absolute;
	width: 750px;
	/*padding: 4px 0 4px 15px;*/
	background-color: #FFF;
	font-size : 12px;
	font-weight: bold;
	color:#838278;
	margin: 3px 3px 0 2px;
}
div#menu-sub ul {
	/*display: block;
	overflow: hidden;*/
	list-style: none;
	margin: 0 0 0 15px;
}
div#menu-sub li {
	float: left;
	height: 18px;
	margin: 0 13px 0 0;
}
div#menu-sub li a {
	display: inline-block;
	height: 18px;
	line-height: 19px;
}

div#flags {
	position: absolute;
	/*right: 30px;*/
	left: 601px;
	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 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;
    float: left;
    height: 80px;
    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("/squelettes/images/news_twitter.png") no-repeat 2px 2px;
	 line-height: normal;
	 font-size: 10px;
	 color: #800E28;
}
#news ul li.actu0 a {
    width: 71px;
    height: 50px;
    display: block;
	 padding: 29px 0 0 8px;
	 color: #7D0E27;
}
#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;
    background: transparent url("/squelettes/images/background_pattern.jpg") repeat;
}

h1, h2 {
    font-size: 1.1em;
    text-transform: uppercase;
    line-height: 1.5em;
}

h1, h3 {
    color: #7d0e27;
}

h1 span {
	display: none;
}

h2 {
    color: #838278;
}

h3 {
    font-size: 1.6em;
    line-height: 1.25em;
    font-weight: bold;
    margin-bottom: 1em;
	text-transform: uppercase;
}

h3.spip {
	text-transform: normal;
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom:0;
	margin-top:1em;
	color: #838278;
}

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

a:hover {
	color: #7d0e27;
}

div#top, div#bottom {
    background-color: #cccbc5;
}

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

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

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, #menu-sub a {
	 color: #777777;
    text-decoration: none;
}

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

#menu ul li a:hover,
#menu ul li a.selected,
#menu ul li.active a {
	background: transparent url("/squelettes/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;
}

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

p.spip span {
	margin-left : 10px;
}

div#article {
    color: #666666;
}

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

div#footer {
	position: relative;
}

div#footer p {
    color: #6d6c65;
    font-size: 1em;
    background: transparent url("/squelettes/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("/squelettes/images/corner_round_top_left.png") no-repeat;
}

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

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

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

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

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

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

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

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

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