@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
:root {
    --main-color: rgb(112, 206, 62);
    --main-color-shadow: rgba(112, 206, 62, 0.4);
    --second-color: #242fbd;
    --text-color: white;
}

#mainpanel {
    width: 80vw;
    margin: 0 auto;
    min-height: 600px;
    /* border:1px solid grey; */
}

#mainpanel h1 {
    padding: 35px;
    margin: 0;
    background: var(--main-color-shadow);
    color: var(--text-color);
    border-radius: 10px;
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    text-shadow: 0 0 3px black;
}

#mainpanel .mef {
    display: flex;
}

#mainpanel .etapes {
    width: 25%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--text-color);
}

#mainpanel .etapes .etape {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 5px 5px 0 0;
    border-radius: 10px;
    display: none;
    cursor: pointer;
    text-align: center;
}

#mainpanel .etapes .etape:first-child {
    display: flex;
}

#mainpanel .etapes .etape:first-child {
    background: var(--main-color);
}

#mainpanel .questions {
    width: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#mainpanel .questions .question h2 {
    color: var(--second-color);
}

#mainpanel .questions .question {
    width: 100%;
    display: none;
    color: var(--second-color);
}

#mainpanel .questions .question:first-child {
    display: block;
}

#mainpanel .questions .question h2 {
    text-align: center;
    margin-top: 25px;
    width: 100%;
}

#mainpanel .questions .reponses {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

#mainpanel .questions .reponses form {
    width: 50%;
    margin: 0 auto;
}

#mainpanel .questions .reponses form label {
    display: block;
    margin: 10px 0;
}

#mainpanel .questions .reponses .reponse {
    width: 25%;
    margin: 5px;
    font-size: 1.3rem;
    box-shadow: 1px 1px 2px 2px var(--main-color-shadow);
    border-radius: 10px;
    border: 3px solid var(--main-color);
}

.radioreponse {
    display: none;
}

.radioreponse+label {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.radioreponse:checked+label {
    background: var(--main-color);
    color: white;
}

i[class*="fa"] {
    /* margin: 8px 0; */
    font-size: 2rem;
}

#mainpanel .suivant {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

#mainpanel .suivant button {
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 10px;
    border-color: var(--main-color);
    background: var(--main-color);
    outline: transparent;
}

#mainpanel .suivant button:active {
    border: 3px solid black;
}

#bilan {
    column-count: 2;
    column-rule: solid 1px grey;
    column-fill: balance;
}

#mainpanel input, textarea, select {
    width: 100%;
    font-size: 1.3rem;
    border: none;
    border-radius: 2pt;
    box-shadow: 0 0 0 1pt grey;
    outline: none;
}

#mainpanel input, textarea, select {
    height: 2.5rem;
}

#mainpanel textarea {
    height: auto;
}

.checkok {
    position: relative;
}

.checkok::after {
    position: absolute;
    right: -25px;
    top: 45%;
    content: "\2713";
    color: green;
    font-size: 1.8rem;
    font-weight:bold;
}

.helpimg{
    max-width:80px;
}
.text-center{
    text-align:center;
}

.m-10{
    margin:10px ;
}

/*ARCHIVE*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
#simulateur{
		min-height: 675px;
		width: 1250px;
		margin: 0 auto -85px auto;	
		display: flex;
		justify-content: space-around;
		align-items: center;
		font-family: "Montserrat", Sans-serif;
}
#simulateur > figure {
    width: 300px;
    min-height: 230px;
    /* background: red; */
    position: relative;
}

#simulateur > figure > a {
    display: block;
    width: 100%;
    height: 90px;
    background: #BAE7DA;
    position: relative;
	border-radius: 30px 30px 0 0;
 	transition: .2s; 
}
#simulateur > figure:hover > a {
    background: #39A9DC;
}
#simulateur > figure > a > img {
    height: 300px;
    display: block;
    position: absolute;
    top: -180px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 30px;
    transition: 0.5s;
}
#simulateur > figure:hover > a > img {
    transform: rotate(360DEG);
}
#simulateur  figcaption.ghost-overflow {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #BAE7DA;
	position: relative;
}
#simulateur  figcaption.ghost-overflow .recto h2 {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #1F8491;
    border-top: 2px solid white;
    text-align: center;
    font-size: 23px;
	font-family: "Montserrat", Sans-serif;
	font-style: normal;
	color: white;
}
#simulateur  figcaption.ghost-overflow .recto em {
    width: 100%;
    background: #BAE7DA;
    font-size: 20px;
    display: block;
    padding: 15px;
	font-style: normal;	
	text-align: center;
}
#simulateur  figcaption.ghost-overflow .recto h2 a{
	color: white;
}
#simulateur  figcaption.ghost-overflow .recto em a{
	color: #1F8491;
	font-family: "Montserrat", Sans-serif;
}
#simulateur  figcaption.ghost-overflow .recto h2 a, #simulateur  figcaption.ghost-overflow .recto em a{text-decoration: none;}


