﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --secondarycolor: color-mix(in hsl longer hue, var(--brandcolor) 75%, black);
    --brandcolor80: color-mix(in srgb, var(--brandcolor), transparent 80%);
    --brandcolor95: color-mix(in srgb, var(--brandcolor), transparent 95%);
}

* {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 0px !important;
    margin-bottom: 10px;
}

.h1, h1 {
    font-size: 30px;
}

body {
    font-family: Public Sans;
    user-select: none;
    color: #000000;
}

td {
    user-select: text;
}

.cardcontainer {
    background: white;
    padding: 15px;
    border: 1px solid lightgray;
    border-radius: 5px;
}

.priceTotal {
    font-size: 30px;
    font-weight: bold;
    color: var(--brandcolor);
    margin: 15px;
    display: inline-block;
}

.CodeMirror {
    border: gray 1px solid;
    border-radius: 5px;
}

.CodeMirror-code {
    min-height: 200px;
}

.note-editable {
    height: 400px;
}

.cron-selector {
    font-weight: bold;
    margin: 5px;
}

    .cron-selector select {
        margin-left: 5px;
        margin-right: 5px;
        min-width: 0px;
        width: auto !important;
    }

.cron-text {
    font-weight: bold;
    padding-top: 5px;
    display: none;
}

a .navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.TokenFooterMessage {
    margin-top: 10px;
    background-color: lightgoldenrodyellow;
    padding: 15px;
    font-weight: 500;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.searchSection {
    display: inline-block;
}

.search {
    display: inline-block;
    float: left;
}

.searchButton {
    display: inline-block;
    float: left;
    margin-left: 5px;
}

.bottom {
    vertical-align: bottom !important;
}

.auto {
    display: inline-block;
    width: auto;
}

.fullWidth input:not([type="button"],[type="submit"],[type="checkbox"]),
.fullWidth select {
    max-width: 100%;
    width: 100%;
    min-width: 0px;
}

.fullWidth > div {
    max-width: 100%;
    width: 100%;
    float: none;
    padding: 5px 0px;
    display: inline-block;
}

.c5 {
    display: inline-block;
    width: calc(20% - 3px);
}

.c4 {
    display: inline-block;
    width: calc(25% - 3px);
}

.c3 {
    display: inline-block;
    width: calc(33% - 2px);
}

.c2 {
    display: inline-block;
    width: calc(50% - 2px);
}

.c66 {
    display: inline-block;
    width: calc(66% - 2px);
}

.cardcontainer {
    padding: 20px;
    border: 1px solid lightgray;
}

.Tabs4 {
    padding: 20px;
    margin: 0px 0px 15px 100px;
    border: 1px solid lightgray;
}

@media (max-width: 950px) {
    .mainContainer {
        /*padding: 20px 30px !important;*/
        padding: 0px 10px !important;
        min-width: 100% !important;
    }

    #container {
        padding-top: 10px;
    }

    .subcontainer {
        /*  padding: 15px 30px;
        border: 1px solid lightgray;*/
        border: 0px solid lightgray !important;
        padding: 10px;
    }

    .collapsible {
        position: absolute;
        display: none;
    }

    .navbarIcon {
        display: inline !important;
    }

    .bar a {
        margin-top: 5px;
    }
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    font-family: "Segoe UI",Arial,Helvetica,sans-serif;
    font-size: 13px;
    user-select: none;
}

a {
    font-weight: 500;
}

.right {
    float: right;
}

.rightText {
    text-align: right;
}

.pageButton {
    border: 2px solid lightgray;
    background-color: white;
    color: black;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50px;
    padding: 0px;
}

.pagingexport {
    text-align: left;
    min-height: 60px;
}

