/* Style the form */
#regForm {
  background-color: #ffffff;
  margin: 100px auto;
  padding: 40px;
  width: 70%;
  min-width: 300px;
}

/* Style the input fields */
input {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  font-family: Raleway;
  border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

/* Hide all steps by default: */
.tab {
  display: none;
}

/* Make circles that indicate the steps of the form: */

.step {
    margin: 0 25px;
    border: none;
    border-radius: 50%;
    display: inline-block;
    font-weight: 600;
	color:#bbbbbb
}
.step.active{
	color:#222
}

.step i {
  background-color: #bbbbbb;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: inline-block;
    color: #fff;
    line-height: 50px;
}

/* Mark the active step: */
.step.active i{
  background-color: #222222;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #04AA6D;
}

.nexPrevBtn{
	text-align:center;
    margin: 55px 0 50px;
}
.nexPrevBtn button{
    background: transparent;
    border: 0;	
    font-size: 50px;
    margin: 0 20px;
	color: #222;
    padding-top: 9px;
    vertical-align: middle;
}
#submitLink{
    display: inline-block;
    font-size: 90px;
    vertical-align: middle;	
}
.contparfum h1, .contparfum p, .contparfum ul{
	text-align:center
}
.contparfum h2{
    margin: 50px 0;
    font-size: 27px;
    text-align: center;
}
.contparfum ul li{
	display:inline-block
}
/* category */
/*#contcategory {
	display: flex;
	flex-flow: row wrap;
	max-width: 600px;
	margin: 0 auto;
}

#contcategory > li {
  flex: 1;
  padding: 0.5rem;
}

#contcategory input[type=radio] {
  display: none;
}
#contcategory input[type=radio]:not(:disabled) ~ label {
  cursor: pointer;
}
#contcategory input[type=radio]:disabled ~ label {
  color: #bcc2bf;
  border-color: #bcc2bf;
  box-shadow: none;
  cursor: not-allowed;
}

#contcategory label {
	height: 100%;
	display: block;
	background: white;
	border: 2px solid #d05278;
	border-radius: 20px;
	padding: 50px 1rem 1rem;
	margin-bottom: 1rem;
	text-align: center;
	box-shadow: 0px 3px 10px -2px rgba(161, 170, 166, 0.5);
	position: relative;
	font-weight: 700;
	font-size: 20px;
}

#contcategory input[type=radio]:checked + label {
  background: #d05278;
  color: white;
  box-shadow: 0px 0px 20px #99999952;
}
#contcategory input[type=radio]:checked + label::after {
  color: #3d3f43;
  font-family: FontAwesome;
  border: 2px solid #d05278;
  content: "";
  font-size: 24px;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.25);
}*/
#contcategory{
    max-width: 1200px;
    margin: 0 auto;
}

/* vous etes */
input[name='etesvous'] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	outline: none;
	border: 0;
	width: auto;
    display: block;
    margin: 15px 20px;
    border-radius: 15px;
}
input[name='etesvous']:after {
  font-family: 'FontAwesome';
  display: inline-block;
  text-align: center;
  font-size: 80px;
  content: attr(data-icon);
  padding: 20px 20px;
  border-radius: 15px;
  color: rgba(0, 0, 0, 0.4);
  transition: box-shadow 1s, color 1s;
    text-align: center;
    height: 170px;
    width: 115px;
    line-height: 109px;
    color: #fff;
    background: #222;
    min-width: 140px;
    color: rgb(255 255 255 / 80%);
}
input[name='etesvous']:checked:after {
  box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.6);

}
#Homme[name='etesvous']:checked:after{
	color:blue
}
#Femme[name='etesvous']:checked:after{
	color:pink
}
.contvousetes li{
	position:relative
}
.contvousetes label{
    position: absolute;
    bottom: 29px;
    z-index: 999;
    left: 0;
    right: 0;
    font-size: 20px;
    color: rgb(255 255 255 / 80%);
}

