@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

#loader {
    min-height: 100vh;
    position: fixed;
    z-index: 999;
    left: calc(50vw - 85px);
    top: calc(50vh - 65px);
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .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;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        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 {
    min-height: calc(100vh - 135px);
    padding: 2rem;
    background-color:whitesmoke;
}

.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;
}

.e-card-image {
    height: 180px;
    width: 240px;
}

.card-text-value {
    text-align: left;
    font-weight: 500;
}

.tile_layout.card-control-section .row.filter .col-xs-6.col-sm-6.col-lg-6.col-md-6 {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
}

.tile_layout.card-control-section .col-xs-6.col-sm-6.col-lg-6.col-md-6 {
    width: 100%;
    padding: 10px;
}

.card-control-section.tile_layout .e-card-layout {
    margin: auto;
    max-width: 250px;
}

.e-card-header {
    padding-left: inherit !important;
}

.e-btn {
    margin-left: 10px;
}

.e-card .e-card-header .e-card-header-caption .e-card-header-title {
    font-weight: bold;
}

.e-collapse::before {
    content: "\e745";
}

@font-face {
    font-family: 'button-icons';
    src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMj1uSf8AAAEoAAAAVmNtYXDOXM6wAAABtAAAAFRnbHlmcV/SKgAAAiQAAAJAaGVhZBNt0QcAAADQAAAANmhoZWEIUQQOAAAArAAAACRobXR4NAAAAAAAAYAAAAA0bG9jYQNWA+AAAAIIAAAAHG1heHABGQAZAAABCAAAACBuYW1lASvfhQAABGQAAAJhcG9zdFAouWkAAAbIAAAA2AABAAAEAAAAAFwEAAAAAAAD9AABAAAAAAAAAAAAAAAAAAAADQABAAAAAQAAYD3WXF8PPPUACwQAAAAAANgtxgsAAAAA2C3GCwAAAAAD9AP0AAAACAACAAAAAAAAAAEAAAANAA0AAgAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAA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e-btn-sb-icons {
    font-family: 'button-icons';
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.e-play-icon::before {
    content: '\e701';
}

.e-pause-icon::before {
    content: '\e705';
}

.e-open-icon::before {
    content: '\e70d';
}

.e-add-icon::before {
    content: '\e70a';
}

.e-search:before {
    content: '\e993';
}





.e-card .e-card-header .e-card-header-caption .e-card-sub-title {
    padding-top: 0px;
}

.e-card .e-card-header .e-card-header-caption .e-card-header-title {
    font-weight: bold;
}

.e-card .e-card-content {
    padding-top: 0px;
}

#HugeImage {
    text-align: center
}

    #HugeImage > .e-card-image {
        margin: auto;
        margin-top: 20px;
        width: 64px;
        height: 64px;
        min-height: 64px;
    }

.second-container .e-card .e-card-header .e-card-header-image {
    height: 48px;
    width: 48px;
}

#Card_Third {
    margin-top: 8%;
}

.ChatIcon {
    background-image: url("images/cards/chat.png");
    height: 24px;
    width: 24px;
}

.AlarmIcon {
    background-image: url("images/cards/alarm.png");
    height: 24px;
    width: 24px;
}

.StarIcon {
    background-image: url("images/cards/star.png");
    height: 24px;
    width: 24px;
}


table {
    width: 60%
}

.e-card .e-card-header .e-card-header-caption .e-card-sub-title {
    padding-top: 0px;
}

.e-card .e-card-header .e-card-header-caption .e-card-header-title {
    font-weight: bold;
}

.e-card .e-card-content {
    padding-top: 0px;
}

#HugeImage {
    text-align: center
}

    #HugeImage > .e-card-image {
        margin: auto;
        margin-top: 20px;
        width: 64px;
        height: 64px;
        min-height: 64px;
    }

.second-container .e-card .e-card-header .e-card-header-image {
    height: 48px;
    width: 48px;
}

#Card_Third {
    margin-top: 8%;
}

.ChatIcon {
    background-image: url("images/cards/chat.png");
    height: 24px;
    width: 24px;
}

.AlarmIcon {
    background-image: url("images/cards/alarm.png");
    height: 24px;
    width: 24px;
}

.StarIcon {
    background-image: url("images/cards/star.png");
    height: 24px;
    width: 24px;
}


table {
    width: 60%
}


.bg-light-blue {
    background-color: #dde9ec !important;
}

.bg-gainsboro {
    background-color: gainsboro !important;
}

.text-gainsboro{
    color:gainsboro;
}

.bg-whitesmoke {
    background-color: whitesmoke !important;
}

.border-radius {
    border-radius: 5px;
}

.sidebar-treeview .main-treeview .icon {
    font-family: 'fontello';
    font-size: 16px;
    margin-top: -4px;
}

.sidebar-treeview .main-treeview .icon-home:before {
    content: '\2302';
}
/* '?' */
.sidebar-treeview .main-treeview .icon-group:before {
    content: '\e091';
}
/* '?' */
.sidebar-treeview .main-treeview .icon-logout:before {
    content: '\e741';
}
/* '?' */

.sidebar-treeview .main-treeview .icon-chart-line:before {
    content: '??';
}
/* '\1f4c8' */

/*            #header-section.main-header .icon-menu::before {
                            content: '\e801';
                            font-family: 'fontello';
                            font-size: 27px;
                        }*/

#header-section.main-header .icon-menu::before {
    content: '\f0c9';
    font-family: 'fontello';
    font-size: 27px;
}
/* '?' */

