body
{
    padding-top: 120px;
    margin-bottom: 80px;
}

/* Abstand Buttons in Subnavigation */
ul.nav.navbar-nav li.nav-item 
{
    margin-right: 0.2rem;
}

.navbar-fixed-top .nav
{
    padding: 15px 0;
}

.navbar-fixed-top .navbar-brand
{
    padding-lef: 35px;
}

@media(min-width: 768px)
{
    body
    {
        padding-top: 120px;
    }

    .navbar-fixed-top .navbar-brand
    {
        padding-top: 15px;
    }
    
    .card-header {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    /* rechtsbündige Titel in Cards Detailsichten */
    .row dt
    {
        float: left;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

div.modal-body
{
   border-bottom: 1px solid #dddddd;
   margin-bottom: 5px;
}

.fake-link
{
    cursor: pointer;
}

.fake-link:hover
{
    color: white;
}

div.card-header ul > li > a
{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    
}

div.login-panel
{
    max-width: 600px !important;
}

img.person_icon
{
    width: 50px;
    margin: 0px;
    float: left;
}

span.object_menu
{
    float: right;
    font-size: 1.6em;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

#logo-branch-wrapper {
    width: 100%;
    min-height: 4.5em;
    height: auto;
}

#logo {
    position: absolute;
    top: 0.5em; 
    left: 0.8em;
}

.branch {
    position: absolute;
    top: 1.5em;
    left: 8em;
}

#navbar-toggle {
    position: absolute;
    right: 0.5em;
    top: 1em;
}

#main_menu {
    position: relative;
    left: 0em;
}

@media(max-width: 992px)
{
   #main_menu {
       margin-top: 7em;
   }
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
  text-align: center;
} 
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.input-group-append {
    cursor: pointer;
}

/*
div.person-card dl
{
    margin-bottom: 0px;
}

div.person-card div.person-card-first-row
{
    height: 60px;
}
*/

div.card-header h5
{
    line-height: 1.8em;
}

.card-warning {
    background-color: #ffc107;
    font-weight: bold;
}

footer.footer
{
    padding-top: 12px;
}

.start-invisible
{
    display: none;
}

.color-state-0, .color-state-0 > a, .member-state-0, .member-state-0 > a
{
    background-color: #ff9933 !important;
    color: #fff !important;
}

.color-state-1, .color-state-1 > a, .member-state-2, .member-state-2 > a, agent-state-aktiv
{
    background-color: #3399ff !important;
    color: #fff !important;
}

.color-state-2, .color-state-2 > a, .member-state-1, .member-state-1 > a, .mobile-state-1, agent-state-deaktiviert
{
    background-color: #009900 !important;
    color: #fff !important;
}

.color-state-3, .color-state-3 > a, .member-state-3, .member-state-3 > a, .mobile-state-1, agent-state-deaktiviert
{
    background-color: #6f42c1 !important;
    color: #fff !important;
}

.color-state-3, .color-state-3 > a, .color-state-4, .color-state-4 > a, .mobile-state-0
{
    background-color: #a6a6a6 !important;
    color: #fff !important;
}

.color-state-deleted, .color-state-deleted > a {
    background-color: #ff0000 !important;
    color: #fff !important;
}

.help-block {
    color: #ff0000;
    font-weight: bold;
}

.member
span.db-id
{
    color: #bbb;
    font-size: 0.6em;
}

td > span.badge {
    font-size: 1em;
    font-weight: normal;
    padding: 0.3em;
    margin: 0.1em;
}

span.badge {
    font-size: 14px;
}

span.badge-role {
    background-color: transparent;
    color: #000;
}

span.badge-client, span.badge-client > a
{
    background-color: #5bc0de;
    color: #fff;
}

span.badge-client-passive
{
    background-color: #bbb !important;
    color: #fff;
    text-decoration: line-through;
}

span.badge-agent
{
    background-color: #f47d42;
    color: #fff;
}

span.badge-agent > a
{
    color: #fff;
}

span.badge-agent-passive, agent-state-deaktiviert
{
    background-color: #bbb !important;
    color: #fff;
}

span.badge-volunteer
{
    background-color: #5cb85c;
    color: #fff;
}

span.badge-volunteer > a
{
    color: #fff;
}

span.badge-volunteer-passive
{
    background-color: #bbb !important;
    color: #fff;
}

span.badge-volunteer-busy
{
    text-decoration: line-through;
}

span.badge-volunteer-out
{
    background-color: #bbb !important;
    color: #fff;
    text-decoration: line-through;
}

span.badge-in-nav
{
    background-color: #337ab7;
}

nav.navbar-sub
{
    background-color: #fff !important;
    border-color: #fff !important;
    margin-bottom: 0px;
}

.format-as-error
{
    color: #a94442;
}

div.wrap
{
    padding-bottom: 20px;
}

div.volunteer-modal
{
    padding: 9px;
}

/* RHE / 7.12.2022 Totalzeilen ohne Toolbar, mit fetter Schrift */
#volunteer_monthly_total .fixed-table-toolbar {
    display: none;
}

#volunteer_monthly_total tbody tr td {
    font-weight: bold;
}

#client_monthly_total .fixed-table-toolbar {
    display: none;
}

#client_monthly_total tbody tr td {
    font-weight: bold;
}

/* Änderungen / Ergänzungen zu Bootstrap 5.2.3 */
.bi:before,
[class^="bi-"]::before,
[class*=" bi-"]::before { 
    padding: 0.25em;
}

.bi-0:before {
    font-size: 1em;
}

.bi-1:before {
    font-size: 1.1em;
}

.bi-2:before {
    font-size: 1.2em;
}

.bi-3:before {
    font-size: 1.3em;
}

.bi-4:before {
    font-size: 1.4em;
}

.bi-5:before {
    font-size: 1.5em;
}

.no-border-radius-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.list-group-item {
    border: 1px solid #dddddd;
    padding: 0.5em;
}

.link-no-underline {
    text-decoration: none;
}

.link-no-underline:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

/* Grafik an Grösse des Fensters anpassen bzw. für mobile Gereäte */
.svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 900px;
    padding-bottom: 100%; 
    vertical-align: middle; 
    overflow: hidden;     
}

.svg-content {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}
/* RHE / 19.03.26 
   kleine Korrektur, die verhindert, dass die Tabellenheader links und rechts 
   einen padding von .75rem erhalten, dh. der Tabellen-Header bekommt dadurch
   breitere Zellen als die Body-Zellen, was dann sehr unschön aussieht 
   Solange der Tabellen-Header nicht am oberen Bildschirmrand klebt, haben 
   sie einen padding von .3rem */
.bootstrap-table .fixed-table-container .table thead th .th-inner {
    padding: .75rem .3rem;
}
