/* divers */
.previous_f .action-button {
	margin: 2.5% auto !important;
}

#prev_full2{
	display:none;
}
#form_content a{
	color: #f9b800;
	text-decoration : none;
}

#frame_simul{
	height: 1650px;
}

/* textes */
.wes_simulateur p {
	text-align: unset;
}

.wes_simulateur ul {
	text-align: left;
	list-style-type: square;
}

/* titres */
h1.fs-title,
h2.fs-title {
	color: #722e55;
	font-weight: 600;
    text-transform: uppercase;
    font-size: 26px;
    line-height: 1.3em;
	padding-bottom: 0px;
	margin-bottom: 5px;
	text-align: center;
}
h3.fs-subtitle {
	color: #000000;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 22px;
	padding-bottom: 0px;
	margin-bottom: 10px;
	text-align: center;
}
p.subsub {
	color: #f9b800;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	padding-bottom: 0px;
	margin-bottom: 15px;
}

/*form styles*/

#msform {
	display:block;
	/*height:650px;*/
	width: 100%;
	margin: 0px;
	text-align: center;
	overflow: hidden;
	position: relative;
}
#msform fieldset {
	display:block;
	border: 0 none;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 30px;
	overflow:hidden;
	margin : 0px;
	/*stacking fieldsets above each other*/
	/*position: absolute;*/

}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}

.wes_simulateur #cp{
	width:30% !important;
	float: left;
}

.wes_simulateur #ville{
	width:65%  !important;
	float: left;
	margin-left: 5%;
}

/*inputs*/
#msform input, #msform textarea, #msform select {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
	color: #000;
	font-size: 14px;
}

/*buttons*/
.simulateur_boutons {
	padding: 0 30px;	
}
a.action-button,
input.action-button {
	display:block !important;
	cursor: pointer !important;
	margin-top: 15px !important;
	border-radius: 20px !important;
	width: auto !important;
	border-color: #722e55 !important;
}
.et_button_no_icon a.action-button,
.et_button_no_icon input.action-button,
.et_button_no_icon a.action-button:hover,
.et_button_no_icon input.action-button:hover {
	padding: 10px 15px !important;
}
.action-button.previous,
input.action-button.previous {
	background-color: #fab800 !important;
	border-color: #fab800 !important;
	color: #000 !important;
}
.action-button.previous:hover,
input.action-button.previous:hover {
	background-color: #ffffff !important;
	border-color: #fab800 !important;
	color: #000 !important;
}

.action-button.next:after,
.action-button.next2:after {
	display: inline-block;
}

.previous_f{
	/*background-color: white !important;
	background: url(https://www.rhp-combles.com/wp-content/uploads/restart.jpg) center right no-repeat !important;	*/
}


/*headings*/

/*progressbar*/
#progressbar {
	margin-bottom: 20px;
	margin-left: 0px;
	padding-left: 0px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}

#progressbar li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 9px;
	width: 33.33%;
	width: 20%;
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}

/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
	background: #27AE60;
	color: white;
}

#img_result{
	width: 100%;
	max-width: 100%;
}



/* ETAPE 1 : INTRO */
#step_1 {
	background-image: var(--wpr-bg-d37f7659-a707-4f70-b40f-6b5ed644e6ce) !important;
	background-position : 50% 50% !important;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 30px;
}

.step_1_left {
	max-width: 40%;
	height:auto;
	margin: 0;
	padding: 0px;
}
div.step_1_left .fs-title {
	text-align: left;
}
div.step_1_left .fs-subtitle {
	text-align: left;
}
div.step_1_left .subsub {
	text-align: left;
}
div.step_1_left p {
	text-align: left;
}

/* ETAPE 2 : TYPE CHARPENTE  */
#step_2 {
	background: white;
}
#charpente .choix {
	width: 50%;
    float: left;
    padding: 30px;
}
#charpente label {
	display: block;
	float: left;
	width: 100%;
	cursor: pointer;
	font-size: 18px;
    line-height: 1.5;
	background-color: #f4f6f7;
    border-radius: 20px;
    padding: 10px;
	-moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#charpente label:hover {
	background-color: #b0b0b0;
}
#charpente label img {
	width: 100%;
	max-width: 100%;
	border-radius: 10px;
}
#step_2 .action-button.previous {
	float: left !important;
	width: 30% !important;
	margin-left: 30px;
	margin-top: 0 !important;
}
#step_2 .action-button.next {
	float: right !important;
	width: 30% !important;
	margin-right: 30px;
	margin-top: 0 !important;
}

/* ETAPE 3 : DIMENSIONS */
#step_3 {
	background-color: #f4f6f7;
	background-image: var(--wpr-bg-4337e1ce-1b48-4e66-88cd-e52a76abfc93) !important;
	background-position : top left !important;
	background-repeat: no-repeat;
	padding: 0 !important;
}
.step_3_legend {
	padding: 15px 0;
}
.img_dimensions {
	max-width:75%;
	max-height:310px;
}
#step_3 .action-button.previous {
	float: left !important;
	width: 30% !important;
	margin-bottom: 30px !important;
}
#step_3 .action-button.calcul {
	float: right !important;
	width: 30% !important;
	margin-bottom: 30px !important;
}

