body[data-page="home-aspx"] bmw-fr-dfe-dashboard-component .cards-carousel {
    margin-bottom: var(--size-6);
}

body[data-page="home-aspx"] bmw-fr-dfe-dashboard-component > div > div > h3 {
    border-left: 6px solid var(--header-border-color);
    padding-left: var(--size-3);
    color: var(--header-border-color);
    text-transform: uppercase;
    padding-top: var(--size-1)  ;
    padding-bottom: var(--size-1);
    font-weight: var(--font-weight-5);
    font-family: var(--font-sans) !important;
}

body[data-page="home-aspx"] bmw-fr-dfe-dashboard-component > div > div.empty-content-placeholder > h3 {
    font-weight: var(--font-weight-4);
    color: var(--text-2);
    font-size: var(--size-fluid-2);
    text-transform: none;
    padding: 0;
    border: 0;
}

body, body[data-page="searchcredoper-aspx"] #aspnetForm, body[data-page="home-aspx"] #aspnetForm {
    font-family: unset;
    font-size: unset;
}

body[data-page="searchcredoper-aspx"] #aspnetForm .Stage,
body[data-page="home-aspx"] #aspnetForm .Stage {
    overflow-x: hidden;
}

body[data-page="home-aspx"] #aspnetForm form *,
body[data-page="searchcredoper-aspx"] #aspnetForm form * {
    box-sizing: border-box !important;
}

body[data-page="home-aspx"] #aspnetForm form,
body[data-page="searchcredoper-aspx"] #aspnetForm form {
    min-height: auto;
    text-align: left;
    box-sizing: border-box !important; /* this is normalized */
    font-size: unset;
    font-family: unset;
    padding: var(--size-6);
    gap: var(--size-6);
}

body[data-page="home-aspx"] form ~ .filters,
body[data-page="searchcredoper-aspx"] form ~ .filters {
    padding: 0 var(--size-6);
}

body[data-page="home-aspx"] form ~ main,
body[data-page="searchcredoper-aspx"] form ~ main  {
    padding: var(--size-6);
}


body[data-page="home-aspx"] .card,
body[data-page="searchcredoper-aspx"] .card {
    text-align: left;
}

body[data-page="searchcredoper-aspx"] .container > div > h3,
body[data-page="home-aspx"] .container > h3 {
    border-left: 6px solid var(--header-border-color);
    padding-left: 16px;
    color: var(--header-border-color);
    text-transform: uppercase;
    padding-top: var(--size-1) !important;
    padding-bottom: var(--size-1) !important;
    font-weight: var(--font-weight-5);
    font-family: var(--font-sans) !important;
}

body[data-page="searchcredoper-aspx"] .container > div > button {
    right: 0;
}


#aspnetForm[action^="./PageExpiredError.aspx"] .Content,
#aspnetForm[action^="./SessionExpiredError.aspx"] .Content,
#aspnetForm[action^="./ErrorPage.aspx"] .Content  {
    display: flex;
    justify-content: center;
    align-items: center;
}

.SessionExpirationContainer .SessionExpirationContainerButtons a, .pageErrorContainer .pageErrorContainerButtons a {
    background-color: var(--brand);
    border: none;
    border-radius: var(--border-radius);
    transition: box-shadow 145ms var(--ease-4);
    transition-delay: 0s;
    transition-duration: .25s;
    font-weight: var(--font-weight-5);
}

.SessionExpirationContainer .SessionExpirationContainerButtons a:hover, 
.pageErrorContainer .pageErrorContainerButtons a:hover {
    --_highlight-10 : hsl(0 0% 0%/10%);
    box-shadow: inset 0 0 0 0 var(--_highlight-10), 0 0px transparent, 0 0 0 var(--size-2) var(--_highlight-10) !important;
}

tr.EditRowStyle > td > div.FormTextBoxOneAggregatedIcon .FormFieldValidationIcon::before,
tr.EditRowStyle > td > div.FormTextBoxOneAggregatedIcon .FormFieldValidationIcon::after,
tr.EditRowStyle > td > div[data-user-changed="true"]::before,
tr.EditRowStyle > td > div[data-user-changed="true"]::after,
tr.EditRowStyle > td > div[data-user-changed="false"]::before,
tr.EditRowStyle > td > div[data-user-changed="false"]::after {
    top: calc(var(--font-size-6) + 2px);
}

