:root {
    /* dark shades of primary color*/
    --clr-primary-1: hsl(0, 92%, 5%);
    --clr-primary-2: hsl(0, 95%, 15%);
    --clr-primary-3: hsl(0, 95%, 25%);
    --clr-primary-4: hsl(0, 94%, 35%);
    /* primary/main color */
    --clr-primary-5: hsl(0, 95%, 62%);
    /* lighter shades of primary color */
    --clr-primary-6: hsl(0, 95%, 55%);
    --clr-primary-7: hsl(0, 94%, 65%);
    --clr-primary-8: hsl(0, 95%, 75%);
    --clr-primary-9: hsl(0, 95%, 85%);
    --clr-primary-10: hsl(0, 92%, 95%);
    /* darkest grey - used for headings */
    --clr-grey-1: hsl(209, 61%, 16%);
    --clr-grey-2: hsl(211, 39%, 23%);
    --clr-grey-3: hsl(209, 34%, 30%);
    --clr-grey-4: hsl(209, 28%, 39%);
    /* grey used for paragraphs */
    --clr-grey-5: hsl(210, 22%, 49%);
    --clr-grey-6: hsl(209, 23%, 60%);
    --clr-grey-7: hsl(211, 27%, 70%);
    --clr-grey-8: hsl(210, 31%, 80%);
    --clr-grey-9: hsl(212, 33%, 89%);
    --clr-grey-10: hsl(210, 36%, 96%);
    --clr-white: #fff;
    --clr-link: #006bb7;
    --clr-success: #0b6a0b;
    --clr-warning: #ca5010;
    --clr-danger: #d13438;
    --ff-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s linear;
    --spacing: 0.25rem;
    --radius: 0.5rem;
    --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --btn-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--clr-primary-8);
    --app-bar-height: 56px;
    --footer-height: 56px;
    --page-padding-top: 1.1rem;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--ff-primary);
}

img:not(.nav-logo) {
    width: 100%;
    display: block;
}

.content {
    padding-top: var(--page-padding-top);
}

.content-stretch
{
    min-height: calc(100vh - (var(--page-padding-top) + var(--app-bar-height) + var(--footer-height)));
}

.sidebar {
    width: 300px;
    min-width: 300px;
    scroll-behavior: smooth;
}

.navbar-toggler {
    display: inline-block;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    margin-left: 24px;
    background: url('../images/logo.png') center/cover no-repeat;
    /* background-color: var(--clr-primary-5); */
    /*        transform: scale(0.75);*/
    /*        transform-origin: left;*/
    /*        color: #ffffff;*/
}

/* Sidebar styles */
.e-sidebar .e-icons {
    /* width: 25px; */
    font-size: 25px;
}

.e-sidebar:hover .e-open {
    display: inline-block;
}

.e-sidebar:hover .e-close {
    display: none;
}

.e-sidebar.e-dock.e-open span.e-text {
    display: inline-block;
}

.e-sidebar.e-dock.e-close span.e-text {
    display: none;
}

.e-sidebar.e-dock.e-close .navbar-toggler, .e-sidebar.e-dock.e-close .nav-item {
    margin-left: 14px;
}

.e-sidebar.e-dock.e-close .nav-link {
    padding: 0.25rem .25rem;
}

.e-sidebar.e-dock.e-open .nav-item {
    padding-left: 1rem;
    padding-right: 1rem;
}

.e-sidebar.e-dock.e-close .nav-item {
    width: 36px;
}

.e-sidebar.e-dock.e-close .separator {
    opacity: 0.14;
    width: 45px;
    margin: 1rem;
    margin-top: 0px;
    margin-left: 0.5rem;
}

.bootstrap5 .e-sidebar.e-dock.e-close .separator,
.fluent .e-sidebar.e-dock.e-close .separator {
    border: 1px solid #000000;
}

.bootstrap5-dark .e-sidebar.e-dock.e-close .separator,
.fluent-dark .e-sidebar.e-dock.e-close .separator {
    border: 1px solid #FFFFFF;
}

.e-grid td span.e-success {
    color: var(--clr-success) !important;
}
.e-grid td span.e-danger {
    color: var(--clr-danger) !important;
}

.e-sidebar ul {
    padding: 0px;
}


.e-sidebar span.e-icons {
    /*        color: #c0c2c5;*/
    line-height: 2
}

.e-open .e-icons {
    margin-right: 16px;
}

.e-open .e-text {
    overflow: hidden;
    font-size: 15px;
}

.e-sidebar {
    /*        background: #2d323e;*/
    overflow: hidden;
}

/* end of sidebar styles */

