/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 65px 0 0; /* Height of navbar */
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 65px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

/*
 * Content
 */

[role="main"] {
    padding-top: 7rem; /* Space for fixed navbar */
}

@media print {
    [role="main"] {
        padding-top: 1rem;
    }
}

/*
 * Navbar
 */

.navbar-brand {
    padding: 0;
}

/*
 MDI
*/

.alert.mdi::before,
.breadcrumb .mdi::before,
.btn.mdi::before,
.card-title.mdi::before,
.card-subtitle.mdi::before,
.card-link.mdi::before,
.dropdown-item.mdi::before,
.list-group-item.mdi::before,
.nav-link.mdi::before {
    font-size: 1.3em;
    line-height: initial;
    position: relative;
    top: 0.2rem;
}

.alert.mdi::before,
.breadcrumb .mdi:not(:empty)::before,
.btn.mdi:not(:empty)::before,
.card-title.mdi:not(:empty)::before,
.card-subtitle.mdi:not(:empty)::before,
.card-link.mdi:not(:empty)::before,
.dropdown-item.mdi:not(:empty)::before,
.nav-link.mdi:not(:empty)::before {
    margin-right: 0.25rem;
}

.list-group-item.mdi:not(:empty)::before {
    margin-right: 0.5rem;
}

.dropdown-item.mdi:not(:empty)::before {
    margin-left: -0.75rem;
}

.alert.mdi::before,
.list-group-item.mdi:not(:empty)::before {
    margin-left: -0.5rem;
}

.modal-title.mdi::before {
    font-size: 1.5em;
    line-height: 0.5;
    position: relative;
    top: 0.26rem;
    margin-right: 0.5rem;
}

/*
Sign in
*/

.form-signin {
    width: 100%;
    max-width: 450px;
    padding: 15px;
    margin: auto;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    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;
}

/* My styles */

.bgpageimage {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    display: block;
    z-index: -1;
    opacity: 0.15;
}

.bgpageimagezakl {
    position: fixed;
    right: 2rem;
    top: 13rem;
    width: 100%;
    display: block;
    z-index: -1;
    opacity: 0.1;
}

@media print {
    .bgpageimagezakl {
        top: 8rem;
    }

    .table td, .table th {
        background: transparent !important;
    }

    .blackcolor {
        color: #000000 !important;
    }
}

* {
    -webkit-print-color-adjust: exact !important; /* Chrome, Safari */
    color-adjust: exact !important; /*Firefox*/
}

.loadOverlay {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.profilBar {
    height: 1rem;
    overflow: hidden;
    border-radius: 0.3rem;
    margin-top: 0.6rem
}

div.profilBar-box-lines {
    top: -0.5rem;
    height: 2rem;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.profilBar-box-lines i {
    position: absolute;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.09);
    top: 0;
}

.profilBar-box-lines i:nth-child(1) {
    left: 0;
}

.profilBar-box-lines i:nth-child(2) {
    left: 25%;
    background: #2DC76D;
}

.profilBar-box-lines i:nth-child(3) {
    left: 50%;
    background: #ffc107
}

.profilBar-box-lines i:nth-child(4) {
    left: 75%;
    background: #D52F2F
}

.profilBar-box-lines i:nth-child(5) {
    left: 100%;
    background: #D52F2F
}

.imtblock_min, .imtblock_norm, .imtblock_max {
    width: 33%;
    height: 5rem;
    float: left;
    text-align: center;
    color: white;
    vertical-align: middle;
}

.imtbar {
    width: 99%;
    height: 2rem;
}

.imtarrow {
    width: 0;
    height: 0;
    border-left: 1rem solid transparent;
    border-right: 1rem solid transparent;
    border-top: 2rem solid #ffc107;
    position: relative;
}

.imtblock_min {
    background: rgb(23,55,94);
    background: linear-gradient(90deg, rgba(23,55,94,1) 0%, rgba(45,199,109,1) 100%);
}

.imtblock_norm {
    background: #2DC76D;
}

.imtblock_max {
    background: rgb(45,199,109);
    background: linear-gradient(90deg, rgba(45,199,109,1) 0%, rgba(213,47,47,1) 100%);
}