.FormTextBox, .FormTextBoxRequired, .FormTextBoxError, .FormTextBoxReadonly, .FormField, .FormFieldReadonly, input[type=file], .LoginTextBox {
    color: var(--text-1);
}

.FormTextBoxOneAggregatedIcon > .FormTextBoxError + span.glyphicon,
.FormTextBoxOneAggregatedIcon > .FormTextBoxError + .ImageButtonBox + span.glyphicon,
.CustomSelectContainer.FormFieldError .CustomSelectValidationIcon,
tr.EditRowStyle > td > div.FormTextBoxOneAggregatedIcon .FormFieldValidationIcon {
    /*top: 0 !important;*/
}


.GridStyle td .FormTextBoxRequired, .GridStyle td .FormFieldRequired, .GridStyle td .CustomSelectContainer[required="True"], .GridStyle td .CustomSelectContainer[required="true"] {
    height: var(--font-size-6) !important ;
}


#aspnetForm[action^="./SessionExpiredError.aspx"] .SessionExpirationContainerContent span, 
#aspnetForm[action^="./PageExpiredError.aspx"] .SessionExpirationContainerContent span {
    color: var(--text-1)
}

#aspnetForm[action^="./SessionExpiredError.aspx"] .SessionExpirationContainerTitle span,
#aspnetForm[action^="./PageExpiredError.aspx"] .SessionExpirationContainerTitle span {
    color: var(--text-2);
}

.SessionExpirationContainer .SessionExpirationContainerTitle:after {
    color: var(--surface-4) !important;
    content: "\E91E";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}

.SessionExpirationContainer .SessionExpirationContainerTitle span, .pageErrorContainer .pageErrorContainerTitle span {
    color: var(--text-1) !important;
    font-weight: 500 !important;
    font-size: var(--font-size-3) !important;
    font-family: unset !important;
}

.SessionExpirationContainer .SessionExpirationContainerTitle:after, .pageErrorContainer .pageErrorContainerImage .DialogImageContent {
    color: var(--surface-4) !important;
}
.SessionExpirationContainer .SessionExpirationContainerContent span, .SessionExpirationContainer .SessionExpirationContainerButtons a, .pageErrorContainer .pageErrorContainerContent span, .pageErrorContainer .pageErrorContainerButtons a {
    font-family: var(--font-sans) !important;
    font-size: var(--font-size-1) !important;
    padding: 0.5rem 1rem;
}

.SessionExpirationContainer, .SessionExpirationContainer .SessionExpirationContainerContent, .SessionExpirationContainer .SessionExpirationContainerContentButtons, .pageErrorContainer, .pageErrorContainer .pageErrorContainerImage, .pageErrorContainer .pageErrorContainerContent, .pageErrorContainer .pageErrorContainerView, .pageErrorContainer .pageErrorContainerButtons {
    margin: 0;
}

.SessionExpirationContainerTitle span {
    margin: 0 !important;
}

