body,
html {
    height: 100%;
}

.hamburg-line { 
   position: absolute; 
   left:10px;
   height: 4px; width: 55px; 
   background: #fff; border-radius: 2px;
   display: block; 
   transition: 0.5s; 
   transform-origin: center; 
}


body {
    min-height: 100%;
    text-align: left;
    color: #12263f;
    background-color: rgb(19, 57, 149);
}

a {
    color: rgb(255, 117, 3);
}

a:hover {
    color: rgba(255, 117, 3, .5);
}

.btn-primary {
    background-color: rgb(255, 117, 3);
    border-color: rgb(255, 117, 3);
}

.btn-primary:hover,
.btn-primary:active {
    background-color: rgba(255, 117, 3, .5);
    border-color: rgba(255, 117, 3, .5);
}

.content {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 130px;
    background-color: #fff;
    min-height: 650px;
}

.row {
    margin-right: -1rem;
    margin-left: -1rem;
}

.mt-auto,
.my-auto {
    margin-top: auto !important;
}

.avatar {
    position: relative;
    background: #5755d9;
    color: rgba(255,255,255,.85);
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
    font-size: .8rem;
    font-weight: 300;
    height: 1.8rem;
    line-height: 1.8rem;
    vertical-align: middle;
    width: 1.8rem;
    text-align: center;
}
.avatar img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

.avatar-xl {
    font-size: 1.6rem;
    height: 5.2rem;
    width: 5.2rem;
    line-height: 4.8rem;
}

.avatar-sm {
    font-size: .5rem;
    height: 1.2rem;
    width: 1.2rem;
    line-height: 1.1rem;
}

.navbar {
    /*background-color: #f9fbfd;*/
    background-color: #fff;
}

.navbar .nav .nav-link {
    color: rgb(19, 57, 149);
    font-size: 0.9em;
    line-height: 1.4em;
}

.navbar-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    margin-right: -1rem;
    margin-left: -1rem;
}

.navbar-nav .nav-item .nav-link {
    font-size: 1.25rem;
}

.active .nav-link {
    color: rgb(255, 117, 3) !important;
}

.navbar-collapse {
    padding-right: 1rem;
    padding-left: 1rem;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

@media (min-width: 767px) {
    .navbar-brand {
        position: absolute;
        left: 50%;
        margin-left: -50px !important;  /* 50% of your logo width */
        display: block;
}
}

.navbar-light .navbar-brand,
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: rgba(18, 38, 63, .9);
}

.navbar-tree {
    text-align: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.chat-badge {
    font-size: .6rem;
    vertical-align: top;
    position: relative;
    left: -.4rem;
}

.chat-button {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 117, 3, .35);
    color: #fff;
    font-size: 1.6rem;
    padding: .35rem .7rem;
    border-radius: 1.5rem;
    z-index: 1040;
    cursor: pointer;
    transition-duration: 300ms;
}

.chat-button:hover {
    background-color: rgba(255, 117, 3, 1);
}

.kontakt-auswahl {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}


@media (min-width: 0px) and (max-width: 767px) { 
    #sidebarMenu {
        padding-bottom: 1rem;
        background-color: rgb(250,250,250);
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) { 
    #sidebarMenu {
        border-right: 1px solid rgb(240,240,240);
    }
}

.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    /*
    padding-right: 12px;
    padding-left: 12px;*/
    padding-right: 0;
    padding-left: 0;
}

.navbar,
.navbar>.container,
.navbar>.container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .75rem;
    padding-bottom: 0;
}

.navbar,
.navbar>.container,
.navbar>.container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar {
    border-bottom: 1px solid #e3ebf6;
}

.navbar[class*=fixed-] {
    z-index: 1030;
}

.navbar-user .dropdown-toggle::after {
    display:none;
}

.navbar-user .dropdown-toggle:focus {
    outline-color: none;
    outline-style: none;
    outline-width: 0;
}



