/* Allgemine Styles nach TYPO3-Upgrade */

.container-fluid > div:nth-child(2) header {
    min-height: unset !important;
}

.container-fluid + .row-fluid {
    padding-right: 20px;
    padding-left: 20px;
    width: auto;
}

/* Inhaltselemente und Bildergallerien */

.frame > header {
    clear: both;
    float: none;
    display: block;
}

.ce-image ul.ce-gallery {
    margin: 0;
}
.ce-image.ce-center .ce-gallery .ce-row {
    display: flex;
    justify-content: center;
}
.ce-image.ce-center .ce-gallery .ce-row figure.image {
    margin: 10px;
}
.ce-textpic.ce-below ul.ce-gallery,
.ce-textpic.ce-above ul.ce-gallery {
    margin-left: 0;
}
.ce-gallery .ce-row {
    display: flex;
    align-items: stretch;
}
.ce-gallery .ce-row figure.image {
    margin: 5px;
}

.ce-textpic.ce-intext.ce-right ul.ce-gallery {
    float: right;
    max-width: 40%;
}

.ce-textpic.ce-intext.ce-left ul.ce-gallery {
    float: left;
    max-width: 40%;
}

.ce-textpic.ce-center .ce-row {
    justify-content: center;
}

th p.text-right,
td.text-right {
    text-align: right;
}

hr.ce-div {
    display: block;
    clear: both;
    float: none;
}

.ce-textpic.ce-intext.ce-left ol, .ce-textpic.ce-intext.ce-left ul {
    padding-left: 40px;
    overflow: auto;
}
.ce-textpic.ce-left ul.ce-gallery {
    padding: 0 25px 10px 0;
    margin: 0 ;
}

/* News */
.news .article .news-img-wrap {
    background: transparent;
}

.news .articletype-0 {
    display: flex;
    flex-direction: column;
}

.news-img-wrap {
    background-color: transparent;
}

.csc-textpic-intext-left .csc-textpic-imagewrap {
    float: left;
    margin-right: 1rem;
}
.csc-textpic-intext-right .csc-textpic-imagewrap {
    float: right;
    margin-left: 1rem;
}

/* Uploadlisten */
ul.ce-uploads {
    padding: 0;
}
ul.ce-uploads li {
    list-style: none outside none;
    margin: 1em 0;
}

/* Slider Startseite */
#layer15 .ce-inner {
    padding-left: 20px;
    padding-right: 20px;
}

/* IndexedSearch */
#heading .tx-indexedsearch-info-sword, #heading .tx-indexedsearch-browsebox, #heading .tx-indexedsearch-res, #heading .tx-indexedsearch-info-noresult {
    display: none;
}
#heading #tx_indexedsearch input {
    min-width: 100px;
    min-height: 30px;
    box-shadow: none;
}
.input-append {
    height: 30px;
    max-height: 30px;
    position: relative;
}
.input-append > * {
    height: 100%;
}
.navbar .input-append > button.btn {
    margin-top: 0px;
}
#text-and-images .indexed-search {
    clear: both;
    float: none;
    height: 30px;
}
#text-and-images .indexed-search .navbar-search {
    max-width: 400px;
}
#text-and-images #tx_indexedsearch input {
    width: 300px;
    min-height: 30px;
}
ul.tx-indexedsearch-browsebox {
    list-style-type: none;
}
ul.tx-indexedsearch-browsebox > li {
    display: inline-block;
    margin: 5px;
}

/* Calendar */

td.eventDay {
    background-color: #0c3a73;
    color: white;
}
.yearmonth td.eventDay ul.eventlist {
    border: 1px solid #0c3a73;
    position: absolute;
    display: none;
    padding: 5px;
    background-color: white;
    color: #0c3a73;
    list-style-type: none;
    text-align: left;
    margin-left: 0;
}
.yearmonth td.eventDay:hover ul.eventlist {
    display: block;
}

.youtube-privacy {
    position: absolute !important;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    justify-content: center;
}
.youtube-privacy > * {
    max-width: 600px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Headlines */
h1, .h1 {
    font-size: 2rem;
}
@media (min-width: 576px) {
    h1, .h1 {
        font-size: 2rem;
    }
}
@media (min-width: 768px) {
    h1, .h1 {
        font-size: 2.2rem;
    }
}
@media (min-width: 992px) {
    h1, .h1 {
        font-size: 2.4rem;
    }
}
@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.6rem;
    }
}

h2, .h2 {
    font-size: 1.75rem;
}
@media (min-width: 576px) {
    h2, .h2 {
        font-size: 1.75rem;
    }
}
@media (min-width: 768px) {
    h2, .h2 {
        font-size: 1.925rem;
    }
}
@media (min-width: 992px) {
    h2, .h2 {
        font-size: 2.1rem;
    }
}
@media (min-width: 1200px) {
    h2, .h2 {
        font-size: 2.275rem;
    }
}

figure.table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
