@media (max-width: 47.99em) {
  .mobile-hidden {
    display: none;
  }
}
.mobile-visible {
  display: block;
}

@media (min-width: 48em) {
  .mobile-visible {
    display: none;
  }
}

#logo {
  margin: 30px;
  width: 100px;
}

.iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;  /* hotfix for Mac Chrome */
}

.iframe-container iframe {
  overflow: hidden;  /* hotfix for Mac Chrome */
}

@media (min-width: 48em) {
  .button-fullscreen, .button-fullscreen-close {
    position: absolute;
    top: 10px;
    left: 50px;
    font-size: 0.8em;
    background: url('/static/img/full-screen-arrow-icon.svg') no-repeat;
    background-color: #000000;
    background-size: auto 30px;
    background-position: 15px 5px;
    border-radius: 7px;
    opacity: 0.6;
    color: white;
    padding: 37px 5px 5px 5px;
    border: none;
    cursor: pointer;
    z-index: 0;
  }

  .button-fullscreen-close {
    background-size: auto 40px;
    padding: 37px 5px 5px 5px;
    background: url('/static/img/full-screen-close-arrow-icon.svg') no-repeat;
    background-color: #000000;
    background-size: auto 30px;
    background-position: 7px 5px;
  }
}

@media (max-width: 47.99em) {
  .button-fullscreen, .button-fullscreen-close {
    position: absolute;
    top: 40%;
    left: 40%;
    background: url('/static/img/full-screen-arrow-icon.svg') no-repeat;
    background-size: auto 50px;
    background-color: #000000;
    background-position: 20px 8px;
    border-radius: 7px;
    padding: 60px 20px 5px 15px;
    opacity: 0.6;
    font-size: 0.8em;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
  }

  .button-fullscreen-close {
    position: absolute;
    top: 15px;
    left: 88%;
    background-size: auto 40px;
    padding: 40px 5px 10px 5px;
    opacity: 0.6;
    background: url('/static/img/full-screen-close-arrow-icon.svg') no-repeat;
    background-color: #000000;
  }
}
@media (min-width: 48em) {
  #weather-map {
    width: 100%;
    height: 70vh;
    min-height: 660px;
  }
}

@media (max-width: 48em) {
  #weather-map {
    width: 100%;
    height: 80vh;
  }
}

.tsk-forecast-table {
  max-width: 800px;
}

/* Dark mode slider */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 30px;
  margin-left: 10px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#darkmode {
  margin-left: 25px;
}

.sticky-table .sticky-table-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.sticky-table .sticky-table-left {
  position: sticky;
  left: 0;
  z-index: 10;
  min-width: 10em;
  max-width: 10em;
}

.sticky-table .sticky-table-left-ean {
  position: sticky;
  left: 10em;
  z-index: 10;
  min-width: 10em;
  max-width: 10em;
}

.price-monitor-spacer {
  width: 0.2cm;
}

.pierre-logo {
  display: block;
  margin: auto;
  max-width: 100%;
}

/* timeline control */
.timeline-wrapper {
  position: relative;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  display: flex;
  align-items: stretch;
  background-color: #fff;
}

.timeline--blue {
  background-color: #f0f5f8;
}

.timeline--l {
  height: 46px;
}

@media (min-width: 48em) {
  .timeline--l {
    height: 56px;
  }
}

.timeline--s {
  height: 34px;
}

@media (min-width: 48em) {
  .timeline--s {
    height: 36px;
  }
}

.timeline-control {
  position: absolute;
  width: 36px;
  height: 100%;
  cursor: pointer;
  background-color: #ffffff;
  border: 0;
}

.timeline-hidden {
  display: none;
}

.timeline--blue .timeline-control {
  background-color: #f0f5f8;
}

.shadow {
  position: absolute;
  height: 100%;
  width: 22px;
  opacity: 0.08;
  z-index: 90;
}

.timeline--no-border-shadow .shadow {
  display: none;
}