/* date de naissance */

 #debt-amount-slider {
  display: flex;
  flex-direction: row;
  align-content: stretch;
  position: relative;
  width: 100%;
  height: 50px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
 #debt-amount-slider::before {
  content: " ";
  position: absolute;
  height: 2px;
  width: 100%;
  width: calc(100% * (4 / 5));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
}
 #debt-amount-slider input,  #debt-amount-slider label {
  box-sizing: border-box;
  flex: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}
 #debt-amount-slider label {
  display: inline-block;
  position: relative;
  width: 25%;
  height: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
 #debt-amount-slider label::before {
  content: attr(data-debt-amount);
  position: absolute;
  left: 50%;
  padding-top: 10px;
  transform: translate(-50%, 45px);
  font-size: 14px;
  letter-spacing: 0.4px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0.85;
  transition: all 0.15s ease-in-out;
}
 #debt-amount-slider label::after {
  content: " ";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  z-index: 1;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
 #debt-amount-slider label:hover::after {
  transform: translate(-50%, -50%) scale(1.25);
}
 #debt-amount-slider input {
  display: none;
}
 #debt-amount-slider input:checked + label::before {
  font-weight: 800;
  opacity: 1;
}
 #debt-amount-slider input:checked + label::after {
  border-width: 4px;
  transform: translate(-50%, -50%) scale(0.75);
}
 #debt-amount-slider input:checked ~ #debt-amount-pos {
  opacity: 1;
}
 #debt-amount-slider input:checked:nth-child(1) ~ #debt-amount-pos {
  left: 12.5%;
}
 #debt-amount-slider input:checked:nth-child(3) ~ #debt-amount-pos {
  left:37.5%;
}
 #debt-amount-slider input:checked:nth-child(5) ~ #debt-amount-pos {
  left: 62.5%;
}
 #debt-amount-slider input:checked:nth-child(7) ~ #debt-amount-pos {
  left: 87.5%;
}
 #debt-amount-slider input:checked:nth-child(9) ~ #debt-amount-pos {
  left: 90%;
}
 #debt-amount-slider #debt-amount-pos {
  display: block;
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  transition: all 0.15s ease-in-out;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  opacity: 0;
  z-index: 2;
}
form:valid #debt-amount-slider input + label::before {
  transform: translate(-50%, 45px) scale(0.9);
  transition: all 0.15s linear;
}
form:valid #debt-amount-slider input:checked + label::before {
  transform: translate(-50%, 45px) scale(1.1);
  transition: all 0.15s linear;
}
form + button {
  display: block;
  position: relative;
  margin: 56px auto 0;
  padding: 10px 20px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 0.15s ease-in-out;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  background: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  outline: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}
form + button:hover {
  background: #000;
  color: #fff;
}
form + button:hover:active {
  transform: scale(0.9);
}
form + button:focus {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
  pointer-events: none;
}
form + button:focus::before {
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}
form + button::before {
  display: inline-block;
  width: 0;
  opacity: 0;
  content: "";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 0;
  transform: rotate(0deg);
}
form:invalid + button {
  pointer-events: none;
  opacity: 0.25;
}

@-webkit-keyframes spin {
  from {
    transform: rotate(0deg);
    width: 24px;
    opacity: 1;
    margin-right: 12px;
  }
  to {
    transform: rotate(360deg);
    width: 24px;
    opacity: 1;
    margin-right: 12px;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
    width: 24px;
    opacity: 1;
    margin-right: 12px;
  }
  to {
    transform: rotate(360deg);
    width: 24px;
    opacity: 1;
    margin-right: 12px;
  }
}

/* type de parfum */
#Genreparfum > li, #contcategory > li{
    margin: 0 13px;
}
#contcategory li{
	margin-bottom: 25px;
}
#Genreparfum label , #contcategory label{
  cursor: pointer;
  position: relative;
}

#Genreparfum label + label, #contcategory label + label{
  margin-left: 15px;
}

#Genreparfum input[type="radio"], #contcategory input[type="radio"] {
  opacity: 0; /* hidden but still tabable */
  position: absolute;
}

#Genreparfum input[type="radio"] + span, #contcategory input[type="radio"] + span {
	font-family: 'Material Icons';
	color: #B3CEFB;
	border-radius: 50%;
	padding: 12px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
	width: 150px;
	height: 150px;
	display: inline-block;
}

#Genreparfum input[type="radio"]:checked + span, #contcategory input[type="radio"]:checked + span {
  color: #D9E7FD;
  background-color: #4285F4;
    border: 4px solid #d05278;
}

#Genreparfum input[type="radio"]:focus + span, #contcategory input[type="radio"]:focus + span {
  color: #fff;
}

#Genreparfum label::after, #contcategory label::after{
	content: attr(for);
	color: #222;  
	display: block;
	font-weight: 700;
	font-size: 20px;
}

#labelPuissant span{
	background:url(../img/puissant.jpg) center no-repeat;
}
#labelDiscret span{
	background:url(../img/discret.jpg) center no-repeat;
}
#labelAttirant span{
	background:url(../img/attivant.jpg) center no-repeat;
}
#labelCaptivant span{
	background:url(../img/captivant.jpg) center no-repeat;
}

@media (max-width: 767px) {
	.step {
		margin: 0 5px;
	    font-size: 12px;
	}
	#contcategory label {
		font-size: 12px;
	}
	.nexPrevBtn button {
		font-size: 40px;
	}
	input[name='etesvous']:after {
	    font-size: 45px;
		height: 151px;
		width: 90px;
		min-width: 120px;
	}
	#Genreparfum input[type="radio"] + span {
		width: 65px;
		height: 65px;
	}
	#Genreparfum > li {
		margin: 0 5px;
	}
	#Genreparfum label::after {
		content: attr(for);
		font-size: 14px;
	}
	#contcategory{
		column-count: 2;
	}
}
@media (min-width: 768px) {
	#contcategory{
		column-count: 3;
	}
}
@media (min-width: 992px) {
	#contcategory{
		column-count: 4;
	}
}
@media (min-width: 1200px) {
	#contcategory{
		column-count: 5;
	}
}