html {
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    background-color: var(--base-bg)
}

.flex-page {
    display: flex !important;
    flex-flow: column;
    max-height: 100%;
    width: 100%;
    height: 100%
}

    .flex-page > .dx-tabpanel-container {
        overflow-y: auto;
    }

.flex-header {
    height: 48px;
}

.flex-content {
    flex: 1;
    overflow-y: auto;
    padding: 0px !important;
}

@media (max-width: 767.98px) {
    .page-nav {
        width: 0px;
    }

    #mainsidenavsubitems {
        width: 0px !important;
    }
}

.page-nav {
    background-color: var(--base-bg-10);
}


.page-navbar {
    background-color: var(--base-theme-color);
    box-shadow: none;
    height: 48px;
}
.user-popup-info {
    background-color: var(--base-bg) !important;
}
.user-popup-info .user-info-popup-footer {
    height: 46px;
    background-color: var(--base-bg-shade);
}

.calendar-content {
    flex: 1;
    overflow-y: auto;
    padding: 0px !important;
}

.card {
    box-shadow: none;
}

#top-nav-title .top-title {
    position: inherit !important;
    height: auto;
    padding-top: 0px;
    padding-bottom: 0px;
}

#top-nav-title h5 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: inherit;
    font-weight: 600;
    font-family: SegoeUI-SemiBold-final,Segoe UI Semibold,SegoeUI-Regular-final,Segoe UI,"Segoe UI Web (West European)",Segoe,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,Tahoma,Helvetica,Arial,sans-serif;
    font-size: 16px;
    line-height: 48px;
    margin: 0px;
    padding-left: 15px;
    -webkit-font-smoothing: antiali;
}

    #top-nav-title h5 i {
        display: none;
    }

#top-nav-command-buttons .top-buttons {
    position: inherit !important;
    padding-top: 0px;
    padding-bottom: 0px;
}

.wallpaper {
    background: linear-gradient(to top right,#2490d9,#00d685);
    /*background: url(images/wallpaper_5g.jpg),linear-gradient(to top right,#6e51ec,#00d685);*/
    background: var(--base-background-image),linear-gradient(to top right,#6e51ec,#00d685);
    background-repeat: repeat;
    background-size: 100%;
}

.wallpaper-bastina {
    background: var(--base-background-image), linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.5));
    background-blend-mode: overlay;
}

.bg-overlay {
    background-color: rgba(255, 255, 255, .18);
}

.btn-user-avatar {
    border: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: 100;
    background: transparent;
    color: white;
}

    .btn-user-avatar:hover {
        background-color: var(--base-theme-color-transparent-70);
    }

    .btn-user-avatar span {
        width: 35px;
        border: 1px solid;
        border-radius: 35px;
        height: 35px;
        font-size: 17px;
        line-height: 34px;
        font-weight: 100;
        background: transparent;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.btn-lang-avatar {
    border: none;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: 100;
    background: transparent;
    color: white;
}

    .btn-lang-avatar:hover {
        background-color: var(--base-theme-color-transparent-70);
    }

    .btn-lang-avatar span {
        width: 35px;
        border: 1px solid;
        border-radius: 35px;
        height: 35px;
        font-size: 17px;
        line-height: 34px;
        font-weight: 100;
        background: transparent;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.btn-topnav {
    border: none;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: 100;
    background: transparent;
    color: var(--base-text-color-with-bg-theme-color);
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

    .btn-topnav.active {
        background-color: var(--base-text-color-with-bg-theme-color) !important;
        color: var(--base-theme-color);
    }

    .btn-topnav:hover {
        background-color: var(--base-theme-color-transparent-70);
    }

    .btn-topnav i {
        font-size: 16px;
    }

    .btn-topnav .ic-fluent {
        font-size: 22px;
    }

    .btn-topnav span.notification-badge {
        position: absolute;
        top: 7px;
        margin-left: 12px;
        background-color: var(--base-danger);
        font-size: 10px;
        line-height: 14px;
        border-radius: 3px;
        padding: 1px;
        padding-left: 3px;
        padding-right: 3px;
        min-width: 15px;
        font-weight: 600;
    }

    .btn-topnav span {
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.btn-command-bar {
    padding: 4px 12px;
    height: 32px;
    font-size: 12px;
    text-align: left;
    text-transform: none;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

    .btn-command-bar i {
        font-size: 14px;
    }

    .btn-command-bar span {
        margin-left: 0.5em;
        display: inline-block !important;
    }

.btn-theme {
    background-color: var(--base-theme-color) !important;
    color: var(--base-text-color-with-bg-theme-color) !important;
}

    .btn-theme:hover,
    .btn-theme:active {
        background-color: var(--base-default-hover-bg)
    }

    .btn-theme i {
        color: var(--base-text-color-with-bg-theme-color) !important;
    }

.btn-command-bar.dx-button-normal i {
    color: var(--dark-base-theme-color);
}

.messages-popup-title {
    font-size: 20px;
    font-weight:600;
    font-family: Segoe UI WestEuropean,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
}

button:focus {
    outline: none;
}


.flexbox-parent {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* align items in Main Axis */
    align-items: stretch; /* align items in Cross Axis */
    align-content: stretch; /* Extra space in Cross Axis */
}

.fill-area {
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* align items in Main Axis */
    align-items: stretch; /* align items in Cross Axis */
    align-content: stretch; /* Extra space in Cross Axis */
}

.fill-area-content { /* Needed for when the area gets squished too far and there is content that can't be displayed */
    overflow: auto;
}

.flex-grid-wrapper {
    flex-grow: 1;
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 500px;
}

.flex-dx-grid {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}
.app-logo {
    width: 100%;
    height: 48px;
    background-image: var(--base-background-logo-image);
    background-repeat: no-repeat;
    background-position: center;
}
.app-logo-white {
    width: 100%;
    height: 100%;
    background-image: var(--base-background-logo-white-image);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 5px;
}
