/* Google Font Import - Poppins */
/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');*/

/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/open-sans-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../../fonts/open-sans-v36-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    /* ===== Colors ===== */
	--body-color: #F8F8F8; /* background color ##Content #e7e7e7*/
    --color1: #393939; /* Donker grijs ##Sidebar */
	--color2: #b3b3b3; /* Licht grijs  ##text/icon hover */
	--color3: #666666; /* Licht grijs2 ##color round */
	--color4: #262626; /* Licht grijs3 ##background switch */
	--color5: #f2f2f2; /* licht grijs4 ##Switch */
	--color6: #e6e6e6; /* licht grijs5 ##progressbars*/
    
    --color7: #A9D08E; /* green button*/
    --color8: #FFD966; /* orange button*/
    --color9: #ff6666; /* Red button*/
    --color10: #d9d9d9; /* lichtgrijs  hover */
    --color11: #ffffff; /* Witte achtergrond */
    
    --succes: #48C774;  /* green  */
    --warning: #FFDD57; /* yellow */
    --danger: #FF3860;  /* red */
    
    
	
	--text-color1: #f2f2f2; /* Licht grijs text/icon color  */
	--text-color2: #000000; /* zwart text color */
	--text-color3: #393939;  
    --text-color4: #808080;    


    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
	
	/* ====== filterbar height ==*/
	--filterbar-height: 46px;
	--titlebar-height: 50px;
	
	/* ====== border  on/off === */
	 --border: none;  /*get ride of all borders */
	/*--border: 1px solid #abdbe3; */
    
    /* Popup-border-radius */
	--border-radius: 5px;
    --border-color: 1px solid #aaa;
    
	/* default text parameters*/
	/*--text-color4: */
	--font-size0: 10px;
	--font-size1: 12px;
	--font-size2: 14px; /*Default*/
	--font-size3: 16px;
	--font-size4: 18px;
	--font-size5: 20px;
	--font-size6: 22px;
	--font-size7: 24px;
	/*--font-weight1: */	
	--contentblok-autoheight: calc(100% - var(--filterbar-height) - var(--titlebar-height));
    
    --logo-size: 44px; /* logo size */
    --dt-row-selected: 127, 173, 249;
    
}

body{
    min-height: 100vh;
    background-color: var(--body-color);
    /*transition: var(--tran-05);*/
	font-size: var(--font-size2);
	color: #393939;
	font-family: 'Open Sans';
	font-weight: 400;	
}

@media (min-width: 960px) {
    .desktop-menu { display: block;}
    .mobile-menu { display: none;}
    .hidedesktop {display: none!important;}   
}

@media (max-width: 960px) {  
    .desktop-menu { display: none;}
    .mobile-menu { display: block;}
    .hidemobile {display: none!important;} 
    .mobileoffset {padding-top:60px;}  /*needed to push content from Header menu bar */    
    #resize_wrapper {
        left: 0px;
        right: 0px;
    }    
}

.cstlogo {
    float: right;
    /*content: url("/config/logo");*/
    height: 44px;
    line-height: 40px;
    margin-left: 20px;
    text-align: left;
    font-size: 22px;
    color: var(--text-color3);
}

.cstlogo_left {
    float: left;
    /*content: url("/config/logo");*/
    height: 44px;
    line-height: 40px;
    margin-left: 6px;
    text-align: left;
    font-size: 22px;
    color: var(--text-color3);
}
.cstlogo img{ /*hoogte alle logo*/
    height: 44px;
}

.cstlogo_left img{ /*hoogte alle logo*/
    height: 44px;
}


/*
::selection{
    background-color: var(--color3);
    color: #fff;
}*/

/* enable/disable focus on inputs */
/*:focus-visible{
	outline: 0px;
}*/
/*
 input:focus, select:focus, textarea:focus {
	outline-color: #ffa366;
	box-shadow: 0px 0px 2px #999999;
 
 }*/
 
.defaultinput {
    height: 26px;
    width: 300px;
    border: var(--border-color);
    border-radius: var(--border-radius);
    padding-left: 4px;
}


.defaultselect{
    height: 26px;
    width: 300px;
    border: var(--border-color);
    border-radius: var(--border-radius);
}

