﻿body {
    --rz-body-padding: 0px !important;
    --rz-tabs-padding: 0px !important;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}
:root {
    --rz-selectbar-border-radius: calc(var(--rz-border-radius)* 7);
    --sat: env(safe-area-inset-top);
    --sat: env(safe-area-inset-bottom);
    --sat: env(safe-area-inset-left);
    --sat: env(safe-area-inset-right);
}
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.page-header {
    background-color: #f3f5f7;
    z-index: 3;
    width: 100%;
    display: flex;
    padding: 0rem 0.5rem;
    min-height: 60px;
    justify-content: space-between;
    align-items: center;
}

.rz-header {
    background-color: var(--rz-header-background-color);
    min-height: var(--rz-header-min-height);
    border-bottom: var(--rz-header-border);
    color: var(--rz-header-color);
    box-shadow: var(--rz-header-shadow);
}

.page-header > .rz-heading {
    margin-bottom: 0px !important;
    text-wrap: wrap;
}

.page-header > button {
    width: 40px;
    min-width: 40px;
    height: 40px;
}

.page-body {
    display: flex;
    overflow: auto;
    flex: 1;
    flex-direction: column;
    height: 100%;
    padding: 0rem 0.5rem 0.5rem 0.5rem;
    margin-bottom: 60px;
}
.page-body-full {
    display: flex;
    overflow: auto;
    flex: 1;
    flex-direction: column;
    height: 100%;
    padding: 0rem 0.5rem 0.5rem 0.5rem;
}

.page-footer {
    background-color: var(--rz-header-background-color);
    width: 100%;
    padding: 0.5rem;
    border-top: var(--rz-header-border);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: end;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 60px;
}
    .page-footer > button{
        min-width:45px;
    }

    .rz-dialog .page-header {
        display: none;
    }

.rz-dialog .page-body {
    margin-bottom: 0px;
}

.rz-dialog .page-footer {
    position: inherit;
    background-color: unset;
    /*    top: unset;*/
    z-index: 3;
    /*    right: 0;
    text-align: end;
    padding-right: unset;*/
}

    .rz-dialog .page-footer > button {
        min-width: 100px;
    }

.rz-dialog-confirm, .rz-dialog-alert {
    max-width: 400px;
    margin: 0.75rem;
}

    .rz-dialog-confirm .rz-dialog-titlebar, .rz-dialog-alert .rz-dialog-titlebar {
        font-size: 1.2rem;
        line-height: 1.5rem;
        padding: 1.5rem,1rem,1.5rem,1rem;
    }

    .rz-dialog-confirm .rz-dialog-titlebar-close .rzi-times,
    .rz-dialog-alert .rz-dialog-titlebar-close .rzi-times {
        font-size: 1.5rem;
    }

.rz-dialog-confirm-message .rz-dialog-alert-message {
    font-size: 1.2rem;
}

.rz-dialog-confirm-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rz-dialog-confirm-message, .rz-dialog-alert-message {
    margin-bottom: 1.5rem;
}

.rz-dialog-confirm-buttons .rz-button, .rz-dialog-confirm-buttons .rz-paginator-element {
    flex: 8rem 1;
    min-width: fit-content;
}

.groupbox {
    margin: 0.25rem;
    margin-bottom: 0.5rem;
    box-shadow: none;
}

.groupbox-header {
    border-bottom: 1px solid #eaeef0;
    margin-bottom: 5px;
}

.groupbox-content {
}

.groupbox-editbutton {
    min-height: var(--rz-input-height) !important;
    height: var(--rz-input-height);
    margin-left: 2px;
}
/* Login page*/

.login-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 40px;
    /* background-color: #f5f5f5; */
    /* height:100%; */
    width: 100%;
    align-content: center;
}

.login-title {
    align-self: center;
    padding-bottom: 5px;
}

.login-subtitle {
    align-self: center;
    padding-bottom: 114px;
}

.login-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .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 {
        margin-bottom: 5px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

        .form-signin input[type="password"] {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

.spinner-container {
    display: flex;
    position: fixed;
    z-index: 2000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.2);
}

.spinner-subcontainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.spinner-element {
    font-size: 16pt;
    width: 80px !important;
    height: 80px !important;
    color: #880015;
}

.sk-folding-cube {
    top: 50%;
}

.sk-double-bounce {
    top: 40%;
}

    .sk-double-bounce .sk-child {
        background-color: #e25822 !important;
    }

.sk-folding-cube .sk-cube:before {
    background-color: #d24348 !important;
}

.widget-size {
    width: 100% !important;
    height: 100% !important;
    margin-top: -20px;
    display: flex
}

.widget-buttons {
    top: 10px;
    position: absolute;
    right: 10px;
}

.widget {
    opacity: 1 !important;
}

.mutiseek-container {
    display: flex;
}

    .mutiseek-container .multiseek-button {
        min-height: var(--rz-input-height) !important;
        height: var(--rz-input-height);
        margin-left: 2px;
    }

.widget-image {
    margin: auto;
    height: 60px;
    opacity: 0.7;
    font-size: 60px;
}

.imageinput-template {
    position: relative;
}

.imageinput-template-close {
    position: absolute;
    right: 10px;
    top: 10px;
}

.imageinput-template-pin {
    position: absolute;
    left: 10px;
    top: 10px;
}

.imageinput-template-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px 5px 0px 5px;
    backdrop-filter: blur(0px) brightness(90%);
    overflow: hidden;
    white-space: nowrap;
}

