html {
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  font-size: 1.0em;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

:root {
  --light-orange: #ff6600;
  --dark-green: #007549;
  --dark-grey: #777;
  --light-grey: #dadce0;
  --white: #fff;
  --dark-blue: #004962;
  --light-blue: #00a164;
  --light-green: #25cc7b;
  --green: #00ac6a;
  --slate: #367184;
  --black: #000;
}

.invisible {
  color: var(--light-grey);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background-color: var(--light-grey);
  min-height: 100%;
}

section {
  padding: 0.5rem;
  flex-grow: 1;
}

.title {
  color: var(--dark-blue)
}

.tutorial {
  box-shadow: 4px 6px var(--dark-blue);
  color: var(--dark-blue);
  padding: 10px 10px;
  border: 2px solid var(--slate);
  width: 100%;
  font-size: 14px;
  border-radius: 10px;
}

.home-search {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.home-search img {
  margin-bottom: 20px;
}

#home-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: 2rem auto;
  grid-template-areas:
    "myupleft myupmid myupright"
    "mytut mytut mytut";
  //text-align: center;
  //border: 5px outset red;
  //justify-content: center;
}

#upleft{
  grid-area: myupleft;
  justify-content: center;
}

#upright{
  grid-area: myupright;
  justify-content: center;
}

#upmid{
  grid-area: myupmid;
  justify-content: center;
}

#tut{
  grid-area: mytut;
  display: flex;
  flex-direction: row;
}

.home-input {
  outline: none;
  box-shadow: none;
  background-color: transparent;
  border-radius: 4px;
  padding: 10px 5px;
  text-align: center;
  border: 1px solid var(--dark-grey);
  width: 100%;
  margin: 1px 10px;
}

.data {
  outline: 2px;
  box-shadow: none;
  background-color: var(--black);
  color: var(--light-green);
  padding: 10px 20px;
  border: 5px solid var(--dark-grey);
  width: 100%;
  font-family: 'Lucida Console', monospace;
  font-size: 12px;
}

.indent {
  margin-left: 15px;
}

.doubleindent {
  margin-left: 30px;
}

.tripleindent {
  margin-left: 45px;
}

a {
  text-decoration: none;
  color: var(--dark-blue);
}

a:hover {
  text-decoration: underline;
}

a.foot {
  color: var(--white);
}

a.foot:hover {
  text-decoration: none;
  color: var(--light-green);
}

a.datalink {
  text-decoration: underline;
  color: var(--light-green);
}

a.datalink:hover {
  text-decoration: underline;
  color: var(--white);
}

a.button {
  border: 2px solid #004962;
  color: var(--dark-blue);
  border-radius: 4px;
  padding: 7px 24px;
  font-size: 14px;
  font-weight: 400;
}

a.button:hover {
  text-decoration: none;
  background-color: var(--dark-blue);
  color: var(--light-green);
}

label {
  display: inline-block;
  width: 300px;
  text-align: left;
}

#verification {
  height: 60px;
  position: relative;
  display: grid;
  grid-template-columns: 45px 45px 45px 20px 45px 20px 45px 20px 45px auto;
  grid-template-areas:
    "l2_1 l2_2 l2_3 l2blank l3 l3blank l4 l4blank l5 l5network";
  justify-content: center;
}

#verification.myl2_1 {
  grid-area: l2_1;
  justify-content: center;
}

#verification.myl2_2 {
  grid-area: l2_2;
  justify-content: center;
}

#verification.myl2_3 {
  grid-area: l2_3;
  justify-content: center;
}

#verification.myl2blank {
  grid-area: l2blank;
  justify-content: center;
}

#verification.myl3 {
  grid-area: l3;
  justify-content: center;
}

#verification.myl3blank {
  grid-area: l3blank;
  justify-content: center;
}

#verification.myl4 {
  grid-area: l4;
  justify-content: center;
}

#verification.myl4blank {
  grid-area: l4blank;
  justify-content: center;
}

#verification.myl5 {
  grid-area: l5;
  justify-content: center;
}

#verification.myl5_network {
  grid-area: l5network;
  justify-content: center;
}

.network {
  color: var(--dark-blue);
  font-weight: bold;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.square {
  border: 4px solid var(--dark-green);
  margin: 0;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: var(--dark-green);
  color: var(--white);
  text-align: center;
  font-weight: bold;
}

.opensquare {
  border: 4px solid var(--dark-green);
  margin: 0;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: var(--light-grey);
  color: var(--dark-green);
  text-align: center;
  font-weight: bold;
}

form {
  flex-basis: 50%;
  flex-grow: 1;
  flex-shrink: 1;
  height: calc(100% - 10px);
  margin-left: 10px;
  margin-right: 10px;
}

.search-input {
  width: 100%;
  border-radius: 4px;
  border-color: var(--dark-blue);
  background-color: var(--white);
  color: var(--dark-blue);
  font-size: 16px;
  line-height: 1.4;
  padding-left: 5px;
}

#container {
  display: grid;
  height: 100%;
  grid-template-columns: [left] 10rem auto 10rem [right];
  grid-template-rows: [top] 10rem auto 3rem [bottom];
  grid-template-areas:
    "head head head"
    "panleft mainbody panright"
    "foot foot foot";
}

#header {
  grid-area: head;
  background: var(--light-gray);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.0rem;
}

#panel {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background: var(--light-gray);
}

#panel.left {
  grid-area: panleft;
}

#panel.right {
  grid-area: panright;
}

#footer {
  grid-area: foot;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem;
  background: var(--dark-blue);
  color: var(--white);
}

#mainbody {
  display: flex;
  flex-direction: column;
  grid-area: mainbody;
  justify-self: center;
  width: 100%;
  min-width: 25rem;
}

div#panel, div#mainbody {
  padding-top: 0.5rem;
}

.headspace, .panspace, .footspace, .bodyspace {
  flex-grow: 1;
}

@media screen and (max-width: 550px) {
  header {
    flex-direction: column;
    height: auto;
    padding-bottom: 10px;
  }

  form, .search-input {
    width: 100%;
  }

  .title {
    font-size: 18px;
  }

}

