/*-----*/
/* v.6 */
/*-----*/

/* ===== LAYOUT GENERALE ===== */
body {
    font-family: 'Nunito Sans', sans-serif !important;
    padding-top: 105px;
    background-color: #f8f9fa;
}

/* ===== BREADCRUMB BAR ===== */
.breadcrumb-bar {
    background-color: #7BB3D4;
    color: #fff;
    padding: .25rem 1.5rem;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 1049;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    min-height: 35px;
    display: flex;
    align-items: center;
    font-size: .9rem;
}

.breadcrumb-datetime {
    flex: 1 1 0;
    text-align: left;
    white-space: nowrap;
}

.breadcrumb-nav {
    flex: 2 1 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-spacer {
    flex: 1 1 0;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-label {
    margin-right: 8px;
    opacity: .8;
}

/* ===== HEADER PRINCIPALE ===== */
.main-header {
    background-color: #1A759F;
    padding: .5rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    min-height: 70px;
}

.main-header .navbar-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: #fff;
    margin: .2rem .5rem;
    padding: .5rem 1rem;
    font-weight: 600;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    background-color: rgba(255,255,255,.15);
}

/* ===== MODAL LOGIN ===== */
#loginModal .modal-header {
    background-color: #212529;
    color: #fff;
    border-bottom: 1px solid #495057;
}

#loginModal .modal-title {
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
}

#loginModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ===== TABELLE ===== */
.table-header-dark thead th {
    background-color: #212529;
    color: #fff;
}

.table-header-dark thead th a {
    color: #fff;
    text-decoration: none;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
    
    .breadcrumb-bar {
        display: none;
    }
}