* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    height: 100%;
    background-color: #435165;
    margin: 0;
}
html {
    height: 100%;
}
#bg {
    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
}
.messtop {
	background-color: #5d6f88;
    color: #eaebed;
    font-weight: bold;
    height: 25px;
	width: 100%;
	border: 0;
	display: flex;
    justify-content: center;
}
.newuser-wrapper {
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    width: 300px;
    height: 580px;
    display: flex;
}
.login-wrapper {
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    width: 320px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 10%;
    position: relative;
}
.login {
    width: 300px;
    background-color: #ffffff;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 0px 0 5px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 5px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
    width: 230px;
    height: 40px;
    border: 1px solid #dee0e4;
    margin-bottom: 10px;
    padding: 0 10px;
    border-radius: 10px;
}
.login form input[type="submit"] {
    width: 180px;
    padding: 15px;
    margin-top: 15px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 10px;
}
.login form input[type="submit"]:hover {
  background-color: #2868c7;
    transition: background-color 0.2s;
}
.login form input[type="checkbox"] {
    transform: scale(1.5);
}
.users {
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    width: 500px;
}
.users a {
	text-decoration: none;
	color: #9297a3;
	font-weight: bold;
}
.users form input[type="submit"], .users input[type="submit"], .profile input[type="submit"] {
    width: 90px;
    padding: 10px;
    margin-top: 1px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 10px;
}
.users form input[type="submit"]:hover, .users input[type="submit"]:hover, .profile input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}
.users form input[type="password"], .users form input[type="text"] {
    width: 230px;
    height: 30px;
    border: 1px solid #dee0e4;
    margin-bottom: 0px;
    padding: 0 5px;
    border-radius: 10px;
}
.users form input[type="checkbox"] {
    transform: scale(1.5);
}
.navtop {
	background-color: #2f3947;
	height: 35px;
	width: 100%;
	border: 0;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	width: 50%;
	height: 100%;
    justify-content: center;
    flex-wrap: nowrap;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 10px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 100%;
	margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.content h2 {
	margin: 0;
	padding: 5px 0;
	font-size: 22px;
	color: #4a536e;
}
.content > p, .content > div {
	margin: 10px 0;
	padding: 25px;
}
.content > .row {
    margin: 5px;
    padding: 5px;
}
.content > p table td, .content > div table td {
	padding: 5px;
	color: #4a536e;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
.content .profile {
	margin: 0px;
	padding: 0px;
}
.pwdPopup {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(222, 8%, 61%); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.formPwdPopup {
    border-radius: 15px;
    border: 1px solid #dee0e4;
    width: 320px;
    height: 420px;
    top: 100px;
    margin: 0 auto;
    padding: 15px;
    background-color: #dee0e4;
    position: relative;
}
.pwdPopup form input[type="submit"] {
    width: 90px;
    padding: 10px;
    margin-top: 10px;
    margin-right: 50px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 10px;
}
.pwdPopup form input[type="submit"]:hover {
    background-color: #2868c7;
      transition: background-color 0.2s;
}
.pwdPopup form input[type="password"] {
    width: 230px;
    height: 30px;
    border: 1px solid #dee0e4;
    margin-top: 10px;
    padding: 0 5px;
    border-radius: 10px;
}
#pwd_user_id {
    display: none;
}
/* Add a green text color when the requirements are right */
.valid {
    color: green;
}
/* Add a red text color when the requirements are wrong */
.invalid {
    color: red;
}
.newPwdPopup {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(222, 8%, 61%); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.formNewPwdPopup {
    border-radius: 15px;
    border: 1px solid #dee0e4;
    width: 320px;
    height: 420px;
    top: 50px;
    margin: 0 auto;
    padding: 15px;
    background-color: #dee0e4;
    position: relative;
}
.newPwdPopup input[type="submit"] {
    width: 90px;
    padding: 10px;
    margin-top: 10px;
    margin-right: 50px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 10px;
}
.newPwdPopup input[type="submit"]:hover {
    background-color: #2868c7;
      transition: background-color 0.2s;
}
.newPwdPopup input[type="password"] {
    width: 230px;
    height: 30px;
    border: 1px solid #dee0e4;
    margin-top: 10px;
    padding: 0 5px;
    border-radius: 10px;
}
.messPwd {
    display: none;
}
.row {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 5;
    padding: 5;
}
.row::after {
    content: "";
    clear: both;
    display: table;
}
.tanks {
    width: 320px;
    height: 300px;
    float:left;
}
.tank {
    width: 150px;
    height: 290px;
    background: lightgray;
    border-radius: 15px;
    float: left;
    padding: 5px;
}
.tank-divide {
    width: 20px;
    float:left;
}
.top {
    width: 100%;
    height: 20px;
    position: relative;
    border-radius: 15px 15px 0 0;
}
.toptrans {
    width: 100%;
    height: 20px;
    position: relative;
}
.topmid {
    width: 100%;
    height: 55px;
    position: relative;
}
.topmidtrans {
    width: 100%;
    height: 20px;
    position: relative;
}
.middle {
    width: 100%;
    height: 60px;
    position: relative;
}
.midtrans {
    width: 100%;
    height: 20px;
    position: relative;
}
.midbot {
    width: 100%;
    height: 45px;
    position: relative;
}
.midbottrans {
    width: 100%;
    height: 20px;
    position: relative;
}
.bottom {
    width: 100%;
    height: 20px;
    position: relative;
    border-radius: 0 0 15px 15px;
}
.btn-temp-top {
    border-radius: 50%;
    width: 45px;
    height: 30px;
    position: relative;
    left: 50px;
    top: -1px;
    padding: 0;
    border-color: black;
    border: 1px;
    border-style: solid;
    z-index: 2;
}
.btn-temp-bot {
    border-radius: 50%;
    width: 45px;
    height: 30px;
    position: relative;
    left: 50px;
    top: -8px;
    padding: 0;
    border-color: black;
    border: 1px;
    border-style: solid;
    z-index: 2;
}
.btn-temp {
    border-radius: 50%;
    width: 75px;
    height: 45px;
    position: relative;
    left: 35px;
    top: 0px;
    padding: 0;
    font-size: 22px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
    z-index: 2;
}
.pannan {
    /* width: 400px; */
    height: 300px;
    /* float:left; */
    /* cursor: pointer; */
}
.panna {
    width: 150px;
    height: 200px;
    background: lightblue;
    position: relative;
    left: 0px;
    top: 90px;
    border-radius: 15px;
    border-style: solid;
}
.ror-panna-retur {
    width: 110px;
    height: 15px;
    position: relative;
    left: 150px;
    top: 60px;
    background: gray;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.ror-panna-load {
    width: 120px;
    height: 15px;
    position: relative;
    left: 150px;
    top: -110px;
    background: gray;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.ror-panna-tank {
    width: 119px;
    height: 15px;
    position: relative;
    left: 281px;
    top: -430px;
    background: gray;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.ror-ladomat-retur {
    width: 110px;
    height: 15px;
    position: relative;
    left: 290px;
    top: 30px;
    background: gray;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.ror-ladomat-till {
    width: 15px;
    height: 200px;
    position: relative;
    left: 267px;
    top: -230px;
    background: gray;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.senaste {
    width: 70 px;
    height: 25px;
    position: relative;
    left: 20px;
    top: -520px;
    font-size: 16px;
}
.utetemp {
    width: 70px;
    height: 25px;
    position: relative;
    left: 50px;
    top: -560px;
    font-size: 16px;
    font-weight: bold;
}
.ladomat {
    width: 35px;
    height: 70px;
    border-radius: 10px;
    position: relative;
    left: 258px;
    top: -246px;
    background: green;
    border-color: black;
    border: 2px;
    border-style: solid;
}
.btn-temp-panna {
    border-radius: 50%;
    width: 100px;
    height: 60px;
    position: relative;
    left: 45px;
    top: 10px;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.btn-temp-panna-retur {
    border-radius: 50%;
    width: 65px;
    height: 35px;
    position: relative;
    left: 35px;
    top: -11px;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.btn-temp-ladomat-retur {
    border-radius: 50%;
    width: 65px;
    height: 35px;
    position: relative;
    left: 10px;
    top: -11px;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.btn-temp-ladomat-till {
    border-radius: 50%;
    width: 65px;
    height: 35px;
    position: relative;
    left: -25px;
    top: 150px;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.inne {
    float:left;
}
.vv {
    width: 184px;
    height: 120px;
    float:left;
}
.element {
    width: 175px;
    height: 120px;
    float:left;
}
.btn-vw {
    border-radius: 50%;
    width: 65px;
    height: 35px;
    position: relative;
    left: 100px;
    top: -110px;
    padding: 0;
    margin: 10px;
    font-size: 18px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.btn-v {
    border-radius: 50%;
    width: 65px;
    height: 35px;
    position: relative;
    left: 100px;
    top: -110px;
    padding: 0;
    margin: 10px;
    font-size: 18px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.garaget {
    float:left;
    height: 170px;
}
.btn-g {
    border-radius: 50%;
    width: 65px;
    height: 35px;
    position: relative;
    left: 200px;
    top: -140px;
    padding: 0;
    margin: 10px;
    font-size: 18px;
    font-weight: bold;
    border-color: black;
    border: 1px;
    border-style: solid;
}
.btn-graf {
    border-radius: 15px;
    width: 70px;
    height: 45px;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    background-color: darkorange;
    border-color: black;
    border: 1px;
    border-style: solid;
    margin: 5px;
}
.btn-graf:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }
[class*="col-"] {
    width: 370px; /*100%;*/
}
.graphheader {
	position: relative;
	width: 400px;
	margin: 0 !important ;
    padding: 0 !important ;
    display: flex;
    justify-content: center;
    align-items: center;
}
.graphcontent {
	/* width: 400px; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
	padding: 5px !important;
}
.graf-container {
	/*width: 370px;*/
	width: 100%;
	height: 220px;
	padding: 5px 3px 3px 3px;
	margin: 0;
	border: 1px solid #ddd;
	background: linear-gradient(#f6f6f6 0, #fff 50px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    -webkit-user-select: none;
	user-select: none;
}
.graf-placeholder {
	width: 100%;
	height: 100%;
	font-size: 14px;
}
.config {
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    width: 400px;
}
.config a {
	text-decoration: none;
}
.config a:hover {
	color: #62779f;
}
.config table {
    display: flex;
    justify-content: center;
}
.config table th {
	font-weight: bold;
	color: #383e4f;
	font-size: 18px;
}
.config form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.config form input[type="text"] {
    width: 45px;
    border: 0px;
    margin: 0px;
    padding: 0px;
}
.config form input[type="submit"] {
    width: 100px;
    padding: 15px;
    margin-top: 15px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 10px;
}
.config form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}
.content-ved {
	width: 100%;
	margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.content-ved h1 {
	margin: 0;
	padding: 5px 0;
	font-size: 24px;
	color: #4a536e;
}
.content-ved h2 {
    text-align: center;
	margin: 0;
	padding: 5px 0;
	font-size: 20px;
	color: #4a536e;
}
.content-ved > p, .content-ved > div {
	margin: 10px 0;
	padding: 25px;
}
.td-pannan {
    background-color: #b0c4b7ff;
    text-align: center;
}
.td-pannrummet {
    background-color: #86988dff;
    text-align: center;
}
.td-ved-knapp {
    text-align: center;
}
.td-ved {
    padding: 0px 0 5px 0;
    border-bottom: 1px solid #dee0e4;
}
.ved-img-container {
    position: relative;
    text-align: center;
    color: white;
    float: left;
    width: 100%;
}
.ved-imgtext-container {
    position: absolute;
    bottom: 4px; /* At the bottom. Use top:0 to append it to the top */
    display: flex;
    width: 100%;
}
.ved-imgtext {
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
    color: #d1dbd1; /* Grey text */
    padding: 20px; /* Some padding */
    font-size: 40px;
    font-weight: bold;
    flex: 50%;
    cursor: pointer;
}
.btn-ved {
    border-radius: 15px;
    width: 150px;
    height: 40px;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    background-color: darkorange;
    border-color: black;
    border: 1px;
    border-style: solid;
    margin: 5px;
    cursor: pointer;
}
.btn-ved:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.addVedPopup {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(222, 8%, 61%); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.formAddVedPopup {
    border-radius: 15px;
    border: 1px solid #dee0e4;
    width: 250px;
    height: 200px;
    top: 50px;
    margin: 0 auto;
    padding: 15px;
    background-color: #dee0e4;
    position: relative;
}
.btn-vedPopup {
    width: 90px;
    padding: 10px;
    margin-top: 10px;
    margin-right: 30px;
    background-color: #32d656;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 10px;
}
.btn-vedPopup:hover {
    background-color: #1cb71e;
    transition: background-color 0.2s;
}
.addVedPopup input[type="text"] {
    width: 130px;
    height: 30px;
    border: 1px solid #dee0e4;
    margin-top: 10px;
    padding: 5px 5px;
    border-radius: 10px;
}
.ant_pallet_wrapper {
    display: inline-flex;
    align-items: stretch;
    border: 0px;
    border-radius: 4px;
    overflow: hidden;
    width: max-content;
    align-items: center;
}
.ant_pallet_wrapper input {
    width: 60px;
    padding: 4px 6px;
    border: none;
    text-align: right;
    font-size: 1rem;
    outline: none;
}
.ant_pallet_wrapper input[type="number"] {
    width: 50px;
    height: 30px;
    border: 1px solid #dee0e4;
    margin-top: 10px;
    padding: 5px 5px;
    border-radius: 10px;
}
.date-wrapper {
    position: relative;
    display: inline-block;
}
#masked-date {
    padding: .4rem .8rem;
    font-size: 1rem;
    width: 140px;
}
.calendar-icon {
    position: absolute;
    right: 6px;
    top: 60%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    user-select: none;
}
/* ---------- Calendar popup ---------- */
.calendar {
    position: absolute;
    top: 110%;               /* below the input */
    left: 0;
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    padding: .5rem;
    z-index: 1000;
    width: 220px;
    font-size: .9rem;
    display: none;           /* hidden until opened */
}
.calendar table {border-collapse: collapse; width: 100%;}
.calendar th, .calendar td {
    text-align: center;
    padding: .3rem;
    cursor: pointer;
}
.calendar th {
    background: #f0f0f0;
    font-weight: normal;
}
.calendar td:hover {background:#e0eaff;}
/* ──────── TODAY (current date) ──────── */
#calendar table td.today { background-color: #e0f7fa; color: #006064; font-weight: normal; }
/* ──────── USER‑SELECTED DATE ──────── */
.calendar .selected {background:#178121ff; color:#fff;}
.calendar .nav {
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}
#native-date { display:none; }
@media only screen and (min-width: 660px) {
    /* For wide phone: */
    .col-1 {width: 400px; float: left;}
    .col-2 {width: 320px; float: left;}
    .graf-container {
        width: 600px;
        height: 300px;
    }
    .content {
        width: 650px;
    }
    .header {
        width: 650px;
    }
}
@media only screen and (min-width: 730px) {
    /* For pad: */
    .col-1 {width: 400px; float: left;}
    .col-2 {width: 320px; float: left;}
    .graf-container {
        width: 700px;
        height: 400px;
    }
    .content {
        width: 730px;
    }
    .header {
        width: 730px;
    }
}
@media only screen and (min-width: 1000px) {
    /* For desktop: */
    .graf-container {
        width: 95%;
        height: 550px;
    }
    .content {
        width: 100%;
    }
    .graphcontent {
        width: 100%;
    }
    .header {
        width: 950px;
    }
}