.chartcustomer {
  font-family: system-ui, Arial, sans-serif;
  line-height: 1.45;
  padding: 20px;
  background: #f5f5f5;
  color: #222;
}

.chartcustomer h1 {
  font-size: 2rem;          /* moderne, klare Größe */
  line-height: 1.3;         /* NICHT gestaucht */
  font-weight: 600;         /* mittleres Bold – sauber, nicht fettgequetscht */
  margin-bottom: 20px;
  text-align: center;
}

    .chartcustomer .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }

    .chartcustomer .card {
      background: #fff;
      border-radius: 12px;
      padding: 16px 18px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .chartcustomer .card h2 {
      margin: 0 0 10px;
      font-size: 1.1rem;
    }

    .chartcustomer table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }

    .chartcustomer th,
    .chartcustomer td {
      padding: 6px 8px;
      text-align: right;
      border-bottom: 1px solid #e0e0e0;
      white-space: nowrap;
    }

    .chartcustomer th:first-child,
    .chartcustomer td:first-child {
      text-align: left;
    }

    .chartcustomer th {
      font-weight: 600;
      background: #fafafa;
    }

    /* Charts */
.chartcustomer .chart-card {
    height: 430px;
    position: relative;
    box-sizing: border-box;
}

.chartcustomer .chart-card canvas {
    width: 100% !important;
    height: 340px !important;
}
.object-info {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #2a2a2a;
}

.object-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #005b8f;
}

.object-info h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: #457b9d;
  border-bottom: 2px solid #d0e3f0;
  padding-bottom: 0.3rem;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0em;
  margin-bottom: 0.5rem;
}

.info-block {
  min-width: 240px;
  background-color: #f9f9f9;
  border-left: 4px solid transparent;
  border-radius: 6px;
  padding: 1rem;
  transition: background 0.3s ease;
}

.info-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

/* Hervorgehobene Felder */
.info-block.highlight {
  background-color: #fff8e6;
  border-left-color: #f9b115;
}

/* Hover Effekt optional */
.info-block:hover {
  background-color: #f1f7fb;
}


                  .infoahead {
  border-bottom: 1px dashed blue;
  clear: both;
}
.clearer {
clear: both;
}

.fixhead {
 position: sticky;
  top: 50px;  /* 0px if you don't have a navbar, but something is required */
  background: white;
}

#fixedpos {
 position: fixed;
 background: white;
}

#sticky {
 position: fixed;
 background: white;
}

#monat tr {
  background: #D8E7ED;
}
#monat td {
padding: 0 10px 0 10px;
}
.td-pad {
padding-top: 40px;
}

.workflow-td{
background: #D8E7ED;
margin-bottom: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 3px;
}

.round-a a {
  font-size: 12px;
  border-radius: 5px;
  background: #C9BFC3;
  padding: 2px;
  display: inline-block;
  margin-bottom: 10px;
}

.workflow-0 {
  background: #aaaaaa;
}
.workflow-1 {
  background: #d96666;
}
.workflow-2 {
  background: #e67399;
} 
.workflow-6 {
  background: #668cd9;
}         
.workflow-12 {
  background: #e0c240;
}

.workflow-9 {
  background: #4cb052;
}

.workflow-10 {
  background: #528800;
}
                
.deak {
    background: #CCCCCC;
    color: black;

}

.button-link {
    display: block;
    padding: 10px 15px;
    background: #4479BA;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.button-link-sm {
    display: block;
    padding: 5px 10px;
    background: #13AD32;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

#morefields {
  margin: 20px;
  padding: 5px;
}
.showmore2 { 
display: inline-block;
   margin-top: 10px;
   overflow: hidden;
   cursor:pointer;         
    padding: 10px 15px;
    background: #4479BA;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}
.button-link:hover {
    background: #356094;
    border: solid 1px #2A4E77;
    text-decoration: none;
}

.button-link:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #2E5481;
    border: solid 1px #203E5F;
}

.az-table {
  border-spacing:0px 4px;
}

.az-table td {
padding: 1px 4px;
}
.deak {
    background: #CCCCCC;
    color: black;

}
.deak:hover {
      background: #CCCCCC;
}
.az-std {
  background:#c0c0c0;
}

.az-we {
  background:#F29DBF;
}

.az-open {
  background:#FF0000;
}

