/*twsellerwide2 color:vanilla edition v1.0*/

/* 
npm run twwatchtwsellerwide2 
*/

#avform *,
#avform::after,
#avform::before,
#free_rooms *,
#free_rooms::after,
#free_rooms::before {
  box-sizing: border-box;
  border-width: 0px;
  border-style: solid;
}

#avform,
#free_rooms,
#dialog {
  font-size: 16px;
  color: var(--color-800);
}

#avform,
#dialog {
  max-width: 56rem;
}

@media (min-width: 1024px) {
  #avform,
#dialog {
    margin-left: auto;
    margin-right: auto;
  }
}

#avform,
#free_rooms {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  padding-left: 0px;
  padding-right: 0px;
}

@media (min-width: 1024px) {
  #avform,
#free_rooms {
    margin-left: auto;
    margin-right: auto;
  }
}

#avform {
  margin-top: 1rem;
  height: auto;
  flex: 1 1 auto;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-300);
  background-color: var(--color-200);
  border-radius: var(--rounded);
  min-height: 13rem;
}

#avform h3 {
  margin: 0px;
  padding: 1rem;
  line-height: 1;
  color: var(--color-700);
}

#avform form {
  padding-bottom: 0.25rem;
}

@media (min-width: 640px) {
  #avform form {
    padding-left: 1rem;
  }
}

#avformerror {
  margin-top: 0.5rem;
  display: none;
  border-width: 1px;
  border-color: #fca5a5;
  background-color: #fee2e2;
  padding: 0.5rem;
  color: #dc2626;
}

#avform fieldset {
  margin-top: 0px;
  margin-bottom: 0px;
  width: 99%;
  border-radius: 0.25rem;
  border-color: var(--color-200);
  background-color: var(--color-200);
  padding-left: 0px;
  padding-right: 0px;
}

@media (min-width: 768px) {
  #avform fieldset {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  #avform fieldset {
    padding-left: 0px;
    padding-right: 0px;
  }
}

#avform {
  float: none;
}

#avform fieldset .control-group.tw-hidden, #card-errors.tw-hidden {
  display: none;
}

#avform fieldset .control-group.tw-block, #card-errors.tw-block {
  display: block;
}

#book #card-errors#avform fieldset .control-group.tw-block,
#book .alert-danger#avform fieldset .control-group.tw-block,#book #card-errors #card-errors.tw-block,
#book .alert-danger #card-errors.tw-block {
  display: block;
}

#avform fieldset .control-group {
  display: flex;
  height: 3.5em;
  align-items: center;
}

@media (min-width: 768px) {
  #avform fieldset .control-group {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    width: auto;
    background-clip: padding-box;
  }
}

#avform fieldset .flex-break {
  height: 0px;
  width: 100%;
}

@media (min-width: 768px) {
  #avform fieldset .control-group-children {
    height: 7rem;
    width: 9em;
  }
}

#avform fieldset .control-group-children .name {
  display: flex;
  width: 33.333333%;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  #avform fieldset .control-group-children .name {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
}

#avform fieldset .control-group-children .avformfield {
  float: left;
}

#avform fieldset .control-group-children .suffix {
  float: left;
  margin-left: 0.5rem;
  display: flex;
  justify-content: flex-start;
  text-align: left;
}

@media (min-width: 768px) {
  #avform fieldset .control-group-children .suffix {
    padding-top: 0px;
  }
}

#avform fieldset input {
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: var(--color-400);
  padding: 0.25rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.5;
  color: var(--color-700);
}

#avform fieldset input#avfnrrooms,
#avform fieldset input#avfpersons,
#avform fieldset input#avfchildren1,
#avform fieldset input#avfchildren2,
#avform fieldset input#avfchildren3,
#avform fieldset input#avfchildren4,
#avform fieldset input#avfchildren5 {
  width: 3.5rem;
  color: var(--color-700);
}

#avform fieldset input#avfdiscount_code {
  width: 8rem;
}

#avform fieldset .avformfield {
  float: none;
}

@media (min-width: 768px) {
  #avform fieldset .avformfield {
    float: left;
  }
}

#avform fieldset input.date {
  width: 6.5em;
  text-align: center;
}

#calroot {
  margin-left: -6rem;
}

#avform .bookbutton {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  display: block;
}

#book #card-errors#avform .bookbutton,
#book .alert-danger#avform .bookbutton {
  display: block;
}

#avform .bookbutton {
  margin-top: 0.5rem;
  box-sizing: content-box;
  width: 80%;
  cursor: pointer;
  border-radius: 0.25rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  #avform .bookbutton {
    margin-top: 1rem;
    width: 66.666667%;
  }
}

#avform .bookbutton {
  /* we should put this into the hotel template */
  border-width: 1px;
  border-color: var(--color-700);
  background-color: var(--color-600);
  color: var(--color-100);
}

