html, body {
    background-color: #F3F2F1 !important;
    height: 100%;
    font-family: "Open Sans", sans-serif, Helvetica, Arial;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDU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My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}






/*MAIN LAYOUT*/

body, .mud-typography {
    font-family: "Open Sans", sans-serif, Helvetica, Arial !important;
}

.mud-grid-spacing-xs-3 {
    width: auto !important;
    /*margin: 0 auto !important;*/
}

.mud-drawer.mud-drawer-responsive.mud-drawer-pos-left.mud-drawer--open, .mud-drawer.mud-drawer-persistent.mud-drawer-pos-left.mud-drawer--open {
    top: 42px !important;
    height: calc(100% - 42px) !important;
    overflow: hidden;
}


.mud-button {
    font-family: "Open Sans", sans-serif, Helvetica, Arial !important;
    text-transform: capitalize !important;
}

    .mud-button.mud-button-filled {
        padding: 0.25rem 1.5rem !important;
        transition: 0.25s;
        border-radius: 0.9rem;
        font-weight: 600 !important;
    }

        .mud-button.mud-button-filled:not(:disabled):hover {
            transform: translateY(-0.05em);
            box-shadow: 0 0.3rem 0.3rem rgb(0 0 0 / 20%);
            color: #ffffff;
        }

.button-wrapper {
    position: relative;
}

    .button-wrapper .mud-progress-circular.mud-progress-small {
        position: relative;
        left: 0;
        top: 14px;
        height: 21px;
        width: 21px;
        margin-left: -21px;
    }



.mud-button-filled.mud-button-filled-error {
    background-color: #c44536 !important;
}

.mud-fab-warning {
    background-color: #16a085 !important;
}

.mud-button-filled.mud-button-filled-warning {
    background-color: #16a085 !important;
}

.mud-paper.mud-theme-warning {
    background-color: #16a085 !important;
}

.mud-fab .mud-fab-label {
    font-family: "Open Sans", sans-serif, Helvetica, Arial !important;
    text-transform: capitalize;
    font-weight: 600;
    white-space: pre;
}

.mud-fab.h-32 {
    min-height: 32px;
}

.mud-fab.w-106 {
    min-width: 106px !important;
}

.mud-nav-link.active .mud-nav-link-text {
    font-weight: 700 !important;
}

.h-32 {
    height: 32px !important;
}



.register-message.mud-fab-label {
    padding: 10px 10px 10px 10px
}


/**MUD COMPONENT*/

.mud-card-header {
    background: #E3E1DD !important; /*Theme.Color.Tertiary*/
    /*max-height: 40px;*/
}

.mud-expand-panel-header {
    /*background: #E3E1DD !important; */
    min-height: 0px !important;
    padding: 0 !important;
    /*max-height: 40px !important;*/
}

.card-header {
    background-color: #DFDCD8 !important;
    padding: 0 1rem !important;
    border: 0;
}

.card-title {
    margin: 0 !important;
    line-height: 2.5;
    font-size: 1rem !important;
    font-weight: 700;
}

.card-header-light {
    background: #ffffff !important; /*White*/
}

.card-header-text {
    color: #333333 !important;
    font-size: 1em !important;
    font-weight: 700 !important;
}

.card-label {
    color: #333333 !important;
    font-size: 0.875em !important;
    font-weight: 700 !important;
    padding-right: 6px;
}

.card-text-bold-1em {
    color: #333333 !important;
    font-size: 1em !important;
    font-weight: 700 !important;
}

.card-text-bold {
    color: #333333 !important;
    font-size: 0.875em !important;
    font-weight: 700 !important;
}

.card-text {
    color: #333333 !important;
    font-size: 0.875em !important;
}

.no-wrap {
    white-space: nowrap !important;
}

.dialog-icon {
    color: #b32121 !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
}

.icon-arrow {
    position: absolute;
    right: 0;
    top: 0;
}

.mud-panel-expanded .icon-arrow {
    transform: rotate(180deg);
}

.panel-blue {
    background-color: #F4F8FB !important;
}

    .panel-blue p {
        line-height: 1;
    }

        .panel-blue p.card-text {
            overflow-wrap: anywhere;
        }
/*
.line-dark {
    border-top: 2px solid #333333;
}
*/
.line-lightgrey {
    border-top: 1px solid #cccccc;
}

.consent-table td {
    border-right: solid 1px #e0e0e0ff;
}

.customer-detail-table {
    border-radius: 3px;
    border: 1px solid #cccccc;
}

    .customer-detail-table .mud-grid .mud-grid-item {
        background-image: linear-gradient(to bottom, black 15%, rgba(255,255,255,0) 0%);
        background-position: right;
        background-size: 1px 5px;
        background-repeat: repeat-y;
    }

        .customer-detail-table .mud-grid .mud-grid-item:nth-of-type(4) {
            background: none;
        }

        .customer-detail-table .mud-grid .mud-grid-item .d-flex {
            padding: 10px 5px;
        }