body.dark{
/*	--body-color: #e7e7e7;  background color ##Content */
/*    --color1: #d9d9d9;  Donker grijs ##Sidebar */
/*	--color2: #b3b3b3;  Licht grijs ##text/icon hover */
/*	--color3: #bfbfbf;  Licht grijs2 ##color round */
/*	--color4: #999999;  Licht grijs3 ##backgroundswitch */
/*	--color5: #393939;  licht grijs4 ##Switch */
/*	--text-color1: #393939;  Licht grijs text/icon color  */
/*	--text-color2: #000000;  zwart text color */
}



/* ===== Sidebar ===== */

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    padding: 10px 4px;
    background: var(--color1);
    transition: var(--tran-05);
    z-index: 100;  
}
.sidebar.close{
    width: 66px;
}

.sidebar li{
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.sidebar header .image,
.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
}

.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar .text,
.sidebar .icon{
    color: var(--color5);
    transition: var(--tran-03);
}

.sidebar .text{
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
}

.sidebar.close .nav-text{
	display: none;
}

.sidebar.close .text{
	visibility: hidden;
	opacity: 0;  
}

.sidebar header{
    position: relative;
}

.sidebar header .image-text{
    display: flex;
    align-items: center;
}
.sidebar header .logo-text{
    display: flex;
    flex-direction: column;
}
header .image-text .name {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
}

header .image-text .profession{
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar header .image img{
    width: 40px;
    border-radius: 6px;
}

.sidebar header .toggle{
    position: absolute;
    top: 20px;
    right: -16px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--color3);
    color: var(--text-color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--tran-05);
}

body.dark .sidebar header .toggle{
    color: var(--text-color1);
}

.sidebar.close .toggle{
    transform: translateY(-50%) rotate(0deg);
}

.sidebar .menu{
    margin-top: 40px;
}

.sidebar li a{
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

.sidebar li a:hover{
    background-color: var(--color2);
}

.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--text-color1);

}
body.dark .sidebar li a:hover .icon,
body.dark .sidebar li a:hover .text{
    color: var(--text-color1);
}

.sidebar .menu-bar{
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: none;
	overflow-x: none;
}
.menu-bar::-webkit-scrollbar{
    display: none;
}
.sidebar .menu-bar .mode{
    border-radius: 6px;
    background-color: var(--color4);
    position: relative;
    transition: var(--tran-05);
}

.menu-bar .mode .sun-moon{
    height: 50px;
    width: 60px;
}

.mode .sun-moon i{
    position: absolute;
}
.mode .sun-moon i.sun{
    opacity: 0;
}
body.dark .mode .sun-moon i.sun{
    opacity: 1;
}
body.dark .mode .sun-moon i.moon{
    opacity: 0;
}

.menu-bar .bottom-content .toggle-switch{
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--color5);
    transition: var(--tran-05);
}

.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--color1);
    transition: var(--tran-04);
}

body.dark .switch::before{
    left: 20px;
}

.home{
    position: absolute;
    top: 0;
    top: 0;
    left: 260px;
    height: 100vh;	 
    width: calc(100% - 260px);
    background-color: var(--body-color);
    transition: var(--tran-05);
	padding: 4px;
}

.sidebar.close ~ .home{
    left: 66px;
    height: 100vh;
    width: calc(100% - 66px);
	}
	
body.dark .home .text{
    color: var(--text-color2);
}

.lang{
    min-width: 60px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;	
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 130px;
    height: 24px;
    background-color: var(--color1);
    color: var(--text-color1);
    font-size: var(--font-size2);
    font-weight: 400;	
    text-align: center;
    border-radius: 6px;
    padding: 2px;
    position: absolute;
    z-index: 1;
    left: 110%;
    opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}


/* =====================Login page */
.loginbox {
	background: var(--color5);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100vh;
}

.logincontainer button {
	border-radius: 20px;
	border: 1px solid var(--color2);
	background-color: var(--color1);
	color: var(--text-color1);
	font-size: 14px;
	font-weight: bold;
	padding: 12px 45px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
}

.logincontainer button:active {
	transform: scale(0.95);
}

.logincontainer button:focus {
	outline: none;
}

.logincontainer button.ghost {
	background-color: transparent;
	border-color: var(--text-color1);
}

.logincontainer form {
	
	background-color: var(--color6);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}

.logincontainer input {
	background-color: var(--color2);
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: 100%;
	
}

.logincontainer {
	border-radius: 10px;
  	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
			0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 768px;
	max-width: 100%;
	min-height: 480px;
}

.loginrightbox {
	float:left;
	top: 0;
	width: 50%;
	height: 100%;
}