#avform .bookbutton:hover {
  border-color: var(--color-800);
  background-color: var(--color-700);
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#avform .bookbutton:active {
  border-color: var(--color-800);
  background-color: var(--color-700);
}

#avform .name {
  float: left;
  margin-right: 0.5rem;
  display: flex;
  height: 2rem;
  width: 33.333333%;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  font-size: 1rem;
  line-height: 1rem;
  color: var(--color-600);
}

@media (min-width: 768px) {
  #avform .name {
    margin-left: 0px;
    margin-right: 0.5rem;
    width: auto;
  }
}

#avform #availability {
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  #avform #availability {
    padding-top: 2.5rem;
  }
}

.sellerspinner {
  background: url(/images/embed/ajax-loader.gif) no-repeat;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  display: block;
  height: 1.5rem;
  width: 220px;
  width: 100%;
}

#book #card-errors.sellerspinner,
#book .alert-danger.sellerspinner {
  display: block;
}

.finalizespinner {
  margin-bottom: 9rem;
  margin-top: 1rem;
  display: block;
  height: 1.5rem;
  width: 100%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  padding-left: 0.5rem;
}

#book #card-errors.finalizespinner,
#book .alert-danger.finalizespinner {
  display: block;
}

.productimage img {
  width: 100%;
}

@media (min-width: 768px) {
  .productimage img {
    width: 50%;
    border-radius: 0.25rem;
  }
}

.bookbutton {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  box-sizing: content-box;
  width: 90%;
  cursor: pointer;
  padding: 0.5rem;
}

.bookbutton:hover {
  border-color: var(--color-800);
  background-color: var(--color-700);
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.bookbutton:active {
  border-color: var(--color-800);
  background-color: var(--color-700);
}

#dialog {
  margin-top: 1rem;
}

#dialog .btnclose {
  float: right;
  border-width: 1px;
  border-color: var(--color-300);
  background-color: var(--color-200);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.875em;
  line-height: 1.75em;
  border-top-right-radius: var(--rounded);
}

#dialog .btnclose a {
  color: var(--color-700);
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
}

#dialog_header {
  border-width: 1px;
  border-color: var(--color-300);
  padding: 0.5rem;
  min-height: 5rem;
  border-radius: var(--rounded);
}

#dialog_header #prices_and_availability_header {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5rem;
}

@media (min-width: 768px) {
  #dialog_header #prices_and_availability_header {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

#dialog_header h3 {
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
  padding-left: 0px;
  padding-right: 0px;
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--color-900);
}

#dialog_header p {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding-left: 0px;
  padding-right: 0px;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  #dialog_header p {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

#dialog_header .date_text {
  padding-bottom: 0px;
}

#dialog_header .avstatus {
  margin-bottom: 0.75rem;
  display: block;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: #fca5a5;
  background-color: #fee2e2;
  padding: 0.5rem;
  color: #dc2626;
}

#book #card-errors#dialog_header .avstatus,
#book .alert-danger#dialog_header .avstatus {
  display: block;
}

#dialog_content {
  margin-top: 1rem;
  padding-bottom: 1rem;
}

#free_rooms .line {
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  border-top-width: 1px;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  #free_rooms .line {
    display: flex;
  }
}

#free_rooms .line {
  border-top-width: 1px;
  border-color: var(--color-500);
}

#free_rooms .line .product {
  display: flex;
  width: 100%;
  flex-direction: column;
}

@media (min-width: 768px) {
  #free_rooms .line .product {
    width: 50%;
  }
}

#free_rooms .line .product .productname {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25rem;
}

#free_rooms .line .product .productdescription {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding-bottom: 1rem;
  padding-right: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
}

#free_rooms .line .product .productdescription .rateplan {
  display: block;
  font-weight: 700;
}

#book #card-errors#free_rooms .line .product .productdescription .rateplan,
#book .alert-danger#free_rooms .line .product .productdescription .rateplan {
  display: block;
}

#free_rooms .line .product .productdescription .rateplan .rateplan-details {
  font-weight: 400;
  font-style: italic;
}

#free_rooms .line .product .productdescription .rateplan .rateplan-details ul {
  list-style-type: none;
  padding-left: 0px;
}

#free_rooms .line .productimage {
  border-radius: 0.25rem;
}

@media (min-width: 768px) {
  #free_rooms .line .productimage {
    width: 50%;
  }
}

#free_rooms .line .productimage img {
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  #free_rooms .line .productimage img {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}

#free_rooms .line .productimage img {
  border-radius: var(--rounded);
}

#free_rooms .line .dateandpriceinfo {
  width: 100%;
}

#free_rooms .line .dateandpriceinfo .daterange,
#free_rooms .line .dateandpriceinfo .priceinfo,
#free_rooms .line .dateandpriceinfo .sellmessage,
#free_rooms .line .dateandpriceinfo .chargetypes {
  padding: 0px;
  text-align: right;
  line-height: 1.5rem;
}

