/**
 * @file
 * File: web/themes/custom/awtur/css/personal/node/zaal-full.css
 */

.room-location-return {
  width: min(calc(100% - 2rem), 74rem);
  margin: clamp(1rem, 0.7rem + 1.2vw, 1.75rem) auto;
}

.room-location-return__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.75rem, 0.58rem + 0.65vw, 1.15rem);
  align-items: center;
  min-height: 4.25rem;
  padding: clamp(0.75rem, 0.6rem + 0.55vw, 1rem) clamp(1rem, 0.72rem + 1.05vw, 1.65rem);
  border: 1px solid rgba(36, 108, 101, 0.24);
  border-left: 0.3rem solid #a66f00;
  border-radius: 1rem;
  background: linear-gradient(120deg, #fff8e8, #fff 55%, #e9f4f1);
  color: #17272f;
  text-decoration: none;
  box-shadow: 0 0.35rem 1.25rem rgba(23, 39, 47, 0.09);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.room-location-return__link:hover {
  border-color: rgba(36, 108, 101, 0.48);
  color: #17272f;
  box-shadow: 0 0.65rem 1.6rem rgba(23, 39, 47, 0.13);
  transform: translateY(-0.1rem);
}

.room-location-return__link:focus-visible {
  outline: 0.1875rem solid rgba(20, 107, 99, 0.4);
  outline-offset: 0.1875rem;
}

.room-location-return__arrow {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: #246c65;
  color: #fff;
  font-size: 1.25rem;
}

.room-location-return__identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.room-location-return__eyebrow {
  color: #5d6c72;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-location-return__identity strong {
  overflow: hidden;
  font-family: "Raleway", sans-serif;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-location-return__action {
  color: #246c65;
  font-size: 0.875rem;
  font-weight: 700;
}

@media (max-width: 35rem) {
  .room-location-return {
    width: min(calc(100% - 1.5rem), 74rem);
  }

  .room-location-return__link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .room-location-return__action {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-location-return__link {
    transition: none;
  }
}

.node-zaal-full {
  padding-top: 30px;
}

.node-zaal-full h3 {
  font-weight: 600;
  margin-bottom: 1em;
}

.node-zaal-full .field-prijs-eenheid {
  border: 1px solid lightsteelblue;
  padding: 16px;
  margin: 16px;
}

.node-zaal-full .field-prijs-eenheid img {
  max-width: 100px;
}

/*-----HEADER-----*/
.zaal-full-label h1 {
  font-weight: bold;
  font-size: clamp(1.5rem, 1.3421rem + 1.0526vw, 2rem);
  margin: 0;
}

.zaal-full-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.zaal-full-label img {
  width: auto;
}

.zaal-full-statistics {
  padding: 30px 0;
}

/* ------ block with user ------ */
header.zaal-full article.profile {
  float: left;
  margin: -5px 1em 0 0;
  width: 100px;
  height: 100px;
  background-image: url(../../../images/default-user.svg);
  background-size: cover;
  border: 5px #FF9800 solid;
  border-radius: 50%;
  box-shadow: 0 0 10px #c12e00;
}

article.profile>.field--type-image {
  margin: 0;
}

header.zaal-full .node__meta .field--name-user-picture img {
  margin-right: 15px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 100%;
}

@media screen and (min-width: 560px) {
  article.node--view-mode-full header {
    float: right;
    margin: 20px;
  }
}

article.node--view-mode-full header div.form-type-item {
  margin-top: 105px;
  width: max-content;
}

header.zaal-full .node__meta span {
  display: block;
}

header.zaal-full .field--name-uid {
  font-weight: bold;
  margin: 0;
  font-size: 1.8em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

header.zaal-full .node__meta span:not(.field) {
  margin-left: 50px;
  margin-top: 0px;
  padding: 6px;
  min-width: 200px;
  background: #ebf1f1;
  border-radius: 10px;
}

header .node__meta span>span.field--name-uid>span {
  /*for unregistered*/
  margin: 0;
  padding: 0px;
}

/* ------ bookmarks ------ */
.flag-bookmark a {
  font-size: 0.9em;
  letter-spacing: 1px;
  color: #777;
  border-radius: 15px;
  border: 1px #0B96DA solid;
  transition: 0.2s;
  box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
  padding: 4px 15px;
  margin-left: 8px;
}

.flag-bookmark a:hover {
  background-color: #0B96DA;
  color: white;
}

.zaal-full-statistics ul li {
  margin-right: 8px;
}

/* ------ Views counter ------ */
.node__links li.statistics-counter {
  display: inline-block;
  padding: 2px 16px 1px;
  background: #eee;
  border-radius: 10px;
  margin-bottom: 64px;
}

/* ------ Properties ------ */

.union-properties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: clamp(0.75rem, 0.55rem + 0.8vw, 1.25rem);
  margin: 1.875rem 0;
}

.union-properties>div {
  min-width: 0;
  padding: 0.7rem 0.8rem;
  text-align: center;
  border-radius: 0.75rem;
  background: #fff;
}

.property-label {
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.union-property {
  margin: 0;
  padding-bottom: 0.375rem;
  color: #17272f;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.union-property span {
  color: #52646c;
  font-size: 0.75rem;
}

.union-properties>div:nth-child(1),
.union-properties>div:nth-child(2) {
  border: 1px solid #378CB0;
  box-shadow: 0 0 4px #378CB0;
}

.union-properties>div:nth-child(3) {
  border: 1px solid #E9C514;
  box-shadow: 0 0 4px #E9C514;
}

.union-properties>div:nth-child(4),
.union-properties>div:nth-child(5) {
  border: 1px solid #54B20D;
  box-shadow: 0 0 4px #54B20D;
}

.union-properties>div:nth-child(1) .property-label,
.union-properties>div:nth-child(2) .property-label {
  color: #236d8a;
}

.union-properties>div:nth-child(3) .property-label {
  color: #765f00;
}

.union-properties>div:nth-child(4) .property-label,
.union-properties>div:nth-child(5) .property-label {
  color: #2f6f18;
}

/*-----Zaal Comfort, Media and Theme-----*/
.zaal-tabcomfort {
  animation: roomFeatureFadeIn 0.25s ease-out;
  text-align: center;
}

.zaal-tabcomfort[hidden] {
  display: none;
}

@keyframes roomFeatureFadeIn {
  from {
    opacity: 0;
    transform: translateY(0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zaal-comfort-linken {
  padding: 1rem 0;
}

.tab-zaal-comfort-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.25rem, -0.275rem + 2.8vw, 2rem);
  margin-top: clamp(3rem, 0.025rem + 1.2vw, 1rem);
  position: relative;
  border-bottom: 1px solid #ccc;
}

.zaal-tabcomfort .field__items {
  display: flex;
  gap: clamp(1rem, 0.7rem + 1.6vw, 2rem);
  flex-wrap: wrap;
  padding: 32px clamp(0.5rem, 0.05rem + 2.4vw, 2rem);
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

.zaal-tabcomfort .field__item {
  border-radius: 20px;
  padding: 4px 16px;
  color: white;
}

.zaal-tabcomfort .field__item:nth-child(3n+1) {
  color: #378CB0;
}

.zaal-tabcomfort .field__item:nth-child(3n+2) {
  color: #765f00;
}

.zaal-tabcomfort .field__item:nth-child(3n+3) {
  color: #2f6f18;
}

.zaalcomfortlinks {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  min-width: 6rem;
  padding: clamp(0.5rem, 0.35rem + 0.6vw, 0.8rem);
  border: 1px solid transparent;
  border-radius: 0.75rem 0.75rem 0 0;
  background: transparent;
  color: #52646c;
  font: inherit;
  cursor: pointer;
  filter: opacity(0.72);
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.zaalcomfortlinks:hover,
.zaalcomfortlinks.is-active {
  border-color: rgba(36, 108, 101, 0.18);
  background: #e9f4f1;
  color: #1d5b55;
  filter: opacity(1);
}

.zaalcomfortlinks.is-active {
  box-shadow: inset 0 -0.2rem 0 #a66f00;
}

.zaalcomfortlinks:focus-visible {
  outline: 0.1875rem solid rgba(36, 108, 101, 0.35);
  outline-offset: 0.125rem;
}

.zaalcomfortlinks img {
  max-width: 70px;
  max-height: 50px;
}

/*-----Feest, vergader, concert en commercieel Occasions-----*/
.node-zaal-occasions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 32px;
  margin: 64px 0;
}

.zaal-occasions {
  border-radius: 8px;
  padding: 8px 16px;
  background-color: #FAFAFA;
}

.zaal-occasions h2 {
  width: fit-content;
  margin: -0.5rem 0 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0 0 8px 8px;
  color: #17272f;
  font-size: 1rem;
}

#node-feest-occasion {
  border: 1px solid #84B2F9;
}

#node-vergader-occasion {
  border: 1px solid #DBA4D5;
}

#node-concert-occasion {
  border: 1px solid #91C965;
}

#node-commerce-occasion {
  border: 1px solid #FF5F5F;
}

#node-vergader-occasion h2 {
  background-color: #f3e3f1;
}

#node-feest-occasion h2 {
  background-color: #e6effd;
}