.loginleftbox {
	float: left;
	top: 0;
	width: 50%;
	height: 100%;
}

.logotext{
    /*background-color: var(--color1);*/
	background: linear-gradient(to right, #393939 0%, #666666 100%);
	color: var(--text-color1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
	font-weight: bold;
	font-size: 28px;
	margin: 0;
}

.titlelogin {
	font-weight: bold;
	font-size: 28px;
	color: var(--text-color2);
	margin: 0;
}

/* default Flex box */

.contentcontainer{
  display: flex;  
  flex-flow: row wrap;
  text-align: center; 
  /*height: 100%;*/
}

.contentcontainer > * {
  padding: 4px;
  flex: 1 100%;
}

/* =======================Header text */

.titletext { /*old*/ 
  height: var(--titlebar-height);
  line-height: 40px;
  margin-left: 20px;
  text-align: left;
  font-size: 22px;
  color: var(--text-color3);
}

.headerbar{ /*new*/
  height: var(--titlebar-height);
  line-height: 40px;
  margin-left: 20px;
  text-align: left;
  font-size: 22px;
  color: var(--text-color3);
}

/* =======================Home page */

/*Tabel 100% breed*/
#tabeloverzicht{ 
    width:100%;
}

/* Fix voor geen wrap bij lege spatie */
.nowrap{white-space:nowrap;}

/* Fix voor graph */
.spark{font-size:1pt;display:inline-block;width:100px;}

table.dataTable > thead input  {
	font-size: 12px;
	font-family: 'Open Sans';
	font-weight: 600;
	text-align: center;	
} 
tbody > tr {
	font-size: 12px;
	font-family: 'Open Sans';
	font-weight: 600;
	text-align: left;
}

table.dataTable th.dt-type-numeric, 
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date,
table.dataTable > tbody > tr  {
    /*font-size: 12px;*/
	font-family: 'Open Sans';
	font-weight: 600;
    text-align: left;
}

/* Opmaak afstand tussen thead en de kollemen in de datatable */
table.dataTable > thead > tr > th, table.dataTable > thead > tr > td, table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 5px;
}

@media (max-width: 960px) {  
table.dataTable > thead > tr > th, table.dataTable > thead > tr > td, table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 1px 5px;
}
}

/* Kleur van de geselecteerde regel */
table.dataTable tbody tr.selected>* {  
    color: var(--text-color3);
}

/*Grote van de Filter popup en de min_width is voor de Preset en de aantal weergave popup*/
div.dt-button-collection {
  min-width: 5%; !important;
  max-width: 50%; !important;  
}

/*Grote van de searchbutton*/
div.dt-container .dt-search input{
    margin-left:4px;
    margin-top: -4px;
    height: 34px;
}

/* het kunnen verkleinen van de datatables */
#resize_wrapper {
    position: absolute;
    top: 56px;
    left: 10px;
    right: 10px;
    bottom: 20px;
}

.home-modal {
    display: none;
    position: fixed;
    z-index: 1; 
    padding-top: 52px; 
	padding-right: 8px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.2); 
}

/*================ filter popup */

.tabelfilter-popup {
	float: right;
    position: relative;
    background-color: var(--color5);
    margin: auto;
    padding: 0;
	width: 360px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animateright;
    -webkit-animation-duration: 0.5s;
    animation-name: animateright;
    animation-duration: 0.5s;
}

.tabel_filter_head_text{ /* Title filter popup text */
 font-size: var(--font-size2);
 padding: 10px 16px;
 width: 100%;
 float:left;
 color: var(--text-color2);
 font-weight: bold;
}

.tabelfilter-popup label{ /*default label text */
    font-size: var(--font-size2);
}

.tabelfilter-popup label>label{ /* label extra text */ 
    font-size: var(--font-size0);
}

.cstlabel_title {   /* label title text */
    font-weight: 600;
	color: var(--text-color2);
}


/* Add Animation */
@-webkit-keyframes animateright {
    from {right:-400px; opacity:0}
    to {right:0px; opacity:1}
}

@keyframes animateright {
    from {right:-400px; opacity:0}
    to {right: 0px; opacity:1}
}

.cstbutton_home{ /* default home button*/
    float: right;
	height:36px;
    background-color: var(--color1);
	color: var(--text-color1);
	border: none;
}

.filter{ /*button filter */
	width: 140px;
}

.refresh{ /*button refresh */
	width:40px;
    margin-right: 6px;
}

