﻿html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: calc(100vh - 37px);
    font-family: 12px/21px Arial, Helvetica, sans-serif; /*Roboto, "Helvetica Neue", sans-serif!important;*/
    font-size: 12px!important;
}
body {
    border-top: 0.05em darkgrey solid;
}
[class*="k-"] {
    font-family: 12px/21px Arial, Helvetica, sans-serif; /*Roboto, "Helvetica Neue", sans-serif!important;*/
    font-size: 12px!important;
}
.k-window {
    max-height: 95vh;
}

.k-pager-info {
    display: none!important;
}
.k-pager {
    position: fixed;
    bottom: 0px;
    width: 100%;
}

.clearfix {
    clear:both;
}

.dev-item {
    color: blue;
    background-color: magenta;
}

.formfielderror {
    color: red!important;
    font-style: italic!important;
}


.logo_container {
    position: fixed;
    top: 10px;
    left: 75px;
    padding: 3px;
    z-index: 9;
}
.logo_container img {
    max-height: 80px;
}

.menu_container {
    position: fixed;
    top: 86px;
    width: 100%;
    height: 40px;
    background-color: #e5e5e5;
    z-index: 9;
}
.menu_container .k-menu-expand-arrow 
{ 
    display: none;
}
.menuitem img
{ 
    height: 30px;
}

 .info {
    display: block;
    position: relative;
    padding: 10px;
    width: calc(100% - 4px);
    background-color: lightgoldenrodyellow;
    border-radius: 10px;
}
.success {
    display: block;
    position: relative;
    padding: 10px;
    width: calc(100% - 10px);
    color: white;
    background-color: darkgreen;
    border-radius: 10px;
}
 .error {
    display: block;
    position: relative;
    padding: 10px;
    width: calc(100% - 10px);
    color: white;
    background-color: red;
    border-radius: 10px;
}
 
.switchwithtext {
    display: flex;
}
.switchwithtext>.k-switch {
    margin-right: 10px;
}
.switchwithtext>[data-labelkey] {
    
}

.main {
    position: fixed; 
    /* overflow: auto; */
    top: 75px;
    height: calc(100% - 75px);
    width: 100%!important;
    border-top: 0.05em darkgrey solid;
}
.main > .k-splitter .k-pane:first-child {
    /*background-color: #f5f3f3;*/
    padding: 5px;
}

main {
    height: 100%;
}
article {
    height: 100%;
}

article .k-tabstrip {
    height: calc(100% - 3px);
    margin-top: 3px;
}
.k-tabstrip-content, .k-tabstrip > .k-content {
    /*max-height: 80vh;*/
    padding-block: 0px!important;
    padding-inline: 0px!important;
}
.k-tabstrip-items .k-item {
    padding-right: 5px!important;
    border-right: solid 1px #bbbbbb!important;
    border-top-right-radius: 5px!important;
}
.k-tabstrip-items li [data-role="headertitle"] {
    text-transform: none!important;
}

.k-button {
    text-transform: none!important;
}


.k-switch {
    background-color: #3b943a;
    width: 38px!important;
    height: 20px!important;    
    border-radius: 10px;
    margin-bottom: 3px
}
.k-switch-off {
    background-color: darkgrey!important;
    width: 38px!important;
    height: 20px!important;    
    border-radius: 10px;
    margin-bottom: 3px
}
.k-switch .k-switch-track {
    background-color: transparent!important;
}
.k-switch-on .k-switch-thumb {
    background-color: white!important;
    width: 15px;
    height: 15px;
}
.k-switch-off .k-switch-thumb {
    background-color: white!important;
    width: 15px;
    height: 15px;
}

:root {
    --kendo-color-primary: #3b943a!important; 
    --kendo-color-primary-hover: #3b943a!important;
    --kendo-color-primary-active: #3b943a!important;
    --kendo-color-primary-emphasis: #97a0d7!important;
}


