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

@media only screen and (min-width: 901px) {
    #container {
        width: 750px;
        margin-left: calc((100% - 750px) / 2);
        margin-right: calc((100% - 750px) / 2);
    }
}

@media only screen and (min-width: 601px) and (max-width: 900px) {

    #container {
        width: 700px;
        margin-left: calc((100% - 700px) / 2);
        margin-right: calc((100% - 700px) / 2);
    }
}

@media only screen and (max-width: 600px) {
    #container {
        margin-left: 0px;
        margin-right: 0px
    }
}

.dropzone {
    border: 3px dashed steelblue;
    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: #444;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

    .dropzone:hover {
        background-color: #f3f3f3;
        color: #333;
    }

    .dropzone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.dropzone-drag {
    background-color: palegreen;
}

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

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: auto;
}

    .main > .topBar {
        height: 50px;
    }

    .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 a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.content {
    padding-top: 1.1rem;
}


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

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }
}

.timetable {
    height: 100%;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.timetable .col {
    padding-left: 0;
    padding-right: 0;
}

.timetable-entry {
    border-left: 1px solid rgba(0,0,0,.07);
    height: 100%;
    font-size: 0.6em;
}

.timetable-date {
    font-size: 0.6em;
    padding: .25rem;
    border-left: 1px solid rgba(0,0,0,.125);
}

.timetable-row {
    border-top: 5px solid rgba(0,0,0,.07);
}

.timetable-header-row {
    border-top: 3px solid rgba(0,0,0,.5);
}

.timetable-note {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7em;
}

.timetable-name {
    font-size: 0.6em;
}

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