.cstbutton_home:hover {
      background-color:#b3b3b3;
}

.tabelfilter-popupcontent {
	padding: 8px;
	text-align: left;
    width: 100%;
    height: 100%;
	color: var(--text-color2);
}

.tabelfilter_colum{
    float: left;
    padding: 10px;
    width: 50%;
    color: var(--text-color3);    
}

.defaultchkbox {
  display: block;
  position: relative;
  padding-left: 20px;
  margin-bottom: 2px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.defaultchkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.chk {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  border: 1px solid var(--color1);
  border-radius: 2px;
  background-color: var(--text-color6);
}

.defaultchkbox:hover input ~ .chk {
  background-color: var(--color6);
}

.defaultchkbox input:checked ~ .chk {
  background-color: var(--color6);
}

.chk:after {
  content: "";
  position: absolute;
  display: none;
}

.defaultchkbox input:checked ~ .chk:after {
  display: block;
}

.defaultchkbox .chk:after {
  left: 3px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid var(--color1);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.tabelfilter-popupfooter {
	text-align: center;
    padding-bottom: 4px;
    background-color: var(--color5);
    color: var(--text-color1);
}

.searchfield-left{
    padding-left: 10px;	
    margin-top: 11px;
    float: left !important;
}
.filters-left{
    padding: 4px;
    padding-left: 20px;	
    float: left !important;
}

.listnumbers-right{
    margin-top: 11px;	
    float: right !important;
}

.fa-solid, .fas {
    font-weight: 900;
    font-size: 16px;
}

a{
	color: var(--text-color4);
}

.warningtriagle:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 14px;    
    content: "\f071";
    color: red;
}

/* ====================searchBuilder */
div.dtsb-searchBuilder button.dtsb-button{
	height:34px;
	width: 120px;
	background-color: transparent;
	color: var(--color1);
	border: 1px solid var(--color2);
	border-radius: 3px;
}

div.dtsb-searchBuilder div.dtsb-logicContainer {
    background-color: transparent;
}


div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-condition {
    border-color: var(--color1);
}

div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-data {
    border-color: var(--color1);
}

div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-value,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-value {
    border-color: var(--color1);
}
/* ====================Buttons */

.cstbutton {
    background-color: var(--color6); 
    border: none;
    color: var(--text-color2);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: var(--font-size0);
    width: 100%;
    padding: 0px 6px 0px 6px;
    min-height: 20px;
    border-radius: 5px;
    cursor: pointer;
}

.cstbutton:hover{
    background-color: var(--color10); 
}

.remarksbutton{
  cursor: pointer;
}

.btngreen {
  background-color: var(--color7); /* Green */
}

.btnorange {
  background-color: var(--color8); /* Green */
}

.btnred {
  background-color: var(--color9); /* Green */
}

.btngrey {
  background-color: var(--color6); /* Green */
}

/* ====== custom progresbars Vulnivo/Battery/Signaal/Accu/Vochtigheid */

.cstprogress.is-small {
    height: 1rem;
}

.cstprogress {
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 9999px;
    display: block;
    height: 1rem;
    overflow: hidden;
    padding: 0px;
    width: 100%;
}

.cstprogress::before{
	float: right;
	content: attr(value)"%";
	margin-right: 2px;
}

progress::-webkit-progress-bar {
  background-color: var(--color6);
  border-radius: 9999px;
}

.cstprogress.is-success::-moz-progress-bar  {
	background-color: var(--succes);
}

.cstprogress.is-warning::-moz-progress-bar {
	background-color: var(--warning);	
}

.cstprogress.is-danger::-moz-progress-bar {
	background-color: var(--danger);
}

.cstprogress.is-success::-webkit-progress-value {
    background-color: var(--succes);
}

.cstprogress.is-warning::-webkit-progress-value {
	background-color: var(--warning);	
}

.cstprogress.is-danger::-webkit-progress-value {
	background-color: var(--danger);
}

.progressbarsmall{
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 0px;
    display: block;
    height: 0.5rem;
    overflow: hidden;
    padding: 0px;
    width: 30px;
}

.progressbarsmall::before{
	content: "";
}

.progressbarsmall::-webkit-progress-bar{
	background-color: var(--color6);
	border: 1px solid var(--color1);
    border-radius: 0px;
}

/* ====================Popups */
.popup-menu {
    background-color: var(--color5);
    margin: auto;
    padding: 0;
	width: 200px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius: var(--border-radius);  
}

.popup-menu-big {
	width: 360px;
    text-align: center;
}

.popup-modal-content-td {
	padding: 10px;
	text-align: left;
	color: var(--text-color2);
}

.popup-modal-footer {
	text-align: center;
    padding: 6px;
    background-color: var(--color5);
    color: var(--text-color1);
    border-radius: var(--border-radius);
}


/* ====================Detail page */

.tabletank {
  display: grid;
  grid-template-columns: repeat(2,1fr);
}

.tabletank label{
    padding:2px;
}

.tabletank label > div{
    width:110px; 
    font-size:14px; 
    border-radius: 5px; 
    background-color: var(--color6); 
    font-weight:400; 
    padding: 2px;"
    
}

.labelRow {
    display:table-row;
}

.labelRow label {
    display:table-cell;
}

.labelleft{
    font-size: var(--font-size2);
    text-align:left;
	width: 30%;

}

.labelleft.b{
    font-weight: 600;
}

.labelleft.offset{ /* ofsett for zipcode and adres */
    width:60px; 
    float:left;
}

.labeltextleft{
    text-align: left;
	width: 100%; 
  
}

.labeltextright{
    text-align: right;
	width: 100%;
 
}

.iconoffset{
	width:20px;
}

.noiconoffset{
	padding-left:25px;
}

.default-button{
	border: none;
	border-radius: 3px;
	min-height: 24px;
	width: 140px;
	background-color: var(--color1);
	color: var(--text-color1);
    cursor: pointer;
}
.default-button_mobile{
	border: none;
	border-radius: 3px;
	min-height: 24px;
    height:24px;
	width: 100%;
	background-color: var(--color1);
	color: var(--text-color1);
    cursor: pointer;
}

select.default-button{ height:24px; }

.default-button:hover{
	background-color: var(--color3);
	color: var(--text-color1);
}
@media (max-width: 960px) {
   .default-button{
	min-height: 42px;
	width: 120px;
    margin-bottom: 2px;
    }
    select.default-button{ height:46px; }  
}
.editicon{
	margin-right: 6px;
    font-size: 15px;
    padding: 2px;
    background-color: var(--body-color);
    color: var(--color1);
    border-radius: 3px;
    border: none;
    cursor: pointer;
}

.editicon.grey{
    background-color: lightgrey; 
    border:1px solid black;"
}


.editicon:hover {
     background-color: var(--color3);
     color: var(--text-color1);
}

.infoicon{
	margin-right: 6px;
    font-size: 16px;
    padding: 2px;
    background-color: var(--body-color);
    color: var(--color1);
    border-radius: 3px;
    border: none;
    cursor: pointer;
}

.infoicon.grey{
    background-color: lightgrey; 
    border:1px solid black;"
}


.infoicon:hover {
     background-color: var(--color3);
     color: var(--text-color1);
}

/* ==main containers */

.flex-container {
	font-size: 14px;	
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
    padding-bottom: 14px;
	gap: 14px;
}

.infocontainer {
    flex: 1 2 auto;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(57,57,57,0.75);
    -moz-box-shadow: 0px 0px 6px 0px rgba(57,57,57,0.75);
    box-shadow: 0px 0px 6px 0px rgba(57,57,57,0.75);
    min-height: 28vh;
    padding: 12px;
}

.infocontainer.tank {
	flex: 0 0 540px;
	position: relative;
    padding: 6px;
}

.infocontainer.grafiek {
	flex: 2 1 600px;
    padding: 6px;
}

.infocontainer.map{
    flex: 1 1 600px;
    padding: 6px;
}

.infocontainer.remark-alerts {
    flex: 1 1 400px;
    padding: 6px;
}

/* ==tank container */

#tankfill{
    position: absolute;
    bottom: 43px;
    left: 53px;
    width: 434px;
    height: 1px;
    background: #b9cffa;
    transition: 2s;
}

