body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  /* background-color: lightgrey; */
  /* background-color: rgb(17, 17, 17); */
  /* https://cssgradient.io/ */
  background: rgb(0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,1) 21%, rgba(20,19,19,1) 70%, rgba(24,7,7,1) 100%);
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

div {
  overflow-x: auto;
}

button {
  background-color: rgb(27, 27, 27);
  color: white;
}

button:hover, a:hover {
  /* background-color: rgb(53, 17, 17); */
  background-color: rgb(65, 59, 59);
}

a {
  padding:2% 2%; 
  margin: 2%; 
  font-weight:bold; 
  text-decoration:none;
  display: inline-block;
  color: white;
  background-color:rgb(27, 27, 27);
}

select {
  margin: 0% 2%;
}

table,
th,
td {
  border-collapse: collapse;
  /* border: solid green 2px; */
}

.sk_form  div{
  padding: 0% 2%;
  margin-top: 1%;
}

.input_filter {
  margin: 1% 1%; /* top/bottom left/right */
  padding: 10px 0px 10px 40px; /* top, right, bottom, left */
  background-image: url('/images/search.png');
  background-repeat: no-repeat;
  width: 80%;
  font-size: 16px;
}

.tile_counter {
  float: right;
  padding: 0% 2%;
}

.table_cell {
  text-align: center;
  width: 10%;
}
.action_table_cell {
  text-align: center;
}

table {
  margin: 1% 1%; /* top/bottom left/right */
  width:90%;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

th {
  background-color: rgb(27, 27, 27);
  padding: 2% 20px;
}

tr {
  background-color:rgb(49, 46, 46);
  color:white;
}

tr:hover {
  /* background-color: rgb(100, 34, 34); */
  background-color: rgb(59, 28, 28);
}
th:first-of-type {
  border-top-left-radius: 10px;
}
th:last-of-type {
  border-top-right-radius: 10px;
}
tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 10px;
}
tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 10px;
}

.header {
  /* background-color: rgb(100, 34, 34); */
  background-color: rgb(54, 16, 16);
  display: flex;
  flex-direction: row;
}
.header img {
  height: auto;
}

.title {
  display:inline-block;
  margin:1% 1% 1% 1%;
  width:90%
}

.login {
  text-align: center;
  margin:5%;
  width:90%
}

.infotext {
  padding: 2%;
}

.loading {
  top: 50%;
  left: 50%;
  position: absolute;
}

.footer {
  /* text-align: center; */
  padding: 3px;
  background-color: rgb(54, 16, 16);
  color: white;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

.footer a {
  width: auto;
  height: auto;
  text-align: left;
  padding: 0.5% 1%;
  margin: 0.5%;
}

.trend_up {
  content: "\2BC5";
}

.trend_down {
  content: "\2BC6";
}

/* Extra small devices (phones, 600px and down) */ 
@media only screen and (max-width: 600px) {
  a {
    width: 90%;
  }
  .table_cell a {
    width: 90%;
  }
  table {
    width: 98%;
  }
  td {
    padding: 2% 0%; /* top/bottom left/right */
  }
  th {
    padding: 2% 20px; /* top/bottom left/right */
  }
  .header {
    height: 10%;
  }
  .header img {
    width: 10%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  a {
    width: 90%;
  }
  .table_cell a {
    width: 90%;
  }
  table {
    width:98%;
  }
  td {
    padding: 2% 0%; /* top/bottom left/right */
  }
  th {
    padding: 2% 20px; /* top/bottom left/right */
  }
  .header {
    height: 10%;
  }
  .header img {
    width: 10%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  a {
    width: 90%;
  }
  .table_cell a {
    width: 90%;
  }
  table {
    width:98%;
  }
  td {
    padding: 1% 0%; /* top/bottom left/right */
  }
  th {
    padding: 1% 10px; /* top/bottom left/right */
  }
  .header {
    height: 5%;
  }
  .header img {
    width: 5%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
/* @media only screen and (min-width: 992px) {
} */

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  a {
    width: 25%;
    padding:2% 2%; 
  }
  .table_cell a {
    width: 90%;;
    padding: 2% 2%;
  }
  .action_table_cell a {
    width: 90%;;
    padding: 2% 2%;
  }
}