html, body {
    font-family: Roboto, HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

a {
    color: var(--mdc-theme-primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

app {
    position: relative;
    display: flex;
    /*flex-direction: column;*/
}

/** scroll bar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: white;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    /*background-image: linear-gradient(to bottom, rgba(17,17,17,1) 0%,rgba(76,76,76,1) 23%,rgba(76,76,76,1) 23%,rgba(71,71,71,1) 72%,rgba(17,17,17,1) 99%);*/
    background-color: var(--mdc-theme-primary);
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--mdc-theme-primary);
    }

/* material theme */
:root {
    /*--mdc-theme-primary: #6495ED;*/
    --mdc-theme-primary: #0091ea;
    /*Default one(purple theme) below*/
    /*--mdc-theme-primary: #5D2E8F;*/
    --mdc-theme-secondary: #fbaf41;
    /*--mdc-theme-on-primary: #495f90;
    --mdc-theme-on-secondary: #ffe172;*/
    --mdc-theme-text-primary: #ffffff;
    --mdc-theme-text-secondary: #333;
    --mdc-theme-text-on-primary: #001037;
    --mdc-theme-text-on-secondary: #c48003;
    /*--mdc-theme-surface: #263238; */
    --cr-theme-primary-background #e1f5fe;
}

/* Creative Friday traffic lights*/

:root {
    --cr-theme-traffic-red: #dd3832;
    --cr-theme-traffic-amber: #f1b243;
    --cr-theme-traffic-green: #77b956;
}

/* Layout related variables */
:root {
    --layout-topappbar-headerheight: 64px;
}

.mdc-icon-button .fa {
    font-size: 30px;
}


/*
-------------
    miscellaneous styles required from Bootstrap 5
-------------
*/


.float-right {
    float: right !important
}

.form-group {
    margin-bottom: 1rem;
}

.form-text {
    display: block;
    margin-top: .25rem
}

.e-edit-form-row {
    overflow-y: auto
}

.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 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%
}

.col-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%
}

.col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%
}

.col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%
}

.col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%
}

.col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%
}

.col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%
}

.col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%
}

.col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
}

.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    float: left
}

.col-xs-12 {
    width: 100%
}

.col-xs-11 {
    width: 91.66666667%
}

.col-xs-10 {
    width: 83.33333333%
}

.col-xs-9 {
    width: 75%
}

.col-xs-8 {
    width: 66.66666667%
}

.col-xs-7 {
    width: 58.33333333%
}

.col-xs-6 {
    width: 50%
}

.col-xs-5 {
    width: 41.66666667%
}

.col-xs-4 {
    width: 33.33333333%
}

.col-xs-3 {
    width: 25%
}

.col-xs-2 {
    width: 16.66666667%
}

.col-xs-1 {
    width: 8.33333333%
}

.col-xs-pull-12 {
    right: 100%
}

.col-xs-pull-11 {
    right: 91.66666667%
}

.col-xs-pull-10 {
    right: 83.33333333%
}

.col-xs-pull-9 {
    right: 75%
}

.col-xs-pull-8 {
    right: 66.66666667%
}

.col-xs-pull-7 {
    right: 58.33333333%
}

.col-xs-pull-6 {
    right: 50%
}

.col-xs-pull-5 {
    right: 41.66666667%
}

.col-xs-pull-4 {
    right: 33.33333333%
}

.col-xs-pull-3 {
    right: 25%
}

.col-xs-pull-2 {
    right: 16.66666667%
}

.col-xs-pull-1 {
    right: 8.33333333%
}

.col-xs-pull-0 {
    right: auto
}

.col-xs-push-12 {
    left: 100%
}

.col-xs-push-11 {
    left: 91.66666667%
}

.col-xs-push-10 {
    left: 83.33333333%
}

.col-xs-push-9 {
    left: 75%
}

.col-xs-push-8 {
    left: 66.66666667%
}

.col-xs-push-7 {
    left: 58.33333333%
}

.col-xs-push-6 {
    left: 50%
}

.col-xs-push-5 {
    left: 41.66666667%
}

.col-xs-push-4 {
    left: 33.33333333%
}

.col-xs-push-3 {
    left: 25%
}

.col-xs-push-2 {
    left: 16.66666667%
}

.col-xs-push-1 {
    left: 8.33333333%
}

.col-xs-push-0 {
    left: auto
}

.col-xs-offset-12 {
    margin-left: 100%
}

.col-xs-offset-11 {
    margin-left: 91.66666667%
}

.col-xs-offset-10 {
    margin-left: 83.33333333%
}

.col-xs-offset-9 {
    margin-left: 75%
}

.col-xs-offset-8 {
    margin-left: 66.66666667%
}

.col-xs-offset-7 {
    margin-left: 58.33333333%
}

.col-xs-offset-6 {
    margin-left: 50%
}

.col-xs-offset-5 {
    margin-left: 41.66666667%
}

.col-xs-offset-4 {
    margin-left: 33.33333333%
}

.col-xs-offset-3 {
    margin-left: 25%
}

.col-xs-offset-2 {
    margin-left: 16.66666667%
}

.col-xs-offset-1 {
    margin-left: 8.33333333%
}

.col-xs-offset-0 {
    margin-left: 0
}

