:root {
  --dashboardHeaderHeight: 7vmin;
}

#dashboard {
    left: 0px;
    display: none;
    z-index: 1000;
    position: fixed;
    height: calc(100% - var(--headerHeight));
    width: 100%;
    background: rgb(250,250,250);
    overflow: hidden;
    font-family: 'Ubuntu', sans-serif;
}

#dashboardContextMenu{
    z-index: 3;
    position: fixed;
    height: 10vmin;
    display: block;
    background: var(--background-color);
    text-align: left;
    border-radius: 1vmin;
    border: 1px solid var(--second-color-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    background: var( --background-color);
    opacity: 0;
    color: var( --text-color-sidePanel);
    font-weight: bold;
    padding: 1vmin;
    line-height: 120%;
    font-size: 1.2vmin;
}

#dashboardTemplateTitle {
    text-align: center;
    font-size: 2vmin;
    width: -webkit-fill-available;
}

.dashboardHeaderButton {
    font-size: 2.3vmin;
    padding-right: 1.5vmin;
    cursor: pointer;
    margin-top: -2vmin;
}

#dashboardContextMenu label:hover {
    background-color: var(--second-color-lightest);
    cursor: pointer;
    color: var(--main-color);

}

#dashboardContextMenuHeader{
    font-size: 1.2vmin;
}

.dashboard {
    top: calc(var(--headerHeight) - 2px);
}

.dashboardFullScreen {
    top: calc(var(--headerHeight) - 2px);
}

.dashboardHeaderButton:hover {
    color: var(--color-configurable);
}

@keyframes show_dashboard {
    from {top: 70px; opacity:0}
    to {top: 70px; opacity: 1}
}

#dashboard_headerTitle {
    font-size: 2.2vmin;
    font-weight: bold;
}


#dashboard_headerTimerange {
    font-size: 1.6vmin;
    display: none;
}

#dashboard_header {
    height: calc(var(--dashboardHeaderHeight) - 1vmin);
    text-align: left;
    float: left;
    width: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 1vmin;
    padding-bottom: 2vmin;
    line-height: 1.5;
    background: var(--background-color-darker);
    color: var(--text-color-sidePanel);
}

#dashboard_header-text {
    text-align: left;
    font-size: 1.8vmin;
    padding-left: 8vmin;
    margin-top: 1vmin;
    /* width: -webkit-fill-available; */
    margin: auto;
}

#dashboard_header-dynamicButtons {
    display: flex;
    line-height: 4vmin;
}

.dashboard_headerButtonTimeSelect {
    min-width: 10vmin !important;
    margin-right: 2vmin;
}

#dashboard_Holder{
    width: calc(100% - 14vmin);
    height: calc(100% - var(--dashboardHeaderHeight));
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-left: 7vmin;
    padding-right: 7vmin;
    background: var(--background-color-darker);
}

.dashboard_Chart{
    float: left;
    margin: 0.5vmin calc(1vmin - 2px);
    border: 1px solid var(--circle-fill);
    overflow: hidden;
    background: var(--background-color);
    padding: 2.5vmin;
    cursor:grab;
    position: relative;
}

.dashboardCellStats {
    float: right;
    position: relative;
    z-index: 10;
    display: flex;
    max-height: 3vmin;
    color: var(--text-color-sidePanel);
}

.hiddenDashOpt {
    display: none;
}

.dashboardCellStatsCell {
    height: 100%;
    min-width: 3vmin;
    margin-right: 1vmin;
    background-color: var(--background-color);
    cursor: pointer;
    display: table;
    line-height: 1.3;
}

.dashboardCellStatsTitle {
    width: 100%;
    font-size: 1.8vmin;
    line-height: 3vmin;
}

.dashboardSettingsSelect{
    width: 15vmin;
    /* line-height: 4.5; */
    height: 3.5vmin;
    border: 1px solid var(--second-color-light);
    border-radius: 0.5vmin;
    color: var(--text-color-sidePanel);
    background: var(--input-background-sidePanel);
    font-size: 1em;
}
#dashboardSettings, #dashboardSettingsContent .modal_Content {
    background: var(--background-color);
}

#dashboardSettingsContent {
    line-height: 2;
    overflow-y: scroll;
    padding: 1vmin;
    margin-top: 1vmin;
    margin-left: 0vmin;
    /* font-size: 1.4vmin; */
    height: 40vmin;
    border: 1px solid var(--second-color-light);
    border-radius: 1vmin;
    color: var(--text-color-sidePanel);
}

