@import url(reset.css);
@import url(normalize.css);
@import url(helpers.css);
@import url(tiny-slider.css);

/* Allgemeines */
*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid;
}

.checkout {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  overflow: auto;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  /* align-items: center; */
  justify-content: center;
  min-height: 100vh;
}

a.button.open-popup.openPopup {
  pointer-events: none;
  cursor: default;
  background-color: #b301007d;
}

p {
  line-height: 1.2;
}

h1,
h2 {
  font-family:"Amatic SC", sans-serif;
  text-transform: uppercase;
}

h3,
h4,
.h5 {
  font-family: 'Open Sans Condensed', sans-serif;
}

a {
  text-decoration: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -40px;
}

.row--sm {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.row--sm .column {
  padding: 0 20px;
}

.column {
  width: 100%;
  padding: 0 40px;
}

.column--main {
  width: 100%;
}

.column--sidebar {
  width: 100%;
}

@media (min-width: 1280px) {
  .column {
    width: 50%;
  }

  .column--full {
    width: 100%;
  }

  .column--main {
    width: 60%;
  }

  .column--sidebar {
    width: 40%;
    margin-left: auto;
  }
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}
.container, .content, .full_width {
  z-index: initial !important;
  position: relative !important;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    /* padding-right: 1.5rem;
    padding-left: 1.5rem; */
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}

.checkout.is-active {
  display: block;
}

.section-menu {
  position: relative;
  flex: 1 0 0%;
  /* background-color: #f5f5f5; */
  padding: 80px 0;
}

.section-menu__footer {
  margin-top: 40px;
  text-align: center;
}

.divider {
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
  height: 3px;
  background-color: black;
  width: 10%;
}

/* -------------------------------------- Foodlist -------------------------------------- */
.preisliste {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.preisliste.preisliste-header {
  display: none;
}

.preisliste > div:nth-child(1) {
  display: flex;
  order: 1;
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

.preisliste > div:nth-child(1) > :nth-child(2) {
  margin-left: auto;
}

.preisliste > div:nth-child(2) {
  order: 1;
  flex-grow: 1;
  margin-bottom: 0.5rem;
  font-size: 24px;
}

.preisliste > div:nth-child(3) {
  order: 3;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.preisliste > div:nth-child(4) {
  order: 4;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.preisliste > div > span {
  display: inline-block;
  margin-right: 0.5rem;
}

.preisliste > div > small {
  display: inline-block;
  font-size: 14px;
}

@media (min-width: 1024px) {
  .preisliste {
    flex-direction: row;
  }

  .preisliste.preisliste-header {
    display: flex;
  }

  .preisliste.preisliste-header > div {
    text-align: right;
  }

  .preisliste.preisliste-header > div > small {
    display: block;
  }

  .preisliste > div:nth-child(1) {
    flex-grow: 0;
  }

  .preisliste > div:nth-child(1) > :nth-child(1) {
    order: 2;
  }

  .preisliste > div:nth-child(1) > :nth-child(2) {
    display: flex;
    align-self: center;
    order: 1;
    margin: 0 0.5rem;
  }

  .preisliste > div:nth-child(1) > :nth-child(2) img {
    width: 30px;
    margin-top: 10px;
  }

  .preisliste > div:nth-child(2) {
    flex-grow: 0;
    width: 50%;
    margin: 0 1rem 0.5rem 1rem;
  }

  .preisliste > div:nth-child(3) {
    margin-left: auto;
    font-size: 24px;
    white-space: nowrap;
  }

  .preisliste > div:nth-child(4) {
    margin-left: 1rem;
    font-size: 24px;
    white-space: nowrap;
  }

  .preisliste > div > small:not(.show) {
    display: none;
  }
}


.foodlist__dish {
  display: flex;
}
.foodlist__item {
  flex: 1 1 0%;
}
.foodlist__price {
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 24px;
  margin-left: 1rem;
  width: auto;
  text-align: right;
}
.item-title {
  display: flex;
  align-items: flex-end;
  line-height: 1;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  margin: 0 !important;
}
.item-title::after {
  display: none;
  /* width: 100%; */
  flex: 1 1 0%;
  height: 1px;
  background-color: #888;
  content: "";
}
@media (min-width: 1024px) {
  .item-title::after {
    display: inline-block;
  }
}
.item-bottom {
  padding-bottom: 16px;
  opacity: 0.8;
}
.item-title span {
  width: auto;
}

/* counter */

.foodlist__count {
  margin-right: 20px;
  width: auto;
}

.down,
.up {
  background-color: #b30100;
  color: white;
  border: none;
  font-size: 32px;
}

.down {
  border-radius: 15% 0 0 15%;
}

.up {
  border-radius: 0 15% 15% 0;
}

input {
  border: none;
  background-color: transparent;
  font-size: 24px;
}
input[type="number"] {
  width: 24px;
  text-align: center;
  -moz-appearance: textfield !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.foodlist__count-form {
  display: flex;
  align-items: center;
}
/*  // counter  */

/* -------------------------------------- // Foodlist -------------------------------------- */

/* -------------------------------------- Button -------------------------------------- */

.button {
  display: inline-block;
  align-items: center;
  background-color: #b30100;
  padding: 12px 24px;
  color: white;
}

.button:hover {
  background-color: #910201;
  color: white;
}

/* -------------------------------------- // Button -------------------------------------- */

.nav {
  display: none;
  position: absolute;
  width: 100%;
  top: 50%;
}

@media (min-width: 1280px) {
  .nav {
    display: block;
  }
}
.nav__next,
.nav__back {
  color: #888;
  width: 80px;
  height: 80px;
}

.nav__back {
  position: absolute;
  left: 40px;
}

.nav__next {
  position: absolute;
  right: 40px;
}

/* -------------------------------------- checkout popup -------------------------------------- */

/* ------------ popup ------------ */

.popup {
  position: relative;
  /*  border: 2px solid #f5f5f5; */
  margin: 52px 0;
  background-color: white;
}

.popup__content {
  display: none;
  padding: 20px 24px;
}

.popup__content.is-active {
  display: block;
}

@media (min-width: 1024px) {
  .popup__content {
    padding: 40px 78px;
  }
}

.alignment {
  display: flex;
  position: relative;
  align-items: center;
  padding: 24px;
  background-color: #f5f5f5;
  color: #888;
}
.alignment.is-active {
  background-color: white;
  color: #2c2c2c;
}
.alignment__content {
  display: flex;
  align-items: center;
  font-size: 28px;
}

.alignment__content h3 {
  font-size: 28px;
  text-transform: none;
  font-weight: bold;
}

.checkout-step {
  font-size: 18px;
  display: inline-flex;
  border: #2c2c2c solid 1px;
  background-color: white;
  border-radius: 100%;
  width: 32px;
  height: 32px;
  margin-right: 20px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-popup {
  position: absolute;
  margin: 10px;
  color: white;
  left: 100%;
  bottom: 100%;
  z-index: 10;
}

.close-popup:hover {
  color: #b30100;
}

@media (min-width: 1024px) {
  .close-popup {
    left: 100%;
    bottom: 100%;
    top: auto;
    right: auto;
  }
}

/* ------------ overview ------------ */

label.h5 {
  font-size: 22px;
  font-weight: bold;
  text-transform: none;
}

.options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

hr {
  border-top: 1px solid #888;
}

.foodlist__total {
  margin: 20px 0;
  display: flex;
  font-size: 28px;
  align-items: center;
}
.foodlist__total h4{
  font-size: 24px;
  font-weight: bold;
}

.price-total {
  color: #b30100;
}

/* ------------ form ------------ */

.item__checkout {
  margin: 40px 0;
}

.foodlist--checkout {
  height: auto;
  padding-right: 20px;
}

@media (min-width: 1024px) {
  .foodlist--checkout {
    overflow-y: auto;
    max-height: 450px;
  }
}

input:focus,
textarea:focus {
  outline-color: #b30100;
}

.input-field {
  display: block;
  width: 100%;
  font-size: 18px;
  font-family: 'Open Sans Condensed', sans-serif;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 12px 24px;
  margin: 14px 0;
  font-weight: bold;
}

.input-field--textarea {
  width: 100%;
  height: 150px;
}

.select-togo,
.select-filiale {
  display: flex;
  font-size: 18px;
  font-family: 'Open Sans Condensed', sans-serif;
  color: #888;
}

.select-togo input[type="radio"] {
  display: none;
}
.select-togo label {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.select-togo label::before {
  display: inline-block;
  margin-right: 8px;
  border: #888 solid 1.5px;
  border-radius: 8px;
  width: 1.25em;
  height: 1.25em;
  content: "";
}

.select-togo input:checked + label {
  color: #2c2c2c;
}

.select-togo input:checked + label::before {
  background-color: #f5f5f5;
  border-color: transparent;
}

.select-togo input:checked + label::after {
  color: #b30100;
  position: absolute;
  top: -0.05em;
  left: 0.35em;
  width: 1em;
  height: 1em;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='100%25' height='100%25' viewBox='0 0 24 24' stroke-width='2'%3E%3Cg stroke-width='2' transform='translate(0, 0)'%3E%3Cpolyline points='2 14 8 20 22 2' fill='none' stroke='%23b30100' stroke-linecap='square' stroke-miterlimit='10' stroke-width='3' stroke-linejoin='miter'%3E%3C/polyline%3E%3C/g%3E%3C/svg%3E");
}

.select-filiale input[type="radio"] {
  display: none;
}
.select-filiale label {
  display: block;
  width: 50%;
  text-align: center;
  border: #888 solid 1.5px;
  border-radius: 8px;
  padding: 12px 36px;
  font-weight: bold;
}

.select-filiale input:checked + label {
  border: 2px solid #b30100;
  color: #2c2c2c;
}

.select-filiale input:hover + label {
  border: 2px solid #b30100;
  color: #2c2c2c;
}

.spacer {
  margin: 14px 0;
}

.spacer--md {
  margin: 32px 0;
}

.spacer--y {
  margin-top: 40px;
}

.spacer--col {
  margin-top: 40px;
}
@media (min-width: 1280px) {
  .spacer--col {
    margin-top: 0;
  }
}

.checkout-button {
  display: flex;
  justify-content: flex-end;
}

.spacer__item {
  margin: 0 20px;
}
.spacer__first-item {
  margin-left: -20px;
  margin-right: -20px;
}


/*  Responsive Anpassungen  */
@media screen and (max-width: 576px) {
    div.my-slider h4.item-title, div.my-slider div.foodlist__price {
      font-size: 18px;
	    font-weight: 300;
	}
	a#back_to_top, div.elementor-element-2f018c6, div.elementor-element-3d15e10 {
	  display: none;
	}

  div.foodlist__count {
    margin-right: 10px;
  }

  div.foodlist__price {
    margin-left: 10px;
  }

  /* .close-popup {
    position: inherit;
    left: 85%;
  } */

  .close-popup {
    color: black;
    left: 85%;
    bottom: 94%;
  }

}


/* -------------------------------------- // checkout popup -------------------------------------- */