
/*mise en forme provisoire du simulateur*/
/*généralités*/
:root {
	--color-blue: #1F3B73;
	--color-darkblue: #212B46;
	--color-gold: #7a735d;
	--color-lightgold: #AFAB9E;
	--color-fadegold: #948F7D;
	--color-darkgold: #615A42;
	--color-retraite: #AFA48C;
	--color-objectif: #BBBBBB;
	--color-grey: #E4E3DF;
	--color-background: #f1f1ee;
	--color-chart-container: #e4e3df;
	--color-chart-fadeblue: #4E556A;
	--color-chart-lightblue: #797F91;
	--color-chart-fadegold: #948F7D;
	--color-chart-darkgold: #615A42;
	--border-radius: 5px;
	--font-family: 'AeonikPro', sans-serif;
	--font-size-small: 12px;
	--font-size-medium: 14px;
	--font-size-large: 18px;
	--transition-duration: 800ms;
}
.svg-mask {
	aspect-ratio: 1 / 1;
  background-color: currentColor;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
      display: inline-block;
}
.darkblue {color: var(--color-darkblue);}
.gold {color: var(--color-gold);}
.white {color: white;}
input[type=text], input[type="number"], input[type="email"], textarea, input[type=select]{
	outline: none !important;
	&:hover {
    outline: none !important;
}
&:focus {
    outline: none !important;
}}
.temporary{
	display:none !important;
}
.hidden{
	display:none !important; /*utilisé pour masquer les éléments en fonction des réponses du visiteur (selon état civil par exemple)*/
}
.hiddenstep{
	display:none !important; /*utilisé pour masquer les étapes précédentes ou suivantes - momentanément désactivé pendant le développement*/
}
@font-face {
	font-family: AeonikPro;
	src: url(font/aeonikpro-regular.woff);
}
.animate {
	transition: all 0.25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
}
body{
	background-color: var(--color-background);
	height: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
a, h1, h2, h3, h4, p, table, tr, td, input, select, label, button, span{ /* ############button ajouté par JM*/
	/* font-family:arial; */
	font-family: "AeonikPro", serif;
	text-decoration:none;
	/*font-size:18px;*/
	font-weight:400;
	color: green;
	color: var(--color-darkblue);
	border:none;
}
textarea{
	font-family: "AeonikPro", serif;
	text-decoration:none;
	font-size:18px;
	font-weight:400;
	border-top:none;
	border-left:none;
	border-right:none;
	border-bottom:1px solid #797f91;
}

p{
	font-size:18px;
	max-width:80%;
	margin: 0px 0px 20px 0px;
	color: var(--color-darkblue);
}
a{
	font-size:18px;
	font-weight:bold;
}
td{
	max-width:60%;
}
h1{
	font-size:56px;
	font-weight:300;
	line-height: 1.2;
	text-align:center;
	margin: 0;
	display: flex;
	flex-direction: column;
}
/*h2{
	font-size:24px;
	color:#b5986d;
}*/
h2{
	font-size: 40px;
	font-weight:300;
	color: var(--color-darkblue);
	max-width:60%;
	margin: 0px 0px 20px 0px;
}
h4{
	font-size:30px;
}
tr { 
	/*line-height: 60px; */
}
::-webkit-scrollbar {
	width: 20px;
}

::-webkit-scrollbar-track {
	border-radius: 10px;
	background-color: #e7e7e7;
	border: 1px solid var(--color-gold);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: var(--color-gold);
}
label{
	/*width: 140px;*/
	display:inline-block;
	font-size:14px;
}
.vl{
	border-left: 1px solid black;
	height: 170px;
	top: 345px;
	left: 50%;
	position: absolute;
	margin-top: 50px;
	z-index: -1;
}
.filter-gold{
	filter: invert(47%) sepia(7%) saturate(1081%) hue-rotate(8deg) brightness(93%) contrast(88%);
}
.filter-blue{
	filter: invert(14%) sepia(11%) saturate(2699%) hue-rotate(186deg) brightness(95%) contrast(92%);
}
.filter-white{
	filter: invert(100%) sepia(7%) saturate(0%) hue-rotate(156deg) brightness(109%) contrast(106%);
}
.float-left{
	float: left;
}
/*fin des généralités*/
/*navbar*/
.navbar{
    margin: 0;
    padding:0;
    top: 0;
    left:0;
    position: fixed;
    background-color: var(--color-background);
    width:-webkit-fill-available;
}
.placeholder, .navbar{
	height: 80px;
}
.logo{
	margin:22px 0px 0px 22px;
	float:left;
	width:280px;
}
.logo img{
	max-width: 280px;
	height: 60px;
}
#close {
    float: right;
    transform: translateX(-50%);
    margin: 22px;
    font-size: 1.5em;
}
.exit{
	margin:5px;
	float:right;
	width:fit-content;
	transform: translateX(-50%);
}
/*fin de navbar*/
/*Chart*/
#sideChart{
	position:absolute;
	box-sizing: border-box;
	width:50%;
	aspect-ratio: 1 / 1;
	max-height: calc(100% - 180px);
}
.chartContainer{
	position: relative;
	background-color: var(--color-chart-container);;
	margin: auto;
	display: block;
}
#chart {
	margin: auto;
	width: 100%;
	max-width: 900px;
	height: 100%;
	box-sizing: border-box;
	border-radius: var(--border-radius);
	padding: 50px 50px 50px 50px;
}
#chart * {
	font-family: var(--font-family);
}
#chart svg.responsive-svg {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	display: block;
}
.legend{
	height: 50px;
}
.legend p {
	text-align: right;
	width: 100%;
	position: absolute;
	bottom: 0px;
	margin-bottom: 0px;
	color: var(--color-lightgold);
}
/*Fin de Chart*/
/*navline*/
#developChart {
	display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    align-content: center;
    width: 100%;
	height: 50px;
    background-color: var(--color-gold);
    color: white;
    justify-content: center;
    text-align: justify;
}
#developChart p {
	color: white;
}
.navline-bar {
	display: inline-block;
	position: absolute;
	left: calc(50% - 45px);
	transform: translateX(-50%);
    box-sizing: border-box;
    top: 50px;
}