#free_rooms .line .dateandpriceinfo .chargetypes {
  padding-top: 0.5rem;
}

#free_rooms .line .totalandbookbutton {
  width: 100%;
}

#free_rooms .line .specialconditions {
  width: 100%;
  padding-bottom: 1rem;
  font-style: italic;
  color: var(--color-600);
}

/* Extra Productswithout pictures*/

#free_rooms .line .extra {
  margin-bottom: 1.5rem;
  display: block;
  width: 100%;
  flex-direction: row;
  overflow: auto;
}

#book #card-errors#free_rooms .line .extra,
#book .alert-danger#free_rooms .line .extra {
  display: block;
}

@media (min-width: 768px) {
  #free_rooms .line .extra {
    display: flex;
  }
}

#free_rooms .line .extra .product_extra {
  width: 100%;
}

@media (min-width: 768px) {
  #free_rooms .line .extra .product_extra {
    width: 50%;
  }
}

#free_rooms .line .extra .product_extra .productname {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

#free_rooms .line .extra .productimage_extra {
  height: 1rem;
  width: 0px;
}

#free_rooms .line .extra .personoffers {
  width: 100%;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  #free_rooms .line .extra .personoffers {
    width: 50%;
  }
}

#free_rooms .line .extra .personoffers .extras_price {
  float: left;
  width: 33.333333%;
}

#free_rooms .line .extra .personoffers .offerselect {
  float: left;
  display: inline-block;
  margin-bottom: 0.5rem;
  height: 2.5rem;
  width: 66.666667%;
  border-width: 1px;
  border-color: var(--color-400);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 2rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.5;
  color: var(--color-700);
}

#free_rooms .line .personoffers {
  width: 100%;
}

#free_rooms .line .personoffers .persons {
  padding-bottom: 0.5rem;
  font-weight: 700;
}

#free_rooms .line .personoffers .persons .offerselect {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: block;
  height: 2.5rem;
  width: 100%;
  border-width: 1px;
  border-color: var(--color-400);
  padding: 0.5rem;
  padding-right: 2.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  line-height: 1.625;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#book #card-errors#free_rooms .line .personoffers .persons .offerselect,
#book .alert-danger#free_rooms .line .personoffers .persons .offerselect {
  display: block;
}

@media (min-width: 768px) {
  #free_rooms .line .personoffers .persons .offerselect {
    width: 50%;
  }
}

#free_rooms .line .personoffers .persons .offerselect:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

#free_rooms .line .personofferheader {
  justify-content: space-between;
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (min-width: 768px) {
  #free_rooms .line .personofferheader {
    display: flex;
  }
}

#free_rooms .line .personofferheader .productname-persons {
  width: 100%;
  font-size: 1.5rem;
  line-height: 2rem;
}

@media (min-width: 768px) {
  #free_rooms .line .personofferheader .productname-persons {
    width: 80%;
    padding-right: 1rem;
  }
}

#free_rooms .line .personofferheader .daterange {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--color-500);
}

#free_rooms .line .personofferheader .maxbookable {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 0.5rem;
  text-align: right;
  font-size: 1rem;
  line-height: 1.5rem;
  font-style: italic;
  color: var(--color-500);
}

@media (min-width: 768px) {
  #free_rooms .line .personofferheader .maxbookable {
    width: 20%;
  }
}

#free_rooms .line .personofferheader .maxbookable {
  height:2.5em;
}

.number-input {
  display: flex;
  height: 3rem;
  width: 180px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 0.25rem;
  border-width: 1px;
  border-style: solid;
  border-color: #d1d5db;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  color: var(--color-500);
}

@media (min-width: 640px) {
  .number-input {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

.number-input button {
  height: 100%;
  width: 4rem;
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.number-input input {
  height: 100%;
  width: 3rem;
  border-style: none;
  background-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin: 0px !important;
  -moz-appearance: textfield;
}

.number-input input[type="number"]::-webkit-inner-spin-button,
.number-input input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*
.number-input input[type="number"] {
  @apply -moz-appearance: textfield;
}*/

.number-input .picker {
  box-sizing: content-box;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 2px !important;
  border-style: solid;
  border-color: var(--color-300);
  background-color: var(--color-100);
}

.number-input .picker:hover {
  background-color: var(--color-200);
}

.number-input .pickerminus,
.number-input .pickerplus {
  display: inline-block;
  font-size: 2.5em;
  margin-top: -0.135em;
}

.number-input .pickerminus {
  /* background-image: url("data:image/svg+xml;utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='4' stroke='currentColor' %3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 12h-15'/%3E%3C/svg%3E");
 */
}

.number-input .pickerplus {
  /*
  background-image: url("data:image/svg+xml;utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='4' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4.5v15m7.5-7.5h-15' /%3E %3C/svg%3E");
*/
}

.number-input button.button-plus:disabled .picker,
.number-input button.button-plus-lager:disabled .picker {
  border-width: 2px !important;
  border-style: solid;
  border-color: #fca5a5;
  /*bg-red-200;*/
}

.xmb-4 {
  margin-bottom: 1rem;
}

#free_rooms .line .total,
#free_rooms .line .total_with_extras_text {
  width: 50%;
}

#free_rooms .line .total,
#free_rooms .line .total_with_extras_amount {
  width: 50%;
  text-align: right;
}

#free_rooms .bookingsummary {
  line-height: 1.25;
}

