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

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

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;
        align-content: center;
        text-align: center;
    }

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

    .sidebar .nav-item {
        font-size: 0.8rem;
        padding-bottom: 0.2rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 0.2rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 0.2rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            text-decoration: none;
        }

    .sidebar .nav-header a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        text-decoration: none;
    }

    .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]) {
    border: 1px solid #26b050;
    border-radius: .2rem;
}

.invalid {
    border: 1px solid red;
    border-radius: .2rem;
}

.validation-message {
    color: red;
    font-size: 0.8rem;
}

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



.valid.modified:not([type=checkbox]) {
    border: 1px solid #26b050;
    border-radius: .2rem;
}

.invalid {
    border: 1px solid red;
    border-radius: .2rem;
}

.validation-message {
    color: red;
    font-size: 0.8rem;
}


.user-info {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    text-align: right;
}

    .user-info img {
        margin-right: 0.7rem;
        width: 2.6rem;
    }

    .user-info .username {
        display: block;
        font-weight: 700;
        line-height: 0.7rem;
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }

    .user-info a {
        color: #3a0647;
        font-size: 0.8rem;
    }

a.sign-in {
    background: none;
    border: 1.5px solid white;
    border-radius: 0.7em;
    color: white;
    text-transform: uppercase;
    padding: 0.2rem 0.8rem 0.1rem 0.8rem;
    font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
    font-weight: 100;
    cursor: pointer;
    transition: 0.2s ease-out;
}

    a.sign-in:hover {
        background-color: rgba(255,255,255,0.3);
        color: rgb(221, 221, 221);
        /*  border-color: #fff2cc;*/
    }

.user-info a.sign-out {
    color: #0366d6;
    font-size: 0.76rem;
    cursor: pointer;
}

    .user-info a.sign-out:hover {
        text-decoration: underline;
    }


.title-brand {
    padding-top: 1.6rem;
    padding-bottom: .3125rem;
    margin-right: 3rem;
    font-size: 1.25rem;
    margin-left: -18rem;
    color: white;
}

    .title-brand:hover {
        text-decoration: none;
        color: white;
    }

.button-bar {
    height: 2.5rem;
    background-color: #1861ac;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    padding: 0 3rem;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.text-button-bar {
    align-content: center;
    text-align: center;
    padding: 0.6rem;
    font-size: 0.86rem;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
}


.loading-bar {
    position: absolute;
    top: calc(50% - 3px);
    left: calc(50% - 250px);
    width: 600px;
    height: 6px;
    background-color: white;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2)
}

    .loading-bar::after {
        content: '';
        display: block;
        width: 200px;
        height: 100%;
        background-color: #ffb800;
        animation: progressbar-slide 1s infinite;
        animation-timing-function: ease-in-out;
    }

@keyframes progressbar-slide {
    0% {
        transform: translateX(-200px);
    }

    70% {
        transform: translateX(500px);
    }

    100% {
        transform: translateX(500px);
    }
}

.loading-page {
    position: absolute;
    top: calc(-2rem + 50% - 3px);
    left: calc(50% - 250px);
    width: 600px;
    height: 6px;
    background-color: white;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2)
}

    .loading-page::after {
        content: '';
        display: block;
        width: 200px;
        height: 100%;
        background-color: #ffb800;
        animation: progressbar-slide 1s infinite;
        animation-timing-function: ease-in-out;
    }

div.dataTables_wrapper div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    font-size: 0.8rem;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    font-size: 0.8rem;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.85em;
    font-size: 0.8rem;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end;
    font-size: 0.8rem;
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
    font-size: 0.8rem;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
    color: white;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
    color: white;
}


.btn-label {
    position: relative;
    left: -12px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0,0,0,0.15);
    border-radius: 3px 0 0 3px;
}

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
}

.btn {
    margin-bottom: 10px;
}

.formModal {
    max-width: 650px;
    min-width: 400px;
    padding: 0.3rem
}

.formModal-large {
    max-width: 99%;
    padding: 0.3rem
}

.formModal-medium {
    max-width: 99%;
    padding: 0.3rem
}


* {
    scrollbar-width: thin;
    scrollbar-heigth: thin;
    scrollbar-color: #3a0647 red;
}

    *::-webkit-scrollbar {
        width: 5px;
    }

    *::-webkit-scrollbar-track {
        background: rgba(145, 144, 144, 0.52);
    }

    *::-webkit-scrollbar-thumb {
        background-color: rgba(145, 144, 144, 0.79);
        border-radius: 20px;
        border: 2px solid transparent;
    }


.form-label {
    margin-top: 6px;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 700;
    color: #024EC0;
    margin-bottom: 0px;
}

.contol-hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    display: none;
}

.contol-visible {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.5s linear;
}

.contol-hidden-table {
    animation: 1s fadeIn;
    animation-fill-mode: forwards;
    visibility: hidden;
}

.contol-visible-table {
    animation: 1s fadeIn;
    animation-fill-mode: forwards;
    visibility: visible;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        visibility: visible;
        opacity: 1;
    }
}
.option-default {
    color: gainsboro;
}

.footer-bar-button {
    display: block;
    padding: 0rem 0rem 0.6rem 0.6rem;
    text-align: left;
    font-size: 0.64rem;
    color: gray;
    max-width: 17rem;
    position: fixed;
}

    .footer-bar-button div {
        font-size: 0.64rem;
        margin-bottom: 3px;
    }

    .footer-bar-button i.oi.position-sticky {
        font-size: 0.8rem;
    }

.ImageBanner {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ImageBanner img {
        width: 86%;
        margin-top: -5px;
    }



@media screen and (min-width: 801px) {
    .ImageBanner img {
        margin-left: 176px;
        width: 59%;
        position: absolute;
        margin-top: 1px;
    }
}

@media screen and (max-width: 800px) {
    .ImageBanner img {
        margin-left: 144px;
        margin-top: 1px;
        width: 26%;
        position: absolute;
    }
}

@media screen and (max-width: 600px) {
    .ImageBanner img {
        margin-left: 400px;
        width: 33%;
        position: absolute;
    }
}
