﻿/* --- App.css --- */
#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;
    }

/* --- Navbar --- */
.navbar-vertical.navbar-expand-xs.collapse {
    max-width: 66px;
}

.navbar-vertical.navbar-expand-xs.fixed-left.collapse + .main-content {
    margin-left: 66px;
}

.navbar-toggler:focus {
    outline: none !important;
}

.navbar-toggler {
    padding: 1rem;
}

.navbar-vertical.navbar-expand-xs.fixed-left.collapse .nav-link-text {
    display: none;
}

.nav-link-text {
    font-weight: normal;
}

a.nav-link.active .nav-link-text {
    font-weight: 500;
}

.diagnal-header {
    margin-bottom: -300px
}

/* --- Title header --- */
.title-header {
    display: flex;
}

    .title-header .breadcrumb {
        background-color: white;
    }

    .title-header h6 {
        margin-bottom: 35px;
    }

    .title-header .header-item {
        flex: 1;
        display: flex;
        justify-content: center;
    }

        .title-header .header-item:first-child > div {
            margin-right: auto;
        }

        .title-header .header-item:last-child > div {
            margin-left: auto;
        }

        .title-header .header-item .card {
            margin-top: -6px;
            margin-bottom: 15px;
        }

/* --- Other --- */
body {
    font-family: "Segoe UI", "GeezaPro", "DejaVu Serif", sans-serif, "-apple-system", "BlinkMacSystemFont";
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

.nav-link .ms-Icon {
    margin-right: 15px;
    font-size: 18px;
}

.e-schedule .e-month-view .e-appointment .e-appointment-details .e-subject {
    font-weight: bold;
}

.color-display {
    width: 10px;
    height: 10px;
}

.e-icons {
    /*color: #00ffff;*/
    font-size: 26px;
}

.e-left:before {
    content: '\e937';
}

.e-right:before {
    content: '\e85c';
}

tr.e-row.e-altrow {
    background: #f7f8ff;
}

.btn-danger:focus {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.e-blazor-toast-hidden {
    visibility: visible;
}

.e-header-dentists {
    display: flex;
    justify-content: center;
}

.dentist-workday {
    display: inline-block;
    width: 50px;
    text-align: center;
    padding: 2px;
    border: 1px solid gray;
    margin: 0 2px;
}

.e-quick-popup-wrapper .e-event-popup .e-popup-header .e-subject-wrap .e-subject {
    border-left: 6px solid rgba(0, 0, 0, 0.25);
}

.log-time-modal table, .log-time-modal td, .log-time-modal th {
    border: 1px solid lightgray;
}

.log-time-modal td {
    height: 30px;
}

.log-time-modal input {
    width: 100%;
}

.log-time-modal .overtime {
    font-weight: bold;
}
/*
.log-time-modal .e-checkbox-wrapper .e-frame, .e-css.e-checkbox-wrapper .e-frame {
    border: 2px solid;
    height: 15px;
    line-height: 15px;
    width: 15px;
}*/

.e-appointment-details .e-blazor-template {
    display: flex;
    width: 100%;
    margin: 0px 3px;
    line-height: 20px;
}

.e-appointment-details .e-overtime {
    align-self: flex-end;
    font-weight: bold !important;
}

.spinner {
    margin: 250px auto;
    border: 2px solid #b7e0ff;
    border-top-color: #0078d6;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1000ms ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

h1 {
    text-align: center;
}

    h1::after {
        content: '';
        display: block;
        height: 10px;
        width: 150px;
        border-top: 2px solid rgba(0, 0, 0, 0.80);
        margin: 0 auto;
        margin-top: 10px;
        margin-bottom: 20px;
    }

#login-card {
    margin: 50px auto;
    width: 500px;
}

    #login-card .e-card-header-title {
        text-align: center;
    }

    #login-card .e-card-actions {
        text-align: center;
    }

.margin-5 {
    margin: 5px;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-left-10 {
    margin-left: 10px !important;
}

.holiday-type-picker .e-input-value {
    padding: 5px;
}

.flex-inputs {
    display: flex;
}

    .flex-inputs .total-time-input {
        max-width: 79px;
    }

    .flex-inputs .flex-input-addon,
    .flex-inputs .flex-input-prepend {
        min-width: 20px;
        padding: 0px 5px;
        line-height: 28px;
        border-top: 1px solid #c8c8c8;
        border-bottom: 1px solid #c8c8c8;
        font-weight: 500;
    }

        .flex-inputs .flex-input-addon:last-child {
            border-right: 1px solid #c8c8c8;
        }

        .flex-inputs .flex-input-prepend:first-child {
            border-left: 1px solid #c8c8c8;
        }

        .flex-inputs .flex-input-prepend.from-to-input-prepend {
            min-width: 35px;
        }

/* --- Planning --- */
.planning-wizard .e-tab {
    height: 100% !important;
}

.planning-wizard .e-tab-header {
    display: none;
}

.planning-wizard .e-card .e-card-header {
    justify-content: space-between !important;
}

.validation-summary-errors {
    font-size: .875rem;
    position: relative;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    border: 1px solid transparent;
    border-radius: .375rem;
}

.validation-summary-errors {
    color: #fff;
    border-color: #f75676;
    background-color: #f75676;
}

    .validation-summary-errors ul {
        margin-bottom: 0;
    }