@media (min-width:768px) {
    .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 {
        float: left
    }

    .col-sm-12 {
        width: 100%
    }

    .col-sm-11 {
        width: 91.66666667%
    }

    .col-sm-10 {
        width: 83.33333333%
    }

    .col-sm-9 {
        width: 75%
    }

    .col-sm-8 {
        width: 66.66666667%
    }

    .col-sm-7 {
        width: 58.33333333%
    }

    .col-sm-6 {
        width: 50%
    }

    .col-sm-5 {
        width: 41.66666667%
    }

    .col-sm-4 {
        width: 33.33333333%
    }

    .col-sm-3 {
        width: 25%
    }

    .col-sm-2 {
        width: 16.66666667%
    }

    .col-sm-1 {
        width: 8.33333333%
    }

    .col-sm-pull-12 {
        right: 100%
    }

    .col-sm-pull-11 {
        right: 91.66666667%
    }

    .col-sm-pull-10 {
        right: 83.33333333%
    }

    .col-sm-pull-9 {
        right: 75%
    }

    .col-sm-pull-8 {
        right: 66.66666667%
    }

    .col-sm-pull-7 {
        right: 58.33333333%
    }

    .col-sm-pull-6 {
        right: 50%
    }

    .col-sm-pull-5 {
        right: 41.66666667%
    }

    .col-sm-pull-4 {
        right: 33.33333333%
    }

    .col-sm-pull-3 {
        right: 25%
    }

    .col-sm-pull-2 {
        right: 16.66666667%
    }

    .col-sm-pull-1 {
        right: 8.33333333%
    }

    .col-sm-pull-0 {
        right: auto
    }

    .col-sm-push-12 {
        left: 100%
    }

    .col-sm-push-11 {
        left: 91.66666667%
    }

    .col-sm-push-10 {
        left: 83.33333333%
    }

    .col-sm-push-9 {
        left: 75%
    }

    .col-sm-push-8 {
        left: 66.66666667%
    }

    .col-sm-push-7 {
        left: 58.33333333%
    }

    .col-sm-push-6 {
        left: 50%
    }

    .col-sm-push-5 {
        left: 41.66666667%
    }

    .col-sm-push-4 {
        left: 33.33333333%
    }

    .col-sm-push-3 {
        left: 25%
    }

    .col-sm-push-2 {
        left: 16.66666667%
    }

    .col-sm-push-1 {
        left: 8.33333333%
    }

    .col-sm-push-0 {
        left: auto
    }

    .col-sm-offset-12 {
        margin-left: 100%
    }

    .col-sm-offset-11 {
        margin-left: 91.66666667%
    }

    .col-sm-offset-10 {
        margin-left: 83.33333333%
    }

    .col-sm-offset-9 {
        margin-left: 75%
    }

    .col-sm-offset-8 {
        margin-left: 66.66666667%
    }

    .col-sm-offset-7 {
        margin-left: 58.33333333%
    }

    .col-sm-offset-6 {
        margin-left: 50%
    }

    .col-sm-offset-5 {
        margin-left: 41.66666667%
    }

    .col-sm-offset-4 {
        margin-left: 33.33333333%
    }

    .col-sm-offset-3 {
        margin-left: 25%
    }

    .col-sm-offset-2 {
        margin-left: 16.66666667%
    }

    .col-sm-offset-1 {
        margin-left: 8.33333333%
    }

    .col-sm-offset-0 {
        margin-left: 0
    }
}

@media (min-width:992px) {
    .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 {
        float: left
    }

    .col-md-12 {
        width: 100%
    }

    .col-md-11 {
        width: 91.66666667%
    }

    .col-md-10 {
        width: 83.33333333%
    }

    .col-md-9 {
        width: 75%
    }

    .col-md-8 {
        width: 66.66666667%
    }

    .col-md-7 {
        width: 58.33333333%
    }

    .col-md-6 {
        width: 50%
    }

    .col-md-5 {
        width: 41.66666667%
    }

    .col-md-4 {
        width: 33.33333333%
    }

    .col-md-3 {
        width: 25%
    }

    .col-md-2 {
        width: 16.66666667%
    }

    .col-md-1 {
        width: 8.33333333%
    }

    .col-md-pull-12 {
        right: 100%
    }

    .col-md-pull-11 {
        right: 91.66666667%
    }

    .col-md-pull-10 {
        right: 83.33333333%
    }

    .col-md-pull-9 {
        right: 75%
    }

    .col-md-pull-8 {
        right: 66.66666667%
    }

    .col-md-pull-7 {
        right: 58.33333333%
    }

    .col-md-pull-6 {
        right: 50%
    }

    .col-md-pull-5 {
        right: 41.66666667%
    }

    .col-md-pull-4 {
        right: 33.33333333%
    }

    .col-md-pull-3 {
        right: 25%
    }

    .col-md-pull-2 {
        right: 16.66666667%
    }

    .col-md-pull-1 {
        right: 8.33333333%
    }

    .col-md-pull-0 {
        right: auto
    }

    .col-md-push-12 {
        left: 100%
    }

    .col-md-push-11 {
        left: 91.66666667%
    }

    .col-md-push-10 {
        left: 83.33333333%
    }

    .col-md-push-9 {
        left: 75%
    }

    .col-md-push-8 {
        left: 66.66666667%
    }

    .col-md-push-7 {
        left: 58.33333333%
    }

    .col-md-push-6 {
        left: 50%
    }

    .col-md-push-5 {
        left: 41.66666667%
    }

    .col-md-push-4 {
        left: 33.33333333%
    }

    .col-md-push-3 {
        left: 25%
    }

    .col-md-push-2 {
        left: 16.66666667%
    }

    .col-md-push-1 {
        left: 8.33333333%
    }

    .col-md-push-0 {
        left: auto
    }

    .col-md-offset-12 {
        margin-left: 100%
    }

    .col-md-offset-11 {
        margin-left: 91.66666667%
    }

    .col-md-offset-10 {
        margin-left: 83.33333333%
    }

    .col-md-offset-9 {
        margin-left: 75%
    }

    .col-md-offset-8 {
        margin-left: 66.66666667%
    }

    .col-md-offset-7 {
        margin-left: 58.33333333%
    }

    .col-md-offset-6 {
        margin-left: 50%
    }

    .col-md-offset-5 {
        margin-left: 41.66666667%
    }

    .col-md-offset-4 {
        margin-left: 33.33333333%
    }

    .col-md-offset-3 {
        margin-left: 25%
    }

    .col-md-offset-2 {
        margin-left: 16.66666667%
    }

    .col-md-offset-1 {
        margin-left: 8.33333333%
    }

    .col-md-offset-0 {
        margin-left: 0
    }
}

