/* Required styles for control, status, and gantry pages */

/* Global styles */

body {
  font-family: Arial;
  background-color: 049DD8;
  margin: 60px 0px 0px 0px;
  display: flex;
  flex-direction: column;
}

table {
  border: 0px solid black;
  background-color: Black;
  color: white;
  padding: 10px;
  font-size: 20px;
  border-collapse: collapse;
  align-self: center;
}

tbody {
    border:2px solid black;
    background-color: mediumpurple;
}

th {
    background-color: black;
    color: white;
    border: 2px solid white;
}

td {
    background-color: white;
    color: black;
}

td1 {
    background-color: red;
    color: white;
}

#filterInput {
    margin-bottom:12px;
    padding: 8px;
    width:100%;
}

/*
p {
    background-color: red;
    color: white
}

p1 {
    background-color: orange;
    color: white
}

p2 {
    background-color: blue;
    color: white
}

p3 {
    background-color: lawngreen;
    color: white
}
*/
input { 
  font-size: 30px;
  width: 100px;  
}

caption {
    font-size: 50px;
    color: black;
}
button {
  font-size: 20;
  height: 35px;
  width: 100px;
}

h1 {
  text-align: center;
  font-weight: 900;
}

label {
  font-size: 15px;
}

.content {
  flex: 1 1 0%;
}

.no_border {
  border: 0px solid black;
}


.no_border, td, th {
  border: 2px solid black;
  border-top: none;
  border-bottom: none;
}

.border, td, th {
  border: 3px solid black;
}

.center {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  align-self: center;
  justify-items: center;  
  justify-content: center;
}

.message {
  display: flex;
  background-color: lightgray;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.button_menu {
  display: flex;
  flex-direction: column;
  background-color: lightgrey;
  align-items: center;
}

.buttons {
  display: flex;
  max-width: 800px;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
}

.buttons a {
  font-size: 20px;
  color: black;
  border: black;
  border-width: 2px;
  border-style: outset;
  text-decoration: none;
  padding: 10px 20px 10px 20px;
  margin: 0px 20px 0px 20px;
}

.buttons a:hover {
  background-color: grey;
}

@media (max-width: 715px) {
  .buttons {
    flex-direction: column;
  }

  .buttons a {
    margin: 10px 0px 10px 0px;
  }
}

/* Header styles */

.header {
  display: flex;
  background-color: rgba(112, 112, 112, 0.8);
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  width: 100%;
  top: 0;
}

.header_l {
  display: flex;
  padding: 5px;
}

.header_r {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 20px;
  margin: 0px 20px;
}

.header_l:not(.header_logo) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 20px;
  margin: 0px 20px;
}

.header_r a {
  font-size: 20px;
  color: black;
  padding: 14px 16px;
  text-decoration: none;
}

.header_l a:not(.header_logo) {
  font-size: 20px;
  color: black;
  padding: 14px 16px;
  text-decoration: none;
}

.header_l .help_button {
  background-color: #049DD8;
}

.header_r a.active {
  background-color: 049DD8;
}

.header_l a.active:not(.header_logo) {
  background-color: 049DD8;
}

.header_logo:hover {
  opacity: 80%;
}

.dropdown_content {
  display: none;
  background-color: lightgrey;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  flex-direction: column;
  position: absolute;
  margin: 13px 0px;
}

.header_r a:hover:not(.active, .dropdown_content a) {
  background-color: lightgrey;
}

.header_l a:hover:not(.header_logo) {
  background-color: lightgrey;
}

.dropdown:hover .dropdown_content{
  display: flex;
}

.dropdown_content a:hover {
  background-color: whitesmoke;
}

@media (max-width: 500px) {
  .header {
    flex-direction: column;
    justify-content: center;
    position: static;
    background-color: grey;
  }

  .header_r {
    flex-direction: column;
  }

  .header div {
    margin: 20px;
  }

}

/* Footer styles */

.footer {
  display: flex;
  background-color: grey;
  justify-content: space-between;
}

.footer_l {
  display: flex;
  align-items: center;
  padding: 5px;
}

.footer_r {
  display: flex;
  align-items: center;
}

.footer_r p {
  background-color: grey;
  margin: 5px;
  padding: 5px;
  font-size: 20px;
}

@media (max-width: 400px) {
  .footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}


