@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.responsive-title {
    font-size: 4.2vw;
    font-weight: bold;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    background-color: #fff;
    height: 100% !important;
}

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;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
    }

        .main .top-row .end {
            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;
        }

.navbar .navbar-brand {
    color: #000;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: #f7f7f7;
    }

    .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]) {
    border-color: #28a745;
}

.invalid {
    border-color: #dc3545;
}

.validation-message {
    color: red;
}

.flip-card {
    background-color: transparent;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card-flip-to-back {
    transform: rotateY(180deg);
}

.line-seperator .coll:first-child {
    padding-left: 0;
}

.line-seperator .coll {
    padding-left: 3px;
    padding-right: 6px;
}

.line-seperator .coll, .seperator-col .coll {
    border-right: 1px solid #eee;
}

/*remove padding from sfgrid cells to that we can add our own markup to the inner divs*/
.report .e-grid .e-rowcell {
    padding: 0px;
}

.report .e-grid .e-headercell {
    padding: 0px;
}

.report-row-title {
    white-space: pre;
}

.report-cell {
    line-height: 100%;
    padding-top: 2px;
    padding-bottom: 2px;
}

.report-cell-top-single {
    border-top: 1px solid !important;
}

.report-cell-bottom-single {
    border-bottom: 1px solid !important;
}

.report-cell-bottom-double {
    border-bottom: double !important;
}

.report-cell-bold {
    font-weight: 700 !important;
}

.report-cell-underline {
    text-decoration: underline;
}

.report-cell-center {
    text-align: center !important;
}

.report-cell-left {
    text-align: left !important;
}

.report-cell-green {
    background-color: #28a745 !important;
    color: #fff !important;
}

.report-cell-yellow {
    background-color: #ffc107 !important;
    color: #fff !important;
}

.report-cell-red {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.report-members {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
}

.table-members {
    width: auto !important;
    border-collapse: collapse;
    display: table;
    text-indent: initial;
    border-spacing: 0px;
    border-color: grey;
}

    .table-members th {
        text-align: center !important;
        padding-right: 0.5rem !important;
        text-decoration: underline;
        font-weight: normal;
    }

    .table-members td {
        height: 15px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-right: 0.5rem !important;
        text-align: right;
    }

#comparison-range-slider .e-range {
    background-color: #ffc107 !important
}

#comparison-range-slider .e-handle-first {
    background-color: #28a745 !important;
}

#comparison-range-slider .e-handle-second {
    background-color: #dc3545 !important;
}

/*padding fix for sf grid*/
.e-grid .e-gridheader .e-sortfilter .e-fltr-icon .e-headercelldiv {
    margin: -5px 15px -5px 0px !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;
    }

@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;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.card-header-icon {
    float: right;
    padding-top: 3px;
}
