html, body {
    font-family: 'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;
    margin: 0px;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

/** scroll bar */
/*::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #e1e1e1;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-image: linear-gradient(to bottom, rgba(17,17,17,1) 0%,rgba(76,76,76,1) 23%,rgba(76,76,76,1) 23%,rgba(71,71,71,1) 72%,rgba(17,17,17,1) 99%);
}*/

/* material theme */
:root {
    --mdc-theme-primary: #5D2E8F;
    --mdc-theme-secondary: #fbaf41;
    /*--mdc-theme-on-primary: #495f90;
    --mdc-theme-on-secondary: #ffe172;*/
    --mdc-theme-text-primary: #ffffff;
    --mdc-theme-text-secondary: #333;
    --mdc-theme-text-on-primary: #001037;
    --mdc-theme-text-on-secondary: #c48003;
    /*--mdc-theme-surface: #263238; */
}

.mdc-icon-button .fa {
    font-size: 30px;
}

/* Loading page */
.triangle-container {
    left: calc(-50vw + 50%);
    position: fixed;
    right: calc(-50vw + 50%);
    top: 0;
    bottom: 0;
    z-index: -1;
    background-color: black;
}

.triangles {
    background-image: url("../images/hepra-back-1920.jpg") !important;
    background-size: cover;
    height: 100%;
    bottom: 0;
    left: 0;
    position: fixed;
    mix-blend-mode: unset !important;
    right: 0;
    top: 0;
    background-position: center center;
}

.loading-container {
    position: relative;
    text-align: center;
    background-color: #fff;
    margin: 10% auto 0 auto;
    padding: 20px;
}

.loading-items {
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../images/preloader.gif') center no-repeat #fff;
}

/* Login page */
.login-body {
    position: relative;
    flex-direction: column;
    margin: 0 auto;
    width: 90%;
    max-width: 500px;
}

    .login-body .mat-accordion .mat-expansion-panel__header {
        flex-basis: 80%;
    }

    .login-body .mat-expansion-panel {
        background-color: #f4f4f4 !important;
    }

.logo-card.k-card {
    border-radius: 0 !important;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
    padding: 0;
    background-color: inherit;
    min-width: 250px;
    color: #153643;
}
.logo-card .toprow {
    padding-top: 20px;
    background-color: white;
}
.logo-card .logo {
    text-align: center;
    display: flex;
    flex-direction: row;
    height: 85px;
}
    .logo-card .logo div {
        flex: 1;
        background-color: white;
    }
    .logo-card .logo a img,
    .logo-card .logo a svg {
        width: 60px;
    }
.logo-card .k-form {
    background: white;
    padding: 10px 40px 20px;
}
.logo-card h1 {
    margin: 0;
    padding-top: 0.5em;
    text-align: center;
    background-color: white;
}

.logo-card .font-high {
    font-size: 18px;
    font-weight: bold;
}

.logo-card .font-note {
    font-size: 12px;
}

.container-fluid .center-container {
    display: block;
    max-width: 500px;
}

@media(max-width:480px) {
    .logo-card .k-form {
        padding: 10px 20px 20px;
    }
}

.additional-info {
    color: #636c72;
    background-color: rgba(0,0,0,.04);
    padding: 10px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .875rem;
}

/*.center-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
    margin: 5% auto 0;
    flex-direction: column;
}*/

.center-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
    padding-top: 5%;
    flex-direction: column;
}




/* app bar */
.mdc-top-app-bar__row {
    background-color: #fff;
    color: #404040;
}

.mdc-top-app-bar__section .mdc-icon-button i {
    color: #1c338b;
}

.logo-img {
    height: 42px;
}

.mdc-top-app-bar {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    color: white;
    z-index: 7 !important;
    position: sticky !important;
    top: 0;
}

.mdc-top-app-bar__title,
.mdc-top-app-bar__title a {
    color: white;
}


