* {padding:0;margin:0;}

html {width:100%; height:100%;}
body {background-image: url("menu/tlo1.jpg"); text-align: left; margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px; font-family: arial;}

.container {margin: 0 auto;}

header {margin:0px 0;}
header img {width:100%;}

aside {float:left; margin: 0px 0px 0px 0px; padding:0px 0px 0px 0px;}


#main, #main-full {float: right; margin:0px 0px 0px 0px;}

footer {clear:both; margin:0px px 0px 0px; padding: 20px 0px 0px 0px; display: inline-block;}

@media (min-width: 1001px) {
    footer, .container {width: 1000px;}
    aside {width: 240px;}
    #main {width: 760px;}
    #main-full{width: 1000px;}
}
@media (max-width: 1000px) {
    .container {width: 96%;}
    .bottom-block , .bottom-back, aside, #main, #main-full {width: 100%;}
    
    li, p, ul.p, ol.p, a, .signature, .righted, .centered,
    .regular-standard, .bold-red-regular, .bold-blue-regular,
    .bold-black-regular, .quote, h1, .flex-container, .link-red-bibliography
        {
        font-size: 14pt !important;
        line-height: 16pt !important;
        font-family: arial !important;
    }
    .link-black-table, .link-red-table, .table-style td
        {
        font-size: 9pt !important;
        line-height: 12pt !important;
        font-family: arial !important;
    }
    .footer-style {
        display: block;
    }
    ul.p {
        margin-left: 36pt !important;
    }
    ul.bibliography {
        margin-left: 13pt !important;
    }
    .table-style td {
        border-bottom: solid 1px black !important;
        border-left: solid 1px black  !important;
        padding: 6pt;
     }
     
    .portrait-image  {
        display: block;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .hide-for-mobile {
        display: none;
    }
    .flex-container {
        justify-content: flex-start !important;
        height: auto !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0px !important;
    }
    
    .flex-container > div {
        display: flex-inline !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .image-box {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

input[type=checkbox].hidden{
    display: none;
}

@media (max-width: 1000px) {

input[type=checkbox].hidden{
    display: block;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 15px;
  left: 10px;
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
}

#menuToggle a:hover
{
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle .bar
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #b4b4b4;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: auto;
  max-width: 80%;
  margin: -42px 0px 0px -30px;
  padding: 0px;
  padding-top: 42px;
  padding-right: 10px;
  padding-left: 20px;
  padding-bottom: 20px;
  
  background-image: url("menu/tlo1.jpg");
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.4);
  
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-150%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ div
{
  transform: none;
}
}