﻿:root {
    --brand: var(--bs-primary);
    scrollbar-color: var(--bs-primary) Canvas;
    --slider-left-margin: 4px;
    --slider-bottom-margin: 4px;
    --slider-circle-size: 12px;
    --slider-border-width: 1px;
    --slider-border: var(--slider-border-width) solid var(--bs-white);
    --slider-width: 40px;
    --slider-height: 22px;
    --slider-travel-distance: calc(var(--slider-width) - calc(var(--slider-left-margin) * 2) - var(--slider-circle-size) - calc(var(--slider-border-width) * 2));
}

:root {
    accent-color: var(--brand);
}

:focus-visible {
    outline-color: var(--brand);
}

::selection {
    background-color: var(--brand);
}

::marker {
    color: var(--brand);
}

:is(
  ::-webkit-calendar-picker-indicator,
  ::-webkit-clear-button,
  ::-webkit-inner-spin-button, 
  ::-webkit-outer-spin-button
) {
    color: var(--brand);
}

.filter-field {
    margin-top: 10px;
}

.invalid-validation-input {
    border-color: var(--bs-danger);
}

.dxbs-scheduler .dxsc-v-resource-header .dxsc-resource-header-content > span {
    transform: rotate(0deg) !important;
    -ms-transform: rotate(0deg) !important;
    -webkit-transform: rotate(0deg) !important;
    writing-mode: horizontal-tb !important;
    -ms-writing-mode: lr-tb !important;
    -webkit-writing-mode: horizontal-tb !important;
    width: 100%;

}

.dxbs-sc-timeline .dxbs-sc-resource-headers {
    margin-top: 1px;
}

.dxbs-scheduler .dxbs-sc-empty-cell, .dxbs-scheduler .dxbs-sc-resources-scroll-area {
    width: 150px !important;
}

/*.dxbs-scheduler .dxbs-sc-timeline .dxbs-sc-horizontal-view > tbody > tr:not(:first-child) > td, .dxbs-scheduler .dxbs-sc-timeline .dxbs-sc-resource-headers > tbody > tr > td {*/
/*    height: 88px !important;*/
/*}*/

.scheduler {
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
}

.dxsc-resource-header-content {
    width: 100%;
}


.dx-chart-legend-icon {
    height: unset !important;
}

.task-appointment-view {
    width: 1100px !important;
}

#app {
    height: 100vh;
}

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

.logo {
    margin: 0 auto;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: 45%;
    width: 250px;
    padding-right: 3px;
}

.logo-font {
    fill: #fff;
    stroke-width: 0;
}

#page-loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    background-color: #00624A;
    transition: opacity 0.5s;
}

.three-dots {
    margin: 0 auto;
    width: 200px;
    text-align: center;
    position: absolute;
    left: -19px;
    right: 0;
    top: 45%;
}

.three-dots .dot {
    position: relative;
    width: 27px;
    height: 27px;
    margin-left: 21px;
    border-radius: 50%;
    border-width: 0;
    display: inline-block;
    -webkit-animation: fadedelay 3s infinite
    cubic-bezier(0.62, 0.28, 0.23, 0.99) both;
    animation: fadedelay 3s infinite
    cubic-bezier(0.62, 0.28, 0.23, 0.99) both;
}

.three-dots .dot1 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    background-color: #E5FB22;
}

.three-dots .dot2 {
    -webkit-animation-delay: -0.08s;
    animation-delay: -0.08s;
    background-color: #ffffff;
}

.three-dots .dot3 {
    background-color: #0A3127;
}

@keyframes fadedelay {
    0% {
        opacity: 0;
    }
    16.66% {
        opacity: 1;
    }
    33.33% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    66.66% {
        opacity: 0;
    }
    83.33% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadedelay {
    0% {
        opacity: 0;
    }
    16.66% {
        opacity: 1;
    }
    33.33% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    66.66% {
        opacity: 0;
    }
    83.33% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.modal-backdrop {
    display: none !important;
}

.zebra-table tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.zebra-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}