body {
  font-family: calibri;
}

#calendar.loading {
  opacity: 0.7;
  position: relative;
}

#calendar.loading:before {
  content: "";
  display: block;
  height: 40px;
  width: 40px;
  background-size: 100%;
  background-image: url("loader.svg");
  background-position: 0 0;
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -20px;
}

#calendar-outer {
  width: 574px;
  margin-left: auto;
  margin-right: auto;
}

#calendar-outer ul {
  margin: 0px;
  padding: 0px;
}

#calendar-outer ul li {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  cursor: pointer;
}

.prev {
  display: inline-block;
  float: left;
  cursor: pointer;
}

.next {
  display: inline-block;
  float: right;
  cursor: pointer;
}

/* :focus {
	outline: none;
	background: #ff8e8e;
} */

div.calendar-nav {
  background-color: #242d34;
  border-radius: 4px;
  text-align: center;
  padding: 10px;
  color: #fff;
  box-sizing: border-box;
  font-weight: bold;
}

#calendar-outer .week-name-title li {
  display: inline-block;
  padding: 10px 0;
  width: 82px;
  text-align: center;
  color: #90918b;
  font-size: 0.95em;
  font-weight: 600;
}

.week-day-cell li {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  text-align: center;
  vertical-align: middle;
  background-color: #adadad;
  color: #fff;
  border: 1px solid #f1f0f0;
  border-radius: 4px;
  font-size: 1.2em;
}

.lock_content {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.week-day-cell li.on {
  color: #242d34;
  font-weight: 600;
  background: #ccc;
}

.week-day-cell li.off {
  color: #fff;
  font-weight: 400;
  background: #242d34;
}

.week-day-cell li.off .slots,
.week-day-cell li.off .tartiflette {
  display: none;
}

.week-day-cell li.complet {
  color: #fff;
  background: #77050f;
}

.week-day-cell li .tartiflette {
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  position: absolute;
  height: 100%;
  background: #77050f;
  z-index: 2;
}

#repare_date .week-day-cell li .tartiflette {
  display: none;
}

p.rgpd-mentions {
  padding: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.week-day-cell li .day_number {
  display: block;
  position: relative;
  z-index: 3;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.week-day-cell li span.slots {
  position: absolute;
  top: 5px;
  left: 10px;
  z-index: 4;
  font-size: 11px;
}

#body-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#body-overlay div {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -32px;
  margin-left: -32px;
}

/* ACF FORM */

form.acf-form {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

form.acf-form .repare-column {
  display: none;
}

.acf-form-submit input[type="submit"],
.acf-form-submit button {
  display: block;
  background-color: #242d34;
  border: none;
  padding: 20px;
  color: #fff;
  width: 100%;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

#calendar-front ul li.on.hover:not(.off) {
  background-color: rgb(37, 161, 141);
}

#calendar-front ul li.selected:not(.off),
#calendar-front ul li.selected:hover:not(.off),
#calendar-front ul li.on.selected.hover:not(.off) {
  /* background-color: #242d34; */
  background-color: #58c765;
  color: #fff;
}

#calendar-front.loading {
  opacity: 0.7;
  position: relative;
}

#repare_total .acf-input .acf-input-append {
  font-size: 30px;
  line-height: 22px;
  height: 30px;
  padding: 3px 7px;
  background: transparent;
  border: none;
}

#repare_total .acf-input-wrap span {
  display: block;
  background-color: transparent;
  border: none;
  text-align: right;
  font-size: 30px;
}

#repare_total .acf-label label {
  text-align: right;
}

/**
STRIIIIPE
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */

