/* COULEURS */
/* bleu foncé #1e3c5c */
/* bleu clair #007092 */
/* orange #e69d42 */

/* GENERAL */
body{
	margin:0;
	padding:0;
	font-family: "Open Sans",verdana, sans-serif;
	width:100%;
	height:100%;
	line-height:1.2em;
	overflow-x:hidden;
}
p{
	letter-spacing: -.005em;
	line-height:1.2em;
	/* -webkit-hyphens: auto; */
	/* -moz-hyphens: auto; */
	/* -ms-hyphens: auto; */
	/* hyphens: auto; */
}
a:link, a:focus, a:visited, a:hover{
	color:inherit;
	text-decoration:none;
}
img{
	max-width:100%;
}
.main{
	display:inline-block;
	width:53%;
	height:100%;
	background-color: #1e3c5c;
	position:relative;
}
.aside{
	display:inline-block;
	width:23%;
	height:100%;
}
.clearfix{
	clear:both;
}
h4{
	font-size:14px;
	margin:5px 0;
}
h1, #main h2{
	font-size: 31px;
	text-align:center;
	text-transform:uppercase;
	color:#007092;
	line-height: 1.3em;
	width:95%;
	margin:45px auto 45px auto;
}
p.preschapitre{
	width:95%;
	margin: 20px auto 50px auto;
	text-align:center;
}
#conseilsdumois .blocimage{
	max-height:270px;
	overflow:hidden;
}
#touslesconseils .blocimage{
	max-height:190px;
	overflow:hidden;
}
sub{
    font-size: 9px;
    position: relative;
    top: -13px;
}
.souligne{
	text-decoration:underline;
}
.cache{
	display:none!important;
}
p.small{font-size:12px; margin: auto; margin-left: 6%; width: 88%; max-width: 98%;}
/* ENTETE */
.bordure.ecrenbas{
	display:none;
}
header {
	background-image:url("../images/investissement.jpg"), linear-gradient(to right,#1e3c5c,#1e3c5c,#ffffff,#ffffff);
	background-repeat: no-repeat;
	background-position: 67.5% center;
    margin: 0;
    position: fixed;
	top:0;
    border-bottom: #007092 solid 5px;
	width: 100%;
	padding:0;
	height:200px;
	overflow:hidden;
	z-index:800;
}
header p{
	color: #ffffff;
	font-weight:normal;
}
.triangle{
	clip-path: polygon(0px 105px, 0px 80px, 100px 0px);
	background-color: #e69d42;
	width:100%;
	height:100%;
	position: absolute;
	left:0;
	top:60px;
	z-index:1000;
}
header .main {
    height: 200px;
    display: inline-block;
    width: 48%;
    margin-right: 9%;
	border:none;
	position:absolute;
	top:0;
	left:5%;
	padding:0;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
    background-color: #1e3c5c;
	padding-left: 3%;
}
header .main h2{
	width:80%;
	color:#ffffff;
	font-weight:normal;
	text-transform:uppercase;
	margin: 25px 0 35px 0;
	line-height: 1.2em;
}
header .main p{
	width:80%;
	color:#ffffff;
	font-size: 16px;
}
header .aside{
	height:235px;
	display:inline-block;
	width:20%;
	border:none;
	margin-top: 0px;
	position:absolute;
	top:0;
	right:5%;
	clip-path: polygon(24% 0%, 100% 0%, 100% 100%, 0% 100%);
    background-color: #ffffff;
	padding:0;
	padding-left:5%;
}
header .aside .logo, header .aside .bordure{
	margin:5px auto;
	text-align:center;
}
header .aside .bordure {
    border: solid 3px #e69d42;
    border-radius: 0 15px 0 0;
    width: 250px;
    overflow: hidden;
    margin: 0px auto;
    background-color: #ffffff;
    height: 85px;
	padding: 8px;
}
header .aside .bordure img, .bordure.ecranbas img{
	float: left;
	padding-right:5px;
	/* width:auto; */
	display: block;
	max-height:100%;
}
.bordure h2{
	color: #e69d42;
	font-size:14px;
	font-weight: bold;
	margin-bottom:0px;
	margin-top: 8px;
}
.bordure h3{
	font-size:14px;
	font-weight: bold;
	margin:8px 0px;
	color: #333333;
}
header .bordure p{
	color:#e69d42;
	font-size:15px;
	margin:5px auto;
	font-weight: bold;
}
#content{
	margin-top:220px;
	width: 90%;
	padding:0 5%;
}
#headermobile, #openmobile, #topmainmobile, #close-mobile{
	display:none;
}
/* MENU */
#open{
	position:fixed;
	z-index:750;
	left:20px;
	cursor: pointer;
}
#close {
    position: absolute;
    right: 20px;
    top: 255px;
    transform: rotate(90deg);
	cursor: pointer;
}
#menu ul{
	list-style:none;
}
#menu li a{
	margin-top:13px;
}
#menu li a {
    text-transform: uppercase;
    display: inline-block;
    padding-left: 20px;
    text-indent: -20px;
}
#menu li a::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: #007092;
    margin-right: 3px;
    position: relative;
    top: 2px;
    left: -5px;
	transform: rotate(0deg);
}
#menu li.noactive a::before {
	transform: rotate(0deg);
}
#menu ul li ul li a::before, #menu ul li.active ul li a::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: #ffffff;
    margin-right: 3px;
    position: relative;
    top: 2px;
    left: -5px;
	transform: rotate(0deg);
}
#menu .active a::before, #menu ul li.active ul li.sm.active a::before{
	transform: rotate(45deg);
}
#menu{
	height:100%;
	width:30%;
	position:fixed;
	left:-650px;
	top:0;
	background-color:#1e3c5c;
	z-index:1000;
	-webkit-transition: left 300ms linear;
    transition: left 300ms linear;
	overflow:hidden;
	color:#ffffff;
	box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.75);
}
#menu.menuo{
	left:0;
}


