﻿*,
*::before,
*::after {
    box-sizing: border-box !important;
}

#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;
    }

html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    font-size: 14px
}

body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #fdfdfd;
    font-family: 'Open Sans', 'arial', sans-serif;
    color: #333;
    font-size: 14px;
    letter-spacing: 0.05em;
}

body {
    background-size: cover;
}   

a:hover {
    text-decoration: none;
}

.body-container {
    background-color: transparent;
}

    .body-container .body-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }

textarea {
    font-family: 'Open Sans', 'arial', sans-serif;
}

img, video {
    display: block;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    color: #bc00de;
    text-decoration: none;    
}

.header {
    height: 100px;
    border-bottom: solid 1px #e1e1e1;
    background-color: #fff;
    padding: 0px 25px;
}

    .header .title {
        font-size: 16px;
        font-weight: 700;
        padding-top: 26px;
    }

    .header .subtitle {
        font-size: 13px;
        color: #999;
        padding-top: 2px;
    }

.has-success {
    color: #31c72d;
}

.has-error {
    color: #e60b0b;
}

.app-body {
    max-width: 100%;
}

.view-app {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 40px);
    width: 100%;
}

.view-login {
    height: 100vh;
    background-color: #192f41;
    width: 100%;
    display: flex;
    align-items: center;
}

.login-form {
    display: flex;
    flex-direction: column;

    width: 350px;
    margin: 0px auto;
    border: solid 1px #000;
    padding: 20px 30px 15px 30px;
    border-radius: 5px;
    background-color: #fafafa;
}

    .login-form input {
        width: 100%;
        line-height: 28px;
        font-size: 16px;
        padding: 2px 10px;
    }

    .login-form .title {
        font-size: 12px;
        color: #666;
        margin-bottom: 2px;
    }

.login-error {
    color: #ff3a3a;
    font-size: 14px;
    margin-top: 10px;
    letter-spacing: 0.02rem;
}

.nav-header {
    text-transform: uppercase;
    color: #536c80;
    padding-left: 15px;
    padding-top: 15px;
    font-size: 13px;
}

.nav-item {
    color: #bbbec2;
    font-weight: 400;
    font-size: 12px;
    padding: 3px 25px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .nav-item:hover {
        cursor: pointer;
        color: #fff;
        background-color: #12222f;
    }

    .nav-item.active {
        color: #fff;
        background-color: #1177e6;
    }

.taskbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #111;
    color: #fff;
    height: 40px;
    font-size: 0.9em;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    border-bottom: solid 1px #333;
}

    .taskbar .taskbar-start {
        display: flex;
        align-items: center;
        min-width: 400px;
        width: 400px;
        justify-content: center;
    }

    .taskbar .taskbar-end {
        display: flex;
        align-items: center;
        height: 100%;
        padding-right: 15px;
        margin-left: auto;
        width: 300px;
        justify-content: flex-end;
    }

    .taskbar .taskbar-end a {
        color: #fff;
        padding-right: 20px;
    }

        .taskbar .taskbar-end a:hover {
            color: #2bc4ff;
        }

    .taskbar-end .display-name {
        color: #aaa;
        padding-right: 15px;
        font-size: 1.1em;
    }

    .taskbar .taskbar-content {
        display: flex;
        height: 100%;
        width: calc(100% - 300px - 120px);
    }

    .taskbar .app-buttons {
        display: flex;
        flex-direction: row;
    }

    .taskbar .current-user {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        align-content: center;
        letter-spacing: 0.05em;
        font-size: 0.95em;
    }

        .taskbar .current-user div {
            color: #fff;
            background-color: #7d71cf;
            border-radius: 5px;
            padding: 5px 12px;
            margin-right: 5px;
            border: solid 1px #7d71cf;
        }

            .taskbar .current-user div:hover {
                cursor: pointer;
                background-color: #171046;
                color: #fff;
                color: #e1c500;
                border: solid 1px #cf9900;
                text-decoration: none;
            }

    .taskbar .taskbar-app-button {
        display: flex;
        align-items: center;
        padding: 0px 20px;
        border-bottom: solid 2px #222;
        color: #ccc;
        text-decoration: none;
        margin-right: 10px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

        .taskbar .taskbar-app-button:hover {
            color: #fff;
            border-bottom: solid 2px #2bc4ff;
            cursor: pointer;
        }

        .taskbar .taskbar-app-button i {
            padding-left: 10px;
            width: 24px;
        }

    .taskbar .taskbar-app-button-active {
        background-color: #303030;
        border-bottom: solid 2px #2bc4ff;
        color: #fff;
    }

.taskbar-end .settings {
    color: #ddd;
    padding-right: 15px;
}

    .taskbar-end .settings:hover {
        cursor: pointer;
        color: #fff;
    }

.desktop {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 40px);
    background-color: #222;
}

    .desktop .master-container {
        width: 400px;
        background-color: #333;
    }

    .desktop .detail-container {
        width: calc(100% - 400px);
        background-color: #555;
        color: #fff;
    }