.SessionExpirationContainerTitle,
.SessionExpirationContainer tbody {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.SessionExpirationContainer .SessionExpirationContainerTitle:after, .pageErrorContainer .pageErrorContainerImage .DialogImageContent {
    height: fit-content;
    width: fit-content;
}

.SessionExpirationContainerButtons {
    margin: 0 !important;
    height: 2rem;
}



body[data-page="searchcredoper-aspx"] tr button {
    text-decoration: none;
    background-color: var(--surface-2) !important;
    color: var(--text-1);
}

body[data-page="searchcredoper-aspx"] tr:hover button {
    background-color: var(--surface-1) !important;
}



body[data-page="home-aspx"] .container > h3 {
    width: 100% !important;
}

body[data-page="home-aspx"] bmw-fr-dfe-dashboard-component {
    background-color: var(--surface-2);
}

body[data-page="home-aspx"] .container,
body[data-page="searchcredoper-aspx"] .container {
    width: 100%;
    margin-inline: auto;
}

body[data-page="searchcredoper-aspx"] h3,
body[data-page="searchcredoper-aspx"]  h4,
body[data-page="home-aspx"] h3,
body[data-page="home-aspx"] h4 {
    margin: unset;
    text-indent: unset;
    font-family: unset;
    font-weight: var(--font-weight-6);
    color: var(--text-2);
    text-align: left;
    font-size: var(--size-fluid-2);
}

body[data-page="searchcredoper-aspx"] .container > h3,
body[data-page="searchcredoper-aspx"] .container > h4,
body[data-page="home-aspx"] .container > h3,
body[data-page="home-aspx"] .container > h4 {
    padding: var(--size-3);
}

body[data-page="searchcredoper-aspx"] table,
body[data-page="searchcredoper-aspx"] p,
body[data-page="home-aspx"] table,
body[data-page="home-aspx"] p  {
    text-align: left;
}

body[data-page="searchcredoper-aspx"] button,
body[data-page="home-aspx"] button {
    box-shadow: var(--shadow-1),
        0 0px var(--surface-3),
        0 0 0 var(--_highlight-size) var(--_highlight);
}

.news-item .card-actions button {
    border: none;
}

.news-item .card-actions button .ms-Icon {
    font-weight: var(--font-weight-4);
}

.ms-Icon--OpenInNewTab:before {
    content: "\F6AB" !important;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons';
    font-style: normal;
    font-weight: normal;
    speak: none;
}

.bmw-fr-dfe-dashboard-component {
    background-color: transparent;
}

.dashboard-main-container {
    background-color: var(--surface-1);
    box-shadow: var(--shadow-2);
    margin-top: var(--size-4);
}

.news {
    margin-bottom: var(--size-4);
    flex: 1;
}

body[data-border="square"] {
    --main-border-radius: var(--radius-0);
}

body,
body[data-border="round"] {
    --main-border-radius: var(--radius-2);
}

.form-error-message {
    bottom: calc(-1 * var(--size-5)) !important;
}

.news.test {
    display: grid;
    grid-auto-flow: column;
    /* grid-auto-columns: 33%;~*/
}

input, select, .CustomSelectContainer {
    outline-offset: var(--border-size-3) !important;
}


input:focus-visible, select:focus-visible, .CustomSelectContainer:focus, button.multiselect:focus {
    outline: var(--brand) solid 1px !important;
    outline-offset: var(--border-size-0) !important;
}
@media (prefers-reduced-motion: no-preference) {
    input:focus-visible,
    select:focus-visible,
    .CustomSelectContainer:focus,
    button.multiselect:focus {
        transition: outline-offset 145ms var(--ease-2) !important;
    }
}

input[class^=FormTextBox]:focus {
    border-color: var(--surface-3) !important;
}

.CustomSelectFilter .formTB {
    outline: 0 !important;
}

@media (prefers-reduced-motion: no-preference){
    :where(.large-button, button, button[type], input[type=button], input[type=reset]), :where(input[type=file])::-webkit-file-upload-button, :where(input[type=file])::file-selector-button {

        transition: border-color .5s var(--ease-3) .5s,box-shadow 145ms var(--ease-4);
    }
}

body,
body[data-theme-mode=light] {
    --_highlight:  hsl(210 10% 71%/25%);
    --_highlight-size: var(--size-2);
}

body[data-theme-mode=dark] {
    --_highlight:  hsl(210 10% 5%/25%);
}

dashboard-main-container button:hover,
.large-button:hover {
    box-shadow: var(--shadow-1), 0 1px var(--surface-3), 0 0 0 var(--_highlight-size) var(--_highlight);
}

dashboard-main-container button
.large-button {
    transition: border-color .5s var(--ease-3) .5s,box-shadow 145ms var(--ease-4);
}

.Contacts:hover:before, .ContainerHeaderOperations .large-button:hover:before, .small-button:hover:before, .ContainerHeaderContext .large-button:hover:before, .ContainerContentTransition .Transitate24x24:hover:before, .Icon20x20:hover:before, .Icon24x24:hover:before, .ImageButtonBox:hover:before, .PagerFirstStyle:hover:before, .PagerPreviousStyle:hover:before, .PagerNextStyle:hover:before, .PagerLastStyle:hover:before, .GridIcon20x20:hover:before, .FileUploadLabel:hover:before {
    transform: scale(1) !important;
}

[data-contrast="high"] .contrast-toggle .contrast {
    right: -18px !important;
  }

  .contrast-toggle {
      box-sizing: border-box !important;
  }

  body[data-contrast="high"]  {
    --surface-3: var(--surface-4);
  }

  .profile-header button {
      background-color: transparent;
  }

  .scroll-controller-right,
  .scroll-controller-left {
    padding: 0 !important;
    background-color: var(--surface-2) !important;
    /* top: 0; */
  }

  .news-action-area button,
  .news-action-area .gui-popup-button {
      background-color: var(--surface-1) !important;
  }

  button .ms-Icon {
      opacity: 1;
  }

  .news-modal h3,
  .news-modal p {
      color: var(--text-1) !important;
  }

.charts {
    flex-wrap: wrap;
    position: relative;
}

.charts > div { 
    max-width: 100%;
    overflow: auto;
}

@media (max-width: 768px), (max-width: 900px) and (orientation: portrait) {
    .charts {
        flex-direction: column;
    }
}

body[data-page="home-aspx"] bmw-fr-dfe-dashboard-component {
    width: 85vw;
    padding-right: var(--sidebar-sm-width);
}

/* width: 90vw; */
@media (max-width: 900px){
    body[data-page="home-aspx"] bmw-fr-dfe-dashboard-component,
    body[data-page="searchcredoper-aspx"] bmw-fr-dfe-search-oper-component {
        width: 95vw !important;
        margin-inline: auto !important;
        padding-right: 0;
    }
}

@media (max-width: 680px) {
    bmw-fr-dfe-search-oper-component .container form {
        display: flex;
        flex-direction: column;
    }
}

bmw-fr-dfe-dashboard-component td span {
    white-space: normal !important;
}

bmw-fr-dfe-dashboard-component td {
    border-color: var(--surface-4) !important;
}

bmw-fr-dfe-dashboard-component button a {
    display: flex;
    align-items: center;
    justify-content: center;

}

bmw-fr-dfe-dashboard-component button .ms-Icon {
    opacity: 1 !important;
    margin: 0 !important;
}

@keyframes smart-slide-in-left {
    from { transform: translateX(5%) }
  }

  .news-search-area input {
        height: var(--size-7)
  }

  .gui-split-button button {
      border-top-left-radius: var(--main-border-radius) !important;
      border-bottom-left-radius: var(--main-border-radius) !important;
  } 

  .gui-popup-button {
    border-top-right-radius: var(--main-border-radius) !important;
    border-bottom-right-radius: var(--main-border-radius) !important;
  }

  [data-theme-mode='dark'] .theme-toggle {
    --icon-fill: hsl(210 10% 70%) !important;
    --icon-fill-hover: hsl(210 15% 90%) !important;
  }

    [data-border="square"] #border-toggle {
        --main-border-radius: var(--radius-0) !important;
}