#free_rooms .line .totalandbookbutton {
  padding-bottom: 1rem;
}

/*classic OBT offer display*/

#free_rooms .line .totalandbookbutton .total,
#free_rooms .line .totalandbookbutton .total_with_extras,
#free_rooms .line .totalandbookbutton .total_with_extras_amount {
  display: block;
  width: 100%;
  padding: 0.5rem;
  padding-right: 0px;
  padding-top: 0px;
  text-align: right;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

#book #card-errors#free_rooms .line .totalandbookbutton .total,
#book .alert-danger#free_rooms .line .totalandbookbutton .total,#book #card-errors
#free_rooms .line .totalandbookbutton .total_with_extras,
#book .alert-danger
#free_rooms .line .totalandbookbutton .total_with_extras,#book #card-errors
#free_rooms .line .totalandbookbutton .total_with_extras_amount,
#book .alert-danger
#free_rooms .line .totalandbookbutton .total_with_extras_amount {
  display: block;
}

#free_rooms .line .totalandbookbutton .total_with_extras {
  padding-top: 1rem;
}

#free_rooms .line .totalandbookbutton .total_with_extras_amount {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

#free_rooms .line .totalandbookbutton .bookbutton {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: 5%;
  box-sizing: content-box;
  width: 90%;
  border-radius: 0.25rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  border-width: 1px;
  border-color: var(--color-700);
  background-color: var(--color-600);
  color: var(--color-100);
}

#free_rooms .line .totalandbookbutton .bookbutton:hover {
  border-color: var(--color-800);
  background-color: var(--color-700);
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#free_rooms .line .totalandbookbutton .bookbutton:active {
  border-color: var(--color-800);
  background-color: var(--color-700);
}

#free_rooms .pcard {
  margin-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #fff;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#free_rooms .pcard-inner {
  padding: 1rem;
}

#free_rooms .pcard .pcard-inner .product {
  margin-bottom: 0.25rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 640px) {
  #free_rooms .pcard .pcard-inner .product {
    flex-direction: row;
  }
}

#free_rooms .pcard .pcard-inner .product .name {
  min-height: 24px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25rem;
}

#free_rooms .pcard .pcard-inner .product .special-conditions {
  display: flex;
  min-height: 24px;
  align-items: flex-end;
  font-size: 1rem;
  line-height: 1.25rem;
}

@media (min-width: 640px) {
  #free_rooms .pcard .pcard-inner .product .special-conditions {
    justify-content: flex-end;
    padding-left: 1rem;
  }
}

#free_rooms .pcard .pcard-inner .product .rateplan-description {
  display: flex;
  min-height: 24px;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.25rem;
  color: var(--color-600);
}

@media (min-width: 640px) {
  #free_rooms .pcard .pcard-inner .product .rateplan-description {
    padding-left: 1rem;
  }
}

#free_rooms .pcard .pcard-inner .rateplan-detailed-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  color: var(--color-600);
}

#free_rooms .pcard .pcard-inner .rateplan-detailed-description p {
  margin-block-start: 0.125em;
  margin-block-end: 0.5em;
}

#free_rooms .pcard .pcard-inner .productline {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  #free_rooms .pcard .pcard-inner .productline {
    height: 2.5rem;
    flex-direction: row;
  }
}

#free_rooms .pcard .pcard-inner .productline .quantity-and-persons {
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

#free_rooms .pcard .pcard-inner .productline .priceperday {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-600);
}

@media (min-width: 640px) {
  #free_rooms .pcard .pcard-inner .productline .priceperday {
    padding-left: 0px;
  }
}

#free_rooms .pcard .pcard-inner .productline .price {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  #free_rooms .pcard .pcard-inner .productline .price {
    padding-left: 0px;
  }
}

#offersummary {
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  height: auto;
  width: 100%;
  border-width: 1px;
  border-style: dashed;
  border-color: var(--color-500);
}

#offersummary .yourbooking {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 640px) {
  #offersummary .yourbooking {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

#offersummary .yourbooking .extras-items {
  margin-top: 0.25rem;
  list-style-type: none;
  padding: 0px;
}

