/*******************************
* File : main.css              *
* Site : www.cfimmobilier.ch   *
* Last mod : 02.02.08          *
* Author : 	Marc Surchat	   *
*       surchat(at)gmail.com   *
*	  		Simon Pythoud	   *
*		simonpythoud@gmail.com *
********************************/


/* CSS  3 Columns */

#outer_wrapper {
	/* because "min-width" is not supported by IE, these pages use a script from PVII */
	min-width:740px;
	/* this is to "minimize" an IE bug related to background painting, but because it creates a gap below the footer, the same declaration is also added to #footer */
	width:100%;
	/* faux-column technique, this is the left one */
	background-color:#663333;
	/*background: url(../images/left_bg.png) repeat-y left;*/
}

#wrapper {
	/* faux-column technique, this is the right one */ 
	background-color:#663333;
	/*background: url(../images/right_bg.png) repeat-y right;*/
}

#header {
	height: 119px;
	background-repeat: no-repeat;
	/* this is to "give layout" to the element and fix some peek-a-boo bug in IE (v6 sp2)
	width:100%; */
	/* the above declaration creates an horizontal scrollbar in IE, this is to get rid of it 
	margin:0 -1px; */
	
}

#subheader {
	height: 16px;
	/* this is to "give layout" to the element and fix some peek-a-boo bug in IE (v6 sp2) 
	width:100%; */
	/* the above declaration creates an horizontal scrollbar in IE, this is to get rid of it
	margin:0 -1px; */
	
}

#container {
	float:left;
	width:100%;
	/* IE doubles the margins on floats, this takes care of the problem */
	display:inline;
	/* this is where Ryan Brill (author of the ALA's article) and I go in "opposite directions" */
	margin-left:-180px;
}

#left {
	float:left;
	width:180px;
	/* IE doubles the margins on floats, this takes care of the problem */
	display:inline;
	margin-left:165px;
}

#main {
	/* the width from #left (180px) + the negative margin from #container (210px) */
	margin-left:355px;
}

/* good to know: if #sidebar is to be shorter than #main, then there is no need for this rule */
#sidebar {
	/* this is to keep the content of #sidebar to the right of #main even if the content of "main is shorter */
	padding-left:100%;
	/* this is to "bring back" the #sidebar that has been moved out of the viewport because of the padding value */
	margin-left:-210px;
}

#sidebar p {
	/* this is to make sure IE (v6 sp2) *displays* this element (same problem as #header, but using a different fix) */
	position:relative;
}

#footer {
	/* see #outer_wrapper */
	width:100%;
	/* this is to clear #container */
	clear:both;
	background-color: #663333;
	border-top: 1px solid #999966;
	border-bottom: 1px solid #999966;
}

/* this is the class that is applied to 2 structural hacks in the markup (see #2 and #5). The first "meaningless" element is used to clear #left in NN6 and the last one is used to clear #container in NN4 
.clearing {
	height:0;
	clear:both;
}
*/

/* General */

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #999966;
	width: 971px;
	margin: auto;
}

img {
	border: none;
}
/*
iframe {
	width: 100%;
	height: 100%;
	
}
*/

#main {
	min-height: 580px;
	height: auto !important;
	height: 580px;
	color: #600;
	padding: 5px 5px 10px 5px;
	background-color: #ccccb3;
}

#main p, #main h1, #main h2, #main h3, #main h4, #main h5, #main h6, #main table {
	padding-left:5px;
	padding-right:5px;
}

#main p {
	color: #663333;
}

a, a:active, a:visited {
	color: #996;
}

a:hover {
	color: #fff;
}

#main a, #main a:active, #main a:visited {
	color: #663333;
}

#main a:hover {
	color: #fff;
}

#main ul {
	margin-left: 40px;
}

/* Header */

#header {
	height: 184px;
}

#subheader {
	background-color: #ccccb3;
	border-top: 1px solid #999966;
	border-bottom: 1px solid #999966;
}

/* Fonts */
body {
	font-family: Verdana, Geneva, Kalimati, sans-serif;
	font-size: 11px;
}

#main h2, #sidebar h2 {
	margin: 5px 0;
}

h2 {
	font-size: 130%;
}


h3 {
	font-size: 115%;
}

p {
	font-size: 100%;
}



#menu {
	font-size: 130%;
	font-weight: 900;
}

/* Navigation */

#menu {
	margin-top: 20px;
	margin-left: 25px;
	margin-bottom: 30px;
}

