/*
Theme Name: IMBI MFP Theme
Author: Philipp Buss
Description: IMBI Theme for the mfp site
Version: 1.0
Requires at least: 6.7.1
Requires PHP: 8.1
Text Domain: breakdance
*/

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* füllt den Platz über dem Footer */
}

.header-navbar .navbar-brand  img {
    max-height: 100%;
}

.header-navbar .navbar-brand {
    padding: 5px;
}

.header-navbar {
    padding-bottom: 0 !important;
}

.sidebar {
    padding: 20px;
    width: 270px;
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7; 
}

.sidebar ul {
    padding: 0;
    margin: 0;
}

.sidebar li {
    display: block;
}

.navbar-nav {
    margin-top: 20px;
}

 

.header-navbar {
    background-color: #1d84c3;
    background-image: -webkit-linear-gradient(top, #055a8e 0%, #1d84c3 100%);
    background-image: linear-gradient(to bottom, #055a8e 0%, #1d84c3 100%);
    color: white;
}

.site-footer {
    background-color: #1d84c3;
    background-image: -webkit-linear-gradient(top, #055a8e 0%, #1d84c3 100%);
    background-image: linear-gradient(to bottom, #055a8e 0%, #1d84c3 100%);
    color: white;
    height: 50px;
    min-height: 50px;
    box-sizing: border-box;
    display: flex;
}

.header-navbar .nav-item {
    background-color: #ffffffb3;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .header-navbar .nav-item {
        background-color: #ffffffb3;
        margin-right: 5px;
        border-radius: 5px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        padding: 0;
    }
}

.header-navbar .nav-item:hover {
    background-color: #ffffff80;
}    

.header-navbar .nav-item.active {
    background-color: white;
}

.header-navbar .nav-link {
    color: black !important;
}


.navbar-brand {
    margin-left: -7px;
}


.search-form .btn {
    background-color: #ffffffb3;
    border-color: #ffffffb3;
}

.search-form .btn:hover {
    background-color: #ffffff80;
    border-color: #ffffff80;
}

h1 {
    font-size: 2rem !important;
}

h2 {
    margin-top: 30px !important;
}

li h2 {
    margin: 0 !important;
    padding: 0 !important;
}

h3 {
    font-size: 1.092em !important;
}

em {
    font-size: 1.1rem;
}

a {
    color: #0B659C !important;
}


.buchlink {
    color: #e5bb03 !important;
}

.paperlink {
    color: green !important;
}

.nobackground {
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px;
}

.nobackground td, .nobackground p {
    background-color: #f8f8f8;
}

.nobackground td {
    text-align: center;
}

.nobackground small {
    margin-top: 10px;
    display: block;
}

img {
    max-width: 100%;
}

.chaptertable {
    width: 100%;
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    border-collapse: separate;
    font-size: 0.9rem;
    border-spacing: 10px;
    margin-top: 30px;
}

.chaptertable td, .chaptertable th {
    padding: 0;
    line-height: 1.0
}

.chaptertable td, .chaptertable p {
    background-color: #f8f8f8;
}