.sub-menu {
    visibility: hidden; /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.hidden-mdc-down nav a {
    color: #E00;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
}

    .hidden-mdc-down nav a:hover {
        color: #F55;
    }

.hidden-mdc-down nav ul,
.hidden-mdc-down nav ul li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hidden-mdc-down nav > ul {
    background: #EEE;
    text-align: center;
}

    .hidden-mdc-down nav > ul > li {
        display: inline-block;
        border-left: solid 1px #aaa;
    }

        .hidden-mdc-down nav > ul > li:first-child {
            border-left: none;
        }

.sub-menu {
    background: #DDD;
}


/* page */
.container-fluid {
    min-height: 350px;
    padding: 20px 30px;
}

.page-footer {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    color: #4d4d4d;
    padding: 9px 12px 9px 18px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.21);
    margin-top: 7px;
    font-size: 12px;
}

.flex-1 {
    flex: 1;
}

/* Drawer */
.mdc-nav-li {
    list-style: none;
}

.mini .mdc-drawer,
.mini .app-sidebar {
    width: 54px;
    transition: width .4s ease-in-out;
}

    .mini .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 54px;
        transition: margin-left .4s ease-in-out;
    }

.mini .drawer-profile {
    padding: 0 4px;
}

.mini .after.mdc-sub-menu-icon,
.mini .miniHover {
    transform: translateX(200%);
    animation: slide-out 1s forwards;
    transition: .4s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: fixed;
}

.mini .mdc-drawer:hover .after.mdc-sub-menu-icon,
.mini .mdc-drawer:hover .miniHover {
    transform: translateX(0%);
    animation: slide-in 1s forwards;
    transition: width .4s ease-in-out;
    visibility: visible;
    opacity: 1;
    position: relative;
}

.mini .mdc-drawer:hover .after.mdc-sub-menu-icon {
    position: absolute;
}

.mini .drawer-footer .mdc-button {
    min-width: 36px;
}

.mdc-drawer:hover,
.mdc-drawer:hover .app-sidebar,
.full .mdc-drawer,
.full .app-sidebar {
    width: 256px;
    transition: width .4s ease-in-out;
}

.closed .mdc-drawer,
.closed .app-sidebar {
    width: 0;
    transition: width .4s ease-in-out;
}

.mini .mdc-drawer:hover.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content,
.full .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
    margin-left: 256px;
    transition: margin-left .4s ease-in-out;
}

.closed .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
    margin-left: 0;
    transition: margin-left .4s ease-in-out;
}

.mdc-drawer__content {
    background-image: linear-gradient(180deg, #161bbf 0%, #090a40 70%);
    color: #FFF;
}

.mdc-drawer .mdc-list-item {
    margin: 8px 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.mdc-drawere .mdc-list-item:active {
    box-shadow: inset 3px 0 0 #5b86ed;
}

.mdc-drawer .mdc-list-item--disabled {
    color: #a8bae5 !important;
}

.mdc-drawer a.mdc-list-item {
    padding: 0 14px !important;
}

.mdc-drawer .mdc-list-item--selected {
    border-left: solid 3px rgba(255, 255, 255, .5);
}

    .mdc-drawer .mdc-list-item--selected::before {
        opacity: 0.3 !important;
    }

.mdc-expansion-panel--selected .mat-expansion-panel__summary {
    border-left: solid 3px rgba(255, 255, 255, .3);
}

    .mdc-expansion-panel--selected .mat-expansion-panel__summary::before {
        opacity: 0.2 !important;
    }

.mat-accordion .mdc-nav-menu .mat-expansion-panel.mat-expansion-panel--expanded {
    margin: 0;
}

#editashtmldialog .mdc-dialog__surface {
    overflow: visible;
}

.drawer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1595ea;
    height: 64px;
    color: #fff;
}

    .drawer-logo a {
        color: #fff;
    }

.drawer-header {
}

.drawer-profile {
    padding: 8px 9px;
    /*border-bottom: solid 1px #777;
    background-image: url("../images/hepra-shade-back.jpg");
    background-size: cover;*/
    background-color: #1f5770;
    color: #fff;
    font-size: 12px;
}

    .drawer-profile .account {
        margin-left: 10px;
        line-height: 11px;
    }

    .drawer-profile a,
    .drawer-profile .material-icons {
        color: #fff;
        vertical-align: text-bottom;
    }

.app-sidebar .material-icons {
    margin-right: 8px;
    padding-left: 7px;
}

.app-sidebar .mat-expansion-panel__content .material-icons {
    padding-left: 2px;
    margin-left: -3px;
}

.app-sidebar .mdc-nav-li .material-icons {
    margin-right: 8px;
    padding-left: 0;
}

