*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

.formulaire-section {
  font-size: 1em;

  font-family: "Roboto", sans-serif;
  font-weight: 400;

  min-width: 100%;
  color: #555;
/*  background: url(../images/background.jpg);
  background-size: cover;
  background-position: center center;*/
}

.btn-moins-plus {
  font-size: 1.3em !important;
}

.btn-moins-plus span {
  padding-left: 5px;
  padding-right: 5px;
}

#photo_code {
  font-family: 'Droid Serif';
}

/* Basics Styles */
.formulaire-section a {
  text-decoration: none;
  color: #2196f3;
}

.formulaire-section h1, .formulaire-section h2, .formulaire-section h3 {
  margin-bottom: 1.2em;
  line-height: 1.5;
}

.formulaire-section h1 {
  font-size: 1em;
}

.formulaire-section h2 {
  font-size: 0.9em;
}

.formulaire-section h4 {
  font-size: 0.8em;
  font-weight: 300;
}

.formulaire-section .lead {
  font-size: 1em;
}

.formulaire-section p {
  margin-bottom: 1rem;
}

/* Padding Helpers */
.formulaire-section .padding-tb {
  padding-top: 3%;
  padding-bottom: 3%;
}

/* Basic Demo Styles responsive ?*/
.formulaire-section .site-container {
  max-width: 320px;
  margin: auto;
  padding-left: 0.6em;
  padding-right: 0.6em;
}
@media screen and (min-width: 60.063em) {
  .formulaire-section .site-container {
    max-width: 400px;
  }
}

.formulaire-section .site-container-inscription {
  max-width: 640px;
  margin: auto;
  padding-left: 0.6em;
  padding-right: 0.6em;
}
@media screen and (min-width: 60.063em) {
  .formulaire-section .site-container-inscription {
    max-width: 800px;
  }
}

.formulaire-section .footer__content {
  margin-top: 1.6rem;
}

/* Card */
.formulaire-section .card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 5px 3px rgba(0, 0, 0, 0.24), 0 1px 6px 4px rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  padding: 50px 15px;
  transition: color .15s linear;
}
.formulaire-section .card h3 {
  font-weight: bold;
}

.formulaire-section .error input {
  color: #e74c3c !important;
  border-color: #e74c3c !important;
}

/* Material Design Form Inputs */
.formulaire-section .form__wrapper {
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 1rem;
  width: 100%;
  vertical-align: top;
}

.formulaire-section .form__wrapper--submit {
  padding: 1.6rem 0;
}

.formulaire-section .form__input {
  display: block;
  position: relative;
  margin-top: 0.9em;
  padding: 0.34em 0;
  width: 100%;
  box-sizing: border-box;
  color: #444;
  font-size: 1em;
  outline: 0;
  border: none;
  border-bottom: solid 1px #ddd;
  -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -moz-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -o-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 96%, #2196f3 4%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #2196f3 4%);
  background-position: -400px 0;
  background-size: 400px 100%;
  background-repeat: no-repeat;
  /**
   * Remove default box-shadow for required pseudo classes 
   */
  /**
   *  When input contain a class of .error 
   */
}

.formulaire-section .inscription {
  background-position: -800px 0;
  background-size: 800px 100%;
}

.formulaire-section .form__input:required {
  box-shadow: none;
}
.formulaire-section .form__input.error {
  -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -moz-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -o-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 96%, #f44336 4%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #f44336 4%);
  background-position: 0 0;
  background-size: 400px 100%;
  background-repeat: no-repeat;
}
.formulaire-section .form__input:focus {
  background-position: 0 0;
  color: #444;
  -webkit-transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -moz-transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -o-transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
}

.formulaire-section .timeline {
  display: flex;
  width: 100%;
  margin: 0;
  position: relative;
}

.formulaire-section .timeline:before {
  content: ' ';
  width: 500px;
  position: absolute;
  top: 40px;
  left: 120px;
  background-color: #cdd6de;
  z-index: 0;
  height: 2px;
}