.pagingFooter {
    text-align: center;
    margin-bottom: -1px;
    margin-top: -1px;
    padding: 10px 0px;
}

    .pagingFooter a {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .pagingFooter select {
        width: 60px !important;
        min-width: 60px !important;
        margin-left: 5px;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: left;
        padding: 0px 5px;
    }

    .pagingFooter span {
        margin-top: 10px;
        margin-left: 10px;
        margin-right: 10px;
        float: left;
    }

    .pagingFooter .spanRight {
        margin-top: 0px;
        display: block;
        text-align: right;
        margin-right: 15px;
        float: none;
    }

    .pagingFooter .button {
        margin: 10px 0px;
    }

.label {
    color: #222222;
    min-width: 150px;
    font-size: 13px;
    font-weight: bold;
    float: left;
    padding: 5px 2px;
    text-align: left;
    margin-right: 10px;
}

.center {
    text-align: center;
}

.servicenav a {
    position: relative;
    margin-left: -5px;
    background: white;
    border: 1px solid lightgray;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 10px;
    color: black;
    text-decoration: none;
}

    .servicenav a:first-child {
        margin-left: 0px !important;
    }

    .servicenav a[class="selected"] {
        border: 0px solid lightgray;
        background: var(--brandcolor);
        padding: 12px;
        z-index: 999;
        color: white;
        bottom: 2px;
    }

.field {
    padding: 0px 0px 10px 0px;
}

    .field div span {
        display: unset;
        overflow: hidden;
    }

    .field span {
        display: block;
        overflow: hidden;
    }

    .field .InfoMessage {
        font-size: 12px;
        color: dodgerblue;
    }

    .field .button {
        margin-bottom: 0px;
    }

.bar {
    padding: 15px 20px;
    background-color: whitesmoke;
    border-bottom: 2px solid #19CCA3;
    height: calc(100% - 20px) !important;
}

    .bar span {
        color: var(--brandcolor);
        font-weight: bold;
        font-size: 16px;
        vertical-align: middle;
    }

    .bar a {
        color: var(--brandcolor);
        font-weight: bold;
        text-decoration: underline;
        font-size: 15px;
        vertical-align: middle;
    }

input, select {
    font-size: 13px;
    border: lightgray 1px solid;
    border-radius: 5px;
    padding: 5px 8px;
}

    input[readonly=readonly] {
        background: lightgray;
    }


    input[type="checkbox"] {
        margin-top: 6px;
    }

.cursive {
    font-family: cursive;
}

.disabled {
    pointer-events: none;
    background-color: #F1F0EF;
}

.button {
    min-width: 75px;
    font-size: 12px;
    background: var(--brandcolor);
    font-weight: 600;
    color: white;
    border: var(--brandcolor) 2px solid;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    padding: 5px 10px;
    margin-bottom: 7px;
}

    .button:hover {
        border: var(--brandcolor) 2px solid;
        box-shadow: 0 5px 10px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
    }


.secondaryButton {
    background: white;
    color: var(--brandcolor);
    border: var(--brandcolor) 2px solid;
}

    .secondaryButton:hover {
        border: var(--brandcolor) 2px solid;
        box-shadow: 0 5px 10px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
    }

.delete {
    font-weight: 600;
    background: white !important;
    color: crimson !important;
    border: crimson 2px solid;
}

    .delete:hover {
        background: crimson !important;
        border: crimson 1px solid !important;
        color: white !important;
    }


.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.currentpage {
    border-color: var(--brandcolor);
    color: var(--brandcolor);
    font-weight: bold;
}

#clientContainer .subcontainer {
    margin: 0px;
}

#clientContainer .cardcontainer {
    border: 1px solid var(--brandcolor);
    box-shadow: 0 0.5rem 0.8rem #E3E3E380;
    border-radius: 0px 0px 5px 5px;
}

