﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*
    This file is to show how CSS and other static resources (such as images) can be
    used from a library project/package.
*/

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.50);
}

.bg-joburg {
    background-image: url(/Images/cleanblack.min.png);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-black-50 {
    background-color: rgba(0, 0, 0, 0.50);
}

.bottom {
    bottom: 0;
}

.right {
    right: 0;
}

.w-20 {
    width: 20%;
}

.cursor-pointer {
    cursor: pointer;
}

#ftco-loader .circular {
    -webkit-animation: loader-rotate 2s linear infinite;
    animation: loader-rotate 2s linear infinite;
    /*    position: absolute;
    left: calc(50% - 24px);
    top: calc(50% - 24px);*/
    display: block;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

#ftco-loader .circular {
    animation: loader-rotate 2s linear infinite;
    /*    position: absolute;
    left: calc(50% - 24px);
    top: calc(50% - 24px);*/
    display: block;
    transform: rotate(0deg);
}

#ftco-loader .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: loader-dash 1.5s ease-in-out infinite;
    animation: loader-dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}

#ftco-loader.fullscreen {
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
}

#ftco-loader.show {
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
    margin: auto
}

#ftco-loader {
    width: 96px;
    height: 96px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-out, visibility 0s linear .2s;
    z-index: 1000;
}

@-webkit-keyframes loader-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -136px;
    }
}

@keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -136px;
    }
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: whitesmoke;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #28324e;
    border-color: #28324e;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 100;
    background-color: white;
}

#card-header {
    height: 10rem;
    min-width: 100% !important;
}

#card-img {
    height: 9.5rem;
    padding-top: .5rem;
}

.card-body {
    height: 7rem;
    min-width: 100% !important;
}

.main {
    flex: 1;
}

    .main .top-row {
        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;
        }


#CustomTable {
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 12px;
}


.sidebar {
    /*background-image: url(../images/aerial-photography-of-cars-on-the-road-1123972.jpg);*/
    background-color: #28324e;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 0.9rem;
    }

    .sidebar .oi, .sidebar i {
        width: 2rem;
        font-size: 0.8rem;
        vertical-align: text-top;
        text-align: left;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.8rem;
        /*padding-bottom: 0.5rem;*/
        max-width: 100%;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            /*padding-bottom: 1rem;*/
        }

        .sidebar .nav-item a, .sidebar .nav-item button, .sidebar .nav-item .btn {
            color: #d7d7d7;
            /*border-radius: 4px;*/
            height: 2rem;
            display: flex;
            align-items: center;
            line-height: 2rem;
            font-size: 0.8rem;
        }

            .sidebar .nav-item a.active, .sidebar .nav-item button.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover, .sidebar .nav-item button: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;
    }

    .main {
        /*margin-top: 65px;*/
    }
}

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.50);
}

.bg-dark-50 {
    background-color: rgba(0, 0, 0, 0.50);
}

.z-100 {
    z-index: 100;
}

.z-200 {
    z-index: 200;
}

.z-300 {
    z-index: 300;
}

.z-400 {
    z-index: 400;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.top {
    top: 0;
}

.right {
    right: 0;
}

.bottom {
    bottom: 0;
}

.overlay {
    background-color: rgba(0,0,0,0.5);
}

.sidebar-alt {
    width: 70px;
    text-align: center;
}

.sidebar-alt-toggle {
    position: absolute;
    top: 50%;
    right: -27px;
    border-radius: 50%;
    display: block;
    color: white;
    z-index: 50;
}

    .sidebar-alt-toggle:hover {
        color: white !important;
    }

    .sidebar-alt-toggle i {
        width: 1.5rem;
        height: 1.5rem;
    }

.sidebar-alt p {
    text-align: center;
}

.sidebar-alt span {
    display: none;
}

/*.sidebar-alt .nav-item span {
    position:absolute;
    display:block;
}*/

.vh-92 {
    height: 92vh;
}

.drag-drop-zone {
    border: 3px dashed #009688;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #aeaeae;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 1.5rem 0 2rem 0;
    position: relative;
}

    .drag-drop-zone:hover {
        background-color: #f5f5f5;
    }

    .drag-drop-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

/* Scroll 1 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #dfdfdf;
    border-radius: 10px;
}

.performance-bg {
    background-image: linear-gradient(to right, red,orange,yellow,green);
}


.cursor-pointer {
    cursor: pointer;
    transition: all 0.3s;
}

    .cursor-pointer:hover {
        transform: scale(1.1);
        z-index: 200;
    }

.cursor-pointer-alt {
    transition: all 0.2s;
}

    .cursor-pointer-alt:hover {
        cursor: pointer;
        transform: scale(1.02);
    }

.file-row {
    background-color: #e4e4e4;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0.6rem;
    color: #555;
    display: flex;
    align-items: center;
}

    .file-row h2 {
        margin: 0.3rem 0 0.6rem 0;
        font-weight: bold;
        color: black;
        font-size: 1.1rem;
    }

    .file-row > div {
        flex-grow: 1;
    }

    .file-row button {
        padding: 0.5rem 1rem;
    }

.drag-drop-zone {
    border: 3px dashed #e68710;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #aeaeae;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 1.5rem 0 2rem 0;
    position: relative;
}

    .drag-drop-zone:hover {
        background-color: #f5f5f5;
    }

    .drag-drop-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

pre {
    background-color: #f0f0f0;
    overflow: auto;
    padding: 1rem;
    height: 10rem;
}
