@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*.e-altrow {
    background: #31373d;
}
    .e-gridhover.e-altrow {
        background: #3f454d;
    }*/

:root {
    --mvs-orange: #ff6600;
    --mvs-orange-hover: #cc5200;
}

.table {
    color: white;
}

.mvs-circle-red {
    height: 20px;
    width: 20px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}
.mvs-circle-yellow {
    height: 20px;
    width: 20px;
    background-color: yellow;
    border-radius: 50%;
    display: inline-block;
}
.mvs-circle-green {
    height: 20px;
    width: 20px;
    background-color: green;
    border-radius: 50%;
    display: inline-block;
}

.mvs-floatlabeldiv {
    margin-top: 20px;
}

.mvs-floatlabel {
    color: #e9ecef;
    font-size: 12px;
    position: absolute;
    transform: translate3d(0px, -20px, 0) scale(1);
}

.e-grid .e-gridheader .e-sortfilter .e-fltr-icon .e-headercelldiv {
    margin: -5px 0px -5px -5px;
}

/*:root * {
    transition: all 0.5s ease-in-out;
}*/

.e-grid .e-row .e-icon-rowdragicon::before {
    transform: translateX(-14px);
}

.mvs-beta-background {
    background: repeating-linear-gradient( -45deg, transparent, transparent 20px, rgba(255, 102, 0, 0.5) 100px, rgba(255, 102, 0, 0.5) 20px);
}

.mvs-demo-background {
    background: repeating-linear-gradient( -45deg, transparent, transparent 20px, rgba(255, 0, 0, 0.5) 100px, rgba(255, 0, 0, 0.5) 20px);
}

.mvs-wrong-database {
    animation: redTransitionLoop 2.5s infinite alternate;
}

.mvs-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg) !important; /* Center and rotate */
    font-size: clamp(1rem, 20vw, 20rem); /* Adjust size as needed */
    font-weight: bold;
    color: rgba(255, 102, 0, 0.08); /* Transparent black */
    pointer-events: none; /* Allow click-through */
    user-select: none; /* Prevent text selection */
    white-space: nowrap; /* Prevent text wrapping */
    z-index: 9999; /* Ensure it stays on top */
    overflow: hidden; /* Ensure no part of the text overflows */
}

@keyframes redTransitionLoop {
    0% {
        background-color: transparent;
    }
    100% {
        background-color: rgba(255, 0, 0, 0.5);
    }
}

.mvs-tooltip {
    position: relative;
    display: inline-block;
    margin: 5px;
}
.mvs-tooltip::after {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125rem;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23ff6600'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25c.09-.656.54-1.134 1.342-1.134c.686 0 1.314.343 1.314 1.168c0 .635-.374.927-.965 1.371c-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486c.609-.463 1.244-.977 1.244-2.056c0-1.511-1.276-2.241-2.673-2.241c-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927c.609 0 1.028-.394 1.028-.927c0-.552-.42-.94-1.029-.94c-.584 0-1.009.388-1.009.94'/%3E%3C/g%3E%3C/svg%3E");
}
    .mvs-tooltip .mvs-tooltiptext {
        visibility: hidden;
        background-color: black;
        color: #fff;
        text-align: center;
        font-size: 1rem;
        padding: 5px;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        z-index: 1;
        width: max-content;
        max-width: 300px;
        bottom: 100%;
        left: 50%;
        transform: translate(-50%, 0%);
        border: solid var(--mvs-orange) 2px;
        /*transition: opacity 0.5s ease-in-out;*/
        animation: hide-show reverse 0.5s;
    }
        .mvs-tooltip .mvs-tooltiptext::before {
            content: " ";
            position: absolute;
            top: 100%; /* At the bottom of the tooltip */
            left: 50%;
            margin-left: -10px;
            border-width: 10px;
            border-style: solid;
            border-color: var(--mvs-orange) transparent transparent transparent;
        }
        .mvs-tooltip .mvs-tooltiptext::after {
            content: " ";
            position: absolute;
            top: 100%; /* At the bottom of the tooltip */
            left: 50%;
            margin-left: -7px;
            border-width: 7px;
            border-style: solid;
            border-color: black transparent transparent transparent;
        }
.mvs-tooltip:hover > .mvs-tooltiptext {
    visibility: visible;
}

.mvs-group {
    border: dashed var(--mvs-orange) 3px;
    border-radius: 10px;
    padding: 2px 5px 5px 5px;
    /*display: flex;*/
    /*align-items: flex-start;*/
    /*flex-direction: column;*/
    /*width: fit-content;*/
    /*margin: 5px;*/
}
    .mvs-group > * {
        margin: 5px;
    }
    .mvs-group.disabled {
        border-color: gray;
    }

