@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    src:
        local('Noto Serif'),
        url('../webfonts/NotoSerif-VariableFont_wdth_wght.woff2') format('woff2-variations');
}
@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    src:
        local('Noto Sans'),
        url('../webfonts/NotoSans-VariableFont_wdth_wght.woff2') format('woff2-variations');
}
html {
    position: relative;
    min-height: 100%;
    min-width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}
body {
    margin-bottom: 35px;
    color: #333;
    padding-bottom: 2rem;
}

header {
    background-color: #ddd;
}
main {
    font-family: 'Noto Serif', serif;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
    background-color: #0063af;
    border-top: 1px solid #ccc;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
}
p {
    text-align: justify;
}
/* 
 * Navigation 
 * */
nav {
    font-family: 'Noto Sans', sans-serif;
}
.navbar {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    --bs-navbar-nav-link-padding-x: 0;
    --bs-navbar-brand-margin-end: 0.5rem;
    --bs-navbar-brand-font-size: 0.5rem;
}
.nav-item {
    padding-right: 10px;
    padding-left: 0px!important;
    padding-top: 2px!important;
}
.navbar-light .navbar-nav .nav-link {
    color: #014a92;
}
.nav-item.active .nav-link {
    color: #b33b00!important;
    padding-top: 8px!important;
    padding-left: 0px!important;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0;
}
.navbar-nav.me-auto nav-item {
  margin-right: 0.1rem!important
}
tr {
    height: 0px;
    font-size: 85%;
}

/* sugesstion container is used in the search function when typing into input box */
.suggestion-container {
    border-right: 1px solid #666;
    border-left: 1px solid #666;
    border-bottom: none;
    max-height: 250px;
    overflow-y: auto;
    background-color: #f5f5f5;
    position: absolute; /* Position relative to its parent if needed, or just absolute in general */
    width:35%!important;
    max-width:800px!important;
    z-index: 1000;
}
.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-top: 1px solid #666;
    max-width:800px!important;
}
.suggestion-item:last-child {
    border-bottom: 1px solid #666;
}
.suggestion-item:first-child {
    border-top: 1px solid #666;
}
.suggestion-item:hover {
    background-color: #e5e5e5;
}
.suggestion-item.active {
  background-color: #e5e5e5;
}

/* forms */
.form-control:focus {
    box-shadow: none!important;
}
.form-control {
    box-shadow: none!important;
}
.form-label.main {
    font-weight: bold;
}
.conv-form label{
    margin-left: 10px;
    width: 10%;
    text-align: right;
}
.w-50 {
    width: 100% !important;
    max-width: 800px!important;    
}

header div.row {
    background-color: #ddd;
}
.table {
    width: 97%;
}
.conv-doc {
    border: 1px solid #333;
    background-color: rgba(222, 222, 251, .2);
    padding: 5px;
    margin-bottom: 2rem;
    font-size: 85%;
}
/* 
 * fluid container for HTML Body 
 * */
.container-fluid {
    margin: 0!important;
    padding: 0!important;
}

/* 
 * Grid Layout 
 * */
.col-2.d-none.d-md-block.spalte_links {
    min-width: 180px;
    position: sticky;
    height: 1rem;
    padding-top: 0.1rem;
    top: 0;
    margin-top: -1rem;
}
.col-2.d-none.d-lg-block.spalte_rechts {
    padding-top: 1rem;
    min-width: 150px;
    margin-top: -2rem;
    font-size: .8rem;
    position: sticky;
    top: 0px;
    height: 1rem;
}
.col.spalte_mitte {
    padding-left: 17px;
    padding-right: 17px;
}
.col-2.d-none.d-md-block.navbar {
    padding: 0!important;
    margin: 0!important;
    margin-bottom: 1.5rem!important;
    min-width: 180px;
    background-color: #eceae8!important;
}
.col-2.d-none.d-lg-block.navbar {
    padding: 0!important;
    margin: 0!important;
    padding-top: 1rem;
    min-width: 150px;
    margin-bottom: 1.5rem!important;
    background-color: #eceae8!important;
}
.col.mitte {
    padding: 0!important;
    margin: 0!important;
}
.col.mitte nav {
    padding: 0!important;
    margin-left: 0!important;
    margin-right: 0!important;
    margin-bottom: 1.5rem!important;
    min-width: 180px;
    background-color: #eceae8!important;
    padding-left: 17px!important;
    padding-right: 3px!important;
}
.row.top {
    margin-top: -1rem;
}