#menu a {
	text-decoration: none;
}

#menu a:hover {
	color: #80999f;
}

#menu ul {
	font-weight: bold;
	margin:0px;
	margin-left: 40px;
}

#menu li {
	list-style-image: url(../images/nav/bullet.gif);
	margin: 6px 0px;
	list-style-position: outside;
	padding-left:10px;
	padding-left:5px !important;
}

menu li a {
	padding:0px;
	margin:0px;
}

#menu li a:hover { 
	list-style-image: url(../images/nav/bullet-over.gif);
}

.submenu {
	font-size: 80% !important;
	margin-left: 20px !important;
}

.submenu li {
	list-style-image: url(../images/nav/bullet_tn.gif) !important;
}

.submenu li:hover {
	list-style-image: url(../images/nav/bullet-over_tn.gif) !important;
}


#left {
	color: white;
}


#flag {
	display: inline;
	margin-left: 35px;
}

#flag img {
	height: 12px;
	width: 18px;
	margin-left: 30px;
}


/* Sidebar Right */

#sidebar {
	color: white;
	/* this is the background color for #sidebar; I also make sure not to inherit any background image */
	margin:0;
	padding:5px 0px;
	/* with "modern" browsers this element is not a float, but it has to be for NN4 */
	float:right;
	width:170px;

}

#sidebar #weeksoffer img {
	margin-left: 50px;
}

#sidebar #meteo a {
	color:#fff;
}
#sidebar #meteo {
	padding-left: 5px;
}


#affichenews {
	margin-bottom: 15px;
	margin-left: 10px;
}

#btrech, #btpro, #btrech_en, #btpro_en {
	margin-bottom: 10px;
	margin-left: 0px;
}

#btrech a, #btrech_en a {
	display: block;
}

#btrech a {
	width: 166px;
	height: 48px;
	background-image: url(../images/nav/btrecherche.gif);
}

#btrech_en a {
	width: 81px;
	height: 35px;
	background-image: url(../images/nav/btrecherche_en.gif);
}

#btrech a:hover {
	background-image: url(../images/nav/btrecherche-over.gif);
}

#btrech_en a:hover {
	background-image: url(../images/nav/btrecherche-over_en.gif);
}

#btpro, #btpro_en {
	margin-bottom: 15px;
}

#btpro a, #btpro_en a {
	display: block;
}

#btpro a {
	width: 166px;
	height: 48px;
	background-image: url(../images/nav/btproprio.gif);
}

#btpro_en a {
	width: 	137px;
	height: 52px;
	background-image: url(../images/nav/btproprio_en.gif);
}

#btpro a:hover {
	background-image: url(../images/nav/btproprio-over.gif);
}

#btpro_en a:hover {
	background-image: url(../images/nav/btproprio-over_en.gif);
}

#weeksoffer {
	margin-bottom: 15px;
	margin-left: 5px;
}

/* Sidebar Left */

#video_promo {
	margin: 10px 0px 15px 25px;
}

#webcam {
	margin-top: 20px;
	margin-left: 25px;
}

/* Home */

#txthome p {
	min-height: 80px;
}

#txthome p {
	font-size: 120%;
}

#txthome h2 {
	margin-bottom: 1em;
}

.img {	
	float: right;
	clear: right;
	margin-left:3px;
}

.img img {
	width: 150px;
	height: 100px;
}


#logo_down img {
	margin : 10px;
	
}

/* Misc */

#webcam img {
	width: 80px;
	height: 60px;
}

.webcam {
	width: 320px;
	height: 240px;
	margin-left: 110px;
}

.bold {
	font-weight: bold;
}

.servtitle {
	font-size: 140%;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #996;
}

.servsubtitle {
	color: darkblue;
	font-style: italic;
}

/* Tables */
.vente {
	width: 520px;
	border: none;
	border-collapse: collapse;	
}

.vente td {
	padding: 4px;
}

.vente td .leftcol {
	width: 160px;
}

.vente td .rightcol {
	width: 360px;
}

.location {
	width: 550px;
	border-collapse: collapse;
}

.location td, .location th {
	width: 50px;
	border: 1px solid #600;
}

.locationObj {
	width: 450px;
	border: none;
	border-collapse: collapse;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
}

.locationObj td {
	padding: 4px;
	border-top: 1px dotted #600;
	border-bottom: 1px dotted #600;
}

.mail {
	float: right;
	clear: right;
}

.blanc {
	color: white;
}
