/* Sets the full height for the html and body elements to make the layout occupy the entire viewport */
html, body {
    height: 100%;
	  /*zoom: 99%;*/
}

/* Ensures the custom app component is displayed as a block-level element and occupies the full height */
app {
    display: block;
    height: 100%;
}

/* Styles the logo with a white SVG image, maintaining aspect ratio with no-repeat */
.header-logo {
    content: url(../images/logo_white.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 120px;
    height: 33px;
    mask-size: contain;
}

/* Styles the Blazor error UI overlay with full-screen fixed positioning and hides it by default */
#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/** INRADR CSS **/

:root {
  /* Light Blue */
  --InRadr-light-blue: #009DE2;
  --InRadr-light-blue-25: #29BFFF;
  --InRadr-light-blue-50: #70D4FF;

  /* Yellow */
  --InRadr-yellow: #FFC914;
  --InRadr-yellow-25: #FFD64F;
  --InRadr-yellow-50: #FFE48A;

  /* Blue */
  --InRadr-blue: #0072BB;
  --InRadr-blue-25: #0EA3FF;
  --InRadr-blue-50: #5EC1FF;

  /* Orange */
  --InRadr-orange: #F49200;
  --InRadr-orange-25: #FFBC40;
  --InRadr-orange-50: #FFD280;

  /* Green */
  --InRadr-green: #64C34D;
  --InRadr-green-25: #8AD278;
  --InRadr-green-50: #B1E1A5;

  /* Red */
  --InRadr-red: #9E0409;
  --InRadr-red-25: #F6004E;
  --InRadr-red-50: #FF4F87;
  
  /* Grey */
  --InRadr-grey: #9EA8AC;
  --InRadr-grey-light: #BEC5C8;
  --InRadr-grey-lighter: #EFF1F1;
  --InRadr-grey-dark: #7E8C91;
  --InRadr-grey-darker: #3E4649;
  --InRadr-grey-darkest: #1F2324;
}



button[data-action-name="Meine Details"] {
    visibility: hidden;
}
/* Sets the background color for the header and login template header */
.header,
.logon-template-header {
    background-color: #3e3e3e;
}

/* Changes the color of images in XAF framework */
.xaf-image {
    color: var(--InRadr-grey-light);
}

/* Styles for large view captions with increased font size and bold weight */
.xaf-view-caption-lg {
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: .125rem;
    color: #fff;
}

/* Styles for small view captions with reduced font size and blue color */
.xaf-view-caption-sm {
    font-size: 0.9rem;
    line-height: 1.1rem;
    color: #fff;
}

/* Styles for object captions with medium font size and consistent color scheme */
.xaf-object-caption {
    font-size: 1.3rem;
    font-weight: 600!important;
    padding-bottom: .125rem;
    color: #fff;
	font-family: var(--bs-body-font-family);
}

/* Styles for group components with custom border color and shadow effect */
.dxbl-group {
    --dxbl-group-border-color: rgba(0, 115, 187, 0.31);
    box-shadow: 3px 2px 6px 0px rgba(0, 0, 0, 0.1);
}

    /* Ensures the group header background is transparent */
    .dxbl-group > .dxbl-group-header::before {
        background-color: white;
        opacity: 0%;
    }

    /* Styles for group header text with blue color and bold font */
    .dxbl-group > .dxbl-group-header > .dxbl-text {
        color: var(--InRadr-blue);
        font-weight: 600;
    }

/* Active tab styling with blue background and rounded corners */
.dxbl-tabs.dxbl-tabs-top > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active,
.dxbl-tabs > .dxbl-tabs-tablist > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active {
    background-color: var(--InRadr-blue);
    border-radius: 5px;
    color: white;
}

/* Inactive tab styling with light gray border and rounded corners */
.dxbl-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-active):not(.dxbl-disabled):not(:disabled),
.dxbl-tabs > .dxbl-tabs-tablist > ul > li > .dxbl-tabs-item:not(.dxbl-active):not(.dxbl-disabled):not(:disabled) {
    border: 1px solid #EFF1F1;
    /* border-radius: 5px;*/
}

/* Styles for active tab icon with bright white filter */
.dxbl-active img.dxbl-image.xaf-layout-tab-icon {
    min-width: 25px;
    min-height: 20px;
    max-width: 25px;
    max-height: 20px;
    margin-right: 10px;
    color: white;
    filter: brightness(10000%);
}

/* Styles for inactive tab icon with blue tint and opacity */
img.dxbl-image.xaf-layout-tab-icon {
    filter: sepia(100%) contrast(10%) saturate(100%) hue-rotate(207deg) opacity(0.5);
    min-width: 25px;
    min-height: 20px;
    max-width: 25px;
    max-height: 20px;
    margin-right: 10px;
}

/* Styles for toolbar item icon with grayscale filter */
img.dxbl-image.xaf-toolbar-item-icon {
    -webkit-filter: grayscale(1);
}

/* Styles for text input fields */
.dxbl-text-edit > .dxbl-text-edit-input,
.dxbl-text-edit > .dxbl-text-edit-template,
.dxbl-text-edit > .dxbl-text-edit-template .dxbl-text-edit-input,
.dxbl-text-edit > textarea {
    background: #fff;
}