div.step_3_left {
	box-sizing:border-box;
	width: 100%;
	height:auto;
	padding: 30px;
	padding-left: 450px;
}
.pop_up_erreur{
	display:none;
	width: 100%;
	height: 650px;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	text-align:center;
}
.pop_up_erreur_box {
	background-color: white; 
	width: 450px;
	height: 150px;
	margin: auto;
	border-radius: 20px;
	text-align: center;
	padding: 30px;
	box-shadow: 0 5px 10px rgb(0 0 0 / 33%);
}
.pop_up_erreur_box .text_erreur {
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
}
.pop_up_erreur_box .close_but {
	margin: auto !important;
    float: none;
}

/* ETAPE 4 : CALCUL */
#step_4 {
	background-color: #f4f6f7;

	padding: 0 !important;
}
div.step_4_left {
	box-sizing:border-box;
	width: 100%;
	height:auto;
	padding: 0px;
	padding-left: 0px !important;
}
#step_4 #result img {
	border-radius: 50%;
	border: solid 2px #fff;
}
#step_4 .action-button {
	width: 100% !important;
    float: none !important;
    margin: 0px !important;
}
.subtitle_step4 {
	display: block;
	text-align: center; 
	color: white; 
	cursor: pointer; 
	margin-top: 10px;
}

#calc {
	text-transform: uppercase;
	color: #4f4f4f;
	font-weight: 900;
	text-align:center;
}

/* ETAPE 4 : RESULTAT */
.img_result {
	max-width:75%;
	max-height:290px;
}
.surface_plancher, .surface_habitable{
	display:block;
	float: left;
	width: 45%;
	line-height: 1.3;
	box-sizing: border-box;
	background-color: white !important;
	border: 2px solid #f9b800;
	border-radius: 20px;
	padding: 10px;
	margin: 10px 2.5%;
	font-size: 22px;
	text-align:center;
}

.surface_erreur {
	display: block;
    width: 90%;
    line-height: 1.3;
    box-sizing: border-box;
    background-color: white !important;
    border: 2px solid #f9b800;
    border-radius: 20px;
    padding: 10px;
    margin: 10px auto;
    font-size: 18px;
    text-align: center;
}
.surface_plancher p,
.surface_habitable p {
	margin: 0px;
	padding: 0px;
}
.surface_plancher p span,
.surface_habitable p span {
	font-weight: 900;
}
div#result{
	overflow: hidden;
}
p.result_plancher, 
p.result_habitable {
	font-size: 36px;
	color: #f9b800;
	font-weight: bold;
}

/* ETAPE 4 : SUGGESTIONS */
#suggestions_col{
	width: 67%;
    height: 650px;
    float: left;
    background-image: var(--wpr-bg-ce9be70f-6faf-4ee2-990b-cabd523e51a1);
	background-position: 100% 0%;
	background-repeat: no-repeat;
	background-size: cover;
    padding: 30px;
    margin: 0px;
    box-sizing: border-box;
}
#suggestions{
	width: 33%;
    /*min-width: 320px;*/
    height: 650px;
    float: right;
	background-image: var(--wpr-bg-c32a552c-2523-4bfd-adb3-72c0b2aa8454);
	background-position: 0% 0%;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 20px;
	margin: 0px;
	box-sizing: border-box;
}

/* ETAPE 4 : ARTICLES BLOG */
#titre1 {
	font-size: 28px;
    color: #722e55;
    line-height: 1.3;
	margin-top: 30px;
}
#titre2 {
	font-size: 20px;
    color: #000;
}
#titre3 {
	font-size: 18px;
    font-weight: bold;
    color: #fab800;
    margin-top: 0px;
}
#titre1,
#titre2,
#pfirst,
#temoi,
#real {
	display: none;
}
#temoi,
#real {
	width: 100%; 
	box-sizing: border-box; 
	border: 2px solid #f9b800; 
	height: auto; 
	overflow: hidden; 
	padding: 25px;
	border-radius: 0px;
	margin-top: 20px;
}
#temoi_img,
#real_img {
	float: left;
    width: 30%;
    margin-right: 20px;
}
#temoi_txt,
#real_txt {
	float: left;
	width: 67%;
    text-align: left;
}


/* ETAPE 5 */
#step_5 {
	background-color: #f4f6f7;
	background-image: var(--wpr-bg-0092c779-87b9-4de3-95df-d6db80e03813) !important;
	background-position : 0% 33%;
	background-repeat: no-repeat;
}
div.step_5_left{
	box-sizing:border-box;
	width: 100%;
	height:auto;
	padding: 0px;
	padding-left: 450px;
}
#step_5 .action-button {
	width: 50% !important;
    float: none !important;
    margin: 15px auto 0 !important;
}
#step_5 #resultat {
	display: none !important;
}
#step_5 #resultat img {
	border-radius: 50%;
	border: solid 2px #fff;
}