@media (min-width:1200px) {
    .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 {
        float: left
    }

    .col-lg-12 {
        width: 100%
    }

    .col-lg-11 {
        width: 91.66666667%
    }

    .col-lg-10 {
        width: 83.33333333%
    }

    .col-lg-9 {
        width: 75%
    }

    .col-lg-8 {
        width: 66.66666667%
    }

    .col-lg-7 {
        width: 58.33333333%
    }

    .col-lg-6 {
        width: 50%
    }

    .col-lg-5 {
        width: 41.66666667%
    }

    .col-lg-4 {
        width: 33.33333333%
    }

    .col-lg-3 {
        width: 25%
    }

    .col-lg-2 {
        width: 16.66666667%
    }

    .col-lg-1 {
        width: 8.33333333%
    }

    .col-lg-pull-12 {
        right: 100%
    }

    .col-lg-pull-11 {
        right: 91.66666667%
    }

    .col-lg-pull-10 {
        right: 83.33333333%
    }

    .col-lg-pull-9 {
        right: 75%
    }

    .col-lg-pull-8 {
        right: 66.66666667%
    }

    .col-lg-pull-7 {
        right: 58.33333333%
    }

    .col-lg-pull-6 {
        right: 50%
    }

    .col-lg-pull-5 {
        right: 41.66666667%
    }

    .col-lg-pull-4 {
        right: 33.33333333%
    }

    .col-lg-pull-3 {
        right: 25%
    }

    .col-lg-pull-2 {
        right: 16.66666667%
    }

    .col-lg-pull-1 {
        right: 8.33333333%
    }

    .col-lg-pull-0 {
        right: auto
    }

    .col-lg-push-12 {
        left: 100%
    }

    .col-lg-push-11 {
        left: 91.66666667%
    }

    .col-lg-push-10 {
        left: 83.33333333%
    }

    .col-lg-push-9 {
        left: 75%
    }

    .col-lg-push-8 {
        left: 66.66666667%
    }

    .col-lg-push-7 {
        left: 58.33333333%
    }

    .col-lg-push-6 {
        left: 50%
    }

    .col-lg-push-5 {
        left: 41.66666667%
    }

    .col-lg-push-4 {
        left: 33.33333333%
    }

    .col-lg-push-3 {
        left: 25%
    }

    .col-lg-push-2 {
        left: 16.66666667%
    }

    .col-lg-push-1 {
        left: 8.33333333%
    }

    .col-lg-push-0 {
        left: auto
    }

    .col-lg-offset-12 {
        margin-left: 100%
    }

    .col-lg-offset-11 {
        margin-left: 91.66666667%
    }

    .col-lg-offset-10 {
        margin-left: 83.33333333%
    }

    .col-lg-offset-9 {
        margin-left: 75%
    }

    .col-lg-offset-8 {
        margin-left: 66.66666667%
    }

    .col-lg-offset-7 {
        margin-left: 58.33333333%
    }

    .col-lg-offset-6 {
        margin-left: 50%
    }

    .col-lg-offset-5 {
        margin-left: 41.66666667%
    }

    .col-lg-offset-4 {
        margin-left: 33.33333333%
    }

    .col-lg-offset-3 {
        margin-left: 25%
    }

    .col-lg-offset-2 {
        margin-left: 16.66666667%
    }

    .col-lg-offset-1 {
        margin-left: 8.33333333%
    }

    .col-lg-offset-0 {
        margin-left: 0
    }
}

    /*
-------------
-------------
*/


/* Loading page */
/*Seetha Added Var logic - for reusability and minimize the changes*/
.triangle-container {
    left: calc(-50vw + 50%);
    position: fixed;
    right: calc(-50vw + 50%);
    top: 0;
    bottom: 0;
    /*z-index: -1;*/
    /*background-color: #5D2E8F;*/
    /*background-color: var(--mdc-theme-primary);*/
}

/* 15/12/2025 - Triangles background is no longer used, but retained here as a comment for future use. */
/*.triangles {
    background-image: url("../images/triangles.svg");
    background-size: cover;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    mix-blend-mode: hard-light;
    position: fixed;
    right: 0;
    top: 0;
    background-position: center center;
}*/

.header-background {
    z-index: -1;
    /*background-color: #5D2E8F;*/
    background-color: var(--mdc-theme-primary);
}

.header-background-image {
    background-image: url("../images/Header-Background.jpg");
    background-size: cover;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    mix-blend-mode: hard-light;
    position: absolute;
    right: 0;
    top: 0;
    background-position: center center;
    opacity: 30%;
    transform: scaleX(-1);
}

