﻿/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
    font-display: swap;
}
/* open-sans-600 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v34-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v34-latin-600.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v34-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v34-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
    font-display: swap;
}

* {
    font-family: "Open Sans", sans-serif;
    color: #17181c;
    margin: 0;
    padding: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    display: grid;
    width: 100vw;
    place-content: center;
}

.ui-page {
    width: inherit;
    height: inherit;
    background-color: #f3f8fb;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ui-content {
    grid-area: container;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    -webkit-column-gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    padding: 1rem 1rem 4.5rem 1rem;
}

    .ui-content::-webkit-scrollbar {
        width: 5px;
    }

    .ui-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .ui-content::-webkit-scrollbar-thumb {
        background: #d1d6de;
        border-radius: 2rem;
    }

        .ui-content::-webkit-scrollbar-thumb:hover {
            background: #c4c9d2;
        }

.ui-header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 6px 1px #78849412;
    z-index: 50;
    grid-area: header;
    height: 3rem;
    width: 100%;
}

    .ui-header #logo {
        width: 120px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: all 300ms ease-in-out;
    }

    .ui-header #menu {
        background-color: #ffffff;
        outline: none;
        border: none;
        display: grid;
        place-content: center;
        padding: 1rem;
        transition: all 300ms ease-in-out;
        cursor: pointer;
    }

        .ui-header #menu img {
            width: 1.25rem;
            height: 1rem;
        }

#navigation {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 6px 1px #7884941d;
    position: sticky;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 50;
    grid-area: navigation;
    height: 3.5rem;
}

    #navigation .ui-link {
        background-color: transparent;
        outline: none;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        transition: all 300ms ease-in-out;
        width: 100%;
    }

        #navigation .ui-link:hover {
            background-color: #e5edfa8e;
            cursor: pointer;
        }

        #navigation .ui-link .ui-btn {
            width: 100%;
            background-color: transparent;
            border: none;
            margin: 0.5rem;
        }

            #navigation .ui-link .ui-btn img {
                width: 1.24rem;
                height: 1.4rem;
            }

            #navigation .ui-link .ui-btn p {
                font-size: 10px;
                color: #b0b9c5;
            }

    #navigation .active-nav p, #navigation .active-nav img {
        filter: invert(71%) sepia(100%) saturate(2050%) hue-rotate(193deg) brightness(117%) contrast(105%);
    }

    #navigation .ui-link .ui-btn {
        position: relative
    }

        #navigation .ui-link .ui-btn .counter {
            position: absolute;
            left: calc(50% + 10px);
            top: -6px;
            font-size: 10px;
            background-color: #1CA5FF;
            background: linear-gradient( 100deg, rgba(102, 212, 255, 1) 6%, rgba(80, 179, 255, 1) 100% );
            border-radius: 50%;
            padding: 2px;
            color: white;
            height: 1rem;
            min-width: 1rem;
        }

.divider-v {
    width: 100%;
    height: 2px;
    border-bottom: 1px solid #8f9aaa3f;
    margin: 1rem 0;
}

/*
    Übernommen aus anderen .css
*/
#route-head {
    display: flex;
    align-items: center;
}

    #route-head .ui-link {
        align-items: center;
    }

    #route-head h3 {
        margin: 0 1rem;
    }

#route-head-button {
    background-color: #d1dae08c;
    outline: none;
    border: none;
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
    border-radius: 100%;
    display: grid;
    place-content: center;
}

    #route-head-button img {
        width: 1rem;
        height: 1rem;
        transform: rotateZ(90deg);
    }

/*
    Übernommen aus jquery.css
*/
.ui-collapsible-heading {
    margin: 0.25rem 0rem 0.25rem 0rem;
}

.ui-collapsible-heading-status {
    content: url(../assets/caret-ico.svg);
    width: 1rem;
    float: left;
    transition: all 300ms ease-in-out;
    margin: 0.5rem 0.5rem 0.5rem 0rem;
}

.ui-icon-minus .ui-collapsible-heading-status {
    transform: rotate(-180deg);
}

.ui-collapsible-content-collapsed {
    display: none;
}

.ui-btn {
    text-decoration: none !important;
}

.ui-screen-hidden {
    display: none !important;
}

.ui-loader {
    display: none;
    z-index: 9999999;
    position: fixed;
    top: 50%;
    left: 50%;
    border: 0;
}

.ui-popup-hidden {
    left: 0;
    top: 0;
    position: absolute !important;
    visibility: hidden;
}

.ui-popup-truncate {
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}

.ui-btn-right {
    background: rgb(102, 212, 255);
    background: linear-gradient( 100deg, rgba(102, 212, 255, 1) 6%, rgba(80, 179, 255, 1) 100% );
    outline: none;
    border: none;
    border-radius: 100%;
    color: white;
    font-size: 1.65rem;
    font-weight: 400;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-content: center;
    text-align: center;
    vertical-align: middle;
    line-height: 0;
    box-shadow: 3px 20px 27px -12px #60849dc4;
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    -webkit-tap-highlight-color: transparent;
}


