/*
Pseudo-classes:  :active, :focus, :hover, :link, :visited, :first-child, :lang
*/
body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	background-color: #dadadc;
	background-image: url(img/interface/page.jpg);
	background-repeat: repeat-x;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a img {
	border: none;
}
address {
	font-style: inherit; /* Ie doesn't support inherit */
}
/*
acronym {
	border-bottom: none;
}
*/

.margin_merging_stopper {
	height: 0;
	margin: 0;
}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
} /* for IE/Mac */

#main {
/* to see web developper div order
*/
	width: 1020px;
	margin: 0 auto;
	background-color: #fefefe;
}

#header {
	height: 211px;
	position: relative;
}
#header > div { /* IE6 doesn't support child selector */
	width: 1020px;
	height: 211px;
	position: absolute;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
}
#header_bg {
	background-image: url(img/interface/header-bg.jpg);
	background-position: left 17px;
}
#header_fg {
	background-image: url(img/interface/header-fg.png); /* IE6 blocks transparency */
}
#estimation {
	width: 232px; /* original 242px */
	position: absolute;
	right: 25px;
	margin: 0;
	padding: 2px 0 0 10px;
}
#estimation a {
	color: #FFFFFF;
}

#menu ul {
	height: 41px;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#menu li {
	float: left;
	height: 41px;
	border-left: 1px solid #b9b9ba;
	line-height: 41px;
	text-align: center;
	vertical-align: middle;
}
#menu li.first { /* weird IE7 bug with first-child which compacts the lis ; IE6 doesn't support first-child */
	border-left: none;
}
#menu li a {
	display: block;
	padding: 0 27px;
	color: #999a9b;
}

#middle {
	position: relative;
	background-image: url(img/interface/sidebar-faux_column.gif);
	background-repeat: repeat-y;
}
#sidebar_left_wrapper {
	float: left;
	height: 455px;
	background-image: url(img/interface/sidebar_left.png);
	background-repeat: repeat-x;
}
#sidebar_left {
	height: 100%;
	color: #515050;
	background-image: url(img/interface/menu-border-sidebar-left.gif);
	background-repeat: repeat-x;
/* not needed with the underlaying faux column
	background-color: #e9e9ea;
	original color: #d3d3d5;
*/
}
#sidebar_left {
	width: 95px; /* same as sidebar-faux_column.gif */
}
#sidebar_left a {
	color: #515050; /* orignal aaaaae */
}
#sidebar_left ul {
	list-style: none;
	margin: 33px 0 0 0;
	padding: 0;
}
#sidebar_left li {
	padding: 5px 5px 5px 15px;
	border-top: 1px solid;
}
#sidebar_left li.first {
	border-top: none;
}

#middle_center_wrapper {
	background-image: url(img/interface/menu-border.gif);
	background-repeat: repeat-x;
}
#middle_center {
	min-height: 455px;
	margin-left: 105px;
	/* padding: 10px 33px 10px 138px; IE float outside the box ; padding: 10px 33px; + margin-left: 105px; */
}
#middle_center, #gallery_tn a {
	color: #2786ca;
}
#slogan {
	height: 100px;
	text-align: right;
	background-image: url(img/interface/slogan-border.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}
#slogan_img {
	margin: 20px 40px 0 0;
}
#content {
	position: relative; /* for #gallery_note */
	min-width: 880px; /* FF fix shrink wrapping */
	padding: 0 20px;
}
#gallery {
	float: right;
	width: 530px; /* FF bug #scroll_bottom width add margin-right */
	min-height: 300px; /* minimum dimension in case there's no image */
	margin: 0 0 0 20px; /* margin amount same as #content */
	background-color: #eff4f9;
}
#gallery_image {
	float: left;
	margin: 10px;
}
#gallery_tn {
	height: 250px;
	margin: 25px 10px 10px 427px; /* left GALLERY_IMAGE_MAX_WIDTH + 20 */
}
.invisible {
	visibility: hidden;
}
#gallery_tn, #gallery_tn a:hover {
	color: #c1d4e7;
}
#gallery_tn a {
	display: block;
	text-decoration: none;
	font-weight: bold;
}
.scroll {
	font-size: 22px;
	text-align: center;
}
#gallery_tn ul, #gallery_tn p {
	margin: 0;
	padding: 0;
}
#gallery_tn ul {
	list-style: none;
	margin-top: -15px;
}
#gallery_tn ul, #scroll_bottom {
	width: 95px;
}
#gallery_tn li {
	margin-top: 5px;
	padding: 0;
	border: 1px solid;
}
#gallery_tn li, #scroll_bottom {
	float: left;
}
#title {
	text-align: right;
	font-size: 13px;
	font-weight: bold;
}
#gallery_note {
	position: absolute;
	width: 345px;
	left: 0;
	bottom: 30px;
}

#footer {
	background-image: url(img/interface/footer.png);
	background-repeat: repeat-y;
}
#member_title {
	color: #999a9b;
	margin: 5px 0;
	padding: 0;
}
#footer {
	padding: 5px;
}
#footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#footer li {
	float: left;
	margin-left: 45px;
}
#footer li.no_margin_left {
	margin-left: 0;
}
#rbq {
	width: 235px; /* #member_title - #footer li margin-left */
	color: #1e71b8;
}
#credits {
	margin: 0;
}
#credits a {
	color: #6d6a6e;
}