.sticky-spinner-element {
    font-size: 16pt;
    width: 50px !important;
    height: 50px !important;
    color: #880015;
}

.page-tabs {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
}

    .page-tabs > .rz-tabview-nav {
        display: none !important;
    }


    .page-tabs > .rz-tabview-panels {
        background-color: transparent !important;
        border: 0px !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

        .page-tabs > .rz-tabview-panels > .rz-tabview-panel {
            padding: 0px !important;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

.page-details-tab {
    overflow: auto;
    height: 100%;
}

    .page-details-tab .rz-tabview-panel {
        height: 100%;
    }

.rz-form {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.company-dropdown {
    border: unset !important;
    text-align: right;
    height: unset !important;
}

    .company-dropdown .rz-dropdown-label {
        padding: 0px 20px 0px 0px;
    }

.license-container {
}

.license-active, .license-expired, .license-inactive {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}

    .license-active .live-indicator {
        background-color: #008000;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    .license-expired .expired-indicator {
        background-color: red;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    .license-inactive .inactive-indicator {
        background-color: lightgray;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

.license-details-tab {
    width: 100%;
    height: 120px;
    background-color: white;
    border-radius: 10px;
}

.license-details-list {
}

.application-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    /*border: var(--rz-border-base-300);*/
    background-color: #f3f5f7;
}

.application-container-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-wrap: nowrap;
}

    .application-container-details .details-line {
        display: flex;
        justify-content: space-between;
        gap: 5px;
        align-items: center;
    }

.application-container-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.application-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-self: stretch;
    align-items: stretch;
}

.permission-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.permission-alert {
    max-width: 500px;
}

.rz-layout .rz-sidebar {
    display: flex;
    flex-direction: column;
}

.v-separator {
    border-left: var(--rz-profile-menu-border);
    width: 1px;
    height: 100%;
}

.ul.rz-profile-menu {
    border-left: unset !important;
}

.rz-dialog-wrapper .rz-dialog-content {
    display: flex;
    flex-direction: column;
    flex:1;
}
.rz-selectbutton .rz-button.rz-button-md:first-child {
    margin-left: 0;
    border-top-left-radius: var(--rz-selectbar-border-radius);
    border-bottom-left-radius: var(--rz-selectbar-border-radius);
}
.rz-selectbutton .rz-button.rz-button-md:last-child {
    border-top-right-radius: var(--rz-selectbar-border-radius);
    border-bottom-right-radius: var(--rz-selectbar-border-radius);
}
.rz-selectbutton .rz-button.rz-button-md {
    background-color: var(--rz-base-background-color);
    text-transform:none;
}
.drag-drop-zone {
    border: 3px dashed #637878;
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    height: 300px;
    text-align: center;
}

    .drag-drop-zone:hover {
        background-color: #f5f5f5;
    }

    .drag-drop-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }
.rz-custom-header{
    width:100%;
}
.form-group .rz-label {
    min-height: var(--rz-input-height);
    line-height: var(--rz-input-line-height);
    padding: var(--rz-input-padding);
    padding-left: 0;
    border-top: var(--rz-input-border);
    border-bottom: var(--rz-input-border);
    border-color: transparent;
}
.rz-numeric-up, .rz-numeric-down {
    display: none;
}

.rz-calendar-month-dropdown .rz-dropdown-label, .rz-calendar-year-dropdown .rz-dropdown-label {
    box-shadow: none;
    border: unset;
    padding: 0px;
    background-color:unset;
}
.rz-calendar-month-dropdown .rz-inputtext, .rz-calendar-year-dropdown .rz-inputtext {
    padding-right: 0px !important;
    border: unset;
    background-color: unset;
}
.zxing-video-container > video {
    width: 100%;
    box-shadow:none;
}
.multiseek-popup {
    position: absolute;
    overflow: hidden;
    height: 360px;
    width: 650px;
    border: var(--rz-panel-border);
    background-color: var(--rz-panel-background-color);
    box-shadow: var(--rz-panel-shadow);
    border-radius: var(--rz-border-radius);
    z-index: 100 !important;
}
.rz-dialog-side-position-bottom {
    bottom: 0;
    min-height: unset;
    height: unset;
    width: 100%;
}
.rz-colorpicker-popup {
    user-select: none !important;
}