#offersummary .yourbooking .extras-items li {
  margin-bottom: 0.5rem;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

#offersummary .yourbooking .extras-items li::before {
  padding-right: 0px !important;
  content: "" !important;
}

#offersummary .yourbooking .extras-items .offeritem-quantity {
  display: inline-block;
  width: 25%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  vertical-align: top;
}

#offersummary .yourbooking .extras-items .offeritem-productname {
  display: inline-block;
  width: 50%;
  text-align: left;
  vertical-align: top;
}

#offersummary
  .yourbooking
  .extras-items
  .offeritem-productname
  .rateplan-description {
  display: block;
  font-style: italic;
  color: var(--color-600);
}

#book #card-errors#offersummary
  .yourbooking
  .extras-items
  .offeritem-productname
  .rateplan-description,
#book .alert-danger#offersummary
  .yourbooking
  .extras-items
  .offeritem-productname
  .rateplan-description {
  display: block;
}

#offersummary .yourbooking .extras-items .offeritem-price {
  display: inline-block;
  width: 25%;
  padding-right: 0.5rem;
  text-align: right;
  vertical-align: top;
}

#offersummary .yourbooking .product {
  float: left;
  display: inline-block;
  width: 0px;
}

@media (min-width: 1024px) {
  #offersummary .yourbooking .product {
    width: 33.333333%;
  }
}

#offersummary .yourbooking .product {
  min-height: 8rem;
}

#offersummary .yourbooking .buttonarea {
  float: left;
  display: inline-block;
  width: 40%;
  padding-right: 1rem;
}

@media (min-width: 1024px) {
  #offersummary .yourbooking .buttonarea {
    min-height: 100%;
    width: 33.333333%;
  }
}

#offersummary .yourbooking .buttonarea .bookbutton {
  margin-top: 5.2rem;
  box-sizing: content-box;
  display: block;
  width: 90%;
  border-radius: 0.25rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.5;
}

#book #card-errors#offersummary .yourbooking .buttonarea .bookbutton,
#book .alert-danger#offersummary .yourbooking .buttonarea .bookbutton {
  display: block;
}

#offersummary .yourbooking .buttonarea .bookbutton {
  /* we should put this into the hotel template */
  border-width: 1px;
  border-color: var(--color-700);
  background-color: var(--color-600);
  color: var(--color-100);
}

#offersummary .yourbooking .bookingsummary {
  float: left;
  display: inline-block;
  min-height: 100%;
  width: 60%;
  padding-right: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  #offersummary .yourbooking .bookingsummary {
    width: 33.333333%;
  }
}

#offersummary .yourbooking .bookingsummary {
  /*min-height:8rem;*/
}

#offersummary .yourbooking .bookingsummary .total,
#offersummary .yourbooking .bookingsummary .total_with_extras,
#offersummary .yourbooking .bookingsummary .nrrooms,
#offersummary .yourbooking .bookingsummary .persons {
  float: right;
  font-weight: 700;
}

#book {
  margin-top: 1rem;
}

#book .wrapper {
  margin-bottom: 1rem;
}

#book h3 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

#book .control-group {
  display: inline-block;
  width: 100%;
}

#book .name2,
#book .name,
#book .name3 {
  margin-bottom: 0.25rem;
  display: block;
  width: 100%;
}

#book #card-errors#book .name2,
#book .alert-danger#book .name2,#book #card-errors
#book .name,
#book .alert-danger
#book .name,#book #card-errors
#book .name3,
#book .alert-danger
#book .name3 {
  display: block;
}

@media (min-width: 1024px) {
  #book .name2,
#book .name,
#book .name3 {
    float: left;
    width: 25%;
  }
}

#book input[type="text"],
#book textarea {
  margin: 0px;
  margin-bottom: 1rem;
  width: 100%;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: var(--color-400);
  padding: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-700);
}

@media (min-width: 1024px) {
  #book input[type="text"],
#book textarea {
    width: 75%;
  }
}

#book textarea {
  height: 6rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-700);
}

#book input[type="checkbox"],
#book input[type="radio"] {
  margin-left: 0.5rem;
  display: inline-block;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: var(--color-400);
  transform: scale(1.5);
}

/*mealplan*/

#book select,
#boardoptions select {
  margin-bottom: 1rem;
  display: block;
  height: 2.5rem;
  width: 90%;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: var(--color-400);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-700);
}

#book #card-errors#book select,
#book .alert-danger#book select,#book #card-errors
#boardoptions select,
#book .alert-danger
#boardoptions select {
  display: block;
}

@media (min-width: 768px) {
  #book select,
#boardoptions select {
    width: 33.333333%;
  }
}

#boardoptions .headline {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

#boardoptions .explain {
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-style: italic;
}

#checkin_policy,
#creditcard_policy,
#cancellation_policy {
  margin-bottom: 1rem;
}

