﻿/* Navigation */
.fixed-top {
    z-index: 1031;
}

.be-nosidebar-left .be-top-header .be-navbar-header .navbar-brand,
.be-top-header .be-navbar-header .navbar-brand {
    width: 230px;
    background-size: initial !important;
}

.be-top-header .navbar-nav > li > a.nav-link {
    height: 60px;
}

.be-nosidebar-left .be-top-header .be-navbar-header .be-toggle-left-sidebar {
    display: none;
}

.be-icons-nav > li.nav-item.active > a .icon {
    color: #4285f4;
}

.be-left-sidebar {
    margin-top: 61px;
}

/* Modul Drop-Down */
.connection-item:hover {
    border-color: transparent !important;
    background-color: #f5f5f5 !important;
    text-decoration: none;
}

.connection-item.active {
    color: #4285f4 !important;
}

@media (max-width: 767.98px) {
    .be-top-header .page-title {
        display: block;
        position: fixed;
        top: 0;
        left: 55px;
        color: white;
        z-index: 1031;
        float: none;
        padding-left: 0;
    }

    .be-nosidebar-left .be-top-header .page-title {
        left: 0;
    }

    .be-nosidebar-left .be-top-header .be-right-navbar,
    .be-offcanvas-menu .be-top-header .be-right-navbar {
        width: auto;
        top: 0;
        right: 0;
        display: block;
    }

    .be-offcanvas-menu .be-top-header .be-right-navbar {
        left: 50px;
    }

    .be-nosidebar-left .be-user-nav > li.dropdown > a .user-name,
    .be-offcanvas-menu .be-user-nav > li.dropdown > a .user-name {
        display: none;
    }

    .be-user-nav > li.dropdown > a::after {
        display: none;
    }

    .be-nosidebar-left .be-user-nav > li.dropdown > a img,
    .be-offcanvas-menu .be-user-nav > li.dropdown > a img {
        display: block;
    }

    .be-nosidebar-left .be-top-header .be-toggle-left-sidebar,
    .be-offcanvas-menu .be-top-header .be-toggle-left-sidebar {
        line-height: 60px;
        margin-top: 0;
        border-bottom: 1px solid #4285f4;
    }

    .be-top-header .be-user-nav > li.dropdown .dropdown-menu::after {
        left: auto;
        right: 13px;
        border-bottom-color: #4285f4;
    }

    .be-user-nav > li.dropdown .dropdown-menu {
        right: -5px;
        left: initial;
    }

    .be-offcanvas-menu .be-top-header .be-navbar-header .be-toggle-left-sidebar {
        padding: 0;
        text-align: center;
        min-width: 50px;
        line-height: 60px;
    }

    .open-left-sidebar .be-offcanvas-menu .be-top-header .be-navbar-header .be-toggle-left-sidebar {
        background-color: #6aa2ff;
        border-bottom-color: #6aa2ff;
    }

    .be-offcanvas-menu .be-top-header .be-navbar-header .be-toggle-left-sidebar .icon {
        margin-top: -2px;
    }

    .be-icons-nav > li.nav-item.active > a .icon {
        color: #FFFFFF;
    }
}

/* Navigation für Detailseiten */
.nav-detail-container {
    position: fixed;
    top: 60px;
    left: 230px;
    right: 0;
    /*z-index: 1029;*/
}

@media (max-width: 767.98px) {
    .nav-detail-container {
        left: 0;
    }
}

.nav-detail-header {
    color: white;
    background-color: #4285f4;
    padding: 5px 25px 5px 13px;
    height: 56px;
    position: relative;
    z-index: 1;
}

