/*
 * Site layout related css - Medocaine
 */

/* necessary to remove the extra space before and after p tags in IE*/
p {
	margin: 0px;
}

a {
	color: #08597b;
}

html {
	height: 100%;
}

body {
	height: 100%;
	font-family: Verdana;
	font-size: 11px;
	background-color: #ece9f0;
	color: #333;
	line-height: 1.5em;
	padding: 5px 0px 0px 0px;
	margin: 5px 0px 0px 0px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Georgia !important;	
	margin: 0px;
	margin-bottom: 15px;
	padding: 0px;
}

h1 {	
	text-align: right;
	font-weight: normal;
	font-size: 28px;
	padding: 15px;
	margin-top: 15px; 
	margin-bottom: 20px; 
	color: #990e59;
	border-bottom: 1px solid #f6e7e7;
}

h2 {
	text-align: right;
	font-weight: normal;
	font-size: 28px;
	padding: 15px;
	margin-top: 15px;
	margin-bottom: 20px;
	color: #8dc222;
	border-bottom: 1px solid #e6eef2;
}

h3 {
	line-height: 1.5em;
	/*font-weight: bold;*/	
	color: #990e59;
	font-size: 14px;
	border-bottom: 1px solid #f6e7e7;
}

h4 {
	line-height: 1.5em;
	/*font-weight: bold;*/		
	color: #8dc222;
	font-size: 14px;
	border-bottom: 1px solid #e6eef2;
}

h5 {
	line-height: 1.5em;
	/*font-weight: bold;*/		
	color: #333;
	font-size: 14px;
	border-bottom: 1px solid #eaeaea;
}

h6 {
	color: #333;
	font-size: 14px;
	font-style: italic;
	font-weight: normal;
}

ul {
	margin: 0px;
	padding-left: 15px;
	color: #333;
}

li {
	margin: 5px;
}

.main {
	border: 0px;
	width: 970px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/main-fond.gif) repeat-y;
	background-color: #fff;
}

.container {
	position: relative;	
	overflow-y: auto;
	overflow-x: hidden;
	width: 530px;
	height: 500px;
	float: left;
}

.main-page {
	border: 0px;
	width: 970px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/page-fond.gif) repeat-y;
	background-color: #fff;
}

.menu,
.menu-a,
.menu-b {
	border-width: 0px;
}

.menu a,
.menu-a a {
	position: relative;
	display: inline-block; /* fix the double margin bug for the first block in IE*/	
	padding-right: 10px;
	margin-bottom: 5px;
	border: 0px;	
	color: #990e59;
	text-decoration: none;
	background: url('../images/puce-mauve.gif') no-repeat;
	background-position: right;
    width: 90%;
}

.menu-b a {
	position: relative;
	display: inline-block; /* fix the double margin bug for the first block in IE*/	
	padding-right: 10px;
	margin-bottom: 5px;
	border: 0px;
	color: #8dc222;
	text-decoration: none;
	background: url('../images/puce-verte.gif') no-repeat;
	background-position: right;
    width: 90%;    
}

.menu-a a:hover {
	text-decoration: underline;
}

.menu-b a:hover {
	text-decoration: underline;
}

.navigation-accueil {
	text-align: right;
}

.navigation-accueil a {
	padding-right: 10px !important;
	background-position: top right !important;
}

.sponsors-page {
	text-align: center;
}

.sponsors-page a {
	border: 0px;
}

.sponsors-page img {
	border: 0px;
}

.colone-gauche {
	border: 0px;
	width: 256px;
}

.colone-gauche a {
	padding-left: 10px !important;
	background-position: top left !important;
	text-align: left;
}

.colone-centre {
	border: 0px;
	width: 500px;	
}

.colone-droite {
	border: 0px;
	width: 175px;	
}

.footer {
	text-align: center;
	border: 0px;
	color: #777;
}

.block {
	padding: 10px;
	border: 0px;
	position: relative; /* needed in IE to make the block clickable event outside of the content (no click through)*/
	display: inline-block; /* needed in IE to get the proper offsetParent.offsetLeft when an inside image is float right */	
	overflow: hidden; /* needed in FF to clear the float content and stretch to proper dimensions */
	/*border: 1px solid #d0d0d0;*/
	cursor: default;
	background-color: #fff;
}

.img {
	
	position: relative;
	margin: 5px;
	margin-left: 10px;
	border: 1px solid #666;	
}

.img-link {
	position: relative;
	margin: 3px;
	border: 1px solid #666;
	display: inline-block;
	overflow: hidden;
	line-height: 0px; /* remove extra bottom gap when img is in <a> in FF */
}

.gallery-link {
	display: inline-block;
	margin: 5px;
	width: 45px;
}

.gallery-thumb {
	width: 45px;
	border: 1px solid #000;
}

/* 
	Positioning and styling class
	Mandatory for the PageLayer application

 */
.pl-float-right {
	float: right;
}

.pl-float-left {
	float: left;
	display: inline; /* fixes the "double margin" bug in IE6 */
}

.pl-clear-left {
	clear: left;
}

.pl-clear-right {
	clear: right;
}

.pl-clear-both {
	clear: both;
}

.pl-margin-auto {
	margin-left: auto;
	margin-right: auto;
}


/* Lightbox */
#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #333;
	border-right: 2px solid #333;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;} 
#overlay img{ border: none; }

#overlay{
	/*background-image: url(overlay.png);*/
	background-color: #333;
	opacity: 0.7;
	filter: alpha(opacity=70);	
}

* html #overlay{
	background-color: #333;
	filter: alpha(opacity=70);
	/*background-color: transparent;*/
	/*background-image: url(blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");*/
}