/* Ligne horizontale centrée */
.navline-line {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	border: none;
	height: 1.5px;
	transform: translateY(-50%);
	background-color: var(--color-gold);
	z-index: 0;
	margin: 0;
}

/* Conteneur des boutons */
.navline-buttons {
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
	z-index: 1;
}

/* Boutons de base */
.navline-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}

/* Petits boutons (points) */
.navline-btn.small {
	width: 10px;
	height: 10px;
	background-color: var(--color-darkblue);
	border: 2px solid var(--color-darkblue);
}

/* Gros boutons (icônes) */
.navline-btn.big {
	width: 45px;
	height: 45px;
	background-color: var(--color-darkblue);
	color: white;
	font-size: 20px;
}

/* Gros bouton à venir */
.navline-btn.upcoming {
	background-color: white;
	border: 2px solid var(--color-gold);
	color: var(--color-gold);
}
/*fin de navline*/
/*indicators*/
#indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 45%;
    max-height: 400px;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    row-gap: 5%;
    margin-left: 70px;
    margin-top: 50px;
}
.indi-block {
    position: relative;
    width: 100%;
    /* height: 20%; */
    aspect-ratio: 1.4 / 1;
    max-width: 80px;
    max-height: 80px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center; /* modifié par JM le 09.05.2025 : normal au lieu de center */
    align-items: baseline;
    border-radius: 10px;
    /*box-shadow: black 0px 0px 3px;*/ /* modifié par JM le 09.05.2025 */
    background-color: var(--color-background); /*ajouté par JM le 09.05.2025 */
}
.indi-block .indi-icon {
	width: 100%;
	height: 95%; /* modifié par JM le 09.05.2025 : 95% au lieu de 100% */
	object-fit: contain; /* modifié par JM le 09.05.2025 : contain au lieu de content */
  	transition: opacity 0.3s ease, transform 0.3s ease;
}
.pin { /* modifié par JM le 09.05.2025 : modification de position et de taille */
    width: 50%;
    height: 50%;
    position: absolute;
    bottom: -20%;
    right: -20%;
    stroke-width: 6;
    border-radius: 20px;
    color: white;
    z-index: 2;
}

span#nbEnfantsBadge {
	position: absolute;
    top: 2%;
    right: 2%;
    color: var(--color-darkblue);
    font-weight: bold;
    font-size: 1em;
    height: 1.25em;
    width: 1.25em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

/*fin de indicators*/
/*buttons*/
/*Main buttons steps*/
.btn-white-to-grey, .btn-round-to-grey, .btn-blue-to-blue {
	width: 500px;
	height: 100px;
	border: none;
	transition: all 0.15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
	cursor: pointer;
}
.btn-white-to-grey {
	border-radius: 5px;
	background-color: white;
	color: var(--color-gold);
}
.btn-white-to-grey:hover {
	background-color: var(--color-grey);
	box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 6px 0px;
}
.btn-round-to-grey {
	border-radius: 50px;
	background-color: white;
	color: var(--color-gold);
}
.btn-blue-to-blue {
	border-radius: 5px;
	background-color: white;
	color: var(--color-gold);
}
.bubble-darkblue {
	background-color: var(--color-darkblue);
	color: white;
	padding: 2px;
	border-radius: 5px;
}
.bubble-lightgold {
	background-color: var(--color-lightgold);
	color: white;
	padding: 2px;
	border-radius: 5px;
}
.bubble-gold {
	background-color: var(--color-gold);
	color: white;
	padding: 2px;
	border-radius: 5px;
}

/*mid buttons*/
.btn-grey-to-gold, .btn-border-to-gold, .btn-gold-to-blue, .btn-white-to-blue {
	width: fit-content;
	height: 50px;
	border-radius: 50px;
	padding: 12px 27px 12px 27px;
	transition: all 0.15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
	cursor: pointer;
	box-sizing: border-box;
	
}
.btn-grey-to-gold {
	position: relative;
	border: none;
	background-color: var(--color-grey);;
	color: var(--color-gold);
	z-index: 20;
	margin-right: 5px;
	margin-left: 5px;
}
.btn-grey-to-gold:hover {
	background-color: var(--color-gold);
	color: white;
}
.btn-border-to-gold {
	position: relative;
	border: 1px solid var(--color-gold) !important;;
	background-color: unset;
	color: var(--color-gold);
	z-index: 20;
	margin-right: 5px;
	margin-left: 5px;
}
.btn-gold-to-blue {
	border: none;
	background-color: var(--color-gold);
	color: white;
}
.btn-white-to-blue {
	border: none;
	background-color: white;
	color: var(--color-darkblue);
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn-white-to-blue:hover {
	background-color: var(--color-darkblue);
	color: white;
}
.big-white-to-blue {
	width: fit-content;
	height: 70px;
	border-radius: 50px;
	padding: 12px 27px 12px 27px;
	transition: all 0.15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
	cursor: pointer;
	box-sizing: border-box;
	border: none;
	background-color: white;
	font-size: 20px;
	color: var(--color-darkblue);
	display: flex;
	align-items: center;
}
.big-white-to-blue:hover {
	background-color: var(--color-darkblue);
	color: white;
}
/*other*/






.btn-border-to-blue {
	width: 500px;
	height: 100px;
	border: none;
	border-radius: 5px;
	background-color: white;
	color: var(--color-gold);
}
.btn-shaded-to-blue {
	width: 500px;
	height: 100px;
	border: none;
	border-radius: 5px;
	background-color: white;
	color: var(--color-gold);
}
.btn-none-to-white {
	width: 500px;
	height: 100px;
	border: none;
	border-radius: 5px;
	background-color: white;
	color: var(--color-gold);
}
/*end buttons*/
/*step*/
.step{
	height: calc(100% - 180px);
	box-sizing: border-box;
}
.step-ctn{
	text-align: center;
	width: 550px;
	position: absolute;
	top: 345px; /*30.04.2025*/
	left: 50%;
	translate: -50% 0%;
}
.rounded{
	border-radius: 50px !important;
}
.centered{
	text-align:center !important;
}
.clickable:hover{
	background-color: var(--color-darkblue);
	color: #ffffff;
}
/*CSS3 title-up*/
.title-container {
	position: relative;
	overflow: hidden;
	margin-top: 130px;
	height: 135px;
	width: 100%;
}
.title-group {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) translateY(000%);
	text-align: center;
	opacity: 0;
	animation-fill-mode: forwards;
}
.titleup-wrapper {
	overflow: hidden; 
}