.dashboardSettingsTableHolder {
    position: relative;
    /* border: 1px solid var(--second-color-light); */
    /* border-radius: 1vmin; */
    margin-bottom: 2vmin;
    height: 68vmin;
    overflow-x: hidden;
    overflow-y: auto;
}

.dashboardSettingsSectionTitle {
    display: block !important;
    /* color: var(--main-color); */
    /* font-size: 1.8vmin; */
    padding-top: 0.5vmin;
    margin-left: 1vmin;
    z-index: 1;
    float: left;
    line-height: 3vmin;
    width: -webkit-fill-available;
}

#dashboardSettingsTableUploadHolder {
    display: none;
}

.dashboardSettingsSectionButton {
    line-height: 3vmin !important;
    font-weight: bold;
    padding-right: 1vmin !important;
}

#dashboardSettingsFileLoaded {
    width: 33%;
}

#dashboardSettings_LineSettingsName {
    height: 1.7vmin;
    width: 19vmin;
}

#dashboardSettings_activeLineSettingsTable {
    width: 100%;
}

#dashboardSettings_activeLineSettingsTableHolder {
    height: 29vmin;
    overflow-y: scroll;
    margin-top: 2vmin;
}

.dashboardSettingsSectionSort {
    position: relative;
    float: right;
    margin-right: 2vmin;
    font-size: 1.4vmin;
    font-weight: bolder;
    color: var(--main-color);
    line-height: 3vmin;
}

.dashboardSettingsTable {
    margin: 0vmin 2vmin
}

#dashboardSettings_borderWidthHL,
#dashboardSettings_borderWidth {
    width: 4.2vmin;
    height: 2vmin;
    border: 1px solid var(--second-color-light);
    border-radius: 0.5vmin;
    color: var(--text-color-sidePanel);
    background: var(--input-background-sidePanel);
    font-size: 1em;
}

.favDashboardTemplate {
    width: 2vmin;
    padding-right: 1vmin;
}

#dashboard_ContentHolder {
    width: -webkit-fill-available;
    height: -webkit-fill-available;
}

#dashboardCell_placeholderTableHolder {
    height: 25vmin;
    margin: 0 3vmin 3vmin 3vmin;
    width: calc(100% - 6vmin);
}

#dashboardSettings_valueHL,
#dashboardSettings_borderWidthHL,
#dashboardSettings_labelHL {
    height: 2vmin;
}

.dashboardCell_placeholder {
    background: none;
    display: flex;
    justify-content: center;
    cursor: default;
}

.searchField {
    margin-left: 1vmin;
}

#dashboardCell_placeholderSearch {
    margin-right: 3vmin;
}

.dashboardGlobalSettingsLabel,
.dashboardSettingsLabel {
    height: 3.5vmin;
    width: 18vmin;
  }

.dashboardGlobalSettingsInput,
.dashboardSettingsInput {
    width: 34.8vmin;
}

.dashboardSTab {
    width: 100%;
}

.dashboardGlobalSettingsTable td,
.dashboardSettingsTable td {
    height: 3.5vmin;
}

.dashboardSettingsSection {
    font-size: 2vmin;
    background-color: var(--circle-fill);
    cursor: pointer;
    height: 4vmin;
    display: inline-flex;
    width: 100%;
    margin-bottom: 1vmin;
}

#dashboardCell_placeholderSearch,
#dashboardGlobalSettingsChartsSearch {
    margin-right: 3vmin;
}

.dashboardCellHeader {
    height: 3vmin;
    width: fit-content;
    float: right;
    text-align: left;
    font-size: 1.5vmin;
    line-height: 3vmin;
    cursor: grab;
    position: relative;
    z-index: 10;
}

.dashboardCellHeaderInfo {
    color: var(--header-textColor);
    font-size: 1.8vmin;
    position: relative;
    line-height: 4vmin;
    padding-left: 2vmin;
    width: 100%;
    height: 100%;
}

#dashboardSettingsHeader {
    cursor: grab;
}

.ui-sortable-helper,
.shadowbox {
    -webkit-box-shadow:4px 5px 4px rgba(0,0,0,.2);
    box-shadow: 4px 5px 4px rgba(0,0,0,.2);
}

.dashboardPlaceholderIcon {
    background: var(--balken-color);
    font-size: 5vmin;
    display: flex;
    align-self: center;
    justify-content: center;
    align-items: center;
    height: 10vmin;
    width: 10vmin;
    position: relative;
    border-radius: 100%;
    color: var(--background-color);
    cursor: pointer;
    margin: 0;
}