.shadow--prev {
  left: 36px;
  background-image: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.shadow--next {
  right: 36px;
  background-image: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.timeline-prev {
  left: 0;
  border-right: 1px solid #e4e4e4;
}

.timeline-prev img {
  transform: rotate(180deg);
}

.timeline-next {
  right: 0;
  border-left: 1px solid #e4e4e4;
}

.timeline-control-hidden {
  cursor: default;
}

.timeline-control-hidden img {
  display: none;
}

.timeline {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-slider {
  overflow-x: scroll;
  margin-left: 36px;
  margin-right: 36px;
  display: flex;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.timeline-slider::-webkit-scrollbar {
  display: none;
}

.timeline-unit {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  color: #2f2f2f;
  position: relative;
  cursor: pointer;
}

.timeline-unit:after {
  content: "";
  width: 1px;
  height: 36px;
  background: #e4e4e4;
  right: 0;
  position: absolute;
}

.timeline-unit:hover {
  color: #008bff;
}

.timeline-unit:last-child::after {
  display: none;
}

.timeline--l .timeline-unit {
  flex: 0 0 62px;
  font-size: 13px;
}

@media (max-width: 47.99em) {
  .timeline--l .timeline-unit {
    flex-direction: column;
  }
}

@media (min-width: 48em) {
  .timeline--l .timeline-unit {
    font-size: 14px;
    flex: 0 0 140px;
  }
}

@media (max-width: 47.99em) {
  .timeline--l .timeline-unit span {
    display: block;
  }
}

@media (min-width: 48em) {
  .timeline--l .timeline-unit strong + span {
    margin-left: 4px;
  }
}

@media (min-width: 48em) {
  .timeline--l.timeline--dense .timeline-unit {
    font-size: 14px;
    flex: 0 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.timeline--s .timeline-unit {
  flex: 0 0 47px;
  font-size: 12px;
}

@media (min-width: 48em) {
  .timeline--s .timeline-unit {
    flex: 0 0 64px;
    font-size: 13px;
  }
}

.timeline-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

@media (max-width: 47.99em) {
  .timeline-link {
    flex-direction: column;
  }
}

@media (min-width: 48em) {
  .timeline-unit--future .timeline-link {
    background: #fffff0;
  }
}

.timeline-unit--active {
  color: #008bff;
  border: 2px solid #008bff;
  border-radius: 4px;
  background-color: #fff;
}

.timeline-unit--active::after {
  display: none;
}

@media (min-width: 48em) {
  .timeline-unit--active.timeline-unit--future {
    border-color: #838130;
    color: #838130;
  }
}

.timeline-days {
  margin-bottom: 10px;
}

@media (max-width: 48em) {
  .timeline-days.timeline-days--collapse {
    display: none;
  }
  .timeline-times.timeline-times--collapse {
    display: none;
  }
}

#map .loading-text {
  position: absolute;
  top: 1.0em;
  width: 100%;
  text-align: center;
  display: none;
  z-index: 1000000;
  font-size: larger;
}

#map .loading-text span {
  padding: 0.3em;
  background: white;
  border-radius: 4px;
  border: 2px solid #008bff;
}


.btn-rounded-group {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.btn-rounded-group-submenu {
  margin-top: 1em;
}

.map {
  margin-top: 20px;
  position: relative;
}

.map .loading-text {
  position: absolute;
  top: 1.0em;
  width: 100%;
  text-align: center;
  display: none;
  z-index: 100;
}

.map .loading-text span {
  padding: 0.3em;
  background: white;
  border-radius: 4px;
  border: 2px solid #008bff;
}

.cleaner {
  clear: both;
}

.map.loading .loading-text {
  display: block;
}


.btn-rounded-group .btn-rounded {
  margin-right: 9px;
  margin-bottom: 1em;
}

@media (max-width: 47.99em) {
  .btn-rounded-group {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
  }
}

.btn-rounded-link {
  display: flex;
  text-decoration: none;
  align-items: center;
  background-color: #e7eff4;
  border-radius: 10px;
  color: #2f2f2f;
  font-weight: 700;
  letter-spacing: -0.4px;
  transition: .1s all linear;
  padding: 12px;
  height: 42px;
  font-size: 13px;
}

@media (min-width: 48em) {
  .btn-rounded-link {
    height: 53px;
    font-size: 17px;
    padding: 20px;
  }
}

.btn-rounded-link:hover {
  color: #008bff;
}

.btn--active .btn-rounded-link {
  color: #008bff;
  background: #fff;
  box-shadow: 0 0 4px rgba(144, 204, 255, 0.5);
  border: 2px solid #008bff;
}

.company-form textarea.form-control,
.company-form input.form-control,
.company-form select.form-select {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.company-form label {
  display: flex;
  gap: 0.5em;
}

.company-form br {
  display: none;
}

.user-form textarea.form-control,
.user-form input.form-control,
.user-form select.form-select {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.user-form label {
  display: flex;
  gap: 0.5em;
}

.user-form br {
  display: none;
}