.advanced-search {
    background: none !important;
    color: #006cc5 !important;
    padding: 0 !important;
    cursor: pointer;
    font-size: 0.875em !important;
}

    .advanced-search:hover {
        text-decoration: underline;
    }

/**MUD TABS*/
.header-toolbar > .mud-tabs-toolbar {
    margin-bottom: 0px !important;
}

.mud-tabs-tabbar {
    background-color: #E3E1DD !important;
    color: #333333 !important;
}

    .mud-tabs-tabbar .mud-tab.mud-tab-active {
        font-weight: bold;
        color: #333333 !important;
    }

        .mud-tabs-tabbar .mud-tab.mud-tab-active:hover {
            background-color: rgba(0,0,0,0.07) !important;
            color: #333333 !important;
        }

    .mud-tabs-tabbar .mud-tab-slider {
        background: #333333 !important;
    }

.mud-tabs-toolbar-surface {
    background-color: #f5f5f5 !important;
    color: #333333 !important;
}

    .mud-tabs-toolbar-surface .mud-tab.mud-tab-active {
        font-weight: bold;
        color: #333333 !important;
    }

        .mud-tabs-toolbar-surface .mud-tab.mud-tab-active:hover {
            background-color: rgba(0,0,0,0.07) !important;
            color: #333333 !important;
        }

    .mud-tabs-toolbar-surface .mud-tab-slider {
        background: #333333 !important;
    }

.mud-tab-slider.mud-tab-slider-horizontal {
    height: 3px !important;
}

.mud-tab {
    text-transform: capitalize !important;
}

.mud-tabs-tabbar .mud-tab {
    text-transform: uppercase !important;
}

.mud-tab.mud-tab-active {
    color: #006cc5 !important;
}

.mud-tab-slider {
    background: #006cc5 !important;
}

/**MUD TABLE*/
.mud-table-root .mud-table-head .mud-table-cell {
    background: #DFDCD8 !important;
/*    color: rgba(0,0,0,.54) !important;*/
    font-weight: bold !important;
}

.mud-table-cell input.mud-input-root-margin-dense { /*TODO: used for header filter - remove when necessary*/
    background-color: white !important;
    border-radius: 3px;
    background-clip: border-box !important;
}

.mud-icon-root.mud-table-sort-label-icon {
    fill: inherit !important;
}

.mud-table-cell .mud-fab {
    margin-bottom: 5px;
}

.view-row {
    background-color: rgba(0,0,0,0.07) !important;
}

.icon-status:hover{
    cursor: pointer;
}

/*.action-labels{
    min-width: 250px;
}*/

.calculation-table{
    border: 1px solid #d8d8d8;
    margin-bottom: 20px;
    box-shadow: none;
}

.calculation-table thead{
    background-color: white;
    color: #333;
}

.calculation-table th{
    font-weight: bold!important;
}

.bg-nested {
    background: #f6f7f8;
}



/**MUD TABLE FILTER*/
/*p.mud-typography-body2 {
font-weight: 700;
}*/
/*HEADER*/
.navbar-dark {
    /*background-color: #17171A;*/
    color: white;
    padding: 0.45rem 0rem;
    /*position: fixed;*/
    z-index: 1020;
    width: 100%;
}

.navbar-brand {
    font-size: 1rem;
}

.header-logo {
    width: 40px;
}


ul.submenu {
    margin: 0;
}

    ul.submenu a, ul.submenu span {
        font-size: 0.7rem;
        border-left: 1px solid #6d6d6d;
        padding: 0 0.7rem;
        color: white;
        opacity: 0.8;
    }

        ul.submenu a:hover {
            opacity: 0.5;
        }

    ul.submenu i {
        vertical-align: middle;
    }

    ul.submenu li:first-child a,
    ul.submenu li:first-child span {
        border: none;
    }

    ul.submenu .lang-toggle span,
    ul.submenu .lang-toggle a {
        text-decoration: underline;
        border: none;
        padding: 0;
        margin-left: 0.25rem;
    }

        ul.submenu .lang-toggle span:hover,
        ul.submenu .lang-toggle a:hover {
            cursor: pointer;
            opacity: 0.5;
        }

        ul.submenu .lang-toggle a.selected-language,
        ul.submenu .lang-toggle a.selected-language span {
            font-weight: bold;
            text-decoration: none;
        }

    ul.submenu .lang-toggle .selected-language:hover {
        cursor: default;
        opacity: inherit;
    }



