/**
 * /* GLOBAL STYLES
 * --------------------------------------------------
 *
 * @format
 */

/* Padding below the footer and lighter body text */

body {
    background: url(/images/background-transp.png);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: right 70%;
    background-color: #303030;
    background-origin: border-box;
    background-attachment: fixed;
    background-blend-mode: overlay;
    padding-top: 63px;
    padding-bottom: 55px;
}



sidebar {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 151px;
    z-index: 3000;
}

sidebar::before {
    position: absolute;
    top: -60px;
    left: 0px;
    height: 320px;
    width: 151px;
    content: "";
    background: url(/images/Lumensoft_bloks_clean.svg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 3004;
}
sidebar::after {
    position: absolute;
    top: 250px;
    bottom: 0px;
    left: 0px;
    width: 151px;
    content: "";
    background: url(/images/Lumensoft_lines_clean.svg);
    background-repeat: repeat-y;
    background-origin: border-box;
    background-attachment: fixed;

    z-index: 3006;
    content: "";
}

nav .navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: -0.3rem;
    margin-bottom: -0.2rem;
}

section {
    position: relative;
}

section > .container-fluid {
    position: relative;
    
}

@media (min-width: 768px) {
    .navbar-brand {
        margin-left: 130px !important;
    }
    section .body {
        font-size: 1.5rem;
    }
    .text-md-nowrap {
        white-space: nowrap!important;
        text-align:start!important;
    }
}
@media (min-width: 576px) {
    section > .container-fluid,
    section > .container {
        padding-left: 100px !important;
    }
    .navbar-toggler {
        margin-left: 130px !important;
    }

    nav .navbar-collapse {
        margin-left: 150px;
    }
    sidebar {
        display: block;
    }
    .footer-text {
        margin-left: 90px;
    }
}

section > .container-overlay {
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

section:nth-child(even) > .container-overlay {
    opacity: 0.7;
}

section:nth-child(odd) > .container-overlay {
    opacity: 0.8;
}

.bg-light-50 {
    background-color: rgba(255, 255, 255, 0.5);
}

section .title {
    text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.5), 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.card.bg-secondary h2 {
    color: rgb(11 78 177) !important;
}

.shadow-lt {
    border-color: rgb(85, 85, 85) !important;
    border-width: 2px !important;
    box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

@media (min-width: 992px) {
    .col-lg {
        flex: 1 0 0% !important;
    }
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    all: initial;
    --tooltip-color: rgb(233, 227, 227);

    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(var(--translate-y));

    transform-origin: bottom center;
    display: none;
    z-index: 2000;
}

[data-tooltip]::before {
    -webkit-transition: opacity 5s ease-in-out;
    -moz-transition: opacity 5s ease-in-out;
    transition: opacity 5s ease-in-out;

    opacity: 0;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;

    --translate-y: calc(-110%);

    content: attr(data-tooltip);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 90%;
    line-height: 1.2em;
    white-space: pre;
    color: rgb(0, 0, 0);
    padding: 0.3rem;
    border-radius: 0.1rem;
    width: fit-content;
    max-width: 35rem;
    max-height: 15rem;
    background: var(--tooltip-color);
    overflow: hidden;
    overflow-clip-margin: 0.5rem;
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.65);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.65);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.65);
}
.table tr:nth-child(1) [data-tooltip]::before {
    --translate-y: calc(110%);
}

[data-tooltip]:hover::before {
    display: block;
    opacity: 1;
}
