body,
html {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  font-family: "Lora", serif;
}

#headGedenkportal {
  position: relative;
}

#headGedenkportal img {
  width: 100%;
  height: auto;
}

#headGedenkportal #search {
  position: absolute;
  color: #fff;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
  font-family: inherit;
  z-index: 10001;
}

#headGedenkportal #search input {
  padding: 3px 10px;
  padding: 10px 10px;
  border-radius: 5px;
}

#headGedenkportal #search h2 {
  font-size: 2rem;
  margin: 0px;
  padding: 0px;
}

#headGedenkportal #search h1 {
  font-size: 3rem;
  margin: 0px;
  padding: 0px;
  font-style: italic;
}

#headGedenkportal #search .t_button {
  background-color: #e95d43;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
}

#headGedenkportal #search .t_button a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 0.1rem;
}

#headGedenkportal #search #searchinput {
  display: flex;
  margin-top: 20px;
}

#content {
  margin: 0 auto;
  max-width: 1280px;
  top: -145px;
  width: 100%;
  position: relative;
}

.card_text {
  position: relative;
}

.c_button {
  background-color: #e95d43;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  position: absolute;
  right: 10px;
  bottom: 2px;
}

.c_button a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 1.5rem;
}

#cardholder {
  display: flex;
  flex-wrap: wrap;
}

#cardholder .card {
  display: flex;
  flex: 1 1 40%;
  margin: 1%;
  background-color: #fff;
  padding: 30px 20px;
  box-shadow: 5px 5px 14px 5px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  min-height: 240px;
}

#cardholder .card .card_image,
#cardholder .card .card_text {
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  width: 70%;
}

#cardholder .card .card_image {
  width: 30%;
}

#cardholder .card img {
  max-width: 200px;
  height: auto;
  max-height: 150px;
  width: 100%;
}

#cardholder .card .c_name,
#cardholder .card .c_date {
  font-weight: bold;
  color: #003957;
  font-size: 1.2rem;
  line-height: 1.2rem;
}

#cardholder .card .c_date {
  font-weight: normal;
  color: #003957;
  font-size: 1rem;
  line-height: 4rem;
  line-height: 1.5rem;
}

.c_button {
  padding: 5px 38px;
}

#uNav {
  padding: 20px 5px;
  max-width: 1280px;
  margin: 0 auto;
}

#uNav a {
  text-decoration: none;
  color: #000;
  padding-left: 15px;
}

#pagination {
  margin: 0 auto;
  display: inline-block;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
}

.pagination li {
  align-items: center;
  list-style: none;
}

.pagination li.outer .material-icons {
  font-size: 22px;
  line-height: 32px;
}

.pagination li.inner .material-icons {
  font-size: 32px;
}

.pagination li span {
  color: #003957;
}

.pagination .pageNoC {
  background-color: #003957;
  color: #fff;
  padding: 5px 38px;
  font-size: 12px;
  border-radius: 5px;
  line-height: 1.2rem;
}

#detail_head {
  display: flex;
  margin-bottom: 30px;
}

#detail_head .card_image {
  width: 30%;
  box-sizing: border-box;
}

#detail_head .card_image img {
  max-width: 400px;
  height: auto;
}

#detail_head .card_text {
  width: 70%;
  box-sizing: border-box;
}

#detail_head .card_text .c_button {
  right: auto;
  left: 8%;
  padding: 5px 38px;
}

.detail_seite {
  background-color: #f8b2a2;
}

.detail_seite #content {
  top: 0px;
  padding-top: 20px;
}

.detail_seite #content .card_text {
  padding-top: 20px;
  padding-left: 5%;
  box-sizing: border-box;
}

.detail_seite #content .card_text .c_name,
.detail_seite #content .card_text .c_date {
  font-weight: bold;
  color: #003957;
  font-size: 1.2rem;
  line-height: 1rem;
}

.detail_seite #content .card_text .c_date {
  font-weight: normal;
  color: #003957;
  font-size: 1rem;
  line-height: 2rem;
  line-height: 1.5rem;
}

.detail_seite #content .card_text .c_date.topP {
  padding-top: 4rem;
}

.detail_seite #content .card_text .c_kondolenz {
  padding-top: 40px;
}

.detail_seite #content .card_text .c_kondolenz p {
  margin: 3px;
}

.detail_seite #content #cardholder .card_image {
  min-width: 190px;
}

