body {
	margin: 0;
	font-family: 'Open Sans', sans;
}

#body_accueil div#head { 
	height: 300px;
}

#body_contact th {
	background-color: #42b89c;
	color: white;
	padding: 7px 10px;
}
#body_contact td {
	padding: 7px 10px;
}



/*
 * modifications slick-slider
 */
.slick-slide {
	opacity: .2 !important;
}
.slick-slide.slick-current.slick-active {
	opacity: 1 !important;
}


div#head {
	height: 300px;
	background-image: url(header.jpg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

h1, h2, h3, h4 {
	font-weight: 500;
	color: #1f414e;
}
div#navbar {
	height: 80px;
	border-bottom: 2px solid #1f414e;
}
img#logo {
	float: left; margin-right: 30px;
	margin-top: -240px;
	margin-left: -10px;
}

p.center { text-align: center; }

div.c {
	width: 1200px; margin: 0 auto; position: relative;
	clear: both;
}
div.p {
	padding-top: 20px;
	padding-bottom: 20px;
}
div.clr {
	clear: both;
	float: none !important;
}

li#packMenu { display: none; }
ul#menu {
	margin: 0;
	list-style-type: none;
}
ul#menu li {
	float: left; margin: 10px 0 0 5px;
}
ul#menu li a {
	display: block;
	font-size: 1.5em;
	text-decoration: none;
	color: #1f414e;
	padding: 10px 20px;
	font-weight: 300;
}
ul#menu li a.current {
	font-weight: 500;
	border-bottom: 3px solid #42b89c;
}
ul#menu li a:hover {
	border-bottom: 3px solid #42b89c;
}

div#map_canvas {
	height: 450px;
}

div#new {
	background-color: #42b89c;
	text-align: center;
}
div#new h1 {
	color: white;
}

div.bien,
a.bien {
	display: block;
	color: auto;
	width: 380px;
	/*height: 400px;*/
	height: 370px;
	float: left;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	margin-right: 30px;
	margin-top: 20px;
	position: relative;
	overflow: hidden;
}


div.bien {
	height: 400px;
}


#body_accueil div.bien {
	height: 253px;
	margin-bottom: 110px;
	overflow: visible;
}



div.bien:nth-child(3n),
a.bien:nth-child(3n){
	margin-right: 0;
}

#body_accueil div.bien div {
	height: 110px;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
	position: absolute;
	bottom: -110px;
}
#body_accueil div.bien p{
	line-height: 1.2em;
	margin: 5px 15px;
}
#body_accueil p.price {
	font-weight: bold;
	font-size: 1.3em;
}

#body_accueil div.bien:hover {
	cursor: pointer;
	transform: scale(1.05);
	transition: .2s;
}


.bien div.bphoto {
	width: 100%; 
	/*height: 100%;*/
	height:250px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.bien:hover div.bphoto {
	transform: scale(1.05);
	transition: .3s;
}
.bien img.peb {
	position: absolute; top: 20px; left: 20px;
	z-index: 9;
}
.bien div.title {
	position: absolute; bottom: 0; left: 0;
	width: 100%;
	background-color: rgba(31,65,78,1); color: white;
	height: 120px;
}
.bien div.title h2 {
	color: white; padding: 0 20px;
	font-size: 1.1em;
}
.bien div.prix {
	position: absolute; top: 10px; right: 10px;
	font-size: 2em;
	background-color: rgba(31,65,78,.8); color: white;
	padding: 5px;
}
.bien div.banner {
	position: absolute;
	top: 40%; left: -10%;
	background-color: #42b89c;
	color: #1f414e;
	padding: 10px 30px;
	width: 110%;
	font-weight: bold;
	transform: rotate(-6deg);
	text-align: center;
	font-size: 1.3em;
}



div#first p, div#first li {
	line-height: 1.8em;
	text-align: justify;
}

div#footer {
	background-color:#1f414e;
	min-height: 400px;
	color: white;
	margin-top: 0;
	padding-bottom: 50px;
	text-align: center;

	font-weight: lighter;

}
div#footer a {
	color: white;
}
#body_avendre div#footer,
#body_alouer div#footer
{
	margin-top: 50px;
}
div.adr td {
	padding: 2px 5px;
	vertical-align: top;
}
div.adr td:first-child {
	text-align: right;
}