/* CONTENU PRINCIPAL ACCUEIL */
#main{
	margin-bottom: 150px;
}
#main{
	display: inline-block;
	width:73%;
	height:auto;
	min-height:100%;
	vertical-align:top;
	padding:1% 2%;
}
#content #main .articleaccueil{
	width:95%;
	margin:auto;
	column-count: 2;
	grid-column-gap: 0;
	column-gap: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.articleaccueil ul{
	list-style-type: square;
}
.mainarticle:nth-child(2n+0){
	padding: 0 15px;
	margin-top:220px;
	position:relative;
}
.mainarticle:nth-child(2n+1){
	border-right:solid 4px #1e3c5c;
	padding: 0 15px;
	padding-bottom:250px;
	position:relative;
}
.mainarticle:nth-child(2n+1) h3{
	width:auto;
	display: inline-block;
	position:absolute;
	right:4px;
	top:-20px;
	height:22px;
	padding: 0!important;
	margin: 8px !important;
	z-index:15;
}
.mainarticle:nth-child(2n+1) h3::after {
    content: "";
    height: 13px;
    width: 13px;
    display: block;
    top: 7px;
    position: absolute;
    right: -20px;
    transform: rotate(45deg);
    z-index: 10;
    background-color: #007092;
}
.mainarticle:nth-child(2n+1) h3 span{
	background-color: #e69d42;
    position: relative;
	padding: 2px 25px 0px 15px!important;
	line-height:29px;
	display:inline;
	color:#ffffff;
	text-decoration:none;
	font-weight:bold;
	z-index:25;
	text-transform:uppercase
}
.mainarticle:nth-child(2n+1) h3 span::after{
	content: '';
    border-top: 13px solid transparent;
    border-left: 15px solid #e69d42;
	border-bottom: 14px solid transparent;
    vertical-align: top;
    display: block;
    position: absolute;
    top: 0;
    right: -15px;
}
.mainarticle:nth-child(2n+0) h3{
	width:auto;
	display: inline-block;
	position:absolute;
	left:4px;
	top:-20px;
	height:22px;
	padding: 0!important;
	margin: 8px !important;
	z-index:15;
}
.mainarticle:nth-child(2n+0) h3::before {
    content: "";
    height: 13px;
    width: 13px;
    display: block;
    top: 7px;
    position: absolute;
    left: -20px;
    transform: rotate(45deg);
    z-index: 10;
    background-color: #007092;
}
.mainarticle:nth-child(2n+0) h3 span{
	background-color: #e69d42;
    position: relative;
	padding: 2px 25px 0px 15px!important;
	line-height:29px;
	display:inline;
	color:#ffffff;
	text-decoration:none;
	font-weight:bold;
	z-index:25;
	text-transform:uppercase
}
.mainarticle:nth-child(2n+0) h3 span::before{
	content: '';
    border-top: 13px solid transparent;
    border-right: 15px solid #e69d42;
	border-bottom: 14px solid transparent;
    vertical-align: top;
    display: block;
    position: absolute;
    top: 0;
    left: -15px;
}

/* PAGE CONSEILS */
#conseilsdumois, #touslesconseils{
	text-align: center;
	width: 80%;
	margin: auto;
}
#conseilsdumois .actu{
	border: solid 5px #007092;
	background-color:#ffffff;
	border-radius:20px 0 20px 20px;
	margin-bottom:25px;
	position:relative;
	padding-bottom:32px;
	width:46%;
	display:inline-block;
	margin: 25px 1%;
	vertical-align:top;
	min-height:530px;
}
#touslesconseils .actu.fiscalite:first-of-type, #touslesconseils .actu.investissement:first-of-type {
	/* display:none; */
	/* border-color:red; */
}