.detail_seite #content #cardholder .card_image img {
  max-width: 150px;
  height: auto;
  max-height: 300px;
  width: 100%;
}

.center {
  text-align: center;
  width: 100%;
}

.detail_seite_neu {
  background-color: #fff;
}

.detail_seite_neu #content {
  top: 0px;
  padding-top: 20px;
}

.detail_seite_neu #formholder {
  display: flex;
  flex-direction: column;
}

.detail_seite_neu #formholder .row {
  display: flex;
  width: 100%;
  padding-bottom: 30px;
}

.detail_seite_neu #formholder .row input,
.detail_seite_neu #formholder .row textarea {
  padding: 10px 20px;
  border: 0;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
}

.detail_seite_neu #formholder .row #kondolenz {
  height: 100%;
}

.detail_seite_neu #formholder .row .card {
  flex: 1 1 45%;
  margin: 10px;
  justify-content: space-between;
  box-shadow: 5px 5px 14px 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  box-sizing: border-box;
}

.detail_seite_neu #formholder .row .card.kerzen_auswahl {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.detail_seite_neu #formholder .row .card.kerzen_auswahl .items {
  display: flex;
  justify-content: space-around;
}

.detail_seite_neu #formholder .row .card.kerzen_auswahl .items .kerzen_item {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}

.detail_seite_neu #formholder .row .card.kerzen_auswahl .items .kerzen_item img {
  max-width: 100%;
}

.detail_seite_neu #formholder textarea {
  font-family: inherit;
  font-size: inherit;
}

.detail_seite_neu #formholder :focus-visible {
  outline: #e95d43 auto 1px;
}

.detail_seite_neu #formholder #kerze_1,
.detail_seite_neu #formholder #kerze_2,
.detail_seite_neu #formholder #kerze_3 {
  background: url("../kerzen/kerze_lang_off.jpg");
  background-position: left top;
  background-size: 100%;
}

.detail_seite_neu #formholder #kerze_1.activ,
.detail_seite_neu #formholder #kerze_2.activ,
.detail_seite_neu #formholder #kerze_3.activ {
  background: url("../kerzen/kerze_lang_on.jpg");
  background-position: left top;
  background-size: 100%;
}

.detail_seite_neu #formholder #kerze_2 {
  background: url("../kerzen/kerze_rund_off.jpg");
  background-position: left top;
  background-size: 100%;
}

.detail_seite_neu #formholder #kerze_2.activ {
  background: url("../kerzen/kerze_rund_on.jpg");
  background-position: left top;
  background-size: 100%;
}

.detail_seite_neu #formholder #kerze_3 {
  background: url("../kerzen/kerze_stump_off.jpg");
  background-position: left top;
  background-size: 100%;
}

.detail_seite_neu #formholder #kerze_3.activ {
  background: url("../kerzen/kerze_stump_on.jpg");
  background-position: left top;
  background-size: 100%;
}

.detail_seite_neu #formholder .c_button {
  cursor: pointer;
}

.detail_seite_neu .fullwidth {
  position: relative;
  width: 100%;
  text-align: center;
}

.detail_seite_neu .fullwidth .c_button {
  position: static;
  margin: 0 auto;
}

.detail_seite_neu .fullwidth .row {
  display: flex;
  width: 100%;
  border: 1px solid #ff0000;
}

.detail_seite_neu .fullwidth .row label {
  width: 100%;
}

.detail_seite_neu .fullwidth .cbholder {
  padding: 20px 0;
}

.detail_seite_neu .column {
  display: flex;
  flex-direction: column;
}

.detail_seite_neu input.c_button {
  color: #fff;
}

.detail_seite_neu .card.confirm {
  padding: 20px;
}

#headline {
  background-color: #fff;
  padding: 20px 10px;
  align-items: center;
}

#headline .inside {
  display: flex;
  justify-content: space-between;
  max-width: 1480px;
  margin: 0 auto;
}

#headline .logo {
  padding-left: 20px;
}

#headline .logo img.logoTop {
  max-height: 50px;
  width: auto;
}

#headline #telefonT {
  font-size: 1.7rem;
  font-weight: 600;
}

#headline #telefonT img {
  max-height: 20px;
  padding-right: 15px;
}

#headline #titelT span {
  border-bottom: 3px solid #003957;
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
}

.card.kerzen_auswahl p {
  padding-left: 20px;
}

#formholder {
  /* remove standard-styles */
  /* graceful degradation for ie8 */
}

