/* Logotyp */
#logo{
  position: relative;
  height: 90px;
  top: -60px;
  left: 0px;
}

header{
  background-image: url(media/top_thin.jpg);
  background-repeat: no-repeat;
  background-position: center;
  height: 150px;
  width: 100%;
}
#headerWrapper{
  display: block;
  margin: auto;
  padding-left: 5%;
  padding-right: 5%;
}

#siteNavigation {
  right: 0px;
  top: 0;
}

/* Göm Hamburgaren */
#siteNavigation label, #hamburger {
  display: none;
  z-index: 2;
}


/* Meny objekt */
#siteNavigation ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
}
#siteNavigation ul li {
  display: inline-block;
  padding: 10px;
  box-sizing: border-box;
}
#siteNavigation ul li a {
  color: #e98f23;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  font-size: 1.8em;
}
#siteNavigation ul li a:hover {
  color: #e98f23;
  text-shadow: 1px 1px 5px #312110;
}



/* På mindre skärmar */
@media screen and (max-width: 1024px){
  #logo{
    top: -15px;
    left: -15px;
    height: 160px;
  }

  header {
    background-image: url(media/top_thick.jpg);
    background-size: cover;
    height: 600px;

  }
  #headerWrapper{
    padding-left: 0px;
    padding-right: 0px;
  }

  /* Visa menyikon */
  #siteNavigation label {
    z-index: 4;
    display: inline-block;
    color: #e98f23;
    font-style: normal;
    font-size: 5.8em;
    padding: 10px;
    position: fixed;
    right: 8px;
    top: -12px;
    text-align: right;
    text-shadow: 2px 2px 5px #4b3c2c;
    cursor:pointer;

  }

  /* Menyobjekt till vertikal */
  #siteNavigation ul li {
    z-index: 3;
    display: block;
    padding-bottom: 4vh;
  }


  /* visa göm */
  #siteNavigation ul {
    z-index: 3;
    position: absolute;
    text-align: center;
    font-size: 3em;
    color: #746855;
    display: block;
    padding-top: 40vh;
    height: 100%;
    width: 100%;
  }


  #siteNavigation input:not(:checked) ~ ul {

    text-align: center;
    height: 0px;
    opacity: 0;
    animation: fadeOut 0.5s linear;
    background-color: rgb(89, 71, 52,0.9);
  }
  @keyframes fadeOut {
    0% { opacity: 1 }
    100% { opacity: 0 }
  }

  #siteNavigation input:checked ~ ul {
    position: fixed;
    z-index: 2;
    margin: auto;
    height: 100%;
    background-color: rgb(89, 71, 52,0.9);
    animation: fadeIn 0.5s linear;
  }
  #siteNavigation input:checked ~ body, html {
    overflow-x: hidden;
    overflow-y: hidden;
  }
  #siteNavigation input:not(:checked) ~ body, html {
    overflow-x: hidden;
    overflow-y: auto;
  }

  @keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
  }

  #siteNavigation input:checked ~ label{
    color: #312110;
  }

}