#conseilsdumois .actu h3{
	background-color: #007092;
	border-radius:11px 0 0 0;
	margin:0;
	padding:10px;
	color:#ffffff;
	text-transform:uppercase;
	font-size:20px;
	line-height:1.25em;
}
#conseilsdumois .actu::before, #touslesconseils .actu::before {
    content: "";
    border-right: 8px solid #e69d42;
    border-top: 8px solid #e69d42;
    height: 10px;
    width: 10px;
    display: block;
    top: -12.5px;
    position: absolute;
    right: -12.5px;
    z-index: 50;
}
#conseilsdumois .actu img, #touslesconseils .actu img{
	max-width:100%;
	height:auto;
	width: 100%;
}
#conseilsdumois .actu h4{
	color: #007092;
	margin:0;
	padding:10px;
	font-size:19px;
	font-weight:bold;
	text-align:left;
}
#conseilsdumois .actu p, #touslesconseils .actu p{
	color: #333333;
	margin:0;
	/* margin-bottom:26px; */
	padding: 0 10px;
	font-size:15px;
	text-align: justify;
}
#touslesconseils .actu p{
	text-align: left;
	font-size:13px;
}
#touslesconseils .actu{
	border: solid 5px #1e3c5c;
	background-color:#ffffff;
	border-radius:20px 0 20px 20px;
	margin-bottom:25px;
	position:relative;
	padding-bottom:32px;
	width:28%;
	display:inline-block;
	margin: 25px 1%;
	vertical-align:top;
	min-height:450px;
}
#touslesconseils .actu p.lasuite a{
	background-color: #1e3c5c;
}
#touslesconseils .actu .lasuite a::after {
    border-left: 15px solid #1e3c5c;
}
#touslesconseils .actu .entete{
	background-color: #1e3c5c;
	border-radius:11px 0 0 0;
	margin:0;
	padding:10px;
	color:#ffffff;
}
#touslesconseils .actu .entete h3{
	color:#ffffff;
	text-transform:uppercase;
	font-size:24px;
	text-align:center;
	margin:5px 0;
}
#touslesconseils .actu .entete span {
    font-size: 13px;
    line-height: 14px;
    margin-top: 10px;
	color:#ffffff;
	text-align: left;
	display:block;
}
#touslesconseils .actu h4{
	color: #1e3c5c;
	margin:0;
	padding:10px;
	font-size:19px;
	font-weight:bold;
	text-align:left;
}
#conseilsdumois .actu.seul{
	width: 80%;
	min-height: 455px;
}

