/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/pico-5794b3e1.css");

:root {
  --sans-font: "Source Sans Pro", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --standard-border-radius: 4px;

  --bg: #fff;
  --accent-bg: #f1eeed;
  --text: #404040;
  --text-light: #585858;
  --border: #898EA4;
  --accent: #e95816;
  --accent-hover: #bE430B;
  --accent-text: var(--bg);
  --disabled: #efefef;
}

@font-face {
  font-family: "Source Sans 3";
  font-weight: regular;
  src: url("/assets/sourcesans3-regular-webfont-19118604.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-weight: bold;
  src: url("/assets/sourcesans3-bold-webfont-35411bdb.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-weight: regular;
  src: url("/assets/SourceSerif4-Regular-subset-ee69c5de.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-weight: bold;
  src: url("/assets/SourceSerif4-Bold-subset-d8a829b4.woff2") format("woff2");
}

@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  animation-name: fadeOut;
}

.slideInRight {
  animation-name: slideInRight;
}

.toast-container {
  position: fixed;
  top: 0;
  right: 0;
}

.toast {
    border-left: 4px solid transparent;
    margin: 1rem;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    display: flex;
    align-items: center;
    padding: 12px;
    max-width: 400px;
}

.toast.notice {
    background-color: #CFE4EE;
    border-left-color: #31708F;
}

.toast.error, .toast.alert {
    background-color: #FBD2C5;
    border-left-color: #8E2A0C;
}

.toast-body {
  flex-grow: 1;
}

.toast button {
  margin: 0;
}

.toast .close {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  border: none;
  background-image: var(--wbh-icon-close);
  background-position: center;
  background-size: auto 1rem;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0.5;
  transition: opacity var(--wbh-transition);
}
.toast .close:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
  opacity: 1;
}

.container {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  max-width: 800px;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}

.col {
  flex: 1 0 0%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-5 {
  flex: 0 0 auto;
  width: 41.66666667%
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-7 {
  flex: 0 0 auto;
  width: 58.33333333%;
}

.col-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}

.col-11 {
  flex: 0 0 auto;
  width: 91.66666667;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.header-wrapper {
  background-color: #f1eeed;
  margin-bottom: 1rem;
}

.header-wrapper h1 {
  margin:0;
}

.button {
  font-family: var(--sans-font)
}

.button-sm {
  padding: calc(var(--wbh-nav-link-spacing-vertical) - var(--wbh-border-width) * 2) var(--wbh-nav-link-spacing-horizontal);
}

.mb-3 {
  margin-bottom: 1rem;
}

.form-label {
  display: inline-block;
  margin-bottom: .5rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-clip: padding-box;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-check {
  display: block;
  min-height: 1.5rem;
  margin-bottom: var(--wbh-spacing);
}

#search-form .form-control-sm.search-field {
    padding: 4px 6px 4px 36px;
    background-position: center left 12px;
    font-size: 13px;
    margin:0;
    height: auto;
}

#search-form {
  margin: 0 0 8px 0;
}

/*.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}*/

.form-select-sm {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: .5rem;
  font-size: 13px;
}

#search-form .form-select {
  display: inline-block;
  width: auto;
  margin: 0;
}

.hf-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.hf-warning {
  font-size: 14px;
}

.tag {
  color: #fff;
  border-radius: .125rem;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  font-family: var(--wbh-font-family-sans-serif);
  vertical-align: middle;
}

.tag.reserved {
  background-color: blue;
}

.tag.booked {
  background-color: #e95816;
}

.tag.canceled {
  background-color: red;
}

.tag.internal {
  background-color: #294E66;
}

#bookings {
  width: 100%;
}

.table-header .item {
  font-size: 14px;
  font-weight: 400;
  color: #294E66;
}

#bookings th, #bookings td {
  padding: 2px 8px;
}

#bookings tr.prep {
  opacity: .5;
}

.item.pending {
  color: red;
}

.item.fully_paid {
  text-wrap: nowrap;
}

.item.fully_paid span {
  display: inline-block;
  transform: translateX(10px) rotate(45deg);
  height: 14px;
  width: 8px;
  border-bottom: 3px solid #78b13f;
  border-right: 3px solid #78b13f;
  margin: 0 12px 0 0;
}

.item.name {
  width: 100%;
}

.canceled {
  .departure, .arrival, .nights, .guests, .name {
    text-decoration: line-through;
  }
}

.item.price {
  text-wrap: nowrap;
}

.item.details {
  text-align: right;
  text-decoration: none;
}

.item.details a {
  font-size: 14px;
}

#inquiries {

  margin: 0 0 32px 0;

  .name {
    width: auto;
  }

  .table-body .name {
    color: red;
  }

  .possible .name {
    color: green;
  }

}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height .35s ease;
}