#tankposition{
    position: absolute;
    left: 50px;
    bottom: 33px;
}


/* ==map==oproute */

.mapoffset{
    float: left; 
    margin-top: 6px; 
    width: 100%; 
    height: 330px;
}


.mapoffsetfs{
    display: inline-block;
    margin-top: 6px;
    width: 100%; 
    height: 88vh;
}

.distancedatafs{
    display: inline-block;
    margin-top: 6px;
    height: 75%; 
}

.distancedata{
    display: inline-block; 
    width: 100%; 
    padding-top: 6px; "
    
}

.distancedata tbody{
    display: inline-block;
    width: 100%;
    /*height:100%;*/
    height: 130px;
    overflow: auto;
}

.distancedata thead, .distancedata tbody tr, .distancedata tbody th {
    display: table;
    width: 100%;
    table-layout: fixed;/* even columns width , fix width of table too*/
    
}

.distancedata thead tr {
    background-color: #d9d9d9; 
}

.distancedatafs tbody{
    display: block;
    width: 100%;
    height: 100%;
    max-height: 84vh;
    overflow: auto;
}

.oprouteblok{
    width: 100%; 
    display: flex;
    flex-wrap: wrap;
    
} 
.mapblok{
    width: 100%;
    flex-wrap: wrap;   
} 

