html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ---------------------------- */

.gradient-gray-cell {
    background-color: #fff; 
    text-align:center;
    background: repeating-linear-gradient( 
        45deg, 
        #eee, 
        #eee 1px, 
        transparent 2px, 
        transparent 4px 
    );
}

/* Data entry table */
.spreadsheet {
    /*border-collapse: collapse;*/
    /*top:15px;*/
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    position: sticky; /*needed to that the top nav menu won't slide unde the thead */
}

    .spreadsheet td {
        border: 1px solid #eee;
        position: relative;
        min-width: 30px;
        /*text-align:center;*/
        margin:0px;
        height: 1px; /*will be igored but it's required*/
    }

    .spreadsheet > tr td:nth-child(2) {
        padding-left:5px !important;
        text-align: left !important;
    }

    

    .spreadsheet .item_header {
        padding: 3px;
    }


    .spreadsheet input, .spreadsheet .input {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: none;
        box-sizing: border-box;
        padding: 4px;
        font-size: inherit;
        font-family: inherit;
        text-align: inherit;
        align-items: center;
        justify-content:center;
        /*width: 100%;
        height: 100%;*/
        background-color: #fff;
        text-align: center;
        z-index: 1;
        display: flex;
    }

.centered-cell {
    text-align: center;
}

.spreadsheet .fill_item {
    text-align: center; /* Center the text horizontally */
    width: 100%;
    height: 100%;
}

.sticky-left {
    left: 0 !important;
    z-index: 2 !important;
    border-right: 1px solid rgba(0,0,0, 0.3);
    background-color: #fff !important;
    position: sticky !important;
}


.mtss-sticky-top {
    border-bottom: 1px solid rgba(0,0,0, 0.5);
}


.spreadsheet th {
    border: 1px solid rgba(238,238,238, 1);
    z-index:2;
    padding: 3px;
}

.spreadsheet tr:hover {
    background-color: rgb(237, 236, 236, 0.20)
}

.exists {
    background-color: #f4fff3;
}

/*-- iconstack ----------*/
.icon-stack {
    position: relative;
    display: inline-block;
    /*width: 1em;*/
    /*height: 1em;*/
    line-height: 1em;
    vertical-align: middle;
}

.icon-stack-05x,
.icon-stack-1x,
.icon-stack-2x,
.icon-stack-3x {
    position: absolute;
    right: 0px;
    bottom: -3px;
    /*width: 100%;*/
   /* text-align: right;*/
}

.icon-stack-05x {
    font-size: 0.4em;
}

.icon-stack-1x {
    line-height: inherit;
}

.icon-stack-2x {
    font-size: 1.5em;
}

.icon-stack-3x {
    font-size: 2em;
}

.text-stack-05x,
.text-stack-1x,
.text-stack-2x,
.text-stack-3x {
    position: absolute;
    left: 1px;
    bottom: -3px;
    /*width: 100%;*/
    /* text-align: right;*/
}

.text-stack-05x {
    font-size: 0.5em;
}

.text-stack-1x {
    line-height: inherit;
}

.text-stack-2x {
    font-size: 1.5em;
}

.text-stack-3x {
    font-size: 2em;
}

/* Transitions */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s;
}

.hove-enter {
    transition: background-color 0.3s ease-in-out; /* Transition effect for background-color */
}

    .hove-enter:hover {
        background-color: lightgray;
    }


.edit-link {
    border-bottom-color: #5dabff;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    transition: background-color 0.3s ease-in-out; /* Transition effect for background-color */
    cursor: pointer;
    display: inline-block;
    
}

    .edit-link:hover {
        color: #1861ac !important;
        display: inline-block;
        /*white-space: nowrap;*/
    }


.edit-link .hidden-item
{
    display: none;
}

.edit-link:hover .hidden-item {
        display: inline-block;
        color: #000 !important;
    }


/*.hidden-item:hover {
    color: #b32121 !important;
}*/


/*.edit-control {
    transition: background-color 0.3s ease-in-out;*/ /* Transition effect for background-color */
    /*cursor: pointer;
}*/

.edit-control .hidden-item {
        display: none;
    }

.edit-control:hover .hidden-item {
        display: inline-block;
        
    }







.edit-box {
    color: var(--bs-emphasis-color);
    background-color: var(--bs-warning-bg-subtle);
    padding: 3px;
}


/*Full frame inputs require position:relative parents !!*/
.full-width-input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


.input-cell .input-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    display:inline-block;
}

.input-cell:hover .input-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 16px;

}

.input-cell .menu-item {
    display: none;
    visibility: hidden;
}

.input-cell:hover .menu-item {
    display: inline-block;
    visibility: visible;
    position: absolute;
    top: 0;
    bottom: 0;
   
    right: 0;
    float:right;
    width:16px;
}

/*.arrow-right {*/
    /*width: 100%;*/ /* Width of the div */
    /*height: 100%;*/ /* Height of the div */
    /*position: relative;*/ /* Allows positioning of the pseudo-element */
