/* CSS de la page de Reservation */
* {
  box-sizing: border-box;
}

.ui-widget-header .ui-icon {
  background-image: url("media/img/icons8-fl%C3%A8che-droite-96.png");
}

.contentResa {
  display: flex;
  margin-left: 10px;
  margin-right: 10px;
}

.imageresa {
  background: url(../img/reservation.jpg) no-repeat center center scroll;
  background-size: 550px;
  height: 400px;
  min-width: 400px;
}

@media (max-width: 768px) {
  .contentResa {
    margin-top: 100px;
    display: block;
  }

  section.introResa {
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0px !important;
  }

  .imageresa {
    background: none;

    height: 0;
  }
}


/* Introduction */
section.introResa {
  flex-grow: 1;
  max-width: 40%;
  width: 40%;
  margin-right: 50px;
  /* background: url(../img/reservation.jpg) no-repeat center center scroll; */
  background-size: 110%;
}

section.introResa .content {
  background-color: rgba(255, 255, 255, 0.9);
}

div.content p {
  font-size: 14px;
  margin: 0;
}

/* Formulaire */
section.FormResa {
  flex-grow: 1;

}

.contentForm {
  display: flex;
  flex-direction: column;

  justify-content: center
}

.g-recaptcha {
  text-align: -webkit-center;
  text-align: -moz-center;
}

#nbrresa {
  padding-bottom: 10px;
  padding-top: 10px;
}

#iteminfo {
  margin-bottom: 15px;
}

/*Calendrier  */
#datepicker .ui-datepicker {
  width: 100%;
}

#datepicker .ui-datepicker td span,
#datepicker .ui-datepicker td a {
  color: black;
  text-align: center;
  font-size: 1.2em;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: 1px solid #D3CCCC !important;
  background: #282828 !important;
  font-weight: normal;
  color: #ffffff !important;
}


/*Boutton de choix d'horaire  */
#radiohoraire {
  margin: 0 auto;
  padding-top: 20px;
}

.button-wrap {
  position: relative;
  text-align: center;
  top: 50%;
}

@media (max-width: 40em) {
  .button-wrap {}
}

.btn {
  display: inline-block;
  padding: 1em 2em;
  margin: 0.5em;
  cursor: pointer;
  color: #292929;
  border-radius: 0.25em;
  background: #efefef;
  transition: 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover {
  background: #d6d6d6;
  color: #101010;
}

.btn:active {
  -webkit-transform: translateY(2px);
  transform: translateY(2px);
}

@media (max-width: 40em) {
  .btn {
    padding: 0em 1em 3px;
    margin: 0.25em;
  }

  .contentResa {
    display: flex;
    flex-wrap: wrap;
  }
}

#toggle-off:checked+.btn {
  background: #292929;
  color: #efefef;
}

#toggle-off:checked+.btn:hover {
  background: #120F0F;
  color: #e2e2e2;
}

#toggle-on:checked+.btn {
  background: #292929;
  color: #efefef;
}

#toggle-on:checked+.btn:hover {
  background: #120F0F;
  color: #e2e2e2;
}


.Horaire {
  display: none;
}

/*  Affichage des input pour les info personnelle
=====
LEVEL 1. RESET STYLES
=====
*/

