* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

p { 
color: grey;
}

#heading {
text-transform: uppercase;
color: #2a1266;
font-weight: normal;
}

#msform {
  text-align: center;
  position: relative;
  margin-top: 20px;
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding-bottom: 20px;

  /*stacking fieldsets above each other*/
  position: relative;
} 

#msform fieldset2 {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding-bottom: 20px;

  /*stacking fieldsets above each other*/
  position: relative;
} 

#msform fieldset3 {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding-bottom: 20px;

  /*stacking fieldsets above each other*/
  position: relative;
}

.form-card {
text-align: left;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

#msform fieldset2:not(:first-of-type) {
  display: none;
}

#msform input, #msform textarea, #msform select {
  padding: 8px 15px 8px 15px;
  border: 1px solid #ccc;
  border-radius: 0px;
  margin-bottom: 25px;
  margin-top: 2px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2C3E50;
  background-color: #ECEFF1;
  font-size: 16px;
  letter-spacing: 1px;
}

#msform input:focus, #msform textarea:focus, #msform select:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: 1px solid #2a1266;
  outline-width: 0;
}

/*Next Buttons*/
#msform .action-button {
  width: 100px;
  background: #2a1266;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 0px 10px 5px;
  float: right;
}

/*Next Buttons*/
#msform .submit {
  width: 100px;
  background: #2a1266;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 0px 10px 5px;
  float: right;
}

#msform .valider {
  width: 100px;
  background: #2a1266;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  padding: 10px 5px;
  margin: 10px 0px 10px 5px;
  float: right;
}

#msform .payer {
  width: 100px;
  background: #2a1266;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 3px;
  padding: 10px 5px;
  margin: 10px 0px 10px 5px;
  float: center;
}

#msform .action-button:hover, #msform .action-button:focus {
  background-color: #311B92;
}

/*Previous Buttons*/
#msform .action-button-previous {
  width: 100px;
  background: #616161;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px 10px 0px;
  float: right;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
  background-color: #000000;
}

/*The background card*/
.card {
  z-index: 0;
  border: none;
  position: relative;
}

/*FieldSet headings*/
.fs-title {
  font-size: 25px;
  color: #2a1266;
  margin-bottom: 15px;
  font-weight: normal;
  text-align: left;
}

.purple-text {
color: #2a1266;
  font-weight: normal;
}

/*Step Count*/
.steps {
font-size: 25px;
  color: gray;
  margin-bottom: 10px;
  font-weight: normal;
  text-align: right;
}

/*Field names*/
.fieldlabels {
color: gray;
text-align: left;
}

/*Icon progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  color: lightgrey;
}

#progressbar .active {
  color: #2a1266;
}

#progressbar li  {
  list-style-type: none;
  font-size: 15px;
  width: 50%;
  float: left;
  position: relative;
  font-weight: 400;
}

/* #progressbar li {
  list-style-type: none;
  font-size: 15px;
  width: 20%;
  float: left;
  position: relative;
  font-weight: 400;
} */

/*Icons in the ProgressBar*/
#progressbar #account:before {
  font-family: FontAwesome;
  content: "\f13e";
}

#progressbar #personal:before {
  font-family: FontAwesome;
  content: "\f007";
}

#progressbar #vehicle:before {
  font-family: FontAwesome;
   content: "\f0d1";
}

#progressbar #plane:before {
  font-family: FontAwesome;
   content: "\f072";
}

#progressbar #home:before {
  font-family: FontAwesome;
   content: "\f015";
}

#progressbar #asurance:before {
  font-family: FontAwesome;
  content: "\f040";
}


#progressbar #payment:before {
  font-family: FontAwesome;
  content: "\f0d6";
}

#progressbar #confirm:before {
  font-family: FontAwesome;
  content: "\f00c";
}

/*Icon ProgressBar before any progress*/
#progressbar li:before {
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: block;
  font-size: 20px;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  padding: 2px;
}

/*ProgressBar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before, #progressbar li.active:after {
  background: #2a1266;
}

/*Animated Progress Bar*/
.progress {
height: 20px;
}

.progress-bar {
background-color: #2a1266;
}

/*Fit image in bootstrap div*/
.fit-image{
  width: 100%;
  object-fit: cover;
}

#msform .img-boxF [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

#msform .img-boxF [type=radio] + img {
  cursor: pointer;
}

#msform .img-boxF [type=radio]:checked + img {
  outline: 2px solid #2a1266;
}

#msform .img-boxP [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

#msform .img-boxP [type=radio] + img {
  cursor: pointer;
}

#msform .img-boxP [type=radio]:checked + img {
  outline: 2px solid #2a1266;
}


/*Souscription form Assurance Voyage*/

#progressbar1 li  {
  list-style-type: none;
  font-size: 15px;
  width: 30%;
  float: left;
  position: relative;
  font-weight: 400;
}

/*Icon ProgressBar before any progress*/
#progressbar1 li:before {
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: block;
  font-size: 20px;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  padding: 2px;
}

/*ProgressBar connectors*/
#progressbar1 li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar1 li.active:before, #progressbar1 li.active:after {
  background: #2a1266;
}