[type="checkbox"], [type="CHECKBOX"] {
    position: relative;
    height: 2rem;
    width: 2rem;
    min-width: 2rem;
    z-index: 0;
    -webkit-appearance: none;
    content: "&#10004";
    vertical-align: middle;
}

    [type="checkbox"]:checked, [type="CHECKBOX"]:checked {
        background-image: url("../assets/checked.svg");
    }

.ui-navbar {
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #8f9aaa3f;
    box-shadow: 0px 8px 16px 0px #72778e29;
    /*Fix*/
    padding-inline-start: 0;
}

    .ui-navbar ul {
        display: grid;
        overflow: hidden;
    }

    .ui-navbar .ui-grid-b {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .ui-navbar li {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        justify-content: space-between;
        border-bottom: 1px solid #8f9aaa3f;
        transition: all 300ms ease-in-out;
        cursor: pointer;
    }

        .ui-navbar li:hover {
            background-color: #e5edfa8e;
        }

        /*fix*/
        .ui-navbar li a {
            padding: 0.5rem;
            width: 100%;
            font-size: 0.85rem;
        }

        .ui-navbar li h3 {
            font-size: 14px;
            margin: 0.25rem 0;
        }

        .ui-navbar li p {
            color: #27283080;
            margin: 0.125rem 0;
        }

        .ui-navbar li button {
            background-color: #d1dae08c;
            outline: none;
            border: none;
            width: 1.8rem;
            height: 1.8rem;
            border-radius: 100%;
            display: grid;
            place-content: center;
            cursor: pointer;
            transition: all 300ms ease-in-out;
        }

            .ui-navbar li button:hover {
                background-color: #d1dae0c2;
            }

    .ui-navbar .ui-grid-c li:last-child {
        border-bottom: none;
    }

    .ui-navbar li button img {
        width: 0.72rem;
        height: 0.72rem;
        transform: rotateZ(-90deg);
    }

    .ui-navbar .ui-grid-a .ui-block-b {
        border-left: 1px solid #8f9aaa3f;
        border-right: 1px solid #8f9aaa3f;
    }

    .ui-navbar .ui-grid-b .ui-block-b {
        border-left: 1px solid #8f9aaa3f;
        border-right: 1px solid #8f9aaa3f;
    }


.ui-input-search {
    border-bottom: 1px solid #8f9aaa79;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 300ms ease-in-out;
    /*Suchicon hack*/
    background-image: url(../assets/search-ico.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1rem;
}

    .ui-input-search img {
        width: 1.125rem;
        margin: 0 0.64rem 0 1rem;
        opacity: 0.72;
        transition: all 300ms ease-in-out;
        position: absolute;
    }

    .ui-input-search input[type="text"] {
        background-color: transparent;
        outline: none;
        border: none;
        padding: 0.64rem 0;
        text-indent: 2rem;
        width: 100%;
    }

    .ui-input-search:hover img {
        opacity: 1;
    }

    .ui-input-search input[type="text"]:focus + img {
        opacity: 1;
        filter: invert(71%) sepia(100%) saturate(10000%) hue-rotate(193deg) brightness(117%) contrast(105%);
    }

#searching {
    display: none;
}

#searchingText {
    color: #8b949f;
}

.ui-input-clear {
    display: none;
    /*background: url(../assets/dashboard-ico.svg);
        width: 1.125rem;
        height: 1.125rem;
        color: transparent;*/
}

input::placeholder {
    color: #27283080;
    opacity: 0.5;
}


.ui-input-text [type=time]::-webkit-calendar-picker-indicator {
    width: 0.64rem;
    height: 0.64rem;
    background: url(../assets/time.svg);
    margin-right: 1rem;
    background-repeat: no-repeat;
}

.ui-input-text [type=date]::-webkit-calendar-picker-indicator {
    width: 0.64rem;
    height: 0.64rem;
    background: url(../assets/date.svg);
    margin-right: 1rem;
    background-repeat: no-repeat;
}

input[type="date"], input[type="time"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    vertical-align: middle;
    line-height: 1.25rem;
    padding: 0.64rem 0;
}

