/**
 * Failed to minify the file using clean-css v5.3.3. Serving the original version.
 * Original file: /gh/mhendriks/P1-Dongel-ESP32@4.5.4/cdn/DSMRindex.css
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/*
***************************************************************************  
**  Program  : DSMRindex.css, part of DSMRfirmwareAPI
**  Version  : v2.3.0
**
**  Copyright (c) 2021 Martijn Hendriks / based on DSMR Api Willem Aandewiel
**
**  TERMS OF USE: MIT License. See bottom of file.                                                            
***************************************************************************      
*/
* {
  font-family: "SF Pro Text","Myriad Set Pro","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
}
a {
	color: #fff;
    text-decoration: none;
}

body {
	margin: 0;
	padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Dosis', sans-serif;
  line-height: 1.6;
  color: black;
  background: #fff;
  min-width:375px
}

#settings_btns{
	margin-top: 30px;
	cursor: pointer;
}

#settings_btns a{ 
    background-color: #555;
    padding: 7px 20px;
    border-radius: 20px;
    margin-right: 10px;
}

input[type=submit] {
	color: white;
    background-color: #555;
    padding: 7px 20px;
    border-radius: 20px;   
    border:none;
}

input[type=submit]:disabled {
    background-color: #ccc;
 	cursor: auto;
}

#settings_btns a:hover, .button:hover {
	background-color: #999;
}

table {
  color: black;
  border-collapse: collapse;
  width:100%;
}

table tr {background: rgba(0,0,0,0.3)}

th {
  padding-left: 15px;
  padding-right: 15px;
  white-space: nowrap;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  vertical-align: bottom;
}

td {
  padding-left: 15px;
  padding-right: 15px;
  white-space: nowrap;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  vertical-align: bottom;
}

tfoot {
  font-size: 12px;
  color: white
}

input {
   padding-top: 3px;
   padding-bottom: 2px;
   font-size: 12pt; 
   cursor: pointer;
}

input[type=number]{
	width: 80px;
}

.settingDiv {
	white-space: nowrap;  
	text-align: right;  
   	border-bottom : 1px solid #fff;
}

#actualTable th, #devInfoTable th, #fieldsTable th {
	text-align: left;   
	border-bottom: 2px solid #ddd;
}
.settingDiv div {
	padding-right: 10px;
	padding-left: 10px;
	width : 250px;
	display: inline-block;
}

.settings-right{
	text-align: left;	
}

#lastHoursTable, #lastDaysTable, #lastDaysTable th, #lastHoursTable th {
	text-align: right;	
	border-bottom: 2px solid #ddd;
}

#tabMaanden {
	margin:0;
}

#lastMonthsTableCosts th{
	border-bottom: 2px solid #ddd;
	width=40px;
	text-align: center;
}

#settings_table, #editMonths {
    background: rgba(0,0,0,0.3);
	padding: 10px 0;

}
section#APIdocTab div, #rawTelegram {
    background: rgba(0,0,0,0.3);
}

#ApiDocTable td:nth-child(2) {
	max-width: 360px;
    white-space: pre-wrap;
}

#ApiDocTable td:first {
	max-width: 100px;
}

#ApiDocTable a {
	color: black;
	text-decoration: underline;
}

#lastMonthsTable td:nth-child(even), #actualTable td:last-child, #lastHoursTable th:first-child, #actualTable th, #lastDaysTable th:first-child {
	text-align: center;	
}

#actualTable td:nth-child(even) {
	text-align: right;	
}

#lastMonthsTable th{
	border-bottom: 2px solid #ddd;
}

#lastMonthsTable th:nth-child(even) {
	width: 50px;
	text-align: center;	
}

#lastMonthsTable th:nth-child(odd) {
	width: 70px;
	text-align: right;	
}

#lastMonthsTable td:nth-child(odd){
	text-align: right;	
}

.inner-div {
  display: inline-block; 
}

.tab_editMonth{
	margin-right: 20px;
}

#editMonths {
	padding-left: 10px;
}

/*--------------------- N A V - B A R -----------------*/

ul:before,
ul:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.topcorner{
   position:relative;
   float:right;
   z-index:3;
  }
  
.nav-container {
    background: rgba(0,0,0,0.8);
	margin: 0 auto;
    padding: 0 22px;
    position: relative;
}
.inner-nav{
	max-width: 1024px;
	display: flex;
	line-height: 44px;
	justify-content: center;
	margin: 0 auto;
}

#nav-main {
  display: flex;
  color: #fff;
  justify-content: center;
}

#nav-settings {
	opacity: 1;
	transition-delay: 0.1s;
	width:50%;
}

#Redirect a {
	color:black;
	text-decoration: underline;
}

.act_btn {
	display: block;
	cursor: pointer;
	margin-top:20px;
}

.act_btn input {
	margin-right: 15px;
}

.nav-img span { 
	font-size: 20px;
}

.nav-img {
  display: inline-block;
  padding: 0 14px;
  color:#fff;
}

.nav-clock{text-align: right;
    padding: 0 10px;
    color: #fff;
    line-height: 44px;
	font-size: 80%;
	text-align: right;
} 

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  display: block;
  position: relative;
  float: left;
}

li ul { display: none; }

ul li a {
  display: block;
  padding: 0 21px;
  margin: 0 0px;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 14px;
}