#dashboardAddChartsSearchInput {
    margin: 0 1vmin;
}

#dashboardCell_placeholderTitle {
    font-size: 2vmin;
    padding: 2vmin 3vmin;
}

.dashboardCell_placeholderTableAddTd{
    width: 3vmin;
    text-align: center;
}

.dashboardCellHeaderButton {
    margin-right: 1.5vmin;
    color: var(--text-color-sidePanel);
    font-size: 2vmin;
    cursor: pointer;
    line-height: 3vmin !important;
    float: right;
}

.dashboardCellCanvasHolder {
    width: 100%;
    height: 100%
}

.dashboard_ChartCanvas {
    background-color: var(--background-color);
    border-radius: 0 0 2vmin 0;
    position: absolute;
    padding: 3.2vmin 1vmin 1vmin 1vmin;
    cursor: default;
}

.dashboardSettingsGlobalLabel {
    font-size: 1.8vmin;
    font-weight: bold;
    padding: 1vmin 1vmin 0 3vmin;
}

#dashboardGlobalSettingsTable {
    padding: 1vmin;
    padding-bottom: 2vmin;
}

#dashboardGlobalSettingsChartsTableHolder {
    width: 100%;
    margin: 2vmin 0vmin;
    max-height: 29.4vmin;
    overflow-x: hidden;
    overflow-y: auto;
    height: fit-content;
    margin-bottom: 0;
}

#dashboardGlobalSettingsChartsSelectAll {
    /* width: calc(100% - 5.9vmin); */
    /* margin: 5vmin 0vmin; */
    margin-top: 2vmin;
}

.dashboard_tile {
    position: relative;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin: 0vh 0.5vmin;
}

.dashboard_tile-title {
    font-weight: bold;
    width: calc(100%-2*8px);
    color: var(--circleLabel-color);
    font-size: inherit;
    PADDING-LEFT: 1vh;
    text-align: left;
}

.diagram_container {
    align-items: center;
    width: 100%;
    align-content: center;
    align-items: center;
    height: 85%;
    width: 100%;
    margin-top: 1vmin;
    margin-left: -2vmin;
    align-content: center;
    transition: all 0.5s linear;
} 

.diagram_container div svg text{
    fill: var(--circleLabel-color);
    font-size: 1.1vmin !important;
}

.diagram_container::after {
    border:1px solid var(--second-color-light);
}

.dashboard_tile_singleContent {
    align-items: center;
    position: relative;
    top: 10%;
    left: -20%;
    font-size: 5vh;
}

.dashboard_tile_tableContent {
    font-size: 1.4vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dashboard_tile_tableContent table {
    width: 94%;

}
.dashboard_tile_tableContent tr,.dashboard_tile_tableContent th ,.dashboard_tile_tableContenttd {
    text-align: right;
    padding: 1px;
}

.dashboard_tile_tableContent tr:nth-child(even) {
    /*background-color: #d5d5d5;*/
}

.toolTipLeftTD{
    text-align: left;
}
.toolTipRightTD{
    text-align: right;
}

.dashboardCompanyLogo{
    height: 44px;
    margin-top: 20px;
    position: absolute;
    right: 80px;
}
#dashboardAutoScrollLabel{
    margin-top: 2.4vh;
    color:grey;
    cursor: pointer;
    display: none;
}

#dashboardAutoUpdateLabel{
    margin-top: 2.4vh;
    color:grey;
    margin-left: 1vh;
    cursor: pointer;
}

#dashboardFullScreenLabel{

    margin-top: 2.4vh;
    color:grey;
    margin-left: 1vh;

}

#dashboardShowPreviouse {
    background: var(--second-color);
    color: var(--header-textColor);
    border: none;
    font-size: 12px;
    cursor: pointer;
    border-radius: 20px;
    height: 34px;
    position: fixed;
    bottom: 0.5vw;
    left: 0.5vw;
    padding-left: 6px;
    padding-right: 10px;
}

.dashboardNamePic{
    margin-top: 0vmin;
    padding-left: 2vmin;
    font-size: 3vmin;
}

.showSumAllDiv{
    position: absolute;
    left: 50%;
    top: 9%;
}


#workingSafetyDiv {
    display: none;
    position: fixed;
    top: 20%;
    left: 30%;
    height: 60%;
    width: 40%;
    z-index: 5;
}