/* 
 * flexbox utilities (Header) 
 * */
.d-flex {
    padding-left: 5px;
    padding-right: 5px;
}
.d-flex.noscript{
    display: none !important;
}
#hadw-banner {
    z-index: 1;
    height: 80px;
    margin-left: -1rem;
}
#hadw-banner-head {
    height: 65px;
    padding-left: .6rem;
    margin-left: -1rem;
    margin-top: .2rem;
}

/* 
 * Überschriften 
 * */
h1 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    text-align: center;
    font-weight: 900;
    margin-top: 1.5rem;
}
h2 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.35rem;
    border-bottom: 0px solid #ccc;
    margin-top: 1.75rem;
    margin-bottom: .5rem; 
    background-color: #fff;
}
h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.2rem;
    margin-top: 2rem;
    font-weight: bold;
}
h4 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    margin-top: 2rem;
    font-weight: normal;
}
.title {
    margin-bottom: .25rem;
    width: 100%;
    margin-top: 0rem;
}
.title h1{
    text-align: right;
    color: #014a92; 
    margin-top: 5px;
    font-weight: 400;
    font-size: 1.1rem;
}


/* 
 * Links 
 * */
a, a:hover, a:visited {
    color: #0063AF;
    text-decoration: none;
    background-color: transparent;
}

/* 
 * Input
 * */
input::placeholder {
    opacity: 0.5!important;
}

/*
 * Footer
 * */
.text-muted {
    text-align: center;
    padding-top: 5px;
    font-size: 0.9rem;
}
.text-muted span {
    color: #e6e6e6;
}
.text-muted > a {
    color: #e8e8e8;
    text-decoration: none;
}
p.text-muted {
  margin-bottom: 0;
}

/*
 * Buttons
 * */
.btn.btn-primary {
    background-color: rgb(0, 99, 175);
    color: white;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.container {
    margin-left: 1rem;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #hadw-banner {
        height: 60px;
        margin-top: .8rem;
        margin-bottom: .8rem;
    }
    #hadw-banner-head {
        height: 77px;
        margin-top: 0.2rem;
        margin-bottom: 0rem;
    }
    
    .title h1 {
        text-align: right;
        margin-top: 0.5rem;
        margin-bottom: .5rem;
        width: 100%;
    }
    .w-50 {
        width: 100% !important;
        max-width: 590px!important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    img#hadw-banner {margin-left: -12rem;}
    #hadw-banner {
        height: 77px;
        margin-top: 2px;
        margin-bottom: 0rem;
    }    
    .container {
        max-width: 720px;
    }
    .title {
        text-align: right;
        margin-top: 0rem;
        width: 100%;
    } 
    .w-50 {
        width: 100% !important;
        max-width: 620px!important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    img#hadw-banner {margin-left: -1rem;}
    #hadw-banner {
        height: 85px;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }    
    .container {
        max-width: 720px;
    }    
    .title h1 {
        text-align: right;
        margin-top: 5px;
        width: 100%;
        font-size: 1.2rem;
    }
    .w-50 {
        width: 100% !important;
        max-width: 620px!important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #hadw-banner {
        height: 95px;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }    
    .container {
        max-width: 850px;
    }    
    .title h1 {
        text-align: right;
        margin-top: 15px;
        width: 100%;
        font-size: 1.5rem;
    } 
    .w-50 {
        width: 100% !important;
        max-width: 850px!important;
    }
}

.content-card {
    background-color: #eeeeee;
    border-radius: 0.5rem; /* Slightly more rounded corners for a softer look */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); /* Softer, larger shadow */
    padding: 2rem; /* Internal padding for the card */
}