.mdc-drawer {
    /*margin-top: 64px;*/
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.16);
}

.mdc-drawer-app-content {
    /*background-color: #f5f5f5;*/
}

.mat-drawer-container-responsive {
    display: flex;
    flex-direction: row;
}

    .mat-drawer-container-responsive .mdc-drawer {
        width: unset !important;
        position: relative;
    }

        .mat-drawer-container-responsive .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
            margin-left: unset !important;
            position: relative;
            flex: 1;
        }

.mdc-top-app-bar--fixed-adjust {
    padding-top: 0 !important;
    overflow: hidden;
}


/*  forms */
fieldset {
    border: none;
}

hr {
    clear: both;
}

/* breadcrumbs */
ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    background-color: #eee;
}

    /* Add a slash symbol (/) before/behind each list item */
    ul.breadcrumb li + li:before {
        padding: 8px;
        content: "›";
    }

    ul.breadcrumb li,
    ul.breadcrumb li a {
        text-transform: uppercase;
        text-shadow: none;
        font-size: 13px;
        text-decoration: none;
        display: inline;
    }

        ul.breadcrumb li a:hover {
            text-decoration: underline;
        }

.mdc-checkbox + label {
    margin-bottom: 0px !important;
}


/** Simple drag and drop with Blazor CSS **/

.jobs-container {
    display: flex;
    justify-content: space-around;
}

.job-status {
    display: flex;
    flex-direction: column;
    width: 312px;
}

    .job-status ul {
        flex: 1;
    }

.dropzone {
    padding: 3px;
    border: 1px dashed #75868a;
    list-style: none;
}

/* dialog */
.mdc-dialog__content {
    min-width: 300px;

}

.mdc-dialog__title + .mdc-dialog__content {
    padding: 20px 24px !important;
}

.mdc-dialog__title {
    color: #fff !important;
    background: #2e308f;
}

.mdc-dialog__actions {
    border-top: 1px solid #e1e1e1 !important;
}
.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.draggable {
    margin-bottom: 10px;
    padding: 10px 25px;
    border: 1px solid #424d5c;
    cursor: grab;
    background: #5c6b7f;
    color: #ffffff;
    border-radius: 5px;
    width: 250px;
}

    .draggable:active {
        cursor: grabbing;
    }

.dragging {
    cursor: grabbing;
}

.description {
    font-size: 18px;
}

.last-updated {
    margin-bottom: 0;
    font-size: 11px;
    color: #e1e5ea;
    font-weight: bold;
}

    .last-updated small {
        text-transform: uppercase;
        color: #c4cbd4;
        font-size: 11px;
    }