#book .ccfield-group .card-number {
  margin-right: 1rem;
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  #book .ccfield-group .card-number {
    width: 24rem;
  }
}

#book .ccfield-group .card-type {
  display: inline-block;
  width: 66.666667%;
}

@media (min-width: 768px) {
  #book .ccfield-group .card-type {
    width: 12rem;
  }
}

#book .ccfield-group .card-month {
  margin-right: 1rem;
  display: inline-block;
  width: 66.666667%;
}

@media (min-width: 768px) {
  #book .ccfield-group .card-month {
    width: 9rem;
  }
}

#book .ccfield-group .card-year {
  display: inline-block;
  width: 66.666667%;
}

@media (min-width: 768px) {
  #book .ccfield-group .card-year {
    width: 10rem;
  }
}

#book .ccfield-group .card-holdername {
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  #book .ccfield-group .card-holdername {
    width: 24rem;
  }
}

#book #holdername {
  margin-bottom: 0.25rem;
}

#book .finalbutton {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

#book #card-errors#book .finalbutton,
#book .alert-danger#book .finalbutton {
  display: block;
}

#book .finalbutton {
  margin-bottom: 6rem;
  margin-top: 3rem;
  box-sizing: content-box;
  width: 90%;
  cursor: pointer;
  border-radius: 0.25rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.5;
  /* we should put this into the hotel template */
  border-width: 1px;
  border-color: var(--color-700);
  background-color: var(--color-600);
  color: var(--color-100);
}

#book .finalbutton:hover {
  border-color: var(--color-800);
  background-color: var(--color-700);
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#book .finalbutton:active {
  border-color: var(--color-800);
  background-color: var(--color-700);
}

/* manadatory fields and error messages on booking page*/

#book .mandatory {
  font-weight: 700;
}

#book .control-group-card {
  margin-bottom: 0.75rem;
}

/*Stripe card-element*/

#book #card-element {
  margin-bottom: 0.75rem;
  margin-left: 0px;
  display: block;
  width: 100%;
}

#book #card-errors#book #card-element,
#book .alert-danger#book #card-element {
  display: block;
}

@media (min-width: 1024px) {
  #book #card-element {
    margin-left: 25%;
    display: block;
    width: 75%;
  }
}

#book #card-element input {
  width: 100%;
  border-width: 1px;
  border-color: var(--color-400);
  background-color: #fff;
  padding: 0.75rem;
  color: var(--color-700);
}

@media (min-width: 1024px) {
  #book #card-element input {
    width: 75%;
  }
}

input::-moz-placeholder, .input::-moz-placeholder {
  color: var(--color-600);
}

input::placeholder,
.input::placeholder {
  color: var(--color-600);
}

#book .comments {
  margin-top: 1rem;
}

#book .comments label {
  font-size: 1.5rem;
  line-height: 2rem;
}

#book #hotel_dataprotection_policy_url,
#book #hotel_agb_url {
  display: block;
  width: 100%;
  padding-left: 1rem;
}

#book #card-errors#book #hotel_dataprotection_policy_url,
#book .alert-danger#book #hotel_dataprotection_policy_url,#book #card-errors
#book #hotel_agb_url,
#book .alert-danger
#book #hotel_agb_url {
  display: block;
}

@media (min-width: 768px) {
  #book #hotel_dataprotection_policy_url,
#book #hotel_agb_url {
    display: inline-block;
    width: 66.666667%;
  }
}

#book .confirmpolicy {
  margin-bottom: 0.75rem;
}

#book .fieldwarning {
  border-width: 1px;
  border-color: #fca5a5;
  background-color: #fecaca;
  color: #b91c1c;
}

#bookform_errors {
  margin-top: 1rem;
  display: none;
  border-width: 1px;
  border-color: #fca5a5;
  background-color: #fee2e2;
  padding: 0.75rem;
  line-height: 1.625;
  color: #b91c1c;
}

#bookform_errors p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #b91c1c;
}

#book #card-errors,
#book .alert-danger {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  border-width: 1px;
  border-color: #fca5a5;
  background-color: #fee2e2;
  padding: 0.75rem;
  line-height: 1.625;
  color: #b91c1c;
}

@media (min-width: 1024px) {
  #book #card-errors {
    margin-left: 25%;
    width: 75%;
  }
}

#book #card-errors.block,
#book .alert-danger.block {
  display: block;
}

#payment-methods {
  margin-bottom: 1.25rem;
  border-bottom-width: 2px;
  border-color: var(--color-200);
}

#payment-methods li {
  display: none;
}

#payment-methods li.visible {
  margin-right: 1.25rem;
  display: inline-block;
  list-style-type: none;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-400);
  background-color: var(--color-100);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.25rem;
  padding-top: 0.5rem;
  color: var(--color-700);
  border-radius: var(--rounded);
}

