/*----------- ROOM PAGE STYLES ----------------------*/
@import "form.css";
@import "hero-slider.css";

.hero-slider .owl-item .paragraph img {
  /*
  INCREASE OF THE HEIGHT OF THE ELEMENT INVERSE ANALOG TO THE WIDTH OF THE VIEW
  height: calc((450 / 1920) * (1920px + (1920px - 100vw)));
   */

  /*DECREASE OF THE HEIGHT OF THE ELEMENT ANALOG TO THE WIDTH OF THE VIEW BASED ON A FACTOR*/
  height: calc((700 / 1920) * (1920px + (100vw - 1920px)));
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-slider .owl-item .paragraph img {
    height: calc((1080 / 1920) * (1920px + (100vw - 1920px)));
  }
}

@media (max-width: 480px) {

  .hero-slider .owl-nav{
    display: block;
    zoom: 0.75;
    top: 100%;
    transform: translateY(-100%);
  }

  #edit-dates-container,
  #edit-guests-container{
    display: flex;
  }

  #edit-dates-container > div,
  #edit-guests-container > div {
    flex-basis: 0;
    flex-grow: 1;
  }

}

@media (max-width: 768px) {

  .hero-slider .owl-nav{
    display: block;
  }

}

@media (max-width: 480px) {

  .hero-slider .owl-nav{
    display: block;
    zoom: 0.75;
    top: 100%;
    transform: translateY(-100%);
  }

  #edit-dates-container,
  #edit-guests-container{
    display: flex;
  }

  #edit-dates-container > div,
  #edit-guests-container > div {
    flex-basis: 0;
    flex-grow: 1;
  }

}

@media (max-width: 425px) {

  .hero-slider .owl-nav{
    display: block;
    zoom: 0.75;
    top: 100%;
    transform: translateY(-100%);
  }

  #edit-dates-container{
    display: block;
  }

}

/*------ BASIC INFO -------------------------------------------*/
section.basic-information {
  /*padding-left: 400px;*/
  /*padding-right: 400px;*/
  display: flex;
}

section.basic-information .title-elements,
section.basic-information .body-text{
  width: 50%
}

section.basic-information .title-elements h1 {
  margin-top: 0.275rem;

}

@media (max-width: 768px) {
  section.basic-information {
    display: block;
  }

  section.basic-information .title-elements,
  section.basic-information .body-text{
    width: 100%
  }
}
/*------ BASIC INFO END -------------------------------------------*/

/*------ AMENITIES, PRICE AND BOOKING FORM ------------------------------------------------*/
section.additional-information {
  display: flex;
  background-color: #fff; /*#f1f1ee;*/
  gap: 50px;
}

section.additional-information .amenities {
  flex-grow: 0.85;
  flex-basis: 0;
  box-sizing: border-box;
}

section.additional-information .price-booking{
  flex-grow: 1;
  flex-basis: 0;
  display: flex;
  gap: 20px;
}

section.additional-information .booking-form {
  flex-grow: 1;
  flex-basis: 0;
  background-color: #a82044 /*#09779e #a4998f #6e1336 #06131a #a82044*/;
  padding: 2em;
  box-sizing: border-box;
  height: fit-content;
  border-radius: 10px;
}