.section {
    margin: 0px;
    padding: 0px 5px 0px 5px;
}
.sectiontitle {
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 3px;
    /*border: dashed blue 0.005em;*/
}
.section.portfolio .sectiontitle {
    display: flex;
    text-wrap-mode: nowrap;
}
.sectioninfo {
    margin-bottom: 10px;
    /*border: dashed purple 0.005em;*/
}
.sectiondetails {
   margin-bottom: 10px;
   /*border: dashed green 0.005em;*/
}
.section .baustelleimage {
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
    padding-top: 30px;
}
.section .baustelleimage img {
    width: 50%;
    max-height: calc(100% - 70px);
}

.section.portfolio {
    width: 100%;
    height: 100%;
    display: table;
}
.section.portfolio .portfoliotree_refresh {
    background-color: none;
    background: none;
    border: none;
}
.section.portfolio .portfoliotree_refresh {
    position: relative;
    display: block;
    width: 30px;
    border: none;
    padding: 3px;
    z-index: 999;
    float: right;
}
.section.portfolio .portfoliotree_refresh>img {
    margin-left: 10px;
    width: 15px;
}
.section.portfolio button {
    width: 100%;
    font-size: smaller;
}
.section.satusbox {

}
section.statusbox .info {
    font-size: smaller;
    padding: 5px 0px 5px 0px;
    background-color: white;
}
.section.loginbox {

}
[data-role="checkboxesgroup"] label {
    margin-right: 10px;
}

.section.loginbox .languages {
    display: block;
    position: relative;
}
.section.loginbox .languages ul {
    display: block;
}
.section.loginbox .languages ul {
    
}
.section.loginbox .languages ul li {
    float: left;
    width: 80px;
}
.section.loginbox button {
    width: 100%;
    font-size: smaller;
    background-color: #f5f3f3;
}

.section.userinfobox {
    padding: 3px 5px 10px 5px;
    text-align: center;
    /*font-size: smaller;*/
    background-color: white;
}
.section.userinfobox button {
    width: 100%;
    font-size: smaller;
    background-color: #f5f3f3;
    margin-top: 10px;
}
.section.userinfobox .environment {
    width: 100%;
    font-size: smaller;
    margin-top: 5px;
    border-radius: 10px;
}



/* 1) Der Viewport: nur HIER wird gescrollt */
.section.licences.scrollable .table-viewport{
  /* Höhe nach deinem Layout, Beispiel: */
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  overflow-x: auto;  /* X-Scroll nur wenn nötig */
}

/* 2) Tabelle: fixed layout, kann breiter als der Viewport werden */
.section.licences.scrollable table{
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;           /* füllt den Viewport */
  min-width: 100%;       /* nicht kleiner als der Viewport */
  /* darf bei Bedarf breiter werden → X-Scroll durch den Viewport */
}
.section.licences.scrollable tr.selected td {
  background-color: #a9c6c1;
}
/* 3) Nicht-skalierbare Spalten: bleiben exakt so */
.section.licences.scrollable col.fixed{
  width: auto; /* Breite kommt aus dem style="width: …px" im <col> */
}

