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

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

a, .btn-link {
    color: #0366d6;
}

    a, .btn-link:focus {
        color: #0366d6;
        border: none;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row div:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
            margin-right: auto;
        }

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




.home-widget {
    height: 100%;
    overflow-y: auto;
}

    .home-widget h2 {
        margin-bottom: 0.75rem;
    }

    .home-widget .courses h3 {
        margin-top: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #666;
        margin-bottom: 1.2rem;
    }

    .home-widget .photo-display {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 50%;
        height: 9.5rem;
        width: 9.5rem;
        margin: 0 auto;
        display: inline-block;
        animation: 0.3s background-position linear;
    }

        .home-widget .photo-display:hover {
            background-position: 48% 50%;
        }

    .home-widget .name-display {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .home-widget .student-data-display {
        font-size: 1.0rem;
    }

        .home-widget .student-data-display b {
            margin-right: 0.5rem;
        }

    .home-widget button.dashboard-button {
        width: 140px !important;
        font-weight: lighter;
        font-size: smaller;
    }

    .home-widget mat-progress-bar.large-bar {
        height: 0.75rem;
        border-radius: 2px;
        overflow: hidden;
    }

    .home-widget mat-progress-bar.mid-bar {
        height: 0.5rem;
        border-radius: 2px;
        overflow: hidden;
    }

    .home-widget .nav-button {
        font-size: 2rem;
        cursor: pointer;
        height: 2rem;
        border-radius: 2px;
        user-select: none;
    }

    .home-widget .course-container .course-info {
        margin-top: 0.25rem;
        border-bottom: 1px solid #aaa;
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }

        .home-widget .course-container .course-info .title {
            font-size: 1.2rem;
            font-weight: bold;
        }

        .home-widget .course-container .course-info .code {
            font-size: 1rem;
        }

        .home-widget .course-container .course-info .grade {
            font-weight: bold;
            font-size: 2rem;
            color: #3f51b5;
        }

        .home-widget .course-container .course-info .grade-numeric {
            font-size: 0.9rem;
        }

        .home-widget .course-container .course-info .course-section-meeting {
            border-radius: 2px;
            border: 1px solid #aaa;
            padding: 0;
            margin: 0 0 0.5rem 0;
        }

            .home-widget .course-container .course-info .course-section-meeting label {
                font-size: 0.8rem;
                font-weight: 500;
                margin: 0 0.5rem 0 0;
                padding: 0.25rem 0.5rem;
                white-space: nowrap;
                width: 14rem;
            }

    .home-widget .announcement-container {
        height: calc(100% - 0.75rem);
        overflow-y: auto;
    }

        .home-widget .announcement-container .announcement .announcement-date {
            font-size: 0.75rem;
            color: #666;
        }

        .home-widget .announcement-container .announcement .announcement-title {
            font-weight: bold;
        }

        .home-widget .announcement-container .announcement .announcement-content {
            max-height: 10rem;
            text-overflow: ellipsis;
            overflow: auto;
        }

.k-card {
    font-size: 10pt !important;
}

.k-card-title {
    font-size: 1rem !important;
}

.k-grid {
    font-size: 10pt !important;
}

body {
    font-size: 10pt !important;
}

.k-tabstrip {
    font-size: 10pt !important;
}

.k-drawer-item {
    font-size: 10pt !important;
}

.k-form .k-form-inline {
    font-size: 10pt !important;
}


.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #333333;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #666666;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }
