* {
  box-sizing: border-box;
}

body {
  font-family: Arial;
  padding: 10px;
  background: #f1f1f1;
  margin: 50px auto;
}

h2 {
  margin: 10px;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 50px;
  z-index: 1000;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Style the topnav name */
.topnav label {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: bolder;
}

.topnav form {
  float: right;
  display: flex;
  padding: 0 10px;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

input[type=text].searchTerm {
  width: 100%;
  border: 3px solid #666666;
  padding: 5px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #000000;
}


/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  float: left;
}

/* Right column */
.rightcolumn {
  float: left;
  background-color: #f1f1f1;
  padding-left: 20px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  min-width: 200px;
  position: relative;
}

.row {
  margin: auto;
  width: max-content;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}

/* Style inputs */
input[type=text], input[type=password], input[type=time], input[type=number] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=checkbox] {

}


/* Style the submit button */
button[type=submit] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type=submit].deleteBtn {
  width: 100%;
  background-color: #f20d0d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Style the submit button */
button[type=submit]:disabled {
  width: 100%;
  background-color: #668066;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Add a background color to the submit button on mouse-over */
input[type=submit]:hover {
  background-color: #45a049;
}

.notificationSuccess{
  z-index: 10;
  display:block;
  font-size:14px;
  width:180px;
  position:absolute;
  top:3.5%;
  left:50%;
  margin-left:-90px;
  box-sizing:border-box;
  border-radius:4px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 3px 0 rgba(0,0,0,0.2);
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
}

.notificationError{
  z-index: 10;
  display:block;
  font-size:14px;
  width:180px;
  position:absolute;
  top:3.5%;
  left:50%;
  margin-left:-90px;
  box-sizing:border-box;
  border-radius:4px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 3px 0 rgba(0,0,0,0.2);
  background-color: #c63232;
  color: white;
  padding: 10px 20px;
}

.animateOpen{
  -webkit-animation:moveOpen 4s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
}
/* Safari and Chrome */
@-webkit-keyframes moveOpen
{
  from {-webkit-transform: translate(0,-100px);}
  10% {-webkit-transform: translate(0,20px);}
  12% {-webkit-transform: translate(0,22px);}
  16% {-webkit-transform: translate(0,20px);}
  80% {-webkit-transform: translate(0,20px);}
  85% {-webkit-transform: translate(0,25px);}
  to {-webkit-transform: translate(0,-100px);}
}

.charts {
  width: 1000px;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #474e5d;
  padding-top: 50px;
}

table {
  border-collapse: collapse;
}

td, th {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even) td{background-color: #f2f2f2;}

.userTable th:last-child{
  background-color: transparent;
  border: none;
}

tr:hover td {background-color: #ddd;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}

.chartOptions {
  background-color: #ccd2df;
  border-radius: 10px;
  padding: 10px;
  position: relative;
}

.chartOptions input {
  width: fit-content;
  padding: 10px;
  margin: 0;
  display: inline-block;
  border: 1px solid #5380bb;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #ffffff;
}

.chartOptions select, .chartOptions p {
  width: fit-content;
  padding: 9px;
  margin: 0 5px;
  display: inline-block;
  border: 1px solid #5380bb;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 5px;
}

.chartOptions .title {
  background: none;
  border: none;
  font-size: 25px;
  font-weight: 600;
  padding: 4px;
}

.pagination {
  text-align: center;
  margin: 10px 0;
}

.pagination p {
  display: inline;
}

.pagination .disabled {
  color: #a0a0a0;
}

.pagination a {
  text-decoration: none;
}

.chartInfoTable {
  margin: 10px;
  position: relative;
  font-size: 12px;
  }

.chartInfoTable table {
  overflow: scroll;
  width: 100%;
}

.chartInfoTable .closeBtn {
  position: absolute;
  right: 0;
  color: white;
  background: none;
  border: none;
  top: 7px;
  outline: none;
}

.chartInfoTable th {
  background-color: #5380bb;
}

.client_list {
    padding: 0px;
}

.client_elem {
    list-style-type: none;  
}