@media (max-width: 768px) {
  section.additional-information {
    gap: 0;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  section.additional-information .price-booking {
    gap: 0;
    flex-wrap: wrap;
  }


  section.additional-information .amenities,
  section.additional-information .price-booking,
  section.additional-information .price,
  section.additional-information .booking-form{
    width: 100%;
  }

  section.additional-information .price .field{
    margin-top: 5px;
    margin-bottom: 20px;
  }

  section.additional-information .booking-form{
    margin-bottom: 50px;
  }

}

section.additional-information .booking-form .form-required:after {
  display: none;
  /*display: inline-block;*/
  width: 6px;
  height: 6px;
  margin: 0;
  content: "*";
  vertical-align: super;
  background-image: unset;
  background-repeat: unset;
  background-size: unset;
}

section.additional-information .booking-form h3 {
  color: #fff;
}

.booking-form legend .fieldset-legend {
  color: #fff;
}

.booking-form label {
  color: #fff;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea,
.password-field {
  background-color: #fff;
  border: solid 1px #fff;
}

input[type="submit"] {
  border: none;
  border-radius: 3px;
  background-color: #011925; /*#6e1336 #06131a #a82044*/;
  font-size: 1.25em;
  font-weight: 600;
  color: #fff;
  padding: 8px 12px;
  box-shadow: 2px 2px 7px 0 rgb(0 0 0 / 25%);
  transition: box-shadow 0.2s ease-out, background-color 0.2s ease-out;
  cursor: pointer;
  margin: 10px 0;
}

/*------ AMENITIES AND BOOKING FORM END --------------------------------------------*/

/*------ ROOMS SLIDER -------------------------------------------*/
section.rooms {
  background-color: #f1f1ee;
  padding-bottom: 100px;
}

section.rooms .rooms-block h2 {
  margin-top: 0;
}

.rooms .owl-carousel .owl-item img {
  height: auto;
}

.rooms .room-title {
  font-size: 1.5em;
  margin-top: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-left: 10px;
  margin-right: 10px;
}

.rooms .room-guests {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin: 5px 10px 15px 10px;
}

.rooms .room-body {
  line-height: 1.5rem;
  padding-bottom: 20px;
  overflow: hidden;
  white-space: break-spaces;
  text-overflow: ellipsis;
  border-bottom: 1px solid #ddd;
  height: 120px;
  margin-left: 10px;
  margin-right: 10px;
}

.rooms .views-field-view-node {
  position: relative;
  text-transform: uppercase;
  margin-left: 10px;
  margin-right: 10px;
}

.rooms .views-field-view-node a:after {
  font-family: "Material Icons";
  content: "\e5c8";
  font-size: 22px;
  position: absolute;
  padding-left: 15px;
}

.rooms .room-row h1,
.rooms .room-row h2,
.rooms .room-row h3,
.rooms .room-row h4,
.rooms .room-row h5,
.rooms .room-row h6 {
  color: #000;
}

.rooms .room-row a {
  font-weight: 500;
  color: #000;
  transition: color 0.2s ease-out;
}

.rooms .room-row {
  background-color: #fff;
  padding-bottom: 15px;
}

.rooms .room-row a:hover {
  color: #e80051;
}

.rooms .room-row .views-field-view-node {
  margin-top: 15px;
}

.rooms-slider .owl-nav {
  position: absolute;
  /*top: 22%;*/
  /*left: -50px;*/
  /*transform: translateY(-50%);*/
  /*width: calc(100% + 100px);*/
  top: -67px;
  right: 0;
  pointer-events: none;
}

.rooms-slider .owl-nav.disabled{
  display: block;
}

.rooms-slider.owl-carousel .owl-nav button.owl-prev {
  float: left;
  /*margin-left: 10px;*/
  width: 30px;
  height: 30px;
  pointer-events: all;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background-color 0.2s ease-out;
}

.rooms-slider.owl-carousel .owl-nav button.owl-next {
  float: right;
  /*margin-right: 10px;*/
  width: 30px;
  height: 30px;
  pointer-events: all;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background-color 0.2s ease-out;
}

.rooms-slider .owl-nav button.owl-prev .arrow-left {
  width: 18px;
  height: 18px;
  padding-left: 9px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='370.814px' height='370.814px' viewBox='0 0 370.814 370.814' style='enable-background:new 0 0 370.814 370.814;' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpolygon points='292.92,24.848 268.781,0 77.895,185.401 268.781,370.814 292.92,345.961 127.638,185.401 '/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
}

.rooms-slider .owl-nav button.owl-next .arrow-right {
  width: 18px;
  height: 18px;
  padding-right: 7px;
  transform: rotate(180deg);
  transform-origin: center;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='370.814px' height='370.814px' viewBox='0 0 370.814 370.814' style='enable-background:new 0 0 370.814 370.814;' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpolygon points='292.92,24.848 268.781,0 77.895,185.401 268.781,370.814 292.92,345.961 127.638,185.401 '/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: contain;
}

.rooms-slider .owl-nav button.owl-prev:hover,
.rooms-slider .owl-nav button.owl-next:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/*------ ROOMS SLIDER END -------------------------------------------*/

/*----------- WEBFORM STYLES ----------------------*/
.webform-computed-loading {
  background-color: unset;
}

.form-item-unterkunftsobjekt,
#webform-computed-preis_total-wrapper,
#webform-computed-anzahl_naechte-wrapper {
  color: #fff;
}

#edit-summary-container .webform-flex:first-child{
  flex-grow: 2;
}

