/*
 * Site layout related css - Marathon du medoc
 */

/* necessary to remove the extra space before and after p tags in IE*/
p {
	margin: 0px;
	text-align: justify;
}

a {
	color: #99007b;
}

html {
	height: 100%;
}

body {
	height: 100%;
	font-family: Verdana;
	font-size: 11px;
	color: #333;
	line-height: 1.5em;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Verdana !important;	
	margin: 0px;
	margin-bottom: 15px;
	padding: 0px;
	text-align: left;
}

h1 {
	line-height: 1em;
	font-weight: normal;
	font-size: 20px;
	font-style: italic;
	color: #e97300;
	padding: 10px;
	padding-left: 27px;
	margin-top: 20px;
	background: url('../images/title-background.gif') no-repeat;
}

h2 {
	margin-top: 15px;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: bold;
	color: #99007b;
}

h3 {
	margin-top: 15px;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: normal;
	color: #99007b;
	border-bottom: 1px #99007b solid;
}

h4 {
	margin: 0px;
	font-weight: normal;
	font-style: italic;		
	color: #555;
	font-size: 12px;
}

h5 {
	font-weight: normal;
	color: #999;
	font-size: 10px;
}

h6 {
	color: #333;
	font-size: 14px;
	font-style: italic;
	font-weight: normal;
}

ul {
	margin: 0px;
	padding-left: 15px;
	color: #333;
}

li {
	margin: 5px;
}

.main {
	position: relative;	
	border: 0px;
	width: 970px;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	overflow: visible;
}

.container {
	position: relative;	
	overflow-y: auto;
	overflow-x: hidden;
	width: 750px;
	height: 510px;
	float: left;
}

.overlay {
	position: absolute;
	top: 80px;
	left: 220px;
	width: 740px;
	height: 511px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../resources/images/overlay.png", sizingMethod="scale");
	z-index: 1000;
}

.overlay[class] {
	background-image: url('../images/overlay.png');
}

.header {

}

.html-menu {
	width: 220px;
	height: 510px;
	background-image: url('../images/html-menu-fond.gif');
}

.html-menu a {
	padding-left: 20px;
	padding-right: 35px;
	display: block;
	color: white;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 5px;
}

.html-menu a:hover {
	text-decoration: underline;
}

.footer {
	position: relative;
	text-align: right;
	width: 970px;
	height: 120px;
	background-image: url('../images/page-footer-background.gif');
	background-color: #99007b;
	background-repeat: no-repeat;
}

.logo-page {
	position: relative;
	padding-top: 53px;
	border: 0px;
}

.block {
	padding: 15px;
	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;
}

.sub-menu {
	text-align: left;
}

.sub-menu a {
	color: #99007b;
	padding-left: 25px;
	margin-right: 10px;
	background: url('../images/link-background.gif') no-repeat;	
}

.top-link {
	float: right;
	color: #99007b;
	padding-top: 25px;	
	margin-right: 10px;
	margin-top: 20px;
	background: url('../images/haut-background.gif') no-repeat;		
}

.confirm-msg {
	text-align: center;
	font-weight: bold;
	color: #99007b;
	border: #99007b 1px solid;
	padding: 3px;
	margin: 5px;
}

.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 */
}

/* styles pour la liste des chateaux */
.chateaux {
	width: 95%;
}

.chateaux td {
	text-align: center;
	vertical-align: top;
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: 1px solid #ddd;		
}

.chateaux img {
	margin-bottom: 5px;		
}

.chateaux td p {
	text-align: center;		
}

.chateaux td i {
	color: #999;		
}	

.chateaux td a {
	color: #000;		
}
	
.chateaux img {
	border: 0px;
}

/* 
	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");*/
}