.customTabs {
    display: -webkit-box;
    overflow-y: hidden;
    overflow-x: auto;
    height: auto;
    z-index: 9;
    position: relative;
    margin-bottom: 0px;
}

    .customTabs a {
        background: #e5e5e5;
        color: black;
        padding: 5px 10px;
        text-align: center;
        border: 1px solid lightgray;
        border: 1px solid transparent;
        max-width: 110px;
        word-break: break-word;
        margin-bottom: -2px;
        z-index: 1;
        display: flex; /* Make the link a flex container */
        align-items: center;
        text-decoration: none !important;
        font-size: 11px;
        border-radius: 8px 8px 0px 0px;
        border: 1px solid var(--brandcolor80);
    }

        .customTabs a:not(:last-child) {
            margin-right: 5px;
        }

        .customTabs a:hover {
            background: var(--brandcolor80);
        }

        .customTabs a.selected {
            background: var(--brandcolor);
            color: white;
        }

    .customTabs::-webkit-scrollbar {
        height: 3px;
        background-color: var(--brandcolor80);
    }

    .customTabs::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        background-color: var(--brandcolor80);
    }


    .customTabs::-webkit-scrollbar-thumb {
        background-color: var(--brandcolor);
    }

.collapsible {
    height: calc(100% - 54px) !important;
}

    .collapsible li:not(:first-child), .collapsible li li {
        border-top: 0px;
    }

    .collapsible > ul {
        width: 250px;
    }

    .collapsible > ul {
        padding: 15px;
    }

    .collapsible .parent-item label {
        padding: 10px 10px;
        width: 100%;
        border-radius: 3px;
    }

    .collapsible .parent-item:hover > label, .collapsible .list-item li:hover > a, .collapsible .list-item li:hover {
        border-radius: 5px;
        font-weight: 500;
        color: var(--brandcolor);
        background: transparent;
    }

    .collapsible .selected {
        border-radius: 5px;
        font-weight: 500;
        background: var(--brandcolor) !important;
        color: white !important;
    }

.navbarIcon {
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 2px solid gray;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    display: none;
}

.mainContainer {
    width: calc(100% - 250px);
    position: fixed;
    right: 0px;
    height: calc(100% - 54px);
    overflow-y: auto;
    padding: 20px 30px;
    background: white;
}

.subcontainer {
    /*  padding: 15px 30px;
        border: 1px solid lightgray;*/
    /*   margin-top: 8px;*/
}

.top50 {
    margin-top: 50px;
}

.left10 {
    margin-left: 10px;
}

.left30 {
    margin-left: 30px;
}

.red {
    color: red;
}

.shadowBox {
    padding: 20px;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.10);
    border: 1px solid lightgray;
    margin-left: 20px;
}

    .shadowBox h3 {
        margin-bottom: 20px;
    }

.summaryReport {
    color: var(--brandcolor);
    text-align: center;
    border-radius: 5px;
    display: inline-block;
}

    .summaryReport h6 {
        color: black;
    }

.successMessage {
    color: green;
    font-size: 20px;
    font-weight: bold;
}

.errorMessage {
    color: red;
    font-size: 20px;
    font-weight: bold;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-weight: 400;
    background: white;
}

    table td, table th {
        border: 1px solid #ddd;
        padding: 5px 8px;
    }

    /*table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    table tr:hover {
        background-color: #ddd;
    }*/

    table th {
        /*padding-top: 12px;
        padding-bottom: 12px;*/
        text-align: left;
        /* background-color: var(--brandcolor);
        color: white;*/
        background-color: #F4F4F4;
        color: black;
    }

    table tr {
        color: #777777;
        font-weight: 500;
    }


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    text-align: left;
    border: 1px solid lightgray;
}

    .dropdown-content div {
        padding: 10px 5px;
    }

        .dropdown-content div:hover {
            background-color: lightgray;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin: 3px;
}


/*Mobile Device*/
@media (max-width: 600px) {
    .c66 {
        width: 100%;
    }

    .clr-field {
        display: block !important;
    }

    .search {
        display: inline-block;
    }

    .searchButton {
        display: inline-block;
    }

        .searchButton .button {
            margin-left: 0px;
        }

    input[type="text"], input[type="email"], input[type="password"], select, input[type="date"], input[type="number"] {
        width: 100%;
    }

    h1 {
        margin-top: 20px;
    }
    /*
    .subcontainer {
        padding: 10px;
        border: 1px solid lightgray;
    }*/

    .field span {
        width: 100% !important;
    }

    .devicedisplay {
        display: none;
    }

    .button, .secondaryButton {
        width: 80px !important;
        /* margin-left: 10px;*/
    }

    .servicenav a {
        bottom: 9px !important;
    }

    .label {
        min-width: unset !important;
        margin-right: 30px;
    }
}

