* {box-sizing: border-box;}

h1 {font-size: 26px; font-weight: bold;}
h2 {font-size: 24px; font-weight: bold;}
h3 {font-size: 22px; font-weight: bold;}
h4 {font-size: 20px; font-weight: bold;}
h5 {font-size: 18px; font-weight: bold;}
h6 {font-size: 16px; font-weight: bold;}

hr {border-top: 1px dotted var(--my-hr-color); padding: 0px; margin: 5px;}
img {max-width:100%;height:auto;}/*force responsive*/

@keyframes docontentfading
{
  0% {opacity: 0.25;}
  100% {opacity: 1;}
}

.my-contentfade
{
  animation: docontentfading 0.5s;
}

@keyframes domenufading
{
  0% {opacity: 0.25;}
  100% {opacity: 0.95;}
}

.my-menufade
{
  animation: domenufading .5s;
}

.menu-item
{
  position: relative;
  padding-left: 20px;
  line-height: normal;
}

.menu-item::before
{
  content: attr(data-icon);
  position: absolute;
  left: 0px;
}

p
{
  text-align: justify;
  vertical-align: top;
  margin-top: 0px;
}

ul
{
  margin-top: 0em;
  list-style-type: circle;
}

table td
{
  vertical-align: top;
}

a
{
  color: var(--my-a-color);
  text-decoration: underline;
}

a:hover
{
  color: var(--my-aHover-color);
}

.quoteId
{
  padding-left: 1px;
  border-bottom: 2px dashed var(--my-quoteId-color);
}

.quoteId:hover
{
  cursor: pointer;
  border-bottom: solid 5px var(--my-quoteIdHover-color);
}

.submit
{
  border-color: var(--my-submitBorderColor-color);
  background-color: var(--my-submitBackgroundColor-color);
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: rgba(228, 121, 17, .5) 0 0 3px 2px;
  cursor: pointer;
  display: inline-block;
  height: auto;
  outline: 0;
  /*overflow: hidden;*/
  padding: 0px 5px;
  color: var(--my-submit-color);
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  user-select: none;
  white-space: nowrap;
}

.submit:active
{
  border-bottom-color: var(--my-submitActiveBorderBottom-color);
  box-shadow: rgba(255,255,255,.6) 0 1px 0 inset;
}

.submit:active:hover
{
  border-bottom-color: var(--my-submitActiveHoverBorderBottomColor);
}

.submit:hover
{
  border-color: var(--my-submitHover-borderolor-color);
}

/* ----- */
/* ----- */
/* ----- */
a.my-menulink
{
  color: var(--my-a-my-menulink-color);
}

a.my-menulink:link
{
  text-decoration: none;
}

a.my-menulink:visited
{
  text-decoration: none;
}

a.my-menulink:hover
{
  color: #ffffff;
}

.my-caption
{
  margin: 0px;
  font-weight: bold;
  font-style: italic;
}

/* ---------- */
/* ---------- */
/* ---------- */
.collapsible
{
  border-color: var(--my-submitBorderColor-color);
  /*background-color: #ffc107;*/
  background-color: var(--my-submitBackgroundColor-color);
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: rgba(228, 121, 17, .5) 0 0 3px 2px;
  cursor: pointer;
  padding: 2px 0px 2px 2px;
  width: 100%;
  text-align: left;
  outline: none;
}

.collapsible:Before
{
  content: '\0271B';
  font-size: 16px;
  color: var(--my-noteMsgColor);
  padding-right: 10px;
}

.collapsible:Hover
{
  background-color: #9e9e9e;
}

.collapsibleActive
{
  /*background-color: #ff7107;*/
}

.collapsibleActive:Before
{
  content: '\2716';
  font-size: 16px;
  color: var(--my-errorMsgColor);
}

.collapsibleContent
{
  display: none;
  overflow: hidden;
}

.slideshow {display: none}
.w3-left, .w3-right, .w3-badge {cursor: pointer}
.w3-badge {height: 13px; width: 13px; padding: 0}

/*taken over from w3.css and adapted for own needs*/
.w3-dropdown-hover:hover > .w3-button:first-child,.w3-dropdown-click:hover > .w3-button:first-child{background-color: var(--my-menuBgColor2); color: var(--my-menuColor2)}
.w3-button:hover{color: var(--my-menuColor2)!important; background-color: var(--my-menuBgColor2)!important}

/*table copied from w3.css and adapted for own needs*/
.my-table{border-collapse:collapse;border-spacing:0;display:table}
.my-table thead>tr>th{background-color: var(--my-tableBgColor3);}
.my-table{border:1px solid var(--my-tableBgColor3);}
.my-table th{border-right:1px solid var(--my-tableBgColor3);}
.my-table tr{border-bottom:1px solid var(--my-tableBgColor3);}
.my-table td{border-right:1px solid var(--my-tableBgColor3);}
.my-striped tbody tr:nth-child(odd){background-color: var(--my-tableBgColor1);}
.my-striped tbody tr:nth-child(even){background-color: var(--my-tableBgColor2);} 
.my-hoverable tbody tr:hover,.my-ul.my-hoverable li:hover{background-color: var(--my-tableBgColor3);}.my-centered tr th,.my-centered tr td{text-align:center}
.my-table td,.my-table th{padding:0px 4px;display:table-cell;text-align:left;vertical-align:top}
.my-table th:first-child,.my-table td:first-child{padding-left:4px}
.my-table-nowrap td{white-space:nowrap}