@keyframes revealLine {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

/* Première animation : apparaitre puis disparaitre */
.first-title {
	animation: appearAndExit 2.5s ease forwards;
	animation-delay: 0.5s;
}
/* Deuxième animation : apparaitre en décalé */
.second-title {
	transform: translate(-50%, -50%) translateY(100%);
	animation: appearLate 5s ease forwards;
	animation-delay: 2.5s;
}
@keyframes appearAndExit {
	0% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(100%);
	}
	20% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(0);
	}
	80% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(0);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(-100%);
	}
}
@keyframes appearLate {
	0% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(100%);
	}
	20% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(0);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(0);
	}
}
.titleup {
	/*color: #b5986d;*/
	font-size:56px;
	font-weight:300;
	display: inline-block;
}
/*CSS3 fin title-up*/

.step-btn{
	width: 550px;
	height: 100px;
	font-size: 24px;
	text-align: left;
	padding: 15px 45px;
	border: none;
	border-radius: 6px;
	margin-top: 0px;
	margin-bottom: 30px;	
}
.step-blue{
	background-color: var(--color-darkblue);
	color: #ffffff;
}
.step-white{
	background-color: #ffffff;
	color: var(--color-gold);
}
.highlight-delay {
	cursor: pointer;
	background-color: #ffffff; box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.3);
	animation: mymove 4s ease-in-out forwards;
	-webkit-animation: mymove 4s ease-in-out forwards;
	-ms-animation: mymove 4s ease-in-out forwards;
	-moz-animation: mymove 4s ease-in-out forwards;
	-o-animation: mymove 4s ease-in-out forwards;
}
.highlight-delay:hover {
	background-color: var(--color-chart-container);;
	box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.3);
	animation: mymove 0.5s ease-in-out forwards;
	-webkit-animation: mymove 0.5s ease-in-out forwards;
	-ms-animation: mymove 0.5s ease-in-out forwards;
	-moz-animation: mymove 0.5s ease-in-out forwards;
	-o-animation: mymove 0.5s ease-in-out forwards;
}
@keyframes mymove {
	0%		{background-color: #ffffff; box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.3);}
	70%	{background-color: #ffffff; box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.3);}
	90%	{background-color: var(--color-chart-container);; box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.3);}
	100%	{background-color: var(--color-chart-container);; box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.3);}
}
.step-btn .icon{
	margin-right: 30px;
}
/*fin de step*/
/*question*/
.question{
	width:fit-content;
	max-width:100%;
	display:inline-block;  /* ############ ajouté par JM*/
}
.final-question {
	max-width: 1200px;
	height: calc(100% - 330px);
	left: 50%;
	position: absolute;
	transform: translate(-50%, 0%);
	margin-top: 150px;
	    gap: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.final-question .radio-group {
	flex-direction: column;
	align-items: center;
}
/*.final-question > * {
	width: 100%;
	text-align: center;
	}
	.final-question > p {
	font-size: 14px;
	
}*/
.flex{
	display: flex;
    flex-direction: row;
    gap: 10px;
}
.fullwidth{
	position: absolute;
	width:100%;
	overflow-y: auto;
}
.halfwidth{
	max-width: 960px;
	width:50%; /* ############ ajouté par JM*/
	position:absolute; /*AJOUT 27.04.2025*/
}
.left{
	padding: 150px 50px 50px 145px;
	left: 50%; /* Bord droit à 50% */
	transform: translateX(-100%);
	overflow-y: auto;
}
.center{
	padding: 50px;
	left: 50%;
	transform: translateX(-100%);
	overflow-y: auto;
}
.right {
	padding: 150px 145px 50px 50px;
	left: 50%;
}
.half{
	/*height: calc(50% - 50px);*/ /* ############ ajouté par JM*/
}
.third{
	height:30%;
}
.top{
	margin-top: 0px;/* margin-top: 150px; ############ modifié par JM*/
	margin-bottom: 40px;/* margin-bottom: 20px; ############ modifié par JM*/
}
.middle{
	margin-bottom:40px;/* ############ ajouté par JM*/
}
.bottom{
}
/*fin de question*/
/*champs de saisie*/
input[type="text"], input[type="number"], input[type="email"], input[type="password"], button{
	width: 100%;
	border-bottom: 1px solid #797f91;
	font-size:20px;
	margin-top:7px;
	padding: 5px 0px;
}
input::placeholder {
	color: #797f91;
}
select{
	/*width: 150px;*/
	border-bottom: 1px solid lightgrey;
	color: grey;
}
select option {
	display: flex;
	justify-content: center;
	gap: 20px;
	border: 2px solid #ddd;
	background: #eee;
	padding: 10px;
	transition: 0.4s;
	text-align: center;
}
.option-label {
	height: 20px;
}
#question_10 .whitebox {
	width: 120px;
}
#set_enfants{
	overflow: hidden;
	height: 65px;
}
#set_enfants p{
	max-width: 100px;
	float: left;
	height: 55px;
}
#enfants p{
	height: 55px;
	max-width: 180px;
}
.enfant{
	width: 120px;
	/*height: 55px;*/
	position: relative;
	float: left;
	margin-right: 20px;
}
#ajouter_enfant{
	font-weight: bold;
	cursor: pointer;
}
.supprimer_enfant{
	width: 20px;
	height: auto;
	position: absolute;
	top: -0.5em;     /* pour dépasser légèrement vers le haut */
	right: -0.5em;   /* pour dépasser légèrement à droite */
	background-color: #f44336;
	border-radius: 50%;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
input.input_enfant{
	width: 80px;
}

.input-ctn{
	float: left;
	display: flex;
	align-items: center;
}
.input-itm{
	float: left;
	margin: 0px 30px 20px 0px;
}
.input-itm label{	
	display: flex;
	height: 64px;
	align-items: center;
}



/*new*/
.radio-group {
	display: flex;
	gap: 10px;
	border: none;
	padding: 0;
	margin: 0 0 20px 0;
	flex-wrap: wrap;
}
.btn-white-to-blue input[type="radio"], .big-white-to-blue input[type="radio"] {
	display: none;
}
.btn-white-to-blue input[type="radio"]:checked + span,
.btn-white-to-blue:has(input[type="radio"]:checked) {
	background-color: var(--color-darkblue);
	color: white;
}
.big-white-to-blue input[type="radio"]:checked + span,
.big-white-to-blue:has(input[type="radio"]:checked) {
	background-color: var(--color-darkblue);
	color: white;
}



/*VOIR SI C'EST TOUJOURS UTILE*/
input[type="radio"]{
	width:10px;
	padding:7px;
	border-radius: 15px;
	background-color:white;
	position:relative;
	z-index:10;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type="radio"]:checked + label.radiobut{
	background-color:#212b46 !important;
	color:white !important;
}
input[type="radio"]:checked + label.radiobut * {
	color: white !important;
}
label.radiobut{
	background-color: white;
	margin-left: -30px;
	border-radius: 25px;
	z-index: 20;
	position: relative;
	padding: 12px 27px 12px 27px;
	cursor: pointer;
	margin-right: 10px;
	margin-bottom: 10px;
	transition: all 0.25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
}
button.radiobut{ 
	border:none;
	width:fit-content;
	background-color: white;
	margin-left: -30px;
	border-radius: 50px;
	z-index: 20;
	position: relative;
	padding: 12px 27px 12px 27px;
	margin-right: 5px;
	margin-left: 5px;
}
button.radiobut span {
	color: var(--color-gold);
}

/*input[type="radio"]{
	width:10px;
	padding:7px;
	border-radius: 15px;
	background-color:white;
	position:relative;
	z-index:10;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	}
	input[type="radio"]:checked + label.radiobut{
	background-color:#212b46 !important;
	color:white !important;
	}
	input[type="radio"]:checked + label.radiobut * {
	color: white !important;
	}
	label.radiobut{
	background-color: white;
	margin-left: -30px;
	border-radius: 25px;
	z-index: 20;
	position: relative;
	padding: 12px 27px 12px 27px;
	cursor: pointer;
	margin-right: 10px;
	margin-bottom: 10px;
	transition: all 0.25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	}
	button.radiobut{ 
	border:none;
	width:fit-content;
	background-color: white;
	margin-left: -30px;
	border-radius: 50px;
	z-index: 20;
	position: relative;
	padding: 12px 27px 12px 27px;
	margin-right: 5px;
	margin-left: 5px;
	}
	button.radiobut span {
	color: var(--color-gold);
	}
*/







/*button#previous:hover, button#next:hover{*/ /* ############ ajouté par JM*/
/*background-color:var(--color-darkblue);
	color:white;
}*/
label.radiobut:hover{
	background-color:var(--color-darkblue);
	color:white;
}

label.radiobut:hover img, label.radiobut:checked  img{
	/*filter: invert(100%) sepia(7%) saturate(0%) hue-rotate(156deg) brightness(109%) contrast(106%);*/
	/*-webkit-filter: invert(100%);*/ /* safari 6.0 - 9.0 */
	/*filter: invert(100%);*/
}

.protectbut{
	/*background-color: white;
		margin-left: -30px;
		border-radius: 25px;
		z-index: 20;
		position: relative;
		padding: 12px 27px 12px 27px;
		cursor: pointer;
		margin-right: 10px;
		transition: all 0.25s ease-in-out;
		-webkit-transition: all .25s ease-in-out;
		-ms-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;*/
}
.radiotable {
	margin-bottom: 20px;
}
.radiotable td{
	background-color:transparent;
	height:40px;
}
.radiotable td:hover{
	background-color:transparent !important;
}
.radiotable tr:hover{
	background-color:transparent !important;	
}
.icon {
	margin: 0px 10px 10px 0px;
	width: 40px;
	height: auto;
	vertical-align: middle;
}
.step-end-ctn .icon {
	margin: 0 10px 0 0;
}
.icon-sml {
	margin-right: 10px;
	height: 25px;
	width: auto;
	vertical-align: middle;
}
.icon-hover {
	display:none;
}
.icon-non-hover {
	display: inline;
}
label.btn-white-to-blue:hover .icon-hover,
label.btn-white-to-blue input[type="radio"]:checked ~ .icon-hover {
	display: inline;
}

label.btn-white-to-blue:hover .icon-non-hover,
label.btn-white-to-blue input[type="radio"]:checked ~ .icon-non-hover {
	display: none;
}
label.big-white-to-blue:hover .icon-hover,
label.big-white-to-blue input[type="radio"]:checked ~ .icon-hover {
	display: inline;
}

label.big-white-to-blue:hover .icon-non-hover,
label.big-white-to-blue input[type="radio"]:checked ~ .icon-non-hover {
	display: none;
}
.whitebox{
	padding: 20px;
	background-color: white;
	width: fit-content;
	border-radius: 5px;
	margin-bottom: 20px;
}
.whitefield{
	display:flex;
	flex-wrap: wrap;
}
.whitefield label {
	margin-bottom: 30px;
	padding: 20px;
	display: flex;
	align-items: center;
}
.whitefield box{
	padding: 20px;
	background-color: white;
	width: fit-content;
	border-radius: 5px;
	margin-bottom: 30px;
}
.whitefield input{
	margin-top: 0px;
	padding: 0px;
}
.whitefield button{
	margin: 0px;
	padding: 0px;
	border: none;
	background-color: #ffffff;
}
.whitefield span{
	font-size: 21px;
}
.error-message{
	font-size: 12px;
	color: #ffffff;
	position: absolute;
	padding: 10px;
	background-color: var(--color-gold);
	margin-top: 10px;
	border-radius: 8px;
	font-family: 'AeonikPro';
	opacity: 0.7;
}
.error-message.block{
	height: fit-content;
    line-height: 5px;
    padding: 5px;
    top: 25px;
}
#loader {
	width: 300px; 
	height: 300px; 
	margin: 100px auto 0px auto;
}
/*pistes d'optimisation*/
.opti-ctn {
	width: 100%;
	position: absolute;
	height: 100%;
	box-sizing: border-box;
	padding: 50px 150px 0px 150px;
}
.opti-ctn h2 {
	color: var(--color-gold);
	font-size: 56px;
	margin: 0px;
}
.piste-pers {
	perspective: 1000px;
	position: relative;
}

