html {
  scroll-behavior: smooth;
}

body {
  background-color: rgb(0 79 65);
  font-family: 'Bentham';
  margin: 0;
  overflow-x: hidden;
  color: #cfe4e6;
  font-size: 18px;
}

:target {
  scroll-margin-top: 85px;
  /* height of your fixed header */
}

.nav-header {
  color: rgb(8, 20, 20);
  font-size: 30px;
  text-decoration: none;
}

body>.frame {
  padding: 0 calc(50vw - 480px);
}

.frame-type-html.frame-layout-1 {
  position: relative;
}

.frame-type-header,
.frame-type-text.frame-layout-1 {
  /* background-color: rgb(228 241 241); */
  background-color: #cfe4e6;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  color: rgb(8 20 20);
  /* max-width: 1200px; */
}

#c5 {
  padding: 0;
  height: 85px;
}

.nav-wrapper {

  justify-content: space-between;
}

.nav-wrapper nav {
  display: flex;
  justify-content: space-around;
  max-width: 600px;
  margin: -20px 0;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
  overflow-x: scroll;
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox, Safari 18.2+, Chromium 121+ */
}

.nav-wrapper nav::-webkit-scrollbar {
  display: none;
  /* Older Safari and Chromium */
}

.nav-wrapper img {
  margin-right: 20px;
}

.nav-wrapper {
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  padding: 24px calc(50vw - 480px);
  position: fixed;
  z-index: 100;
  /* position: absolute; */
  /* transform: translateY(-100%); */
  /* width: 100vw; */
  /* transition: bac 3s ease; */
  transition: background-color .3s ease;
  background-color: #cfe4e6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  width: -webkit-fill-available;
  width: -moz-available;
}

.frame.fixed-top .nav-wrapper {
  top: 0;
  transform: none;
}

@media (max-width: 600px) {
  .carousel .carousel-item>div {
    display: none;
  }

  .carousel .carousel-item>div:nth-child(-n+3) {
    display: block;
  }
}

@media (min-width: 601px) {
  .carousel .carousel-item>div {
    display: none;
  }

  .carousel .carousel-item>div:nth-child(-n+4) {
    display: block;
  }
}

.form-label[for="rsvp-2-number-1"],
.form-label[for="rsvp-2-number-2"],
.form-label[for="rsvp-2-number-3"],
.form-label[for="rsvp-2-number-4"],
.form-label[for="rsvp-2-number-5"],
#rsvp-2-number-4,
#rsvp-2-number-5,
#rsvp-2-number-1,
#rsvp-2-number-2,
#rsvp-2-number-3 {
  display: none;
}

.flex {
  display: flex;
  justify-content: flex-start;
}

.flex-between {
  justify-content: space-between;
}

.loc-flex {
  gap: 40px;
  margin-bottom: 60px;
  font-size: 18px;
}

/* .loc-reverse,
.loc-flex:nth-child(odd) { */
.loc-reverse {
  /* flex-direction: row-reverse; */
  justify-content: space-between;
  margin-top: 30px;
}

.loc-map {
  /* border-radius: 80px; */
  overflow: hidden;
  min-width: 300px;
  display: inline-block;
}

.loc-map iframe {
  border-radius: 40px;
}

.loc-flex span {
  font-size: 22px;
  font-weight: bold;
  padding-bottom: 16px;
  display: block;
}

.loc-flex span+span {
  font-size: 20px;
  font-weight: 400;
}

select {
  padding: 8px 12px;
  width: 400px;
}

textarea {
  padding: 8px 12px;
  width: 376px;
  max-width: calc(100vw - 94px);

}

textarea,
select {
  font-family: 'Bentham';
  font-size: 16px;
}

.plus,
.minus {
  background: #fff;
  border: 1px solid grey;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  margin: 0 6px;
}

.required {
  display: none;
}

h2 {
  border-bottom: 1px solid rgb(11 20 55);
  display: table;
  padding-bottom: 20px;
}

/* Space */
.frame-space-before-extra-small {
  padding-top: 1em !important;
  margin-top: 0 !important;
}

.frame-space-before-small {
  padding-top: 2em !important;
  margin-top: 0 !important;
}

.frame-space-before-medium {
  padding-top: 3em !important;
  margin-top: 0 !important;
}

.frame-space-before-large {
  padding-top: 4em !important;
  margin-top: 0 !important;
}

.frame-space-before-extra-large {
  padding-top: 5em !important;
  margin-top: 0 !important;
}

.frame-space-after-extra-small {
  padding-bottom: 1em !important;
  margin-bottom: 0 !important;
}

.frame-space-after-small {
  padding-bottom: 2em !important;
  margin-bottom: 0 !important;
}

.frame-space-after-medium {
  padding-bottom: 3em !important;
  margin-bottom: 0 !important;
}

.frame-space-after-large {
  padding-bottom: 4em !important;
  margin-bottom: 0 !important;
}

.frame-space-after-extra-large {
  padding-bottom: 5em !important;
  margin-bottom: 0 !important;
}