#simulateur  figure figcaption.ghost-overflow .verso{
	background: #39A9DC;
	height: 100%;
}
#simulateur  figure figcaption.ghost-overflow .verso p{

	height: 50%;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;	
	text-align: center;
}
#simulateur  figure figcaption.ghost-overflow .verso p a{
	text-decoration: none;
	color: white;
	font-family: "Montserrat", Sans-serif;
	font-style: normal;
	font-size: 20px;
}
#simulateur  figure figcaption.ghost-overflow .verso div.display-flex{display: flex; }
#simulateur  figure figcaption.ghost-overflow .verso a.cestparti{
	text-decoration: none;
	color: white;
	font-family: "Montserrat", Sans-serif;
	font-style: normal;
	font-size: 20px;
	display: inline-block;
	border: 2px solid white;
	padding: 5px 8px;
    margin: 5% auto 0 auto;
	text-align: center;
}
#simulateur  figure figcaption.ghost-overflow .verso a.cestparti:hover{
	background: #BAE7DA;
	color: white;
}
#simulateur  figure figcaption.ghost-overflow .recto,
#simulateur  figure figcaption.ghost-overflow .verso{
	transition: 0.3s;
	position: absolute;
	top: 0;
	width: 100%;
	
}
#simulateur  figure figcaption.ghost-overflow .recto{
	left: 0;
	z-index: 0;
}
#simulateur  figure figcaption.ghost-overflow .verso{
	left: -100%;
	z-index: 1;
}
#simulateur  figure:hover figcaption.ghost-overflow .recto{
	left: -100%;
}
#simulateur  figure:hover figcaption.ghost-overflow .verso{
	left: 0;
}
/* RS Button */
/* Whatsapp Button
--------------------------------------------- */
.btn-rs{
    z-index: 100;
	position: fixed;
	top: 40%;
	left: 0px;
}
.btn-rs  a{
    color:#fff;
    font-size:50px;
    padding: 0px;
    display: flex;
    justify-content: justify-content;
    align-items: center;
    width: 50px;
    height: 50px;
    position: relative;
    
}
.btn-rs  a i {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    position: relative;
	color: white!important;
    z-index: 1;
}
.btn-rs  a em {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50px;
    font-size: 18px;
    color: white;
    transform: translatex(-250px);
    transition: .3s;
    border-radius:  0px 2px  2px 0px;
    width: 250px;
    opacity: 1;
    z-index: 0;
    padding: 0 3px
}
/*facebook*/
.btn-rs .facebook-rs, 
.btn-rs .facebook-rs em,
.btn-rs .facebook-rs i{background-color: #3b5998 ;border-radius: 0 10px 0 0;}
/*instagram*/
.btn-rs .instagram-rs, 
.btn-rs .instagram-rs em,
.btn-rs .instagram-rs i{background-color: rgb(193,53,132);}
/*linkedin*/
.btn-rs .linkedin-rs, 
.btn-rs .linkedin-rs em,
.btn-rs .linkedin-rs i{background-color: #0e76a8 ;}
/*whatsapp*/
.btn-rs .whatsapp-rs, 
.btn-rs .whatsapp-rs em,
.btn-rs .whatsapp-rs i{background-color: #25D366;;border-radius: 0 0 10px 0;}

.btn-rs  a.facebook-rs:hover {
}
.btn-rs  a:hover em{
    transform: translatex(-10px);
    opacity: 1;
}
.btn-rs  a em:hover{
    color: #dfe1e5;
}
/*FIN ARCHIVE*/
/* ---------------------------------------------- MEDIA QUERIES ---------------------------------------------- */

@media screen and (max-width:1279px) {
	#simulateur{
		display: block;
		width: 100%;
	}
	#simulateur > figure {
		width: 50%;
		display: block;
		margin: 0%;
		padding: 0%;
		float: left;
		border: 1px solid white;
	}
	#simulateur > figure > a{
		border-radius: 0;
		height: 165px;
	}
	#simulateur > figure > a > img{
		height: 240px;
		z-index: 3;
		top: -35px;
	}
}
@media screen and (max-width:780px) {
    #mainpanel .questions .reponses .reponse {
        width: 50%;
    }
	#simulateur > figure {
		width: 100%;
		display: inline-block;
	}
	#simulateur > figure:first-child {
		margin-top: 10px;
	}
		#simulateur > figure > a > img{
			border-color: white;
			outline: none;
	}
	.btn-rs{
		display: none;
	}
}