.my-ul{list-style-type:none;padding:0;margin:0}.my-ul li{padding:4px 16px;}}

/* ---------- */
/* ---------- */
/* ---------- */
.popuptable
{
  font-size: 10pt;
  border: 1px solid #ff7700;
  border-spacing: 0px;
  border-collapse: collapse;
}

.popuptable table
{
  font-size: 10pt;
  border: none;
  border-spacing: 0px;
  border-collapse: collapse;
}

.popuptable table td
{
  font-size: 8pt;
  border: none;
  vertical-align: top;
  padding: 0px;
}

.popuptable th
{
  font-size: 8pt;
  vertical-align: bottom;
  background-color: #ff7700;
  border: 1px solid #ff7700;
  white-space: nowrap;
  padding-left: 5px;
  padding-right: 5px;
  color: #000000;
}

.popuptable td
{
  font-size: 8pt;
  border: 1px solid #ff7700;
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.popuptable a
{
  font-size: 8pt;
  color: #dd3300;
  font-weight: bold;
  text-decoration: none;
}


/* ---------- */
/* ---------- */
/* ---------- */
.statistictable
{
  color: #000000;
  border: 1px solid #000000;
  border-spacing: 5px;
  padding-left: 5px;
  padding-right: 5px;
  border-collapse: collapse;
  font-size: 6pt;
}

.statistictable th
{
  background-color: #ff7700;
  border: 1px solid #000000;
  padding-left: 2px;
  padding-right: 2px;
}

.statistictable td
{
  border: 1px solid #000000;
  vertical-align: top;
  text-align: right;
  white-space: nowrap;
  padding-left: 2px;
  padding-right: 2px;
}

.statisticHeader
{
  background-color: #ff7700;
}

.statisticIn
{
  background-color: #00ee00;
}

.statisticOut
{
  background-color: #ee0000;
}

.statisticNeutral
{
  /*background-color: #ffcc77;*/
  background-color: #dddddd;
  color: #aaaaaa;
}

.statusbutton
{
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  border: solid 1px;
  background-color: #f0f0f0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease; /* Für den Hover-Effekt */
}

.statusbutton:hover
{
  background-color: #dcdcdc;
  transform: scale(1.1);
}

.statusbtn_0
{
  background-image: url('/style/status_0.png');
}

.statusbtn_1
{
  background-image: url('/style/status_1.png');
}

.statusbtn_2
{
  background-image: url('/style/status_2.png');
}

/* ------------- */
/* toggle slider */
/* ------------- */
.switch
{
  position: relative;
  display: inline-block;
  width: 24px;
  height: 14px;
}

.switch input
{ 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider
{
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cccccc;
  border-radius: 10px;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before
{
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider
{
  background-color: #ff9900;
}

input:focus + .slider
{
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before
{
  -webkit-transform: translateX(10px);
  -ms-transform: translateX(10px);
  transform: translateX(10px);
}
/* ---------- */

.QuickAccess
{
  color: #eeeeee;
  font-size: %85;
}

.QuickAccess a
{
  color: #eeeeee;
  text-decoration: none;
}

.QuickAccess a:hover
{
  color: #ffff00;
}


/* ------------ */
/* modal window */
/* ------------ */
.modalWin
{
  display: none; /* hidden by default */
  position: fixed; /* stay in place */
  z-index: 500000; /* sit on top */
  //padding-top: 200px; /* Location of the box */
  left: 0px;
  top: 0px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.modalContent_orig
{
  background-color: #ff9800;
  color: #ff0000;
  position: absolute;
  font-weight: bold;
  font-size: 125%;
  text-align: center;  
  left: 0px;
  top: 100px;
  margin: auto;
  padding: 10px;
  border: 1px solid #888888;
  
}

.modalContent
{
  background-color: #ff9800;
  position: fixed;
  inset: 0px;
  width: fit-content;
  height: fit-content;
  margin: auto;  
  padding: 10px;
  border: 1px solid #888888;
  border-radius: 10px;
}
/* ---------- */

/* ------------ */
/* popup window */
/* ------------ */
.textPopupWin
{
  display: none; /* hidden by default */
  position: fixed; /* stay in place */
  z-index: 1000; /* sit on top */
  padding-top: 200px; /* Location of the box */
  left: 0px;
  top: 0px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.textPopupContent
{
  position: relative;
  font-weight: bold;
  text-align: center;  
  left: 0px;
  top: 0px;
  width: 90%; /* Full width */
  height: 100%; /* Full height */
  margin: auto;
  padding: 2px;
}