﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('normalize.css');

:root {
    --app-font-family: 'Big Shoulders Text', sans-serif;
    
    /* Override MudBlazor font vars to use app font */
    --mud-typography-default-family: var(--app-font-family);
    --mud-typography-button-family: var(--app-font-family);
    --mud-typography-body1-family: var(--app-font-family);
    --mud-typography-body2-family: var(--app-font-family);
    --mud-typography-caption-family: var(--app-font-family);
    --mud-typography-h1-family: var(--app-font-family);
    --mud-typography-h2-family: var(--app-font-family);
    --mud-typography-h3-family: var(--app-font-family);
    --mud-typography-h4-family: var(--app-font-family);
    --mud-typography-h5-family: var(--app-font-family);
    --mud-typography-h6-family: var(--app-font-family);
    --mud-typography-overline-family: var(--app-font-family);
    --mud-typography-subtitle1-family: var(--app-font-family);
    --mud-typography-subtitle2-family: var(--app-font-family);
}

/* Force MudBlazor components to respect font var */
.mud-typography,
.mud-button-label,
.mud-input,
.mud-select,
.mud-table-cell,
.mud-chip,
.mud-snackbar,
.mud-dialog-title,
.mud-dialog-content {
    font-family: var(--app-font-family) !important;
}

html, body {
    background-image: linear-gradient(180deg, #000000 0%, #000000 45px, #006488 100%);
    height: 100%;
    color: #e9ecef;
}

body {
    overscroll-behavior: contain;
    font-family: var(--app-font-family) !important;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

thead {
    font-size: 1.2rem;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff !important;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-row {
    padding-left: 0.5rem !important;
    height: 45px;
    display: flex;
    align-items: center;
    /*background-image: linear-gradient(0deg, #000000 0%, #006488 75%);*/
    /*background-image: linear-gradient(180deg, #000000e7 0%, #013a4fe7 500%);*/
    /*background-image: linear-gradient( 180deg, #000000e7 0%, #001E28e7 100%);*/
}

.container {
    height: 100%;
    /*height: 96%;*/
    align-content: center;
}

.card {
    height: 370px;
    margin-top: auto;
    margin-bottom: auto;
    width: 400px;
    background-color: rgba(0,0,0,0.5) !important;
}

.social_icon span {
    font-size: 60px;
    margin-left: 10px;
    color: #FFC312;
}

    .social_icon span:hover {
        color: white;
        cursor: pointer;
    }

.card-header h3 {
    color: white;
}

.social_icon {
    position: absolute;
    right: 20px;
    top: -45px;
}

.input-group-prepend span {
    width: 50px;
    background-color: #FFC312;
    color: black;
    border: 0 !important;
}

input:focus {
    outline: 0 0 0 0 !important;
    box-shadow: 0 0 0 0 !important;
}

.remember {
    color: white;
}

    .remember input {
        width: 20px;
        height: 20px;
        margin-left: 15px;
        margin-right: 5px;
    }

.login_btn {
    color: black;
    background-image: linear-gradient(90deg, #FFC312 0%, #DDA302 50%);
    /*background-color: #b0adad;*/
    /*background-color: #FFC312;*/
    width: 100px;
    font-weight: 700;
}

    .login_btn:active {
        color: black;
        font-size: 0.9rem;
        background-image: linear-gradient(90deg, #ccc 0%, #FFFFFF 50%);
        background-color: white;
    }

    .login_btn:hover {
        color: black;
        background-image: linear-gradient(90deg, #ccc 0%, #FFFFFF 50%);
        background-color: white;
    }

.links {
    color: white;
}

    .links a {
        margin-left: 4px;
    }

.main {
    flex: 1;
    height: 100%;
    /*background-image: linear-gradient(270deg, #b7b7b7b3 0%, #DFDFDF 50%);*/
    overflow: hidden;
    /*position: relative;*/
}

    .main > div {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .main .top-row {
        /*background-color: #f7f7f7;*/
        /*background-image: linear-gradient( 180deg, #000000e7 0%, #013a4fe7 500%);*/
        /*background-image: linear-gradient( 90deg, #001114e0 0%, #013a4fe7 100%);*/
        /*border-bottom: 1px solid #d6d5d5;*/
        justify-content: flex-end;
        height: 45px;
    }

        .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;
        }

.inner_content {
    background-image: linear-gradient( 90deg, #013a4fd4 0%, #383d41da 110%);
    height: 100%;
    /*overflow-y: auto !important;*/
    padding-top: 0.2rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-bottom: 0.2rem !important;
    position: sticky;
    z-index: 3;
    /*color: antiquewhite;*/
    border-left: 2px ridge #607d8b;
    border-top: 2px ridge #607d8b;
    display: inline-block;
    width: 100%;
}

.togglerShow {
    z-index: 3;
    display: inline;
    position: absolute;
    height: 100%;
    background-image: linear-gradient( 90deg, #00151cd4 0%, #050a0eda 100%);
    border-right: 2px ridge #607d8b;
    border-top: 2px ridge #607d8b;
    border-bottom: 2px ridge #607d8b;
}

.togglerHide {
    z-index: 110;
    display: inline;
    position: absolute;
    top: 50%;
    /*background-image: linear-gradient( 90deg, #00151cd4 0%, #050a0eda 100%);*/
}


.inner_content_eval {
    background-image: linear-gradient( 270deg, #00151cd4 0%, #050a0eda 100%);
    height: 100%;
    width: 100%;
    position: relative;
    padding-top: 0.2rem !important;
    padding-left: 0.2rem !important;
    /*padding-right: 1.0rem !important;*/
    padding-bottom: 0.2rem !important;
    position: sticky;
    z-index: 3;
    /*color: antiquewhite;*/
    border-left: 2px ridge #607d8b;
    border-top: 2px ridge #607d8b;
    border-bottom: 2px ridge #607d8b;
    display: inline-block;
    margin-bottom: 0rem;
    overflow-y: auto;
    white-space: nowrap;
}

.nav-menu {
    /*background-image: linear-gradient(180deg, #001E28e7 0%, #003C50e7 100%);*/
    /*height: calc(100% - 56px);*/
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100% - 45px)
}

.navbar {
    background-image: none;
    justify-content: left;
}

a:hover {
    color: var(--mud-palette-primary);
}

.sidebar {
    /*background-image: linear-gradient(180deg, #000000e7 0%, #006488e7 75%);*/
    background-image: none;
    position: sticky;
    z-index: 100;
    /*max-height: 100%*/
    /*height: 100%*/
}

    .sidebar .top-row {
        /*background-color: rgba(0,0,0,0.4);*/
    }

.navbar-brand {
    cursor: pointer;
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif-condensed;*/
    font-size: 1.2rem;
    /*font-variant-caps: unicase;*/
}

    .navbar-brand:active {
        /*font-size: 1.3rem;*/
    }

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    /*font-size: 0.9rem;*/
    font-variant: petite-caps;
    font-size: 1.4rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

    .sidebar .nav-item:active {
        /*font-size: 0.9rem;*/
        font-size: 1.3rem;
        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: 0rem !important;
    padding-left: 0rem !important;
    padding-right: 0rem !important;
    /*height: 96%;*/
    height: calc(100% - 45px);
    /*overflow-y: scroll;*/
    /*height: 100%;*/
    /*border: 1px groove #ccc;*/
    /*    position: sticky;
    z-index: 9;*/
}

.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;
    }

.LogoImage {
    width: 36px;
    height: 36px;
    content: url("/Images/ic_launcher_border2.png");
    z-index: 100;
}

#cb_centerH, #cb_showH, #cb_shortListH {
    vertical-align: -moz-middle-with-baseline;
}

.CenteredTableHead {
    text-align: center;
    vertical-align: bottom !important;
    cursor: pointer;
}

.CenteredTableValue {
    text-align: center;
    vertical-align: bottom !important;
}

.VAlignedTableValue {
    vertical-align: bottom !important;
}

.CenteredTableValueShortList {
    vertical-align: middle !important;
    color: white;
}

.HCentered {
    text-align: center;
}

.Clickable {
    cursor: pointer;
}


.StyledTable {
    /*padding: 0.15rem !important;*/
    border-collapse: inherit !important;
    /*border: inset 3px;*/
    margin-bottom: 0rem !important;
    /*font-family: fantasy;*/
    color: unset;
    height: 100%;
    /*display: inline-block;*/
    display: block;
    overflow: auto;
    /*border-spacing: 0;*/
}

    .StyledTable tr:hover td {
        background-color: rgb(0 0 0 / 40%);
    }

    .StyledTable tr:nth-child(2n) {
        background-color: rgb(0 0 0 / 15%);
    }

    .StyledTable tr:nth-child(2n-1) {
        background-color: rgb(0 0 0 / 25%);
    }

    .StyledTable th {
        /*background-color: rgb(0 0 0 / 90%);*/
        background-color: rgba(16 30 28 / 98%);
        border-right: 1px solid darkgray;
        white-space: nowrap;
    }

        .StyledTable th:active {
            /*font-size: 1.1rem;*/
            color: lightgray;
        }

    .StyledTable td {
        white-space: nowrap;
    }

.MultiLine {
    white-space: unset !important;
    line-height: 1.5rem;
}

.TableHeadLabel {
    margin-bottom: 0rem !important;
    vertical-align: -moz-middle-with-baseline;
}

.Online-CB-Label {
    margin-bottom: 0rem !important;
    margin-left: 12px;
    margin-top: -9px;
    position: absolute;
    font-size: 80%;
}

.Only-Only-CB {
    margin-left: -5px;
    margin-top: -5px;
    position: absolute;
}

.Table-Name-Label {
    text-align: left;
}

td {
    padding: 0.3rem !important;
    border-top: unset !important;
    border-bottom: 1px solid #717171 !important;
}

th {
    /*    border-bottom: 2px solid #717171 !important;
    border-top: unset !important;*/
}



.ShortList {
    white-space: nowrap;
    margin-bottom: 0rem !important;
}

    .ShortList tr:hover td {
        background-color: rgb(0 0 0 / 40%);
    }

    .ShortList tr:nth-child(2n) {
        background-color: rgb(0 0 0 / 15%);
    }

    .ShortList tr:nth-child(2n-1) {
        background-color: rgb(0 0 0 / 25%);
    }

    .ShortList th {
        /*background-color: rgb(0 0 0 / 90%);*/
        background-color: rgba(16 30 28 / 98%);
    }

.top-content {
    z-index: 99;
    position: absolute;
    /*width: 100%;*/
    height: 80px;
    align-items: center;
    bottom: 0px;
    right: 0px;
    background-image: linear-gradient( 270deg, #013a4fcc 0%, #383d41dd 100%);
    overflow-y: auto;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-top-left-radius: 0.5rem;
    box-shadow: 2px 10px 20px rgb(0 0 0 / 70%);
    scrollbar-width: none;
}

/*.top-content {*/
/*cursor: s-resize;*/
/*background-image: linear-gradient( 270deg, #013a4fcc 0%, #383d41dd 100%);
    z-index: 99;
    position: absolute;*/
/*width: 100%;*/
/*align-items: center;
    bottom: 0px;
    right: 0px;*/
/*background-image: linear-gradient( 270deg, #013a4fcc 0%, #383d41dd 100%);
    overflow-y: scroll;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-top-left-radius: 0.5rem;
    box-shadow: 2px 10px 20px rgb(0 0 0 / 70%);
    scrollbar-width: none;
}*/

.top-content-half {
    cursor: default !important;
    height: 40px !important;
}

.top-content::-webkit-scrollbar {
    display: none;
}

.top-content-collapsed {
    animation: collapseToBottom .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.top-content-expanded {
    /*height: 50% !important;*/
    overflow-y: auto;
    animation: expandToTop .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
    overflow-x: hidden;
    /*width: -webkit-fill-available;*/
}

    .top-content-expanded::-webkit-scrollbar {
        display: none;
    }

.shortlist-toggle-expanded {
    animation: expandToggler .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.shortlist-toggle-collapsed {
    animation: collapseToggler .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.shortlist-toggle-half {
    bottom: 40px !important;
    /*height: 19px !important;*/
}

@keyframes expandToggler {
    0% {
        height: 19px;
        bottom: 80px;
    }

    100% {
        height: 50%;
        bottom: 0px;
    }
}

@keyframes collapseToggler {
    0% {
        height: 50%;
        bottom: 0px;
    }

    100% {
        height: 19px;
        bottom: 80px;
    }
}

@keyframes expandToTop {
    0% {
        height: 80px;
    }

    100% {
        height: 50%;
    }
}

@keyframes expandToLeft {
    /*    0% {
        width: inherit;
        display: inherit;
    }

    99% {
        display: inherit;
    }

    100% {
        width: 0;
        display: none;
    }*/

    from {
        width: inherit;
        /* display: inherit;
        visibility: inherit;*/
    }

    to {
        width: 0;
        display: none;
        visibility: collapse;
    }
}

@keyframes expandToRight {
    0% {
        width: 0;
        /*display: inherit;*/
    }

    99% {
        width: inherit;
        display: inherit;
        visibility: inherit
    }
}

@keyframes collapseToBottom {
    0% {
        height: 50%;
    }

    100% {
        height: 80px;
    }
}

.action-button {
    cursor: pointer;
    height: 25px;
    width: 25px;
    /*content: url(https://api.iconify.design/oi/target.svg?color=%23fcfcfc&width=25);*/
    /*background-image: url(/Images/ic_launcher_round.png);*/
    /*    background-color: transparent;*/
    background-size: contain;
    /*background: url('https://api.iconify.design/oi/target.svg?color=%23fcfcfc&width=48') no-repeat center;*/
    /*border: unset;*/
}

    .action-button:hover {
        background-size: auto;
        background-color: #FFC31250;
        border-radius: 0.8rem;
    }

.iconify:hover {
    background-color: #FFC31250;
    color: #ffd117;
    border-radius: 5px;
}


.Language-Menu {
    cursor: pointer;
    top: 3px;
    width: 170px;
    z-index: 101;
    position: absolute;
    display: none;
}

.Language-Menu-Show {
    display: block;
}

.Language-Menu ul {
    margin-top: 5px;
    width: 170px;
    /*margin-left: -35px;*/
    /*right: 95px;*/
    padding: 0px;
    /*background-color: #ffffffd7;*/
    /*border: 1px solid #f8f8f8;*/
    /*    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    border-radius: 5px;*/
    position: fixed;
    box-shadow: 0px 1px 10px rgb(0 0 0 / 50%);
    background-image: linear-gradient( 0deg, #013a4fdc 0%, #383d41dd 100%);
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,.125);
    position: fixed;
    color: azure;
}

    .Language-Menu ul li {
        list-style: none;
        display: flex;
        width: 170px;
        justify-content: space-between;
    }

        .Language-Menu ul li a {
            width: 169px;
            display: block;
            padding: 5px 10px;
            font-size: 1.1rem;
        }

            .Language-Menu ul li a:before {
                content: '';
                display: inline-block;
                width: 32px;
                height: 32px;
                margin-right: 8px;
                vertical-align: middle;
                background-size: cover;
            }

            .Language-Menu ul li a:active {
                font-size: 1.05rem;
            }

                .Language-Menu ul li a:active:before {
                    width: 30px;
                    height: 30px;
                }

            .Language-Menu ul li a:hover {
                background-color: rgb(0 0 0 / 20%);
            }

.Selected-Language {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    line-height: 2;
    width: 55px;
}

    .Selected-Language:before {
        content: '';
        display: block;
        width: 40px;
        height: 40px;
        background-size: cover;
        /*background-image: url("/Images/great-britain-96.png");*/
    }

.de:before {
    background-image: url("/Images/germany-96.png");
}

.en:before {
    background-image: url("/Images/great-britain-96.png");
}

.fr:before {
    background-image: url("/Images/france-96.png");
}

.logout-button:before {
    background-image: url("/Images/logout2.png");
}

.backtojob-button:before {
    background-image: url("/Images/backtojob.png");
}

.Personal-Menu {
    cursor: pointer;
    color: aliceblue;
    margin-left: 3px;
    justify-content: space-between;
    display: inline-block;
    background-image: url('/Images/user1.png');
    vertical-align: middle;
    background-size: cover;
    width: 32px;
    height: 32px;
}

    /*.Personal-Menu:after {
        content: '';*/
    /*background-image: url('https://api.iconify.design/oi/person.svg?color=%23fcfcfc&width=28');*/
    /*background-image: url('/Images/user1.png');
        background-size: cover;
        display: inline-block;
        width: 32px;
        height: 32px;
        vertical-align: middle;
        margin-left: 8px;
    }*/

    .Personal-Menu:hover {
        background-image: url('/Images/user1hover.png');
    }

    .Personal-Menu:active {
        width: 30px;
        height: 30px;
    }

.Username {
    cursor: pointer;
    display: inline-block;
    /*width: 200px;*/
    text-overflow: ellipsis;
}

    .Username:active {
        font-size: 0.9rem;
    }

.JobName {
    font-style: italic;
    display: block;
    padding: 3px;
    text-align: center;
    width: inherit;
    cursor: default;
}

.separator {
    width: 100%;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    border-top: 1px solid rgba(255,255,255,0.5);
}

.Hidden {
    display: none !important;
}

.HiddenAnimateHorizontal {
    animation: expandToLeft .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.ShowAnimateHorizontal {
    animation: expandToRight .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.table-scrollable {
    width: 100%;
    overflow-y: auto;
    margin: 0 0 1em;
}

    .table-scrollable::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 14px;
        height: 14px;
    }

    .table-scrollable::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 3px solid #fff;
        background-color: rgba(0, 0, 0, .3);
    }

table th {
    /*opacity: 0.0;*/
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
}



.First-Column-Head {
    position: sticky;
    z-index: 11;
    left: 0;
    top: 0;
    border-right: 1px solid darkgray;
    /*background-color: rgba(16 30 28 / 98%);*/
}

    .First-Column-Head:active {
        color: unset !important;
    }

.First-Column {
    position: sticky;
    z-index: 9;
    left: 0;
    background-color: rgba(16 30 28 / 98%);
    border-right: 1px solid darkgray;
}

.no-padding {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.ShortTD {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.LongTD {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ShorterTD {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.LED {
    vertical-align: baseline;
    width: 15px;
    height: 15px;
}

.Positions_header {
    /*height: 60px;*/
    padding: 8px;
    text-align: center;
}

    .Positions_header .middle-button {
        margin-left: 10px;
        margin-right: 10px;
    }

.positions_navMenu {
    cursor: pointer;
    display: inline-block;
    width: 30.7%;
    border: 1px solid white;
    border-radius: 25px;
    text-align: center;
    vertical-align: middle;
    height: 40px;
    line-height: 40px;
    /*    margin-top: 8px;*/
    /*background: rgba(0,0,0,0.50);*/
    color: #333333;
    font-size: 1.4rem;
    background-image: linear-gradient( 0deg, #ffc107 0%, #f1c40fac 100%);
    margin-left: 2px;
    margin-right: 2px;
}

    .positions_navMenu:active {
        font-size: 1.3rem;
    }





.positions_navMenu2 {
    color: unset;
    background: #383d418c;
}


.TablePos100 {
    position: absolute !important;
    top: 58px !important;
}

.Positions100 {
    height: calc(100% - 60px) !important;
}

.Positions50 {
    height: calc(50% - 30px) !important;
}

.Positions0 {
    height: 0 !important;
}

.expandFrom50To100 {
    animation: expandFrom50To100 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.expandFrom0To50 {
    animation: expandFrom0To50 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.expandFrom0To100 {
    animation: expandFrom0To100 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.collapseFrom100To0 {
    animation: collapseFrom100To0 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.collapseFrom100To50 {
    animation: collapseFrom100To50 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.collapseFrom50To0 {
    animation: collapseFrom50To0 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.collapseFrom30To0 {
    animation: collapseFrom30To0 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

.expandFrom0To30 {
    animation: expandFrom0To30 0.4s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

@keyframes expandFrom50To100 {
    0% {
        height: calc(50% - 30px);
    }

    100% {
        height: calc(100% - 60px);
    }
}

@keyframes expandFrom0To50 {
    0% {
        height: 0;
    }

    100% {
        height: calc(50% - 30px);
    }
}

@keyframes expandFrom0To100 {
    0% {
        height: 0;
    }

    100% {
        height: calc(100% - 60px);
    }
}

@keyframes collapseFrom100To0 {
    0% {
        height: calc(100% - 60px);
    }

    100% {
        height: 0;
    }
}

@keyframes collapseFrom100To50 {
    0% {
        height: calc(100% - 60px);
    }

    100% {
        height: calc(50% - 30px);
    }
}

@keyframes collapseFrom50To0 {
    0% {
        height: calc(50% - 30px);
    }

    100% {
        height: 0;
    }
}

@keyframes collapseFrom30To0 {
    0% {
        height: 30%
    }

    100% {
        height: 0;
    }
}

@keyframes expandFrom0To30 {
    0% {
        height: 0;
    }

    100% {
        height: 30%;
    }
}

.searchField {
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-radius: 15px;
    border: 0px;
    margin: 5px;
    background: white;
    text-align: center;
}

    .searchField:active {
        font-size: 1.4rem;
    }

.searchBtn {
    width: 27px;
    height: 27px;
    margin-left: -27px;
    margin-top: 7px;
    background: transparent;
    position: absolute;
}

    .searchBtn:active {
        font-size: 1.4rem;
        width: 26px;
        height: 27px;
    }

.Search:active {
    font-size: 1.4rem !important;
}

.popUpLabel {
    text-align: center;
    white-space: break-spaces;
    font-weight: bold;
    width: 100%;
    height: 80%;
    color: white;
}

.Found-Resources {
    background: rgb(10 159 0 / 42%) !important;
    border: 1px solid #fdd835 !important;
}

.Modal-Button {
    cursor: pointer;
    border: 1px solid #424242;
    padding-left: 20px;
    padding-right: 20px;
    margin: 5px;
    font-size: 1.1rem;
}

    .Modal-Button:hover {
        background-color: rgba(0, 0, 0, .2);
    }

    .Modal-Button:active {
        font-size: 1.0rem;
    }

.daterangepicker {
    color: black;
}

.showDisable {
    opacity: 0.3;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 17px;
        width: 17px;
        left: 3px;
        bottom: 4px;
        background-color: #1976d2;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #ffcb31;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.dMap {
    width: 100%;
    position: absolute;
    padding: 0;
    height: 100%;
    top: 0;
}

.expandedMenu {
    background: #dee2e657;
    padding-bottom: 0rem !important;
}

.no-hover:hover {
    background-color: unset !important;
    color: unset !important;
    border-radius: unset !important;
}

.iconify-no-hover .no-hover:hover {
    color: #ffc312 !important;
}

.editModeAni {
    animation: editModeAni 2s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

@keyframes editModeAni {
    0% {
        opacity: 0.2;
        height: 0px;
        width: 0px;
        /*left: unset;*/
    }

    2% {
        opacity: 0.5;
        height: 140px;
        width: 380px;
    }

    80% {
        opacity: 1.0;
        height: 140px;
        width: 380px;
        left: calc(50% - 180px);
    }

    99% {
        opacity: 0.1;
        height: 140px;
        width: 4200px;
        left: calc(50% - 180px);
    }

    100% {
        opacity: 0;
        height: 140px;
        width: 4200px;
        left: 100%;
    }
}

.geozoneAni {
    animation: GeoZoneAni 3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}


@keyframes GeoZoneAni {
    0% {
        opacity: 0.2;
        height: 0px;
        width: 0px;
        /*left: unset;*/
    }

    2% {
        opacity: 0.5;
        height: 120px;
        width: 380px;
    }

    80% {
        opacity: 1.0;
        height: 120px;
        width: 380px;
        left: calc(50% - 180px);
    }

    99% {
        opacity: 0.1;
        height: 120px;
        width: 4200px;
        left: calc(50% - 180px);
    }

    100% {
        opacity: 0;
        height: 120px;
        width: 4200px;
        left: 100%;
    }
}

.mudDropdown {
    margin-top: 0px;
    font-size: 1.2rem;
    /*width: 300px;*/
}

.divFilter {
    width: 100%;
}

.tbTimeline {
    /*table-layout: fixed;*/
    width: 400px;
    /*font-size: 0.75rem;*/
    font-size: 1rem;
}

    .tbTimeline tr {
        /*line-height: 0.75rem;*/
        line-height: 1rem;
    }

    .tbTimeline td {
        padding: 0 !important;
    }

.divTimeline {
    background-color: #E6F7FF55;
    margin: 1px;
    height: 300px;
    position: relative;
}

.divTimelineTrips {
    top: 1px;
    position: absolute;
    background-color: #E6F7FF55;
    /*height: 0.75rem;*/
    width: 100%;
    height: calc(100% - 2px);
    margin: 1px 0 1px 0;
}

.tbTimelineHeader {
    border-left: 1px solid #717171 !important;
    text-align: left;
}

.tbTimelineHeader2 {
    /*border-left: 1px solid #717171 !important;*/
    /*text-align: center;*/
}

.timeLineBreaks {
    position: absolute;
    cursor: pointer;
    width: 100%;
}

    .timeLineBreaks:hover {
        /* background: rgba(255, 50, 50, 0.8); */
        background: linear-gradient(to right, rgba(255, 150, 150, 0.2), rgba(255, 0, 0, 0.8), rgba(255, 150, 150, 0.2));
    }

.navMenu {
    font-size: 23px;
    color: white;
}


.tbTimelineInfo {
    /*font-size: 10px;*/
    white-space: normal;
    border: 1px solid white;
    /*overflow: scroll;*/
    /*display: block;*/
}

    .tbTimelineInfo td {
        border-bottom: 1px solid white;
        text-align: right;
        padding-right: 5px;
    }

        .tbTimelineInfo td:nth-child(2) {
            text-align: left;
        }

    .tbTimelineInfo th {
        border-bottom: 1px solid white;
        text-align: right;
        padding-right: 5px;
    }

        .tbTimelineInfo th:nth-child(2) {
            text-align: left;
        }

button:focus {
    outline: none;
    box-shadow: none;
}


.timeLinePos {
    /* background: rgba(144, 238, 144, 0.6); */
    /* background: linear-gradient(to bottom, rgba(144, 238, 144, 0.6), white); */
    position: absolute;
    height: 100%;
    background: linear-gradient(to right, rgba(200, 247, 200, 0.6), rgba(100, 232, 100, 0.6), rgba(200, 247, 200, 0.6));
    border: 1px solid black;
    border-radius: 2px 2px 2px 2px;
    cursor: pointer;
}

    .timeLinePos:hover {
        /* background: rgba(255, 50, 50, 0.8); */
        background: linear-gradient(to right, rgba(255, 150, 150, 0.8), rgba(255, 0, 0, 0.8), rgba(255, 150, 150, 0.8));
    }

.timeLineAudio {
    /* background: rgba(144, 144, 238, 0.6); */
    position: absolute;
    height: 100%;
    background: linear-gradient(to right, rgba(200, 200, 247, 0.6), rgba(100, 100, 232, 0.6), rgba(200, 200, 247, 0.6));
    border: 1px solid black;
    border-radius: 2px 2px 2px 2px;
    cursor: pointer;
}

    .timeLineAudio:hover {
        /* background: rgba(255, 50, 50, 0.8); */
        background: linear-gradient(to right, rgba(255, 150, 150, 0.8), rgba(255, 0, 0, 0.8), rgba(255, 150, 150, 0.8));
    }

.timeLineSelected {
    position: absolute;
    height: 100%;
    background: rgba(255, 0, 0, 0.8);
    border: 2px solid black;
    border-radius: 2px 2px 2px 2px;
    cursor: pointer;
}

    .timeLineSelected:hover {
        background: linear-gradient(to right, rgba(255, 0, 0, 0.8), rgba(255, 150, 150, 0.8), rgba(255, 0, 0, 0.8));
    }

.divTlHeader {
    padding-left: 2px;
}

.mud-table-cell {
    padding: 4px !important;
    padding-inline: 4px !important;
}

.mud-table-row-expander {
    margin: 0 !important;
}

.mud-table-root td:first-child {
    width: 1px;
}


.mud-table-root th:first-child {
    width: 1px;
}

.download {
}

    .download :hover {
        text-decoration: underline;
        cursor: pointer;
    }

.downloadNoFile {
    color: gray;
}

.mud-popover.mud-popover-open {
    /*bottom: 0;*/
    overflow: auto;
    margin-top: 16px;
}

.mud-picker-view {
    margin-top: 0;
}

.locationButton {
}

    .locationButton :active {
        font-size: 1.05rem;
    }

    .locationButton :hover {
        background-color: rgb(0 0 0 / 20%);
    }

.locationIconButton {
}

    .locationIconButton :active {
        font-size: 1.6rem;
    }

.changeLog {
    background: #212529e7;
    display: none;
    position: absolute;
    height: auto;
    z-index: 4;
    top: calc(50% - 170px);
    border: 2px solid White;
    border-radius: 20px;
}

.followvtu {
    padding: 5px;
    border: 1px solid #ffc107;
    border-radius: 20px;
    background: #212529e7;
    position: absolute;
    z-index: 4;
    left: 0; /*calc(50% - 450px);*/
    top: 50px; /*calc(50% - 450px);*/
    height: auto;
    font-size: 100%;
}

.fencetemplate {
    padding: 5px;
    border: 1px solid #ffc107;
    border-radius: 20px;
    background: #212529e7;
    position: absolute;
    z-index: 4;
    left: 0; /*calc(50% - 450px);*/
    top: 50px; /*calc(50% - 450px);*/
    height: auto;
    font-size: 100%;
}

.eventalarmlist {
    padding: 5px;
    border: 1px solid #ffc107;
    border-radius: 20px;
    background: #212529e7;
    position: absolute;
    z-index: 4;
    left: 0; /*calc(50% - 450px);*/
    top: 50px; /*calc(50% - 450px);*/
    height: auto;
    font-size: 100%;
}

.eventalarmlisttable {
    height: 350px;
    overflow: auto;
}

/*.bottomNoShortList {
    bottom: 0px;
}

.bottomHalfShortList {
    bottom: 40px;
}

.bottomFullShortList {
    bottom: 80px;
}*/
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    display: none;
}

.audio_panel_full {
    height: 255px;
}

.audio_panel_half {
    height: 135px;
}

.audio_panel_route {
    height: 160px;
}

.FollowThreeValues {
    background-color: unset;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#divDeviceSms {
    background: #212529e7;
    display: none;
    position: absolute;
    height: auto;
    z-index: 4;
    top: calc(50% - 170px);
    border: 2px solid White;
    border-radius: 20px;
}

/*#divDeviceSms {
    background: #212529e7;
    display: none;*/ /* wird von dir per JS/C# ein-/ausgeblendet */
    /*position: fixed;*/ /* am Viewport kleben */
    /*left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;*/
    /* Rahmen/Optik */
    /*border: 2px solid white;
    border-radius: 20px;*/
    /* GRÖSSE: begrenzt auf den Viewport */
    /*width: min(700px, 95vw);
    max-height: 80vh;*/ /* <<< WICHTIG: Popup insgesamt begrenzen */
    /*overflow: hidden;*/ /* <<< Body soll scrollen, nicht das Root */
    /* FLEX: Kopf/Body/Fuß sauber trennen */
    /*display: flex;
    flex-direction: column;
    min-height: 0;*/ /* <<< erlaubt innerem Scroller Overflow */
/*}*/

#divDeviceProfile {
    background: #212529e7;
    display: none;
    position: absolute;
    height: auto;
    z-index: 4;
    top: calc(50% - 170px);
    border: 2px solid White;
    border-radius: 20px;
}

.update-ui {
    background: #052b3ee3;
    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;
}

    .update-ui .dismiss {
        cursor: pointer;
        position: absolute;
    }

    .update-ui a {
        color: #ffc312;
    }

.stopInfoMobile {

}

/* Styles für Adminoberfläche */

.inner_content_admin {
    height: 100%;
    width: 100%;
    display: inline-block;
    border-left: 2px ridge #607d8b;
    border-top: 2px ridge #607d8b;
    /*background-image: linear-gradient( 90deg, #013a4fd4 0%, #383d41da 110%);*/
    z-index: 3;
    /*overflow-y: auto !important;*/
    /*padding-top: 0.2rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-bottom: 0.2rem !important;*/
    /*position: sticky;*/
    /*color: antiquewhite;*/
}

.adminContentExpanded {
    width: calc(100% - 28px) !important;
}

.adminContent {
    /*background-image: linear-gradient( 270deg, #00151cd4 0%, #050a0eda 100%);*/
    /*height: 100%;
    overflow-y: auto;
    overflow-x: hidden;*/
    /*background-color: #0a3344;*/
    margin-top: -2px;
}

.adminTabContent {
    height: calc(100vh - 160px);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 1100px;
    background: transparent;
    /*background-color: #552B3AE6;*/
}

.adminToggler {
    /*background-image: linear-gradient( 270deg, #00151cd4 0%, #050a0eda 100%);*/
    /*background-color: #0a3344;*/
    float: left;
    width: 28px;
    height: 100%;
    position: relative;
    border-right: 1px solid #9E9E9E;
    border-top: 1px solid #9E9E9E;
    margin-top: -2px;
}

.adminSort {
    padding: 2px 15px 15px 15px;
}

.adminSortSelect {
    font-size: 1.2rem;
}

.adminFilter {
    padding: 25px 0px 0px 4px !important;
}

.adminFilterCheckbox {
    padding: 0px 0px 0px 2px !important;
}

.adminMenu {
    /*background-image: linear-gradient( 270deg, #00151cd4 0%, #050a0eda 100%);*/
    /*background-color: #0a3344;*/
    padding-top: 0.2rem !important;
    padding-left: 0.2rem !important;
    padding-right: 1.0rem !important;
    padding-bottom: 0.2rem !important;
    z-index: 3;
    /*color: antiquewhite;*/
    /*border-left: 2px ridge #607d8b;
    border-top: 2px ridge #607d8b;
    border-bottom: 2px ridge #607d8b;*/
    margin-bottom: 0rem;
    white-space: nowrap;
    position: relative;
    display: grid;
    grid-auto-rows: 1fr;
    border-top: 1px solid #9E9E9E;
    margin-top: -2px;
}
    .adminMenu.adminMenu-small {
        width: 410px !important;
    }

.adminMenuItem {
    /*background-color: #006488E6;*/
    min-height: 50px;
    width: 100%;
    border-top: 1px solid #9E9E9E;
}

.adminMenuItemSelected {
    /*background-color: #002B3AE6 !important;*/
    /*background-color: #006488E6;*/
    /*background-color: #003288 !important;*/
    background-color: rgb(0 119 203 / 80%) !important;
}

.adminItemMarked {
    /*background-color: #00aacc44 !important;*/
    background-color: #4aaf61 !important;
}

.adminItemElapsed {
    font-style: italic;
    color: #f9dfde;
}


.trans-background {
    height: 100%;
    background: transparent
}

.adminTabButtons {
    padding-left: 10px;
}

.adminItemDescription {
    padding-bottom: 18px;
    padding-left: 1rem;
}

.adminTableListItem {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.adminSearch {
    max-width: 470px;
    padding: 15px;
    grid-column: 1;
    grid-row: 1;
    /*position: relative;*/
}

.adminTable {
    /*border: 1px solid white;*/
    display: block;
    /* overflow: auto; */
    width: auto;
    max-width: 450px;
    margin: 5px;
}

    .adminTable thead {
        text-align: center;
        width: 100%;
        font-weight: bold;
        display: table;
    }

    .adminTable tbody {
        width: 100%;
        display: table;
    }

    .adminTable tr {
        padding-bottom: 7px;
    }

    .adminTable td {
        border-bottom-width: 0 !important;
        /* height: 200px; */
        margin: 0px;
        height: 350px;
        margin: 0;
        padding: 0 !important;
        width: 200px;
    }

.adminTableList {
    height: 100%;
    overflow: auto;
    /* display: block; */
    width: auto;
    min-width: 320px;
    border: 1px solid white;
    border-radius: 2px;
    line-height: 1.2;
    list-style-type: none;
    padding-left: 0;
    padding-top: 3px;
    white-space: nowrap;
}


.adminTableAccepted {
    background-image: linear-gradient( #015a4fd4 0%, #385d41da 110%);
}

.adminTableRejected {
    background-image: linear-gradient( #433333d4 0%, #644444d4 110%);
}

.trans-background {
    background: transparent
}


.dotGreen {
    height: 10px;
    width: 10px;
    background-color: #00CC00;
    border-radius: 50%;
    display: inline-block;
}

.dotRed {
    height: 10px;
    width: 10px;
    background-color: #CC0000;
    border-radius: 50%;
    display: inline-block;
}

.dotOrange {
    height: 10px;
    width: 10px;
    background-color: darkorange;
    border-radius: 50%;
    display: inline-block;
}

.dotBlue {
    height: 10px;
    width: 10px;
    background-color: dodgerblue;
    border-radius: 50%;
    display: inline-block;
}

.dotGray {
    height: 10px;
    width: 10px;
    background-color: lightgray;
    border-radius: 50%;
    display: inline-block;
}

.adminHeader {
    border: 1px solid #9E9E9E;
}

.adminTabBack {
    background-color: #013a4f2e;
}

.adminTableBack {
    background-color: #013a4f00 !important;
}

/* SCROLLBAR-Bereich (Mitte) */
#divDeviceSms .sms-popup-body {
    flex: 1 1 auto; /* nimmt den restlichen Platz */
    min-height: 0; /* <<< zwingend bei verschachteltem Flex/Grid */
    overflow-y: auto; /* <<< hier wird gescrollt */
    padding-right: 4px; /* etwas Platz für Scrollbar */
    max-height: 300px;
    padding-left: 8px;
}

    /* Optional: dezentere Scrollbar */
    #divDeviceSms .sms-popup-body::-webkit-scrollbar {
        width: 8px;
    }

    #divDeviceSms .sms-popup-body::-webkit-scrollbar-thumb {
        border-radius: 4px;
    }

.fav-toggle-btn {
    vertical-align: middle;
}

/* Kopf: Text ellipsisieren, Platz für Pfeil lassen */
.truncate-select .mud-input-slot {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-right: 36px; /* Platz für Dropdown-Pfeil */
}

    /* Nur im Kopf kürzen (Dropdown darf umbrechen) */
    .truncate-select .mud-input-slot .select-text {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.mud-popover .select-text {
    white-space: normal;
}

/* Stern im Kopf ausblenden, in Liste zeigen */
.select-with-stars .mud-input-slot .fav-star {
    display: none;
}

.header-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2100;
}

/* Anchor, damit Popover richtig positioniert */
.system-pill-anchor {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Desktop Pill */
.system-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    background: rgba(255, 235, 150, 0.95);
    border: 1px solid rgba(220, 180, 60, 1);
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    color: #202020;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .system-pill:hover {
        background: rgba(255, 235, 150, 1);
    }

/* Punkt links */
.system-pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFC800;
    border: 1px solid rgba(0,0,0,0.15);
    display: inline-block;
}

/* Text */
.system-pill-text {
    font-weight: 600;
    white-space: nowrap;
}

/* Kleiner Caret */
.system-pill-caret {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 2px;
}

/* Mobile Badge */
.system-pill-mobile {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 235, 150, 0.95);
    border: 1px solid rgba(220, 180, 60, 1);
    cursor: pointer;
    user-select: none;
    font-size: 0.85rem;
    color: #202020;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.system-pill-i {
    font-weight: 700;
    line-height: 1;
    margin-left: 2px;
}

/* Popover Styling */
.system-popover {
    min-width: 260px;
    max-width: 360px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #1f1f1f;
    color: white;
}

.system-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.system-popover-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.system-popover-body {
    font-size: 0.9rem;
    line-height: 1.35rem;
    opacity: 0.95;
}

.system-popover-footer {
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Mobile-Fix: Popover darf nicht über den Rand hinausragen */
@media (max-width: 600px) {
    /* Class wird auf den Popover-Container gelegt */
    .mud-popover.system-popover {
        left: 8px !important; /* Abstand links */
        right: 8px !important; /* Abstand rechts */
        width: auto !important; /* automatisch zwischen left/right */
        max-width: none !important;
        transform: none !important; /* verhindert seitliches "rausrutschen" */
        box-sizing: border-box;
    }

    /* Inhalt soll sich an die neue Breite anpassen */
    .system-popover {
        width: 100%;
        max-width: 100%;
    }
}