/** Formular */
label.form-check-label {
  display: inline-flex;
  gap: 12px;
}

textarea {
  padding: 12px;
  /* margin: 8px 0; */
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input {
  cursor: pointer;
}

input[type=checkbox] {
  appearance: none;
  background-color: #cfe4e6;
  border: 2px solid #ccc;
  border-radius: 4px;
  width: 20px;
  height: 20px;
  position: relative;
}

input[type=checkbox]:checked::before {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  background-color: black;
  top: 1px;
  left: 1px;
  border-radius: 3px;
}

.submit button {
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 8px 24px;
  margin: 0;
  background-color: #cfe4e6;
}

@media screen and (min-width: 1670px) {
  .nav-wrapper nav {
    /* padding-left: 475px; */
  }
}

@media screen and (max-width: 960px) {

  .nav-wrapper,
  body>.frame {
    padding-left: 40px;
    padding-right: 40px;
  }
}

#c6 {
  margin-top: -200px;
}

@media screen and (max-width: 650px) {
  #c8 .ce-intext.ce-right .ce-gallery {
    display: none;
  }

  #c2 {
    background-position: right -100px bottom !important;
  }

  #c6 {
    margin-top: 0;
  }

  .loc-reverse {

    display: block !important;
  }

  #c18 .ce-gallery,
  #c18 .ce-column,
  #c19 .ce-gallery,
  #c19 .ce-column {
    float: none;
    margin-left: 0 !important;
  }

  #c19 .ce-bodytext {
    transform: none !important;
  }

  #c18 .ce-bodytext p {
    text-align: unset !important;
  }

  #c19 {
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 600px) {
  .loc-flex {
    flex-direction: column-reverse !important;
  }

  .nav-wrapper {
    padding-right: 0 !important;
  }

  nav {
    padding-right: 40px;
  }
}

.left-row {
  width: 120px;
  display: inline-block;
  margin-bottom: 8px;
}

#essen {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.clearfix:not(.kommen),
#rsvp-2-multicheckbox-1:not(.kommen) {
  display: none;
  margin-top: -48px;
}

.ce-gallery {
  margin-top: 30px;
}

.ce-gallery img {
  border-radius: 30px;
}



/* Kontakt */
#c19 .ce-bodytext {
  transform: translate(50px, 160px);
}

#c19 {
  margin-top: -150px;
}

#c18 .ce-bodytext {
  transform: translateY(20px);
}


#c18 .ce-bodytext,
#c19 .ce-bodytext {
  font-size: 22px;
}

#c18 .ce-bodytext a,
#c19 .ce-bodytext a {
  color: #fff;
}

#c2 {
  min-height: 350px;
  background-image: url(/fileadmin/user-upload/ohnebg.png);
  background-repeat: no-repeat;
  background-size: 400px;
  background-position: right calc(50vw - 480px) bottom;
}

ul {
  max-width: 400px;
}

li {
  list-style: none;
  margin-left: 4px;
}

#c18 .ce-bodytext p {
  text-align: right;
}

/*** Gallery */
.pagination li {
  float: none;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: #323232;
  background: rgb(207, 228, 230);
  margin-right: 1.25em;
  text-indent: 0;
  margin-left: 0;
}

.pagination li a,
.pagination li.current {
  padding: 0.7rem;
}

.gallery-download {
  position: absolute;
  bottom: 12px;
  right: 17px;
  background: rgb(207, 228, 230);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
  width: 30px;
  height: 30px;
  border-radius: 5px;
  padding: 4px;
  display: flex;
}

.c-gallery__figure {
  position: relative;
}

.modal-dialog {
  top: 50%;
  transform: translateY(-50%) !important;
  margin: auto;
  max-width: max-content;
  width: auto;
}

.modal-body img {
  max-width: 80vw;
  max-height: 80vh;
}


label[for="tx-felogin-input-username"],
label[for="tx-felogin-input-password"] {
  width: 200px;
  font-size: 20px;
}

#c26 form fieldset>div {
  margin-bottom: 1rem;
}

#c32 button,
#c32 input,
#c26 input {
  border-width: 2px;
  background-color: transparent !important;
  border-color: rgb(207, 228, 230) !important;
  border-style: solid;
  border-radius: 5px;
  padding: 6px 24px;
  color: rgb(207, 228, 230) !important;
  font-size: 20px;
}

body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 100px 0;
}

.c-gallery__list-link {
    font-size: 20px;
    color: rgb(207, 228, 230);
    text-decoration: none;
}

.pagination a {
    color: rg;
}

.pagination {
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.pagination li {
    background: none;
    border: 2px solid rgb(207, 228, 230);
    /* color: rgb(207, 228, 230); */
}

.pagination li.current {backgroundrgb(207, 228, 230): rgb(207, 228, 230);backgroundrgb(207, 228, 230): rgb(207, 228, 230);background: rgb(207, 228, 230);}

.pagination li a {
    color: rgb(207, 228, 230);
    text-decoration: none;
}