html, body{
  margin: 0;
  padding: 0;
  font-family: "Helvetica", sans-serif;
  text-align: left;
  background-color: #FFF;
}
.container{
  margin: 10px;
}

h2 {
  background-color: grey;
  color: white;
  padding-left: 5px;
}

.material-icons {
  vertical-align: middle;
}
.symbol {
  font-size: inherit;
}

.status-error {
  color: red;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.2); /* Black w/ opacity */
}
/* Modal Content/Box */
.prompt-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 2px solid #333;
  width: 80%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
  box-shadow: 0px 0px 10px 10px rgba(237,237,237,1);
  max-width: 500px;
}
#prompt-close {
  float: right;
}
#prompt-val {
  width: 96%;
}
#prompt-ok {
  padding: 5px 30px;
  margin-top: 10px;
}


table.form {
  border-collapse: collapse;
}
table.form tr {
  border: solid 1px black;
  border-bottom: solid 1px black;
}
table.form td {
  padding: 5px;
}
table.form tr td:first-child {
  background-color: #EEE;
  text-align: right;
}

.text {
  max-width: 50%;
}
#editordiv span {
  display: block;
  padding: 5px 0;
  margin-left: 5px;
}
#editordiv span button {
  margin-right: 5px;
}
#spformula {
  margin: 10px;
  font-style: italic;;
  background-color: #EFEFEF;
  width: auto;
  display: inline-block;
  padding: 10px;
}
#spformula > div {
  display: inline-block;
}

#spformula input {
  width: 8em;
}

#spformula table {
  text-align: left;
  width: auto;
  table-layout: fixed;
  background-color: #EEE;
}
#spformula table thead {
  width: 250px;
  display: inherit;
}
#spformula table tbody {
  display: block;
  max-height: 150px;
  overflow-y: scroll;
  text-align: left;
}

.pow {
  vertical-align: super;
  display: inline !important;
  font-size: 80%;
}

.btn-link {
  padding: 4px 7px 0 0;
  border: none;
  width: 18px;
  height: 14px;
  font: 16px/14px Tahoma, Verdana, sans-serif;
  color: #c3c3c3;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
  text-align: left;
}
.btn-link:hover {
  color: #999;
}

.movea {
  padding: 0;
}

.graphdiv{
  position: fixed;
  width: 400px;
  height: 320px;
  right: 2px;
  top: 2px;
  padding: 20px 0px 0 20px;
  background: white;
  border-radius: 10px;
  border: solid 1px black;
  box-shadow: -5px 5px 5px 0px rgba(187,187,187,1);
}
.graph {
  width: 360px;
  height: 280px;
}

.help-b {
  margin-left: 10px;
  font-size: 20px;
  vertical-align: middle;
  color: #575757;
}
.help-p {
  display: none;
}

#footer {
  margin-top: 2em;
}

#activities-btns, #editor-btns {
  display: inline-block;
}

#cookies-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  color: white;
  padding: 15px;
  z-index: 20000;
}
#cookies-banner div {
  padding: 10px 0;
}
#cookies-accept {
  background: yellow;
  color: black;
  padding: 10px 20px;
  width: 33%;
  margin-left: 10px;
  float: right;
  max-width: 120px;
  border: 0;
}
#cookies-more {
  text-decoration: none;
  color: #1992ca;
}

/* for 680px or less */
@media screen and (max-width: 680px) {
  #cookies-banner div, cookies-accept {
    padding: 0;
    font-size: 80%;
  }
}

/* for 480px or less */
@media screen and (max-width: 800px) {
  #activities-btns {
    display: block;
    margin-top: 15px;
  }
  #activities-btns .help-b {
    margin-left: 15px;
  }
  .movea {
    margin-left: 20px;
  }
  .graphdiv {
    position: relative;
    width: 350px;
    height: 290px;
    padding: 0;
  }
  .graph {
    width: 320px;
    height: 270px;
  }
  .text {
    max-width: 100%;
  }
}
