header#header {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #bf2932;
  background-image: url(ylhas_logo_pieni.png);
  background-position: 4rem center;
  background-size: auto 140px;
  background-repeat: no-repeat;
  color: black;
  height: 160px;
}
#header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #bf2932 !important;
  background-size: auto 110px;
  color: black;
  height: 130px;
}

#header #logo {
  display: none;
}

#header #navbar ul.navigation, #header.scrolled #navbar ul.navigation {
  float: none;
  position: relative;
  left: 20rem;
  margin-top: 1.9rem;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

#header.scrolled #navbar ul.navigation {
  margin-top: 1.9rem !important;
}

#header #navbar ul li a, #header.scrolled #navbar ul li a {
  color: black !important;
}

section#body {
  padding-top: 11rem;
}

#breadcrumbs a {
  color: black;
}

section#body > table {
  max-width: 600px !important;
}

section#body p > img {
  max-width: 600px !important;
  border: 1px solid black;
  padding: 5px;
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  section#body {
    padding-left: 9rem;
    padding-right: 9rem;
  }
  header#header {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #bf2932;
    background-image: url(ylhas_logo_pieni.png);
    background-position: 9rem center;
    background-size: auto 130px;
    background-repeat: no-repeat;
    color: black;
    height: 160px;
  }
  #header.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #bf2932 !important;
    background-size: auto 110px;
    color: black;
    height: 130px;
  }

}

/* Large Devices, Wide Screens */
 @media only screen and (min-width : 1200px) {
   #header #navbar ul.navigation, #header.scrolled #navbar ul.navigation {
     left: 25rem;
   }
 }