/*PAGE FICHE*/
#pagefiche #content{
	width:100%;
}
#pagefiche #main{
	width:90%;
	margin:auto;
	min-height:950px;
}
#content #main .articlefiche{
	width:95%;
	margin:auto;
	column-count: 2;
	grid-column-gap: 0;
	column-gap: 0;
	display: grid;
	grid-template-columns: 1fr 2fr;
}
#content #main .articlefiche .mainarticle {
	display: flex;
	margin:0;
	vertical-align:top;
	padding-top:40px;
	padding-bottom:150px;
	padding:15px;
}
#content #main .articlefiche .mainarticle:nth-child(2n+1) {
    border-right: solid 4px #007092;
    padding: 0 15px;
    padding-bottom: 30px;
    position: relative;
}
#content #main .articlefiche .mainarticle:nth-child(2n+1)::after {
    content: "";
    height: 13px;
    width: 13px;
    display: block;
    bottom: 0px;
    position: absolute;
    right: -9px;
    transform: rotate(45deg);
    z-index: 10;
    background-color: #007092;
}
.articlefiche .mainarticle:nth-child(2n+0){
	width:90%;;
}
.articlefiche .mainarticle:nth-child(2n+1){
	width:90%;
}
div.textarticle p{
	margin:0;
}
div.textarticle a{
	color: #e69d42;
	text-transform: uppercase;
}
div.textarticle a:hover{
	text-decoration: underline;
}
div.textarticle h4{
	text-transform: uppercase;
	color: #007092;
}
#topinvestfiche {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    border: solid #e69d42 3px;
    border-radius: 25px;
    background-color: #ffffff;
    margin: 125px auto;
    text-align: center;
	max-width: 550px;
	display:none;
}
#topinvestfiche p{
	color:#641837;
	text-align:center;
	padding:15px;
	font-weight: bold;
	font-size:18px;
}
#topinvestfiche div{
	display:inline-block;
	padding-left:8px;
	vertical-align:middle;
}
#topinvestfiche div:first-child{
	width:30%;
}
#topinvestfiche div:last-child{
	width:65%;
}
#topinvestfiche span{
	background-color:#641837;
	color: #ffffff;
	text-align:center;
	padding:0px 8px;
	font-weight: bold;
	font-size:22px;
	line-height: 2.3em;
	display:inline-block;
	margin-top: 15px;
}
/* SIDEBAR ACCUEIL*/
#content #aside{
	float:right;
	position: relative;
}
#aside div.w100{
	width:100%;
	padding:0;
	height:auto;
}
#aside div.w100 img, #aside div#motopinvest img{
	width:100%;
	display:block;
	margin:0;
}
#aside div#motopinvest {
    width: 100%;
    padding: 0;
	margin-top:60px;
	position: relative;
	top:0px; 
	/* z-index:800; */
}
#repere{
	width:100%;
	height:1px;
}
#aside div#motopinvest.fixe {
	position: fixed;
	top:190px; 
}
#aside div#motopinvest img {
	/* visibility :hidden; */
}
#aside, footer .aside{
	display: inline-block;
	width:20%;
	vertical-align:top;
	padding:1%;
}
#aside .actu{
	border: solid 5px #007092;
	background-color:#ffffff;
	border-radius:20px 0 20px 20px;
	margin-bottom:25px;
	position:relative;
	padding-bottom:65px;
}
#aside .actu::before {
    content: "";
    border-right: 8px solid #e69d42;
    border-top: 8px solid #e69d42;
    height: 10px;
    width: 10px;
    display: block;
    top: -12.5px;
    position: absolute;
    right: -12.5px;
    z-index: 50;
}
#aside .actu h3{
	background-color: #007092;
	border-radius:11px 0 0 0;
	margin:0;
	padding:10px;
	color:#ffffff;
	text-transform:uppercase;
	font-size:15px;
}
#aside .actu img{
	max-width:100%;
	height:auto;
}
#aside .actu h4{
	color: #007092;
	margin:0;
	padding:10px;
	font-size:16px;
	font-weight:bold;
}
#aside .actu p{
	color: #333333;
	margin:0;
	/* margin-bottom:26px; */
	padding:0 10px;
	font-size:15px;
	text-align: justify;
}
.actu .lasuite{
	width:auto;
	display: inline-block;
	position:absolute;
	right:32px;
	bottom:16px;
	height:22px;
	padding: 0!important;
	margin: 8px !important;
	z-index:15;
}
.actu .lasuite::after {
    content: "";
    height: 12px;
    width: 12px;
    display: block;
    top: 7px;
    position: absolute;
    right: -18px;
    transform: rotate(45deg);
    z-index: 10;
    background-color: #e69d42;
}
.actu .lasuite a{
	background-color: #007092;
    position: relative;
	padding: 0 8px!important;
	line-height:27px;
	display:block;
	color:#ffffff;
	text-decoration:none;
	font-weight:bold;
	z-index:25;
}
.actu .lasuite a::after{
	content: '';
    border-top: 14px solid transparent;
    border-left: 15px solid #007092;
	border-bottom: 14px solid transparent;
    vertical-align: top;
    display: block;
    position: absolute;
    top: 0;
    right: -15px;
}

/* SIDEBAR AUTRES PAGES*/
#topinvestaside{
	position:relative;
	width:100%;
	top: 0;
	left:0;
	border: solid #e69d42 3px;
	border-radius: 25px;
	background-color:#ffffff;
	margin: 0 auto 25px auto;
	text-align:center;
	display:none;
}
#topinvestaside p{
	color:#641837;
	text-align:center;
	padding:15px;
	font-weight: bold;
	font-size:22px;
}
#topinvestaside span{
	background-color:#641837;
	color: #ffffff;
	text-align:center;
	padding:5px 8px;
	font-weight: bold;
	font-size:22px;
	line-height: 2.3em;
}
#topinvestaside img{
	float: left;
}
/* PAGE APPLI*/
#appli{
	width:55%;
	margin:auto;
}