.formulaire-section .timeline2 {
  display: flex;
  width: 100%;
  margin: 0;
  position: relative;
}

.formulaire-section .timeline2:before {
  content: ' ';
  width: 250px;
  position: absolute;
  top: 40px;
  left: 375px;
  background-color: #cdd6de;
  z-index: 0;
  height: 2px;
}

.formulaire-section .timeline3 {
  display: flex;
  width: 100%;
  margin: 0;
  position: relative;
}

.formulaire-section .timeline3:before {
  content: ' ';
  width: 0px;
  position: absolute;
  top: 40px;
  left: 120px;
  background-color: #d0021b;
  z-index: 0;
  height: 2px;
}

.formulaire-section .timeline4 {
  display: flex;
  width: 100%;
  margin: 0;
  position: relative;
}

.formulaire-section .timeline4:before {
  content: ' ';
  width: 500px;
  position: absolute;
  top: 40px;
  left: 120px;
  background-color: #d0021b;
  z-index: 0;
  height: 2px;
}

.formulaire-section .inscription-text {
  text-align: center;
}
.formulaire-section .inscription-text p {
  margin-bottom: -7px;
}

.formulaire-section #text {
  text-decoration: underline;
}

.formulaire-section .text {
  color: black;
  font-size: 15px;
}

/* Form Label */
.formulaire-section .form__label {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0;
  width: 100%;
  height: calc(100% - 1em);
  text-align: left;
  pointer-events: none;
  color: #999;
}

/* Form Label Content */
.formulaire-section .form__label-content {
  padding: 0.34em 0;
  position: absolute;
  -webkit-transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -moz-transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -o-transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  transition: transform 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
}

/**
 * 1. When input is focused move the label to top
 * 2. when the input field has a value move the label to top
 */
.formulaire-section .form__input:focus ~ .form__label .form__label-content,
.formulaire-section .form--filled .form__label-content {
  font-size: 0.8rem;
  -webkit-transform: translate3d(0, -65%, 0);
  -moz-transform: translate3d(0, -65%, 0);
  transform: translate3d(0, -65%, 0);
}

.formulaire-section .active {
  font-size: 0.8rem;
  -webkit-transform: translate3d(0, -65%, 0);
  -moz-transform: translate3d(0, -65%, 0);
  transform: translate3d(0, -65%, 0);
}

/**
 * Error Styles
 * .error class generated by jquery.validate.min.js plugin
 */


/* Basic Buttons */
.formulaire-section .btn {
  display: inline-block;
  padding: 0.6em 1.5em;
  border-radius: 2px;
  background-color: #2196f3;
  color: #fff;
  border: 0;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  font-size: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.24), 0 1px 2px 0 rgba(0, 0, 0, 0.12);
  transition: all 0.2s linear;
}

.formulaire-section .btn-false{
  display: inline-block;
  padding: 0.6em 1.5em;
  border-radius: 2px;
  background-color: #555;
  color: #fff;
  border: 0;
  outline: none;
  cursor: default;
  font-family: inherit;
  font-weight: 400;
  font-size: 1.6rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.24), 0 1px 2px 0 rgba(0, 0, 0, 0.12);
  transition: all 0.2s linear;
  width: 100%;
  display: block;
  text-align: center;
}

.formulaire-section .btn:focus, .formulaire-section .btn:hover {
  background-color: #0d8aee;
}
.formulaire-section .btn.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}
@keyframes headShake {


  0 {
    transform: translateX(0)
  }

  6.5% {
    transform: translateX(-6px) rotateY(-9deg)
  }

  16.5% {
    transform: translateX(5px) rotateY(7deg)
  }

  31.5% {
    transform: translateX(-3px) rotateY(-5deg)
  }

  43.5% {
    transform: translateX(2px) rotateY(3deg)
  }

  50% {
    transform: translateX(0)
  }
}


.formulaire-section .headShake {
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-name: headShake;
}