.has-error {
    border: 2px solid red !important;
}

    .has-error:focus {
        border-color: red !important;
        outline: none;
    }

/* Absolute Center Spinner */
.loading {
    display: block;
    position: fixed;
    z-index: 99999999;
}

    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: auto;
        background: rgba(0,0,0,0.3);
    }

    .loading:not(:required):after {
        content: '';
        display: block;
        font-size: 10px;
        position: fixed;
        left: 50%;
        top: 50%;
        height: 20px;
        width: 60px;
        background-image: linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0);
        background-repeat: no-repeat;
        background-size: 10px auto;
        background-position: 0 0, 20px 0, 40px 0, 60px 0;
        animation: pgfill 1s linear infinite;
    }

@keyframes pgfill {
    0% {
        background-image: linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0);
    }

    25% {
        background-image: linear-gradient(var(--brandcolor) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0);
    }

    50% {
        background-image: linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0);
    }

    75% {
        background-image: linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0);
    }

    100% {
        background-image: linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor80) 10px, transparent 0), linear-gradient(var(--brandcolor) 10px, transparent 0);
    }
}


.ActionIcons {
    cursor: pointer;
    height: 24px;
}

.exportdropdown {
    display: inline-block;
    float: right;
}

    .exportdropdown > div {
        margin-left: auto;
    }

    .exportdropdown .exportButton {
        font-weight: 500;
        padding: 7px;
        border: 2px solid gray;
        border-radius: 8px;
        float: right;
        margin: 0px 10px;
    }

    .exportdropdown:has(.dropdown-content:hover) .exportButton, .exportButton:hover {
        background: #DDDFE0;
    }

    .exportdropdown .dropdown-content {
        top: 37px;
        margin-right: 10px;
    }

        .exportdropdown .dropdown-content span {
            float: none;
        }

span:has(.eyebutton) keeper-lock {
    z-index: -1 !important;
}

.eyebutton {
    position: absolute;
    padding-right: 40px; /* space for icon */
    cursor: pointer;
    background: white;
    border: 0;
    width: 30px;
    height: 30px;
    padding: 10px;
    margin-left: -30px;
    z-index: 1000;
    display: inline-block; /* <-- important */
}
    /* Eye icon (show) */
    .eyebutton.eyeshow-icon {
        content: '';
        background: url('/images/eye.svg') no-repeat center;
    }

    /* Eye-slash icon (hide state) */
    .eyebutton.eyehide-icon {
        content: '';
        background: url('/images/eye-slash.svg') no-repeat center;
    }

/* WindowManager popup*/

.wm-modal {
    background: rgba(0, 0, 0, 0.5);
}

.wm-dialog {
    position: fixed;
    margin: 0;
    max-width: none;
}

.wm-content {
    height: 100%;
}

.wm-header {
    background: var(--brandcolor);
    color: #fff;
    padding: 6px 10px;
    cursor: auto;
    display: flex;
    align-items: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.wm-buttons {
    display: flex;
    column-gap: 5px;
}

.wm-body {
    height: calc(100% - 40px);
    padding: 0;
    padding: 0px 0px 20px 0px;
}

.wm-iframe {
    width: 100%;
    height: 100%;
    border: none
}

.wm-title {
    flex: 1;
    font-size: 16px;
}

.wm-btn {
    background: rgba(255,255,255,.2);
    border: 0;
    color: #fff;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: medium !important;
}

.wm-content {
    position: relative;
    border-radius: 10px;
    border: 3px solid var(--brandcolor);
    background: white;
}

.wm-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wm-modal .ui-resizable-se {
    right: 3px;
    bottom: 3px;
}
