﻿/* This css should contain potencial changes to the evismo theme. */

/* Color setup */
:root {
    --rz-header-background-color: var(--rz-white);
    --rz-profile-menu-top-item-background-color: var(--rz-white);
    --rz-sidebar-toggle-color: var(--rz-black);
    --rz-profile-menu-toggle-button-color: var(--rz-black);
    --rz-grid-header-filter-icon-font-size: 1rem;
    --rz-grid-sort-icon-width: 1rem;
    --rz-grid-sort-icon-height: 1rem;
    --rz-grid-header-font-size: 0.875rem;
    --rz-grid-cell-font-size: 0.85rem;
    --rz-input-font-size: 0.95rem;
}

/* Changes to accomodate old visuals under new Radzen v7. */
body {
    font-family: var(--rz-text-font-family);
    background-color: #f3f5f7;
}

a {
    color: #495961;
}

.rz-card p {
    margin-bottom: 0;
}

/* Force overflow on all elements. */
.rz-cell-data {
    overflow: visible !important;
}

/* Fix hyperlink text color in header. */
.rz-header {
    color: var(--rz-secondary-darker);
}

.rz-header a, .rz-header a:hover, .rz-header a:focus {
    color: var(--rz-link-color);
}

/* Force sidebar to ignore footer reserved space. */
.rz-sidebar {
    bottom: 0 !important;
}

/* Decrease split button size. */
.rz-splitbutton .rz-button.rz-splitbutton-menubutton {
    padding: 0px;
    min-width: 21px;
}

/* Fix thead from tables to override profile menu */
.rz-grid-table thead {
    z-index: 1;
}

/* Distinguish "All" option under multiple dropdown components */
.rz-multiselect-header {
    font-weight: bold;
}

/* Allow 100% width for Radzen split-buttons when using .rz-splitbutton-w-100 */
.rz-splitbutton-w-100, .rz-splitbutton-w-100 .rz-button:first-of-type {
    width: 100% !important;
}

/* Force proper margin for icons inside checkboxes, even when inside tree elements. */
.rz-chkbox-box .rzi {
  margin-right: 0.0rem !important;
}

#components-reconnect-modal {
    display: flex;
    justify-content: center;
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

    #components-reconnect-modal h5 {
        background-color: #ffffff;
        caret-color: transparent;
        border-radius: 0px 0px 5px 5px;
        box-shadow: 0px 10px 10px 0px hsl(0deg 0% 0% / 20%);
        margin: 0 auto !important;
        padding: 70px 40px 20px 40px;
        z-index: 1050;
        width: 500px;
        height: fit-content;
    }

    #components-reconnect-modal div {
        border-color: rgb(101, 179, 46) rgb(243, 243, 243) rgb(243, 243, 243) !important;
        caret-color: transparent;
        margin: 0 auto !important;
        position: fixed;
        top: 20px;
        z-index: 1050;
    }

    #components-reconnect-modal button {
        margin: -102px auto !important;
        background-color: #84c258;
        color: white;
        padding: 3px 20px;
        border: none;
        box-shadow: var(--rz-button-shadow);
        border-radius: var(--rz-button-border-radius);
        text-transform: uppercase;
    }