.dxbl-accordion .dxbl-accordion-filter > .dxbl-accordion-group-header .dxbl-navigation-filter.dxbl-text-edit > input {
    background: var(--InRadr-blue);
    color: #fff;
}


.dxbl-text-edit > [class*=dxbl-btn-group-right]:last-of-type {
  display: none;
}

.Crud_Edit .dxbl-text-edit > [class*=dxbl-btn-group-right]:last-of-type {
  display: inline-flex; 
}
.Crud_Edit .dxbl-text-edit > .dxbl-text-edit-input,
.Crud_Edit .dxbl-text-edit > .dxbl-text-edit-template,
.Crud_Edit .dxbl-text-edit > .dxbl-text-edit-template .dxbl-text-edit-input,
.Crud_Edit .dxbl-text-edit > textarea {
    background: transparent !important;
}
/* Styles for floating layout group with inline grid display */
.dxbl-fl .dxbl-fl-group {
    display: inline-grid;
}

/* Chart content – adjust selectors to your library (DevExpress) */
.dxbl-chart-with-legend-container .dxc-chart { /* if such a class exists */
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.dxbl-grid .dxbl-grid-table > tbody > tr {
    border: none;
}

.dxbl-grid .dxbl-grid-table > tbody:nth-child(2) > tr:first-child > td, .dxbl-grid .dxbl-grid-table > tbody:nth-child(2) > tr:first-child > th, .dxbl-grid .dxbl-grid-table > tfoot:nth-child(2) > tr:first-child > td, .dxbl-grid .dxbl-grid-table > tfoot:nth-child(2) > tr:first-child > th, .dxbl-grid .dxbl-grid-table > thead:nth-child(2) > tr:first-child > td, .dxbl-grid .dxbl-grid-table > thead:nth-child(2) > tr:first-child > th {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


tr:nth-child(even).cursor-pointer {
    background-color: #f2f2f2;
}
/*///////////////// Fixed height and width for LV Start ////////////////////////////////////// */
/* Container with the table */
.dxbl-grid > .dxbl-scroll-viewer {
    display: block;
    position: relative;
    width: 100%;
    min-height: 80vh;
    height: 80vh; /* Set height to enable scrolling */
}
/* Container with the table */
.lvw-hidden-header-footer .dxbl-grid > .dxbl-scroll-viewer {
    min-height: auto;
    height: auto; /* Set height to enable scrolling */
}
/* LV without Header & Footer */
.lvw-hidden-header-footer thead,
.lvw-hidden-header-footer .dxbl-grid > .dxbl-grid-bottom-panel:last-of-type,
.lvw-hidden-header-footer .dxbl-group > .dxbl-group-body {
    display: none;
}

.lvw-hidden-header-footer .nested-toolbar{
	display:none;
}
.lvw-hidden-header-footer .dxbl-scroll-viewer-content{
	display:grid;

}
.lvw-hidden-header-footer .dxbl-scroll-viewer-content td{
	word-break: break-word !important;
	overflow-wrap: break-word !important;
	white-space: normal !important;
}
.dxbl-fl .dxbl-fl-item {
    margin-top: 4px;
}
/* NAVCHART */
.dxc-markers {
  fill: var(--InRadr-light-blue-50)!important;
  stroke: var(--InRadr-light-blue-50)!important;
}

/*//////////////////// TennatOverview //////////////////*/

.TennatOverviewBoldContent .dxbl-expandable-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.TennatOverviewBoldContent .dxbl-group-body-content {
  /* Optional size limits or other styles */
  max-width: 100%;
}


.TennatOverviewBold .dxbl-text-edit.dxbl-disabled{
	border:none;
	color: var(--InRadr-grey-darkest);
    font-size: clamp(1.2rem, 1.3vw, 1.8rem);
    font-weight: normal;
    font-style: normal;
    display: block;
    margin: 0 auto;
}
.TennatOverviewBold .dxbl-text-edit.dxbl-disabled input {
    text-align: center !important;
}
.TennatOverviewBoldContent.dxbl-fl.dxbl-fl-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    height: 100%;
    position: relative;
}
.TennatOverviewBold .dxbl-text-edit.dxbl-disabled::before, .dxbl-text-edit:disabled::before{
	background-color:#fff;
	}

/* Table occupying the full width */
.dxbl-grid > .dxbl-scroll-viewer table {
    display: table;
    width: 100%;
    min-width: 100%;
    table-layout: auto; /* Flexible column width adjustment */
}

/* Ensuring full accessibility of table content */
.dxbl-grid > .dxbl-scroll-viewer tbody {
    width: 100%;
}

.dxbl-grid > .dxbl-scroll-viewer tr {
    display: table-row;

}

.dxbl-grid > .dxbl-scroll-viewer th {
		text-align: center;

}
/* Settings for table cells */
.dxbl-grid > .dxbl-scroll-viewer td {
    padding: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
}
/*///////////////// Fixed height and width for LV End ///////////////////////*/


/*///////////////// Scrollbars and Sticky Header Start /////////////////////*/
.dxbl-scroll-viewer {
    position: relative;
    height: calc(100% - 40px); /* Ensures appropriate height for content and pagination */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .dxbl-scroll-viewer > .dxbl-scroll-viewer-content {
        flex-grow: 1;
        position: relative; /* 🔥 KEY: Enables sticky header */
        height: 100%;
    }

    /* Horizontal scrollbar */
    .dxbl-scroll-viewer > .dxbl-scroll-viewer-hor-scroll-bar {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        height: 15px;
        z-index: 10;
    }

    /* Vertical scrollbar */
    .dxbl-scroll-viewer > .dxbl-scroll-viewer-vert-scroll-bar {
        position: absolute;
        top: 0;
        right: 0;
        width: 15px;
        height: 100%;
        z-index: 10;
    }
/*//////////////////// Scrollbars and Sticky Header End //////////////////*/

/* NEW NAVIGATION */
.dxbl-accordion .dxbl-accordion-group:not(.dxbl-disabled):not(:disabled):not(.dxbl-accordion-filter):not(.dxbl-active) > .dxbl-accordion-group-header {
  background-color: var(--InRadr-blue) !important;
  color: #fff !important;
}
.xaf-nav-link {
  text-decoration: none !important;
  white-space: normal !important;
  line-height: normal;
}
/* globally or narrow it down to a specific accordion */
.dxbl-accordion{
  --dxbl-accordion-group-item-content-indent: 2px; /* e.g., from 20–24px to 12px */
}

/* END OF NAVIGATION */

.dxbl-image {
    filter: brightness(0) saturate(100%) invert(80%);
}

.nested-toolbar:empty, .main-toolbar:empty {
    padding: 0 !important;
    margin-top: 10px;
}
.dxbl-modal-header{
	background-color:var(--InRadr-blue)!important;
}

/*styling string values rendered with HighlghtStringPropertyEditor Start */
.SINGLE p,
.SALE p,
.REDM p,
.REGULAR p,
.CORE p,
.EINANLEGERFONDS p,
.BESTANDSOBJEKT p,
.ANTEILSCHEINGESCHÄFT p,
.RÜCKGABE p,
.ATW p,
.FIX p,
.ENDFÄLLIG p {
    color: var(--InRadr-blue-25);
    border: 1px solid var(--InRadr-blue-25);
    padding: 1px 5px;
    border-radius: 2px;
    margin: 1px !important;
    font-weight: 600;
    float: right;
    text-transform: uppercase;
}

.POOL p,
.PORTFOLIO p,
.CALL p,
.SPECIAL p,
.BUY p,
.DEAL p,
.CORE\+ p,
.POOLFONDS p,
.POOL-FONDS p,
.AUSSCHÜTTUNG p,
.VARIABEL p,
.ANNUITÄTISCH p,
.PROJEKTENTWICKLUNG p{
    color: var(--InRadr-green-25);
    border: 1px solid var(--InRadr-green-25);
    padding: 1px 5px;
    border-radius: 2px;
    margin: 1px !important;
    font-weight: 600;
    float: right;
    text-transform: uppercase;
}

.DEVELOPMENT p,
.VERKAUF p,
.SELL p,
.LINEAR p,
.OPPORTUNISTISCH p,
.GRUNDSTÜCK p {
    color: var(--InRadr-yellow-25);
    border: 1px solid var(--InRadr-yellow-25);
    padding: 1px 5px;
    border-radius: 2px;
    margin: 1px !important;
    font-weight: 600;
    float: right;
    text-transform: uppercase;
}

.OFFICE p,
.HOTEL p,
.OTHER p,
.RESIDENTIAL p,
.RETAIL p,
.INDUSTRY p,
.WOHNEN p,
.BÜRO p,
.INDUSTRIE p,
.SONSTIGE p,
.HANDEL p,
.VALUE p {
    color: var(--InRadr-grey-dark);
    border: 1px solid var(--InRadr-grey-dark);
    padding: 1px 5px;
    border-radius: 2px;
    margin: 1px !important;
    font-weight: 600;
    float: right;
    text-transform: uppercase;
}
/*styling string values rendered with HighlghtStringPropertyEditor End */

/* Responsive styling for tab lists on screens smaller than 767px */
@media (max-width: 767px) {
    .dxbl-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul,
    .dxbl-tabs > .dxbl-tabs-tablist > ul {
        display: flex;
        padding-left: 0;
        white-space: nowrap;
        flex-wrap: wrap;
        align-items: stretch;
        flex-direction: column;
    }

    .dxbl-group-header.dxbl-accordion-group-header {
        font-size: 3.5vw;
    }
}

/* Splash Screen Progress */
.inradr-splash-screen-progress-container {
    width: 10%;
    height: 10px;
    background-color: #eee;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.inradr-splash-screen-progress-bar {
    height: 100%;
    width: 30%;
    background-color: var(--InRadr-blue-25);
    position: absolute;
    animation: slide 1.5s linear infinite;
    border-radius: 5px;
}

@keyframes slide {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}
