﻿
/* Configure print styles */
@media print {

    .btn, .k-editor tbody tr:nth-child(1) {
        display: none;
    }

    table.k-editor {
        height: auto;
        width: 100%;
    }

    .container {
        width: auto;
        min-width: 1000px;
    }

    #navbarcollapse1 {
        display: none !important;
    }
}

body {
}

/* Set padding to keep content from hitting the edges */
.body-content {
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/* Re-apply Bootstrap form-control class properties, with !important to override Kendo blocking this */
.form-control {
    width: 100% !important;
}

/* Animation for bootstrap glyphicons */
.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

.glyphicon-refresh.spinning {
    transform-origin: 4% 50%;
}

/* Allow modal dialogs to have scollable content area */
.modal-dialog {
    overflow-y: initial !important;
}

.modal-body {
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

/* LabelExtensionIcon allows glyphicons with mouseover metadata (property description / information) to be appended to col-form-labels using rapid-idm.js functions */
.LabelExtensionIcon {
    margin-left: 5px;
}

/* Service control widget; play/pause/stop buttons in nav bar */
.ServiceControlWidget {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 2px 10px 2px 10px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);    
}

    .ServiceControlWidget button {
        background-color: transparent;
        padding: 0;
    }

        .ServiceControlWidget button img {
            width: 30px;
        }

/* Logo in navbar   */
.navbar-brand {
    height: 100%;
    display: block;
    width: 50px;
    height: 40px;
    margin-right: 10px;
    margin-top: 5px;
    background-image: url('../Images/logoicon.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/*  Logo on home page */
.MainLogo {
    float: right;
    margin-top: -21px;
    height: 170px; 
    width: auto;
}

/* Details (child) table in Desired State (Task) List */
.DesiredStateDetailTable tbody td {
    white-space: pre-wrap;
    vertical-align: top !important;
}

.DesiredStateDetailTable .bi {
    padding: 4px;
    cursor: pointer;
}

.DesiredStateDetailTable.k-grid {
    margin-bottom: 10px;
}

/*  Custom Kendo UI settings */
.k-pager-wrap .k-pager-sizes .k-dropdown {
    width: auto;
}

/* Custom Bootstrap Accordion styling */
/*#accordion .card-header { padding: 0;}*/
.card-header > a {
    display: block;
    /*padding: 0.4em 0.6em;*/
    outline: none;
    text-decoration: none;
    color: black;
}

.card {

    border-color: #dddddd !important;
    background-color: white !important;
    
}

/* Custom Kendo grid header styling */
.k-grid-header-form-padding {
    padding-top: 15px;
}

/* Fix checkbox alignment in bootstrap forms generated by razor */
.checkbox > input[type=checkbox] {
    margin-left: 0;
    position: relative;
}

/* Callout styles ripped from the Bootstrap 3 documentation (!) pages */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

/*CSS for Complex Filters*/
.panel-default-complex-group {
    border-style: none;
    border-width: 1px;
    border-left: solid;
    border-left-color: #ddd;
    border-bottom: solid;
    border-bottom-color: #ddd;
    z-index: 0;
    width: 15px;
    position: absolute;
    margin: 10px;
    vertical-align: middle;
}

.panel-default-complex-filter {
    border-style: none;
    border-width: thin;
    border-left: solid;
    border-left-color: #ddd;
    border-bottom: solid;
    border-bottom-color: #ddd;
    z-index: 0;
    height: 10px;
    width: 15px;
    position: absolute;
    margin: 10px;
}

.panel-default-complex-line {
    border-style: none;
    border-width: thin;
    border-left: solid;
    border-left-color: #ddd;
    z-index: 1;
    width: 15px;
    position: absolute;
    margin: 22px;
    margin-top: 38px;
}

.complex-filter-group {
    margin-left: 25px;
    padding-left: 15px;
    padding-right: 10px;
    border-color: #ddd;
}

/*CSS for tags*/
.w3-tag {
    display: inline-block;
    padding-left: 8px;
    padding-right: 4px;
    padding-top: 3px;
    padding-bottom: 5px !important;
    text-align: center;
    font-size: 12px;
    position: absolute;
    z-index: 2;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    color: #737374;
    background-color: #e6e6e6; /*#5B9BD5*/
    font-weight: normal !important;
}

.w3-tagx {
    color: #737374;
    background-color: #e6e6e6;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 3px;
    padding-bottom: 5px;
    text-align: right !important;
    font-size: 12px;
    position: relative;
    float: inline-end;
    z-index: 1;
    margin-left: 1.5px;
    font-weight: normal !important;
}

.w3-add-tag {
    display: inline-block;
    padding-top: 3px;
    padding-bottom: 5px;
    text-align: center !important;
    font-size: 12px;
    z-index: 1;
    padding-left: 8px;
    padding-right: 8px;
    vertical-align: bottom;
    color: #737374;
    background-color: #e6e6e6;   
    margin-bottom: 3px;
    font-weight: normal !important;
}

.tag-color-display {
    display: inline-block;
    text-align: center !important;
    z-index: 1;
    vertical-align: top;
    color: #737374;
    background-color: #e6e6e6;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    border: 0.25px solid #cccccc;
}

.w3-add-textbox {
    background-color: white;
    color: black;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    font-size: 12px;
    padding-left: 4px;
    z-index: 1;
    border: 1px;
    height: inherit;
    width: 120px;
    vertical-align: bottom;
    display: none;
    position: relative;
    margin-bottom: 3px;
    
}

.w3-add-tag:hover, .w3-tagx:hover {
    opacity: 0.5;
    cursor: pointer;
}

#AddTagTextboxautocomplete-list {
    margin-top: -3px;
}
.w3-add-textbox:focus {
    border: 1px solid #63B3F2;
    outline-style: none;
    border-radius: 2px;
    box-shadow: 0 0 5px #63B3F2;
}

.w3-round-small {
    border-radius: 2px
}

.w3-round, .w3-round-medium {
    border-radius: 4px
}

.w3-round-large {
    border-radius: 8px
}

.w3-round-xlarge {
    border-radius: 16px
}

.w3-round-xxlarge {
    border-radius: 32px
}

/*Styling for Dropdown Menu on Kendogrid row click*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
	padding: 3px;
    background-color: whitesmoke;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

    .dropdown-content a {
        color: black;
        padding: 8px 8px 8px 15px;
        text-decoration: none;
        display: block;
        font-size: 12.5px;
        border-bottom: 0.25px dotted #cccccc;
    }

        .dropdown-content a:hover, .dropdown a:hover {
            background-color: #ddd;
        }

/*Styling for Include Tag and Does Not Include Tag dropzone*/
#include-tag, #does-not-include-tag {
    width: 75%;
    height: 50px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    overflow-y: auto;
    overflow-x: revert-layer;
    color: #cccccc;
    font-size: 12px;
    position: relative;
    margin-left: 15px;
    margin-right: 15px;
}

#no-tags-description, #no-tag-categories-description {
    color: #cccccc;
    font-size: 12px;
    position: relative;
}