/*}

    .arrow-right::after {
        content: '';
        position: absolute;
        width: 0;
        height: 100%;
        border-top: 25px solid transparent;*/ /* Creates top edge of arrow */
        /*border-bottom: 25px solid transparent;*/ /* Creates bottom edge of arrow */
        /*border-left: 25px solid;*/ /* Creates the actual arrow effect */
    /*}


.arrow-cell::before {
    content: '';
    position: absolute;
    top: 50%;*/ /* Vertically center the arrow */
    /*left: 0px;*/ /* Position it near the left side of the cell */
    /*transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid inherit;*/ /* Arrow color */
/*}*/

/* student score scale  */
.score-scale-line {
    padding: 0px;
    width: 100%;
    height: 0px;
    vertical-align: text-top;
    position: relative;
    border: 1px solid;
    
}

.score-scale-point {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 8px;
    border: 1px solid;
    font-size: 0.9em;
    font-weight: 300;
    text-align: center;
    vertical-align: middle;
}


.grad1 {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: var(--default-background); /* Fallback for unsupported browsers */
    background-image: conic-gradient( var(--progress-color) calc(var(--progress) * 1%),  var(--default-background) 0 );
    display: flex;
    justify-content: center;
    align-items: center;
}


.progress-bar {
    position: relative;
    /*width: 80px;*/ /* Width of the progress bar */
    width: var(--progress-width);
    height: 20px; /* Height of the progress bar */
    /*background-color: var(--default-background);*/ /* Background for the unfilled portion */
    background-color: var(--progress-color); /* Background for the unfilled portion */
    /*border-radius: 5px;*/ /* Optional: rounded corners */
    overflow: hidden; /* Ensures gradient doesn't overflow */
    /*border-right: 3px solid var(--next-benchmark-color);*/
    /*border: 1px solid var(--progress-color);*/
    /*background: linear-gradient(to right, var(--progress-color), var(--next-benchmark-color));*/

}

    .progress-bar::before {
        content: '';
        position: absolute;
        height: 100%; /* Full height */
        width: var(--progress); /* Dynamic width based on progress */
        /*background: linear-gradient(to right, var(--progress-color), var(--progress-color) );*/
        border-right: rgb(0, 0, 0, 0.50) 1px dashed;
        border-radius: 1px;
        /*background: linear-gradient(to right var(--progress-color) calc(var(--progress) * 1%), var(--default-background) );*/
        transition: width 0.3s ease-in-out; /* Smooth animation */
    }

    .progress-bar span {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: left;
        vertical-align:bottom;
        padding-left:2px;
        /*text-shadow: -1px -1px 0 #929292,*/ /* Top-left */
        /*1px -1px 0 #929292,*/ /* Top-right */
        /*-1px 1px 0 #929292,*/ /* Bottom-left */
        /*1px 1px 0 #929292;*/ /* Bottom-right */

        z-index: 1; /* Ensure text is above the gradient */
    }


iframe.sksiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.cross-background {
    background-image: linear-gradient(135deg, rgba(255,255,255,0) 53%, rgba(0,0,0,.25) 54%, rgba(255,255,255,0) 55%), linear-gradient(45deg, rgba(255,255,255,0) 53%, rgba(0,0,0,.25) 54%, rgba(255,255,255,0) 55%);
}

.mtss-cp {
    cursor: pointer;
}

    

.mtss-fs08 {
    font-size: 0.8em;
}


.mtss-fs06 {
    font-size: 0.6em;
}

.mtss-pre {
    white-space:pre-wrap;

}

.mtss-nowrap {
    white-space: nowrap;
}

.unselectable {
    user-select: none; /* Modern browsers */
    -webkit-user-select: none; /* Chrome, Safari, Edge */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer */
}


/**/
/* Container and base styles */
/* Container and base styles */
.form-floating {
    position: relative;
    width: 100%;
}

.custom-select-container {
    position: relative;
    display: inline-block;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    /*padding: 0.375rem;*/
    background-color: #fff;
    padding-bottom:2px;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    outline: none;
}

.selected {
    display: block;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    color: #495057;
}

