
body {
  margin: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.42857143;
  color: #333;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 199;
  width: 100%;
  height: 50px;
  background-color: #FFFFFF;

}

header h1 {
  margin: 0;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  font-weight: 400;
  font-size: 18px;
  float: left;
}



.taulukko {color: #FFFBF0;  font-weight: bold; background-color: #2A1FFF; border-color: #2A1FFF; border-style:solid; border-width:medium;  }
 td {padding: 0 10px 0 10px;}
 tr {white-space: nowrap;}

.lihavoitu{
  font-weight: 700;
}
.eka_kappale {  padding-top: 2rem;}

.tyhja_alle {  padding-bottom: 40px;}

.otsake {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 2rem;
}

.alaotsake {
  font-size: 1.125rem;
  font-weight: 700;
  padding-top: 1.5rem;
}

.kuvateksti {
    font-size: 0.875rem;
    text-align: left;
  }


.tapahtuma {list-style-type: none;
            font-size: 1.2rem;
          }

.wrapper {
  margin-top: 50px;
  transition: all 0.3s ease-out;
  background-image: url(https://ardf.fi/images/ZF_kettu.jpg);
  background-repeat: repeat-y;
  background-size: 90%;
}
.wrapper a {color: #0033FF; text-decoration: none;}
.wrapper a:hover {text-decoration: underline;}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
.clear {
    clear: both;
}
.vasen{
  float: left;
  padding: 0 20px 20px 0;
}

.video-ikkuna {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    z-index: 1;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tapahtuma {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

.nimenhuuto-ikkuna {
    position: relative;
    float: left;
    width: 250px;
    margin-left: 30px;
    z-index: 1;
}

.nimenhuuto {
  width: 250px;
  text-align:center;
  background-color:#fff;
  padding:8px;
  border:1px solid #0033FF;
}

.kuvalista {
  list-style-type: none;
  width: 100%;
	max-width: 768px;
  padding: 0;
}
.kuva_200_r {
  float: right;
  width: 100%;
  max-width: 200px;
  overflow: hidden;
}
.kuva_200_l {
  float: left;
  width: 100%;
  max-width: 200px;
  overflow: hidden;
}

.kuva_150_l {
  float: left;
  width: 100%;
  max-width: 150px;
  overflow: hidden;
  padding-left: 50px;
}
.kuva_400_r {
  float: right;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}
.kuva_400_l {
  float: left;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.kuva_600_r {
  float: right;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}

.kuva_600_l {
  float: left;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}
.kuva_800_r {
  float: right;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
}

.kuva_800_l {
  float: left;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
}

.google-maps {
  position: relative;
  padding-bottom: 56.25%; // This is the aspect ratio
  height: 0;
  overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.kuva {
  float: left;
  margin-right: 15px;
	max-width: 300px;
	max-height: 200px;
}

.kuva_right {
  float: right;
  margin-left: 30px;
	max-width: 400px;
	max-height: 300px;
}
.kuvalista_item {
  overflow: auto;
}

@media (min-width: 510px) {
.video-ikkuna {
    width: 510px;
    height: 287px;
    padding-bottom: 0;
}
}


/* Small devices (tablets)
==========================*/
@media (min-width: 768px) {
  body {
    margin: 0px;
}
  header {
  height: 100px;
}
.wrapper {
  margin-top: 100px;
  padding: 0px 10px 10px 20px;
  background-image: url(https://ardf.fi/images/ZF_kettu.jpg);
  background-repeat: repeat-y;
}

.google-maps {
  padding-bottom: 450px;
}

.google-maps iframe {

    width: 750px !important;
    height: 422px !important;
}


}



/* Medium devices (desktops)
==========================*/
@media (min-width: 1024px) {

  body {
    overflow-y: scroll;

    margin: 0px;

}

  .logo img {
    width: 200px;
    text-align: center;
    margin-top: 10px;
    float: none;
  }

  .wrapper {
      margin-left: 200px;
      padding: 0px 20px 20px 40px;
  }

  .wrapper__minify {
    margin-left: 50px;
  }
