html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #ffffff;
    font-family: Libre Baskerville;
    font-size: 16px;
    line-height: 28px;
    background-image: url('../media/Textur-Sandstein.jpg');
    background-repeat: repeat;
    background-size: 600px;
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: normal;
    src: local('Libre Baskerville Regular'),local('Libre-Baskerville-Regular'),
 url('../media/font/libre-baskerville-regular.woff2') format('woff2'),
 url('../media/font/libre-baskerville-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: bold;
    src: local('Libre Baskerville Bold'),local('Libre-Baskerville-Bold'),
 url('../media/font/libre-baskerville-700.woff2') format('woff2'),
 url('../media/font/libre-baskerville-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: italic;
    font-weight: normal;
    src: local('Libre Baskerville Italic'),local('Libre-Baskerville-Italic'),
 url('../media/font/libre-baskerville-italic.woff2') format('woff2'),
 url('../media/font/libre-baskerville-italic.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    src: local('Open Sans Regular'),local('Open-Sans-Regular'),
 url('../media/font/open-sans-regular.woff2') format('woff2'),
 url('../media/font/open-sans-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: bold;
    src: local('Open Sans Bold'),local('Open-Sans-Bold'),
 url('../media/font/open-sans-700.woff2') format('woff2'),
 url('../media/font/open-sans-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: normal;
    src: local('Open Sans Italic'),local('Open-Sans-Italic'),
 url('../media/font/open-sans-italic.woff2') format('woff2'),
 url('../media/font/open-sans-italic.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: bold;
    src: local('Open Sans Bold Italic'),local('Open-Sans-Bold-Italic'),
 url('../media/font/open-sans-700italic.woff2') format('woff2'),
 url('../media/font/open-sans-700italic.ttf') format('truetype');
}

p {
    font-family: Libre Baskerville;
    font-size: 16px;
    line-height: 28px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #000000;
    font-weight: normal;
}

h1 {
    font-family: Libre Baskerville;
    font-size: 30px;
    color: #000000;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

h2 {
    font-family: Libre Baskerville;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #000000;
    font-weight: bold;
}

h3 {
    font-family: Libre Baskerville;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #000000;
    font-weight: bold;
    font-style: italic;
}

h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #000000;
    font-weight: bold;
}

h5 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #000000;
    font-weight: bold;
}

h6 {
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

a {
    color: #bd9300;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

span {
    color: #000000;
}

ul {
    list-style-type: disc;
}

li {
    margin-top: 15px;
    margin-bottom: 15px;
}

label {
    color: #000000;
    font-weight: normal;
}

input {
    color: #000000;
    font-weight: normal;
    padding: 5px 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #808080;
    background-color: #ffffff;
    border-radius: 0;
    margin: 0;
}

input::placeholder {
    color: #808080;
    font-size: 16px;
}

textarea {
    color: #000000;
    font-weight: normal;
    padding: 5px 10px;
    height: 50px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #808080;
    background-color: #ffffff;
    border-radius: 0;
}

input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #808080;
    position: relative;
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 0;
    padding: 0;
    margin-right: 5px;
    margin-left: 0;
    cursor: pointer;
}

input[type=checkbox]:checked {
    background-color: #00aaff;
}

input[type=checkbox]:checked:before {
    content: url('/media/Check.svg');
    color: #ffffff;
    position: absolute;
    left: 3px;
    width: 13px;
    height: 13px;
    top: 2px;
}

input[type=submit] {
    -webkit-appearance: none;
    -moz-appearance: none;
    border-style: none;
    cursor: pointer;
    margin-top: 30px;
    border-radius: 0;
}

select {
    padding: 5px 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 16px;
    border: 1px solid #808080;
    background-image: url('/media/SelectArrow.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 15px;
    background-color: #ffffff;
    border-radius: 0;
}

input[type=radio] {
    border: 1px solid #808080;
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    background-color: #ffffff;
    padding: 0;
    margin-left: 0;
    margin-right: 5px;
}

input[type=radio]:checked {
    background-color: #00aaff;
}

input[type=radio]:checked:before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
}

table {
    border-collapse: collapse;
}

th {
    border: 1px solid #000000;
    padding: 5px 10px;
    font-weight: bold;
    background-color: #f0f0f0;
    text-align: center;
}

td {
    padding: 5px 10px;
    border: 1px solid #000000;
}

tr:nth-child(odd) {
    background-color: #f0f0f0;
}

.Button {
    color: #000000;
    text-decoration: none;
    background-color: #d6c07e;
    padding: 10px;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    margin-bottom: 15px;
    background-image: linear-gradient(90deg, rgb(212, 187, 75) 0%, rgb(244, 222, 124) 50%, rgb(221, 196, 83) 100%);
    box-shadow: 0px 2px 10px rgba(77, 64, 0, 0.25);
    border-bottom: 2px solid #d7bd76;
    border-top: 2px solid #fced7a;
    border-left: 2px solid #e8d181;
    border-right: 2px solid #decb7d;
    text-shadow: 0px 0px 8px #fffce8;
}

.Button:hover {
    background-color: #008dd4;
    text-decoration: none;
}

.Button:active {
    background-color: #008dd4;
    text-decoration: none;
}

.Button:focus {
    background-color: #008dd4;
    text-decoration: none;
}

.RechtsTextWrap {
    padding: 50px 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
}

@media (min-width: 501px) and (max-width: 999px) {
    .RechtsTextWrap {
        padding: 80px 25px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1280px;
    }
}

@media (min-width:1000px) {
    .RechtsTextWrap {
        padding: 100px 50px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1280px;
    }
}

.H1Recht {
    margin-bottom: 40px;
}

.H2Recht {
    margin-top: 50px;
    margin-bottom: 25px;
}

footer p {
    color: #ffffff;
}

footer a {
    color: #e6c552;
}

footer h4 {
    color: #ffffff;
}

.TitleWrapper {
    height: 400px;
    width: 100%;
    position: relative;
}

.HeadingTitle {
    color: #ffffff;
    font-size: 50px;
    line-height: 60px;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    text-shadow: 0 0 15px #001a64;
    top: 5%;
}

.HeadingTitle2ndRow {
    margin-left: 65%;
    color: #ffffff;
}

.MenuWrap {
    padding: 10px 20px;
    background-image: url('../media/Menu-Textur-Sandstein.png');
    background-size: auto 100%;
    background-position: calc(50% - 70px) center;
    background-repeat: repeat-x;
    height: 40px;
}

@media (min-width:750px) {
    .MenuScrollWrap {
        justify-content: center;
    }
}

@media (max-width:749px) {
    .MenuWrap {
        background-position: 20px center;
        background-image: unset;
        padding: 0;
        height: 50px;
    }
}

@media (max-width:500px) {
    .HeadingTitle {
        font-size: 36px;
        line-height: 48px;
        width: 285px;
    }

    .HeadingTitle2ndRow {
        margin-left: 120px;
    }
}

.GoldLinie {
    height: 25px;
    background-image: url('../media/Gold-Linie-Textur.jpg');
    background-size: auto 100%;
}

.TxtImgFullTextWrapL {
    background-image: url('../media/Marmor-BG.jpg');
}

.TxtImgFullText {
    padding: 20px;
    background-color: #fffcf0;
    border-bottom: 3px solid #a28352;
    border-top: 3px solid #fced7a;
    border-left: 3px solid #e8d181;
    border-right: 3px solid #decb7d;
    margin-top: auto;
    margin-bottom: auto;
}

@media (max-width:749px) {
    .HeaderMenuLink {
        min-width: 195px;
        background-image: url('../media/Menu-Textur-Sandstein.png');
        background-size: 195px 60px;
        background-position: 15px 0;
        background-repeat: repeat-x;
        padding-top: 16px;
    }
}

.SandsteinFullBG {
    background-color: transparent;
}

@media (min-width:750px) {
    .SandsteinFullWrap {
        display: flex;
        justify-content: center;
    }
}

@media (max-width:749px) {
    .SandsteinFullWrap {
        display: flex;
        flex-direction: column-reverse;
    }
}

.SandsteinFullTextWrap {
    background-image: url('../media/Textur-Sandstein-Kirche-Dehlitz.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width:750px) and (max-width:999px) {
    .SandsteinFullTextWrap {
        width: 50%;
        padding: 75px 25px 50px;
        margin-top: auto;
        margin-bottom: auto;
        box-sizing: border-box;
    }
}

@media (min-width:1000px) {
    .SandsteinFullTextWrap {
        width: 50%;
        padding: 75px 25px 50px;
        display: flex;
        justify-content: flex-end;
        box-sizing: border-box;
    }
}

.SandsteinFullText {
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    padding: 20px 30px;
    max-width: 750px;
    background-color: rgba(255, 255, 255, 0.25);
}

@media (min-width:750px) {
    .SandsteinFullImgWrap {
        width: 50%;
        max-height: 800px;
    }
}

.SandsteinObenLinks {
    position: absolute;
    top: -30px;
    left: -15px;
    width: 40px;
    z-index: 10;
}

.SandsteinObenMitte {
    position: absolute;
    top: -60px;
    height: 80px;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

.SansdsteinUntenLinks {
    position: absolute;
    width: 60px;
    left: -15px;
    bottom: -30px;
    z-index: 10;
}

.SandsteinUntenMitte {
    height: 80px;
    position: absolute;
    bottom: -45px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

.SandsteinRahmenOben {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    width: 100%;
    z-index: 1;
    background-repeat: repeat-x;
}

.SandsteinRahmenUnten {
    position: absolute;
    left: 0;
    right: 0;
    height: 15px;
    width: 100%;
    z-index: 1;
    background-repeat: repeat-x;
    bottom: 0;
}

.SandsteinRahmenLinks {
    position: absolute;
    left: 0;
    height: 100%;
    width: 15px;
    z-index: 1;
    background-repeat: repeat-x;
    bottom: 0;
    top: 0;
}

.SandsteinRahmenRechts {
    position: absolute;
    height: 100%;
    width: 15px;
    z-index: 1;
    background-repeat: repeat-x;
    bottom: 0;
    top: 0;
    right: 0;
}

.SandsteinUntenRechts {
    position: absolute;
    width: 60px;
    bottom: -30px;
    z-index: 10;
    right: -15px;
}

.SandsteinObenRechts {
    position: absolute;
    top: -30px;
    width: 40px;
    z-index: 10;
    right: -15px;
}

@media (max-width:749px) {
    .SandsteinFullText {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.KircheKarte {
}

@media (max-width:749px) {
    .DehlitzKarte {
        object-fit: cover;
        height: 300px;
        transform: scale(1.8);
    }
}

.SandsteinFullImgWrap {
    overflow: hidden;
}

@media (max-width:749px) {
    .SandsteinFullTextWrap {
        padding-bottom: 60px;
    }
}