/* ----------------------------------------------------------- */
/* == tingle v0.15.2 */
/* ----------------------------------------------------------- */

.tingle-modal * {
  box-sizing: border-box;
}

.tingle-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  user-select: none;
  cursor: pointer;

  -webkit-user-select: none;
  -ms-user-select: none;
}

/* confirm and alerts
-------------------------------------------------------------- */

.tingle-modal--confirm .tingle-modal-box {
  text-align: center;
}

/* modal
-------------------------------------------------------------- */

.tingle-modal--noOverlayClose {
  cursor: default;
}

.tingle-modal--noClose .tingle-modal__close {
  display: none;
}

.tingle-modal__close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  padding: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  background-color: transparent;
  color: #e55f1d;
  /* color: #fff; */
  cursor: pointer;
}

.tingle-modal__close svg * {
  fill: currentColor;
}

.tingle-modal__closeLabel {
  display: none;
}

.tingle-modal__close:hover {
  color: #d45407;
  /* color: #fff; */
}

.tingle-modal-box {
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 60%;
  border-radius: 4px;
  background: #fff;
  opacity: 1;
  cursor: auto;
  will-change: transform, opacity;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.33);
}

.tingle-modal-box__content {
  padding: 3rem 3rem;
}

.tingle-modal-box__footer {
  /*padding: 1.5rem 2rem;*/
  width: auto;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #f5f5f5;
  cursor: auto;
  text-align: center;
}

.tingle-modal-box__footer::after {
  display: table;
  clear: both;
  content: '';
}

.tingle-modal-box__footer--sticky {
  position: fixed;
  bottom: -200px; /* TODO : find a better way */
  z-index: 10001;
  opacity: 1;
  transition: bottom 0.3s ease-in-out 0.3s;
}

/* state
-------------------------------------------------------------- */

.tingle-enabled {
  position: fixed;
  right: 0;
  left: 0;
  overflow: hidden;
}

.tingle-modal--visible .tingle-modal-box__footer {
  bottom: 0;
}

.tingle-enabled .tingle-content-wrapper {
  filter: blur(8px);
}

.tingle-modal--visible {
  visibility: visible;
  opacity: 1;
}

.tingle-modal--visible .tingle-modal-box {
  animation: scale 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.tingle-modal--overflow {
  overflow-y: scroll;
  padding-top: 8vh;
}

/* btn
-------------------------------------------------------------- */

.tingle-btn {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: grey;
  box-shadow: none;
  color: #fff;
  vertical-align: middle;
  text-decoration: none;
  font-size: inherit;
  font-family: inherit;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.4s ease;
  color: #fff;
  transition: color 0.3s ease 0s, background 0.3s ease 0s;
  font-family: Sofia-Pro, Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tingle-btn--primary {
  background-color: #e55f1d;
}

.tingle-btn--primary:hover {
  background-color: #d45407;
  color: #fff;
}

.tingle-btn--danger {
  background-color: #e74c3c;
}

.tingle-btn--default {
  background-color: #34495e;
}

.tingle-btn--pull-left {
  float: left;
}

.tingle-btn--pull-right {
  float: right;
}

/* responsive
-------------------------------------------------------------- */

@media (max-width: 540px) {
  .tingle-modal {
    top: 0px;
    display: block;
    padding-top: 60px;
    width: 100%;
  }

  .tingle-modal-box {
    width: auto;
    border-radius: 0;
  }

  .tingle-modal-box__content {
    overflow-y: scroll;
  }

  .tingle-modal--noClose {
    top: 0;
  }

  .tingle-modal--noOverlayClose {
    padding-top: 0;
  }

  .tingle-modal-box__footer .tingle-btn {
    display: block;
    float: none;
    margin-bottom: 1rem;
    width: 100%;
  }

  .tingle-modal__close {
    top: 0;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 60px;
    border: none;
    background-color: #222;
    box-shadow: none;
    color: #fff;
  }

  .tingle-modal__closeLabel {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.25rem;
    line-height: 100%;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .tingle-modal__closeIcon {
    display: inline-block;
    margin-right: 0.8rem;
    width: 1.6rem;
    vertical-align: middle;
    line-height: 100%;
    font-size: 0;
  }
}
/*
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .tingle-modal:before {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        content: "";
        backdrop-filter: blur(18px);

        -webkit-backdrop-filter: blur(18px);
    }

    .tingle-enabled .tingle-content-wrapper {
        filter: none;
    }
}
*/
/* animations
-------------------------------------------------------------- */

@keyframes scale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.tingle-modal.popup .tingle-modal-box {
  max-width: 500px;
}

.tingle-modal.popup.popup--image .tingle-modal-box {
  max-width: 700px;
}

.tingle-modal.popup .tingle-modal-box .tingle-modal-box__content {
  padding: 0;
}

.tingle-modal.popup .tingle-modal-box .popup__image {
  padding: 0;
  height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: none;
}

.tingle-modal.popup .tingle-modal-box .popup__content {
  padding: 30px 30px 20px;
  text-align: center;
}

.tingle-modal.popup .tingle-modal-box .popup__content img,
.tingle-modal.popup .tingle-modal-box .popup__content p,
.tingle-modal.popup .tingle-modal-box .popup__content h2,
.tingle-modal.popup .tingle-modal-box .popup__content h3,
.tingle-modal.popup .tingle-modal-box .popup__content h4 {
  margin: 0 0 0.75rem;
}

.tingle-modal.popup .tingle-modal-box .popup__content h2 {
  font-size: 26px;
}

.tingle-modal.popup .tingle-modal-box .popup__content h3 {
  font-size: 22px;
}

@media (min-width: 800px) {
  .tingle-modal.popup .tingle-modal-box .tingle-modal-box__content {
    display: flex;
  }
  .tingle-modal.popup .tingle-modal-box .popup__image {
    width: 40%;
    height: auto;
    display: block;
  }
  .tingle-modal.popup .tingle-modal-box .popup__content {
    padding: 50px 50px 30px;
    text-align: left;
  }
  .tingle-modal.popup.popup--image .tingle-modal-box .popup__content {
    width: 60%;
  }
}