.fade-in-text {
    font-family: Arial;
    font-size: 60px;
    animation: fadeIn 5s;
    -webkit-animation: fadeIn 5s;
    -moz-animation: fadeIn 5s;
    -o-animation: fadeIn 5s;
    -ms-animation: fadeIn 5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.loading-container {
    position: relative;
    text-align: center;
    background-color: #fff;
    margin: 10% auto 0 auto;
    padding: 20px;
}

/* Login page */
.login-body {
    position: relative;
}

.logo {
    text-align: center;
}

    .logo h4 {
        margin: 20px auto;
    }

.loading-container, .mdc-card {
    border-radius: 0 !important;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

.login-container .mdc-card {
    padding: 40px 30px;
    width: 500px;
}

.login-container .mat-accordion {
    width: 500px;
}

.pagetop .login-container {
    display: block;
    max-width: 500px;
}

.additional-info {
    color: #636c72;
    background-color: rgba(0,0,0,.04);
    padding: 10px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .875rem;
}

.login-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
    margin: 5% auto 0;
}

.login-body {
    flex-direction: column;
    margin: 0 auto;
}

    .login-body .mat-accordion .mat-expansion-panel__header {
        flex-basis: 80%;
    }

    .login-body .mat-expansion-panel {
        background-color: #f4f4f4 !important;
    }

/* app bar */
.mdc-top-app-bar__row {
    background-color: #fff;
    color: #404040;
}

.mdc-top-app-bar__section .mdc-icon-button i {
    /*color: #5D2E8F;*/
    color: var(--mdc-theme-primary);
}

.logo-img {
    height: 42px;
}

.mdc-top-app-bar {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    color: white;
    z-index: 7 !important;
    position: sticky !important;
    top: 0;
}

.mdc-top-app-bar__title,
.mdc-top-app-bar__title a {
    color: white;
}


.sub-menu {
    visibility: hidden; /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.hidden-mdc-down {
    z-index: 100;
}

    .hidden-mdc-down nav a {
        color: #E00;
        display: block;
        padding: 0.5em 1em;
        text-decoration: none;
    }

        .hidden-mdc-down nav a:hover {
            color: #F55;
        }

    .hidden-mdc-down nav ul,
    .hidden-mdc-down nav ul li {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .hidden-mdc-down nav > ul {
        background: #EEE;
        text-align: center;
    }

        .hidden-mdc-down nav > ul > li {
            display: inline-block;
            border-left: solid 1px #aaa;
        }

            .hidden-mdc-down nav > ul > li:first-child {
                border-left: none;
            }

.sub-menu {
    background: #ddd;
}


/* page */
.pagetop {
    min-height: 350px;
    padding: 20px 30px;
}

.page-footer {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    color: #4d4d4d;
    padding: 9px 12px 9px 18px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.21);
    margin-top: 30px;
    font-size: 12px;
}

.flex-1 {
    flex: 1;
}

/* Drawer */
.mdc-nav-li {
    list-style: none;
}

.mini .mdc-drawer,
.mini .app-sidebar {
    width: 74px;
    transition: width .4s ease-in-out;
}

    .mini .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 74px;
        transition: margin-left .4s ease-in-out;
    }

.mini .drawer-profile {
    padding: 0 4px;
}

.mini .after.mdc-sub-menu-icon,
.mini .miniHover {
    transform: translateX(200%);
    animation: slide-out 1s forwards;
    transition: .4s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: fixed;
}

.mini .mdc-drawer:hover .after.mdc-sub-menu-icon,
.mini .mdc-drawer:hover .miniHover {
    transform: translateX(0%);
    animation: slide-in 1s forwards;
    transition: width .4s ease-in-out;
    visibility: visible;
    opacity: 1;
    position: relative;
}

.mini .mdc-drawer:hover .after.mdc-sub-menu-icon {
    position: absolute;
}

.mini .drawer-footer .mdc-button {
    min-width: 36px;
}

.mdc-drawer:hover,
.mdc-drawer:hover .app-sidebar,
.full .mdc-drawer,
.full .app-sidebar {
    width: 256px;
    transition: width .4s ease-in-out;
}

.closed .mdc-drawer,
.closed .app-sidebar {
    width: 0;
    transition: width .4s ease-in-out;
}

.mini .mdc-drawer:hover.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content,
.full .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
    margin-left: 256px;
    transition: margin-left .4s ease-in-out;
}

.closed .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
    margin-left: 0;
    transition: margin-left .4s ease-in-out;
}

.mdc-drawer__content {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: var(--mdc-theme-primary);
    color: #FFF;
}

.mdc-drawer .mdc-list-item {
    margin: 8px 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.mdc-drawere .mdc-list-item:active {
    box-shadow: inset 3px 0 0 #886ab5;
}

.mdc-drawer .mdc-list-item--disabled {
    color: #775e91 !important;
}

.mdc-drawer a.mdc-list-item {
    padding: 0 14px !important;
}

.mdc-drawer .mdc-list-item--selected {
    border-left: solid 3px rgba(255, 255, 255, .5);
}

    .mdc-drawer .mdc-list-item--selected::before {
        opacity: 0.3 !important;
    }

.mdc-expansion-panel--selected .mat-expansion-panel__summary {
    border-left: solid 3px rgba(255, 255, 255, .3);
}

    .mdc-expansion-panel--selected .mat-expansion-panel__summary::before {
        opacity: 0.2 !important;
    }

.mat-accordion .mdc-nav-menu .mat-expansion-panel.mat-expansion-panel--expanded {
    margin: 0;
}

.drawer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-color: #5D2E8F;*/
    background-color: white;
    height: 64px;
    color: #fff;
}

    .drawer-logo a {
        color: dodgerblue;
    }

.drawer-header {
}