.az-today {
  border: 2px solid blue;
}

.az-urlaub-work {     
  background:#03FF31;
  border: 3px solid red;
}

.az-beantragt-work {
  background:#FFB300;
  border: 3px solid red;
}

.az-feiertag-work {
  background:#F29DBF;
  border: 3px solid red;
}

.az-au-work {
  background:#FFFB00;
  border: 3px solid red;              
}

.az-geblockt-work {
  background:#008f00;
  border: 3px solid red;              
}

.az-ferien {
  border: 3px solid green;
}
.az-urlaubssperre {
  border: 3px solid #A52DF5;
}
.az-ferien-urlaubssperre {
  border-left: 3px solid green;
  border-top: 3px solid green;
  border-bottom: 3px solid #A52DF5;
  border-right: 3px solid #A52DF5;
}
  

.highlightme {
  border: 2px solid green;
}

.highlightstat {
  border-bottom: 2px dotted green;
}


.az-highlight {
  background: orange;
}

.az-work {
  background:#C9EBF5;
}
.az-urlaub {
  background:#93F5BD;
}
.az-frueh {
  background:#64D4C7;  
}
.az-spaet {
  background:#DB49AC;
}

.kj-urlaub {
  background:#03FF31;  
}

.kj-urlaub-beantragt{
  background: #FFB300;
}

.kj-au {
  background:#FFFB00;
}

.kj-bereit {
  background: #0008FF;
  color: white;
} 
.kj-geblockt {
  background: #008f00;
}
.kj-we {
 background:#F29DBF;
}
.kj-work {
  background:#C9EBF5;
}
.editable {
cursor:pointer;
}

.re-open{
  background:#F29DBF;
}
.re-done{
   background:#03FF31;
}

/* ============================================================================================================================
== BUBBLE WITH A BORDER AND TRIANGLE
** ============================================================================================================================ */

/* THE SPEECH BUBBLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border {
	position:relative;
	padding:15px;
	margin:0.5em 0 0.5em;
	border:5px solid #5a8f00;
	color:#333;
	background:#fff;
	/* css3 */
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}

/* Variant : for left positioned triangle
------------------------------------------ */

.triangle-border.left {
	margin-left:30px;
}

/* Variant : for right positioned triangle
------------------------------------------ */

.triangle-border.right {
border:5px solid #c81e2b;
	margin-right:30px;
}