#payment-methods li svg {
  margin-right: 0.5rem;
  display: inline-block;
  height: 1.25rem;
  width: 1.25rem;
}

#payment-methods input[type="radio"] {
  display: none;
}

#payment-methods label {
  cursor: pointer;
  vertical-align: top;
  line-height: 1.25rem;
}

#payment-methods input + label {
  position: relative;
  display: inline-block;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
}

#payment-methods label::before {
  position: absolute;
  left: 0px;
  width: 100%;
  border-bottom-width: 2px;
  border-color: var(--color-700);
  opacity: 0;
  --tw-scale-x: 0;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  content: "";
  bottom: -2px;
  /* transform: scaleX(0);
      transition: all 0.25s ease-in-out; */
}

#payment-methods label:hover {
  cursor: pointer;
  color: var(--color-700);
}

#payment-methods input:checked + label {
  color: var(--color-700);
}

#payment-methods label:hover::before,
#payment-methods input:checked + label::before {
  --tw-scale-x: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  opacity: 1;
}

.payment-info.redirect {
  display: none;
}

#book .voucherstatus-fail {
  margin-bottom: 0.25rem;
  border-radius: 0.25rem;
  border-width: 1px;
  border-style: solid;
  border-color: #dc2626;
  background-color: #fee2e2;
  padding: 0.25rem;
  color: #7f1d1d;
}

#book .voucherstatus-success {
  margin-bottom: 0.25rem;
  border-radius: 0.25rem;
  border-width: 1px;
  border-style: solid;
  border-color: #16a34a;
  background-color: #dcfce7;
  padding: 0.25rem;
  color: #14532d;
}

#book .alert-success {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-width: 1px;
  border-color: #86efac;
  background-color: #dcfce7;
  padding: 0.75rem;
  line-height: 1.625;
  color: #15803d;
}

#book h3 {
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0.25rem;
  padding-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
}

#book p {
  padding-left: 0px;
  padding-right: 0px;
}

#displayfinal .person-name {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--color-800);
}

#displayfinal #reservation_number {
  border-width: 1px;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

#displayfinal .productname {
  margin-bottom: 0.5rem;
  display: inline-block;
  border-bottom-width: 1px;
  border-color: var(--color-500);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

#displayfinal .productimage {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#displayfinal .cancellation_policy {
  margin-top: 1rem;
  max-width: 42rem;
}

#displayfinal .cancellation_policy h4 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

#displayfinal .thanks {
  margin-top: 2rem;
}

#displayfinal .dateandpriceinfo.daterange {
  margin-top: 1rem;
}

#displayfinal .dateandpriceinfo .daterange {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#displayfinal .total_with_extras_amount {
  border-bottom-width: 4px;
  border-color: var(--color-500);
  font-size: 1.25rem;
  line-height: 1.75rem;
}

h3#alternative_availability_header {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.altavail {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  margin-top: 1.5rem;
  display: block;
  height: auto;
  width: 100%;
}

#book #card-errors.altavail,
#book .alert-danger.altavail {
  display: block;
}

.altavail .explain {
  display: block;
  display: flex;
  width: 100%;
}

#book #card-errors.altavail .explain,
#book .alert-danger.altavail .explain {
  display: block;
}

.altavail .explain li {
  height: 100%;
  min-height: 100%;
  width: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  text-align: center;
  vertical-align: middle;
}

.altavail .imgdesc {
  margin-bottom: 0.75rem;
  min-height: 100%;
  width: 100%;
}

@media (min-width: 640px) {
  .altavail .imgdesc {
    display: flex;
  }
}

.altavail .imgdesc .productimage {
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 640px) {
  .altavail .imgdesc .productimage {
    margin-bottom: 0px;
    margin-top: 0px;
    width: 33.333333%;
  }
}

.altavail .imgdesc .productimage img {
  width: 90%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--rounded);
}

.altavail .imgdesc .altproductdescription {
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.25rem;
}

@media (min-width: 640px) {
  .altavail .imgdesc .altproductdescription {
    width: 66.666667%;
    padding-left: 1rem;
  }
}

.altavail .imgdesc .altproductdescription .productname {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.altavail ul {
  display: block;
  width: 100%;
  list-style-type: none;
  padding: 0px;
  padding-bottom: 1.5rem;
}

#book #card-errors.altavail ul,
#book .alert-danger.altavail ul {
  display: block;
}

.altavail ul li {
  float: left;
  margin-bottom: 0.25rem;
  margin-right: 0.25rem;
  display: inline-block;
  border-radius: 0.25rem;
  border-width: 1px;
  border-bottom-width: 4px;
  border-color: #d1d5db;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  text-align: center;
  vertical-align: baseline;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #9ca3af;
}