.drawer-profile {
    padding: 16px;
    /*border-bottom: solid 1px #777;*/
    /* disabled on the side menu of username background img*/
    /*background-image: url("../images/profile-bg.jpg");*/
    background-size: cover;
    color: #fff;
    font-size: 12px;
}

    .drawer-profile a,
    .drawer-profile .material-icons {
        color: #fff;
        vertical-align: text-bottom;
    }

.app-sidebar .material-icons {
    margin-right: 8px;
    padding-left: 7px;
}

.app-sidebar .mat-expansion-panel__content .material-icons {
    padding-left: 2px;
    margin-left: -3px;
}

.app-sidebar .mdc-nav-li .material-icons {
    margin-right: 8px;
    padding-left: 0;
}

.mdc-drawer {
    /*margin-top: 64px;*/
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.16);
}

.mdc-drawer-app-content {
    background-color: #f5f5f5;
}

.mat-drawer-container-responsive {
    display: flex;
    flex-direction: row;
}

    .mat-drawer-container-responsive .mdc-drawer {
        width: unset !important;
        position: relative;
    }

        .mat-drawer-container-responsive .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
            margin-left: unset !important;
            position: relative;
            flex: 1;
        }

.mdc-top-app-bar--fixed-adjust {
    padding-top: 0 !important;
    overflow: hidden;
}

.drawer-footer {
    position: absolute;
    text-align: left;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: solid 1px #AAA;
    font-size: 12px;
    padding: 0 12px 0 12px;
    background-color: lightgray
}

/*  forms */
fieldset {
    border: none;
}

hr {
    clear: both;
}

/* breadcrumbs */
ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    background-color: #eee;
}

    /* Add a slash symbol (/) before/behind each list item */
    ul.breadcrumb li + li:before {
        padding: 8px;
        content: "›";
    }

    ul.breadcrumb li,
    ul.breadcrumb li a {
        text-transform: uppercase;
        text-shadow: none;
        font-size: 13px;
        text-decoration: none;
        display: inline;
    }

        ul.breadcrumb li a:hover {
            text-decoration: underline;
        }

.mdc-checkbox + label {
    margin-bottom: 0px !important;
}


/** Simple drag and drop with Blazor CSS **/

.jobs-container {
    display: flex;
    justify-content: space-around;
}

.job-status {
    display: flex;
    flex-direction: column;
    width: 312px;
}

    .job-status ul {
        flex: 1;
    }

.dropzone {
    padding: 30px;
    border: 1px dashed #75868a;
    list-style: none;
}

/* dialog */
.mdc-dialog__content {
    min-width: 300px;
}

.mdc-dialog__title + .mdc-dialog__content {
    padding: 20px 24px !important;
}

.mdc-dialog__title {
    color: #fff !important;
    background: var(--mdc-theme-primary);
}