/*** AFFICHAGE SUR TABLETTE ***/
@media(max-width: 1024px){
	#frame_simul {
		height: 4650px;
	}
	h2.fs-title {
		text-align: center;
		/*font-size: 16px;*/
	}
	h3.fs-subtitle{
		text-align: center;
		/*font-size: 16px;*/
	}
	.action-button {
		float:left;
		margin: 15px 2.5% !important;
	}
	
	/* Etape 1 */
	#step_1 {
		background-image: none !important;
	}
	.step_1_left {
		max-width: 100%;
		padding: 0 15px;
	}
	.step_1_left h2.fs-title{
		text-align:center !important;
	}
	div.step_1_left p.subsub {
		text-align: center !important;
	}
	div.step_1_left p {
		text-align: justify !important;
	}
	.step_1_left a.next {
		float: none !important;
		width: 100% !important;
		margin: 30px auto !important;
	}
	
	/* Etape 2*/
	#charpente .choix {
		padding: 30px 15px;
	}
	#step_2 .action-button.previous,
	#step_2 .action-button.next {
    	width: 45% !important;
	}
	
	/* Etape 3 */
	#step_3 {
		background-image: none !important;
	}
	div.step_3_left {
		padding-left: 30px;
	}
	.img_dimensions {
		max-width:100%;
		max-height:310px;
	}
	#step_3 .action-button.previous,
	#step_3 .action-button.calcul {
    	width: 45% !important;
	}
	
	/* Etape 4 */
	div.step_4_left{
		padding-left : 0px !important;
		overflow:hidden;
	}
	#suggestions_col{
		width: 100%;
    	height: auto;
    	float: none;
	}
	#suggestions {
		width: 100%;
    	float: none;
	}
	.img_result {
		max-width:100%;
		max-height:250px;
	}
	#temoi_img, 
	#real_img {
		width: 100%;
    	float: none;
    	margin: 0 0 10px 0;
	}
	#temoi_txt, 
	#real_txt {
		width: 100%;
		float: none;
		text-align: justify;
	}

	/* Etape 5 */
	#step_5 {
		background-position: -300px;
	}
	div.step_5_left {
		padding-left : 125px !important;

	}
	.previous_f {
		float:none !important;
	}

}

/*** AFFICHAGE SUR MOBILE  ***/
@media (max-width : 641px) {

	h2.fs-title {
		/*font-size: 16px !important;*/
	}
	h3.fs-subtitle{
		/*font-size: 13px !important;*/
	}
	p.subsub{
		/*font-size:13px !important;*/
	}
	#form_content {
		padding: 0 30px;
	}
	
	/* Etape 1 */
	.step_1_left {
		padding: 0 0px !important;
	}
	.step_1_left a.next {
		width: 100% !important;
	}
	/*#step_1{
		padding: 5px!important;
	}
	.step_1_left{
		margin : 5px !important;
	}*/
	
	/* Etape 2 */
	#charpente .choix {
		width: 100% !important;
		padding: 0 0 30px 0 !important;
	}
	#step_2 .action-button.previous, 
	#step_2 .action-button.next {
		width: 100% !important;
		float: none !important;
		margin: 0 0 15px 0 !important;
	}
	#step_2 .action-button.previous {
		margin-left: 0 !important;
		bottom: 0;
    	position: absolute;
    	margin-top: 30px !important;
		width: calc(100% - 60px) !important;
	}
	#step_2 .action-button.next {
		margin-right: 0 !important;
		margin-bottom: 45px !important;
	}
	
	/* Etape 3 */
	.step_3_form {
		margin-bottom: 20px;
	}
	#step_3 .action-button.previous, 
	#step_3 .action-button.calcul {
		width: 100% !important;
		float: none !important;
		margin: 0 0 15px 0 !important;
	}
	#step_3 .action-button.previous {
		bottom: 0;
    	position: absolute;
    	margin-top: 30px !important;
		width: calc(100% - 60px) !important;
	}
	#step_3 .action-button.calcul {
		margin-right: 0 !important;
		margin-bottom: 45px !important;
	}
	
	/* Etape 4 */
	#step_4 {

	}
	.surface_plancher, .surface_habitable{
		width: 100% !important;
    	margin: 15px 0%;
	}
	
	/* Etape 5 */
	#step_5{
		background-image: none !important;
	}
	div.step_5_left{
		padding-left : 5px !important;
	}

	div.step_5_left .action-button {
		float:right !important;
		margin: 5px !important;
		width: 100% !important;
	}



	#prev_full2{
		display: block !important;
	}
	#prev_full{
		display:none!important;
	}

	.previous_f{
		float:none !important;
		width: 100% !important;
	}


	.surface_plancher, .surface_habitable{
		box-sizing:border-box;
	}
}