/* RUBRIQUE EN COURS */



body > section {
	position: relative;
}
body section#residence-relatif {
	padding: 40px;
	width: 418px;
	position: absolute;
	right: 0;
	top: 0;
	padding-top: 60px;
}
#carousel-residence #img-mid {
	display: block;
	min-height: 250px;
	overflow: hidden;
	background-size: cover;
}
#carousel-residence {
	text-align: left;
}
#carousel-residence .img-min {
	box-sizing: border-box;
	border: 1px solid transparent;
	display: inline-block;
	width: 50px;
	height: 50px;
	background-size: cover;
	margin-top: 5px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	cursor: pointer;
}
#carousel-residence .img-min.active, #carousel-residence .img-min:hover {
	opacity: 0.8;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	border: 1px solid black;
}
/*#maincontent aside {
	line-height: 1.3em;
	position: relative;
	right: 0px;
	width: 288px;
	top: 0px;
	margin-top: 40px;
}*/
section#maincontent {
	height: calc(100vh - 185px);
	text-align: center;
	min-height: 600px;
	clear: both;
}
body section#residence-relatif p, body section#residence-relatif h2 {
	text-align: left;
	color: #303557;
	margin-bottom: 10px;
}
section#rescontent {
	margin-right: 488px;
	margin-left: 355px;
	padding-top: 60px;
	text-align: left;
}
section#rescontent h2, section#rescontent h3, section#rescontent p, section#rescontent ul {
	margin-bottom: 10px;
}
section#rescontent ul li {
	margin-left: 1em;
	margin-bottom: 10px;
}
section#rescontent img {
	display: block;
	width: 100%;
}
body section#sous-nav-res {
	width: 315px;
	text-align: center;
	height: 100%;
	background-color: #f0f0f0;
	position: absolute;
	left: 0;
	top: 0;
	background-image: url(../img/degrade-residences-haut.png), url(../img/degrade-residences-bas.png);
	background-repeat: repeat-x;
	background-position: center top, center bottom;
}
body section#sous-nav-res a:first-child {
	margin-top: 60px;
	height: 70px;
	padding-top: 10px;
}
body section#sous-nav-res a span {
	display: block;
	text-align: center;
	font-size: 0.7em;
}
body section#sous-nav-res a {
	background-image: url(../img/degrade-btn-res.png);
	background-repeat: repeat-x;
	background-position: center bottom;
	position: relative;
	color: #8e979e;
	border-top: 1px solid #ddd;
	font-size: 27px;
	display: block;
	text-align: center;
	height: 58px;
	text-decoration: none;
	padding-top: 10px;
	text-indent: -28px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	font-family: 'awconq-Light';
	text-transform: capitalize;
}
body section#sous-nav-res a:hover {
	background-color: #14656d;
	color: white;
}
body section#sous-nav-res a:hover:after {
	background-repeat: no-repeat;
	background-image: url(../img/point-blanc.png);
	background-position: center center;
	background-size: 5px 5px;
	border-color: white;
}
body section#sous-nav-res a::after {
	content: "";
	border: 1px solid #244d57;
	width: 9px;
	border-radius: 9px;
	height: 9px;
	display: block;
	position: absolute;
	right: 28px;
	top: 29px;
}
body section#sous-nav-res a:first-child::after {
	top: 35px;
}
section#maincontent {
	height: calc(100vh - 139px);
	background-image: url(../img/degrade-residences-haut.png), url(../img/degrade-residences-bas.png);
	background-repeat: repeat-x;
	background-position: center top, center bottom;
}
body header section#logos {
	width: 315px;
	text-align: center;
	height: 75px;
	line-height: 75px;
	background-color: #f0f0f0;
}
body header section#logos div#logo-icade {
	background-image: url(../img/logo-icade-vert.png);
	width: 56px;
	margin-right: 20px;
}
body header section#logos div#logo-inter {
	background-image: url(../img/logo-inter-vert.png);
	width: 53px;
	margin-right: 20px;
}
body header section#logos div#logo-vinci {
	background-image: url(../img/logo-vinci-vert.png);
	width: 66px;
}
div#navtoggle span {
	background-color: #428245;
}
body header nav > ul > li> a {
	color: black;
}
#maincontent #rescontent h2 {
	overflow: hidden;
	text-indent: -1000px;
	background-image: url(../img/residences/iris.jpg), url(../img/residences/vinci.jpg);
	background-size: auto 100%, 100px auto;
	background-repeat: no-repeat;
	height: 200px;
	background-position: center center, right top;
	display: block;
	margin-bottom: 1em;
}








@media screen and (max-width:900px) {
#maincontent #rescontent h2 {
	height: 150px;
	background-position: left center, right top;
}
}

@media screen and (min-width:1200px) {
	




body section#sous-nav-res a:nth-child(2) {
	background-color: #14656d;
	color: white;
}
body section#sous-nav-res a:nth-child(2):after {
	background-repeat: no-repeat;
	background-image: url(../img/point-blanc.png);
	background-position: center center;
	background-size: 5px 5px;
	border-color: white;
}
body header nav > ul > li:nth-child(3) > a:after {
	content: "";
	width: 5px;
	height: 5px;
	background-color: #428245;
	border-radius: 5px;
	margin: auto;
	position: absolute;
	left: calc(50% - 2px);
	display: block;
	bottom: -14px;
}
body header nav > ul > li:nth-child(3) > ul > li:nth-child(6) > a:after {
	background-color: #fff;
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 5px;
	margin: auto;
	position: absolute;
	left: calc(50% - 2px);
	display: block;
	bottom: -7px;
}
body header nav > ul > li:nth-child(3) > ul > li:nth-child(6) > a {
	color: white;
}
body header nav > ul > li:nth-child(3) > a {
	color: #428245;
}
body header nav > ul > li:hover > a {
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	color: #428245;
}
body header nav > ul > li:hover > a:after {
	background-color: #428245;
}
}

@media screen and (max-width:1200px) {
body section#sous-nav-res {
	display: none;
}
section#rescontent {
	margin-left: 40px;
}
}

@media screen and (max-width:800px) {
section#rescontent {
	margin-left: 40px;
	margin-right: 40px;
}
section#maincontent {
	height: auto;
}
body section#residence-relatif {
	position: relative;
	margin: auto;
	padding: 40px;
	width: calc(100% - 80px);
}
}






/*CORRECTIF*/
section#maincontent {
    min-height: calc(100vh - 158px);
	height: auto;
}
body #maincontent aside {
    line-height: 1.3em;
    position: absolute;
right: 40px;
    width: 51px;
    bottom: 17px;
    top: auto;
}
@media screen and (min-width:1400px) {	
	#carousel-residence #img-mid {

	min-height: 25vw;
}
}
@media screen and (min-width:1200px) {
section#rescontent {
    margin-right: calc(50% - 177px);
    margin-left: 355px;
    padding-top: 60px;
    text-align: left;
}
body section#residence-relatif {
	width:  calc(50% - 257px);
}
#carousel-residence #img-mid {
	display: block;
	min-height: 250px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	min-height: 20vw;
}
}
	@media screen and (max-width:1200px) {
	section#maincontent {
		height: auto;}

}
@media screen and (max-width:800px) {
#carousel-residence #img-mid {
	min-height: 250px;

	min-height: 50vw;

}	
}
/*
body section#sous-nav-res a::after {
    top: 38px;
}
*/