h1 {
    margin: 0 0 0 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

h2 {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
}

h3 {
    text-transform: uppercase;
    font-size: 1.25rem;
    margin: 0 0 25px 0;
    font-weight: 700;
}

.section-title {
    font-size: 1rem;
    font-weight: bold;
    line-height: 4;
    text-transform: uppercase;
}

.header-navbar-row2 {
    background-color: #E3E1DD;
    margin: 0;
}

.header-user-icon {
    color: #A8C0C9;
    font-size: 1rem;
}

.link-cursor {
    cursor: pointer;
}

.text-link {
    color: #0366d6 !important;
    text-decoration: underline;
    font-size: 16px;
}

.wrapper-text-link .text-link {
    color: #0366d6 !important;
    text-decoration: underline;
    font-size: inherit;
}


/*PAGINATION*/
.mud-table-pagination-toolbar {
    margin-bottom: 25px;
}


/*LOADER*/
.loader-wrapper {
    height: 100%;
    margin: auto;
    margin: 30vh auto; /*TEMPORARY, REMOVE IF NEEDED*/
    width: 180px;
    text-align: center;
    font-size: 1rem;
    color: #00205B;
}

@keyframes load {
    0% {
        opacity: 0.08;
        filter: blur(5px);
        letter-spacing: 3px;
    }

    100% {
    }
}

.animate-img {
    animation: load 1s 0s ease-in-out;
    animation-direction: alternate;
    text-shadow: 0 0 1px black;
}

.animate {
    animation: load 1s 0s ease-in-out;
    animation-direction: alternate;
    text-shadow: 0 0 1px black;
}

/*FORM ELEMENTS FONT SIZING*/
.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root,
.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol,
.mud-list-item-text .mud-typography-body1 {
    font-size: var(--mud-typography-default-size) !important;
    line-height: 0.875rem !important;
}
.mud-input-control{
    background: white;
}

/**COMPONENT ANIMATION*/
.fade-in {
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in-out {
    -webkit-animation: fadeinout 5s linear forwards;
    animation: fadeinout 5s linear forwards;
}

@-webkit-keyframes fadeinout {
    0%,100% {
        opacity: 0;
    }

    25%,75% {
        opacity: 1;
    }
}

@keyframes fadeinout {
    0%,100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}
/* UI CHANGES ADDED */
.mud-button, .mud-fab {
    text-transform: capitalize !important;
    font-family: "Open Sans", sans-serif, Helvetica, Arial !important;
}

td.row-actions {
    padding-left: 0;
    padding-right: 10px;
}

.panel-expand {
    background-color: #f4f8fb !important;
}

    .panel-expand .card-header-light {
        background: transparent !important;
    }

.mud-tabs-toolbar {
    margin-bottom: 1rem;
}

.redirect-modal-text {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

@media (min-width: 992px) {
    .wrapper-email-btn-edit {
        position: absolute !important;
        left: 38em;
        top: 2.2em;
        margin: 0;
        white-space: nowrap;
    }

    .wrapper-email-btn-save {
        position: absolute;
        left: 38em;
        top: 2em;
        margin: 0;
        white-space: nowrap;
    }
}



@media (max-width: 991.98px) {
    .customer-detail-table .mud-grid .mud-grid-item:nth-of-type(2) {
        background: none;
    }
}


@media (max-width: 576px) {
    ul .submenu {
        text-align: right !important;
    }

        ul.submenu li:nth-child(2) {
            margin-right: 0 !important;
        }

        ul.submenu li:last-child span {
            border-left: none !important;
        }

    .mud-main-content {
        padding-top: 36px !important;
    }


    .mud-xs-table .mud-table-cell.customer-address {
        text-align: end !important;
    }

    /*
    .mud-tab{
        min-width: 120px!important;
    }

    mud-tab-slider {
        width: 120px !important;
    }
    */

    .vehicle-details .mud-paper {
        width: 100%;
        justify-content: space-between;
    }

        .vehicle-details .mud-paper .card-text {
            text-align: right;
        }

    .vehicle-details .card-label {
        width: 40%;
    }

    .vehicle-details .card-text {
        width: 60%;
    }

    td.row-actions {
        padding: 14px 16px;
    }

    .customer-detail-table .mud-grid .mud-grid-item {
        background: none;
    }
}

/* Customer360 Styles */
.mud-fab-success:hover, .mud-fab-success:focus-visible {
    color: #ffffff !important;
}

.mud-fab-secondary:hover, .mud-fab-secondary:focus-visible {
    color: #ffffff !important;
}

.mud-fab-extended.mud-fab-size-small {
    min-height: 32px;
    height: 32px;
    padding: 0 16px;
}

.mud-nav-link-icon {
    font-size: 1.25rem !important;
}

.mud-icon-button-color-warning {
    color: #B00020 !important;
}

/*new-part-edit Styles*/
.new-part-edit{
    width:100%;
}

.part-edit-grid .mud-grid-item {
    padding-top: 10px !important;
}

/* TOOLTIP */

.mud-tooltip {
    background: #f0f8ff !important;
    color: inherit !important;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
}


.edit-icon {
    margin-left: 0.5rem;
}

.edit-icon:hover {
    cursor: pointer;
}

.mud-picker-datepicker-toolbar {
    display: none !important;
}

.partEditFormSection .mud-grid-item {
    padding-top:10px;
}