#node-commerce-occasion h2 {
  background-color: #fbedeb;
}

#node-concert-occasion h2 {
  background-color: #eaf5e2;
}

.node-zaal-occasions .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.node-zaal-occasions .field__item:not(:first-child)::before {
  content: '\2022';
  color: #943f33;
  padding: 2px 2px 0 0;

}

/*-----Body & Floorplan-----*/
.node-zaal-body-plan {
  display: grid;
  grid-template-columns: 20% auto;
  gap: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  justify-content: start;
}

.zaal-plan--description-only .node-zaal-body-plan {
  grid-template-columns: minmax(0, 1fr);
}

@media(max-width: 767px) {

  .node-zaal-occasions,
  .node-zaal-body-plan {
    grid-template-columns: auto;
  }
}

.eventrooms-profile-description .field__item > :first-child {
  margin-top: 0;
}

.eventrooms-profile-description .field__item > :last-child {
  margin-bottom: 0;
}

.eventrooms-profile-description p,
.eventrooms-profile-description ul,
.eventrooms-profile-description ol {
  margin-block: 0 1rem;
}

.eventrooms-profile-description h3,
.eventrooms-profile-description h4 {
  margin-block: 1.25rem 0.5rem;
}

.eventrooms-profile-description li + li {
  margin-top: 0.35rem;
}