[data-border="round"] #border-toggle {
  --main-border-radius: var(--radius-2) !important;
}

body[data-page="searchcredoper-aspx"] .check-button,
body[data-page="searchcredoper-aspx"] form button:not(.main),
body[data-page="searchcredoper-aspx"] .search-actions .secondary-button,
body[data-page="searchcredoper-aspx"] .card button, 
body[data-page="searchcredoper-aspx"] .list-item button, 
body[data-page="searchcredoper-aspx"] td button,
body[data-page="searchcredoper-aspx"] button.main + button,
body[data-page="home-aspx"] .dashboard-main-container button {
    background-color: var(--surface-1);
 }

body[data-page="searchcredoper-aspx"] th {
    font-weight: var(--font-weight-5);
}

.dialog-control .dialog-container {
    background-color: var(--surface-1);
    box-shadow: var(--shadow-3);
    border: none;
    border-radius: var(--border-radius);
}

.dialog-message.dialog-main-content.dialog-text {
    color: var(--text-1);
    font-weight: var(--font-weight-4) !important;
}

#PDialogHeader span {
    font-variant: normal;
    font-weight: var(--font-weight-6);
    font-size: var(--font-size-1);
    color: var(--red-7);
    height: var(--font-size-5);
}

.dialog-message.dialog-main-content.dialog-text {
    font-family: var(--font-sans);
    font-weight: var(--font-weight-3);
}

.dialog-message.dialog-main-content.dialog-text p {
    font-size: var(--font-size-1);
}

