﻿


body{
    background-color: #eee;
}

:root {
    --selectedColor: lightblue;
}
.row{
    width: 100%;
}


@media (max-width: 576px) {
    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }
}

.disabled, *:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

    * {
        animation: fadein;
        animation-duration: 0.1s;
        animation-iteration-count: 1;
    }

    .fadeout {
        animation: fadeout;
        animation-duration: 0.1s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

chevron {
    display: inline-block;
    font-style: normal;
    position: relative;
    width: calc(var(--size, 1) * 1rem);
    height: calc(var(--size, 1) * 1rem);
    border-right: 0.2em solid;
    border-top: 0.2em solid;
    transform: rotate(45deg);
    margin-right: 0.5rem;
    transition: 0.1s ease;
    flex-shrink: 0;
    margin: 0.5rem;
}

        chevron.down {
            transform: rotate(135deg);
        }

    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: rgba(16,65,115,1);
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    }

        ::-webkit-scrollbar-thumb:window-inactive {
            background: rgba(16,65,115,0.8);
        }


    @keyframes fadein {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes fadeout {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    hr {
        width: 100%;
    }

    img {
        max-width: 100%;
    }

    .badge {
        position: relative;
    }

    .breadcrumb-wrap {
    }

    ol.breadcrumb {
    }

    .badge-tr {
        position: absolute;
        top: -0.25rem;
        right: -0.25rem;
    }

    .mask {
        z-index: 10;
        background: rgba(0, 0, 0, var(--opacity, 0.8));
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
.mask-cover {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, var(--opacity, 0.8));
    z-index: 1;
}

.floatingButton {
    position: absolute;
    top: -0.1rem;
    right: -0.1rem;
    transition: 0.2s ease-in-out;
    z-index: 1;
}

.floatingButton:hover {

}


.linkWrapper {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #333;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    background-color: #fff;
    padding: .25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    border: 1px solid #dee2e6;
    z-index: 1;
}



.discreteClick {
    display: none;
    position: absolute;
    margin-left: -0.5rem;
    width: 1rem;
    height: 1rem;
    cursor:pointer;
}

@media (hover: hover){
    .discreteClick {
        display: block;
        opacity: 0;
    }

    /* none touch screen */
        .discreteClick:has(~ .linkWrapper:hover)  {
            display: block;
            opacity: 0.5;
        }
        .discreteClick:hover{
            opacity: 1;
        }

}

.discreteClick-True {
    /* touch screen */
    display: block;
    opacity: 1;
}



    .nohover {
        cursor: default;
    }
.linkWrapper.nohover {
    border: none;
}


.linkWrapper:not(.nohover):hover {
    background-color: #dee2e6;
    text-decoration: none;
}




.linkWrapper .icons {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

            .linkWrapper .icons:last-of-type {
                margin-left: auto;
            }
            .linkWrapper .subtitle{

            }

        .linkWrapper .name {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            text-align: center;
            font-size: 110%;
        }


.merit-rack {
    display: flex;
    gap: 0.1rem;
    margin-bottom:-0.5rem;
    
}

.gap-1{
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}


label:not(.form-check-label) {
    font-size: 80%;
    font-weight: 400;
    margin-left: 0.5rem;
    margin-top: 2rem;
    display: inline-block;
    justify-content: space-between;
    align-items: center;
}
.form-group label:not(.form-check-label) {
    margin-top: 1rem;
}

label[req]:after {
    content: " *";
    color: red;
    font-weight: bolder;
}

label[opt]:after {
    content: " - Optional";
    opacity: 0.8;
    font-style: italic;
}

.container {
    padding: 1rem;
}

.row {
    align-items: flex-start;
    margin: 0;
}

    .bg-brand, .btn-brand, .badge-brand {
        background-color: #114274;
    }

    .text-brand {
        color: #114274;
    }
.bg-light, .btn-light, .badge-light {
    background-color: #dee2e6 !important
}




.avatarWrapper, .avatarWrapper-md, .avatarWrapper-sm, .avatarWrapper-lg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    width: 2rem;
    min-height: 2rem;
    min-width: 2rem;
    margin: 0.1rem;
    position: relative;
    overflow: hidden;
}

.avatarWrapper-sm {
    height: 1rem;
    width: 1rem;
    min-height: 1rem;
    min-width: 1rem;
}

.avatarWrapper-lg {
    height: 3rem;
    width: 3rem;
    margin: 0.2rem;
    min-height: 3rem;
    min-width: 3rem;
}

    .progress {
        height: auto;
    }

    .shadowed-dark {
        filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.9));
    }

    .shadowed-light {
        filter: drop-shadow(2px 2px 2px rgba(255,255,255,0.9));
    }

    .skeleton {
        display: inline-block;
        border-color: #DDDBDD;
        position: relative;
        overflow: hidden;
        background-color: #DDDBDD;
        pointer-events: none;
    }

.skeleton-text {
    border-radius: 0.25rem;
    margin: 2px;
}

        .skeleton, .skeleton * {
            color: transparent !important;
        }

            .skeleton:after {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                transform: translateX(-100%);
                background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%);
                animation: shimmer 2s infinite;
                content: '';
            }

    @keyframes shimmer {
        100% {
            transform: translateX(100%);
        }
    }

#blazor-error-ui, #blazor-update-ui {
    display: none;
}
