@media only screen and (max-width: 1100px) {
  body {
    margin: 0 auto;
    width: 100vw;
    background-color: #b8b8b8;
  }
}

@media only screen and (min-width: 1100px) {
  body {
    margin: 0 auto;
    width: 70vw;
    background-color: #b8b8b8;
  }
}

* {
  color: white;
  font-size: 20px;
  font-family: Verdana, sans-serif;
}

p {
  color: white;
}

h1 {
	text-align: center;
}

h2 {
  font-size: 25px;
}

a.nounderline { /*h1 elementin alaviivan poisto*/
  text-decoration: none;
  color: rgb(0, 46, 0);
	text-align: center;
  font-size: 1.3rem;
}

/* w3schools navigointipalkki */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 46, 0, 0.5);
}

.topnav {
  display: flex;
  justify-content: center;
}

ul.topnav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 0.6em 0.6em;
  text-decoration: none;
  font-size: 0.9em;
}

ul.topnav li a:hover:not(.active) {background-color: #111;}

ul.topnav li a.active {background-color: #04AA6D;}

ul.topnav li.right {float: right;}

@media screen and (max-width: 600px) {
  ul.topnav li.right, 
  ul.topnav li {float: none;}
  .topnav { display: block; }
}
/* Navigointi palkin loppu*/

#lyhyesti, #ajankohtaista, #yhteystiedot, #palvelut, #referenssit {
  margin-top: 0.5em;
  padding: 1em;
  border-style: solid;
  border-width: 1px;
  border-color: white;
  background-color: rgba(0, 46, 0, 0.5);
}

footer {
  text-align: center;
  color: white;
  padding-top: 2%;
}

/* Slideshow */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Slideshown loppu */