.dialog-control .dialog-footer input[id$='_BOk'] {
    background-color: var(--brand);
    color: white !important;
    border: none;
    padding: .5rem 1rem;
    font-size: var(--font-size-1);
    font-weight: var(--font-weight-5);
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
}

.glyphicon-times:before {
    color: var(--text-1);
    content: "\E8BB";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}

.glyphicon-square-empty-plus:before {
    color: var(--text-1);
    content: "\E972";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}

.glyphicon-copy:before {
    color: var(--text-1);
    content: "\E77F";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}


.glyphicon-square-empty-left:before {
    color: var(--text-1);
    content: "\F2DD";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}

.glyphicon-square-empty-minus:before {
    color: var(--text-1);
    content: "\E971";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}




.dialog-control .dialog-header div.glyphicon {
    color: var(--text-1);
}

.dialog-stack-trace .stack-trace-item .stack-trace-item-content {
    color: var(--text-1);
    font-weight: var(--font-weight-4);
    font-family: var(--font-mono);
    -webkit-transform: translateX(-0%) translateY(-0%);
}

.dialog-stack-trace .stack-trace-item {
    box-shadow: none;
    border: none;
}

.dialog-stack-trace .stack-trace-item .stack-trace-item-header {
    background-color: transparent;
}

.stack-trace-item.frontend-stack-trace,
.stack-trace-item.backend-stack-trace {
    background: var(--surface-2);
}

.dialog-control .dialog-content .dialog-stack-trace {
    max-height: 456px;
}

.glyphicon-square-empty-plus:before,
.glyphicon-square-empty-minus:before {
    color: var(--text-1) ;
}

.stack-trace-item-header .stack-trace-item-header-operations div.glyphicon,
.dialog-operations div.glyphicon {
    opacity: 0.8;
}

.stack-trace-item-header .stack-trace-item-header-operations div.glyphicon:hover,
.dialog-operations div.glyphicon:hover {
    opacity: 1;
}


.dialog-content {
    display: flex;
    flex-direction: column;
}

.dialog-content .dialog-main-content {
    order: 1;
}

.dialog-content .dialog-operations {
    order: 2;
}


.dialog-content .dialog-stack-trace {
    order: 3;
}

.dialog-control .dialog-content .dialog-operations {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-control .dialog-header {
    margin-bottom: 0;
}

.dialog-control .dialog-container {
    gap: 1rem;
}


.dialog-control .dialog-content {
    margin: 0;
    gap: 1rem;
}

.dialog-stack-trace .stack-trace-item {
    margin: 0;
    margin-bottom: 1rem;
}

.dialog-stack-trace .stack-trace-item:last-child {
    margin-bottom: 0;
}

.dialog-control .dialog-content .dialog-stack-trace {
    margin: 0;
}


body[data-page="searchcredoper-aspx"] input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body[data-page="searchcredoper-aspx"] input[type=number] {
  -moz-appearance: textfield;
}

body[data-page="searchcredoper-aspx"] .sortable button {
    background-color: transparent !important;
    box-shadow: inset 0 0 0 calc(var(--_highlight-size) * 5) var(--_highlight-10), 0 0px transparent, 0 0 0 var(--_highlight-size) var(--_highlight-10);
    outline: none;
    border: none;
}

.check-button.section-check {
    box-shadow: inset 0 0 0 calc(var(--_highlight-size) * 5) var(--_highlight-10), 0 0px transparent, 0 0 0 var(--_highlight-size) var(--_highlight-10) !important;
    outline: none;
    background-color: transparent !important;
}

.section-check h6 {
    font-weight: 500;
}



.CustomSelectContainer:focus-visible,
.CustomSelectContainer:focus,
button.multiselect:focus-visible,
button.multiselect:focus {
    outline: var(--brand) solid 1px;
}

#BOXRegistrationFees a:link {
    text-decoration: underline;
}

#BOXRegistrationFees a:link::after  {
    color: var(--text-1);
    content: "\E4BB";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: 'FabricMDL2Icons' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
    margin-left: var(--size-1);
    margin-top: var(--size-1);
    margin-bottom: var(--size-1);
    position: absolute;
}

.search-actions .sort-by {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.search-actions .sort-toggle {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}