﻿/* Modernized tile color */
:root {
    --tile-blue: #0068b0;
    --tile-blue-hover: #2f76b8;
    --navbar-blue: #003b73; /* suggested new navbar color */
    --bs-body-color: #666666;
}

/* Home tiles */
.home-tiles .tile {
    aspect-ratio: 1 / 1; /* forces perfect square */
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--tile-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px;
    transition: background .15s, transform .15s;
}
    /* Hover effect */
    .home-tiles .tile:hover {
        background: var(--tile-blue-hover);
        transform: translateY(-3px);
    }

    /* Icon styling */
    .home-tiles .tile i {
        font-size: 48px;
        margin-bottom: 10px;
    }

    /* Label */
    .home-tiles .tile span {
        font-size: 1.1rem;
        font-weight: 500;
    }



/* Main layout changes */
.container {
    width: 100%;
}

.site-footer-bottom {
    color: #666666;
}

.content {
    padding: 20px 0 40px;
}

.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0.38rem;
}

    .navbar ul > li.nav-item:hover {
        border-top-width: 3px;
        border-top-style: solid;
        border-top-color: #FFF;
        margin-top: -6px;
        margin-bottom: -3px;
    }

    .navbar > ul > li > a {
        padding-top: 14px;
        display: block;
        color: #fff;
        text-decoration: none;
        border-right: 1px solid rgba(0, 0, 0, .05);
    }

    .navbar ul > li:hover > a.nav-link {
        background-color: #2E96DB;
        color: #fff;
        padding-top: 11px;
        padding-bottom: 14px;
    }

    .navbar > ul > li > a {
        border-left: 1px solid rgba(0, 0, 0, .05);
    }

/***** Hover open for lg+ screens *****/
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0px; /* keeps menu snug under toggle */
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    background-color: #2E96DB;
}

li.nav-item {
    height: 40px;
    border-right: 1px solid rgba(0, 0, 0, .10);
}

    li.nav-item:first-child {
        border-left: 1px solid rgba(0, 0, 0, .10);
    }

.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-color: #FFF;
}

.navbar li.divider {
    font-weight: bold;
    color: #777;
    padding: 2px 7px;
}

/* data grid tables */
table.data-grid {
    width: 100%;
    border-spacing: 0;
}

    table.data-grid td {
        text-align: center;
        font-size: 14px;
        padding: 20px;
    }

    table.data-grid th {
        background-color: #333;
        text-align: center;
        font-size: 14px;
        padding: 20px;
        color: #FFF;
    }

    table.data-grid tr:first-child th:first-child {
        border-top-left-radius: 10px;
    }

    table.data-grid tr:first-child th:last-child {
        border-top-right-radius: 10px;
    }

    table.data-grid tr:last-child td:first-child {
        border-bottom-left-radius: 10px;
    }

    table.data-grid tr:last-child td:last-child {
        border-bottom-right-radius: 10px;
    }


.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}

.bootbox .bootbox-close-button {
    position: absolute; 
    top: 1.5rem; 
    right: .75rem;
    border: none !important; 
    background: transparent; 
    box-shadow: none; 
    outline: none; 
    padding: .25rem .5rem; 
    line-height: 1;
    font-size: 1.25rem; 
    cursor: pointer;
}

.bootbox .modal-content {
    position: relative;
}


.bootbox .modal-header {
    padding-right: 1rem; 
}


/*.bootbox .bootbox-body {
    padding-top: 2.5rem !important; 
}


.bootbox .bootbox-body {
    padding-top: calc(1.25rem + 1rem); 
}
*/

.btn-light {
    --bs-btn-border-color: #999999;
}

a {
    color: #5e5e5e;
    text-decoration: underline;
    cursor: pointer;
}

.k-state-selected, .k-state-selected:link, .k-state-selected:visited, .k-list > .k-state-selected, .k-list > .k-state-highlight, .k-panel > .k-state-selected, .k-ghost-splitbar-vertical, .k-ghost-splitbar-horizontal, .k-draghandle.k-state-selected:hover, .k-scheduler .k-scheduler-toolbar .k-state-selected, .k-scheduler .k-today.k-state-selected, .k-marquee-color {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.k-button.k-button-flat.k-selected {
    color: #fff !important;
    background-color: #0d6efd !important;
}
.k-button.k-selected::before {
    opacity: 0;
}

.readonly-unclickable {
    pointer-events: none;
    background-color: #E9ECEF;
    color: #6c757d;
}