.piste-pers .face {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 6px;
	transition: transform 0.6s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.piste-pers .front {
	z-index: 2;
	transform: rotateY(0deg);
}

.piste-pers .back {
	z-index: 1;
	background-color: white;
	transform: rotateY(180deg);
}

.piste-pers.flipped .front {
	transform: rotateY(180deg);
}

.piste-pers.flipped .back {
	transform: rotateY(360deg);
}
.piste{
	width: 300px;
	background-color: #eee;
	flex: 0 0 auto;
	margin: 60px 20px 30px 0px;
	height: 480px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: justify;
	border-radius: 6px;
	position: relative;
}
.piste-pers h4{
	background-color: var(--color-darkblue);
	color: white;
	text-align: left;
	height: 100%;
	margin: 0;
	padding: 20px 20px 40px 20px;
	align-content: flex-start;
	font-size: 24px;
	border-radius: 6px;
}
#p100{
	background-color: var(--color-gold);
	margin-left: 40px; 
}
#p101 {
	background-color: var(--color-gold); 
}
#p100, #p101{
	
}
#p100 h4, #p101 h4 {
	color: white;
	text-align: left;
	height: 100%;
	margin: 0;
	padding: 20px 20px 40px 20px;
	font-size: 24px;
}

.piste p{
	text-align: left;
	height: 160px;
	margin: 0;
	padding: 20px;
	max-width: 100%;
	height: 240px;
	background-color: white;
	border-radius: 0 0 6px 6px;
	line-height:110%;
}
.piste-btn {
	position: absolute;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	left: 20px;
	box-sizing: border-box;
	border-radius: 50px;
	border: 1px solid white !important;
	height: 38px;
	width: 95px;
	font-size: 14px !important;
	cursor: pointer;
	box-shadow: unset !important;
}
.piste-icn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: auto;
	color: gold;
}
.piste button{
	position: absolute;
	bottom: 20px;
	float:right;
	font-size:16px;
	border:1px solid white;
	width:fit-content;
	max-width: 230px;
	border-radius: 50px;
	padding: 15px 30px 15px 30px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px;
	background-color:white;
	color:var(--color-darkblue);
	display: flex;
	align-items: center;
	cursor: pointer;
}
.piste button:hover{
	background-color:var(--color-gold);
	color:white;
}