.zaal-plan img {
  border-radius: 8px;
}

/* ------ union-links  ------ */
.union-links .node__links {
  padding-top: 10px;
}

/* ------ links for: unregistered users (Log in or register) ------ */
.node__links li.reservation-forbidden a {
  padding: 2px 16px 1px;
  background: #000;
  border-radius: 10px;
  color: #fff;
}

/* ------ links for: registered users (Add new reservation) ------ */
.node__links li.reservation-add {
  margin-right: 3px;
  padding: 4px 6px;
  background: #569211;
  border-radius: 10px;
}

.node__links li.reservation-add a {
  font-weight: bold;
  color: #fff;
  box-sizing: border-box;
}

/* ------ body text ------ */
.text-formatted.field--type-text-with-summary {
  margin-top: 30px;
  margin-bottom: 40px;
  padding: 0 5%;
  text-indent: 30px;
  text-align: justify;
}

/* ------ union-photo ------ */

div.field--name-field-foto .field__label {
  color: #aaa;
  font-size: 26px;
}

div.field--name-field-foto .field__items {
  padding-top: 20px;
  text-align: center;
  background: #f5f5f5;
  border: 1px #aaa solid;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

div.field--name-field-foto .field__items:after {
  content: "";
  display: table;
  clear: both;
}

/* ------ comment ------ */
.node__content section h2 {
  margin-bottom: 20px;
  margin-left: 30px;
  font-weight: bold;
  color: #75582d;
  border-bottom: 1px #ddd solid;
}

article.js-reservation {
  margin: 3%;
  padding: 16px;
  background: #fbfbfb;
  border: 6px #eee solid;
  border-top: 2px #ddd solid;
  border-bottom: 2px #ddd solid;
  border-radius: 9px;
}

article.js-reservation mark {
  padding: 2px 6px;
  font-size: 12px;
  background: #f9df50;
  border: 1px #ccc solid;
  border-radius: 6px;
}

article.js-reservation footer {
  text-align: right;
}

article.js-reservation footer p {
  margin: 0;
  font-size: 12px;
  color: #777;
}

article.js-reservation footer p span {
  font-weight: bold;
}

article.js-reservation footer p a {
  color: #777;
  font-weight: bold;
}

article.js-reservation footer>a {
  display: block;
  float: right;
  border: none;
  width: 20px;
  height: 20px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-image: url(../../../images/icons/chain.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.2s;
}

article.js-reservation footer>a:hover {
  background-image: url(../../../images/icons/chain-hover.svg);
}

article.js-reservation>div {
  border-top: 1px #ddd solid;
}

article.js-reservation .field--name-reservation-body {
  margin: 16px 3%;
  padding: 10px;
  background: #fff;
  border: 1px #ddd solid;
  border-radius: 10px;
}

article.js-reservation ul {
  margin: 0 -11px;
  float: right;
  font-size: 11px;
}

article.js-reservation ul a {
  padding: 3px 16px 1px;
  background: #000;
  border-radius: 9px;
  color: #fff;
}

article.js-reservation>div>div:not(.field--name-reservation-body) {
  display: inline-block;
  padding: 10px;
}

article.js-reservation .field__label {
  font-size: 12px;
  color: #bbb;
  border-bottom: 1px #ddd solid;
}

article.js-reservation .field__item .datetime {
  font-family: Arial, sans-serif;
  font-size: 12px;
}

/* ------ form ------ */
#reservation-form div.field--name-field-enkel-zaal,
#reservation-form div.field--name-field-bezetting {
  max-width: 300px;
}

/*form availability-calendar*/
#reservation-form div.availability-calendar {
  padding: 20px;
  border: 1px solid #ccc;
}

