* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans", sans-serif;
  background-image: url(bg.jpg);
  margin: 0;
  background-repeat: repeat-x;
  background-color: #900000;
}

a:link,
a:visited {
  color: #800000;
  text-decoration: none;
}

a:active,
a:hover {
  color: #000000;
}

h1,
h2 {
  margin-top: 25px;
  margin-bottom: 25px;
  color: #800000;
  font-family: "Slabo 27px", serif;
}

h2 {
  font-size: 1.2em;
}

hr {
  width: 100%;
  color: #b90047;
  border: 0;
  height: 1px;
  background: #b90047;
  background-image: linear-gradient(to right, #fbc5da, #b90048, #fbc5da);
  margin: 25px 0 25px 0;
}

p {
	margin: 1.5em 0;
}

#inner {
  width: 100%;
}

#navswitch:checked + #inner {
  overflow: hidden;
}

#logo {
  position: absolute;
  top: 0;
  left: 0;
}

#logo a {
  display: block;
  width: 100%;
  height: 100%;
}

#main {
  margin: 0 auto;
  background: #fff url("header.png") no-repeat center top;
  position: relative;
}

#menu ul {
  font-family: "Slabo 27px", serif;
  font-size: 20px;
  font-weight: bold;
  color: #800000;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#menu ul li {
  transition: all 0.2s;
  margin-top: 21px;
}

#menu ul li li {
  margin-top: 10px;
}

#menu ul li:hover {
  color: #000000;
}

#menu .level_2 {
  margin-left: 30px;
  font-size: 18px;
}

#logo span {
  display: none;
}

#content table tr > td {
  vertical-align: top;
  padding-bottom: 50px;
  padding-right: 30px;
}

form {
    max-width: 425px;
}

input,
textarea {
  font-size: 16px;
  padding-left: 15px;
  height: 45px;
  width: 100%;
  line-height: 2.5em;
  font-family: "Noto Sans";
}

input {
  height: 45px;
}

textarea {
  height: 250px;
  width: 100%;
}

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

input[type="submit"] {
    width: 100%;
  background-color: #800000;
  color: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  margin-top: 15px;
}

input[type="checkbox"] {
  border: 2px solid #800000;
  width: 20px;
  height: 20px;
  background-color: #fff;
  float: left;
  margin-top: 24px;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"]:checked {
  background-image: url("../check.png");
  background-size: contain;
}

form label {
  display: block;
  vertical-align: top;
  margin: 18px 0 20px 30px;
  text-align: left;
}

.leseprobe:before,
.flyer li:before {
  font: normal normal normal 14px/1 FontAwesome;
  margin-right: 20px;
}

.leseprobe:before {
  content: "\f054";
}

.flyer li {
  list-style-type: none;
  margin-bottom: 10px;
}

.flyer li:before {
  content: "\f1c1";
  color: #800000;
}

#zeremonien img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

#menu .smallnav {
	display: flex;
	font-size: 14px;
	line-height: 12px;
	margin-top: 10px;
}

#menu .smallnav li + li {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px solid #800000;
}

.subnav {
	list-style-type: none;
	margin: -15px 0 30px;
	display: flex;
}

.subnav li + li {
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #800000;
}

.textimage img {
	width: 100%;
	height: auto;
}

#captcha {
	border: 1px solid #999;
}

.captchatext {
	display:flex;
	align-items:center;
}

.captchatext img {
	margin-left: 15px;
	cursor: pointer;
}

.error {
	color: #d00000;
	font-size: 13px;
	font-weight: bold;
}

@media (max-width: 1024px) {
  body {
    color: #000000;
  }
  a {
    color: #800000;
  }
  #logo {
    background: transparent url("logo-mobile.png") no-repeat center;
    width: 278px;
    height: 129px;
    margin-top: 175px;
    margin-left: 15px;
  }
  #main {
    position: relative;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    transition: all 0.5s;
    background-size: contain;
  }
  /* Menu */
  .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    height: 55px;
    width: 15%;
    transition: background 0.5s;
    z-index: 2;
  }
  .hamburger label {
    position: relative;
    width: 100%;
    display: inline-block;
    height: 100%;
    cursor: pointer;
  }
  .hamburger label:before {
    content: " ";
    display: block;
    margin: 12px auto;
    width: 40px;
    height: 7px;
    background: #ffffff;
    border-radius: 0.15em;
    box-shadow: 0 12px #ffffff, 0 24px #ffffff;
    transition: all 0.5s;
  }
  .hamburger label:after {
    content: " ";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 20%;
    height: 100%;
    display: none;
  }
  body.smallNav .hamburger {
    position: fixed;
    height: 55px;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    background-color: #b90047;
  }
  body.smallNav .hamburger label {
    width: auto;
    margin-left: 8px;
  }
  #navswitch:checked + #inner #menu {
    margin-left: 0;
    overflow: auto;
  }
  #navswitch:checked + #inner #main {
    margin-left: 80%;
    overflow: auto;
  }
  #navswitch:checked + #inner .hamburger {
    left: 80%;
  }
  #navswitch:checked + #inner .hamburger label:after {
    display: block;
  }
  #menu .level_1 {
    margin-top: 50px;
    margin-left: 25px;
  }
  #menu .smallnav {
    margin-left: 25px;
  }
  #menu {
    position: fixed;
    background: #fff;
    background-size: 335px;
    height: 100%;
    width: 80%;
    left: 0;
    margin-left: -80%;
    transition: all 0.5s;
    z-index: 2;
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: lightgrey;
    overflow: hidden;
    padding-bottom: 2em;
    box-sizing: border-box;
  }
  @media (orientation: landscape) {
    #menu {
      background: #fff;
    }
  }
  #menu #cornermobile {
    background-image: url("stoerer.png");
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  #menu #cornermobile a {
    width: 100%;
    height: 100%;
    display: block;
  }
  #content {
    position: relative;
    padding: 300px 15px 50px 15px;
  }
  .subnav {
	line-height: 14px;
	font-size: 14px;
  }

  .subnav li + li {
    padding-left: 6px;
    margin-left: 6px;
    border-left: 1px solid #800000;
  }
}

@media (min-width: 1025px) {
  #main {
    width: 868px;
    min-height: 950px;
  }
  #logo {
    width: 362px;
    height: 299px;
    background: transparent url("header.jpg") no-repeat center;
  }
  #cornerimage {
    position: absolute;
    background-image: url("stoerer.png");
    top: 0;
    left: 0;
    width: 240px;
    height: 242px;
    z-index: 1;
  }
  #cornerimage a {
    width: 100%;
    height: 100%;
    display: block;
  }
  #menu {
    position: absolute;
    top: 300px;
    width: 310px;
    left: 50%;
    margin-left: -395px;
    z-index: 3;
  }
  #content {
    padding: 300px 70px 40px 335px;
	position: relative;
	z-index: 2;
  }
  #foto {
    background: transparent url("foto.jpg");
    width: 362px;
    height: 334px;
    position: absolute;
    bottom: 0;
    top: calc(100% - 334px);
  }
  
}