/*fin des pistes d'optimisation*/
/*ETAPE 16 + ETAPE 17*/
#step_16 p, #step_17 p{
	color: var(--color-gold);
}
#step_16 .step-end-ctn, #step_17 .step-end-ctn{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 40px;
}
#step_16 .step-btn, #step_17 .step-btn {
	width: fit-content;
	height: 82px;
	font-size: 24px;
	text-align: left;
	background-color: white;
	padding: 15px 45px;
	display: flex;
	align-items: center;
	cursor: pointer;
	border: none;
	border-radius: 6px;
	margin-top: 0px;
	margin-bottom: 15px;
}
#step_16 .step-btn:hover, #step_17 .step-btn:hover {
	background-color: var(--color-darkblue);
	color: white;
}
/*recap step_17*/

	.section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      margin-top: 15px;
      width:auto;
    }
    .item {
      display: flex;
      flex-direction: column;
    }

    #step_17 input {
    	border: none;
    	background: none;
	}

	#step_17 p, #step_17 label{
		text-align:left;
	}
	#step_17 h1{
		display: flex;
    	flex-direction: row;
    	align-items: center;
    	justify-content: center
	}

	#step_17 h3{
		text-align:left;
		color: var(--color-gold);
	}
    /* Container pour mettre deux sections côte à côte */
    .double-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    .darkerbox{
    	background-color: var(--color-chart-container) !important;
	}
	.downloadData{
		font-size: 0.3em;
	    padding: 10px;
	    height: 20px;
	    margin-left: 20px;
	    vertical-align: middle;
	    line-height: 0.2em;
	}

/*fin recap step_17*/