.availability-calendar-header {
  background: var(--form-color);
  padding: 24px;
  text-align: center;
  box-shadow: 0 0 11px rgba(189, 129, 0, 0.5);
  border: 1px solid var(--border-color);
}

div.availability-calendar-header>span {
  color: #b88a2c;
}

div.availability-calendar #custom_calendar {
  margin-top: 20px;
}


#edit-navigation-calendar>div {
  margin-right: 20px;
  max-width: 180px;
}

#edit-navigation-calendar>div:first-child {
  margin-bottom: 0;
}

#edit-navigation-calendar>div:not(:first-child) {
  float: left;
}

#edit-navigation-calendar>div label {
  margin-left: 0px;
  margin-bottom: 6px;
  color: #000;
}

#edit-navigation-calendar>input[type="submit"] {
  display: block;
  clear: both;
  margin: unset;
}

#preview-calculation:hover,
#preview-calculation:focus,
#preview-calculation:active {
  color: #fff;
}

/*-------Room layouts--------*/
.zaal-comfort-room-layouts {
  margin: 1.875rem 0 3.75rem;
}

.zaal-comfort-room-layouts .zaal-comfort-room {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(0.75rem, 0.55rem + 0.8vw, 1.25rem);
  align-items: center;
}

.zaal-comfort-room-layouts .zaal-comfort-room > .field--name-field-room-layouts {
  min-width: 0;
}

.zaal-comfort-room-layouts .room-layout-link {
  display: block;
  height: 100%;
  color: #17272f;
  text-decoration: none;
}

.zaal-comfort-room-layouts .room-layout-link:hover .room-layout-item {
  border-color: #246c65;
  background: #f4faf8;
  box-shadow: 0 0.4rem 1rem rgba(23, 39, 47, 0.1);
}

.zaal-comfort-room-layouts .room-layout-link:focus-visible {
  border-radius: 0.65rem;
  outline: 0.1875rem solid rgba(36, 108, 101, 0.4);
  outline-offset: 0.1875rem;
}

.zaal-comfort-room-layouts .room-layout-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  align-items: center;
  min-width: 10rem;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #378CB0;
  padding: 10px;
  height: 100%;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.zaal-comfort-room-layouts .room-layout-icon img {
  max-width: 50px;
  height: auto;
  padding: 6px;
  border-radius: 50%;
  background: #dbe8f6;
}

.zaal-comfort-room-layouts .room-layout-label,
.zaal-comfort-room-layouts .room-layout-capacity {
  font-size: 14px;
  font-weight: 600;
}

.zaal-comfort-room-layouts .room-layout-capacity {
  grid-column: 2;
  color: #52646c;
}

.zaal-comfort-room-layouts .room-layout-usage {
  grid-column: 1 / -1;
  color: #52646c;
  font-size: 0.8125rem;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .zaal-tabcomfort {
    animation: none;
  }

  .zaalcomfortlinks {
    transition: none;
  }

  .zaal-comfort-room-layouts .room-layout-item {
    transition: none;
  }
}
