﻿@font-face {
    font-family: 'ABBvoice';
    src: url('../fonts/ABBvoice_W_Lt.eot');
    src: url('../fonts/ABBvoice_W_Lt.woff2') format('woff2');
    src: url('../fonts/ABBvoice_W_Lt.woff') format('woff');
}

@font-face {
    font-family: 'ABBvoiceBd';
    src: url('../fonts/ABBvoice_W_Bd.eot');
    src: url('../fonts/ABBvoice_W_Bd.woff2') format('woff2');
    src: url('../fonts/ABBvoice_W_Bd.woff') format('woff');
}

/*html {
    position: relative;
    min-height: 100%;
}*/

body {
    /*    background-color: #F0F0F033;
    margin-bottom: 60px;*/
    font-family: ABBvoice,sans-serif
}

.abb-button-red {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 30px;
    background-color: red;
    color: white;
}
    .abb-button-red:disabled {
        background-color: red;
        color: #8a8a8a;
        cursor: not-allowed;
        opacity: 0.8;
    }

    .abb-button-red:hover {
        background-color: darkred;
        color: white;
    }

    .abb-button-red:active {
        color: white;
    }

    .abb-button-red:focus,
    .abb-button-red.focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.35);
        border-color: #b71c1c;
    }

    .abb-button-red.pd {
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 24px;
    }

    .abb-button-red.pds {
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 6px;
    }

.abb-button-white {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 30px;
    color: black;
    background-color: white;
    border-color: grey;
}

    .abb-button-white:hover {
        background-color: #F7F7F7;
        border-color: grey;
        color: black;
    }

    .abb-button-white:active {
        background-color: #6764f6;
        color: white;
    }

  

    .abb-button-white:focus,
    .abb-button-white.focus {
        outline: none;
        box-shadow: none;
        border-color: #999;
    }

    .abb-button-white.pd {
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 24px;
    }
    .abb-button-white.pds {
        position: relative;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 6px;
        background: #fff;
        border: 1px solid #d6d6d6;
        box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
        transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
    }
        .abb-button-white.pds i {
            color: #d6d6d6;
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
        }

    .abb-button-white.pdc {
        /*position: relative;*/
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 6px;
        background: #fff;
        border: 1px solid #d6d6d6;
        box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
        transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
    }

        .abb-button-white.pdc i {
            color: #b8b8b8;
            /*position: absolute;*/
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
        }

       /* .abb-button-white.pds:hover {
            background-color: #fafafa;
            box-shadow: 0 3px 8px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.08);
            transform: translateY(-1px);
        }*/


.abb-bold {
    font-family: ABBvoiceBd,sans-serif
}

div.abbheading > h3 {
    /* your styles here */
    font-family: ABBvoiceBd,'Courier New',sans-serif !important;
}

/*div > table {
    font-size: 0.9em;
}
*/
:root {
    --kendo-font-family: ABBvoice, sans-serif;
}

.nav-item .active {
    border-bottom: 3px solid #f03040;
    content: "";
}

/*.navbar-light .navbar-nav .active a::after {
    border-bottom: 3px solid #f03040;
    bottom: -10px;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
}

.navbar-nav > li.nav-item.active > a.nav-link {
    text-decoration: none;
    font-weight: 600;
}
*/
th[aria-sort="ascending"]::after {
    content: " ▲";
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.75em;
    vertical-align: middle;
}

th[aria-sort="descending"]::after {
    content: " ▼";
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.75em;
    vertical-align: middle;
}

th[role="columnheader"] {
    cursor: pointer;
}

.iconBuilding {
    width: 22px;
    height: 22px;
    background-color: currentColor;
    mask: url("/images/building6.svg") no-repeat center / contain;
    -webkit-mask: url("/images/building6.svg") no-repeat center / contain;
}

.iconPerson {
    width: 22px;
    height: 22px;
    background-color: currentColor;
    mask: url("/images/individual.svg") no-repeat center / contain;
    -webkit-mask: url("/images/individual.svg") no-repeat center / contain;
}

.bg-abb-red {
    background-color: #FF0000;
}

.bg-abb-red-75 {
    background-color: #FF0000BF;
}

.abb-link-button {
    background-color: white;
    border: 1px solid #c0c0c050;
    color: black;
}

.abb-card-mono-heading {
    font-family: ABBvoiceBd;
}

table.abb-table,
.abb-table table {
    font-size: 0.9em;
}

.abb-table.k-grid.k-grid-md,
.abb-table .k-grid.k-grid-md {
    --kendo-font-size: 0.90em;
}

.abb-table.k-grid td .k-grid-link {
    color: #0067b8;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #fafafa; /* light grey */
    color: #6c757d; /* optional: softer text */
    opacity: 1; /* important: BS sets opacity */
}

a.abb-rounded-link {
    /*display: inline-block;*/ /* makes padding + border-radius work */

    display: flex;
    flex-direction: column; /* stack image + text */
    align-items: center; /* center horizontally */
    gap: 0.5rem; /* space between image and text */
    /*width: 400px;*/
    padding: 0.55rem 1.25rem;
    border-radius: 0.85rem; /* pill shape (use 0.75rem for card) */
    background-color: #ffffff;
    color: #212529;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    a.abb-rounded-link:hover {
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
        transform: translateY(-1px);
        text-decoration: none;
    }

    a.abb-rounded-link:active {
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    }

@media (min-width: 768px) {
    a.abb-rounded-link {
        width: 400px; /* pick your fixed desktop width */
    }
}

.abb-nav-image {
    width: 64px;
    height: auto;
    /*margin-right: 8px;*/
    /*vertical-align: middle;*/
}

.abb-hero {
    background-image: url('/images/eida_hero.jpg');
    background-size: cover;
    background-position: top center;
    position: relative;
}

/* example: on very small screens, center it again if needed */
@media (max-width: 575.98px) {
    .abb-hero {
        background-position: center;
    }
}
/* dark overlay for readability */
.abb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* keep content above overlay */
.abb-hero > .container {
    position: relative;
    z-index: 1;
}


.abb-rounded-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: .75rem;
    /* border-radius: 0.50rem; */ /* pill shape (use 0.75rem for card) */
    color: #212529;
    text-decoration: none;
}

.abb-rounded-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px; /* true pill */
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
}

/* Color modifiers */
.abb-rounded-summary-yellow {
    background-color: #FFD10020;
    opacity: 0.75;
}

.abb-rounded-summary-green {
    background-color: #007a3320;
}

.abb-rounded-summary-red {
    background-color: #ff000f20;
}

.abb-rounded-summary-lilac {
    background-color: #6764f620;
}

.abb-card-header {
    font-family: ABBvoiceBd;
    font-size: 1.25rem;
}

.abb-text-s11
{
    font-size:1.1rem;
}
.abb-text-s12 {
    font-size: 1.25rem;
}
.abb-text-s15 {
    font-size: 1.5rem;
}

.abb-button-white.checked {
    background-color: #6764f6;
    color: white;
    border: 1px solid #5a57e6;
    box-shadow: 0 2px 6px rgba(103, 100, 246, 0.30), 0 1px 2px rgba(0,0,0,0.10);
    transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
}

    .abb-button-white.checked:hover {
        background-color: #5d5af0;
        box-shadow: 0 4px 10px rgba(103, 100, 246, 0.40), 0 2px 4px rgba(0,0,0,0.12);
        transform: translateY(-1px);
    }

    .abb-button-white.checked:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(103, 100, 246, 0.25);
    }

.qr-wrapper {
    width: 80vw;
    height: 80vw;
    max-width: 420px;
    max-height: 420px;

}

    .qr-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
