/* GENERAL *************************************/

/* RDV PORTES OUVERTES ************************************/

.rdv-wrapper {
    width: 60vw;
    height: 100%;
    margin: 0 auto;
    margin-top: 80px;  
    text-align: center;
    min-height: 50vh;
}
  
.rdv-intro {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 30px;
}
  
.rdv-element {
    display: inline-block;
    width: 30vw;
    margin-bottom: 30px;  
    text-align: center;
}
  
.rdv-date {
  
}
  
.rdv-heure-wrapper {
    display: inline-block;
    margin: 10px;
}
  
.rdv-heure {
    display: inline-block;
    background-color: #111111;
    color: white;
    padding: 10px;
}
  
.rdv-heure:hover {
    background-color: #ceab5d;
    color: #111111;
    cursor: pointer;
}
  
.rdv-heure-label {
    
}
  
.rdv-form-element-label-confirm {
    display:inline-block !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0;
    font-weight: 400;
    margin-top: 0;
}
  
.rdv-heure-value {
    
}
  
.rdv-heure-wrapper .selected {
  background-color: #909B25;
}
  
#rdv-form {
  display: none;
}
  
.rdv-etapes {
  display: block;
  font-family: 'Roboto Slab', serif;  
  font-weight: 600;
  margin-bottom: 10px;
}
  
.rdv-etapes hr{
  width: 30vw;
}
  
#rdv-etape-2,
#rdv-etape-3 {
   display: none;  
}
  
#rdv-select {
  margin-bottom: 30px;
  font-size: 1em;
}
  
  
.rdv-listing-element {
  margin-bottom: 20px;
}
  
.rdv-listing-classe {
  font-family: 'Roboto Slab', serif; 
  font-weight: 700;
  font-size: 1.4em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
  
.rdv-listing-heure {
  font-weight: 700;
  margin-bottom: 5px;
}
  
.rdv-listing-infos {
  
}
  
.rdv-tableau {
    
}
  
.rdv-tableau td {
  border: 1px black solid;
  padding: 10px;
}

/* FORMULAIRE **********************************/

#rdv-form {
    padding: 30px;
    padding-top:10px;
    width: 40vw;
    margin: 0 auto;
  }
  
  #rdv-form .rdv-form-element {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  #rdv-form .rdv-form-element label {
    font-family: 'Roboto', sans-serif;
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #2d2d2d;
    font-size: 1em;
  }
  
  #rdv-form .rdv-form-element input,
  #rdv-form .rdv-form-element textarea{
    font-family: 'Roboto', sans-serif;
    width: 400px;
    height: 27px;
    background: #efefef;
    border: 1px solid #444;
    padding: 10px;
    margin-top: 3px;
    font-size: 1em;
    color: #3a3a3a;
    display: block;
    width: 40vw;
  }
  
  #rdv-form .rdv-form-element textarea {
      height: 100px;
  }
  
  #rdv-form .rdv-form-element-agreement-label{
    display: inline-block;
    font-family: 'Roboto', sans-serif !important;
  }
  
  #rdv-form .rdv-form-element-agreement-label input {
    display: inline-block;
    width: auto;
    height: auto;
  }
  
  #rdv-form .rdv-form-element-agreement-label select {
      font-size: 1em;
      height: 50px;
      width: 40vw;
  }
  
  #rdv-form .rdv-form-element button {
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase;
    background-color: #ceab5d;
    color:black;
    font-size: 1em;
    font-weight: 600;
    border: none;
    padding: 10px;
  }
  
  #rdv-form .rdv-form-element button:hover {
    background-color:black;
    color: #ceab5d;
    cursor: pointer;
  }
  
  #rdv-form label {
      display: block;
      margin-top: 20px;
      margin-bottom: 10px;
      font-family: 'Roboto', sans-serif;
      text-transform: uppercase;
      font-weight: 700;
      color: black;
      font-size: 1em;
  }
  
  #rdv-form input,
  #rdv-form textarea {
      font-family: 'Roboto', sans-serif;
      width:400px;
      height:27px;
      background:#efefef;
      border:1px solid #444;
      padding:10px;
      margin-top:3px;
      font-size:1em;
      color:#3a3a3a;
      display:block;
  }
  
/* CONFIRMATION *********************************/

.rdv-details {
    margin-bottom: 50px;
    text-align: center;
}
  
.rdv-confirmation {
    text-align: center;
}

.rdv-confirmation-texte {
    margin-bottom: 30px;
}
  
.rdv-confirmation-button {
    display: inline-block;
    padding: 15px;
    font-size: 1.4em;
    font-weight: 600;
    text-transform: uppercase;
}
  
.rdv-confirmation-button:hover {
    background-color: black;
    color: white;
    cursor: pointer;
}

/* LOADER ANIMATION *****************************/

#loading-animation {
    display: none;
    text-align: center;
  }
  
  .lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
  }
  .lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #000;
    margin: -4px 0 0 -4px;
  }
  .lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
  }
  .lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
  }
  .lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
  }
  .lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
  }
  .lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
  }
  .lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
  }
  .lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
  }
  .lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
  }
  .lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
  }
  .lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
  }
  .lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
  }
  .lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
  }
  .lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
  }
  .lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
  }
  .lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
  }
  .lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
  }
  @keyframes lds-roller {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }


  @media only screen and (max-width: 800px) {
    .rdv-wrapper {
        width: 90vw;
        margin-top: 16px;
    }
    
    #rdv-select {
        width: 80vw;
    }
    .rdv-element {
        width: 100%;
    }

    #rdv-form {
        width: 90vw;
        padding-left: 0;
    }

    #rdv-form .rdv-form-element input,
    #rdv-form .rdv-form-element textarea{
        width: 80vw;
    }

    #rdv-form .rdv-form-element label {
        margin-top: 0;
    }

    #rdv-form .rdv-form-element-agreement-label {
        width: 82vw;
    }

    #rdv-form .rdv-form-element-agreement-label input {
        width: auto !important;
    }
  }