#workingSafetyDiv_title {
    color: var(--second-color-dark);
    padding: 16px;
    position: relative;
    left: -34%;
}
#workingSafetyDiv_date {
    color: var(--second-color-dark);
    position: absolute;
    top: 16px;
    left: 40%;
}

#workingSafetyDiv_form {
    background-color: var(--second-color-lightest);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

#workingSafetyDiv_closeButton {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color-sidePanel);
}

.workingSafetyDiv_row {
    width: 95%;
    margin: 16px;
    display: flex;
    float: left;
}

.workingSafetyDiv_selectLabel {
    font-size: 16;
    text-align: left;
    font-weight: bold;
    width: 75px;
    color: var(--text-color-sidePanel);
}

.workingSafetyDiv_select {
    font-size: 16;
    background-color: var(--input-background-sidePanel);
    width: 100px;
}

.workingSafetyDiv_select option {
    background-color: var(--main-color-light);
}

#workingSafetyDiv_comment {
    width: 80%;
    height: 200px; 
    resize:none;
    border:1px solid #ccc;
    font-size:12px;
    background-color: var(--input-background-sidePanel);
}

#displayTable{
    display: none;
    z-index: 5;
    position: absolute;
    background: #dedede;
    width: -webkit-fill-available;
    top: 70px;
    left: 0px;
    height: -webkit-fill-available;
}

#displayTable table{
    z-index: 5; 
    background: black;
    align-self: center;
    margin: auto;
    margin-top: 20px;
}

#displayTable tr{

    font-size: 14px;
    background: white;
}

#displayTable th{

    font-size: 14px;
    background: #eaeaea;
}


#displayTable td{

    font-size: 14px;
    background: white;
}

#displayTable_ButtonClose{
    font-size: 28px;
    color: black;
    float: right;
    padding: 2px;
}
#displayTable_ButtonSave{
    font-size: 28px;
    color: black;
    float: right;
    padding: 2px;
}

.hideTR{
    display: none;
}

.displayTable_ButtonAdd{
    color: green;
}
.displayTable_ButtonDelete{
    color: red;
}
.displayTable_changedTR{
    color: rgb(25, 0, 248);
}

.StrukturEintrag{
    display: none;
}

#dashboardContextMenu {
    position: absolute;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    background: var(--background-color);
    opacity: 0;
    color: var(--text-color-sidePanel);
    font-weight: bold;
    border: groove;
}

#dashboardContextMenu div {
       text-align: left;
       padding: 7px 5px 5px 5px;
       white-space: nowrap;
       cursor: pointer;
       width: 100%;
}

#dashboardContextMenu div label {
       text-align: left;
       padding: 3px 5px 5px 5px;
       white-space: nowrap;
       cursor: pointer;
       margin-right: 20px;
       width: 100%;
}


#dashboardContextMenu div span {
    font-size: 21px;
    margin-right: 5px;
    float: left;
}

.arrow_box {
    position: relative;
    border: 1px solid var(--circle-fill);
    border-radius: 1vmin;
    padding: 0.5vmin;
}

.arrow_box:after, .arrow_box:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	/* border-color: rgba(255, 255, 255, 0); */
	border-bottom-color: #ffffff;
	border-width: 0.5vmin;
	margin-left: -0.5vmin;
}
.arrow_box:before {
	/* border-color: rgba(245, 245, 245, 0); */
	border-bottom-color: var(--circle-fill);
	border-width: 0.6vmin;
	margin-left: -0.6vmin;
}

#dashboardDocumentation {
    padding: 1vmin 2vmin;
}

.toggleAllLDashboardLines {
    position: absolute;
    left: 4vmin;
    bottom: 4.5vmin;
    z-index: 1;
    cursor: pointer;
}

.toggleAllLDashboardLines:hover {
    color: var(--color-active);
}

.crossedOut {
    text-decoration: line-through;
}

#dashboardSettingsHolder {
    text-align: left;
    z-index: 9998;
    margin-left: 8vmin;
    background: white;
    transition: 0.2s;
    opacity: 1;
    width: 70vmin;
    height: 80vmin;
    border: 1px solid var(--circle-fill);
}

#dashboard_header-CompanyIcon{
    width: auto;
    /* margin-left: 1vw; */
    background-position: center;
    pointer-events: all !important;
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
    position: fixed;
    margin-top: 1vh;
    height: 5vh !important;
    margin-left: 2vw;
}