html, body {
   margin: 0;
   padding: 0;
   height: 100%;
}

body{
   background-image: linear-gradient(to right, #fff, #eee);
   height: 100vh;
   width: 100vw;
   display: flex;
   flex-direction: column;
}

.container {
   display: flex;
   flex-direction: column;
   justify-content:space-between;
   flex-grow: 1;
}

header {
   padding: 0.2rem;
   background-image: linear-gradient(to right, #000, #777);
   color: #eee;
}

header a {
   color: #eee;
}

@font-face {
   font-family: title;
   src: url(four_pixel_caps_outline.ttf);
   src: url(26FGalaxySans-Black.woff2);
}

header h1 {
   margin: 0 0.2rem;
   padding: 0;
   font-family: sans-serif;
   font-family: title;
   /* text-transform: uppercase; */
   font-size: 100%;
}

main {
   flex: 1;
   padding: 1rem;
   background: #777;
   background-image: url(https://polettix.gitlab.io/cc0s/20130518-030551.jpg);
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;

   display: flex;
   justify-content: center;
   align-items: center;
}

div.realcontent {
   background: #eee;
   border: 10px solid #ccc;
   padding: 1rem;
}

div#app {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}

footer {
   font-size: 80%;
   font-family: title;
   text-transform: uppercase;
   background-image: linear-gradient(to right, #777, #000);
   color: #eee;
   text-align: right;
   padding: 0.2rem;
}

form textarea.cfs {
   min-height: 7rem;
   display: block;
   display: block;
   width: 21rem;
}

div.buttons {
   flex: 1;
}

table, th, td {
  border: 1px solid;
}

table {
   margin-top: 1rem;
   border-collapse: collapse;
   font-family: sans-serif;
   font-size: 90%;
}

th, td {
   padding: 0.3rem 0.7rem;
}

td.value {
   font-family: monospace;
   text-align: center;
}

td.errors {
   padding: 0 0.7rem, 0 0;
}

td.errors ul {
   padding: 0;
   margin: 0;
   list-style-position: outside;
   list-style-type: "-";
}

td.errors ul li {
   padding-left: 0.3rem;
}

.action {
   margin: 0 0.2rem;
   border: none;
   margin-top: 0.1rem;
   background-color: transparent;
}

.action img {
   transform: scale(1.5);
   padding: 7px 2px;
}

.tooltip {
  position: relative;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: lightyellow;
  color: black;
  text-align: center;
  padding: 2px 0;
  border-radius: 6px;
 
  position: absolute;
  z-index: 1;
  bottom: 1.3rem;
  left: 1.3rem;
  border: 1px solid lightgray;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