/* misc */
.contrib-card {
    padding: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .contrib-card img {
        height: 50px;
        width: 50px;
    }

.screenshot {
    text-align: center;
    display: block;
}

    .screenshot img {
        max-width: 100%;
    }

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui::before{
    margin: auto;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui {
    z-index:9999;
    display: none;
    background: #fff;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 596.98px) {
    .drawer-logo {
        height: 56px;
    }

    .logo-img {
        height: 38px;
    }
}

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}



/* MatBlazor temp */
.mat-toast-body {
    padding: 8px 5px;
}

.mat-toast-icon {
    padding-left: 5px;
}

.mat-toast-close-button .material-icons {
    color: white;
}

.mat-paginator {
  background: none;
}

/*Refresh Timer*/
div.refresh-timer.row {
    margin-left: 0;
    margin-right: 0;
    -moz-align-content: center;
    -o-align-content: center;
    -webkit-align-content: center;
    align-content: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;

}
div.refresh-timer.row div {
    -webkit-align-self: center;
    -o-align-self: center;
    align-self: center;
    margin-left: .2rem;
    margin-right: .2rem;
}
div.refresh-timer-interval-wrapper {
    width: 100px;
}

.mdc-table-allow td:first-child {
    width: 100%;
}

.mdc-table th {
    white-space: nowrap;
}

/*TODO https://github.com/SamProf/MatBlazor/issues/467*/
.mdc-tab-scroller div {
    flex-wrap: wrap;
    max-width: 100%;
}

/********************* HEPRA *********************/

/* login "Sign In With" button images height */
.login-body img.k-image {
    height: 18px;
}

/* login "Sign In With" button width */
.h-sign-in-with button.k-button {
    min-width: 150px;
}

.login-body .logo-text {
    text-align: center;
}

    .login-body .logo-text a {
        font-size: 1.5rem;
        font-weight: bold;
    }

.validation-errors li {
    line-height: 1.5;
}

.d-min-width-90 {
    min-width: 90px;
}
.d-min-width-100 {
    min-width: 100px;
}
.d-min-width-150 {
    min-width: 150px;
}
.d-min-width-200 {
    min-width: 200px;
}
.d-min-width-220 {
    min-width: 220px;
}

.k-checkbox + label {
    vertical-align: middle;
    margin-bottom: 0;
    margin-right: 10px;
}

/* align "keep dialog open" checkbox in absence request */
.k-form-buttons .k-checkbox-wrap {
    align-self: initial;
}

.k-button.spacing {
    margin-right: 4px;
}
.k-button.spacing-top {
    margin-top: 4px;
}

.login-forgot-link h3 {
    margin: 0px;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
    a:hover {
        color: #015eac;
        text-decoration: underline;
    }


/* HEPRA - END*/


.k-drawer-link, .k-drawer-link:hover {
    text-decoration: none;
}

.k-drawer-item .k-hidden {
    display: none;
}

.k-drawer-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.k-drawer-items {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* FXS -> BP */
.bp-portal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: normal;
}

.bp-topbar {
    height: 40px;
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
    font-size: 13px;
}

.bp-topbar-brand {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    /*height: 100%;*/
}

.bp-topbar-brand .bp-topbar-home {
    display: inline-block;
    font-size: 15px;
    padding: 0 14px;
    height: 40px;
    line-height: 40px;
    font-weight: 600;
}

.bp-topbar-placeholder {
    flex: 1 1 auto;
}

.bp-topbar-search {
    margin-left: 4px;
    margin-right: 4px;
    /* width: 800px; */
    /* min-width: 280px; */
    flex: 1 1 auto;
}

.bp-topbar-search .k-textbox {
    width: 100%;
}

.bp-topbar-buttons-container {
    display: flex;
    flex: 0 0 auto;
}

.bp-topbar-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    -webkit-app-region: drag;
    display: flex;
    align-content: center;
    align-items: center;
}

    .bp-topbar-content .bp-navtoggle {
        margin-left: 6px;
    }

.bp-portal-main {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.bp-portal-content {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bp-panorama {
    position: relative;
    -ms-scroll-chaining: none;
}

.bp-panorama .bp-home-target {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.bp-home-target {
    overflow-y: auto;
    flex-direction: column;
}

.bp-home-container {
    padding: 24px 24.66666667px 8px;
    font-size: 13px;
    max-width: 1063px;
    margin: 0 auto;
    flex: 1 1 auto;
}

@media(min-width:920px) {
    .bp-home-container {
        padding-left: 74px;
        padding-right: 74px
    }
}

@media(min-width:480px) {
    .bp-home-container {
        padding-left: 37px;
        padding-right: 37px
    }
}

.bp-journey-container {
    flex: 1 1 auto;
    z-index: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (min-height: 500px) {
    .bp-journey-container {
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }
}

.bp-device-content {

}

    .bp-device-content .k-tilelayout {
        background-color: inherit;
    }

.bp-device-clock {
    font-size: 36px;
    color: white;
    font-weight: bold;
}

.bp-title-content {
    /*display: flex;
height: 100%;*/
    box-sizing: border-box;
    padding: 8px 20px;
}

.bp-home-content {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1 1 100%;
    min-width: 0;
    padding: 0px 20px 10px 20px;
    overflow-y: auto;
}

/* Tiles on small devices */
@media (max-width: 619.98px) {
    .bp-home-content {
        padding: 0px 0px 10px 0px;
    }
}

@media (max-width: 409.98px) {
    .bp-home-content .k-tilelayout {
        padding: 0px !important;
    }

        .bp-home-content .k-tilelayout .k-card-body {
            padding: 16px 6px;
        }
    .bp-home-content .k-card {
        border-radius: 0px;
        border-width: 1px 0px;
    }
}
/* Windows with forms on small screens */
@media (max-width: 449.98px) {
    .k-window {
        width: 95%;
    }

    .k-edit-form-container, .k-form-horizontal {
        width: 100% !important;
        min-width: 250px;
    }
}


.bp-drawer-footer {
    flex: 0 0 auto;
    padding: 3px 6px;
    display: flex;
    flex-direction: column;
}
.k-drawer-expanded .bp-drawer-footer {
    flex-direction: row;
}

.bp-drawer-footer-left {
    text-align: center;
    flex: 1 1 auto;
    margin-bottom: 3px;
}
.k-drawer-expanded .bp-drawer-footer-left {
    margin-bottom: 0px;
    text-align: left;
}

.bp-drawer-footer-right {
    text-align: center;
    flex: 0 0 auto;
}
.k-drawer-expanded .bp-drawer-footer-right {
    text-align: right;
}


/* rotate expand button in drawer footer */
.k-drawer-expanded .bp-drawer-toggle .k-icon::before {
    transform: rotate(180deg);
}

/* rotate expand button in expandable items */
.bp-expanded .bp-drawer-icon-expand {
    transform: rotate(180deg);
}
/* indent drawer subitems */
.k-drawer-expanded .k-drawer-item.bp-subitem .k-icon {
    padding-left: 16px;
}

/* drawer settings button to not display text when not expanded */
.k-drawer-container:not(.k-drawer-expanded) .bp-drawer-footer .k-button-icontext .k-icon,
.k-drawer-container:not(.k-drawer-expanded) .bp-drawer-footer .k-button-icontext .k-image,
.k-drawer-container:not(.k-drawer-expanded) .bp-drawer-footer .k-button-icontext .k-sprite {
    margin: initial;
}
.k-drawer-container:not(.k-drawer-expanded) .bp-drawer-footer .k-button-icontext {
    height: calc(1.4285714286em + 10px);
    width: calc(1.4285714286em + 10px);
}
.k-drawer-container:not(.k-drawer-expanded) .bp-drawer-footer .k-button-icontext div {
    display: none;
}

/* profile changes on drawer expand */
.drawer-profile .account {
    display: none;
}
.k-drawer-expanded .drawer-profile .account {
    display: initial;
}
.k-drawer-expanded .drawer-profile {
}

/* THEME MODS */
/* allow font-awesome due to telerik font-famili setting */
.fa, .far, .fas, .k-i-fa, .k-i-far, .k-i-fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
}

/* no shadow when clicking on drawer items */
.k-drawer-item:focus, .k-drawer-item.k-state-focused {
    box-shadow: none;
}

.k-drawer-item:hover, .k-drawer-item.k-state-hover {
    color: #000;
    background-color: rgba(85,179,255,.1);
}
.k-drawer-item > .k-drawer-link:hover:not(.k-state-selected) {
    background-color: transparent;
}

/* stretch text element to allow right aligned expand icons */
.k-drawer-item .k-item-text {
    flex: 1 1 auto;
    padding: 0 8px;
}

.k-drawer-item .k-icon {
    margin: 0 0px;
    min-width: 18px;
}

.k-drawer-item {
    gap: 0px;
}

.k-drawer-item > .k-drawer-link {
    gap: 0px;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}

.bp-no-top-margin {
    margin-top: unset;
}

.float-right {
    float: right !important;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.bp-topbar-buttons-container button, .bp-topbar-buttons-container .k-widget {
    margin-right: 4px;
}

/* remove breadcrumb home item right margin */
.k-breadcrumb .k-breadcrumb-root-link {
    margin-right: 0px;
}

/* set breadcrumb left padding on home view targets */
.bp-home-target .k-breadcrumb {
    padding-left: 14px;
}

/* breadcrumb colors and decoration */
.k-breadcrumb .k-breadcrumb-root-link,
.k-breadcrumb .k-breadcrumb-link {
    color: #0078d4;
}
    .k-breadcrumb .k-breadcrumb-root-link:hover,
    .k-breadcrumb .k-breadcrumb-link:hover {
        text-decoration: underline;
    }

.k-breadcrumb .k-breadcrumb-last-item .k-breadcrumb-link {
    color: #000;
}



/* MODULE MODS */
.k-drawer {
    transition: none;
}

.drawer-footer {
    text-align: center;
    font-size: 12px;
    flex: 0 0 auto;
}

.k-drawer-expanded .drawer-footer {
    text-align: left;
}

/* fixed drawer paddings - for now, since Telerik Drawer does not nicely handle mixed nav and other items */
.k-drawer-item.bp-drawer-nav {
    padding: 0px;
}
    .k-drawer-item.bp-drawer-nav > .k-drawer-link {
        margin: 0;
        padding: 8px 8px;
    }

/* condensed drawer items */
.bp-drawer-short .bp-drawer-nav > .k-drawer-link,
.bp-drawer-short .bp-drawer-simple {
    padding: 4px 8px;
    align-items: center;
    line-height: 1.4285714286;
}

.bp-drawer-short .k-drawer-item {
    font-size: 13px;
}

.bp-flex-none {
    flex: none;
}

/* no labels on date range */
.bp-no-labels label {
    display: none;
}
.bp-no-labels.k-textbox-container, .bp-no-labels .k-floating-label-container {
    padding-top: 0;
    /*vertical-align: inherit;*/
}

/* THEME */

    .bp-blue-top .bp-topbar {
    background-color: #0078d4;
    color: #ffffff;
}

.bp-blue-top .bp-topbar-brand .bp-topbar-home:hover {
    color: #fff;
    background-color: #106ebe;
}

.bp-blue-top .bp-topbar-brand .bp-topbar-home {
    color: #fff;
    text-decoration: none;
}

/* DIALER component */
.dialer-container .dialer-items {
    grid-template-columns: repeat(3, minmax(25px, 50px));
    grid-auto-rows: minmax(25px, 50px);
    gap: 8px;
    padding: 16px;
    display: grid;
    justify-content: center;
}

.dialer-container .dialer-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 16px;
}

/* Error captions */
.k-form-error, .k-text-error, .k-form-field-error .k-label {
    color: #ff0000;
}

.login-clip {
    height: 150px;
}
.login-clip-out {

}

/* DISABLE FLOATING LABELS */
.k-floating-label-container.k-state-empty > .k-label {
    top: 0;
    left: 0;
}

/* FIELD MARGINS */
/* Now we need to control our labels ourselves */
.k-form > label,
.k-dialog-content > label {
    display: inline-flex;
}
/*.k-form .k-form-field label {
    display: inline;
}*/

/* for items which have specific width define, they still need to fall in a new line */
.k-form > .telerik-blazor[style~="width:"] {
    display: flex;
}

/* Margin on form fields which are not within FormItem element*/
.k-form .k-floating-label-container,
.k-form fieldset,
.k-form .form-group,
.k-form .k-grid,
.k-form > label,
form > label,
.k-dialog-content > .k-grid,
.k-dialog-content > label {
    margin-top: 1rem;
    display: block;
}
/*    .k-form .k-floating-label-container:first-child,
    .k-form fieldset:first-child,
    .k-form .form-group:first-child,
    .k-form .k-grid:first-child,
    form>label:first-child {
        margin-top: 0rem;
    }
*/

.k-form > *:not(.k-hidden):first-child,
.k-form > *.k-hidden + :not(.k-hidden),
.k-form > label:first-child,
form > label:first-child,
.k-dialog-content > *:not(.k-hidden):first-child,
.k-dialog-content > *.k-hidden + :not(.k-hidden) {
    margin-top: 0;
}

/* FORM BUTTONS */
.k-form .k-form-buttons,
.k-dialog-content .k-form-buttons {
    justify-content: flex-end;
    margin-top: 1rem;
}

/* hide border on tiles */
.k-tilelayout {
    background-color: initial;
}

.k-tilelayout .bp-no-border {
    border-width: 0px;
}

/* WINDOWS toolbar */
.k-form .k-actions {
    padding: 0px;
    margin-top: 1rem;
}

/* VALIDATION errors displayed as list */

ul.validation-errors {
    list-style-type: none;
    padding-inline-start: initial;
}

/* icons in grid in line with text */
td.h-icon-text {
    padding-left: 8px;
    width: 100px;
}

td.h-icon-text i.fa {
    min-width: 18px;
    text-align: center;
    margin-right: 6px;
}

th.h-icon-column-header-large {
    width: 100px;
}

th.h-icon-column-header-small,
td.h-icon-cell {
    width: 24px;
}

.k-grid td.h-icon-cell {
    overflow: visible;
    text-align: center;
}

td.h-icon-cell i.fa {
    color: #919191;
}

/* toggle button icons fix */
span.k-button-icon {
    display: inline-flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    vertical-align: middle;
}

.k-daterangepicker.bp-inline-daterange {
    flex-flow: row nowrap;
}

    .k-daterangepicker.bp-inline-daterange .k-daterangepicker-wrap {
        display: flex !important;
        gap: 8px;
    }
    .k-daterangepicker.bp-inline-daterange .k-floating-label-container {
        margin-top: 0;
    }
    .k-daterangepicker.bp-inline-daterange .k-label {
        display: none;
    }
    .k-daterangepicker.bp-inline-daterange .k-floating-label-container {
        padding-top: 0;
    }

.profile-telerik-avatar-container {
    width: 128px;
    height: 128px;
}

.profile-telerik-avatar {
    margin-right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-telerik-avatar-initials {
    font-size: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 128px;
    height: 128px;
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius: 100%;
}

.profile-image-container {
    position: relative;
    width: 128px;
    margin-left: auto;
    margin-right: auto;
}

    .profile-image-container:hover .profile-image {
        opacity: 0.3;
        cursor: pointer;
    }

    .profile-image-container:hover .middle {
        opacity: 1;
        cursor: pointer;
    }

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    justify-content: center;
}

.profile-page-tile-layout {
    display: flex;
    justify-content: center;
}

.profile-header-template {
    display: flex;
    align-items: center;
}

.profile-header-label {
    font-size: 18px;
    padding-left: 10px;
}

.profile-fullname {
    font-size: 32px;
}

.profile-email {
    font-size: 18px;
    color: grey;
}

.profile-security-items {
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    padding-bottom: 5px;
}

.profile-details-container {
    text-align: center;
    height: 100%;
    vertical-align: bottom;
}

.profile-details-footer-items {
    font-size: 16px;
    cursor: pointer;
    padding-bottom: 5px;
}

.notification-info {
    color: grey;
}

.upload-icon {
    font-size: 28px;
}

.profile-dropdown-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    width: 200px;
}

    .profile-dropdown-header:hover, .profile-dropdown-header:active {
        all: unset;
        cursor: default;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        width: 200px;
    }

.k-menu-group .k-item > k.link:active, 
.k-menu-group .k-item > .k-link.k-active, 
.k-menu-group .k-item > .k-link.k-selected, 
.k-menu.k-context-menu .k-item > .k-link:active, 
.k-menu.k-context-menu .k-item > .k-link.k-active, 
.k-menu.k-context-menu .k-item > .k-link.k-selected {
    background-color: #ffffff;
}

.k-menu-group .k-item > .k-link:hover {
    color: #424242;
    background-color: #ffffff;
}

.profile-dropdown-header-username {
    font-size: 12px;
    padding: 0px;
    margin: 0px;
}

.profile-dropdown-header-fullname {
    font-size: 16px;
    padding: 0px;
    margin: 0px;
}

.profile-dropdown-header-tenant {
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    color: grey;
}

.profile-dropdown-header-img {
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
    width: 64px;
    height: 64px;
    border-radius: 100%;
}

.profile-dropdown-header-telerik-avatar-container {
    padding: 0px;
    margin: 0px;
    width: 64px;
    height: 64px;
    border-radius: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-dropdown-header-telerik-avatar-initials {
    font-size: 32px;
}

.grid-child-left {
    width: auto;
}

.grid-child-right {
    width: 120px;
    display: flex;
    align-items: center;
}

.profile-dropdown-header-links {
    padding-bottom: 3px;
}

.profile-picture-upload-container, .profile-picture-upload-buttons {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    width: 256px;
}

.profile-picture-upload-button, .select-files-button {
    width: 256px;
    border-radius: 2px;
}

.select-files-button {
    height: 30px;
    color: black;
    background-color: lightgrey;
    border: none;
    cursor: pointer;
}

.custom-file-input {
    display: none;
}

.selected-profile-picture {
    width: 256px;
    height: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-culture-container > *:not(:last-child) {
    margin-bottom: 15px;
}

.entry-warning-dialog {
    min-width: 400px;
}