/*Styling for Tag AutoComplete*/
/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    font-size: 12px;
}

    .autocomplete-items div {
        padding: 5px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: #5B9BD5 !important;
    color: #ffffff !important;
}

/*
*Styling for multiselect dropdown
*
*/
.multi-select {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    position: relative;
    width: 100%;
    user-select: none;
}

    .multi-select .multi-select-header {
        border: 1px solid #cccccc;
        box-shadow: inset 0.5px 1px 1px #eeeeee;
        padding: 4px 30px 4px 12px;
        overflow: hidden;
        gap: 7px;
        min-height: 34px;
    }

        .multi-select .multi-select-header::after {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
            height: 10px;
            width: 10px;
        }

        .multi-select .multi-select-header.multi-select-header-active {
            border-color: #66afe9;
            box-shadow: 0px 0px 10px 0.5px lightblue;
        }

            .multi-select .multi-select-header.multi-select-header-active::after {
                transform: translateY(-50%) rotate(180deg);
            }

            .multi-select .multi-select-header.multi-select-header-active + .multi-select-options {
                display: flex;
            }

        .multi-select .multi-select-header .multi-select-header-placeholder {
            color: #b2b5b9;
            font-size: 14px;
        }

        .multi-select .multi-select-header .multi-select-header-option {
            display: inline-flex;
            align-items: center;
            background-color: #f3f4f7;
            font-size: 13px;
            padding: 3px 8px;
            border-radius: 5px;
        }

        .multi-select .multi-select-header .multi-select-header-max {
            font-size: 13px;
            color: #65727e;
        }

    .multi-select .multi-select-options {
        display: none;
        box-sizing: border-box;
        flex-flow: wrap;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        margin-top: 2px;
        padding: 5px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        .multi-select .multi-select-options::-webkit-scrollbar {
            width: 5px;
        }

        .multi-select .multi-select-options::-webkit-scrollbar-track {
            background: #f0f1f3;
        }

        .multi-select .multi-select-options::-webkit-scrollbar-thumb {
            background: #cdcfd1;
        }

            .multi-select .multi-select-options::-webkit-scrollbar-thumb:hover {
                background: #b2b6b9;
            }

        .multi-select .multi-select-options .multi-select-option, .multi-select .multi-select-options .multi-select-all {
            padding: 4px 12px;
            height: 42px;
        }

            .multi-select .multi-select-options .multi-select-option .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all .multi-select-option-radio {
                margin-right: 14px;
                height: 16px;
                width: 16px;
                border: 1px solid #ced4da;
                border-radius: 4px;
            }

            .multi-select .multi-select-options .multi-select-option .multi-select-option-text, .multi-select .multi-select-options .multi-select-all .multi-select-option-text {
                box-sizing: border-box;
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                color: inherit;
                font-size: 14px;
                line-height: 20px;
            }

            .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio {
                border-color: #5b9bd5;
                background-color: #5b9bd5;
            }

                .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after {
                    content: "";
                    display: block;
                    width: 5px;
                    height: 10px;
                    margin: 0.1em 0 0 0.3em;
                    border: solid #fff;
                    border-width: 0 0.15em 0.15em 0;
                    transform: rotate(45deg);
                }

            .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text {
                color: #5b9bd5;
            }

            .multi-select .multi-select-options .multi-select-option:hover, .multi-select .multi-select-options .multi-select-option:active, .multi-select .multi-select-options .multi-select-all:hover, .multi-select .multi-select-options .multi-select-all:active {
                background-color: #f3f4f7;
            }

        .multi-select .multi-select-options .multi-select-all {
            border-bottom: 1px solid #f1f3f5;
            border-radius: 0;
        }

        .multi-select .multi-select-options .multi-select-search {
            padding: 7px 10px;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            margin: 10px 10px 5px 10px;
            width: 100%;
            outline: none;
            font-size: 14px;
            height: 34px;
        }

            .multi-select .multi-select-options .multi-select-search::placeholder {
                color: #b2b5b9;
            }

    .multi-select .multi-select-header, .multi-select .multi-select-option, .multi-select .multi-select-all {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: center;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 16px;
        color: #212529;
    }

/*Styling for toggle switch*/
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 17px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: -5px;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #34cb3e;
}

