﻿/* --------------------------------------------------
   General
-------------------------------------------------- */

html, body {
    font-size: 14px;
}

:root {
    --web-css-border: 1px solid #ced4da;
    --bs-body-line-height: 1.0;
    --web-css-card-padding: 0.5rem;
}

a {
    color: var(--bs-info);
}

a:hover {
    color: var(--bs-warning);
}

.form-label {
    white-space: nowrap;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

input:invalid,
select:invalid,
textarea:invalid {
    border-width: 2px;
    border-style: dashed;
    border-color: var(--bs-danger);
}

.web-css-no-undo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bs-danger);
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

i.web-css-icon-left {
    margin-right: 0.25rem;
}

i.web-css-icon-right {
    margin-left: 0.25rem;
}

button.web-css-disabled {
    pointer-events: none;
    opacity: 0.65;
}

.web-css-pseudo-link {
    cursor: pointer;
}

.web-css-empty-hover:hover {
    background-color: var(--bs-gray-400);
}

.web-css-bug {
    position: absolute;
    z-index: 100;
    top: 100px;
    left: 100px;
    width: 20px;
    height: 20px;
    color: var(--bs-danger); 
    font-size: 20px;
}

.btn {
    white-space: nowrap;
}

.web-css-mt-01 {
    margin-top: 0.1rem;
}

input[type='checkbox'],
input[type='radio'] {
    accent-color: var(--bs-gray-800);
}

div.web-css-from-cbx div:nth-child(1) {
    display: inline-block;
    vertical-align: top;
    padding-top: 0.15rem;
    margin-bottom: -0.3rem;
}

div.web-css-from-cbx div:nth-child(2) {
    display: inline-block;
    margin-left: 0.2rem;
}

.form-control:disabled, .form-control[readonly] {
    background-color: var(--bs-gray-200);
    opacity: 1;
}

/* --------------------------------------------------
   Loading spinner
-------------------------------------------------- */
    #WebIdMainVeil {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2000;
    cursor: wait;
    opacity: 0.1;
    background-color: #888;
    display: none;
}

#WebIdMainSpinningWheel {
    position: fixed;
    z-index: 2100;
    top: 45%;
    left: 45%;
    width: 10%;
    height: 10%;
    margin: auto;
    font-size: 2em;
    color: #0098A0;
    display: none;
}

/* --------------------------------------------------
   Page title
-------------------------------------------------- */

.web-css-page-title {
    font-size: 1.0rem;
    font-weight: bold;
}

/* --------------------------------------------------
   Card
-------------------------------------------------- */

.card > .card-body.web-css-form-card {
    background-color: hsl(0, 0%, 98%);
    padding: var(--web-css-card-padding) var(--web-css-card-padding);
}

/* --------------------------------------------------
   Menu
-------------------------------------------------- */

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.80);
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 1.0);
}

.dropdown-menu .dropdown-item.active {
    background-color: var(--bs-warning);
    color: var(--bs-white);
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: var(--bs-info);
    color: var(--bs-white);
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.btn-warning,
.btn-warning:hover {
    color: var(--bs-white);
}

input.web-css-editable-label {
    width: 100%;
    border: none;
    background-color: transparent;
    margin-bottom: 0.15rem;
    font-size: 0.8rem;
}

input.web-css-editable-label:focus {
    color: #212529;
    background-color: #fff;
    border: 1px solid #86b7fe;
    border-radius: 0.2rem;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
}

/* --------------------------------------------------
   Grid
-------------------------------------------------- */
.web-css-grid-divider {
    margin: 0.5rem 1rem 0.5rem 1rem;
    border-top: 1px solid #808080;
}

/* --------------------------------------------------
   Table
-------------------------------------------------- */

.table {
    margin-bottom: 0;
}

.table > thead > tr > th,
.table > tbody > tr > td {
    vertical-align: top;
}

table.web-css-table-condensed > thead > tr > th, 
table.web-css-table-condensed > tbody > tr > td {
    font-size: 0.875rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

table.web-css-table-select > tbody > tr > td {
    cursor: pointer;
}

table.web-css-table-select > tbody > tr.web-css-selected > td {
    background-color: var(--bs-warning);
    color: #FFFFFF;
}

table.web-css-table-select > tbody > tr:hover > td {
    background-color: var(--bs-info);
    color: #FFFFFF;
}

table.web-css-table-select > tbody > tr:hover > td > a {
    color: #FFFFFF;
}

table.web-css-table-select > tbody > tr:hover > td > a:hover {
    color: var(--bs-warning);
}

table.web-css-table-borders > thead > tr > th {
    border-top-width: 1px;
}

table.web-css-table-borders > thead > tr > th,
table.web-css-table-borders > tbody > tr > td {
    border-right-width: 1px;
}

table.web-css-table-borders > thead > tr > th:first-child,
table.web-css-table-borders > tbody > tr > td:first-child {
    border-left-width: 1px;
}

table.web-css-table-header-gray > thead > tr > th {
    background-color: var(--bs-gray-200);
}

td.web-css-ellipsis,
th.web-css-ellipsis {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.web-css-table-td-align-middle > tbody > tr > td {
    vertical-align: middle;
}

table.web-css-table-no-header > tbody > tr:first-child > td {
    border-top-width: 1px;
}

table.web-css-table-horizontal > tbody > tr > td:first-child {
    white-space: nowrap;
    font-weight: bold;
    width: 1px;
    padding-right: 0.35rem;
}

table.web-css-table-horizontal > tbody > tr > td:not(:first-child) {
    padding-left: 0.35rem;
}

/* --------------------------------------------------
   Split
-------------------------------------------------- */
div.web-css-split-container {
    height: 150px;
    min-height: 100px;
    overflow: auto;
    padding: 0rem var(--web-css-card-padding);
    margin: 0rem calc(var(--web-css-card-padding) * -1);
} 

hr.web-css-split-handle {
    height: 0.25rem;
    cursor: row-resize;
    margin: 0.5rem 0;
    border-top: 2px solid;
}

/* --------------------------------------------------
   Tabs
-------------------------------------------------- */

ul.nav.nav-pills {
    border-bottom: 1px solid var(--bs-gray-400);
} 

.nav.nav-pills > li.nav-item > .nav-link {
    color: #000000;
    color: #000;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top: 1px solid var(--bs-gray-400);
    border-right: 1px solid var(--bs-gray-400);
    border-bottom: 1px solid var(--bs-gray-400);
    margin-bottom: -1px;
    background-color: white;
    font-size: 0.875rem;
} 

.nav.nav-pills > li.nav-item:first-child > .nav-link {
    border-left: 1px solid var(--bs-gray-400);
} 

.nav.nav-pills > li.nav-item > .nav-link.active, .nav.nav-pills > li.nav-item > .nav-link.active:hover {
    background-color: var(--bs-warning);
    color: white;
} 

.nav.nav-pills > li.nav-item > .nav-link:hover {
    background-color: var(--bs-gray-100);
}






