:root {
  --clr-primary: #fa8a13;
  --clr-primary-light: #fcd7b0;
  --clr-danger: #d43636;
  --clr-bg: #eae4d8;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.popup {
  display:none !important;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.popup * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.popup--active {
  opacity: 1;
  pointer-events: all;
  z-index: 99999;
}

.popup__wrapper {
  background: var(--clr-bg);
  padding: 0 2rem 2rem;
  border-radius: 3px;
  -webkit-transform: translateY(-3rem);
          transform: translateY(-3rem);
  overflow-y: scroll;
  max-height: 80vh;
  -webkit-transition: -webkit-transform 0.3s ease-in;
  transition: -webkit-transform 0.3s ease-in;
  transition: transform 0.3s ease-in;
  transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in;
}

.popup__wrapper::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}

.popup__wrapper::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: none;
}

.popup__wrapper * {
  border-radius: 3px;
}

.popup--active .popup__wrapper {
  -webkit-transform: translateY(0rem);
          transform: translateY(0rem);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.popup__close {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  cursor: pointer;
  background: #000;
  border: none;
  border-radius: 3px;
  color: var(--clr-primary);
  font-size: 2rem;
  padding: 0.2em 0.4em;
  z-index: 999999;
}

.popup__close span {
  display: block;
  pointer-events: none;
  -webkit-transition: -webkit-transform 0.15s ease;
  transition: -webkit-transform 0.15s ease;
  transition: transform 0.15s ease;
  transition: transform 0.15s ease, -webkit-transform 0.15s ease;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

.popup__close:hover span {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.popup__header h2 {
  position: relative;
  margin-left: -2rem;
  height: 70px;
  display: inline-block;
  padding: 1em;
  font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: #000;
  font-weight: bold;
  background: url(../_images/back-titre.jpg);
  background-repeat: repeat-x;
  background-position: left top;
}

.popup__header h2::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5px;
  width: 9px;
  height: 70px;
}

.popup__header h2::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 70px;
  background: url(../_images/titre-bout.jpg);
}

.popup__body {
  line-height: 1.6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 765px;
}

.popup__content {
  margin-right: 2rem;
  font-size: 0.9rem;
}

.popup__content hr {
  max-width: 7rem;
  margin: 2rem auto 0rem;
  background: #000;
}

.popup__content ul {
  padding: 0 1rem;
}

.popup__image {
  max-width: 350px;
  height: auto;
}

.popup__image img {
  max-width: 100%;
  height: auto;
}

.popup__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.popup__price-wrapper {
  font-size: 24px;
  font-weight: 700;
}

.popup__price-label {
  color: var(--clr-primary);
}

.popup__more {
  padding: 0.5em 0.8em;
  text-decoration: none;
  font-size: 18px;
  color: #000 !important;
  background: var(--clr-primary);
}

.popup__more:hover {
  padding: 0.5em 0.8em;
  text-decoration: none;
  font-size: 18px;
  color: var(--clr-primary) !important;
  background: #000;
}

.semaine {
  width: 100%;
}

.day {
  background: var(--clr-primary-light);
  font-weight: bold;
  padding: 0.5em 1em;
  width: 50%;
}

.day__desc {
  padding: 0.5em 1em;
  white-space: nowrap;
  width: 50%;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-primary-light);
  border-radius: 0;
}

.day__desc p + p {
  border-top: 1px solid #999999;
  border-radius: 0;
  padding-top: 0.7em;
}

.semaine tr:last-of-type .day__desc {
  border-bottom: none;
}

.txt-danger {
  color: var(--clr-danger);
}

.day--close {
  border-radius: 3px;
  color: var(--clr-danger);
}

@media all and (min-width: 765px) {
  .semaine + .semaine {
    margin-left: 1rem;
  }
}

@media all and (max-width: 850px) {
  .popup__wrapper {
    margin: 2.5rem;
  }
}

@media all and (max-width: 765px) {
  .popup__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .popup__header h2 {
    font-size: 1.2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .popup__content {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-right: 0;
  }
  .popup__image {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    max-width: 100%;
  }
}

@media all and (max-width: 450px) {
  .popup__wrapper {
    margin: 1rem;
    padding: 1rem;
  }
  .popup__price-label {
    display: block;
  }
  .popup__price-wrapper {
    font-size: 1.1rem;
  }
}
/*# sourceMappingURL=popup.css.map */