.sidebar-treeview .main-treeview .icon-microchip::before {
    content: '\e806';
}

.sidebar-treeview .main-treeview .icon-thumbs-up-alt::before {
    content: '\e805';
}

.sidebar-treeview .main-treeview .icon-docs::before {
    content: '\e802';
}

.sidebar-treeview .main-treeview .icon-th::before {
    content: '\e803';
}

.sidebar-treeview .main-treeview .icon-code::before {
    content: '\e804';
}

.sidebar-treeview .main-treeview .icon-chrome::before {
    content: '\e807';
}

.sidebar-treeview .main-treeview .icon-up-hand::before {
    content: '\e810';
}

.sidebar-treeview .main-treeview .icon-bookmark-empty::before {
    content: '\e811';
}

.sidebar-treeview .main-treeview .icon-help-circled::before {
    content: '\e813';
}

.sidebar-treeview .main-treeview .icon-doc-text::before {
    content: '\e812';
}

.sidebar-treeview .main-treeview .icon-circle-thin::before {
    content: '\e808';
}

.e-list-icon icon-comment icon::before {
    content: '\e774';
}


.e-btn-sb-icons {
    font-family: 'button-icons';
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.e-play-icon::before {
    content: '\e701';
}

.e-pause-icon::before {
    content: '\e705';
}

.e-open-icon::before {
    content: '\e70d';
}

.e-add-icon::before {
    content: '\e70a';
}

.e-search::before {
    content: '\e993';
}

.e-check::before {
    content: '\e718';
}

.e-times::before {
    content: '\e745';
}

.e-btn-sb-icons {
    font-family: 'button-icons';
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.e-play-icon::before {
    content: '\e701';
}

.e-pause-icon::before {
    content: '\e705';
}

.e-open-icon::before {
    content: '\e70d';
}

.e-add-icon::before {
    content: '\e70a';
}

.e-search:before {
    content: '\e993';
}

@media screen and (min-width: 768px) {
    .e-sample-resize-container {
        width: 75%;
        margin: 0 auto;
    }
}

.tab-content {
    padding: 10px;
    max-height: calc(100vh - 185px);
    overflow-y: auto;
}

.template-container {
    height: 100%;
    padding-top: 7px;
}

.left {
    display: inline-block;
    vertical-align: top;
}

.empImg {
    height: 48px;
    width: 48px;
}

.name, .role {
    line-height: normal;
}

.name {
    font-weight: 500;
}

.role {
    font-weight: 100;
    font-size: 12px;
}

.empl-info {
    padding: 7px 0 0 15px;
}

.content-title {
    height: 50px;
    display: table;
    margin: 0 auto;
}

.cnt-text {
    vertical-align: middle;
    display: table-cell;
    font-size: 18px;
    font-weight: 600;
}

.e-tab .e-listview .e-header {
    height: 50px;
}

.e-tab .e-listview .e-text {
    display: block;
    text-align: center;
}

.e-tab .e-listview:not(.e-list-template) .e-list-item {
    height: 63px;
}

.e-tab .e-tab-text {
    display: inherit;
}

.e-vertical-tab .e-content .e-item.e-active,
.e-vertical-tab .e-content .e-item.e-active ul.e-list-parent {
    width: 100%;
}

.e-control.e-sidebar.e-lib.e-left.e-sidebar-absolute.e-transition.e-open.e-push.sidebar-treeview{
    background-color:white !important;
}

.list-header {
    background-color: lightgray;
    padding: 8px 10px;
    border-radius: 3px 3px 0px 0px;
    margin: 0px;
}

.e-content, .e-list-group-item {
    background-color: white !important;
    border-top: solid 1px #dedede !important;
    border-bottom: solid 1px #dedede !important;
}

@media screen and (max-width: 481px) {
    .control-section.e-tab-section, .container-fluid, .e-tab-section .content-wrapper, .sb-sample-content-area .e-active {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 376px) {
    .e-tab .e-listview:not(.e-list-template) .e-list-item {
        padding: 0;
    }

    .e-tab-section {
        padding: 0 5px;
    }

    .e-tab .e-content.sb-sample-content-area .e-item.e-active {
        padding-left: 0;
        padding-right: 0;
    }

    .template-container {
        padding: 7px 5px 0;
    }

    .e-tab .e-content .e-item.e-active {
        padding: 10px 0;
    }

    .e-content .e-item {
        font-size: 12px;
        padding: 10px;
        text-align: justify;
    }

    @media screen and (max-width: 425px) {
        .tab-adaptive {
            overflow: hidden;
        }

            .tab-adaptive .e-content {
                height: inherit !important;
            }

            .tab-adaptive .e-item.e-active {
                overflow: scroll;
            }
    }
}


@media only screen and (max-width: 700px) {

    .control-section {
        min-height: 200px;
    }
}

.control-section .row {
    margin: 20px 0;
}

.e-bigger .radio-control h4 {
    font-size: 20px;
}

.e-listview .e-list-icon {
    height: 24px;
    width: 30px;
}

.folder {
    background-repeat: no-repeat;
    background-image: url('@UriHelper.ToAbsoluteUri($"images/listview/file-icons.png")');
    background-position: -5px -466px;
    background-size: 302%;
}

.file {
    background-repeat: no-repeat;
    background-image: url('@UriHelper.ToAbsoluteUri($"images/listview/file-icons.png")');
    background-position: -5px -151px;
    background-size: 302%;
}

.nestedlist {
    max-width: 500px;
    margin: auto;
    border: 1px solid #dddddd;
    border-radius: 3px;
}


@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