.nav-detail-header-title {
    font-size: 1.2em;
    line-height: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-detail-header-back {
    display: none;
    color: #33333388;
    width: 40px;
    height: 40px;
    font-size: 1.4em;
    margin-right: 4px;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
    outline: 0;
}

    .nav-detail-header-back:hover,
    .nav-detail-header-back:active {
        color: white;
        border-color: rgba(255, 255, 255, 0.25);
        background-color: rgba(255, 255, 255, 0.15);
    }

    .nav-detail-header-back:hover,
    .nav-detail-header-back:active,
    .nav-detail-header-back:visited {
        text-decoration: none;
    }

.nav-detail-header-left {
    display: flex;
    align-items: center;
}

.nav-detail-header-right {
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .nav-detail-header {
        color: white;
        background-color: #4285f4;
        padding: 5px 15px 5px 5px;
        height: 50px;
    }

    .nav-detail-header-back {
        margin-right: 10px;
    }
}

.nav-detail {
    display: flex;
    background-color: white;
    padding: 0;
    min-height: 50px;
    line-height: 40px;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.5);
}

.nav-detail-items {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.nav-detail-item {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

    .nav-detail-item > a {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: center;
        padding: 0 25px;
        color: #404040;
        outline: 0;
    }

@media (max-width: 767.98px) {
    .nav-detail-item > a {
        padding: 0 15px;
    }
}

.nav-detail-item > a:hover,
.nav-detail-item > a:active {
    color: #4285f4;
}

.nav-detail-item > a:hover,
.nav-detail-item > a:active,
.nav-detail-item > a:visited {
    text-decoration: none;
}

.nav-detail-item.active > a {
    background-color: #f0f0f0;
}

.nav-detail-item.disabled {
    cursor: not-allowed;
}

    .nav-detail-item.disabled > a {
        pointer-events: none;
        color: #878787;
    }

.nav-detail-btn {
    transition: background-color 0.15s;
}

    .nav-detail-btn:hover,
    .nav-detail-btn:active,
    .nav-detail-btn:focus {
        color: #FFFFFF !important;
        border-color: #FFFFFF !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

/* Login */
.be-splash-screen,
.be-login,
.be-login .be-content,
.be-login .main-content,
.be-login .splash-container {
    display: flex;
    flex-grow: 1;
}

.be-login .be-content {
    flex-direction: column;
}

.be-login .splash-container {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.be-login .splash-container .card {
    box-shadow: 2px 2px 7px rgba(0,0,0,0.15);
    flex-basis: 401px;
    flex-grow: 0;
    margin-bottom: 15vh;
}

/* Suche für Übersichtsseiten */
.nav-overview-container {
    position: fixed;
    top: 60px;
    left: 230px;
    right: 0;
    /*z-index: 1029;*/
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .nav-overview-container {
        left: 0;
    }
}

.nav-overview-header {
    color: white;
    background-color: #4285f4;
    padding: 5px 25px 5px 25px;
    height: 56px;
    position: relative;
    z-index: 1;
}

.nav-overview-header-title {
    font-size: 1.2em;
    line-height: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-overview-header-left {
    display: flex;
    align-items: center;
}

.nav-overview-header-right {
    display: flex;
    align-items: center;
}

.nav-overview-header-search {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

@media (max-width: 767.98px) {
    .nav-overview-header {
        color: white;
        background-color: #4285f4;
        padding: 5px 15px 5px 15px;
        height: 50px;
    }
}

.nav-overview-btn {
    transition: background-color 0.15s;
}

    .nav-overview-btn:hover,
    .nav-overview-btn:active,
    .nav-overview-btn:focus {
        color: #FFFFFF !important;
        border-color: #FFFFFF !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

/* Table Linked*/
.table-linked > tbody > tr:not(.no-link) > td:not(.no-link) {
    cursor: pointer;
}

/* Sicherstellen, dass zwischen dem letzten Eintrag in der Tabelle und dem card-footer ein border ist. */
.card.card-table .card-footer {
    border-top: 1px solid #dee2e6;
}

/* Fontawesome Body Fade In */
.fontawesome-i2svg-active body.fa-fade-in {
    opacity: 1;
    visibility: visible;
}

body.fa-fade-in {
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s linear;
}

.multi-select-header {
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 4px 10px;
    background-color: #ececec;
    border-bottom: 0;
}

.ms-selectable > .ms-list,
.ms-selection > .ms-list {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    min-height: 300px;
}

.ms-container {
    width: 500px;
}