.master-container {
}
    .master-container ::-webkit-scrollbar-corner {
        background-color: transparent;
    }

    .master-container ::-webkit-scrollbar {
        background-color: #00000000;
    }

    .master-container ::-webkit-scrollbar-thumb {
        background-color: #FFFFFF88;
        border: 4px solid rgba(0, 0, 0, 0);
        background-clip: content-box;
        border-radius: 8px;
    }

    .master-container ::-webkit-scrollbar-corner {
        background-color: #fff;
    }

.scroll-container {
}

    .scroll-container ::-webkit-scrollbar-corner {
        background-color: transparent;
    }

    .scroll-container ::-webkit-scrollbar {
        background-color: #00000000;
    }

    .scroll-container ::-webkit-scrollbar-thumb {
        background-color: #FFFFFF88;
        border: 4px solid rgba(0, 0, 0, 0);
        background-clip: content-box;
        border-radius: 8px;
    }

    .scroll-container ::-webkit-scrollbar-corner {
        background-color: #fff;
    }

.action-button-container {
    display: flex;
}

.btn {
    text-decoration: none;
    border-radius: 5px;
    border: solid 1px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn:hover {
        cursor: pointer;
    }

/* button flat background */
.btn.btn-white { background:#ffffff; border-color: #ffffff; color: #232323; }
.btn.btn-white:hover, .btn.btn-white:focus { background: transparent; color: #fff; }
.btn.btn-black { background:#000000; border-color: #000000; color: #fff; }
.btn.btn-black:hover, .btn.btn-black:focus { background: transparent; color: #000; }
.btn.btn-red { background:#df0909; border-color: #df0909; color: #ffffff; }
.btn.btn-red:hover, .btn.btn-red:focus { background: transparent; color: #df0909; }
.btn.btn-dark-gray { background: #232323; border-color: #232323; color: #fff; }
.btn.btn-dark-gray:hover, .btn.btn-dark-gray:focus { background: transparent; color: #232323; }
.btn.btn-light-gray { background: #dbdbdb; border-color: #dbdbdb; color: #232323; }
.btn.btn-light-gray:hover, .btn.btn-light-gray:focus { background: transparent; border-color: #dbdbdb; color: #dbdbdb; }
.btn.btn-fast-blue { background: #0038e3; border-color: #0038e3; color: #ffffff; }
.btn.btn-fast-blue:hover, .btn.btn-fast-blue:focus { background: transparent; color: #0038e3; }
.btn.btn-green { background: #27AE60; border-color: #27AE60; color: #ffffff; }
.btn.btn-green:hover, .btn.btn-green:focus { background: #249353; border-color: #249353 }
.btn.btn-olivine-green { background: #8bb867; border-color: #8bb867; color: #ffffff; }
.btn.btn-olivine-green:hover, .btn.btn-olivine-green:focus { background: transparent; color: #8bb867; }
.btn.btn-sky-blue { background: #2e94eb; border-color: #2e94eb; color: #ffffff; }
.btn.btn-sky-blue:hover, .btn.btn-sky-blue:focus { background: transparent; color: #2e94eb; }
.btn.btn-yellow-ochre { background: #c89965; border-color: #c89965; color: #ffffff; }
.btn.btn-yellow-ochre:hover, .btn.btn-yellow-ochre:focus { background: transparent; color: #c89965; }
.btn.btn-fast-yellow { background: #F4D956; border-color: #F4D956; color: #232323; }
.btn.btn-fast-yellow:hover, .btn.btn-fast-yellow:focus { background: transparent; color: #F4D956; }
.btn.btn-dark-purple { background: #333045; border-color: #333045; color: #ffffff; }
.btn.btn-dark-purple:hover, .btn.btn-dark-purple:focus { background: transparent; color: #333045; }
.btn.btn-slate-blue { background: #262b35; border-color: #262b35; color: #ffffff; }
.btn.btn-slate-blue:hover, .btn.btn-slate-blue:focus { background: transparent; color: #262b35; }
.btn.btn-medium-slate-blue { background: #374162; border-color: #374162; color: #ffffff; }
.btn.btn-medium-slate-blue:hover, .btn.btn-medium-slate-blue:focus { background: transparent; color: #374162; }
.btn.btn-neon-orange { background: #ff7a56; border-color: #ff7a56; color: #ffffff; }
.btn.btn-neon-orange:hover, .btn.btn-neon-orange:focus { background: transparent; color: #ff7a56; }
.btn.btn-salmon-rose { background: #ea9d8d; border-color: #ea9d8d; color: #232323; }
.btn.btn-salmon-rose:hover, .btn.btn-salmon-rose:focus { background: transparent; color: #ea9d8d; }
.btn.btn-tussock { background: #bf8c4c; border-color: #bf8c4c; color: #ffffff; }
.btn.btn-tussock:hover, .btn.btn-tussock:focus { background: transparent; color: #bf8c4c; }
.btn.btn-golden { background: #ca943d; border-color: #ca943d; color: #ffffff; }
.btn.btn-golden:hover, .btn.btn-golden:focus { background: transparent; color: #ca943d; }
.btn.btn-golden-brown { background: #CD9452; border-color: #CD9452; color: #ffffff; }
.btn.btn-golden-brown:hover, .btn.btn-golden-brown:focus { background: transparent; color: #CD9452; }
.btn.btn-iris-blue { background: #00B8B8; border-color: #00B8B8; color: #ffffff; }
.btn.btn-iris-blue:hover, .btn.btn-iris-blue:focus { background: transparent; color: #00B8B8; }
.btn.btn-disabled { background: #EEE; color: #888; border: #EEE;  }
.btn.btn-disabled:hover { cursor: default; }

.btn.btn-outline-white { background: transparent; color: #fff; }
.btn.btn-outline-white:hover, .btn.btn-outline-white:focus { background:#ffffff; border-color: #ffffff; color: #232323; }
.btn.btn-outline-black { background: transparent; color: #000; }
.btn.btn-outline-black:hover, .btn.btn-outline-black:focus { background:#000000; border-color: #000000; color: #fff; }
.btn.btn-outline-red { background: transparent; color: #df0909; }{ background:#df0909; border-color: #df0909; color: #ffffff; }
.btn.btn-outline-red:hover, .btn.btn-outline-red:focus { background:#df0909; border-color: #df0909; color: #ffffff; }
.btn.btn-outline-dark-gray { background: transparent; color: #232323; }
.btn.btn-outline-dark-gray:hover, .btn.btn-outline-dark-gray:focus { background: #232323; border-color: #232323; color: #fff; }
.btn.btn-outline-light-gray { background: transparent; border-color: #dbdbdb; color: #dbdbdb; }
.btn.btn-outline-light-gray:hover, .btn.btn-outline-light-gray:focus { background: #dbdbdb; border-color: #dbdbdb; color: #232323; }
.btn.btn-outline-fast-blue { background: transparent; color: #0038e3; }
.btn.btn-outline-fast-blue:hover, .btn.btn-outline-fast-blue:focus { background: #0038e3; border-color: #0038e3; color: #ffffff; }
.btn.btn-outline-green { background: transparent; color: #27AE60; }
.btn.btn-outline-green:hover, .btn.btn-outline-green:focus { background: #27AE60; border-color: #27AE60; color: #ffffff; }
.btn.btn-outline-olivine-green { background: transparent; color: #8bb867; }
.btn.btn-outline-olivine-green:hover, .btn.btn-outline-olivine-green:focus { background: #8bb867; border-color: #8bb867; color: #ffffff; }
.btn.btn-outline-sky-blue { background: transparent; color: #2e94eb; }
.btn.btn-outline-sky-blue:hover, .btn.btn-outline-sky-blue:focus { background: #2e94eb; border-color: #2e94eb; color: #ffffff; }
.btn.btn-outline-yellow-ochre { background: transparent; color: #c89965; }
.btn.btn-outline-yellow-ochre:hover, .btn.btn-outline-yellow-ochre:focus { background: #c89965; border-color: #c89965; color: #ffffff; }
.btn.btn-outline-fast-yellow { background: transparent; color: #F4D956; }
.btn.btn-outline-fast-yellow:hover, .btn.btn-outline-fast-yellow:focus { background: #F4D956; border-color: #F4D956; color: #232323; }
.btn.btn-outline-dark-purple { background: transparent; color: #333045; }
.btn.btn-outline-dark-purple:hover, .btn.btn-outline-dark-purple:focus { background: #333045; border-color: #333045; color: #ffffff; }
.btn.btn-outline-slate-blue { background: transparent; color: #262b35; }
.btn.btn-outline-slate-blue:hover, .btn.btn-outline-slate-blue:focus { background: #262b35; border-color: #262b35; color: #ffffff; }
.btn.btn-outline-medium-slate-blue { background: transparent; color: #374162; }
.btn.btn-outline-medium-slate-blue:hover, .btn.btn-outline-medium-slate-blue:focus { background: #374162; border-color: #374162; color: #ffffff; }
.btn.btn-outline-neon-orange { background: transparent; color: #ff7a56; }
.btn.btn-outline-neon-orange:hover, .btn.btn-outline-neon-orange:focus { background: #ff7a56; border-color: #ff7a56; color: #ffffff; }
.btn.btn-outline-salmon-rose { background: transparent; color: #ea9d8d; }
.btn.btn-outline-salmon-rose:hover, .btn.btn-outline-salmon-rose:focus { background: #ea9d8d; border-color: #ea9d8d; color: #232323; }
.btn.btn-outline-tussock { background: transparent; color: #bf8c4c; }
.btn.btn-outline-tussock:hover, .btn.btn-outline-tussock:focus { background: #bf8c4c; border-color: #bf8c4c; color: #ffffff; }
.btn.btn-outline-golden { background: transparent; color: #ca943d; }
.btn.btn-outline-golden:hover, .btn.btn-outline-golden:focus { background: #ca943d; border-color: #ca943d; color: #ffffff; }
.btn.btn-outline-golden-brown { background: transparent; color: #CD9452; }
.btn.btn-outline-golden-brown:hover, .btn.btn-outline-golden-brown:focus { background: #CD9452; border-color: #CD9452; color: #ffffff; }
.btn.btn-outline-iris-blue { background: transparent; color: #00B8B8; }
.btn.btn-outline-iris-blue:hover, .btn.btn-outline-iris-blue:focus { background: #00B8B8; border-color: #00B8B8; color: #ffffff; }

/* custom scrollbar */
/*::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #a8bbbf;
    }*/

.toggle {
    cursor: pointer;
    display: inline-block;
}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}

    .toggle-switch:before, .toggle-switch:after {
        content: "";
    }

    .toggle-switch:before {
        display: block;
        background: linear-gradient(to bottom, #fff 0%, #eee 100%);
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
        width: 24px;
        height: 24px;
        position: absolute;
        top: 4px;
        left: 4px;
        transition: left 0.25s;
    }

.toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked + .toggle-switch {
    background: #56c080;
}

    .toggle-checkbox:checked + .toggle-switch:before {
        left: 30px;
    }

.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

.link-button {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif, serif;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    outline: none;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .link-button:hover,
    .link-button:focus {
        text-decoration: none;
        cursor: pointer;
    }

.btn-purple {
    color: #fff;
    border-color: #7d71cf;
    background-color: #7d71cf;
}

    .btn-purple:hover,
    .btn-purple:focus {
        border-color: #594ea0;
        background-color: #594ea0;
    }