/* SIMULATEUR */
h1#simulateur{
	margin-top:0;
	text-align: left;
	margin-left: 6%;
}
#simulateur + div {
    width: 90%!important;
    margin: auto !important;
}
#simumob{
	display:none;
}
#calculette div.w700p{
	width: 88%!important;
    max-width: 98% !important;
	margin:auto!important;
}
#pagesimulateur #main > div {
    width: 88%!important;
    max-width: 98% !important;
	margin-left:6%!important;
}
/* MENTIONS LEGALES */
#mentions #main p{
	width:60%;
	margin: 10px auto;
}
, #mentions #main h2{
	width:60%;
	margin: 25px auto;
}
/* FOOTER */
footer{
	background-color: #1e3c5c;
	margin:0;
	text-align:center;
	position: fixed;
	bottom:0;
	color: #ffffff;
	box-shadow: 0px 0px 50px 45px rgba(119, 119, 119, 0.35);
	-moz-box-shadow: 0px 0px 50px 45px rgba(119, 119, 119, 0.35);
	-webkit-box-shadow: 0px 0px 50px 45px rgba(119, 119, 119, 0.35);
	z-index:800;
	width: 100%;
	height:70px;
	padding:0;
}
footer .adressefooter p{
	font-size:12px;
	line-height:1.2em;
	margin:0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	padding:0;
}
footer .main{
	display: inline-block;
	width:69%;
	height:auto;
	min-height:100%;
	vertical-align:top;
	padding:0;
}
footer .aside {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    padding: 0;
}
#pagesimulateur footer #footersimu, footer #topinvest, #pageaconseils footer #footersimu{
	display:none;
}
#pageaccueil footer #topinvest{
	display:inline-block;
}
#topinvest{
	position:absolute;
	width:400px;
	height:90px;
	top: -35px;
	left:40.7%;
	border: solid #e69d42 3px;
	border-radius: 25px;
	background-color:#ffffff;
	z-index:500;
	vertical-align:middle;
}
footer #footersimu{
	position:absolute;
	width:340px;
	height:90px;
	top: -35px;
	left:43%;
	border: solid #e69d42 3px;
	border-radius: 25px;
	background-color:#ffffff;
	z-index:500;
	vertical-align:middle;
}
#topinvest::before, #footersimu::before, #simumob::before{
	content:"";
	width:15px;
	height:15px;
	background-color:#007092;
	transform: rotate(45deg);
	position:absolute;
	top:-8px;
	left:50%;
	z-index:200;
}
#topinvest p, #footersimu p{
	color:#e69d42;
	display:inline-block;
	width:98%;
	height:98%;
	vertical-align:middle;
	text-align:center;
	font-weight: bold;
	font-style:italic;
	font-size:18px;
	margin:10px auto;
}
#simumob p{
	color:#e69d42;
	display:inline-block;
	width:98%;
	height:98%;
	vertical-align:middle;
	text-align:center;
	font-weight: bold;
	font-style:italic;
	font-size:22px;
	margin:10px auto;
}
#topinvest p img, #simumob p img{
	width:95px;
	height:auto;
	position:relative;
	top:-5px;
	float:left;
	padding:0 15px;
}
#footersimu p img{
	width:75px;
	height:auto;
	position:relative;
	top:-5px;
	float:left;
	padding:0 15px;
}
footer .ml{
	font-size:12px;
	color:#ffffff;
	text-align:left;
	margin: 25px;
}

/* RESPONSIVE */

@media screen and (max-width:1421px){
	.triangle{
		display:none;
	}
	header .main{
		width:46%;
		left:3%;
	}
	header .main p {
		font-size: 14px;
	}
	header .aside{
		padding-left: 2%;
		right:0%;
		width:29%;
	}
	#content {
		margin-top: 250px;
		width: 94%;
		padding: 0 3%;
	}
	.maing.mainarticle h3{
		right:-11px;
	}
	.maind.mainarticle h3{
		left:-11px;
	}
	#open{
		width: 45px;
		height: auto;
		background-color: #fff;
	}
	#close{
		width: 45px;
		height: auto;
	}
	#menu.menuo {
		width: 40%;
	}
	#menu nav {
		width: 85%;
		margin-top: 8%;
	}
	#main{
		display: inline-block;
		width: 70%;
		height: auto;
		min-height: 100%;
		vertical-align: top;
		padding: 1% 2%;
	}
	#aside{
		display: inline-block;
		width: 23%;
		vertical-align: top;
		padding: 1%;
	}
	#topinvest {
		left: 31.5%;
	}
