* {
	margin: 10;
	padding: 0;
}

body {
	font: 16px/1.4 Calibri;
}

img {
  height: auto;
}

#table_wrapper label {
  display: none;
}

.header {
  display: flex;
  width: 95%;
  justify-content: center;
  margin: 0 auto;
  align-items: start;
  margin-top: 10px;
}

@media screen and (max-width: 755px) {
  .header {
    flex-direction: column;
    align-items: center;
    min-width: 330px;

    h1 {
      font-size: 1.5rem;
    }
  }
}

.subheader {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

#page-wrap {
	margin: 50px;
}

p, h1 {
	margin: 0;
}

h1 {
  font-size: 1.9em;
}

#subheader {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

#checkbox-list {
  position: relative;
}

#reload-units {
  background-color: #fff;
}

#reload-units, 
#select-all-units-label {
  border: 1px solid #ddd;
  font-size: 17px;
  padding: 5px 10px;
  border-radius: 4px;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;

  &:hover {
    background-color: #eeeeee;
  }
}

#reload-units:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.select-units {
  display: flex;
  align-items: center;
}

label {
  user-select: none;
  cursor: pointer;
}

.alerts {
  display: flex;
  align-items: center;
  position: relative;
}

iframe {
  width: 800px;
  height: 500px;
  z-index: 10;
  background-color: #fff;
  position: absolute;
  top: 120%;
  right: 0;
  left: 0;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease-in-out;
}

#select-all-units:checked ~ iframe {
  transform: scaleY(1);
}

/* 
Generic Styling, for Desktops/Laptops 
*/
table {
	width: 100%;
  margin: 0 auto;
	border-collapse: collapse;
}

/* Zebra striping */
tr:nth-of-type(odd) {
	background: #eee;
}

th {
	background: #03082f;
	color: white;
	font-weight: bold;
}

a {
  text-decoration: none;
  color: inherit;
}

tr:hover > td a {
  text-decoration: underline;
}

td, th {
	padding-block: 5px;
	border: 1px solid #ccc;
  text-align: start !important;
}

.congelado {
  color: Red;
	font-weight: bold;
}

.normal { 
  color: DarkGreen;
}

.caliente {
  color: Blue;
}