/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border.right:before {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:40px; /* controls horizontal position */
    border-width:20px 20px 0;
	border-style:solid;
    border-color: #c81e2b transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* creates the smaller  triangle */
.triangle-border.right:after {
	content:"";
	position:absolute;
	bottom:-13px; /* value = - border-top-width - border-bottom-width */
	left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
	border-width:13px 13px 0;
	border-style:solid;
	border-color:#fff transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}
/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border.left:before {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:40px; /* controls horizontal position */
    border-width:20px 20px 0;
	border-style:solid;
    border-color:#5a8f00 transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* creates the smaller  triangle */
.triangle-border.left:after {
	content:"";
	position:absolute;
	bottom:-13px; /* value = - border-top-width - border-bottom-width */
	left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
	border-width:13px 13px 0;
	border-style:solid;
	border-color:#fff transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* Variant : top
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.top:before {
	top:-20px; /* value = - border-top-width - border-bottom-width */
	bottom:auto;
	left:auto;
	right:40px; /* controls horizontal position */
    border-width:0 20px 20px;
}

/* creates the smaller  triangle */
.triangle-border.top:after {
	top:-13px; /* value = - border-top-width - border-bottom-width */
	bottom:auto;
	left:auto;
	right:47px; /* value = (:before right) + (:before border-right) - (:after border-right) */
    border-width:0 13px 13px;
}

/* Variant : left
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.left:before {
	top:10px; /* controls vertical position */
	bottom:auto;
	left:-30px; /* value = - border-left-width - border-right-width */
	border-width:15px 30px 15px 0;
	border-color:transparent #5a8f00;
}

/* creates the smaller  triangle */
.triangle-border.left:after {
	top:16px; /* value = (:before top) + (:before border-top) - (:after border-top) */
	bottom:auto;
	left:-21px; /* value = - border-left-width - border-right-width */
	border-width:9px 21px 9px 0;
	border-color:transparent #fff;
}

/* Variant : right
------------------------------------------ */

/* creates the larger triangle */
.triangle-border.right:before {
	top:10px; /* controls vertical position */
	bottom:auto;
    left:auto;
	right:-30px; /* value = - border-left-width - border-right-width */
	border-width:15px 0 15px 30px;
	border-color:transparent #c81e2b;
}

/* creates the smaller  triangle */
.triangle-border.right:after {
	top:16px; /* value = (:before top) + (:before border-top) - (:after border-top) */
	bottom:auto;
    left:auto;
	right:-21px; /* value = - border-left-width - border-right-width */
	border-width:9px 0 9px 21px;
	border-color:transparent #fff;
}
.small-p {margin: 5px 0 5px 0;}


/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/cssplay-definition-list-menu.html
Copyright (c) Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
div.menu {text-align:center; position:relative; z-index:100; margin:20px 0 20px 0;}
div.menu dl {padding:0; margin:0; display:inline-block; position:relative; text-align:left;}
div.menu dl a {display:block; white-space:nowrap; font: 15px/35px 'Federant', arial, sans-serif; text-decoration:none; color:#fff; padding:0 10px;}
div.menu dl {*display:inline;}
div.menu dt {height:35px; line-height:35px; background:#09c; border-radius:8px 8px 0 0; margin-right:1px; border-bottom:1px solid #fff;}
div.menu dd {position:absolute; left:0; top:36px; padding:0; margin:0; display:none; background:#069; border-radius:0 0 8px 8px; padding:8px 0; box-shadow:0 15px 10px -15px rgba(0,0,0,0.4);}
div.menu dd a {line-height:25px;}
div.menu dl.right dd {left:auto; right:1px;}
div.menu dl:hover dd {display:block;}
div.menu dl:hover dt {background:#069;}
div.menu dl:hover dt.sub {border-bottom-color:#069;}
div.menu dl dd a:hover {background:#09c;}
div.menu img {position:fixed; z-index:-1; left:0; top:0; width:100%; height:100%; display:none;}
div.menu dl:hover ~ img {display:block;}
div.menu dl.active dt {
  background: #f90; /* orange statt blau */
  border-bottom-color: #f90;
  font-weight: bold;
}

.prediv {
	background:#f5f5f5;

  margin-bottom:1em;

  padding:10px;
  border:1px solid #bbb;
	/*corner*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.prediv { height:auto;font: 14px "Courier New", Courier, monospace,Sans-Serif;}
.formeecode span {font-weight: bolder; color:#780234;}

.vertHead th  {
   position: -webkit-sticky; position: sticky;top: 0;background: white;
   vertical-align: bottom;
   text-align: center;
}

.vertHead th span {
   -ms-writing-mode: bt-lr;
   writing-mode: vertical-lr;
   transform:rotate(180deg)
}

.tooltips {
    cellspacing: 10px;
    cellpadding: 20px;

}
.tooltips td {
     padding: 10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


    #link-uebersicht {
      font-family: Arial, sans-serif;
      padding: 10px;
      background-color: #f4f4f4;
    }

    #link-uebersicht h1 {
      margin-bottom: 5px;
    }

    #link-uebersicht h2 {
      color: #333;
      margin-top: 20px;
    }

    #link-uebersicht .category {
      margin-bottom: 20px;
    }

    #link-uebersicht .link-button {
      display: block;
      background-color: #007BFF;
      color: white;
      padding: 10px 15px;
      margin: 5px 0;
      text-decoration: none;
      border-radius: 8px;
      font-size: 14px;
      transition: background-color 0.2s ease;
    }

    #link-uebersicht .link-button:hover {
      background-color: #0056b3;
    }
    #link-uebersicht .link-row {
  display: flex;
  gap: 5px;
  margin: 5px 0;
}

#link-uebersicht .link-row .link-button {
  flex: 1;
  margin: 0; /* überschreibt das alte margin */
}

#link-uebersicht .phone-button {
  background-color: #28a745;
  color: white;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

#link-uebersicht .phone-button:hover {
  background-color: #1e7e34;
}
#link-uebersicht .info-button {
  background-color: #6c757d;
  color: white;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

#link-uebersicht .info-button:hover {
  background-color: #545b62;
}

/* MODAL */
#info-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

#info-modal .modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

#info-modal .close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}