body
{
   background-color: #fff;
   margin: 0;
   max-width: none;
   overflow: hidden;
}

noscript
{
   margin-top: 10em;
}

noscript > h2
{
   line-height: 1.5em;
   background-color: #f00;
   color: #fff;
   margin: 0 auto;
   padding: 1em;
   text-align: center;
   width: 80%;
}

#header
{
   background-color: #fc0;
   color: #be2828;
   letter-spacing: .06em;
   margin: 0;
   min-height: 0;
   padding: .28em .6em 0;
   position: static;
   left: auto;
   top: auto;
   width: auto;
}

#sub-header
{
   background-color: #fc0;
   color: #fff;
   letter-spacing: .06em;
   margin: 0;
   padding: .33em .8em;
}

#print-header
{
   display: none;
   padding: 1.3em;
   top: 0;
   width: 100%;
}

#canvas-wrapper
{
   border: none;
   margin: 0;
   width: 100%;
   height: calc(100vh - 12rem - 6.5em);
}

/* keyboard rules are in kbd.css */

#footer,
#print-footer
{
   background-color: #c1cc26;
   box-sizing: border-box;
   padding: 1.3em;
   position: fixed;
   text-align: left;
   bottom: 0;
   width: 100%;
}

#footer > h4
{
   margin: 0;
   margin-bottom: .5em;
}

#footer > h6
{
   color: #fff;
   margin: 0;
   margin-top: 1em;
}

span.button.gebarenfabriek
{
   background-color: #f63;
   color: #fff;
   font-weight: bold;
   padding: .1em .5em .25em .5em;
}

   /* !important needed to override main.css specificity */
#footer > span:after
{
   content: "" !important;
}

#print-footer
{
   display: none;
}

#reset
{
   cursor: pointer;
   margin-right: 1em;
}

#print
{
   cursor: pointer;
}

@media screen and (max-width: 600px) and (orientation: portrait),
                  (max-width: 960px) and (orientation: landscape)
{
   #header
   {
      padding: 0em .6em;
   }

   #sub-header
   {
      font-size: 1.375em;
      padding: 0em .8em;
      padding-bottom: .25em;
   }

   #canvas-wrapper
   {
      height: calc(100vh - 12rem - 5em);
   }
}

@media screen and (max-width: 800px) and (orientation: portrait),
                  (max-width: 1366px) and (orientation: landscape)
{
   #footer
   {
      display: none;
   }
}
