* {box-sizing: border-box}

/* Header */
.header {
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 2px 5px 2px 5px;
}

.header-center {
  float: none;
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0082c8;
  font: bold 18px/1.5 Arial, Helvetica, sans-serif;
}

.header-right {
  float: right;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 10px 13px 10px 13px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 2px;
  line-height: 25px;
  border-radius: 4px;
}

.header a:hover, .dropdown:hover .dropbtn {
  background-color: #6eb43f;
  color: white;
  text-shadow: 1px 1px 3px #999999;
}

.header a.active {
  color: #6eb43f;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 14px;
  border: none;
  border-radius: 4px;
  outline: none;
  color: black;
  padding: 10px 13px 10px 13px;
  background-color: inherit;
  font-family: inherit;
  margin-top: 2px;
  line-height: 25px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f0f0f0;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  font-size: 14px;
  float: none;
  color: black;
  padding: 2px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #6eb43f;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, select, textarea, input [type=text], input[type=number], input[type=date], input[type=password], input [type=checkbox], .gridinput [type=text], .gridselect {
    width: 100%;
  }

  .griditem {
    width: 100%;
  }

  .grid-container > div {
    font-size: 9px;
  }

  .column {
    width: 100%;
  }

  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header-right {
    float: none;
  }

  .header-center {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
}