.options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    z-index: 1000;
}

    .options .option {
        padding: 0.375rem 0.75rem;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .options .option:hover {
            background-color: #e9ecef;
        }

/* Show options when the custom-select is focused */
.custom-select:focus-within .options {
    display: block;
}


/* Floating label styles */
.floating-label {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: all 0.2s;
    background: #fff;
    padding: 0 0.25rem;
    pointer-events: none;
}

.custom-select:focus-within + .floating-label,
.custom-select-container input:checked ~ .floating-label {
    top: -0.75rem;
    left: 0.5rem;
    font-size: 0.75rem;
    color: #495057;
}





/**/
.no-arrow::after {
    display: none !important;
}


.triangle-cell {
    position: relative;
    z-index:0;
}

    .triangle-cell:before {
        content: '';
        position: absolute;
        top: 0px; /* Move the triangle up to be aligned with the top border */
        left: 0px; /* Move the triangle left to be aligned with the left border */
        width: 0; /* No width */
        height: 0; /* No height */
        border-right: 8px solid transparent; /* Right side of the triangle */
        border-top: 8px solid var(--triangle-cell-color); /* Bottom side of the triangle */
        overflow: visible; /* Ensures the triangle remains visible outside the td */
        z-index: -1;
    }




/**/

.custom-date-picker {
    position: relative;
    display: inline-block;
}

.calendar-popup {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
    padding: 10px;
}

.calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

    .days-grid button {
        width: 30px;
        height: 30px;
    }


.dimmed-div {
   
    opacity: 0.5;

}


.custom-badge {
    background-color: var(--custom-badge-color); /* Bottom side of the triangle */
}


.line-with-text {
    position: relative;
    text-align: center;
    margin: 0.5rem 0;
    height: 24px;
}

    .line-with-text hr {
        border: none;
        border-top: 1.5px dotted #000;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        z-index: 1;
    }

    .line-with-text .line-label {
        position: relative;
        display: inline-block;
        background: #fff;
        padding: 0 0.5em;
        color: rgba(0,0,0,.25);
        font-size: 0.85rem;
        z-index: 2;
        top: 2px;
    }



    .line-with-text:hover hr {
        border: none;
        border-top: 1.5px solid #000;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        z-index: 1;
    }

    .line-with-text:hover .line-label {
        position: relative;
        display: inline-block;
        background: #fff;
        padding: 0 0.5em;
        color: rgba(0,0,0,100);
        font-size: 0.85rem;
        z-index: 2;
        top: 2px;
    }


.line-through-overlay {
    position: absolute;
    top: 40%; /* Center the line vertically */
    left: -30%;
    width: 150%; /* Extend the line beyond the icon's width */
    height: 1px; /* Thickness of the line */
    background-color: currentColor; /* Match the color of the icon */
    transform: translateY(-50%) rotate(45deg); /* Center and rotate the line */
    transform-origin: center; /* Rotate around the center */
    pointer-events: none; /* Ensure the line doesn't interfere with clicks */
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100px; /* Adjust as needed */

}

.mtss-dark-shadow {
    color: #fff !important;
    text-shadow: 1px 1px 1px rgba(0,0,0, 0.75), -1px -1px 1px rgba(0,0,0, 0.75), 1px -1px 1px rgba(0,0,0, 0.75), -1px 1px 1px rgba(0,0,0, 0.75);
}

/* --------------------------------------------------------------------------------------------------------------------------------------------- */

.two-column-container {
    display: flex;
    width: 100%; /* Full width */
    border: 2px solid blue; /* Optional: For debugging */
    overflow: hidden; /* Prevent content overflow */
    margin-bottom:0;
    padding-bottom:2px;
}

.column {
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px;
    box-sizing: border-box;
}

.column-left {
    flex: 1; /* Takes 1/3 of the width */
    border: 1px solid red;

}

.column-right {
    flex: 2; /* Takes 2/3 of the width */
    border: 1px solid red;
}

.mtss-visible-on-print-only {
    display:none;
    visibility:hidden;
}

.mtss-border-end-solid {
    border-right: 2px solid var(--bs-danger) !important;
    position: relative; /* Required for positioning the tooltip */
    overflow: visible; /* Ensure the tooltip is not clipped */
}

.mtss-hidden-assessments {
   
    position: absolute;
    top: -16px; /* Adjusted to ensure it appears above the border */
    right: -1px; /* Align with the border */
    background-color: var(--bs-danger);
    color: #fff;
    padding: 0 4px 0 3px;
    font-size: 0.6em;
    text-align: center;
    border: 1px solid var(--bs-danger);
    /*border-radius: 4px;*/ /* Corrected border radius */
    border-radius:3px 3px 0px 3px;
    font-weight: normal;
    white-space: nowrap;
    transition: opacity 0.3s ease-in-out;
    z-index: 100000; /* Ensure it appears above other elements */
}

.mtss-middle-line::before {
    content: "\2015"; /* Unicode for em dash */
}

.loading-progress-overlay {
    position: fixed; /* Ensures it covers the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* Semi-transparent gray background */
    z-index: 5000; /* Ensure it appears above other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-progress {
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.7); /* Optional: Add a semi-transparent background */
    color: white; /* Optional: Set text color */
    text-align: center; /* Center the text horizontally */
    padding: 10px; /* Add some padding for better appearance */
    border-radius: 5px; /* Optional: Add rounded corners */
}

.score-input::placeholder {
    color: var(--bs-primary);
    font-weight:100;
    opacity:0.25;
}

.hover-text-opacity-100:hover {
    opacity: 1 !important;
}