﻿/*
* Colors
*/

:root {
    --primary-color: #283241;
    --secondary-color: #444343;
    --alternative-color: #ab8c4b;
    --accent-color: #4f647e;
    --white-color: #ffffff;
    --white-alternative-color: #f2f2f2;
    --text-color: #212529;
}

/*
* General
*/

html, body {
    font-family: 'Helvetica Neue', sans-serif;
    font-style: normal;
    font-weight: 400;
    background-color: var(--white-alternative-color);
}

.input-outline-password input {
    border-right: none
}

.input-outline-password > .form-control.is-invalid ~ .btn-outline-password {
    border-color: var(--bs-form-invalid-border-color) !important;
}

.input-outline-password .btn-outline-password {
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid var(--bs-border-color);
    border-left: none
}

    .input-outline-password .btn-outline-password.is-invalid {
        color: var(--text-color);
        background-color: #fff;
        border: 1px solid var(--bs-border-color);
        border-left: none
    }

    .input-outline-password .btn-outline-password:active,
    .input-outline-password .btn-outline-password:hover {
        border: 1px solid var(--bs-border-color) !important;
        border-left: none !important
    }

.dropdown-item {
    cursor: pointer !important;
}

.form-check-input[readonly] {
    pointer-events: none;
    filter: none;
}

.tooltip-custom-style {
    --bs-tooltip-bg: var(--accent-color);
    --bs-tooltip-color: var(--white-color);
    white-space: pre-line;
}

    .tooltip-custom-style .tooltip-inner {
        text-align: start;
    }

.table-drag-scroll .table {
    cursor: grab;
}

.table-drag-scroll.active .table {
    cursor: grabbing;
}

.table.table-cell-full-height {
    height: 1px;
}

    .table.table-cell-full-height tr {
        height: 100%;
    }

    .table.table-cell-full-height td {
        height: 100%;
    }

        .table.table-cell-full-height td > div {
            height: 100%;
            vertical-align: middle;
        }

td {
    vertical-align: middle;
}

    td.td-wrap-content {
        width: 1%;
        white-space: nowrap;
    }

/*
* Scrollbar styles
*/

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ccc;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

/*
* Quick grid
*/

th .col-title-text {
    font-weight: bold;
}

.col-empty-data {
    border: none !important
}

.col-sort-asc .sort-indicator {
    margin-top: 7px
}

.col-sort-desc .sort-indicator {
    margin-bottom: 7px
}

.sort-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 4px;
    background-image: none !important;
}

    .sort-indicator::before {
        content: "\f0dd";
        font-family: FontAwesome;
    }


.spinner-content {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 50%;
    right: 50%;
    margin-top: -50px; 
    margin-right: -50px;
    height: 100px; 
    width: 100px;
    text-align:center;
}


.request-event {
    margin: 5px;
}

    .request-event .event-label, .request-event .event-value {
        font-size:80%;
        
    }