li:hover > ul {
  display: block;
  position: absolute;
}

li:hover li { float: none; }

li:hover ul li, li .active{ background:rgba(0,0,0,0.8); }
ul li:hover, li:hover li:hover{ background:#666; } 

ul ul ul {
  left: 100%;
  top: 0;
}
#Home {margin-right:50px}

ul:after { clear: both; }
nav ul li .mdi{font-size:138%;}
nav {
	position: fixed;
    left: 0;
    top: 0;
    width: 100%;
}
ul.main-navigation {
	background-color:rgba(0,0,0,0.8);
    line-height:44px;
}

/* Hide the link that should open and close the topnav on small screens */
ul.main-navigation .icon {  display: none;}

@media screen and (max-width: 767px) {
  .topcorner {position:absolute}
  ul > li:not(:first-child, :last-child) {display: none}
  ul.main-navigation li a.icon,ul.main-navigation li:last-child {display: block;float:right}
  ul.main-navigation > li:first-child{margin-left:50%}
  ul.main-navigation > li:first-child > a  {margin:0;padding:0}
  li:hover ul li, ul.main-navigation > li:first-child:hover {background:none }
  ul.main-navigation li:nth-child(7):hover,ul.main-navigation li:nth-child(9):hover {background:none }
  .nav-img{padding:0 21px}
}

@media screen and (max-width: 767px) {
  ul.main-navigation.responsive , ul.main-navigation li ul {position: relative}
  ul.main-navigation.responsive > li:last-child {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.main-navigation.responsive  li, ul.main-navigation.responsive  li  ul {
    float: none;
    display: block;
    text-align: left;
  }
    ul.main-navigation.responsive li ul li { margin: 0 30px}
}

h2 {
	font-size:30px;
	padding:0;
	margin:0;
}

.nav-right {
  flex: 1 1 0;
  text-align: right;
  width: 200px; 
}

.tabName, :target ~ .default {
    display: none;
}

.default, :target {
    display: block;
    border-bottom: 2px solid #fff;
}

section {
	padding-top: 60px;
    margin: auto;
    width: fit-content;
    border: none;
}

body > div.bottom.right-0 { 
	display: none;
}

.bottom { 
  position: fixed;
  font-size: small;
  color: gray;
  bottom:0;
} 

.right-0  {right: 0; padding-right: 10px; }
.left-0   {left:  0; padding-left:  10px; }
#devVersion {display: inline-block;}       
    
/* loader -------------------------------------------------- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid #555;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* DASH css */
 
#DashTab .outer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#DashTab *{
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Dosis', sans-serif;
	line-height: 1.6;
	color: #666;
	background: #fff;
}

@media screen and (min-width: 600px) {
	.card {
	  flex: 1 1 calc(50% - 2rem);
	}
}
  
@media screen and (min-width: 900px) {
	.card {
	  flex: 1 1 calc(33% - 2rem);
	}
}

#legenda{
	margin-top: -8px;
    position: relative;
    margin-left: 12px;
    background: transparent;
    position:inherit;
    margin-bottom:-5px;
    }

/* Show the tooltip text when you mouse over the tooltip container */
#DashTab .lblVerbuik:hover .tooltiptext {
  display: inline-block;
  opacity: 1;
  position: absolute;
  z-index: 1;
  left: 33%;
}

/* Tooltip text */
#DashTab .tooltiptext {
  display: none;
  background: gray;
  padding: 0 10px;
  background: gray;
  border-radius: 6px;
  color: white;
}

#messages {
	background : orange;
	text-align: center;
	display: none;
}

#messages::before {padding-right:5px}

.card {
	margin: 1rem;
	background: white;
	box-shadow: 2px 4px 25px rgba(0, 0, 0, .1);
	border-radius: 12px;
	overflow: hidden;
	transition: all .2s linear;
	max-width: 200px;  
	min-width: 200px;
}

.card:hover {
	box-shadow: 2px 8px 45px rgba(0, 0, 0, .15);
	transform: translate3D(0, -2px, 0);
}

.chart-container {
	display: block;
    height: 90px!important;
    width: 180px!important;
    position: relative;
    margin: auto;
    margin-top: 10px;
    position:inherit;
}

#DashTab .lblVerbuik {
	text-align: center;
    color: white;
    height: 14px;
    font-size: 12px;
    line-height: 0.8;
    width: 12px;
    display: inline-block;
}

#DashTab .vandaag{background: #314b77}
#DashTab .gisteren{background: #316b77}
#DashTab .eergisteren{background: #318b77}

#Ph::before{ padding-right:0px; }
h1::before{ padding-right:3px; }

#DashTab .card h1 {
	text-align: center;
	padding: 0.5rem 1.1rem;
	background: #314b77;
	margin: 0 0 0rem 0;
	font-size: 1.5rem;
	color: white!important;
}

#DashTab h2 {
	text-align: center;
	font-size: 3rem;
	padding: 0.2rem 0.2rem;	
	margin: 0;
}

#DashTab h3 {
	text-align: center;
	font-size: 1.3rem;
	font-family: 'Heiti TC';
	padding: 0.2rem 0.2rem;	
	margin: 0;
}

#DashTab hr {width: 80%;}

svg{position:inherit!important}
/*
***************************************************************************
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to permit
* persons to whom the Software is furnished to do so, subject to the
* following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* 
***************************************************************************
*/