@import url(/css/reset.css);

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;	
}
a, a:visited, a:active {
	color: #6A0000;
}
body {
	background: #d3cf9f;
	color:#222222;
	font-family:Trebuchet MS;
	font-size:12px;
	line-height:18px;
}
#wrapper {
	width: 968px;
	margin: 0 auto;
	background-image: url(/img/bg.png);
	background-repeat: repeat-y;
}

#header {
	background: #6a0000;
	background-image: url(/img/headerBg.png);
	background-repeat: repeat-x;
	overflow: hidden;
	height: 125px;
	position: relative;
	width: 960px;
	margin: 0 auto;
}
h1 {
	background-image: url(/img/headerBottles.jpg);
	background-repeat: no-repeat;
	background-position: top right;
}
#menu {
	overflow: hidden;
	position: absolute;
	bottom: 1px;
	right: 5px;
}
#menu li {
	float: left;
	margin-left: 2px;
	width: 80px;
	height: 31px;
}
#menu li a {
	line-height: 31px;
	display: block;
	text-align: center;
	color: #808080;
	font-weight: bold;
	background-image: url(/img/tab.png);
	background-repeat: no-repeat;
}
#menu li:hover a,
#menu li.hover a {
	color: #000;
	background-image: url(/img/tabOn.png);
	text-decoration: none;
}
#home #mHome a,
#ventes #mVentes a,
#etudes #mEtudes a,
#inscription #mInscription a,
#contact #mContact a,
#menu li.on a {
	background-image: url(/img/tabOn.png);
	color: #6a0000;
}

#content {
	background-color: #fff;
	width: 930px;
	margin: 0 auto;
	padding: 15px;
	overflow: hidden;
	position: relative;
	min-height: 380px;
}
#mainContent {
	float: left;
	width: 730px;
	border-right: 1px solid #ccc;
	padding-right: 15px;
}
.admin #mainContent {
	border: none;
	width: 100%;
}
h2 {
	color: #6a0000;
	font-size: 16px;
	padding-bottom: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
h3 {
	color: #6a0000;
	font-size: 13px;
	margin-bottom: 5px;
}
#sideBar {
	float: right;
	padding: 15px 0 0 0;
	text-align: right;
	margin-left: 10px;
}

.coordonnees {
	margin-bottom: 30px;
}
#collab {
	margin-top: 20px;
	position: absolute;
	bottom: 15px;
	right: 15px;
}

#footer {
	background-image: url(/img/footer.png);
	width: 968px;
	margin: 0 auto;
}

.presentation {
	margin: 10px 0 20px;
}

form p {
	margin: 5px 0;
}
label {
	display: inline-block;
	width: 140px;
	vertical-align: top;
}
label.auto {
	width: auto;
}
label.error {
	width: auto;
	color: #6A0000;
	margin-left: 10px;
}
/* Specifique pages */
#home #mainContent strong {
	margin-top: 10px;
	display: block;
}

#etudes #mainContent p {
	margin-bottom: 10px;
}
#etudes #mainContent a:hover {
	text-decoration: none;
}
#etudes #mainContent span.contact {
	font-weight: bold;
	font-style: italic;
}

#ventes #mainContent div {
	margin-bottom: 20px;	
}
#ventes #mainContent div p {
	overflow: hidden;
	width: 100%;
}
#ventes #mainContent div p.title {
	margin: 20px 0 20px 0;
	font-weight: bold;
	font-style: italic;
}
#ventes #mainContent div p span,
#ventes #mainContent div p a {
	display: block;
	float: left;
}
#ventes #mainContent .date {
	width: 125px;
}
#ventes #mainContent .etude {
	width: 200px;
}
#ventes #mainContent .lieu {
	width: 150px;
}
#ventes #mainContent p.description {
	font-style: italic;
	clear: both;
}
#abreviations strong.type {
	display: block;
	margin-top: 15px;	
}

#primeurs.front table td {
	border: 1px solid #666666;
	padding: 0 3px;
}

#primeurs .note {
	font-size: 1.7em;
}
#primeurs .title td {
	font-size: 1em;
	font-weight: bold;
	background-color: #ebebeb;
}

/* Hacks CSS IE6 */
* html #sideBar {
	height: 400px;	
}
* html #collab {
	margin-top: 50px;
	position: relative;
	right: 0;
	text-align: right;
}
* html #collab img {
	margin-left: 75px;
}