.StripeElement {
  background-color: white;
  height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

/* FORM STYLE */

.repare-form {
  width: 100%;
}

.repare-form>div {
  margin-bottom: 40px;
}

.repare-form>div:after {
  content: "";
  display: block;
  clear: both;
}

.repare-form input:not([type="checkbox"]) {
  width: 40%;
  display: block;
  margin-left: 5%;
  margin-right: 5%;
  float: left;
  box-sizing: border-box;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.repare-form textarea {
  display: block;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  box-sizing: border-box;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.bil-address-bloc {
  /* display: none; */
}

.single-container a.paiement-return {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  max-width: 150px;
  background-color: #242d34;
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.single-container a.paiement-return:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 25px solid #fff;
  border-right: 25px solid transparent;
  position: absolute;
  top: 0;
  left: 0;
}

.single-container a.paiement-return:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-bottom: 25px solid #fff;
  border-right: 25px solid transparent;
  position: absolute;
  bottom: 0;
  left: 0;
}

.stripe_form {}

div.pay-button-container {
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center; */
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.pay-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
}

.pay-menu .credit-card {
  display: block;
  width: 300px;
  height: 45px;
  background-color: #242d34;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;

  position: relative;
}

.pay-menu .credit-card:before {
  content: '';
  display: block;
  height: 25px;
  width: 128px;

  background-image: url(cb.png);
  background-repeat: no-repeat;
  background-position: 0 0;
}

.pay-menu .credit-card:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #242d34;

  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
}

.single-container a.stripe_paiement {
  display: inline-block;
  width: 100%;
  padding: 20px 20px;
  box-sizing: border-box;
  max-width: 300px;
  background-color: #242d34;
  color: #fff;
  border: none;
  margin-left: 20px;
  margin-right: 20px;
  font-size: 20px;
  margin-top: 20px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}

span.or-pay {
  display: inline-block;
  margin-left: 20px;
  margin-right: 20px;
  font-weight: bold;
  font-size: 25px;
}

#paypal-button {
  display: inline-block;
  width: 300px;
}

#payment-form button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  max-width: 170px;
  background-color: #242d34;
  color: #fff;
  border: none;
  margin-left: auto;
  border-radius: 5px;
  margin-right: auto;
  font-size: 16px;
  margin-top: 20px;
  text-transform: uppercase;
  transition: background-color .2s ease-in;
}

#payment-form button:hover {
  background-color: #3a6180;
}

.unit-price-input,
.qty-input {
  text-align: right !important;
}

.unit-price-input .acf-input-prepend,
.unit-price-input .acf-input-append {
  border: none;
  background-color: #fff;
  line-height: 18px;
}

.StripeElement {
  background-color: white;
  height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #bbbbbb;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #6f6f6f;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

#card-errors {
  color: #fa755a;
}

.StripeElement ::placeholder {
  color: #000;
}



p.description {
  font-size: 12px;
  color: #9a9a9a;
  line-height: 14px;
  font-style: italic;
}

#repare_total .acf-label label {
  text-align: left;
}

.single-container .acf-field input[type="text"],
.single-container .acf-field input[type="password"],
.single-container .acf-field input[type="number"],
.single-container .acf-field input[type="search"],
.single-container .acf-field input[type="email"],
.single-container .acf-field input[type="url"],
.single-container .acf-field textarea,
.single-container .acf-field select {
  width: 100%;
  padding: 18px 5px !important;
  resize: none;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 4px;
  padding: 19px 10px;
  border: 1px solid #9b9b9b;
}

.single-container .acf-field select {
  padding: 8px !important;
}

.acf-table>tbody>tr:first-child>td {
  border-top-width: 0;
  vertical-align: middle;
}

.acf-table>thead>tr>th {
  border-color: #E1E1E1;
  border-width: 0 0 1px 1px;
  font-weight: bold;
}

.acf-field select {
  padding: 2px;
  padding: 10px;
}


.acf-form-submit input[type="submit"],
.acf-form-submit button {
  display: block;
  background-color: #242d34;
  border: none;
  padding: 20px;
  color: #fff;
  width: 100%;
  max-width: 250px;
  margin-left: auto;
  border-radius: 14px;
  margin-right: auto;
  margin-top: 40px;
}


.contact-repare-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.single-container .contact-repare-container a {
  display: inline-block;
  background-color: #242d34;
  border: none;
  padding: 11px 20px;
  color: #fff;
  border-radius: 5px;
  margin-left: 10px;
  text-decoration: none;
}

.single-container .contact-repare-container a:hover,
.acf-form-submit input[type="submit"]:hover,
.acf-form-submit button:hover {
  background-color: #385062;
}

.repare-cover {
  overflow: hidden;
  margin-bottom: 50px;
  max-height: 300px;
  margin-left: -20px;
  margin-right: -20px;
}

.repare-cover img {
  display: block;
  width: 100%;
  height: auto;
}


.single-container .acf-table>thead>tr>th {
  font-weight: bold;
}