﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-tertiary: 'Montserrat', sans-serif;
    --bg-main: rgb(238,238,238);
    --starr-color: rgb(45, 104, 196);
    --starr-alt-color: rgb(0, 90, 156);
    --starr-light: white;
    --starr-link-color: rgb(8, 92, 180);
    --toggle-button-color: rgb(45, 104, 196);
    --toggle-button-border-color: rgb(0, 66, 112);
    --toggle-button-font-color: white;
    --title-color: #025997;
    --title-size: 2.5rem;
    --grid-badge-background: #3b679e;
    --grid-box-shadow: #025997 0px 1px;
    --toolbar-background: rgb(246,248, 249);
    --toolbar-color: #212325;
    --authorization-background: #eee;
    --authorization-failure-background: #920000;
    --authorization-failure-color: white;
    --nav-base-color: rgba(17,68,119,.90);
    --nav-active-bacgkround: white;
    --nav-active-color: rgb(17,68,119);
    --nav-border-color: rgb(17,68,119); /* #B0C4DE; */
    --nav-hover-color: rgba(255,255,255,.90);
    --nav-active-border: 5px;
    --default-margin: .25rem;
    --starr-navy: #00205b;
}

html, body {
    font-size: 1rem;
    font-family: var(--font-primary);
    background-attachment: fixed, scroll;
    background-size: cover;
    background-image: url("../images/3433814.jpg");
    max-width: 100%;
    width: 100%;
    overflow-x: hidden
}

/* Responsive adjustment for offcanvas navigation (moved from component due to Razor @media parsing) */
@media (max-width: 576px) {
    .offcanvas-nav { width: 80% !important; }
    .offcanvas-hover-zone { width: 14px !important; }
}

.confidence {
    font-size: .75rem;
}

.card {
    font-size: .85rem !important;
}

.side-menu {
    min-width: 200px !important;
}

.navbar-brand {
    color: var(--nav-base-color);
}

.navbar-grey {
    background-color: var(--bg-main);
}

.bg-card-title {
    background-color: #0257d5 !important;
    color: white !important;
}

.bg-property-title {
    background-color: #eee !important;
    color: #333;
    min-width: 250px;
    width: 250px;
}

.title {
    color: var(--title-color);
    font-size: var(--title-size);
    font-weight: bold;
}

.top-bar-divider {
    margin-top: 0;
    margin-bottom: var(--default-margin);
}

.top-bar-layout {
    display: flex;
    flex-direction: row;
    justify-content: right;
    margin-top: var(--default-margin);
}

.nav-user {
    font-size: .75rem !important;
    padding-top: 4px;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.k-grid td {
    font-family: var(--font-primary);
    border-width: 0 0 0px 1px;
    vertical-align: middle;
    font-size: .8rem !important;
}

.k-column-title {
    font-family: var(--font-primary);
    font-size: .85rem;
    font-weight: 600;
}

.k-grid th.center-me {
    text-align: center;
}

.authorization-message {
    font-size: .75rem;
    background: var(--authorization-background);
    padding: 12px 8px 12px 8px;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    margin-top: 0;
}

.authorization-failure-message {
    font-size: .75rem;
    background-color: var(--authorization-failure-background);
    color: var(--authorization-failure-color);
    padding: 12px 8px 12px 8px;
    border-top: 1px dashed #004270;
    border-bottom: 1px dashed #004270;
    margin-top: 0px;
}

#blazor-error-ui {
    background: rgba(146,0,0,.75);
    color: var(--starr-light);
    top: 55px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui .reload {
        color: white !important;
        text-decoration: underline !important;
    }

.content {
    padding-top: 1.1rem;
}

.table-dark {
    --bs-table-bg: var(--starr-alt-color);
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #373b3e;
}

.k-disabled .k-input-inner{
    color: #212529;
    background-color: #e9ecef;
}

.k-disabled .k-input-button {
    background-color: #e9ecef;
    opacity: 1;
}

.k-picker-outline {
    border-color: #e4e7eb;
    color: #212529;
}
    
.k-picker-outline:hover, .k-picker-outline.k-hover {
    border-color: #e4e7eb;
    color: black;
    background-color: #e4e7eb;
}