#formholder input[type="checkbox"]:checked,
#formholder input[type="checkbox"]:not(:checked),
#formholder input[type="radio"]:checked,
#formholder input[type="radio"]:not(:checked) {
  background: transparent;
  position: relative;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

#formholder input[type="checkbox"] + label,
#formholder input[type="radio"] + label {
  cursor: pointer;
}

#formholder input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  font-size: 1em;
  width: 100%;
}

#formholder input[type="checkbox"],
#formholder input[type="radio"] {
  width: auto;
  float: left;
  margin-right: 0.75em;
  background: transparent;
  border: none;
}

#formholder input[type="checkbox"]:checked,
#formholder input[type="checkbox"]:not(:checked),
#formholder input[type="radio"]:checked,
#formholder input[type="radio"]:not(:checked) {
  background: transparent;
  position: relative;
  visibility: hidden;
  margin: 0;
  padding: 0;
}

#formholder input[type="checkbox"] + label,
#formholder input[type="radio"] + label {
  cursor: pointer;
}

#formholder input[type="checkbox"]:checked + label::before,
#formholder input[type="checkbox"]:not(:checked) + label::before,
#formholder input[type="radio"]:checked + label::before,
#formholder input[type="radio"]:not(:checked) + label::before {
  content: " ";
  display: inline-block;
  width: 17px;
  height: 17px;
  position: relative;
  top: 4px;
  border: 1px solid #bbb;
  background: white;
  margin-right: 1em;
  box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

#formholder input[type="radio"]:checked + label::before,
#formholder input[type="radio"]:not(:checked) + label::before {
  border-radius: 30px;
}

#formholder input[type="checkbox"]:hover + label::before,
#formholder input[type="radio"]:hover + label::before {
  background: #ddd;
  box-shadow: inset 0 0 0 2px white;
}

#formholder input[type="checkbox"]:checked + label::before,
#formholder input[type="radio"]:checked + label::before {
  background: #e95d43;
  box-shadow: inset 0 0 0 2px white;
}

#formholder #checkbox {
  width: 1.3em;
  height: 1.3em;
  background-color: white;
  border-radius: 50%;
  vertical-align: middle;
  border: 1px solid #ddd;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

#formholder #checkbox:checked {
  background-color: gray;
}

body {
  animation: fadeInAnimation ease 1.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media only screen and (max-width: 1340px) {
  #detail_head {
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 1270px) {
  #content {
    top: 0px;
    width: 100%;
  }
  #headGedenkportal #search h2,
  #headGedenkportal #search h1,
  #headGedenkportal #search #searchinput {
    padding: 3px 20px;
  }
  #detail_head {
    box-sizing: border-box;
  }
  #detail_head .card_image img {
    width: 100%;
  }
}

@media only screen and (max-width: 1048px) {
  .detail_seite #detail_head {
    flex-direction: column;
    padding: 10px 20px;
  }
  .detail_seite #detail_head .c_button {
    position: static;
  }
  #detail_head {
    box-sizing: border-box;
  }
  #detail_head .card_image {
    width: 100%;
    box-sizing: border-box;
  }
  #detail_head .card_image img {
    width: 100%;
  }
  .detail_seite #content .card_text .c_date.topP {
    padding-top: 1rem;
  }
}

@media only screen and (max-width: 979px) {
  #content {
    top: 0px;
    width: 100%;
  }
  #headGedenkportal #search h2,
  #headGedenkportal #search h1,
  #headGedenkportal #search #searchinput {
    padding: 3px 20px;
    font-size: 1.3rem;
  }
  #headline #telefonT {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 649px) {
  #headline .inside {
    flex-wrap: wrap;
  }
  #headline .inside div {
    flex: 1 1 50%;
  }
  #headline .inside .logo,
  #headline .inside #telefonT {
    text-align: center;
  }
  #headline .inside #titelT {
    display: none;
  }
  #cardholder .card {
    width: 100%;
    flex: 1 1 100%;
  }
  #search .autoComplete_wrapper > input {
    width: 12rem !important;
  }
  #headGedenkportal #search h2, #headGedenkportal #search h1, #headGedenkportal #search #searchinput {
    padding: 3px 20px;
    font-size: 1.0rem;
  }
}

@media only screen and (max-width: 450px) {
  #headline .logo img.logoTop {
    max-height: 250px;
    width: auto;
    width: 100%;
  }
}