/*popups*/
/* Fond flouté et assombri */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	backdrop-filter: blur(15px); /* Flou */
	/*background-color: rgba(0, 0, 0, 0.4);*/ /* assombri */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

/* Popup centré */
.popup {
	position: relative;
	background-color: var(--color-darkblue);
	padding: 2rem;
	border-radius: 8px;
	color: white;
	min-width: 270px;
	width: 30%;
	max-width: 600px;
	box-shadow: 0 0 20px rgba(0,0,0,0.4);
	color:white;
	display: flex;
	flex-direction: column;
}

.popup p, .popup h2, .popup label, .popup a, .popup input, .popup button, .popup textarea {
	color: white;
	background-color:transparent;
}

/* Pour les champs */
.popup input, .popup label {
	display: block;
	width: 100%;
	margin-bottom: 1rem;
}
.popup input[type="checkbox"] {
	width: auto;
	display: inline-block;
}
.popup label[for="sub_confid"] {
	display: inline;
}
.popup textarea{
	width: 100%;
	max-width: 100%;
	max-height: 300px;
	min-height: 50px;
	min-width: 100%;
}
.popup a{
	text-decoration:underline;
	font-weight:100;
	font-size:14px;
}
.popup select{
	border-radius: 20px;
	padding: 5px;
	text-align: center;
	border: none;
}
.pop_button{
	float:right;
	font-size:14px;
	border:1px solid white;
	width:fit-content;
	border-radius: 25px;
	padding: 15px 30px 15px 30px;
	
}
.pop_button:hover{
	background-color:white;
	color: var(--color-darkblue);
}
.popup-close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: transparent;
	border: none;
	font-size: 40px;
	color: white;
	cursor: pointer;
	z-index: 10000;
	margin: 5px;
	padding: 0;
	text-align: right;
}
.popup-close:hover {
	color: #aaa;
}
/*fin popups*/

/* Animation timer sur bouton suivant ########### ajouté par JM*/
#next {
	overflow: hidden;
	/*position: relative;
		background-color: white;
		color: black;
	transition: background-color 0.3s ease;*/
}

#next::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 100%;
	background-color: var(--color-gold);
	z-index: 0;
	transition: width 0s;
}

#next.progressing::before {
	animation: fillButtonProgress 5s linear forwards;
}

#next span {
	position: relative;
	z-index: 1;
}

@keyframes fillButtonProgress {
	from { width: 0%; }
	to { width: 100%; }
}
/*fin animation timer sur bouton suivant
	
/*fin des champs de saisie*/
/*footer*/
.footer{
	position: absolute;
	width: 100%;
	height: 100px;
	bottom: 0;
	padding: 0px 0px 0px 38px;
	box-sizing: border-box;
	background-color: var(--color-background);
	z-index: 30;
}
.previous .navButtons {
	color: var(--color-gold);
}
.previous:hover .navButtons {
	color: white;
}
.contact {
	background-color: unset !important;
	border: 1px solid var(--color-gold) !important;
}
.contact span{
	color: var(--color-gold);
}
/*end footer*/
/*tableau synthétique*/
#results{
	top:700px;
	position:relative;
	right:0;
	z-index:200;
	opacity: 1;
	pointer-events: none;
}
#results table{
	background-color:white;
}
#results td, #results th{
	border: solid 1px black;
}
#results2 {
	display: flex;
	flex-wrap: nowrap;     
	overflow-x: auto;
	overflow-y: hidden;
	max-width: 100%;
}
/*fin du tableau synthétique*/
/*tableau détaillé*/
#table_container{
	margin-top: 700px;
	z-index: 100;
	position: relative;
	background-color: white;
	opacity: 1;
	pointer-events: none;
}
/*fin du tableau détaillé*/
/*tableau synthétique et tableau détaillé*/
.ageStyle{
	background-color: rgba(255, 204, 0, 0.8);
}
/*td{
	background-color: rgba(0, 0, 0, 0.1);
}*/
/*tr:hover{
	background-color:#ddd !important;
}*/
/*td:hover{
	background-color:yellow !important;
}*/
#results td:nth-child(odd), #results th:nth-child(odd), #table_container td:nth-child(odd), #table_container th:nth-child(odd) {
	background-color: rgba(255, 255, 255, 0.3);
}
/*fin du tableau synthétique et détaillé*/
/*fin de la mise en forme provisoire du simulateur*/		

/* ## ajouté par JM le 09.05.2025*/

/*effet brillance sur bouton commande rapport*/

.goldenticket {
	position: relative;
	overflow: hidden;
}
.goldenticket:hover{
	background-color:var(--color-gold);
}

.goldenticket::before {
	content: '';
	position: absolute; border-radius:0px;
	top: 0;
	left: -25%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, rgba(255,250,240,0.0) 0%, rgba(255,250,240,0.1) 10%, rgba(255,250,240,0.8) 50%, rgba(255,250,240,0.1) 90%, rgba(255,250,240,0.0) 100%);
	transform: skewX(-20deg);
	pointer-events: none;
	opacity: 0;
	border-radius: inherit; /* hérite du border-radius du bouton */
	animation: shimmer 8s ease-in-out infinite;
	animation-delay: 0s;
}
.goldenticket:hover::before{
	background: linear-gradient(120deg, rgba(175,164,140,0.0) 0%, rgba(175,164,140,0.1) 10%, rgba(175,164,140,0.5) 50%, rgba(175,164,140,0.1) 90%, rgba(175,164,140,0.0) 100%);
}

@keyframes shimmer {
	0%, 50% {
		left: -25%;
		opacity: 0; border-radius: 0px;
	}
	50% {
		left: -25%;
		opacity: 0;
	}
	55% {
		opacity: 1;
	}
	60% {
		left: 125%;
		opacity: 1;
	}
	60%, 100% {
		left: 125%;
		opacity: 0; border-radius:0px;
	}
}

