/*
.section1 {
  margin-left: unset;
  margin-right: unset;
  width: auto;
}
.section2 {
  margin-left: unset;
  margin-right: unset;
  width: auto;
}
*/

.bild-bereich {
    height: 260px;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
}

.bild-bereich img {
    display: inline-block; /* Default wäre inline - es gibt aber auch: inline-block */
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    min-height: 180px;
}

main {
    margin-top: 300px;
}

.End-Line {
    clear: left;
    display: inline-block;
    width: 100%;
}

#Content {
    display: block;
    float: left;
    width: fit-content;
    margin-right: 25px;
    font-size: 18px;
    padding-left: 5%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-top: 25%;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0f466e;
}

input:focus + .slider {
    box-shadow: 0 0 1px #0f466e;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

div.DSGVO {
    background-color: rgb(197, 211, 230);
    padding: 20px;
    display: inline-block;
}

table.DSGVO {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
}

.section2 {
    width: 100%;
}

#Facebook_Feed {
    width: 400px;
    display: block;
    min-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    bottom: 0px;
}

.Links {
    position: relative;
    top: -100px;
}

/*
#hyperlinks{
}
*/
#News-Grid {
    margin-bottom: 10px;
    margin-right: 35px;
    padding: 2px;
}

.news-image {
    float: left;
    height: 450px;
    width: 450px;
    position: relative;
    overflow: hidden;
}

.news-text {
    clear: left;
}

.image-container {
    position: relative;
    top: 10px;
    border-style: double;
    border-radius: 5px;
    height: 96%;
    width: 96%;
    margin: auto;
    overflow: hidden;
}

#section1 img {
    margin: unset;
}

.image-container img {
    object-fit: cover;
    height: 100%;
    margin: unset;
    margin-left: -20%;
}

.lstAktuelles li {
    margin-top: 10px;
}

.Image-Text-Wrapper {
    margin-bottom: 5px;
}

.list-Wrapper {
    display: inline-block;
}

@media only screen and (min-width: 3000px) {
    .news-image {
        height: 700px;
        width: 700px;
    }

    .section1 {
        width: 3000px;
        margin: auto;
    }
}

@media only screen and (max-width: 3000px) {
    .news-image {
        height: 600px;
        width: 600px;
    }
}

@media only screen and (max-width: 2500px) {
    .news-image {
        height: 550px;
        width: 550px;
    }
}

@media only screen and (max-width: 2000px) {
    .news-image {
        height: 500px;
        width: 500px;
    }
}

@media only screen and (max-width: 955px) {
    #Content {
        width: fit-content;
        margin-right: 25px;
        max-width: 100%;
    }

    .news-image {
        float: unset;
    }
}

@media only screen and (max-width: 605px) {
    .news-image {
        height: 450px;
        width: 450px;
    }
}

@media only screen and (max-width: 570px) {
    .news-image {
        height: 400px;
        width: 400px;
    }
}

@media only screen and (max-width: 500px) {
    .news-image {
        height: 350px;
        width: 350px;
    }
}

@media only screen and (max-width: 600px) {
    #Facebook_Feed, #DSGVO {
        display: none;
        width: 0%;
    }

    #News-Grid {
        margin-bottom: unset;
        margin-right: unset;
    }
}