.field {
  --uiFieldPlaceholderColor: var(--fieldPlaceholderColor, #767676);
}

.field__input {
  background-color: transparent;
  border-radius: 0;
  border: none;

  -webkit-appearance: none;
  -moz-appearance: none;

  font-family: inherit;
  font-size: 1em;
}

.field__input:focus::-webkit-input-placeholder {
  color: var(--uiFieldPlaceholderColor);
}

.field__input:focus::-moz-placeholder {
  color: var(--uiFieldPlaceholderColor);
  opacity: 1;
}

/*
=====
LEVEL 2. CORE STYLES
=====
*/

.a-field {
  display: inline-block;
}

.a-field__input {
  display: block;
  box-sizing: border-box;
  width: 100%;
}

.a-field__input:focus {
  outline: none;
}

/*
=====
LEVEL 3. PRESENTATION STYLES
=====
*/

/* a-field */
.itemdemi {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.a-field {
  --uiFieldHeight: var(--fieldHeight, 40px);
  --uiFieldBorderWidth: var(--fieldBorderWidth, 2px);
  --uiFieldBorderColor: var(--fieldBorderColor);

  --uiFieldFontSize: var(--fieldFontSize, 1em);
  --uiFieldHintFontSize: var(--fieldHintFontSize, 1em);

  --uiFieldPaddingRight: var(--fieldPaddingRight, 15px);
  --uiFieldPaddingBottom: var(--fieldPaddingBottom, 15px);
  --uiFieldPaddingLeft: var(--fieldPaddingLeft, 15px);

  position: relative;
  box-sizing: border-box;
  font-size: var(--uiFieldFontSize);
  padding-top: 1em;
  width: 100%;
  margin-bottom: 5px;
}

.a-field .a-field__input {
  height: var(--uiFieldHeight);
  padding: 0 var(--uiFieldPaddingRight) 0 var(--uiFieldPaddingLeft);
  border-bottom: var(--uiFieldBorderWidth) solid var(--uiFieldBorderColor);
}

.a-field .a-field__input::-webkit-input-placeholder {
  opacity: 0;
  transition: opacity .2s ease-out;
}

.a-field .a-field__input::-moz-placeholder {
  opacity: 0;
  transition: opacity .2s ease-out;
}

.a-field .a-field__input:not(:placeholder-shown)~.a-field__label-wrap .a-field__label {
  opacity: 0;
  bottom: var(--uiFieldPaddingBottom);
}

.a-field .a-field__input:focus::-webkit-input-placeholder {
  opacity: 1;
  transition-delay: .2s;
}

.a-field .a-field__input:focus::-moz-placeholder {
  opacity: 1;
  transition-delay: .2s;
}

.a-field .a-field__label-wrap {
  box-sizing: border-box;
  width: 100%;
  height: var(--uiFieldHeight);

  pointer-events: none;
  cursor: text;

  position: absolute;
  bottom: 0;
  left: 0;
}

.a-field .a-field__label {
  position: absolute;
  left: var(--uiFieldPaddingLeft);
  bottom: calc(50% - .5em);

  line-height: 1;
  font-size: var(--uiFieldHintFontSize);

  pointer-events: none;
  transition: bottom .2s cubic-bezier(0.9, -0.15, 0.1, 1.15), opacity .2s ease-out;
  will-change: bottom, opacity;
}

.a-field .a-field__input:focus~.a-field__label-wrap .a-field__label {
  opacity: 1;
  bottom: var(--uiFieldHeight);
}

/* a-field_a1 */
.a-field_a1 {
  padding-right: 10px;

}

.a-field_a1 .a-field__input {
  transition: border-color .2s ease-out;
  will-change: border-color;
}

.a-field_a1 .a-field__input:focus {
  border-color: var();
}

/* a-field_a2 */

.a-field_a2 .a-field__label-wrap:after {
  content: "";
  box-sizing: border-box;
  width: 0;
  height: var(--uiFieldBorderWidth);
  background-color: var();

  position: absolute;
  bottom: 0;
  left: 0;

  will-change: width;
  transition: width .285s ease-out;

}

.a-field_a2 .a-field__input:focus~.a-field__label-wrap:after {
  width: 100%;
}

/* a-field_a3 */

.a-field_a3 {
  padding-top: 1.5em;
}

.a-field_a3 .a-field__label-wrap:after {
  content: "";
  box-sizing: border-box;
  width: 100%;
  height: 0;

  opacity: 0;
  border: var(--uiFieldBorderWidth) solid var();

  position: absolute;
  bottom: 0;
  left: 0;

  will-change: opacity, height;
  transition: height .2s ease-out, opacity .2s ease-out;
}

.a-field_a3 .a-field__input:focus~.a-field__label-wrap:after {
  height: 100%;
  opacity: 1;
}

.a-field_a3 .a-field__input:focus~.a-field__label-wrap .a-field__label {
  bottom: calc(var(--uiFieldHeight) + .5em);
}

/*
=====
LEVEL 4. SETTINGS
=====
*/

.field {
  --fieldBorderColor: #6d6f71;
  --fieldBorderColorActive: #231f20;
}

/* boutton submit */

#Resa {
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 2px solid #e74c3c;
  border-radius: 0.6em;
  color: #e74c3c;
  cursor: pointer;
  display: flex;
  align-self: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  margin: 20px;
  padding: 1.2em 2.8em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-color: #2a2a2a;
  color: #2a2a2a;
  background-image: linear-gradient(45deg, #2a2a2a 50%, transparent 50%);
  background-position: 100%;
  background-size: 400%;
  transition: background 300ms ease-in-out;
}

#Resa:hover,
.btn:focus {
  color: #fff;
  outline: 0;
}

#Resa:hover {
  background-position: 0;
}

#submitbtn {
  display: flex;
  justify-content: center;
}