.collapse:not(.show) {
  display: none;
}

.headline {
  display: flex;
  align-items: center;
}

.headline h2, .headline h3 {
  flex-grow: 1;
}

.paginator-container {
  display: flex;
  position: relative;
  padding: 16px 0;

  .nav {
    width: 100%;
  }
}

.paginator-container .today {
  position: absolute;
}

.paginator-container .pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  align-content: space-around;
}

.paginator-container .page-item {
  margin: 0 4px;
  width: 30px;
  text-align: center;
}

.paginator-container ul, .paginator-container li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/*.paginator-container .pagy span:not(:has(> a)) {
  padding: 0 4px;
}*/

.paginator-container .prev, 
.paginator-container .next{
  flex-grow: 1;
  margin: 0 0 0 72px;
  text-align: left;
}

.paginator-container .next {
  text-align: right;
  margin: 0;
}

.paginator-container .active .page-link, .paginator-container .disabled .page-link {
  color: #000;
}

.inquiryCalendar {
  margin: 0 0 32px 0;
}

#calendar {
  grid-column: 1 / -1;
}

.calendarWidget {
  background-color: #f1eeed;
  display: flex;
  border-radius: 4px;
}

@media only screen and (max-width: 600px) {
  .calendarWidget {
    flex-direction: column;
  }
}

.calendarWidget .calendar {
  padding: 16px 32px;
  flex-grow: 1;
}

.calendarWidget .header {
  background: transparent;
  margin: 0 0 1rem 0;
}

.calendarWidget .headline {
  display: flex;
  position: relative;
}

.calendarWidget h2 {
  color: #e95816;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--sans-font);
}

.calendarWidget .btn.arrow {
  position: absolute;
  right: 0;
  top: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  width: 28px;
  height: 28px;
  border: solid #000 2px;
  border-radius: 50%;
  display: inline-block;
  opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.99984 6L8.58984 7.41L13.1698 12L8.58984 16.59L9.99984 18L15.9998 12L9.99984 6Z' fill='black'/%3E%3C/svg%3E");
}

.calendarWidget .btn.prev {
  transform: rotate(180deg);
  right: auto;
}

.calendarWidget .btn.arrow:hover {
  opacity: 1;
}

.calendarWidget h2 {
  font-size: 20px;
  width: 100%;
  margin: 0;
  line-height: 28px;
}

.calendarWidget h4 {
  font-weight: 400;
  font-size: 16px;
  font-family: var(--sans-font);
  text-align: center;
  color: #666;
}

.calendarWidget table {
  border-collapse: collapse;
  width: 100%;
}

.calendarWidget thead {
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--sans-font);
  color: #294E66;
}

.calendarWidget tr, .calendarWidget tr:nth-child(2n) {
  background-color: transparent;
}

.calendarWidget td, .calendarWidget th {
  border: none;
  width: 64px;
  height: 64px;
  text-align: center;
  color: #666;
  background: #f1eeed;
}

.calendarWidget td.booked {
  background-color: #ffbfbf;
}

.calendarWidget td.changeover {
  background-color: #ffbfbf;
}

