@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background: #fafafa;
}

a, .btn-link {
    color: #0056B3;
}

.top-row {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1;
}

.content {
    padding-top: 1em;
}

#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;
}

/* Tables */

.table th {
    background: #fff;
}

@media (max-width: 991px) {
    .table-wrapper {
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .table-wrapper > .table {
        width: auto;
    }
}

@media (max-width: 575px) {
    .table-wrapper {
        margin-right: -15px;
        white-space: nowrap;
        padding-bottom: 1rem;
    }
}

.table--schedule {
    margin-top: 15px;
    table-layout: fixed;
}

.table--schedule th {
    background: #fff;
}

.table--schedule .list-group-item {
    background: none;
    padding: 10px 0;
    white-space: nowrap;
}

.simple-table th {
    font-weight: 600;
    padding-right: 12px;
    vertical-align: text-top;
}

@media (max-width: 575px) {
    .simple-table td,
    .simple-table th {
        font-size: 14px;
    }
}



/* Modals */
.blazored-modal-close {
    padding-top: 8px!important;
}

@media (max-width: 575px) {
    .blazored-modal {
        border-radius: 0 !important;
        bottom: 0;
        height: auto;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
}

.scrollable-modal {
    overflow-y: auto;
}

@media (min-width: 576px) {
    .scrollable-modal {
        max-height: calc(100vh - 50px);
    }
}

/* Buttons */
@media (min-width: 768px) {
    .btn-secondary:hover, .btn-outline-secondary:hover {
        background: #2A3037;
        color: #fff !important;
    }
}

.btn-secondary:active {
    border-color: #3B4147;
    background: #3B4147 !important;
}

.btn-danger {
    background-color: #D51C29!important;
    border: none;
    border-radius: 20px;
    box-shadow: none !important;
    color: #fff!important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 40px;
    padding: 0 40px;
}

.btn-danger:disabled {
    background: #E05F68;
}

.input-group-btn > .btn {
    border-radius: 0 5px 5px 0;
    line-height: calc(1.5em + .75rem + 5px);
}

.message-button {
    bottom: 0;
    position: absolute;
    right: 0;
}

/* Typography */
.heading {
    font-size: 1.5rem;
    margin: 24px 0;
}

.subheading {
    font-size: 1.25rem;
    margin-top: 24px;
}

.semi-bold {
    font-weight: 600;
}

/* Misc */

.stars {
    color: #ff9900;
}

@media (max-width: 575px) {
    .mobile-block {
        display: block;
    }

    .mobile-block > .col {
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .card-deck--desktop-only {
         flex-direction: column;
    }

    .card-deck--desktop-only > .card {
        margin-bottom: 15px;
        margin-top: 15px;
    }
}