.ui-input-text {
    position: relative;
    height: 2.5rem;
}

    .ui-input-text .alt-btn {
        outline: none;
        border: none;
        position: absolute;
        z-index: 2;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.5rem;
        border-radius: 0.25rem;
        background-color: transparent;
        display: grid;
        place-content: center;
        cursor: pointer;
        transition: all 300ms ease-in-out;
        box-sizing: border-box;
    }

    .ui-input-text button:hover {
        background-color: #edf3f5;
    }

    .ui-input-text button:focus {
        background-color: #e8f4f9;
    }

    .ui-input-text button:hover img {
        filter: invert(71%) sepia(74%) saturate(3229%) hue-rotate(180deg) brightness(102%) contrast(101%);
    }

    .ui-input-text button:focus img {
        filter: invert(53%) sepia(27%) saturate(3466%) hue-rotate(175deg) brightness(95%) contrast(103%);
    }

    .ui-input-text button img {
        width: 1rem;
    }

    .ui-input-text .ui-body-c, input {
        outline: none;
        /*position: absolute;*/

        display: inline-block;
        background-color: white;
        border-radius: 0.5rem;
        border: 1px solid #d1dae0;
        width: 100%;
        box-sizing: border-box;
        transition: all 300ms ease-in-out;
        height: 100%;
        text-indent: 0.5rem;
        -webkit-appearance: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        input[type=time] {
            vertical-align: middle;
            -webkit-appearance: none;
            -moz-appearance: none;
        }

.dlgField {
    font-size: 0.75rem;
    margin: 0;
    font-weight: bold;
}

.entryField {
    overflow-x: hidden;
}

/*xml dialog baut automatisch Padding auf Elemente, daher important*/
.entryField {
    padding: 0 0 0 0 !important;
}

    .ui-select {
        position: relative;
        display: inline-block;
        background-color: white;
        border-radius: 0.5rem;
        border: 1px solid #d1dae0;
        width: 100%;
        box-sizing: border-box;
        cursor: pointer;
        transition: all 300ms ease-in-out;
        background-image: url(../assets/caret-ico.svg);
        background-repeat: no-repeat;
        background-position: right 1.25rem center;
        background-size: 0.64rem;
    }

        .ui-select .ui-btn select {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            min-height: 1.5rem;
            min-height: 100%;
            height: 3em;
            max-height: 100%;
            outline: 0;
            -webkit-border-radius: inherit;
            border-radius: inherit;
            -webkit-appearance: none;
            -moz-appearance: none;
            cursor: pointer;
            filter: Alpha(Opacity=0);
            opacity: 0;
            z-index: 2;
        }

        .ui-select:hover {
            background-color: #f2f6fa;
        }

        .ui-select .ui-btn {
            display: flex;
            justify-content: space-between;
            width: 100%;
            height: 2.5rem;
            box-sizing: border-box;
            align-items: center;
            padding: 0 0.64rem;
        }

            .ui-select .ui-btn img {
                width: 0.64rem;
            }

            .ui-select .ui-btn span {
                display: block;
                flex-direction: column;
                user-select: none;
                font-size: 0.85rem;
                overflow: hidden;
                text-overflow: ellipsis;
                width: calc(100% - 1.25rem);
            }


        .ui-select select {
            position: absolute;
            background-color: #ffffff;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px #72778e29;
            z-index: 10;
            transition: all 300ms ease-in-out;
            opacity: 0;
            height: 0;
            width: 0;
            box-sizing: border-box;
            border-radius: 0 0 0.5rem 0.5rem;
            top: 72px;
        }

        .ui-select .ui-state-disabled, .entryField .ui-input-text input:read-only {
            opacity: 50%;
            background-color: #f2f6fa;
        }

    .entryField .cmdInlineButton {
        outline: none;
        position: relative;
        background-color: white;
        border-radius: 0.5rem;
        border: 1px solid #d1dae0;
        width: 100%;
        transition: all 300ms ease-in-out;
        display: flex;
        justify-content: space-between;
        height: 2.5rem;
        box-sizing: border-box;
        align-items: center;
        padding: 0 0.64rem;
    }

        .entryField .cmdInlineButton span {
            overflow: hidden;
            text-overflow: ellipsis;
            width: calc(100% - 1.25rem);
            text-align: left;
        }


        .entryField .cmdInlineButton::before {
            content: "";
            position: absolute;
            width: 0.64rem;
            height: 0.64rem;
            right: 1.25rem;
            top: 1rem;
            background: url(../assets/caret-ico.svg);
            background-repeat: no-repeat;
        }

        .entryField .cmdInlineButton:hover {
            background-color: #edf3f5;
        }

        .entryField .cmdInlineButton:disabled {
            opacity: 50%;
            background-color: #f2f6fa;
        }

/*Für PackagesMain*/
.loading-spinner:before {
    content: '';
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-image: url('../../../jquery/images/ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: top 50% center;
    background-color: rgba(255,255,255,0.8);
    z-index: 9999;
}

.ui-textinput-autogrow, textarea.ui-input-text {
    outline: none;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #d1dae0;
    width: 100%;
    box-sizing: border-box;
    transition: all 300ms ease-in-out;
    padding: 0.64rem;
    height: 25svh;
}