.altavail ul li.ared {
  background-color: #f87171;
  color: #fee2e2;
}

.altavail ul li.aorange {
  background-color: #bbf7d0;
  color: #15803d;
}

.altavail ul li.agreen {
  background-color: #22c55e;
  color: #dcfce7;
}

.altavail ul li.weekend {
  border-width: 1px;
  border-style: solid;
  border-color: #b45309;
}

.altavail ul li.requested {
  border-bottom-width: 4px !important;
  border-style: solid !important;
  border-color: #3b82f6 !important;
}

ul.rooms {
  display: block;
  width: 100%;
  list-style-type: none;
  border-width: 1px;
  border-style: solid;
  border-color: #e5e7eb;
  padding: 1rem;
}

#book #card-errorsul.rooms,
#book ul.alert-danger.rooms {
  display: block;
}

li.room {
  display: block;
  width: 100%;
  background-color: #f3f4f6;
}

#book #card-errorsli.room,
#book li.alert-danger.room {
  display: block;
}

@media (min-width: 640px) {
  li.room {
    display: flex;
  }
}

li.room .meta {
  display: inline-block;
  width: 100%;
}

@media (min-width: 640px) {
  li.room .meta {
    width: 50%;
  }
}

li.room .name {
  display: block;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

#book #card-errorsli.room .name,
#book li.alert-danger.room .name {
  display: block;
}

li.room .description {
  display: block;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

#book #card-errorsli.room .description,
#book li.alert-danger.room .description {
  display: block;
}

.availability {
  width: 100%;
  padding-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .availability {
    width: 50%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.availability ul {
  margin: 0px;
  display: grid;
  width: 16rem;
  list-style-type: none;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .availability ul {
    padding-top: 1.5rem;
  }
}

.availability ul li {
  display: inline-block;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.5rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  text-align: center;
  vertical-align: middle;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.availability ul li.o {
  border-width: 1px;
  border-style: solid;
  border-color: #22c55e;
  background-color: #4ade80;
  color: #166534;
}

.availability ul li.f {
  border-width: 1px;
  border-style: solid;
  border-color: #ef4444;
  background-color: #f87171;
  color: #991b1b;
}

.availability ul li.mo {
  grid-column-end: 1;
}

.availability ul li.di {
  grid-column-end: 2;
}

.availability ul li.mi {
  grid-column-end: 3;
}

.availability ul li.do {
  grid-column-end: 4;
}

.availability ul li.fr {
  grid-column-end: 5;
}

.availability ul li.sa {
  grid-column-end: 6;
}

.availability ul li.su {
  grid-column-end: 7;
}

.availability button {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.gallery {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .gallery {
    max-width: 36rem;
  }
}

@media (min-width: 1024px) {
  .gallery {
    max-width: 48rem;
  }
}

@media (min-width: 1280px) {
  .gallery {
    max-width: 56rem;
  }
}

.gallery h2 {
  margin: 0px;
  background-color: var(--color-900);
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: center;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  line-height: 2;
  letter-spacing: 0.025em;
  color: #fff;
}

.gallery .image {
  height: 20rem;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 768px) {
  .gallery .image {
    height: 24rem;
  }
}

@media (min-width: 1024px) {
  .gallery .image {
    height: 28rem;
  }
}

@media (min-width: 1280px) {
  .gallery .image {
    height: 32rem;
  }
}

.gallery .gallerybutton {
  position: absolute;
  top: 0px;
  bottom: 0px;
  margin-top: 8rem;
  box-sizing: content-box;
  display: flex;
  height: 8rem;
  cursor: pointer;
  align-items: center;
  background-color: #d1d5db;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
  opacity: 0.4;
}

.gallery .gallerybutton:hover {
  background-color: #6b7280;
  color: #111827;
}

@media (min-width: 768px) {
  .gallery .gallerybutton {
    margin-top: 10rem;
  }
}

@media (min-width: 1024px) {
  .gallery .gallerybutton {
    margin-top: 12rem;
  }
}

.gallery .gallerybutton-right {
  right: 0px;
}

.gallery .gallerybutton-left {
  left: 0px;
}

.gallery .captionblock {
  height: 2.25rem;
  background-color: var(--color-900);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.5rem;
  padding-top: 0.25rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 2rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.gallery #caption {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

#book #card-errors.gallery #caption,
#book .alert-danger.gallery #caption {
  display: block;
}

.gallery .images-small {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.gallery .images-small img {
  height: 4rem;
  cursor: pointer;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.5;
}

.gallery .images-small img:hover {
  opacity: 1;
}

@media (min-width: 640px) {
  .gallery .images-small img {
    height: 5rem;
  }
}

@media (min-width: 768px) {
  .gallery .images-small img {
    height: 6rem;
  }
}

@media (min-width: 1024px) {
  .gallery .images-small img {
    height: 8rem;
  }
}