/* 4) Die flexible Spalte */
.section.licences.scrollable col.sizeable,
.section.licences.scrollable th.sizeable,
.section.licences.scrollable td.sizeable {
  width: auto;           /* nimmt Restbreite */
  min-width: 250px;      /* dein Wunschlimit */
  white-space: nowrap;   /* für Ellipsis */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Optional: schönere Spalten-Trennung, falls nötig */
.section.licences.scrollable th, 
.section.licences.scrollable td{
  padding: .4rem .6rem;
  /* border-bottom: 1px solid #eee; */
}














.leftpane {
    
}
.containerleftpane {
  position: absolute;
  display: flex;
  flex-direction: column;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.containerleftpanetop {
    
}
.containerleftpanemiddle {
  overflow: scroll;
  flex: 1;
  background-color: white;
}
.containerleftpanebottom {
    
}
.portfoliotree {
    position:relative;
    display:block;
   /* border: solid gray 0.05em;*/
    background-color: white;
}
.portfoliotree .k-treeview-md {
    max-height: 100%;
    line-height: 0.6;
}
.portfoliotree .k-treeview-top,
.portfoliotree .k-treeview-mid,
.portfoliotree .k-treeview-bot {
    padding: 0px;
    margin: 0px;
}
.portfoliotree .k-treeview-leaf {
    padding-inline: 0px!important;
}
.portfoliotree .k-treeview-item[aria-level="1"],
.portfoliotree .k-treeview-item[aria-level="2"]{
    padding-left: 20px;
}
.portfoliotree .k-treeview-item[aria-level="3"] {
    padding: 0px;
}

.containerrightpane {
    margin: 4px 0px 0px 0px;
}

/* Document-Icons */
[class*="documenticon_"] {
    display: inline-flex;
    width: 14px;
    height: 14px;
    margin-right: 3px;
}
[class*="documenticon_"][data-role="listcolumn"] {
    width: 24px!important;
    height: 24px!important;
    margin-right: 0px!important;
}
.documenticon_folder2 {
    background-image: url("../Images/PortfolioIcons/folder2.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_folder2Open {
    background-image: url("../Images/PortfolioIcons/folder2Open.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_folders2 {
    background-image: url("../Images/PortfolioIcons/folders2.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_folders2Open {
    background-image: url("../Images/PortfolioIcons/folders2Open.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_default {
    background-image: url("../Images/PortfolioIcons/documentDownload.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_documentDownload {
    background-image: url("../Images/PortfolioIcons/documentDownload.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_documentArchived {
    background-image: url("../Images/PortfolioIcons/documentArchived.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_document {
    background-image: url("../Images/PortfolioIcons/document.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_hasUpdate {
    background-image: url("../Images/PortfolioIcons/DocumentHasUpdate.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.documenticon_delete {
    background-image: url("../Images/PortfolioIcons/trash-can-regular.png");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
}

/* other Icons */
[class*="icon_"][data-role="tabstripheader"] {
    width: 20px!important;
    height: 20px!important;
    margin-right: 4px!important;
}
img[data-role="tabstripheader"] {
    width: 20px!important;
    height: 20px!important;
    margin-right: 4px!important;
}
.icon_lupe {
    background-image: url("../Images/Icons/lupe.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.searchbox_container {
    border-bottom: 0.05em darkgrey solid;
}
.searchbox_container .sectiontitle {
}
.searchbox {
    position: relative;
    display: block;
    background: none;
    background-color: none;
}
.searchbox::after {
    clear: both;
}
.searchbox_text {
    position: relative;
    display: block;
    width: calc(100% - 45px);
    margin-right: 5px;
    float: left;
}
.searchbox_button {
    position: relative;
    display: block;
    width: 35px;
    float: left;
}
.searchbox_button button {
    width: 30px;
    margin: 3px 0px 0px 0px;
    padding: 4px;
}
.searchbox_button button img {
    width: 16px;
}
.searchbox_languages {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}




.searchresults .grid-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    height: 100%;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

/* Einheitliches Grid für Header & Rows */
.searchresults .grid-header,
.searchresults .grid-row {
    display: grid;
    grid-template-columns: 150px 150px 80px 80px 1fr; /* Feste Breiten */
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.searchresults .grid-header {
    font-weight: bold;
    background-color: #f9f9f9;
    position: sticky;
    top: 0;
    z-index: 1;
}

.searchresults .grid-body {
    overflow-y: auto;
    flex-grow: 1;
}

.searchresults .grid-row {
    cursor: default;
}

.searchresults .grid-row:hover {
    background-color: #eef;
}

.searchresults .grid-row > div,
.searchresults grid-header > div {
    padding: 4px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-right: 1px solid #eee;
}

.searchresults .grid-row > div:last-child,
.grid-header > div:last-child {
    border-right: none;
}

.searchresults .resizable-column {
    position: relative;
    padding-right: 4px;
    padding-left: 8px;
    overflow: hidden;
}

/*.searchresults .resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    z-index: 10;
}*/




[data-fieldname][data-role="listcolumn"] {
    overflow: hidden;
    white-space: nowrap;
}
[data-fieldname="bezeichnung"][data-role="listcolumn"]  {
    overflow: unset!important;
    white-space: unset!important;
}
[data-fieldname="Jahr"] {
    text-align: center;
}
[data-fieldname="Sprach_Code"] {
    text-align: center;
}


/* TabStrip */
.k-tabstrip-item {
    background-color: #e8e5e5!important;
}
.k-tabstrip-item.k-active {
    background-color: #dedede!important;
}
.k-tabstrip-item .k-link {
    padding-block: 4px!important;
    padding-inline: 4px!important;
}
.k-tabstrip-item .k-link [data-role="headertitle"] {

}
.k-tabstrip-content .k-grid {
    height: calc(100vh - 70px);
}
/*.k-tabstrip-item button {
    width: 20px;
    height: 20px;
    margin-left: 4px;
}*/
.tabstriptab_close {
    width: 18px;
    height: 18px;
    margin-left: 4px;
    background-color: #dedede!important;
    border-radius: 4px;
    border-width: thin;
    border-color: #dedede;
    font-size: smaller;
}

.tabcontent {
    padding: 10px;
}


/* CtrlUpdateInfo */
[data-ctrl="CtrlUpdateInfo"] {

}
[data-ctrl="CtrlUpdateInfo"] .sectiontitle {
    position: relative;
    display: block;
    width: 100%;
}
[data-ctrl="CtrlUpdateInfo"] .sectioninfo {
    position: relative;
    display: block;
    width: 100%;
}
[data-ctrl="CtrlUpdateInfo"] .sectiondetails {
    position: relative;
    display: block;
    width: 100%;
}
[data-ctrl="CtrlUpdateInfo"] button {
    position: relative;
    display: block;
    width: calc(100% - 40px);
}



[data-ctrl="deviceId"] {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    /*font-size: 8px;*/
    /*color: darkgray;*/
    /*display: none;*/
}

/* CtrlSettings */
/* CtrlSettingsLanguages */
.section.settingslanguages {

}
.section.settingslanguages .languages {
    display: block;
    position: relative;
}
.section.settingslanguages .languages ul {
    display: block;
}
.section.settingslanguages .languages ul {
    
}
.section.settingslanguages .languages ul li {
    float: left;
    width: 75px;
}
/* CtrlSettingsPaths */
.section.settingspaths {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.settingspaths .path {
    display: block;
    position: relative;
    width: 100%;
    height: 35px;
    margin-bottom: 10px;
}
.section.settingspaths .path [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 190px;
    margin-right: 10px;
    float: left;
}
.section.settingspaths .path [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: calc(100% - 200px);
    float: left;
}
.section.settingspaths .path [data-ctrl="labelcontainer"]>[data-ctrl="content"]>.k-textbox {
    display: block;
    position: relative;
    width: calc(100% - 40px);
}
.section.settingspaths .path [data-ctrl="labelcontainer"]>[data-ctrl="content"]>.browsebutton {
    display: block;
    position: relative;
    width: 28px;
    float: left;
}
/* CtrlSettingsProxy */
.section.settingsnetworks {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
    height: 100%;
}
.section.settingsnetworks .info {
    display: block;
    position: relative;
    padding: 10px;
    width: 100%;
    background-color: lightgoldenrodyellow;
    border-radius: 10px;
}
.section.settingsnetworks .info .images {
    display: block;
    position: relative;
    padding: 10px;
    width: 100%;
}
.section.settingsnetworks .info .images img {
    display: block;
    position: relative;
    width: calc(50% - 30px);
    min-width: 250px;
    margin-right: 10px;
    border-radius: 5px;
    float: left;
}
/*              Credentials */
.section.settingsnetworks .credentials {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 30px;
}
.section.settingsnetworks .credentials [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 190px;
    margin-right: 10px;
    float: left;
}
.section.settingsnetworks .credentials [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: calc(100% - 200px);
    float: left;
}
.section.settingsnetworks .credentials .value {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.section.settingsnetworks .credentials .value [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 170px;
    margin-left: 20px;
    margin-right: 10px;
    float: left;
}
.section.settingsnetworks .credentials .value [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: calc(100% - 200px);
    float: left;
}
.section.settingsnetworks .credentials .value [data-ctrl="labelcontainer"]>[data-ctrl="content"]>.k-textbox {
    display: block;
    position: relative;
    max-width: 300px;
    width: calc(100% - 40px);
}
/*              Proxy */
.section.settingsnetworks .useproxy {
    display: block;
    position: relative;
    width: 100%;
    height: 15px;
    margin-bottom: 10px;
}
.section.settingsnetworks .useproxy [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 190px;
    margin-right: 10px;
    float: left;
}
.section.settingsnetworks .useproxy [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: calc(100% - 200px);
    float: left;
}
.section.settingsnetworks .useproxy [data-ctrl="labelcontainer"]>[data-ctrl="content"]>.k-textbox {
    display: block;
    position: relative;
    width: calc(100% - 40px);
}
.section.settingsnetworks .proxytype {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
/*                  Default, Host + PAC */
.section.settingsnetworks .proxytype .value {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.section.settingsnetworks .proxytype .value [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 170px;
    margin-left: 20px;
    margin-right: 10px;
    float: left;
}
.section.settingsnetworks .proxytype .value [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: calc(100% - 200px);
    float: left;
}
.section.settingsnetworks .proxytype .value [data-ctrl="labelcontainer"]>[data-ctrl="content"]>.k-textbox {
    display: block;
    position: relative;
    max-width: 300px;
    width: calc(100% - 40px);
}
.section.settingsnetworks .proxytype .value [data-ctrl="labelcontainer"]>[data-ctrl="content"]>.k-numerictextbox {
    display: block;
    position: relative;
    max-width: 70px;
    width: calc(100% - 40px);
}
/*              Connection-Test */
.section.connectiontest {
    display: block;
    position: absolute;
    width: calc(100% - 15px);
    min-height: 60px;
    bottom: 5px;
    margin-top: 50px;
    padding: 10px;
    background-color: #e5e5e5;
}
.section.connectiontest button {
    width: 100%;
    font-size: smaller;
    margin-bottom: 10px;
}
.section.connectiontest button.success {
    color: white;
    background-color: darkgreen;
}
.section.connectiontest button.fail {
    color: white;
    background-color: darkred;
}
.section.connectiontest .result.success {
    color: darkgreen;
}
.section.connectiontest .result.fail {
    color: darkred;
}
/* CtrlSettingsOptions */
.section.settingsoptions {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.settingsoptions .option {
    display: block;
    position: relative;
    width: 100%;
    height: 25px;
    margin-bottom: 10px;
}
.section.settingsoptions .option [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 400px;
    margin-right: 10px;
    float: left;
}
.section.settingsoptions .option [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: calc(100% - 410px);
    float: left;
}
.section.settingsoptions .option.updatesrl {
    display: none;
}
.section.settingsoptions .option.updatesrd {
    display: none;
}
/* CtrlSettingsFonts */
.section.settingsfonts {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.settingsfonts .font {
    display: block;
    position: relative;
    width: 100%;
    height: 25px;
    margin-bottom: 10px;
}
.section.settingsfonts .font [data-ctrl="labelcontainer"] {
    display: block;
    position: relative;
    width: 100%;
}
.section.settingsfonts .font [data-ctrl="labelcontainer"]>span {
    display: block;
    position: relative;
    width: 170px;
    margin-right: 10px;
    float: left;
}
.section.settingsfonts .font [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: inline-flex;
    position: relative;
    width: 250px;
    float: left;
}
.section.settingsfonts .font.fontsize [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    width: 80px;
}
/* CtrlAccount */
.section.account {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.account [data-ctrl="labelcontainer"] {
    clear: both;
}
.section.account [data-ctrl="labelcontainer"]>span {
    width: 150px;
    margin-right: 10px;
    float: left;
}
.section.account [data-ctrl="labelcontainer"] [data-ctrl="content"] {
    width: calc(100% - 170px);
    margin-right: 10px;
    float: left;
}

.section.account [data-ctrl="labelcontainer"] [data-ctrl="content"]>span {
    width: calc(50% - 10px);
    min-width: 200px;
    max-width: 300px;
    margin-right: 10px;
    float: left;
}
.section.account [data-ctrl="labelcontainer"] [data-ctrl="content"] .info {
    display: block;
    position: relative;
    padding: 10px;
    width: 50%;
    min-width: 200px;
    max-width: 300px;
    background-color: lightgoldenrodyellow;
    border-radius: 5px;
    float: left;
}
.section.account [data-ctrl="labelcontainer"] {
    clear: both;
}
.section.account [data-ctrl="labelcontainer"].strasse_nr [data-ctrl="content"]>span:first-child {
    width: calc(50% - 10px - 10px - 70px);
    min-width: calc(200px - 10px - 70px);
    max-width: calc(300px - 10px - 70px);
}
.section.account [data-ctrl="labelcontainer"].strasse_nr [data-ctrl="content"]>span:last-child {
    width: 70px;
    min-width: unset;
    max-width: unset;
}
.section.account [data-ctrl="labelcontainer"].zip_city [data-ctrl="content"]>span:first-child {
    width: 80px;
    min-width: unset;
    max-width: unset;
}
.section.account [data-ctrl="labelcontainer"].zip_city [data-ctrl="content"]>span:last-child {
    width: calc(50% - 10px - 10px - 80px);
    min-width: calc(200px - 10px - 80px);
    max-width: calc(300px - 10px - 80px);
}
.section.account.submit {
    display: block;
    position: relative;
    width: 100%;
}
.section.account.submit button {
    display: block;
    position: relative;
    width: 100%!important;
}
.section.account.submit .result {
    display: block;
    position: relative;
    width: 100%!important;
    margin: 10px 0px 10px 0px;
    padding: 10px;
    border-radius: 5px;
}
.section.account.submit .result.error {
    color: white;
    background-color: darkred;
    font-weight: bold;
}
.section.account.submit .result.success {
    color: white;
    background-color: darkgreen;
    font-weight: bold;
}
/* CtrlHtmlDisplay */
.section.htmldisplay {
    padding: 10px;
}



/* CtrlAbout */
.section.about {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
/* CtrlDevices */
.section.devices {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
/* CtrlDocumentsManager */
.section.documentsmanager {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.documentsmanager [data-role="options"] {
    margin-bottom: 20px;
}
.section.documentsmanager [data-role="options"] [data-role="icon"] {
    width: 20px!important;
    height: 20px!important;
}
.section.documentsmanager [data-role="options"] [data-role="sync-state"] {
    display: block;
    position: relative;
    margin-bottom: 20px;
    border: solid 0.1em gray;
    float: left;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] tr[data-type="header"] {
    font-weight: bold;
    background-color: lightgray;
    border-bottom: 0.1em solid black;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] tr[data-type="header"] button {
    width: 16px;
    height: 16px;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] td {
    margin: 2px 10px 2px 10px;
    padding: 0px 10px 0px 10px;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] td[data-location=""] {
    background-color: lightgray;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] td[data-location="locally"] {
    font-weight: bold;
    text-align: center;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] td[data-location="centrally"] {
    font-weight: bold;
    text-align: center;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] tr[data-type="totally"] td:first-child {
    text-align: right;
    border-top: 0.1em solid black;
}
.section.documentsmanager [data-role="options"]  [data-role="sync-state"] tr[data-type="totally"] td:last-child {
    text-align: center;
    background-color: lightgray;
    border-top: 0.1em solid black;
}

.section.documentsmanager [data-role="options"] [data-role="doc-state"] {
    display: none;
    position: relative;
    margin-bottom: 20px;
    border: solid 0.1em gray;
    float: right;
}
.section.documentsmanager [data-role="options"] [data-role="doc-state"] [data-type="header"] {
    font-weight: bold;
    background-color: lightgray;
}

.section.documentsmanager [data-role="options"] button {
    width: 100%;
}
.section.documentsmanager [data-role="infos"] {
    margin-bottom: 20px;
}

/* CtrlLicences */
.section.licences {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.licences .info {
    display: block;
    position: relative;
    padding: 10px;
    width: 100%;
    background-color: lightgoldenrodyellow;
    border-radius: 10px;
    margin-bottom: 10px;
}
.section.licences .number .k-textbox {
    width: 150px;
    margin-bottom: 5px;
}
.section.licences .number .switchwithtext {
    width: 150px;
    margin-bottom: 5px;
}
.section.licences .number button {
    min-width: 150px;
    margin-bottom: 5px;
}

/* CtrlOfflineDocument */
.section.offlinedocument {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.offlinedocument .icon {
    width: 24px;
    height: 24px;
    padding-right: 5px;
}
.section.offlinedocument .form {
    width: 30%;
    min-width: 400px;
    margin-top: 50px;
}
.section.offlinedocument .form button {
    width: 100%;
}
/* CtrlOfflineLicense */
.section.offlinelicense {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.offlinelicense .icon {
    width: 24px;
    height: 24px;
    padding-right: 5px;
}
.section.offlinelicense .loginbox {
    width: 30%;
    min-width: 400px;
    margin-top: 50px;
}

/* PDF Viewer */
[data-role="watermark-config"] {
    display: none;
}
[data-role="pdfviewer"] {
    /*height: calc(100vh - 75px)!important;*/
    height: calc(100vh - 87px)!important;
}

/* CtrlInsider */
.section.insider {
    display: block;
    position: relative;
    padding-top: 10px;
    padding-right: 10px;
}
.section.insider .informations {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}
.section.insider .options {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}
.section.insider .data {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}
.section.insider [data-ctrl="labelcontainer"] {
    width: 100%;
    margin-bottom: 5px;
}
.section.insider [data-ctrl="labelcontainer"]>span {
    display: block!important;
    width: 150px!important;
    margin-right: 5px;
    float: left;
}
.section.insider [data-ctrl="labelcontainer"]>[data-ctrl="content"] {
    display: block!important;
    width: calc(100% - 155px)!important;
    float: left;
}

/* CtrlErrorMessage */
.section.errormessage {
    display: block;
    position: relative;
    height: calc(100vh - 10px);
    padding: 0px;
    margin: 0px;
    background-color: #ff000017;
}
.centralpopout {
    padding: 20px;
    border: outset 5px lightgray;
    left: 25%;
    width: 50%;
    min-width: 300px;
    top: 150px;
}
.error.centralpopout {
    border-color: darkred;
}
.centralpopout [data-role="title"] {
    color: white;
    background-color: red;
}
.centralpopout [data-role="message"] {
    padding: 10px;
    color: red;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 5px;
}
.centralpopout button {
    width: 100%;
    margin-bottom: 20px;
}
.centralpopout [data-role="report-info"] {
    padding: 10px;
    color: red;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 5px;
}
.centralpopout [data-role="error-infos"] {
    padding: 10px;
    color: red;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 5px;
}
.centralpopout [data-role="error-infos"] [data-role="error-message"] {
    
}
.centralpopout [data-role="error-infos"] [data-role="error-stacktrace"] {
    
}





/* CtrlDocumentsTabStrip */
.tab-header-wrapper {
    flex-shrink: 0;
/*    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;*/
}

.tab-header {
    display: inline-flex;
    gap: 4px;
}

.tab-button {
    display: flex;
    align-items: center;
    max-width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
    background-color: #f2f2f2;
    padding: 2px;
    flex-shrink: 0;
}
.tab-button.active {
    background-color: white;
    border-bottom: 2px solid #007acc;
}
.tab-title {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
    padding: 4px;
    flex-grow: 1;
}
.tab-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tab-close {
    all: unset;
    cursor: pointer;
    padding: 0 6px;
    font-weight: bold;
    color: #888;
}
.tab-close:hover {
    color: #c00;
}

.tabstrip-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* Füllt verfügbaren Raum */
    overflow: hidden;
}

.tab-content {
    flex-grow: 1;
    min-height: 0;
    overflow: hidden; /* nicht scrollen – das macht der Inhalt */
}
.tab-content > div {
    height: 100%; /* falls ChildContent mitarbeitet */
}



.pdf-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.75); /* Optional: leichter Dim-Effekt */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pdf-viewer-full {
  width: 100vw;
  height: 100vh;
  border: none;
  background: white;
}
.pdf-close-btn {
  position: absolute;
  top: 1rem;
  right: 2rem;
  z-index: 10000;
  font-size: 2rem;
  color: black;
  background: transparent;
  border: none;
  cursor: pointer;
}
@media print {
  .pdf-close-btn {
    display: none; /* Overlay nicht drucken */
  }
}