  /*
 * Made by Erik Terwan
 * 24th of November 2015
 * All rights reserved
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */
header{
  background: #00b4ef;
  height: 42px;
  width: 100%;
  position: fixed;
  z-index: 999;
  margin-top: -42px;
}

header #logoDiv {
  background:0 0,url(/svg/logo-v1f.svg) no-repeat;
  display: block;
  float: left;
  height: 100%;
  left: 40%;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  text-indent: -10000px;
  top: 5px;
  width: 80px;
  z-index: 999;
}

header .search{
  font-size: 24px;
  position: absolute;
  right: 11px;
  top: 7px;
  color: #fff;
  z-index: 999;
}

#Footer{
  margin-bottom:35px;
}

nav a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

nav a:hover
{
  color: #00b4ef;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 10px;
  left: 10px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#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 span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #FFFFFF;
  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: #FFFFFF;
}

/*
 * 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)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 70%;
  margin: 4px 0 0 -50px;
  padding: 50px;
  padding-right: 10px;
  padding-top: 14px;
  background: #FFFFFF;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  height:300px;
  display:none;
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
  border-bottom: 1px solid #E2E2E2;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
  display: block !important;
}
  