.goldenticket2 {
	position: relative;
	overflow: hidden;
}
.goldenticket2:hover{
	background-color:var(--color-gold);
}

.goldenticket2::before {
	content: '';
	position: absolute; border-radius:0px;
	top: 0;
	left: -25%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, rgba(255,250,240,0.0) 0%, rgba(255,250,240,0.1) 10%, rgba(255,250,240,1) 50%, rgba(255,250,240,0.1) 90%, rgba(255,250,240,0.0) 100%);
	transform: skewX(-20deg);
	pointer-events: none;
	opacity: 0;
	border-radius: inherit; /* hérite du border-radius du bouton */
	animation: shimmer2 12s ease-in-out infinite;
	animation-delay: 0s;
}
.goldenticket2:hover::before{
	background: linear-gradient(120deg, rgba(175,164,140,0.0) 0%, rgba(175,164,140,0.1) 10%, rgba(175,164,140,0.5) 50%, rgba(175,164,140,0.1) 90%, rgba(175,164,140,0.0) 100%);
}

@keyframes shimmer2 {
	0%, 50% {
		left: -25%;
		opacity: 0; border-radius: 0px;
	}
	55% {
		left: -25%;
		opacity: 0;
	}
	57% {
		opacity: 0.08;
	}
	60% {
		left: 125%;
		opacity: 0.08;
	}
	60%, 100% {
		left: 125%;
		opacity: 0; border-radius:0px;
	}
}

/*effet popup des svg parent, enfant, bourse et maison sur le graph*/
@keyframes popupIn {
	0% {
		opacity: 0;
		transform: scale(0.7);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes popupOut {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(0.7);
	}
}



.popup-show {
	animation: popupIn 0.3s ease forwards;
}

.popup-hide {
	animation: popupOut 0.3s ease forwards;
}

/*positionnement des svg parent sur le graph*/

.indi-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.vous, .conjoint {
    transition: transform 0.3s ease;
}

.vous {
    position: relative;
    left: 25%;
}

.conjoint {
    position: relative;
    right: 25%;
}

.celib {
    left: 0% !important;
    right: 0% !important;
}

@media screen and (max-width: 1600px) and (min-width: 1201px){
	h1 {
		font-size: 42px;
	}
	h2 {
		font-size: 32px;
		max-width: 100%;
	}
	p {
		font-size: 15px;
	}
	
	.titleup {
		font-size: 42px;
	}
	.title-container {
		height: 100px;
	}
	.step-ctn, .vl {
		top: 300px;
	}
	.top{
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.left {
		padding: 50px 20px 20px 50px;
	}
	.right {
		padding: 50px 50px 20px 20px;
	}
	.radiotable {
		margin-bottom: 10px;
	}
	#chart {
		padding: 0;
	}
	#indicator {
		left: -40px;
	}
}
@media screen and (max-width: 1200px) and (min-width: 769px){
	body {
		overflow: hidden;
	}
	h1 {
		font-size: 42px;
	}
	h2 {
		font-size: 32px;
		max-width: 100%;
	}
	p {
		font-size: 15px;
	}
	.footer {
		background-color: var(--color-grey);
	}
	.previous, .next {
		border: solid 1px var(--color-gold);
	}

	.titleup {
		font-size: 42px;
	}
	.title-container {
		height: 100px;
		margin-top: 50px;
	}
	.step-ctn, .vl {
		top: 250px;
	}
	.navButtons {
		display: none;
	}
	.title-group {
		width: 100%;
	}
	.halfwidth {
		width: 100%;
		max-width: 100%;
	}
	.half{    min-width: 51%;}
	.top{
		margin-top: 20px;
	}
	.left {
		padding: 50px 50px 50px 50px;
		left: 0;
		transform: none;
		max-height: calc(100% - 330px);
	}
	.center{
		padding: 50px;
		left: 0;
		transform: none;
		max-height: calc(100% - 330px);
	}
	.right {
		padding: 70px 50px 120px 50px;
		left: 0;
	}
	.step-btn {
		height: 80px;
	}
	#chart {
		padding: 0;
	}
	#indicator {
		left: -80px;
	}
	#sideChart {
		width: 100%;
		height: calc(100% + 120px);
		top: calc(100% - 230px);
		box-sizing: border-box;
		background-color: var(--color-grey);
		border-radius: 50px;
		overflow: hidden;
		transition: all 0.8s ease-in-out;
		z-index: 29;
	}
	#developChart {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 50px;
		cursor: pointer;
		text-align: center;
		transition: all 0.8s ease-in-out;
	}
	#developChart.flash {
		background-color: #a99f82; /* couleur de surbrillance */
		transition: background-color 0.1s ease-in-out;
	}
	.chart-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		font-size: 18px;
        font-family: 'AeonikPro';
	}
	
	.chart-toggle .arrow {
		font-size: 24px;
		transition: transform 0.8s ease;
		line-height: 10px;
	}
	
	.chart-toggle.rotate .arrow {
		transform: rotate(180deg);
		line-height: 18px;
	}
	.chartDevelopped {
		top: 200px !important;	
	}
	.chartContainer {
		aspect-ratio: 1 / 1;
		max-height: calc(100% - 60px);
		margin-top: 60px;
	}
	.radiotable {
		margin-bottom: 10px;
	}
	.navline-bar {
		top: 80px;
		left: 50%;
	}
	.navline-buttons {
		/*gap: 8px;*/
	}
	.navline-btn.big {
		/*width: 25px;
			height: 25px;
		font-size: 14px;*/
	}
	.navline-line {
		width: 100%;
	}
	.big-white-to-blue {
		height: 50px;
	}
	.opti-ctn {
		padding: 50px 50px 0px 50px;
	}
	.vl {
		height: 120px;
	}
	#indicator {margin-left:20px;}
}
@media screen and (max-width: 768px) {
	#hrbutton{
		display:none;
	}

	body {
		overflow: hidden;
	}
	h1 {
		font-size: 26px;
	}
	h2 {
		font-size: 22px;
		max-width: 100%;
	}
	p {
		font-size: 15px;
	}
	.footer {
		background-color: var(--color-grey);
		padding: 15px;
	}
	.previous, .next {
		border: solid 1px var(--color-gold);
	}
	#next {
		position: absolute;
		right: 15px;
	}
	.titleup {
		font-size: 26px;
	}
	.title-container {
		height: 62px;
		margin-top: 50px;
	}
	.step-ctn, .vl {
		top: 250px;
		width: 100%;
		padding: 0px 15px;
		box-sizing: border-box;
	}
	.navbar {
		width: 100%;
		position: absolute;
	}
	.navButtons {
		display: none;
	}
	.title-group {
		width: 100%;
	}
	.halfwidth {
		width: 100%;
		max-width: 100%;
	}
	.half{    min-width: 51%;}
	.top{
		margin-top: 20px;
	}
	.left {
		padding: 50px 50px 50px 50px;
		left: 0;
		transform: none;
		max-height: calc(100% - 300px);
	}
	.center{
		padding: 50px 50px 50px 50px;
		left: 0;
		transform: none;
		max-height: calc(100% - 300px);
	}
	.right {
		padding: 15px;
		left: 0;
	}
	.step-btn {
		width: 100%;
		height: 80px;
		font-size: 18px;
		padding: 10px;
		text-align: center;
	}
	.icon {width: 28px;}
	#sideChart {
		width: calc(100% - 30px);
		height: calc(100% + 120px);
		top: calc(100% - 210px);
		box-sizing: unset;
		background-color: var(--color-grey);
		border-radius: 50px;
		overflow: hidden;
		transition: all 0.8s ease-in-out;
		z-index: 29;
	}
	#developChart {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 50px;
		cursor: pointer;
		text-align: center;
		transition: all 0.8s ease-in-out;
	}
	#developChart.flash {
		background-color: #a99f82; /* couleur de surbrillance */
		transition: background-color 0.1s ease-in-out;
	}
	.chart-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		font-size: 18px;
        font-family: 'AeonikPro';
	}
	
	.chart-toggle .arrow {
		font-size: 24px;
		transition: transform 0.8s ease;
		line-height: 10px;
	}
	
	.chart-toggle.rotate .arrow {
		transform: rotate(180deg);
		line-height: 18px;
	}
	.chartDevelopped {
		top: 200px !important;	
	}
	.chartContainer {
		aspect-ratio: 1 / 1;
		max-height: 100%;
		margin-top: 100px;
	}
	#chart {
		padding: 0;
	}
	.radiotable {
		margin-bottom: 10px;
	}
	.navline-bar {
		top: 70px;
		left: 50%;
	}
	.navline-buttons {
		gap: 10px;
	}
	.navline-btn.big {
		width: 32px;
		height: 32px;
		font-size: 16px;
	}
	.navline-line {
		width: 100%;
	}
	.big-white-to-blue {
		height: 50px;
	}
	.opti-ctn {
		padding: 15px;
	}
	.vl {
		height: 120px;
	}
	.hidePhone {
		display: none !important;
		margin-left:10px;
	}
	.final-question {
		width: 100%;
		padding: 15px;
		margin-top: 80px;
	}
	.piste {
		width: 240px;
	height: 400px;}
	popup {min-width: 270px;}
	#indicator {margin-left:20px;}
}

