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

.content-wrapper {
    max-width: 900px;
}

h1:focus {
    outline: none;
}

a.pointer {
    cursor: pointer;
}

.fc-event {
    cursor: pointer;
}

.text-white-70 {
    color: rgba(255,255,255,.7) !important;
}

.bold {
    font-weight: bold;
}
.not-in-lesson {
    text-decoration: line-through;
}

ul.no-bullets {
    margin-bottom: 0;
    list-style-type: none;
    padding-left: 0;
}

.form-group.narrow {
    max-width: 15rem;
}

.required {
    color: red;
}

h1.alert-heading{
    font-size: 1.6rem;
}

/* filter pages */
.filter-page .main {
    width: 100%;
}

.filter-page .sideMenu {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1em;
    min-width: 300px;
}

.filter-page .sideMenu label {
    font-weight: bold;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

p.label-subheading {
    font-size: small;
    font-style:italic;
}

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

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjb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TkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

div.progress{
    max-width: 800px;
}


/* Text input with search icon on the left */
.search-input {
    position: relative;
}

.search-input input {
    text-indent: 25px;
}

.search-input .fa-search {
    position: absolute;
    top: 44px;
    left: 10px;
}

.search-input.no-label .fa-search {
    top: 12px;
}

/* priority styles */
.priority-box {
    float: left;
    height: 20px;
    width: 20px;
    margin-right: 10px;
    border: 1px solid black;
    clear: both;
}

.priority-box-cal {
    min-height: 25px;
    max-width: 70px;
    margin-right: 5px;
    border: 1px solid black;
    padding: 2px 4px;
    display: inline-block;
    margin-bottom: 3px;
}

.form-check-input:checked[type=checkbox].priority-high,
.form-check-input:checked[type=checkbox].priority-medium,
.form-check-input:checked[type=checkbox].priority-low {
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23000%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10l3 3l6-6%27/%3e%3c/svg%3e");
}

/* calendar styles */
th .fc-col-header-cell, th.fc-col-header-cell a, div.fc-timeline-slot-frame, div.fc-timeline-slot-frame a {
    text-decoration: none !important;
    color: black !important;
}

.fc-event-main {
    overflow: hidden;
    padding-left: 2px !important;
}

.zoom-default .fc-timegrid-slot {
    height: 1.5em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-10 .fc-timegrid-slot {
    height: 2em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-20 .fc-timegrid-slot {
    height: 3em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-30 .fc-timegrid-slot {
    height: 4em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-40 .fc-timegrid-slot {
    height: 5em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-50 .fc-timegrid-slot {
    height: 6em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-60 .fc-timegrid-slot {
    height: 7em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-70 .fc-timegrid-slot {
    height: 8em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-80 .fc-timegrid-slot {
    height: 10em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-90 .fc-timegrid-slot {
    height: 12em !important;
    border-bottom: 0 !important;
}

.zoom-default-plus-100 .fc-timegrid-slot {
    height: 14em !important;
    border-bottom: 0 !important;
}

.fc-event-main .rounded-pill, .popover-body .rounded-pill {
    margin-bottom: 3px;
    margin-right: 2px;
    background-color: #18A558;
}

.fc-event-main .rounded-pill.not-in-lesson, .popover-body .rounded-pill.not-in-lesson, .absent-bar {
    background-color: #999999;
}

.cal-high {
    background-color: #FFADAD !important;
}

.cal-medium {
    background-color: #FBCA9A !important;
}

.cal-low {
    background-color: #FDF1A8 !important;
}

.priority-high {
    background-color: #f93838 !important;
}
.priority-medium {
    background-color: #ff7f50 !important;
}
.priority-low {
    background-color: #FFFF33 !important;
}

.cal-normal, .cal-custom-period {
    background-color: #6897bb !important;
}

.cal-assigned {
    background-color: #ACF2C9 !important;
}

.cal-over-assigned {
    background-color: #C2A9EF !important;
}

.cal-over-assigned .priority-bar, .absent-bar {
    border: 1px solid white;
}

.cal-unavailable, .cal-normal-period {
    background-color: #999999 !important;
}

.cal-event-add {
    border: 1px dashed #555555;
    background-color: #CCCED8 !important;
}

.priority-bar-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.priority-bar {
    min-height: 5px;
    min-width: 20px;
    max-width: 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 3px;
    flex-grow: 1;
    flex-basis: auto;
}
.cal-event-add .fc-event-main {
    background: url('../images/plus.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center;
    background-position-y: 18px;
}

/* popover */
.popover-body {
    padding-top: 0.5rem;
}

.popover-body p {
    margin-bottom: 0.2rem;
}

label.non-bold {
    font-weight: normal !important;
}

/* footer styles */
.footer {
    background-color: #086972;
    border-top: 1px solid #808080;
    color: white;
    font-size: 0.9em;
}

.footer a {
        color: white;
        text-decoration: none;
    }

.footer-links a {
    padding-left: 2em;
}

@media (max-width: 767.98px) {
    .footer {
        left: 0 !important;
        text-align: center;
    }
}

/* dimmed loading style */
.dimmed {
    position: relative;
}

.dimmed .myspinner {
    content: " ";
    z-index: 10;
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* dashboard styles*/

.dashboard-card .card-header {
    padding-top: 9px;
    padding-bottom: 9px;
}

.dashboard-card .priority-card.card-header {
    color: black;
}

.dashboard-card .card-header {
    color: white;
    background-color: var(--ct-secondary-color);
    
}