div.x2 {
	position: relative;
	float: left;
	width: 500px;
	margin: 50px 49px;
	text-align: center;
	height: 550px;
	box-shadow: 5px 5px 10px #1f414e;
	overflow: hidden;
	cursor: pointer;
}
div.x2p {
	position: absolute; bottom: 0;
	width: 100%; height: 400px;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
}

div.x2:hover div.x2p {
	transform: scale(1.05);
	transition: .2s;
}
img.x2ico {
	position: absolute;
	z-index:9;
	bottom: 350px;
	left: 200px;
}

#ill2 { position: relative; }
#ill2, #ill2 img { height: 700px; }


div.vidf {
	width: 80%; margin: 10px auto;
}
div.vid {
	width: 380px;
	float: left;
	margin-right: 20px;
}
div.vid video, div.vidf video {
	width: 100%;
}



div.by2c {
	width: 590px; margin: 0 5px;
	float: left;
}
div.by2c table {
	width: 100%;
}
div.by2c th{
	height: 40px;
	background-color: #42b89c;
	color: white;
}

div.banner2 {
	position: absolute; top: -150px;
	width: 100%;
	padding: 30px 0;
	text-align: center;
	font-size: 2em;
	color: white;
	height: auto !important;
	background-color: rgba(66,184,156,.8);
}

div.contact {
        background-color: #42b89c;
	padding: 50px 0;
	margin-top: 50px;
	text-align: center;
}
div.contact input, div.contact textarea, div.contact select {
	font-family: 'Open Sans', sans;
	font-size: 1.2em;
	margin: 10px 0;
}
div.contact a {
	color: black;
}


a.btn {
	color: white;
	background-color: #42b89c;
	padding: 4px 15px;
}

div#debug {
	width: 200px; height: 50px;
	background-color: pink;
	position: fixed;
	top:0; right: 0;
	text-align: center;
}

img.autofit {
	float: right;
	width: 600px;
	margin: 10px 0 10px 10px;
}



form#iSort { margin-bottom: 50px; }
form#iSort div {
        width: 230px; height: 230px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        margin: 10px;
        float: left;
}
form#iSort div.clr { height: auto; }


@media (max-width:1200px){
	div.c {
		width: auto;
		padding: 0 20px;
	}
	div.x2 {
		margin: 50px auto;
		float: none;
	}

	div.bien,
	a.bien,
	div.bien:nth-child(3n)
	a.bien:nth-child(3n) {
		/*margin: 10px !important;*/
		width: 45%;
		margin: 10px 2% !important;
	}

	img#logo {
	float: none;
	width: 50%;
	margin: 10px auto;
	}

	table.full, div.by2c {
		width: 600px; margin: 10px auto;
		float: none;
	}
	div#ill2 {
		clear: both;
	}
	div#navbar {
		height: auto;
		text-align: center;
	}
	ul#menu {
		padding: 0;
	}

	ul#menu li#packMenu {
		display: block;
	}
	ul#menu li {
		display: none;
	}
	ul#menu.unroll li {
		display: block;
	}
	ul#menu li {
		clear: both;
		float: none;
		margin: 3px 0 !important;
	}
	div.banner2 {
		width: 95%;
		padding: 30px 0;
	}

}

@media (max-width:820px){
	div.bien,
	a.bien,
	div.bien:nth-child(3n)
	a.bien:nth-child(3n) {
		width: 380px;
		float: none;
		margin: 10px auto !important;
	}
	div.x2 {
		width: 90%;
		margin: 50px auto;
		height: 500px;
	}
	img.x2ico {
		bottom: 250px;
		left: 50%;
		margin-left: -50px;
	}
	div.x2p {
		height: 300px;
	}

	div.by2c, table.full {
		width: auto; margin: 10px;
	}

	div#head {
		background-position: 100% 50%;
	}

	#cForm input, #cForm textarea {
		width: 90%; margin: 2px auto;
		display: block;
	}

	img.autofit {
		float: none;
		width: 99%;
		margin: 10px auto;
		display: block;
	}
	div.vidf {
		width: 100%;
	}
}
@media (max-width: 400px){
	div.bien,
	a.bien,
	div.bien:nth-child(3n)
	a.bien:nth-child(3n) {
		width: 90%;
		margin: 30px auto !important;
	}
	#body_accueil div.bien div {
		height: 110px;
	}

}

@media screen and (max-height:800px){
        #ill2, #ill2 img { height: 600px; }
}

@media screen and (max-height:600px){
        #ill2, #ill2 img { height: 400px; }
}


