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

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

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

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

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

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

.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #f7f7f7;
        width: 100%;
        z-index: 1;
    }

    .flex-column, .navbar-brand {
        padding-left: env(safe-area-inset-left);
    }
}

tbody {
    display: block;
    max-height: 700px;
    overflow: auto;
}

    thead, tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed; /* even columns width , fix width of table too*/
    }

thead {
    width: calc( 100% - 1em ) /* scrollbar is average 1em/16px width, remove it from thead width */
}

table {
    width: 400px;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.clear:after, .pagination:after, .clear:before, .pagination:before {
    content: "";
    display: table;
}

.clear:after, .pagination:after {
    clear: both;
}

.pagination__wrapper {
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, white 17%, white 83%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 17%, white 83%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
    height: 50px;
    left: 50%;
    position: absolute;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*top: 50%;*/
    width: 700px;
}

    .pagination__wrapper:before, .pagination__wrapper:after {
        background: -webkit-linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.1) 17%, rgba(0, 0, 0, 0.1) 83%, transparent 100%);
        background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 17%, rgba(0, 0, 0, 0.1) 83%, transparent 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 );
        content: "";
        height: 1px;
        left: 0;
        position: absolute;
        width: 100%;
    }

    .pagination__wrapper:before {
        top: -1px;
    }

    .pagination__wrapper:after {
        bottom: -1px;
    }

@-webkit-keyframes hoverAnimation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes hoverAnimation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.pagination {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    display: block;
    float: left;
    padding: 5px;
}

.pagination li:first-child {
    border: none;
}

.pagination button,
.pagination span {
    background: none;
    border: none;
    border-radius: 50%;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.6);
    display: block;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    min-width: 40px;
    padding: 0;
}

.pagination button {
    outline: none;
    position: relative;
    -webkit-transition: all 170ms linear;
    transition: all 170ms linear;
}

.pagination button:before {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    content: "";
    cursor: pointer;
    height: 0;
    left: 50%;
    opacity: 0;
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 170ms linear;
    transition: all 170ms linear;
    top: 50%;
    width: 0;
}

.pagination button:hover:not(.active) {
    color: black;
}

.pagination button:hover:not(.active):before {
    -webkit-animation: hoverAnimation 510ms linear forwards;
    animation: hoverAnimation 510ms linear forwards;
    height: 40px;
    width: 40px;
}

.pagination button.active {
    background: rgba(0, 0, 0, 0.1);
    color: black;
}

.pagination .prev,
.pagination .next {
    font-size: 14px;
}

.expand-menu {
    margin-left: 17px;
}

.scroll-container {
    overflow: auto;
    margin-bottom: 40px;
    border-left: 1px solid;
    border-right: 1px solid;
}

.scroll {
    margin: 0;
}

    .scroll td:first-of-type {
        position: sticky;
        left: 0;
        border-left: none;
        background: #f4f4f4;
        color: #212121;
        font-weight: bold;
        &:after

{
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    height: 100%;
    width: 1px;
    background: #000;
}

}

.scroll td:last-of-type {
    border-right: none;
}

@media screen and (max-width: 600px) 
{
    .responsive thead {
        visibility: hidden;
        height: 0;
        position: absolute;
    }

    .responsive tr {
        display: block;
        margin-bottom: .625em;
    }

    .responsive td {
        border: 1px solid;
        border-bottom: none;
        display: block;
        font-size: .8em;
        text-align: right;
        min-height: 27px;
    }

    .responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .responsive td:last-child {
        border-bottom: 1px solid;
    }
    .language-option {
        display: block;
    }
}

@media screen and (min-width:600px) {
    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
    .language-option{
        display:none;
    }
}

@media only screen and (min-width: 1025px) {
    /*...your desktop-only style...*/
    .col-desktop-250 {
        width: 250px;
    }
    .col-desktop-230 {
        width: 230px;
    }
    .col-desktop-190 {
        width: 190px;
    }
    .col-desktop-100 {
        width: 100px;
    }
    .col-desktop-120 {
        width: 120px;
    }
    .col-desktop-10 {
        width: 10px;
    }
}

.Holiday {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Holiday:after {
    content: attr(after-text);
}

.tooltiptext {
    position: relative; /* Needed for positioning */
}

.tooltiptext::after {
    content: attr(title); /* Display the title attribute as tooltip text */
    position: absolute;
    top: 10%; /* Position below the content */
    left: 0;
    background-color: #f9f9f9;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap; /* Prevent line breaks */
    visibility: hidden; /* Initially hidden */
}

.tooltiptext:hover::after {
    visibility: visible; /* Show tooltip on hover */
}

.rz-numeric-input.rz-state-disabled.rz-inputtext.rz-text-align-left {
    background-color: #f0f0f0 !important;
    color: #443535 !important;
    border: 1px solid #ccc !important;
}

.rz-dropdown-label.rz-inputtext {
    color: #443535 !important;
}