﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*font-size: 11pt;
    font-family: Tahoma,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;
}

.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 {
    padding-top: 1.1rem;
}

.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;
}

@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;
    }

    .current-page-number {
        text-align: center !important;
        padding-left: 1.5px !important;
        padding-bottom: 3px !important;
    }

    @font-face {
        font-family: 'ShowNext';
        src: url('../fonts/ShowNext.ttf') format('truetype');
    }

    .e-show-next-page-icon {
        font-family: 'ShowNext' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-show-next-page-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'ShowPrevious';
        src: url('../fonts/ShowPrevious.ttf') format('truetype');
    }

    .e-show-previous-page-icon {
        font-family: 'ShowPrevious' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-show-previous-page-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'ShowFirst';
        src: url('../fonts/ShowFirst.ttf') format('truetype');
    }

    .e-show-first-page-icon {
        font-family: 'ShowFirst' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-show-first-page-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'ShowLast';
        src: url('../fonts/ShowLast.ttf') format('truetype');
    }

    .e-show-last-page-icon {
        font-family: 'ShowLast' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-show-last-page-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'zoom-out';
        src: url('../fonts/zoom-out.ttf') format('truetype');
    }

    .e-zoom-out-icon {
        font-family: 'zoom-out' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-zoom-out-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'zoom-in';
        src: url('../fonts/zoom-in.ttf') format('truetype');
    }

    .e-zoom-in-icon {
        font-family: 'zoom-in' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-zoom-in-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'Open-file';
        src: url('../fonts/Open-file.ttf') format('truetype');
    }

    .e-open-file-icon {
        font-family: 'Open-file' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-open-file-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'text-selection-tool';
        src: url('../fonts/text-selection-tool.ttf') format('truetype');
    }

    .e-text-selection-tool-icon {
        font-family: 'text-selection-tool' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-text-selection-tool-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'pan-mode';
        src: url('../fonts/pan-mode.ttf') format('truetype');
    }

    .e-pan-mode-icon {
        font-family: 'pan-mode' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-pan-mode-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'add-comments';
        src: url('../fonts/add-comments.ttf') format('truetype');
    }

    .e-add-comments-icon {
        font-family: 'add-comments' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-add-comments-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    .css-input {
        text-align: center !important;
        padding-left: 0px !important;
    }

    .css-of-page {
        padding: 0px;
        margin: 0px;
        font-size: 14px;
        padding-right: 4px;
    }

    @font-face {
        font-family: 'search-find';
        src: url('../fonts/search-find.ttf') format('truetype');
    }

    .e-search-find-icon {
        font-family: 'search-find' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-search-find-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'custom-stamp-icon';
        src: url('../fonts/custom-stamp-icon.ttf') format('truetype');
    }

    .e-custom-stamp-icon {
        font-family: 'custom-stamp-icon' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-custom-stamp-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'annotation-edit';
        src: url('../fonts/annotation-edit.ttf') format('truetype');
    }

    .e-annotation-edit-icon {
        font-family: 'annotation-edit' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-annotation-edit-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'show-progress';
        src: url('../fonts/show-progress.ttf') format('truetype');
    }

    .e-show-progress-icon {
        font-family: 'show-progress' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-show-progress-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'e-thumbnails-icon';
        src: url('../fonts/e-thumbnails-icon.ttf') format('truetype');
    }

    .e-thumbnails-icon {
        font-family: 'e-thumbnails-icon' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-thumbnails-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'print-file';
        src: url('../fonts/print-file.ttf') format('truetype');
    }

    .e-print-file-icon {
        font-family: 'print-file' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-print-file-icon::before {
            content: "\e700";
            font-size: 14px;
        }

    @font-face {
        font-family: 'Full-Screen-Expand-WF';
        src: url('../fonts/Full-Screen-Expand-WF.ttf') format('truetype');
    }

    .e-Full-Screen-Expand-WF-icon {
        font-family: 'Full-Screen-Expand-WF' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-Full-Screen-Expand-WF-icon::before {
            content: "\e700";
            font-size: 14px;
        }
    @font-face {
        font-family: 'full-screen-collapsed-wf';
        src: url('../fonts/full-screen-collapsed-wf.ttf') format('truetype');
    }

    .e-full-screen-collapsed-wf-icon {
        font-family: 'full-screen-collapsed-wf' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

    .e-full-screen-collapsed-wf-icon::before {
        content: "\e700";
        font-size: 14px;
    }

    @font-face {
        font-family: 'pause';
        src: url('../fonts/pause.ttf') format('truetype');
    }

    .e-pause-icon {
        font-family: 'pause' !important;
        speak: none;
        font-size: 16px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-pause-icon::before {
            content: "\e700";
            font-size: 12px;
        }
    @font-face {
        font-family: 'play';
        src: url('../fonts/play.ttf') format('truetype');
    }

    .e-play-icon {
        font-family: 'play' !important;
        speak: none;
        font-size: 16px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-play-icon::before {
            content: "\e700";
            font-size: 12px;
        }

    .e-next-icon {
        font-family: 'ShowNext' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-next-icon::before {
            content: "\e700";
            font-size: 12px;
        }

    .e-previous-icon {
        font-family: 'ShowPrevious' !important;
        speak: none;
        font-size: 22px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-left: 0px;
    }

        .e-previous-icon::before {
            content: "\e700";
            font-size: 12px;
        }
    #components-reconnect-modal {
        display: none;
    }

        #components-reconnect-modal.components-reconnect-show {
            display: block;
        }
}