#loadingOverlay {
  position: fixed;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.85);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

.loading-box {
  text-align: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top: 6px solid #444;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loadingMessage {
  font-size: 18px;
  color: #444;
  max-width:100% !important;
}

@media screen and (max-height: 768px) {
 #chart {
	 /*padding: 10px 50px;*/
	 }
	 .step-ctn, .vl {
        top: 200px !important;
    }
	.final-question .radio-group {
		padding-bottom: 50px;
	}
	#loader {
		margin: 0px auto 0px auto;
	}
	#results2 {
		margin: 0px auto 0px auto;
		}
		.final-question {
		    height: calc(100% - 200px);
		    margin-top: 20px;
		}
}

/*@media screen and (max-width: 768px) {
	.temp {
	display: none;
	}
	body {
	width: 100%;
	height: 100%;
	}
	h1 {
	font-size: 42px;
	}
	h2 {
	font-size: 32px;
	max-width: 100%;
	}
	p {
	font-size: 15px;
	}
	.fullwidth{padding: 20px; box-sizing: border-box;}
	.title-group {width:100%;}
	.halfwidth {
	width: 100%;
	}
	.titleup {
	font-size: 24px;
	}
	.title-container {
	height: 100px;
	}
	.step-ctn, .vl {
	top: 300px;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	}
	.step-btn {
	width: 100%;
	box-sizing: border-box; 
	font-size: 16px;
	padding: 10px 15px;
	}
	.step {
	height: calc(100% - 166px);
	}
	.top{
	margin-top: 20px;
	}
	.left {
	padding: 50px 20px 20px 20px;
	left: 0; 
	transform: translateX(0%);
	}

	.center{
		padding: 20px;
		left: 0;
		transform: translateX(0%);
	}
	.right {
	padding: 50px 50px 20px 20px;
	bottom: -90%;
	left: 0;
	display: none;
	}
	.step-btn .icon {
	width: 25px;
	margin-right: 15px;
	
	}
	.radiotable {
	margin-bottom: 10px;
	}
	.footer {
	height: 86px;
	display:flex;
	padding: 0 40px;
	justify-content: center;
	}
	.footer button {
	height: 45px;
	max-width: 20%;
	}
	.opti-ctn {
	padding: 0;
	}
	}
*/