﻿@import url('flags/flag-icon.css');
@import url('fontawesome/css/all.min.css');
@import url('bob.css');
@import url('Messaging.css');
@import url('BSPatch.css');

:root
{
    --fox-fg: #000000;
    --fox-bg: #ffffff;
    --fox-fg-rgb: 0,0,0;
    --fox-bg-rgb: 255,255,255;
    --fox-nav-bg: rgb(196, 102, 54);
    --fox-nav-bg-alpha: rgba(196, 102, 54, 0.4);
    --fox-nav-bg-light: rgb(225, 174, 147);
    --fox-nav-bg-border: rgba(196,102,54,0.13);
    --fox-nav-bg-border2: rgba(196,102,54,0.2);
    --fox-nav-hover: rgb(154, 84, 48);
    --fox-nav-bg-text: white;
    --fox-loader-bg: rgb(205, 119, 75);
    --fox-loader-text: rgb(128, 64, 32);
    --fox-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    forced-color-adjust: none;
    color-scheme: light;
}

html, body
{
    font-family: var(--fox-font);
    font-size: 1rem;
    background-image: url("/images/bg.png");
    background-repeat: repeat;
    background-attachment: fixed;
    overscroll-behavior: none;
}

@media (prefers-color-scheme: dark)
{
    :root
    {
        --fox-fg: #ffffff;
        --fox-bg: #000000;
        --fox-fg-rgb: 255,255,255;
        --fox-bg-rgb: 0,0,0;
        --fox-nav-bg: rgb(98, 52, 28);
        --fox-nav-bg-alpha: rgba(98, 52, 28, 0.4);
        --fox-nav-bg-light: rgb(77, 40, 21);
        --fox-nav-bg-border: rgba(98,52,28,0.13);
        --fox-nav-bg-border2: rgba(98,52,28,0.2);
        --fox-nav-hover: rgb(154, 84, 48);
        --fox-nav-bg-text: white;
        --fox-loader-bg: rgb(71, 43, 28);
        --fox-loader-text: rgb(196, 102, 54);
        forced-color-adjust: none;
        color-scheme: light;
    }

    html, body
    {
        background-image: url("/images/bg-dark.png");
        background-color: black;
        color: white;
    }

    hr
    {
        border-top: 1px solid rgba(255,255,255,0.5);
    }

    .form-control
    {
        color: white;
        background-color: black;
    }

        .form-control:focus
        {
            color: white;
            background-color: #202020;
        }

        .form-control:disabled, .form-control[readonly]
        {
            background-color: #000000;
            color: #606060;
            opacity: 1;
        }

    .modal-content
    {
        background-color: #000000;
        border: 1px solid rgba(255,255,255);
    }

    .alert-danger
    {
        background-color: #721c24;
        color: #f8d7da;
        border-color: #f5c6cb;
    }

    .alert-success
    {
        background-color: #155724;
        color: #d4edda;
        border-color: #c3e6cb;
    }

    .alert-warning
    {
        background-color: #856404;
        color: #fff3cd;
        border-color: #ffeeba;
    }

    .table
    {
        color: #ffffff;
    }
}

a, .btn-link
{
    color: rgb(196, 102, 54);
}

    a:hover
    {
        color: rgb(154, 84, 48);
    }


.btn-primary
{
    color: #fff;
    background-color: rgb(196, 102, 54);
    border-color: rgb(196, 102, 54);
}

    .btn-primary:hover
    {
        color: #fff;
        background-color: rgb(154, 84, 48);
        border-color: rgb(154, 84, 48);
    }

    .btn-primary:focus, .btn-primary.focus
    {
        box-shadow: 0 0 0 0.2rem rgba(196, 102, 54, 0.5);
        background-color: rgb(196, 102, 54);
        border-color: rgb(196, 102, 54);
    }

    .btn-primary:active, .btn-primary.active
    {
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(196, 102, 54, 0.5);
        background-color: rgb(154, 84, 48);
        border-color: rgb(154, 84, 48);
    }

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active,
    .show > .btn-primary.dropdown-toggle
    {
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(196, 102, 54, 0.5);
        background-color: rgb(154, 84, 48);
        border-color: rgb(154, 84, 48);
    }

        .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus,
        .show > .btn-primary.dropdown-toggle:focus
        {
            box-shadow: 0 0 0 0.2rem rgba(196, 102, 54, 0.5);
        }

    .btn-primary.disabled, .btn-primary:disabled
    {
        color: #fff;
        background-color: rgb(154, 84, 48);
        border-color: rgb(154, 84, 48);
    }