/* Page conseils */
	#touslesconseils .actu h3 {
		font-size: 20px;
	}
	#touslesconseils .actu h3 span {
		font-size: 10px;
	}
	#aside div#motopinvest.fixe{
		top:120px;
	}
}
@media screen and (max-width:1200px){
	#main{
		width: 68%;
		padding: 1% 2% 1% 4%;
	}
	header .main {
		width: 48%;
		left: 1%;
	}
	#conseilsdumois, #touslesconseils {
		text-align: left;
		width: 90%;
		margin: auto;
	}
	#touslesconseils .actu {
		width: 46%;
	}
	header .main h2{
		width:95%;
		margin:30px 0;
	}
	header .aside {
		padding-left: 2%;
		right: -1%;
		width: 32%;
	}
	.maing.mainarticle h3{
		right:-9px;
	}
	.maind.mainarticle h3{
		left:-9px;
	}
	h1{
		width: 80%;
		margin: auto;
		margin-bottom: 35px;
	}
	
}
@media screen and (max-width:1080px){
	header .aside {
		padding-left: 3%;
		right: -2%;
		width: 35%;
	}
	header .main p{
		font-size: 14px;
	}
	#main{
		padding: 1% 1%;
	}
	#aside{
		width: 27%;
		padding: 0%;
	}
	#pagesimulateur object{
		max-width: 99%!important;
		min-height: 100%!important;
		margin-top:25px!important;
	}
	#pagesimulateur object [class*="grid-3"] > *{
		width: 100%;
	}
	#pagesimulateur .ui-widget-content {
		position: relative !important;
		top: 8px!important;
		left: -5px!important;
	}
	#pagesimulateur .savoirplus {
		margin-left: 0!important;
		position: relative;
		right: 0!important;
	}
	#pagesimulateur [class*="grid-2"] > * {
		width: 95% !important;
	}
}
@media screen and (max-width:1024px){
	#open {
		position: fixed;
		z-index: 750;
		left: 13px;
		cursor: pointer;
	}
	#content #main .articleaccueil{
		width:90%;
		margin:0;
		column-count: 1;
		display: block;
		margin-left:4.5%;
	}
	.mainarticle:nth-child(2n+0), .mainarticle:nth-child(2n+1){
		padding: 0 15px;
		width:100%;
		position:relative;
		border-left:solid 4px #1e3c5c;
		border-right:none;
		display: block;
		margin:0;
		vertical-align:top;
		padding-bottom: 65px;
	}
	.mainarticle:nth-child(2n+0) h3, .mainarticle:nth-child(2n+1) h3{
		width:auto;
		display: inline-block;
		position:absolute;
		left:4px;
		top:-20px;
		height:22px;
		padding: 0!important;
		margin: 8px !important;
		z-index:15;
	}
	.mainarticle:nth-child(2n+0) h3::before, .mainarticle:nth-child(2n+1) h3::before {
		content: "";
		height: 13px;
		width: 13px;
		display: block;
		top: 7px;
		position: absolute;
		left: -20px;
		transform: rotate(45deg);
		z-index: 10;
		background-color: #007092;
	}
	.mainarticle:nth-child(2n+0) h3::after, .mainarticle:nth-child(2n+1) h3::after, .mainarticle:nth-child(2n+1) h3 span::after, .mainarticle:nth-child(2n+0) h3 span::after {
		content: none;
	}
	.mainarticle:nth-child(2n+1) h3 span::before, .mainarticle:nth-child(2n+0) h3 span::before{
		content: '';
		border-top: 13px solid transparent;
		border-right: 15px solid #e69d42;
		border-bottom: 14px solid transparent;
		vertical-align: top;
		display: block;
		position: absolute;
		top: 0;
		right: auto;
		left:-14px;
	}
	#topinvest {
		width: 45%;
		left: 4.65%;
	}
	#topinvest p img {
		width: 100px;
		height: auto;
	}
	#topinvest p {
		font-size: 14px;
	}
	#topinvest::before{
		left:7.5%;
	}
	header .main p{
		font-size: 13px;
	}
	#content #main .articlefiche {
		width: 90%;
		margin: auto;
		column-count: 1;
		grid-column-gap: 0;
		column-gap: 0;
		display: grid;
		grid-template-columns: 1fr;
		border-right:none;
	}
	#content #main .articlefiche img{
		width: 70%;
	}
	#content #main .articlefiche .mainarticle:nth-child(2n+1){
		border-right:none;
	}
	#content #main .articlefiche .mainarticle:nth-child(2n)::after {
		content: "";
		height: 13px;
		width: 13px;
		display: block;
		bottom: 0px;
		position: absolute;
		right: auto;
		transform: rotate(45deg);
		z-index: 10;
		background-color: #007092;
		left: -9px;
	}
	#content #main .articlefiche .mainarticle:nth-child(2n+1)::after {
		content: "";
		display:none;
	}
}
@media screen and (max-width:990px){
	header .aside {
		padding-left: 2%;
		right: 1.5%;
		width: 36%;
	}
	header .main {
		width: 44%;
		left: 0%;
	}
	#menu.menuo {
		width: 60%;
	}
	header .aside .logo, header .aside .bordure{
		width:230px;
		margin-left: 22%;
	}
	.bordure h2, .bordure h3{
		font-size:13px;
	}
	.bordure img{
		height: 111px;
	}
	header .main h2 {
		width: 95%;
		margin: 30px 0;
		font-size:18px;
	}
}
@media screen and (max-height:871px) and (min-width:990px){
	.bordure{
		display:none;
	}
	.triangle{
		background-color:transparent;
	}
	header{
		height: 85px;
		overflow:visible;
	}
	header .aside {
		height: 85px;
	}
	header .main {
		height: 85px;
		overflow:hidden;
	}
	.bordure.ecranbas{
		display:block;
		margin:5px auto 15px auto;
		text-align:center;
		border: solid 3px #e69d42;
		border-radius: 0 15px 0 0;
		width: 250px;
		overflow: hidden;
		background-color: #ffffff;
		height: 110px;
	}
	#content {
		margin-top: 105px;
		width: 94%;
		padding: 0 3%;
	}
}
@media screen and (min-height:870px){
	.bordure{
		display:block;
	}
	.bordure.ecranbas{
		display:none;
	}
}
/* MOBILE */
@media screen and (max-width:840px){
	#headermobile{
		display:block;
		background-image: url("../images/fondheader.jpg"), linear-gradient(to right,#1e3c5c,#1e3c5c,#ffffff,#ffffff);	
		background-repeat: no-repeat;
		background-position: 52% top;		
		margin:0;
		position: fixed;
		top:0;		
		width: 100%;
		padding:0;
		z-index:800;
		height:95px;
		overflow:hidden;
		border-bottom: #007092 solid 5px;
	}
	#topmainmobile{
		background-color: #1e3c5c;
		position:relative;
		padding:10px 0 20px 0;
		display:none;
		width:100%;
	}
	header, .w100, .aside.adressefooter{
		display:none;
	}
	html{
		background-image:url("../images/img-fd.jpg");
		background-repeat:no-repeat;
		background-attachment: fixed;
	}
	#headermobile .logo{
		width:50%;
		margin:0;
		padding:0;
		display:inline-block;
		height:100%;
		text-align:center;
	}
	#headermobile .logo img{
		max-width:80%;
		margin:auto;
		position:relative;
		top:5px;
	}
	#headermobile .accroche{
		width:50%;
		margin:0;
		padding:0;
		display:inline-block;
		height:100%;
	}
	#headermobile .accroche h2{
		/* width:100%; */
		/* color:#ffffff; */
		/* font-weight:normal; */
		/* text-transform:uppercase; */
		/* margin: 0; */
		/* line-height: 1.2em; */
		/* text-align:center; */
		/* font-size:22px; */
		/* display: block; */
		/* height:100%; */
		/* position: relative; */
		/* bottom: 15px; */
	}
	#headermobile .accroche h2 {
		width: 100%;
		color: #ffffff;
		font-weight: normal;
		text-transform: uppercase;
		margin: 13% auto 0 auto;
		line-height: 1.2em;
		text-align: center;
		font-size: 22px;
		display: block;
		height: 100%;
		position: relative;
		bottom: 6px;
	}
	#content {
		margin-top: 170px;
		width:100%;
		padding:0;
	}
	#openmobile{
		display: block;
		width:60px;
		height:60px;
		position: relative;
		z-index: 1000;
		margin:auto;
		cursor: pointer;
		background-color: #ffffff;
		top: -16px;
		padding: 3px;
	}
	#openmobile img{
		box-shadow: 2px 1px 6px -1px rgba(0,0,0,0.43);
		-webkit-box-shadow: 2px 1px 6px -1px rgba(0,0,0,0.43);
		-moz-box-shadow: 2px 1px 6px -1px rgba(0,0,0,0.43);
	}
	#open{
		display:none;
	}
	#topmainmobile .bordure{
		max-width:80%;
		background-color:#ffffff;
		margin:auto;
		border: solid 3px #e69d42;
		border-radius: 0 15px 0 0; 
		max-width:350px;
		overflow:hidden;
		margin-top:12px;
		background-color:#ffffff;
	}
	#topmainmobile .bordure img{
		float: left;
		padding-right:5px;
		width:auto;
		display: block;
		max-height:100%;
	}
	#topmainmobile .bordure h2{
		color: #e69d42;
		font-size:14px;
		font-weight: bold;
		margin-bottom:0px;
		margin-top: 8px;
	}
	#topmainmobile .bordure h3{
		font-size:14px;
		font-weight: bold;
		margin:8px 0px;
		color: #333333;
	}
	#content #aside{
		float:none;
		width:95%;
		padding:2%;
		display:none;
	}
	#content #aside .actu{
		min-height:250px;
	}
	#aside .actu img{
		width:50%;
		float:left;
		padding-right:10px;
		border-bottom-left-radius:14px;
		max-width: 100%;
        max-height: 100%;
        display: block;
		min-height: 243px;
	}
	#content #main{
		width:90%;
		display:block;
		margin:15px auto 170px auto;
		background-color:#ffffff;
		border-top-right-radius:20px;
		border-top-left-radius:20px;
		padding-top: 200px;
		position: relative;
	}
	#pagesimulateur #content #main{
		padding-top: 5px;
	}
	#simumob{
		display:block;
		border: solid #e69d42 3px;
		border-radius: 25px;
		background-color:#ffffff;
		z-index:500;
		vertical-align:middle;
		position: absolute;
		top: -1px;
		margin: auto;
		width: 100%;
		left: -2px;
	}
	footer{
		min-height:75px;
	}
	footer .main{
		width:100%;
	}
	footer .aside{
		display:none;
	}
	#footersimu{
		display:none;
	}
	#topinvest {
		width:400px;
		left: 26%;
		margin: auto;
	}
	#topinvest::before {
		left: 49%;
	}
	#topinvest p {
		font-size: 16px;
		line-height: 23px;
	}
	#close {
		display: none;
		width: 60px;
		height: 60px;
		position: fixed;
		left: 46%;
		top: 111px;
		transform: rotate(0deg);
		cursor: pointer;
		background-color: #fff;
		padding: 3px;
	}
	#menu.menuo {
		height: 84%;
		width:100%;
		overflow: auto;
	}
	#menu {
		height: 0%;
		width: 100%;
		position: fixed;
		left: 0;
		top: auto;
		bottom:0;
		background-color: #1e3c5c;
		z-index: 1000;
		-webkit-transition: height 300ms linear;
		transition: height 400ms linear;
		overflow: hidden;
		color: #ffffff;
		box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0);
		-moz-box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0);
		-webkit-box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0);
		transform-origin : bottom center;
	}
	#openmobile, #close-mobile {
		display: block;
		width: 86px;
		height: 80px;
		position: fixed;
		z-index: 1000;
		margin: auto;
		cursor: pointer;
		background-color: transparent;
		top: 67px;
		padding: 3px;
		left: 43.7%;
	}
	#close {
		display:none;
		width: 60px;
		height: 60px;
		position: fixed;
		z-index: 1000;
		margin: auto;
		cursor: pointer;
		background-color: #ffffff;
		top: 13%;
		padding: 3px;
		left: 2.5%;
	}
	#close-mobile {
		display:none;
	}
	#conseilsdumois .actu,#touslesconseils .actu {
		width: 95%;
		height: auto;
		min-height: 260px;
		padding-bottom: 50px;
	}
	#menu li a {
		margin-top: 8px;
		font-size: 15px;
	}
	#content #main .articlefiche{
		width:95%;
		margin:auto;
		column-count: 1;
		grid-column-gap: 0;
		column-gap: 0;
		display: grid;
		grid-template-columns: 1fr;
	}
	#content #main .articlefiche .mainarticle:nth-child(2n+1) {
		border-right: none;
	}
	#content #main .articleaccueil .mainarticle h3, .mainarticle:nth-child(2n) h3, .mainarticle:nth-child(2n+1) h3 {
		font-size:13px;
	}
	#content #main .articlefiche .mainarticle:nth-child(2n)::after {
		content: "";
		height: 13px;
		width: 13px;
		display: block;
		bottom: 0px;
		position: absolute;
		right: auto;
		transform: rotate(45deg);
		z-index: 10;
		background-color: #007092;
		left: -9px;
	}
	#content #main .articlefiche .mainarticle:nth-child(2n+1)::after {
		display:none;
	}
	#aside div#motopinvest, #aside div#motopinvest.fixe, #aside div#motopinvest img {
		display:none; 
	}
	#appli{
		width:95%;
		margin:auto;
	}
	h1, #main h2 {
		font-size: 22px;
	}
	.mainarticle:nth-child(2n+1) h3 span::before, .mainarticle:nth-child(2n) h3 span::before {
		border-top: 9px solid transparent;
		border-right: 15px solid #e69d42;
		border-bottom: 11px solid transparent;
	}
	p.small{font-size:10px; margin: auto; margin-left: 6%; width: 88%; max-width: 98%;}
	#contactForm.grid2.mas>div, #contactForm .mas{width: 100%!important;display: block;}
	#calculette input {
		width: 180px !important;
		max-width: none;
	}
	[class*="grid-2"] > * {
		width: 100% !important;
	}
}
@media screen and (max-width:690px){
	#headermobile .logo {
		width: 43%;
		margin: 0;
		padding: 0;
		display: inline-block;
		height: 100%;
		text-align: center;
	}
	#headermobile .accroche{
		width:57%;
	}
	#headermobile .accroche h2 {
		margin: 11% auto 0 auto;
		font-size: 15px;
	}
}
@media screen and (max-width:500px){
	#headermobile{
		background-position:52% 2%;
	}
	#headermobile .accroche {
		width: 55%;
		margin-top: 15px;
	}
	#headermobile .logo img {
		max-width: 80%;
		margin: auto;
		position: relative;
		top: -5px;
	}
	.bordure p{
		font-size: 12px;
	}
	#topinvest {
		left: 4%;
		max-width:90%;
	}
	#topmainmobile .bordure{
		max-width:70%;
	}
	#topinvest p {
		font-size: 13px;
		line-height: 19px;
		margin-top: 14px;
	}
	#topinvest p img{
		padding-right:1px;
	}
	#topinvestfiche div:first-child,#topinvestfiche div:last-child {
		width: 95%;
	}
	#menu.menuo {
		height: 84%;
		width:100%;
		overflow: auto;
	}
}