.calendarWidget td.arrival {
  background: linear-gradient(to right bottom, #f1eeed 50%, #ffbfbf 50%);
}

.calendarWidget td.departure {
  background: linear-gradient(to right bottom, #ffbfbf 50%, #f1eeed 50%);
}

.calendarWidget td.other_month {
  background: none transparent;
}

.calendarWidget td.today {
  outline: 2px solid #e95816;
}

.calendarWidget td.today.other_month {
  outline: none;
}

.pika-single {
  border-radius: 4px;
  border: 1px solid #888;
  font-family: inherit;
}

.pika-table {
  margin: 0;
}

.pika-table th {
  color: #333;
}

.pika-table th, .pika-table td {
  border: 0;
}

.pika-button {
  text-align: center;
  background: #fff;
  border: 0;
  padding: 5px;
  color: #373c44;
  margin: 0;
}

.pika-button:hover {
  background: $primary;
}

.is-inrange .pika-button {
  background: #6cb31d;
  color: #fff;
  border-radius: 0;
  font-weight: 400;
}

.is-startrange .pika-button {
  border-radius: 4px 0 0 4px;
  background: #6cb31d;
  font-weight: 400;
}

.is-endrange .pika-button {
  background: #6cb31d;
  border-radius: 0 4px 4px 0;
  font-weight: 400;
}

.is-startrange .pika-button:hover,
.is-endrange .pika-button:hover,
.is-inrange .pika-button:hover {
  background: #568f17;
  color: #fff;
}

.is-inrange .pika-button:hover {
  border-radius: 0;
}

.is-today .pika-button {
  outline: 1px solid #e95816;
  font-weight: bold;
}

.stats {
  margin-bottom: 2rem;

  .values {
    display: flex;
    gap: 16px;
    margin: 0 0 1rem 0;
    &:last-child {
      margin: 0;
    }
  }

  .booking-heatmap + .values {
    margin-top: 16px;
  }
}

.stats hgroup p {
  --wbh-color: var(--wbh-muted-color);
  --wbh-font-weight: unset;
  font-size: 1rem;
}

.stat.card {
  border-radius: 4px;
  background-color: #f1eeed;
  padding: 16px;

  .value {
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
  }

  .label {
    text-transform: uppercase;
    font-family: var(--sans-font);
    font-size: 12px;
    letter-spacing: .1em;
    text-align: center;
  }
}

.booking-heatmap {
  border-collapse: collapse;

  .label, thead td {
    text-transform: uppercase;
    font-family: var(--sans-font);
    font-size: 12px;
    letter-spacing: .1em;
  }

  .label {
    padding: 0 6px 0 0;
    text-align: right;
  }

  tr {
    border-bottom: 2px solid #fff;

    &.overall {
      border-bottom-width: 8px;
    }

    &:nth-child(2n) {
      background: transparent;
    }
  }

  td {
    padding: 0;
    border:0;
  }

  td.day {
    width: 2px;
    background: #E95816;
  }

  td.booked {
    background: #E95816;
  }

  td.free {
    background: #fff;
  }

  .count {
    padding: 0 0 0 6px;
    text-align: left;
  }
}

.bubble-chart {
  .none {
    color: black;
    fill: none;
  }

  .google {
    color: #4285F4;
    fill: #4285F4;
  }

  .instagram {
    color: rgb(239, 98, 85);
    fill: rgb(239, 98, 85);
  }

  .friends {
    color: #34A853;
    fill: #34A853;
  }

  .fj {
    color: #de0a18;
    fill: #de0a18;
  }

  .fs {
    color: #a12429;
    fill: #a12429;
  }

  .flyer {
    color: #F4A300;
    fill: #F4A300;
  }

  .repeating {
    color: #6A0DAD;
    fill: #6A0DAD;
  }

  .other {
    color: #aaa;
    fill: #aaa;
  }
}

:where(.fc a:not([role="button"])), .fc [role="link"] {
  background-color: transparent;
  text-decoration: none;
}

.fc-col-header {
  margin-bottom: 0;
}

.fc table {
  margin-bottom: 0;
}

.fc ::before, .fc ::after {
  vertical-align: top;
}

a.fc-col-header-cell-cushion {
  font-size: 14px;
  font-weight: 400;
  color: #294E66;
}

.fc-event {
  --wbh-background-color: var(--wbh-primary-background);
  --wbh-border-color: var(--wbh-primary-border);
  --wbh-color: var(--wbh-primary-inverse);
  --wbh-box-shadow: var(--wbh-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
  padding: 0 4px;
  border: var(--wbh-border-width) solid var(--wbh-border-color);
  border-radius: var(--wbh-border-radius);
  outline: none;
  background-color: var(--wbh-background-color);
  box-shadow: var(--wbh-box-shadow);
  color: var(--wbh-color);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--wbh-transition), border-color var(--wbh-transition), color var(--wbh-transition), box-shadow var(--wbh-transition);
}

.fc-event:hover {
  --wbh-background-color: var(--wbh-primary-hover-background);
  --wbh-border-color: var(--wbh-primary-hover-border);
  --wbh-box-shadow: var(--wbh-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
  --wbh-color: var(--wbh-primary-inverse);
}

.fc-daygrid-day-number {
  pointer-events: none;
  user-select: none;
  color: #aaa;
}

.fc-event.prep {
  opacity: .5;
}

.fc-event.canceled {
  --wbh-background-color: red;
  --wbh-border-color: red;
  --wbh-color: var(--wbh-primary-inverse);
  --wbh-box-shadow: var(--wbh-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
}

.fc-event.reserved {
  --wbh-background-color: blue;
  --wbh-border-color: blue;
  --wbh-color: var(--wbh-primary-inverse);
  --wbh-box-shadow: var(--wbh-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
}

.fc-event.canceled .fc-event-title {
  text-decoration: line-through;
}

.fc-event-title {
  text-overflow: ellipsis;
}

.marker {
  display: block;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  background: #D34E12;
  width: 8px;
  height: 8px;
  opacity: .85;
  z-index: 1;
}

.marker:hover {
  border: 1px solid #fff;
  opacity: 1;
  z-index: 2;
}

.marker.wolfsberg {
  background-color: #294E66;
}

.mapboxgl-ctrl [type="button"] {
  margin-bottom: 0;
}