.valid.modified:not([type=checkbox])
{
    outline: unset;
}

.invalid
{
    outline: unset;
}

.validation-message
{
    color: unset;
}

#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: 100004;
}

    #blazor-error-ui .dismiss
    {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#FoxLoading
{
    user-select: none;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    background-color: rgba(196, 102, 54, 0.05);
    position: fixed;
    top: 0px;
    left: 0px;
    cursor: url('/Wait.png') 16 15, wait;
    user-select: none;
}

#FoxCopiedToClipboard
{
    user-select: none;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    background-color: rgba(196, 102, 54, 0.05);
    position: fixed;
    top: 0px;
    left: 0px;
    visibility: hidden;
    user-select: none;
}

#FoxMessageHint
{
    user-select: none;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    background-color: rgba(196, 102, 54, 0.05);
    position: fixed;
    top: 0px;
    left: 0px;
    visibility: hidden;
    user-select: none;
}

.FoxLoadingBody
{
    overflow: hidden;
    user-select: none;
}

@media (min-width: 1200px)
{
    .container
    {
        /*max-width: 5000px;*/
        max-width: none !important;
    }
}

@media (min-width: 576px)
{
    .container
    {
        max-width: none !important;
    }

    .modal-dialog
    {
        max-width: 700px;
    }

    .client-picture-anchor
    {
        position: absolute;
        width: 100%;
    }
}

.client-picture-anchor
{
    /*nix*/
}

.fox-link
{
    background-color: transparent;
    color: rgb(196, 102, 54);
    cursor: pointer;
}

    .fox-link:hover
    {
        text-decoration: underline;
        color: rgb(154, 84, 48);
        cursor: pointer;
    }

.fox-lang-link
{
    height: 3rem;
    align-items: center;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    line-height: 3rem;
    color: #d7d7d7;
}

    .fox-lang-link:hover
    {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

::-moz-selection
{
    background: rgb(196, 102, 54);
    color: white;
}

::selection
{
    background: rgb(196, 102, 54);
    color: white;
}

input[type="text"]:focus, input[type="password"]:focus, .form-control:focus
{
    outline: none !important;
    border: 1px solid rgb(196, 102, 54);
    box-shadow: 0 0 10px rgb(196, 102, 54);
}

table.fox-table
{
    white-space: nowrap;
    table-layout: fixed;
    border: 1px solid var(--fox-fg);
    border-collapse: collapse;
}

    table.fox-table > tr
    {
        white-space: nowrap;
        table-layout: fixed;
        border: 1px solid var(--fox-fg);
    }

        table.fox-table > tr > td
        {
            white-space: nowrap;
            table-layout: fixed;
            border: 1px solid var(--fox-fg);
        }

    table.fox-table > thead > tr
    {
        white-space: nowrap;
        table-layout: fixed;
        border: 1px solid var(--fox-fg);
    }

        table.fox-table > thead > tr > td
        {
            white-space: nowrap;
            table-layout: fixed;
            border: 1px solid var(--fox-fg);
        }

    table.fox-table > tbody > tr
    {
        white-space: nowrap;
        table-layout: fixed;
        border: 1px solid var(--fox-fg);
    }

        table.fox-table > tbody > tr > td
        {
            white-space: nowrap;
            table-layout: fixed;
            border: 1px solid var(--fox-fg);
        }

    table.fox-table > tfoot > tr
    {
        white-space: nowrap;
        table-layout: fixed;
        border: 1px solid var(--fox-fg);
    }

        table.fox-table > tfoot > tr > td
        {
            white-space: nowrap;
            table-layout: fixed;
            border: 1px solid var(--fox-fg);
        }

table.fox-table2
{
    vertical-align: top;
    border: 1px solid var(--fox-fg);
}

    table.fox-table2 > tr
    {
        vertical-align: top;
        border: 1px solid var(--fox-fg);
    }

        table.fox-table2 > tr > td
        {
            vertical-align: top;
            border: 1px solid var(--fox-fg);
            padding-left: 5px;
            padding-right: 5px;
        }

table.fox-table-padding
{
    border: 0;
}

    table.fox-table-padding > tr
    {
        border: 0;
    }

        table.fox-table-padding > tr > td
        {
            border: 0;
            padding-left: 5px;
            padding-right: 5px;
        }

@media(min-width: 768px)
{
    .fox_splitdocument
    {
        max-height: 79vh;
    }

    .fox_splitdocument_scroll
    {
        max-height: 79vh;
        overflow-y: scroll;
    }

    .fox_splitdocument_pdfbox
    {
        max-height: 79vh;
    }

    .hide-when-small
    {
        visibility: visible !important;
    }
}

@media(max-width: 768px)
{
    .fox_splitdocument_scroll2
    {
        max-height: 78vh;
        overflow-y: scroll
    }

    .fox_splitdocument_pdfbox
    {
        height: 50vh;
    }
}

@media(min-width: 768px)
{
    .bighidden
    {
        display: none;
    }
}

@media(max-width: 767.98px)
{
    .bighidden-invert
    {
        display: none;
    }
}

@media print
{
    .noprint
    {
        display: none !important;
    }
}

.hide-when-small
{
    visibility: hidden;
}

.fox-text-nowrap
{
    white-space: nowrap;
    overflow: hidden;
}

.modal-dialog > .modal-content > .modal-header > .close
{
    visibility: hidden !important;
}

div.card
{
    background-color: unset !important;
}

table.fox-table-minipadding > tbody > tr > td
{
    padding: 0.5rem !important;
}

span.fox-keycap
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    white-space: nowrap;
    border: 1px solid #aaa;
    border-style: outset;
    border-radius: 4px;
    padding: 0px 3px 1px 3px;
    margin: 0px 0px 0px 0px;
    vertical-align: baseline;
    line-height: 1.8em;
    background: #fbfbfb;
    color: #000;
}

.no-selection-allowed
{
    user-select: none;
}

.fox-checkbox
{
    margin-left: 0;
    position: relative;
    accent-color: var(--fox-nav-bg);
    margin-right: 2px;
}

label
{
    display: unset !important;
}

.fox-calendar-unavilable
{
    background: repeating-linear-gradient(307deg, red, red 1px, transparent 0px, transparent 10px);
}

.fox-calendar-bankholidays
{
    background: repeating-linear-gradient(214deg, blue, blue 1px, transparent 0px, transparent 10px);
}

.fox-calendar-unavilable-bankholidays
{
    background: repeating-linear-gradient(307deg, red, red 1px, transparent 0px, transparent 10px), repeating-linear-gradient(214deg, blue, blue 1px, transparent 0px, transparent 10px);
}

.fox-calendar-border-glow-green
{
    animation: fox-calendar-border-glow-green-animation linear 2s infinite;
}

@keyframes fox-calendar-border-glow-green-animation
{
    0%
    {
        box-shadow: 0 0 1px 1px green;
    }

    50%
    {
        box-shadow: 0 0 15px 1px green;
    }

    100%
    {
        box-shadow: 0 0 1px 1px green;
    }
}

.fox-calendar-border-glow-orange
{
    animation: fox-calendar-border-glow-orange-animation linear 2s infinite;
}

@keyframes fox-calendar-border-glow-orange-animation
{
    0%
    {
        box-shadow: 0 0 1px 1px orange;
    }

    50%
    {
        box-shadow: 0 0 15px 1px orange;
    }

    100%
    {
        box-shadow: 0 0 1px 1px orange;
    }
}

.fox-simple-text-shadow-black
{
    -webkit-text-stroke: 1px black;
}

.fox-calendar-strikeout
{
    background: repeating-linear-gradient(135deg, black, black 3px, transparent 0px, transparent 10px);
}

.fox-calendar-negative
{
    animation: fox-calendar-negative-animation linear 5s infinite;
}

@keyframes fox-calendar-negative-animation
{
    0%
    {
        filter: invert(0);
    }

    9%
    {
        filter: invert(0);
    }

    41%
    {
        filter: invert(1);
    }

    50%
    {
        filter: invert(1);
    }

    100%
    {
        filter: invert(0);
    }
}

.fox-simple-strike-out
{
    text-decoration: line-through;
}