.distancedatablok{
    max-width: 100%;
    flex-wrap: wrap; 
} 

.oprouteblokfs{
    width: 100%; 
    display: flex;
}

.mapblokfs{   
    flex: 2 1;
}

.distancedatablokfs{
    width: 40%;
    padding-left: 4px;
}

.maincontainer{
  border: var(--border);
  height: var(--contentblok-autoheight);    
  }

/* maincontainer overflow for tables*/  
.tableoverflow{
	overflow-x:hidden;
	overflow-y:hidden;
} 

/* Chart */
.buttonlayoutleft{
    float:left; 
    padding-right: 4px;     
}
.buttonlayoutright{
    float:right; 
    padding-left: 4px;
}

.default-button.chart{
    width:80px;
}

.default-button.chartmob{
    width: 40%;
}
.default-button.resize{
    width:28px;
}

.emptyforcast{
    float:right; 
    background-color: var(--color1); 
    border-radius: 5px; 
    width: 240px; 
    height:24px; 
    padding-top:2px;
}

.emptyforcast.mob{
    width: 120px;
}

.emptyforcast label{
    font-weight: 600;
    color: #fff;
}

.emptyforcast label>label{
    color: #fff;
}

#myChart{
     margin: 8px; 
     width: 100%; 
     max-height:500px;
}



/* ====================Support page  */

.buttonactive{background-color:#666666;}
.supporttabelcontainer{
	padding: 1px;
	width: 700px;
	height: 440px;
	border: 1px solid #393939;
}

.supporttabelleftkolom{
	padding:2px;
	background-color: #fff;
	text-align: left;
	width: 258px;
}
.supporttabelrightkolom	{
	padding:2px;
	background-color: #c2c2c2;
	text-align: right;
	width: 540px;		
}

/* ====================Location page */

.location-button{
    height: 34px;
    width: 120px;
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    color: var(--color1);
    border: 1px solid var(--color2);
    border-radius: 3px;
}

#dvmap{
	z-index: 0;
    border: 1px solid var(--color1); 
    width: 100%; 
    height: 100%; 
}

.datepicker{
	background-color: var(--color5);
	padding: 8px;
	width: 160px;
	height: 36px;
	border: 1px solid var(--color1);
}
/*
.dropdown{
	background-color: var(--color5);
	border: 1px solid var(--color1);
	color: var(--text-color3);	
}*/

.terminalinput{
	background-color: var(--color5);
	padding: 8px;
	width: 400px;
	height: 36px;
	border: 1px solid var(--color1);
}

/* ====================== Settings page*/

.settingsbutton {
    float: left;
    width: 220px;
    height: 180px; 
    margin: 10px;
    /*text-align: bottom;*/
    box-shadow: 0px 0px 6px 0px rgba(57,57,57,0.75);
    background-color: transparent;
    color: var(--color1);
    border: 1px solid var(--color2);
    border-radius: 6px;
}

.settingsbutton:hover{
	background-color: var(--color10);
}

.settingstitle{
    font-weight: bold;
    font-size: 18px;
}

.iconcolor{
    padding-top: 40px;
    color: var(--color2);
    font-size: 64px; 
}

.settings_table_left{
    float:left;
    width: 59%; 
    height: 100%;
}

.settings_form_right{
    float:right;
    width: 39%;
    height: 100%;
}

.settings_form td{
    padding: 6px;
    text-align: left;
}
.settings_form input{
    height: 26px;
    width: 300px;
    border: var(--border-color);
    border-radius: var(--border-radius);
    padding-left: 4px;
}



.errortext{
    color: red;    
}

/* ========================= */