.mvs-animtransitions, .mvs-animtransitions * {
    transition: 0.5s ease-in-out;
    transition-property: color, border-color;
}

::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
    background-color: rgba(50,50,50,0.5) !important;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: rgba(50,50,50,0.5) !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background-color: var(--mvs-orange) !important;
    border: none !important;
    border-radius: 6px !important;
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background-color: var(--mvs-orange-hover) !important;
    }

.mvs-selflearning .e-input-group-icon.e-ddl-icon.e-icons.e-ddl-disable-icon {
    /*background: #723D1A !important;*/
    /*background: repeating-linear-gradient( 45deg, rgba(255, 102, 0, 0.5), rgba(255, 102, 0, 0.5) 2px, transparent 2px, transparent 12px );*/
    background: repeating-linear-gradient( 45deg, transparent, transparent 2px, rgba(255, 102, 0, 0.5) 10px, rgba(255, 102, 0, 0.5) 2px);
}

@media (max-width: 500px) {
    .mvs-header {
        flex-wrap: wrap;
    }
}

.mvs-header {
    display: flex;
    width: 100%;
    background-color: #1f1c1c;
    align-items: center;
    padding: 1rem;
    margin: 1em 0 1em 0;
}

    .mvs-header > img {
        max-height: 5rem;
        max-width: 5rem;
        margin: 0 1rem 0 0;
    }

    .mvs-header > h3 {
        display: inline-block;
        margin: 0 1rem 0 0;
    }

    .mvs-header > div, .mvs-switch {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 1rem;
        margin: 0 0.5rem 0 0;
        flex-wrap: wrap;
    }

        .mvs-header > div > * {
            margin-right: 20px;
            width: auto !important;
        }

        .mvs-header > div > p {
            display: inline-block;
        }

        .mvs-header > div > .mvs-header-special {
            display: flex;
            align-items: center;
            border: dashed 2px #ff6600;
            padding: 2px 5px;
            border-radius: 10px;
        }

.mvs-header-div-group {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin: 0 !important;
    /*margin: 0 1rem 0 0;*/
}
    .mvs-header-div-group > * {
        margin-right: 20px;
    }

.btn-top, .btn-top:focus {
    width: 54px;
    height: 54px;
    background-color: black;
    border-color: black;
    margin-left: 2px;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0eg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.wiggle {
    animation: wiggle 0.5s;
}

.wiggle-1 {
    animation: wiggle 0.55s;
}

.wiggle-intense {
    animation: wiggle 0.2s;
}

.wiggle-intense-1 {
    animation: wiggle 0.25s;
}

.mailbox {
    position: relative;
    color: #FF6600;
    font-size: 2em;
}

.notification {
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    /* circle shape, size and position */
    position: absolute;
    left: 1em;
    top: -0.7em;
    min-width: 1.4em; /* or width */
    height: 1.4em;
    border-radius: 0.8em; /* or 50% */
    padding: 0.2em;
    /*border: 0.05em solid white;*/
    background-color: red;
    /* number size and position */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6em;
    color: white;
    font-family: Arial;
}

.e-stackedheadercell {
    color:#ff6600;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000000;
}

a, .btn-link {
    color: #ff6600;
}

h1, h2, h3, h4, h5, h6 {
    color: #ff6600;
}

label {
    /*color: #ff6600;*/
    color: #fff;
}

.e-tab .e-tab-header .e-toolbar-item .e-tab-text,
.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-icon {
    font-size: 20px;
    color: #ff6600;
}

.e-grid .e-headercell .e-headercelldiv {
    color: #ff6600;
}

div#Grid_dialogEdit_wrapper {
    max-height: 100% !important;
} 

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 100;
}

.main {
    flex: 1;
}

.mw-1100 {
}

    .mw-1100 .card,
    .mw-1100 .card > div {
        background-color: #1f1c1c;
    }

    .mw-1100 td,
    .mw-1100 th {
        color: white;
    }

.main .top-row {
    background-color: #000000;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .main .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.centerimage {
    max-width: 100%;
    height: auto;
    margin: 10px auto 20px;
    display: block;
}

.sidebar {
    background-image: linear-gradient(180deg, #000000 20%, #ff6600 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        color: #ff6600;
        font-weight: bold;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    /*background: lightyellow;*/
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    /*app {
        flex-direction: row;
    }*/

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    /*.main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }*/

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.row {
    margin-right: 0px;
}
