:root {
    --e-assigned-licence: #9c1a40;
    --e-reserved-licence: #c75b7a;
    --e-free-licence: #d9abab;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* Bootstrap 5 tweak: do not underline links unless hovered over */
/*a:not([class*="btn"]) {
    text-decoration: none;
}

a:not([class*="btn"]):not(.nav-link):not(.navbar-brand):hover {
    text-decoration: underline;
}
*/

.small-form-control {
    max-width: 280px;
}

.medium-form-control {
    max-width: 380px;
}

.input-validation-error {
    border-color: #dc3545;
}

    .input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem #dc35453f;
    }

/*textarea {
    resize: none;
}
*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 600px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 900px;
    }
}

.field-validation-valid {
    display: none;
}

.field-validation-error {
    display: block;
    --e-text-opacity: 1;
    color: rgba(247,25,25,var(--e-text-opacity)) !important;
}

.well {
    background-color: #edf0f5;
    border: 1px solid #bec6d9;
}

.well-sm {
    padding: 9px;
    border-radius: 3px;
}

.card-rhs {
    border-top: 1px solid;
    border-radius: 0 0 1rem 1rem !important;
}

@media(min-width:768px) {
    .card-rhs {
        border-top: none;
        border-left: 1px solid;
        border-radius: 0 1rem 1rem 0 !important;
    }
}

.rejected {
    background-color: #f2dede;
}

.task-edited {
    background-color: #f0fff0;
}

@media screen and (max-width: 767px) {
    .btn-sm-xs {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        border-radius: 0.2rem;
    }
}

.tableBodyScroll tbody {
    display: block;
    max-height: 300px;
    overflow: auto;
}

.tableBodyScroll thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.tableBodyScroll tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.tableBodyScroll td {
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .filesdatewidth {
        width: 250px;
    }
}

.filesactionwidth {
    width: 100px;
}

.table-responsive {
    border: 1px solid #dddddd;
}

.simple-button {
    box-shadow: none;
    vertical-align: middle;
    border: 1px solid;
}

ul > li > a.delete-menu-item:hover {
    color: white;
    background-color: red;
}

.simple-card {
    border: 1px solid #bdbdbd;
    border-radius: 0;
    box-shadow: none;
}

.dialog-help {
    margin-top: .5rem;
    margin-right: 0.5rem;
}

.clean-button {
    text-transform: none;
    font-size: inherit;
}

@media(min-width:992px) {
    .mb-2-lg {
        margin-bottom: .5rem !important
    }
}

.lnr {
    line-height: inherit !important;
}

.fix-icon-button {
    padding-top: 0.4375rem;
    padding-bottom: 0.4375rem;
    padding-left: 0.55rem;
    padding-right: 0.75rem;
}

.fix-button-icon {
    font-size: 150% !important;
    vertical-align: -0.3rem;
}

.project-grid-fill-page {
    width: 100%;
    height: calc(100vh - 13.1rem);
}

.user-grid-fill-page {
    width: 100%;
    height: calc(100vh - 14.1rem);
}

.grid-fill-page {
    width: 100%;
    height: calc(100vh - 16.1rem);
}

.form-check-row-padding {
    padding-left: 2.25em;
}

.breadcrumb {
    font: .75em sans-serif;
    list-style: none;
}

    .breadcrumb.bc2x {
        font-size: 1em;
    }

    .breadcrumb.bc3x {
        font-size: 1.25em;
    }

    .breadcrumb p {
        margin: 0;
    }

    .breadcrumb li {
        display: inline-block;
        margin-bottom: .2em;
    }

.breadcrumb li a {
    background-color: #006a97;
    box-sizing: border-box;
    color: #fff;
    display: block;
    max-height: 2em;
    padding: .5em 1em .5em 1.5em;
    position: relative;
    text-decoration: none;
    transition: .25s;
}

    .breadcrumb li a:before {
        border-top: 1em solid transparent;
        border-bottom: 1em solid transparent;
        border-left: 1em solid #fff;
        content: "";
        position: absolute;
        top: 0;
        right: -1.25em;
        z-index: 1;
    }

    .breadcrumb li a:after {
        border-top: 1em solid transparent;
        border-bottom: 1em solid transparent;
        border-left: 1em solid #006a97;
        content: "";
        position: absolute;
        top: 0;
        right: -1em;
        transition: .25s;
        z-index: 1;
    }

    .breadcrumb li a:hover {
        background-color: #0098d9;
    }

        .breadcrumb li a:hover:after {
            border-left-color: #0098d9;
        }

.breadcrumb li a.breadcrumbpending {
    background-color: #bec6d9;
    color: black;
    pointer-events: none;
}

.breadcrumb li a.breadcrumbpending::after {
    border-left-color: #bec6d9;
}


.breadcrumb li {
    margin: 0 0 0 5px;
}

.not-allowed {
    cursor: not-allowed !important;
    pointer-events: all !important;
}

.assigned-users-container {
    min-width: 280px;
}

#assigned-users-list {
    border-radius: 4px;
}

#copy-licensing-data > i {
    width: 1em;
}

#copy-licensing-data.success {
    background-color: var(--e-success);
}

#copy-licensing-data {
    background-color: var(--e-primary);
    transition: background-color 250ms ease;
}

.btn-super-sm {
    padding: .2rem .5rem;
    font-size: .75rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    #requestModal .p-md-5 {
        padding: 3rem !important;
    }
}

.modal .no-header-border {
    border: none;
}

.modal .no-header-border .modal-title {
    margin-top: 0;
}

.licensing-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.elecosoft-header {
    background: var(--e-primary);
    color: var(--e-white);
}

.licensing-modal label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

@property --p1 {
    syntax: '<number>';
    inherits: true;
    initial-value: 1;
}

.animate {
    animation: p1;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: linear;
}

@keyframes p1 {
    from {
        --p1: 0;
    }
    to {
        --p1: 1;
    }
}

.context-menu-list.context-menu-scrollable {
    max-height: 90vh;
    overflow-y: auto;
}