.mdc-dialog__actions {
    border-top: 1px solid #e1e1e1 !important;
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.draggable {
    margin-bottom: 10px;
    padding: 10px 25px;
    border: 1px solid #424d5c;
    cursor: grab;
    background: #5c6b7f;
    color: #ffffff;
    border-radius: 5px;
    width: 250px;
}

    .draggable:active {
        cursor: grabbing;
    }

.dragging {
    cursor: grabbing;
}

.description {
    font-size: 18px;
}

.last-updated {
    margin-bottom: 0;
    font-size: 11px;
    color: #e1e5ea;
    font-weight: bold;
}

    .last-updated small {
        text-transform: uppercase;
        color: #c4cbd4;
        font-size: 11px;
    }

/* misc */
.contrib-card {
    padding: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .contrib-card img {
        height: 50px;
        width: 50px;
    }

.screenshot {
    text-align: center;
    display: block;
}

    .screenshot img {
        max-width: 100%;
    }

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui::before {
    margin: auto;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui {
    z-index: 9999;
    display: none;
    background: #fff;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 596.98px) {
    .drawer-logo {
        height: 56px;
    }

    .logo-img {
        height: 38px;
    }
}    

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

    .mdc-drawer, .app-sidebar {
        /*width: 54px !important; */
        width: 0px !important;
        transform: translateX(0%);
        transition: width .4s ease-in-out;
    }

    .drawer-profile {
        padding: 0 4px;
    }

    .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        /* margin-left: 54px !important; */
        margin-left: 0px !important;
        transition: margin-left .2s ease-in-out;
    }

    .mat-accordion .mdc-nav-menu .mat-expansion-panel__content {
        padding-left: 6px;
    }

    .full .mdc-drawer:hover .mat-accordion .mdc-nav-menu .mat-expansion-panel__content {
        padding-left: 13px;
    }

/*    .mdc-sub-menu-icon,  RikU Allow disclosure icon to show on mobile view */
    .drawer-profile span,
    .miniHover,
    .brand {
        visibility: hidden;
        opacity: 0;
        position: fixed;
    }

    .mdc-drawer:hover,
    .mdc-drawer:hover .app-sidebar,
    .full .mdc-drawer,
    .full .app-sidebar {
        width: 100% !important;
        z-index: 99;
    }

        .full .drawer-profile span,
        .full .miniHover,
        .full .brand,
        .mdc-drawer:hover .drawer-profile span,
        .mdc-drawer:hover .miniHover,
        .mdc-drawer:hover .brand {
            visibility: visible;
            opacity: 1;
            position: relative;
        }

    .full .mdc-top-app-bar__section--align-end {
        display: none;
        transition: .4s ease-in-out;
    }

    .full .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 256px !important;
        transition: margin-left .2s ease-in-out;
    }

    .closed .mdc-drawer,
    .closed .app-sidebar {
        width: 0 !important;
        transform: translateX(0%);
        transition: width .4s ease-in-out;
    }

        .closed .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
            margin-left: 0 !important;
            transition: margin-left .2s ease-in-out;
        }

    .drawer-footer {
        padding: 0;
    }

    .closed .mdc-drawer {
        transform: translateX(-100%);
        animation: slide-out 1s forwards;
        transition: .4s ease-in-out;
    }

    .login-container .mdc-card {
        padding: 20px;
        width: 300px;
    }

    .login-container .mat-accordion {
        width: 300px;
    }

    .loading-container {
        padding: 10px;
    }
}

    /* Medium devices (tablets, less than 992px) */
    @media (max-width: 991.98px) {
        /*seetha added for overriding dialog default position - not working yet to investigate*/
        .mdc-dialog, .mdc-dialog__surface {
            min-width: 60vw !important;
        }
    }

    /* Large devices (desktops, less than 1200px) */
    @media (max-width: 1199.98px) {
        /*seetha added for overriding dialog default position - not working yet to investigate*/
        /*.mdc-dialog, .mdc-dialog__surface, .trac-overlay-right-dialogue {
        min-width: 80vw !important;
    }*/
    }


    /* MatBlazor temp */
    .mat-toast-body {
        padding: 8px 5px;
    }

    .mat-toast-icon {
        padding-left: 5px;
    }

    .mat-toast-close-button .material-icons {
        color: white;
    }

    .mat-paginator {
        background: none;
    }

    /*Refresh Timer*/
    div.refresh-timer.row {
        margin-left: 0;
        margin-right: 0;
        -moz-align-content: center;
        -o-align-content: center;
        -webkit-align-content: center;
        align-content: center;
        -o-justify-content: center;
        -webkit-justify-content: center;
        justify-content: center;
    }

        div.refresh-timer.row div {
            -webkit-align-self: center;
            -o-align-self: center;
            align-self: center;
            margin-left: .2rem;
            margin-right: .2rem;
        }

    div.refresh-timer-interval-wrapper {
        width: 100px;
    }

    .mdc-table-allow td:first-child {
        width: 100%;
    }

    .mdc-table th {
        white-space: nowrap;
    }

    /*TODO https://github.com/SamProf/MatBlazor/issues/467*/
    .mdc-tab-scroller div {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .mat-tab-group {
        height: 100%;
        text-align: left;
    }

    .trac-stockenquiry-panel-middle {
        position: absolute;
        left: 2%;
        height: 100%;
        width: 53%;
        padding-top: 20px;
    }

    .trac-stockenquiry-panel-right {
        position: relative;
        left: 57%;
        width: 41%;
        padding-top: 20px;
        height: 100%;
    }
    /*.mdc-stockenquiry-panel-content:hover {
        overflow-y: scroll;
        margin: 0;
    }*/
    .trac-stockenquiry-panel-header {
        height: 20px;
    }

    .trac-stockenquiry-panel-content {
        overflow: auto;
        margin: 0;
        height: 100%;
    }

    .trac-overlay-right-dialogue {
        position: fixed;
        width: 40%;
        height: 95%;
        top: 10px;
        left: -30px;
        right: 0;
        bottom: 0;
        background-color: white;
        z-index: 2;
        cursor: pointer;
    }

    .card-header-text-left {
        text-align: left;
        font-size: 14px;
        font-weight: bold;
        color: #007BFF;
    }

    .card-header-text {
        text-align: center;
        font-size: 13px;
        font-weight: bold;
    }

    .card-subtitle-left {
        text-align: left;
        font-size: small;
        font-weight: bold;
        color: grey;
    }

    .card-subtitle {
        text-align: center;
        font-size: small;
        font-weight: bold;
        color: grey;
    }

    .card-subtitle1-left-italic {
        text-align: left;
        font-size: small;
        font-weight: bold;
        color: grey;
        font-style: italic;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-subtitle1-italic {
        text-align: center;
        font-size: small;
        font-weight: bold;
        color: grey;
        font-style: italic;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-subtitle1-left {
        text-align: left;
        font-size: x-small;
        white-space: normal;
        word-break: break-word;
    }

    .card-subtitle-right {
        text-align: right;
        font-size: x-small;
    }

    .card-qty {
        font-size: 20px;
    }

    .card-epcid {
        color: blue;
        font-size: 12px;
    }

/* Begin *********************************************/
/*--------------------*/
/*Syncfusion overrides*/
/*--------------------*/
/*****************************************************/


/*----------------------- SfGrid and SfTreeGrid -----------------------*/
/*SFgrid primary, 4T override*/
.e-lib.e-grid .e-headercelldiv {
    font-size: 14px;
    font-weight: 400;
    padding: 0 5px 0 5px;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.e-gridheader .e-columnheader .e-headercell, .e-gridheader .e-columnheader .e-detailheadercell {
    font-weight: 400;
    font-size: 14px;
    /* font-family: Verdana; */
    color: black;
    background-color: #B3E5FC;
    padding: 0 5px 0 5px;
}

/*SFgrid secondary, 4T override*/
.secondarygrid .e-gridheader .e-columnheader .e-headercell {
    background-color: #E1F5FE;
}

/*SFgrid column header cell, 4T override*/
.e-lib.e-grid.e-wrap .e-columnheader .e-headercelldiv {
    max-height: 100px;
}

.e-gridcontent {
    /*    font-family: Arial;*/
    font-size: 14px;
    vertical-align: top;
}

/*SFGrid, force group caption text to overflow the bounds of the (first) column it always appears in*/
.e-grid .e-groupcaption {
    overflow: visible;
}



/* Filter bar input and surround, change appearance */
.e-grid .e-filterbarcell {
    background-color: cornsilk !important;
}
.e-grid .e-filterdiv {
    background-color: cornsilk !important;
}

/* Search input and surround, change appearance */
.e-searchinput {
    background-color: cornsilk !important;
}
span:has(.e-searchinput) {
    background-color: cornsilk !important;
}

/*----------------------------------------------*/


/* Hide all spinner buttons on SfNumericTextBox controls */
.e-spin-up, .e-spin-down {
    display: none !important;
}


/*-----------------------*/
/* SfDialog and grid edit dialog*/
.e-dlg-header * {
    color: white;
    font-size: 20px;
}

.e-dialog.e-control.e-popup, .e-dialog.e-control.e-popup .e-dlg-header-content {
    background-color: var(--mdc-theme-primary);
    color: white;
}

.e-edit-dialog .e-popup.e-popup-open.e-dialog {
    position: absolute !important;
    right: 0px !important;
    left: auto !important;
    height: 100% !important;
    transition: 0.4s ease !important;

}

/* Position the dialog footer above the dialog content instead, re-style and position the buttons to the left */
.e-edit-dialog .e-footer-content {
    position: absolute;
    top: 67px;
    height: 45px;
    padding-bottom: 10px;
    text-align: left;
    border-bottom: 1px solid #969698 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.1),0 2px 6px rgba(0,0,0,.16);
}
.e-edit-dialog .e-dlg-header-content + .e-dlg-content {
    margin-top: 45px;
    padding-top: 10px;
}

/* Change the dialog's close button to a left arrow, positioned on the left */
.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
    float: left;
    margin-right: 10px;
}
.e-dialog .e-icon-dlg-close::before {
    content: "\e85b";
    font-size: 16px;
}

.e-dialog .e-btn .e-btn-icon.e-icon-dlg-close {
    top: 0px;
    left: 0px;
}

/* Move the input labels up a little bit, from the standard -9px */
.e-float-input input:valid ~ label.e-float-text, .e-float-input input ~ label.e-label-top.e-float-text {
    top: -11px !important;
}


/*-----------------------*/
/*-----------------------*/
/* SfCard*/
/* Size a card image to fit the container and maintain the aspect ratio*/
.e-card.maintain-image-aspect .e-card-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/*-----------------------*/


/*-----------------------*/
/* SfSpeedDial*/
/* Increase the size of the icons and background circles */
.e-speeddial-popup .e-speeddial-li-icon {
    font-size: 22px;
    height: 38px;
    width: 38px;
}
.e-speeddial-popup .e-speeddial-ul {
    padding: 10px 3px;
}
.e-speeddial-li {
    display: inherit;
    width: 100%;
    border: 1px solid transparent;
    align-items: center;
    padding: 5px;
    border-radius: 500px;
    background-color: #64B5F6;
    box-shadow: 0 0 4px grey;
}
/*-----------------------*/


/*-----------------------*/
/* SfSidebar
*/

/* Default width setting can be managed by Syncfusion SfSidebar attributes */

@media (max-width: 1024px) {
    .language-dropdown {
        display: none;
    }

    .header-title-text {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .e-sidebar {
        width: 100% !important;
    }

    .header-title-text {
        font-size: 0.9rem;
    }
}

/* Make a sidebar's modal overlay very high instead of simply 100% of its parent, to cater for the possibility that the content of the parent 
    has been scrolled down some distance (may be overridden by StandardSidebar if we create the overlay rather than SyncFusion). */
.e-sidebar-overlay {
    height: 3000px;
}
/*-----------------------*/


/* Slightly decrease a sticky appbar's z-index so that a sidebar overlay showing over the appbar's parent will also cover the appbar */
.e-appbar.e-sticky {
    z-index: 998;
}


/*-----------------------*/
/* End ***********************************************/
/*--------------------*/
/*Syncfusion overrides*/
/*--------------------*/
/*****************************************************/




.watermarkcontainer {
    position: relative;
}

.watermarkcontainer .watermarkcontent {
    position: absolute; /* Position the background text */
    width: 255px;
    height: 110px;
    top: 0;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    /*padding: 20px;*/ /* Some padding */
    border-radius: 10px;
    /*border: 1px thin var(--mdc-theme-primary);*/
}

.watermarkcontainer img {
    position: absolute;
    top: 0;
    opacity: 0.3;
}

.watermarkcontainer .watermarkcontentTerminator {
    position: absolute; /* Position the background text */
    width: 255px;
    height: 110px;
    top: 0;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    /*padding: 20px;*/ /* Some padding */
    border-radius: 50px;
    /*border: 1px thin var(--mdc-theme-primary);*/
}

.watermarkcontainer .watermarkcontentExitPoint {
    position: absolute; /* Position the background text */
    width: 255px;
    height: 115px;
    top: 0;
    padding-bottom: 45px;
    background-image: url("../images/PageConnector7.png");
    background-size: 100% 100%;
    border: none;
}

.watermarkImage {
    height: 40px;
    width: 40px;
    right: 20px;
    margin-top: 25px;
}


.partial-border {
    position: relative;
    /*display: inline-block;*/
}

.partial-border:before {
    content: '';
    border-bottom: 1px solid;
    position: absolute;
    width: 94%;
    left: 3%;
    bottom: 10px;
}


/*added this elements to make the grid's parent to fit to screen size*/
.flex-container {
    /*display: flex;*/
    height: 100%;
    width: 100%;
}

.chip-avatar-up {
    background-image: url("../images/uparrow.png");
    height: 25px;
}

.chip-avatar-down {
    background-image: url("../images/downarrow.png");
    height: 25px;
}

.eventDetailsBox {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /*box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;*/
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    width: 85%;
    margin-left: 10%;
}


.spinner {
    border: 8px solid #c7c5CD;
    border-radius: 50%;
    border-top: 8px solid var(--mdc-theme-primary);
    width: 30px;
    height: 30px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}
/* Safari */
@-webkit-keyframes spin {
    5% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    5% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Respect newlines in the accordian | expansion panel subheader*/
.mat-accordion .mat-expansion-panel__sub-header {
    white-space: pre-wrap;
    flex-basis: 70%;
}

/*Default material icons to align vertically with adjacent text*/
.material-icons {
    vertical-align: middle;
}

/* Global override of all scoll bars to prevent them being thin! */
html, body * {
    scrollbar-width: auto !important;
}

.align-centre-vertical {
    display: flex;
    align-items: center;
}


.wo-reprint {
    padding: 7px;
    font-size: 1.1em;
}

.language-dropdown { display: block; }

.header-title-text {
    font-size: 1.875rem;
}



/* Borrow Tailwind classes */
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem;}
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.ml-6 { margin-left: 1.5rem; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem;}
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-5 { margin-right: 1.25rem; }
.mr-6 { margin-right: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem;}
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem;}
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }



/*
******************************************
    MudBlazor overrides
******************************************
*/

/* Prevent MudContainer from having its width constrained to max 1280 */
@media (min-width: 1280px) {
    .mud-container-maxwidth-lg {
        max-width: none
    }
}


/*****************************************
    Image thumbnails & carousel behaviour
****************************************/

.thumbnail-small, .thumbnail-medium, .thumbnail-large .thumbnail-huge {
    border-width: 0px 0px 0px 0px;
    text-align: center;
    border-color: #e0e0e0;
    border-style: solid;
    margin: 5px;
}

.thumbnail-small img, .thumbnail-medium img, .thumbnail-large img .thumbnail-huge img,
.thumbnail-small i, .thumbnail-medium i, .thumbnail-large i, .thumbnail-huge i {
    box-shadow: inset 0 0 1px #e0e0e0, inset 0 0 14px rgba(0, 0, 0, 0.2);
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    text-align: center;
}

.thumbnail-small img {
    height: 30px;
    width: 30px;
    border-radius: 20px;
}

.thumbnail-medium img {
    width: 75px;
    height: 75px;
    border-radius: 37px;
}

.thumbnail-large img {
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

.thumbnail-huge img {
    height: 200px;
    width: 200px;
    border-radius: 75px;
}

.thumbnail-small i {
    width: 30px;
    height: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 22px;
}

.thumbnail-medium i {
    width: 75px;
    height: 75px;
    border-radius: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 56px;
}

.thumbnail-large i {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 74px;
}

.thumbnail-huge i {
    width: 200px;
    height: 200px;
    border-radius: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 92px;
}

.carousel-section {
    margin: 0 auto 2em;
    max-width: 210px;
    height: 210px;
    text-align: center;
}

.carousel img {
    border-radius: unset;
}
/****************************************/


/* Standard sidebar attributes*/
.sidebar-breakout {
    position: fixed;
}

.e-gridcontent > div:first-child {
    overflow: auto;
    scrollbar-gutter: stable;
}


/****************************************/
/* ControlPointGuidance */
/* #E5E7EB */
.ccpa-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.min-max-box {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.5rem;
    background-color: #f0f9ff;
    border-radius: 0.25rem;
}

@media (min-width: 1024px) {
    .ccpa-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1280px) {
    .ccpa-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 1536px) {
    .ccpa-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/**************************/
/*  FileComponent styles  */
/**************************/

.file-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1rem;
}

.file-item {
    border: 1px solid #ccc;
    padding: 0.5rem;
    flex: 0 0 auto;
    text-align: center;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-icon i {
    font-size: 2rem;
}

.file-name {
    margin-top: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: 600;
}

.file-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 4px;
}

    .file-actions .fa-solid {
        font-size: 1.1rem;
    }

.upload-bar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: flex-start;
}

.file-item-button {
    color: #666666 !important;
}

.pdf-red {
    color: #ff0000;
}

.word-blue {
    color: #28579a;
}

.excel-green {
    color: #217346;
}

.ppt-orange {
    color: #d35400;
}

.image-violet {
    color: #6c75cd;
}

.text-gray {
    color: #7f8c8d;
}

.file-gray {
    color: #495057;
}

.archive-gold {
    color: #f39c12;
}

.duplicate-warning {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.25rem;
    background-color: #fef2f2;
    border: 1px solid #ef4444;
}

    .duplicate-warning li {
        list-style-type: disc;
        margin-left: 1.5rem;
        font-style: italic;
    }


.attributes-modal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.25rem;
}

/*** End FileComponent ***/


/*** Conventions for command buttons in grids ***/

/* Button to open the detail page of what is in the grid */
.e-grid .e-unboundcelldiv .e-btn .command-open {
    color: var(--mdc-theme-primary);
}
.e-grid .e-unboundcelldiv .e-btn .command-open:hover {
    color: var(--mdc-theme-primary) !important;
}

/* Button to create something new from the grid */
.e-grid .command-new {
    color: var(--mdc-theme-primary);
}
.e-grid .command-new:hover {
    color: var(--mdc-theme-primary) !important;
}

/* All other command buttons */
.e-grid .e-unboundcelldiv .e-btn .e-icons {
    color: var(--mdc-theme-primary) !important;
}
.e-grid .e-unboundcelldiv .e-btn:hover .e-icons {
    color: var(--mdc-theme-primary) !important;
}


/*** End - Conventions for command buttons in grids ***/