input:focus + .slider {
    box-shadow: 0 0 1px #34cb3e;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Styling for footer */
footer {
    position: fixed;
    bottom: 0;
    background-color: white;
    text-align: left;
    z-index: 3;
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
    display: block;
}

/* Styling for loader */
.loader {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid gray;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Filter Result Icons*/
.filter-result-false-icon {
    padding-left: 30px;
    background: url('../Images/FilterResultFalseIcon.jpg') no-repeat left;
    background-size: 25px;
}

.filter-result-true-icon {
    padding-left: 35px;
    background: url('../Images/FilterResultTrueIcon.png') no-repeat left;
    background-size: 30px;
}

.not-applicable-roles {
    background-color: lightgray !important;
    border-color: lightgray !important;
}
/******Override some properties after Telerik UI Upgrade to 2024 Q3*****/
/*.k-input-inner {  
    height: 34px
}

.k-input-solid:focus-within {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.input-group .k-input:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #cccccc;
    height: 34px
   
}

.k-input-inner[disabled],
.k-input-inner[readonly] {
    background-color: #eeeeee;
    opacity: 1;
    cursor: not-allowed;
}*/

.DatasourceExceptionSpecificationFieldValue .k-input:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
    border-right: 0;
}

/* Custom setting list items */
.CustomSettingListItemContainer {
}

.CustomSettingListItem {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    margin: -10px -10px -0px -10px;
    padding: 20px 10px 10px 10px;
}

    .CustomSettingListItem:hover {
        background-color:#EEEFEF;
    }

.CustomSettingListItemContainer .CustomSettingListItem:nth-child(even) {
}

.CustomSettingListItemRemoveButton {
    padding-bottom: 10px;
}

/*Styling for HTML/CSS Syntax*/
.identity1-tag {
    color: blue;
}

.identity1-attribute {
    color: red;
}

.identity1-value {
    color: purple;
    font-weight: bold;
}

.identity1-comment {
    color: gray;
    font-style: italic;
}

/* Red color for selectors */
.identity1-css-selector {
    color: #d73a49;
}
/* purple color for properties */
.identity1-css-property {
    color: #8080c0;
    font-weight: bold;
}
/* black color for values */
.identity1-css-value {
    color: black;
    font-weight: bold;
}
/* green color for comments */
.identity1-css-comment {
    color: #22863a;
    font-style: italic;
}

/*Styling for raw-code preview in notification branding and template*/
.rawcode-preview-toggle-button {
    background-color: #fafafa;
    border-color: #ebebeb;
    border-bottom: none
}

    .rawcode-preview-toggle-button:hover {
        background-color: #f2f2f2;
    }

#raw-code {
    border: 1px solid #ebebeb;
    height: 650px;
    outline: none;
    padding: 6px 12px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap; /*Ensure spaces and breaks are preserved */
}

    #raw-code:focus {
        border: 1px solid #ebebeb; /* Ensure border remains the same on focus */
    }

    /* Multi-line placeholder styling */
    #raw-code:empty::before {
        content: "Type here...";
        color: #aaa; /* Placeholder color */
        font-style: italic;
        white-space: pre-line; /* Allows line breaks */
    }

