@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Poppins','Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #696969;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
    background-image: url(/img/roth-right-2.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}



.main {
    flex: 1;
}

    .main .top-row {
        background-color: #575757;
        border-bottom: 1px solid gainsboro;
        justify-content: flex-end;
        z-index: 10;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
            height: 100%;
            background: #373737;
            font-weight: bold;
            color: white;
            border-radius: 0rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background: whitesmoke;
}

    .sidebar .top-row {
        background: #575757;
        border-bottom: 1px solid gainsboro;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 1rem;
        font-size: 1rem;
        margin-right: 2rem;
        top: 0;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        width: 280px;
        text-align: end;
    }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #A1A1A1;
            align-items: center;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            margin: 0.25rem 0.5rem 0.25rem 0.5rem;
            border-radius: 0.25rem;
            padding: .75rem .75rem;
        }

            .sidebar .nav-item a.active {
                background-color: #C4161C;
                font-weight: bold;
                color: white;
                letter-spacing: 1px;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(238, 28, 36,0.5);
                color: #C4161C;
            }

.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: 1rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

a {
    transition: all .3s ease-out;
}

    a:hover {
        color: black;
        text-decoration: unset;
    }

.h-header-red {
    color: #C4161C;
    font-weight: 400;
    border-left: 4px solid;
    padding-left: 1rem;
}

.btn-danger-custom {
    margin-top: 1rem;
    padding: 1rem;
    background: #C4161C;
    font-size: 1.25rem;
    letter-spacing: 1px;
    font-weight: 400;
    outline: 2px solid #fbdedf;
    outline-offset: 3px;
}

th {
    padding: 1rem 0.75rem !important;
    text-transform: uppercase;
    vertical-align: middle !important;
    color: #676767;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: scroll;
}

::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

::-webkit-scrollbar,
::-webkit-scrollbar-thumb {
    overflow: visible;
}

::-webkit-scrollbar-thumb {
    background: gainsboro;
}

.labels_centered {
    font-weight: 300;
    color: #C4161C;
    padding-left: 1rem;
    border-left: 4px solid;
    letter-spacing: .5px;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    margin-top: 1rem;
    text-align: left;
}

td {
    font-size: .875rem !important;
    vertical-align: middle !important;
}

.btn-primary-red, .btn-primary-gray {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
}

.btn-primary-red {
    background: #C4161C;
    color: white;
}

.btn-primary-gray {
    background: gainsboro;
    color: #373737;
}

.label-muted {
    color: #575757;
}

.background {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23E1E1E1' fill-opacity='1' d='M0,224L48,234.7C96,245,192,267,288,261.3C384,256,480,224,576,202.7C672,181,768,171,864,186.7C960,203,1056,245,1152,250.7C1248,256,1344,224,1392,208L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.table {
    background: rgba(255, 255, 255, 0.75);
}