@media (min-width: 0px) and (max-width: 767px) { 
    .navbar-brand {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-user {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
}



.header {
    height: 400px;
    background-color: #12263f;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -30px;
    background-image: url(../images/back-1.jpg);
    background-size: cover;
    background-position: center center;
}


/* Nav-Baum */
#nav-tree {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-branch {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-left: 1.2rem;
}

.caret {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}

.caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

.caret-down::before {
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Safari */
  transform: rotate(90deg);  
}

.nested {
  display: none;
}

.active {
  display: block;
}

.breadcrumb {
    background-color: transparent;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\00B7";
}
    
.funktionen {
    display: flex;
	justify-content: flex-end;
    margin-bottom: 1rem;
}

.content main {
    padding-top: 1rem;
}

.master-detail li {
    display: flex;
    justify-content: center;
    align-content: center;
    list-style-type: none;
    margin-bottom: .5rem;
}

.master-detail li .card-titel {
    flex-basis: 50%;
    text-align: right;
    padding-right: 1rem;
}

.master-detail li .card-daten {
    color: rgb(160,160,160);
    flex-basis: 50%;
    padding-left: 1rem;
}

.box {
    position: relative;
    margin: 1rem -15px 0;
    border: solid #f8f9fa;
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 3rem;
    border-width: .2rem;
}

.box-title {
    background-color: #f8f9fa;
    font-weight: bold;
    margin-top: -1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: .8rem 1.5rem;
    margin-bottom: 1.5rem;
}

footer {
    background-color: rgb(19, 57, 149);
    padding: 2rem 2rem 2rem 2rem;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    /*
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
	justify-content: space-around;
	align-items: center;
    */
}

h3.footer-title {
    margin: 0 0 20px 0;
    padding: 0 0 15px 0;
    color: #fff;
    position: relative;
}

h3.footer-title::before {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: rgb(255, 117, 3);
}

.footer-block {
    margin-bottom: 4rem;
}

.footer-impressum {
    text-align: center;
}


.footer-funktion {
    color: #fff;
    /* background-color: rgb(19, 57, 149); */
    background-color: rgba(255, 255, 255, .9);
    text-align: center;
    padding: 1rem;

    position: -webkit-sticky; /* Safari */
    position: sticky;
    bottom: 0;
}

@media (prefers-color-scheme: dark) {
    body {
        
        background-color: rgb(19, 57, 149);
        color: #ddd;
    }

    img {
        opacity: .75;
        transition: opacity .5s ease-in-out;
    }
    
    img:hover {
        opacity: 1;
    }

    .navbar {
        background-color: rgb(25, 25, 25);
        border-bottom-color: rgb(50, 50, 50);
    }

    .content {
        background-color: rgb(19, 19, 19);
    }

    #sidebarMenu,
    #sidebar-wrapper {
        border-right-color: rgb(50, 50, 50) !important;
    }

    .navbar-light .navbar-nav .nav-link {
        color: rgba(255, 255, 255, .5);
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link:active,
    .navbar-light .navbar-nav .show>.nav-link {
        color: rgba(255, 255, 255, .3);
    }

    .dropdown-menu {
        background-color: rgb(28, 28, 28);
    }

    .dropdown-item {
        color: rgba(255, 255, 255, .5);
    }

    .dropdown-item:hover {
        background-color: rgb(42, 42, 42);
        color: rgba(255, 255, 255, .5);
    }

    .beitrag {
        border-bottom-color: rgb(50, 50, 50) !important;
    }

    .card, 
    .list-group-item {
        background-color: rgba(255, 255, 255, .1);
    }

    .form-control {
        color: #bbb;
        background-color: rgb(40, 40, 40);
        border-color: #555;
    }

    .form-control[readonly] {
        background-color: rgb(10, 10, 10);
    }

    .form-control:focus {
        color: #ccc;
        background-color: rgb(50, 50, 50);
    }

    .box {
        border: solid #222;
    }

    .box-title {
        background-color: #222;
    }

    .table thead th {
        border-bottom-color: #222;
        border-top-color: #222;
    }

    .table td, .table th {
        border-top-color: #222;
    }

    .modal-content {
        background-color: #222;
    }

    .modal-header {
        border-bottom-color: #111;
    }

    .modal-footer {
        border-top-color: #111;
    }

    .close {
        text-shadow: 0 1px 0 #555;
    }

    .footer-funktion {
        background-color: rgba(255, 255, 255, .05);
    }
}





.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}





.tree, .section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tree li {
  border-bottom: 1px solid #f2f2f2;
  padding: 2px 10px;
}
.tree li:last-child {
  border: 0;
}

.tree label {
    margin-bottom: 0 !important;
}

/* (B) SUB-SECTIONS */
/* (B1) TOGGLE SHOW/HIDE */
.section ul { display: none; }
.section input:checked ~ ul { display: block; }

/* (B2) HIDE CHECKBOX */
.section input[type=checkbox] { display: none; }


/* (B3) ADD EXPAND/COLLAPSE ICON  */
.nosection {
    padding-left: 20px !important;
}
.section { 
  position: relative; 
  padding-left: 20px !important;
}
.section label:after {
  content: "\0002B";
  position: absolute;
  top: 0; 
  left: .5rem;
  padding: 0;
  text-align: center;
  font-size: 1.1rem;
  color: rgb(255, 117, 3);
  transition: all 0.5s;
}
.section input:checked ~ label:after { 
  color: rgba(255, 117, 3, .5);
  transform: rotate(45deg);
}

/* (B4) SUB-SECTION ITEMS */
.section ul { margin-top: 0; }
.section ul li { color: #d43d3d; }




@media screen and (max-width: 767px) {
    .nosection {
        padding-left: 3rem !important;
    }
    .section { 
        padding-left: 3rem !important;
    }
    .section label:after {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .tree li {
        line-height: 2rem;
    }
}





.menubar {
    flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
    padding-bottom: 0;
    padding-top: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(125, 125, 125)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.menubar .navbar-toggler {
    border-radius: 0;
    border: none;
    /*border-right: 1px solid rgba(255,255,255,.5);*/
    border-right: 1px solid #e3ebf6;

    margin-right: 1rem;
}

.menubar .breadcrumb {
    margin-bottom: 0;
    padding: .4rem 1rem;
}

#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -27rem;
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out;
  border-right: 1px solid rgb(240,240,240);
  position: absolute;
  z-index: 10;
  background-color: #fff;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.875rem 1.25rem;
  font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
  width: 25rem;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: -1rem;
}

@media (prefers-color-scheme: dark) {
    .menubar .navbar-toggler {
        border-right: 1px solid rgba(255,255,255,.5);
    }

    #sidebar-wrapper {
        border-right: 1px solid rgb(240,240,240);
        background-color: #fff;
    }
}

/*
@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: -15rem;
  }
}
*/