/**

    In Bootstrap 5, the .progress-bar-striped class still exists, 
    but the active class no longer animates the stripes. 
    The animation of the stripes has been removed in Bootstrap 5. 
    Hence, adding custom animation.
*/
.progress-bar-striped.active {
    animation: progress-bar-stripes 1s linear infinite;
}

/**loading overlay for when displaying loading panel*/
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
    z-index: 9998; /* Sit on top */
    display: none; /* Hidden by default */
    text-align: center;
}

.spinner-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

/* Kendo Time Picker does not autoscroll and gets clipped */
.k-time-container,
.k-popup.k-list-container {
    max-height: 40vh; 
    overflow-y: auto;
}

/*cutom navbar UI for bootstrap5**/
.nav-item.active  {
    background-color: #dddddd; 
   
}

.nav-item {
    padding: 3px 5px 3px 5px;
   
}
.navbar .dropdown .nav-link:hover {
    background-color: transparent !important;
}

/* Custom styling for modals*/
.bs-callout-success h5 {
    color: #5cb85c; /* Bootstrap "success" green*/
}

.bs-callout-info h5 {
    color: #5bc0de; /* Bootstrap "info" blue*/
}

.bs-callout-warning h5 {
    color: #f0ad4e; /* Bootstrap "warning" orange*/
}

#DetailsWindowContent {
    font-size: 14px;
}
.modal-header.top-aligned {
    align-items: flex-start;
}

/*Options button seen in last column of grids like Datasources*/
button.actions-options {
	border: 1px solid #cccccc;
	border-radius: 3px;
	padding-top: 2.5px;
	padding-bottom: 2.5px;
	width: 31px;
}

.unauthorized, .unauthorized-unresponsive {
	opacity: 0.3;
	text-decoration: line-through !important;
}