.topnav {
height: 3.5rem;
/*    background-color: rgba(0,0,0,0.4);*/
}
.navbar{
    justify-content: flex-start;
    gap: 0.6rem;
}

.navbar-dark .navbar-toggler {
    color: transparent;
    border-color: transparent;
}

.navbar-brand {
    font-size: 2rem;
    margin-right: 24px;
    color: var(--clr-primary-4);
}

.navbar-brand:hover {
    color: var(--clr-primary-4);
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: block;
    }

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}




/*.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}*/

.bootstrap5 .sidebar,
.fluent .sidebar {
    background-color: #fff;
}

.svg-container {
    width: 48px; /* Width of parent div */
    height: 48px; /* Height of parent div */
}

.svg-container.preview {
    width: 60px; /* Width of parent div */
    height: 60px; /* Height of parent div */
}

.svg-wrapper svg {
    width: 100%;
    height: 100%;
}

.c-flex-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5rem;
}

.c-flex-grid.no-gap {
    gap: 0;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.app-footer {
        height: 56px; /* Adjust this value based on footer height */
        background-color: #f7f7f7;
        border-top: 1px solid #d6d5d5;
        justify-content: flex-end;
        /*        height: 3.5rem;*/
        display: flex;
        align-items: center;
        gap: 0 10px;
    }


    @media (max-width: 640.98px) {
        .app-footer, .dialog-footer {
            justify-content: space-between;
        }
    }

    @media (min-width: 641px) {
        .app-footer, .dialog-footer {
            position: sticky;
            bottom: 0;
            z-index: 1;
            margin-left: -2rem !important;
            margin-right: -1.5rem !important;
        }
    }

.form-label {
    opacity: 0.65;
    font-size: 0.80rem;
    /* transform: scale(.85); */
}

/* Circle Color Display */
.circle-color-display {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    margin: 0 auto;
}

/* Circle Color Input Container */
.input-color-container {
    position: relative;
    margin-left: -0.8rem;
}

/* Circle Color Input */
input[type="color" i] {
    border-radius: 50%;
    inline-size: 30px;
    block-size: 30px;
    
    /* Can set padding between outer circle and color swatch for Firefox here;
    * it doesn't support a color-swarch-wrapper pseudoclass
    */
    padding: 3px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(153, 153, 153);

    /* Position in parent (Vertical Center) */
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

}

/* Affects area between outer circle and color swatch. Firefox doesn't have an equivalent. */
input[type="color" i]::-webkit-color-swatch-wrapper {
    padding: 1px;
}

/* Affects the inner circle, i.e. the current color selection */
input[type="color" i]::-webkit-color-swatch {
    border-radius: 50%;
}

input[type="color" i]::-moz-color-swatch {
    border-radius: 50%;
}

.e-control svg {
    fill: currentColor;
}

/* Monanco Editor */
.monaco-editor-container {
    height: 500px;
    border: 1px solid gray;
}

.decorationGlyphMarginClass {
    background: red;
}

.decorationContentClass {
    background: lightblue;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 600;
    padding-right: 0;
}

.placeholder-text.float-text,
.placeholder-text.float-text {
    transform: translate3d(0, -7px, 0) scale(1);
}

.placeholder-text.e-icon-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: -10px;
}

td .placeholder-text.e-icon-btn 
{
    margin-top: -30px;
}

.bootstrap5 .placeholder-text,
.fluent .placeholder-text {
    color: #3b3a39;
}


.bootstrap5-dark .placeholder-text,
.fluent-dark .placeholder-text {
    color: #c8c6c4;
}

.color-picker-container {
    width: 100%; /* Ensure the color picker container takes up the full width of its parent column */
    display: flex; /* Use flexbox for alignment */
    justify-content: flex-end; /* Align the content to the right */
    align-items: flex-end; /* Align the content to the bottom */
}

.content-status {
    position: relative;
    height: 20px;
    border-radius: 5px;
    text-align: center;
}

.content-status.e-new-color {
    background-color: #ccffcc;
    width: 57px;;
}

.content-status.e-updated-color {
    background-color: #ffffcc;
    width: 80px;;
}

.content-status.e-unchanged-color {
    background-color: #ccffff;
    width: 95px;;
}

td.e-rowcell .content-status-txt.e-new-color {
    color: #007d00;
}

td.e-rowcell .content-status-txt.e-updated-color {
    color: #7d7d00;
}

td.e-rowcell .content-status-txt.e-unchanged-color {
    color: #00007d;
}

td.e-rowcell span.e-icons.icon-container {
    display: inline-block;
    width: 20px;
    height: 20px;
}