.unauthorized-unresponsive { /*this style prevents Title from appearing, so use only when that is not an issue*/
	pointer-events: none;
}

/* 1. Allow submenus to escape the parent dropdown */
.dropdown-menu {
    overflow: visible;
}

/* 2. Submenu wrapper */
.dropdown-submenu {
    position: relative;
}

    /* 3. Base submenu positioning (hidden by default) */
    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: .1rem;
        display: none; /* override Bootstrap default */
        min-width: 12rem;
        z-index: 1000;
    }

    /* 4. Show submenu on hover (must beat Bootstrap rules) */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
    }

.submenu-toggle {
    position: relative;
    padding-right: 2rem; /* space for arrow */
}

    .submenu-toggle::after {
        content: "▸";
        position: absolute;
        right: .75rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2em;
        color: #707071;
    }


/* 6. Prevent submenu from collapsing when moving mouse */
.dropdown-submenu > a {
    white-space: nowrap;
}

/* KEEP parent menu highlighted while hovering submenu */
.dropdown-submenu:hover > .submenu-toggle,
.dropdown-submenu:focus-within > .submenu-toggle {
    background-color: #dddddd;
}

.dropdown-menu {
    min-width: 14rem; 
}

/**Customizing font color for tabs*/
.k-tabstrip .k-tabstrip-item[aria-selected="false"] .k-link {
    color: #212529;
}

.k-tabstrip .k-tabstrip-item[aria-selected="true"] .k-link {
    color: #326efd;
    font-weight: 500;
    font-size: 0.97em;
}


/**Customizing password input inside tab*/
.password-group .k-textbox {
    border-right: 0; /* remove right border so it merges with span */
    border-radius: 0.25rem 0 0 0.25rem;
    border: 1px solid #ccc !important; /* override Kendo bold border */
    box-shadow: none !important;
}

.password-group .input-group-text {
    border-left: 1px solid #ccc;
    border-radius: 0 0.25rem 0.25rem 0;

}

.k-textbox[type="password"],
.k-textbox.k-input {
    width: 100% !important;
}

/* Allow TabStrip tabs to wrap to multiple rows */
#tabstrip .k-tabstrip-items {
    display: flex;
    flex-wrap: wrap;
}

    /* Optional: consistent tab width */
    #tabstrip .k-tabstrip-items > .k-item {
        white-space: nowrap;
    }

/**************Styling for datalist*************************/
datalist {
    position: absolute;
    background-color: white;
    border: 1px solid #767676;
    font-family: sans-serif;
    overflow-y: auto;
    max-height: 140px;
    z-index: 11;    
}

        datalist option {
            background-color: white;
            padding-top: 2px;
            padding-bottom: 2px;
            padding-left: 13px;
        }

    option:hover, .active {
        background-color: #1967d2;
        color: white
    }

/* Light mode avatar */
.user-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #dddddd; /* light gray */
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
}

    /* Icon */
    .user-avatar i {
        color: #212529; /* dark icon */
        font-size: 18px;
    }

    /* Hover */
    .user-avatar:hover {
        background-color: #dee2e6;
        border-color: #ced4da;
        transform: scale(1.08);
    }

        .user-avatar:hover i {
            color: #000000;
        }

/* Banner / header for user avatar */
.menu-banner {
    background-color: #495057; /* slightly darker than menu */
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid #868e96;
    font-size: 14px;
    font-weight: 500;
}

/* OFF state (default) */
#themeToggle {
    background-color: #ffd43b; /* yellow */
    border-color: #ffd43b;
}

    /* ON state */
    #themeToggle:checked {
        background-color: #0d6efd; /* blue */
        border-color: #0d6efd;
    }

/* Optional: smooth transition */
#themeToggle {
    transition: all 0.25s ease;
}

.sunIcon {
    color: #ffc107; /* main icon color */
    text-shadow: 0 0 2px #fff176, /* lighter inner glow */
    0 0 6px #fff59d, /* medium glow */
    0 0 12px #fff9c4, /* softer outer glow */
    0 0 18px #fffde7, /* very soft outer glow */
    0 0 24px #fffde7; /* lightest outer halo */
}