body {
  text-shadow: 1px 1px #DBDBDB;
  margin: 0 auto;
  background-image: url(../background2.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100%;
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  font-size: 15px;
  background-color: #fff;
}

@media print {
  a[href]:after {
    content: none !important;
  }
}

a:link, a:visited {  
  color: #000;
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  font-size: 15px;
  cursor:pointer;  
  text-decoration: none;
  transition: all 0.1s linear;
}

a:active, a:hover { 
  color: #858585;
  transition: all 0.1s linear;
}

div.product {
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  background: -moz-linear-gradient(top, rgba(221,221,221,0.65) 0%, rgba(221,221,221,0.49) 24%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(221,221,221,0.65) 0%,rgba(221,221,221,0.49) 24%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(221,221,221,0.65) 0%,rgba(221,221,221,0.49) 24%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6dddddd', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
  max-width: 1200px;
  width: 100%;
  border-top: 1px solid #000;
  padding: 5px;	
  font-family: 'Roboto', sans-serif, tahoma, arial; 
}

div.prodtitle {
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  max-width: 1000px;
  height: 20px;
  font-weight: bold;
}

div.prodinfo {
  max-width: 1000px;
  max-height: 500px;
  height: 100%;
  height: 100%;
}

div.tuoteid {
  font-weight: bold;
}

div.image {
  margin-right: 5px;
  float: left;
  border: 1px solid #D1D1D1;
  height: 100px; 
  width: 100px; 
  background-color: #FFF; 
  box-shadow: 0px 0px 5px #E0E0E0; 
  text-align: center;
}

span.price {
  font-size: 20px;
  color: #F22E38;
  font-weight: bold;
}

span.productpic {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

img.productpic {
  vertical-align: middle;
  max-width: 100%; 
  max-height: 100%;
}


td.fppicbig {
  border: 1px solid #000;
  width: 400px;
  height: 400px;
  background-color: #FFF;
}

div.fppic {
  vertical-align: middle;
  border: 1px solid #000;
  width: 90px;
  height: 90px;
  background-color: #FFF;
}

.shadow {
  box-shadow: 0px 0px 10px #000;
}

table.product {
  border-top: 1px solid #D4D4D4;  height: 1px; 
  background: -moz-linear-gradient(top, rgba(221,221,221,0.65) 0%, rgba(221,221,221,0.49) 24%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(221,221,221,0.65) 0%,rgba(221,221,221,0.49) 24%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(221,221,221,0.65) 0%,rgba(221,221,221,0.49) 24%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6dddddd', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

.navigation {
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 1;
  box-shadow:0px 1px 5px #5d5d5d;
}

.navigation ul,
.navigation ul li,
.navigation ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation ul {
  position: relative;
  z-index: 500;
  float: left;
}

.navigation ul li {
  float: left;
  min-height: 0.05em;
  line-height: 1em;
  vertical-align: middle;
  position: relative;
}

.navigation ul li.hover,
.navigation ul li:hover {
  position: relative;
  z-index: 510;
  cursor: default;
}

.navigation ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 520;
  width: 100%;

}

.navigation ul ul li { float: none; }

.navigation ul ul ul {
  top: 0;
  right: 0;
}

.navigation ul li:hover > ul { visibility: visible; }

.navigation ul ul {
  top: 0;
  left: 99%;
}

.navigation ul li { float: none; }

.navigation ul ul { margin-top: 0.05em; }

.navigation {
  width: 13em;
  background: #fff;
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  zoom: 1;
}

.navigation:before {
  content: '';
  display: block;
}

.navigation:after {
  content: '';
  display: table;
  clear: both;
}

.navigation a {
  display: block;
  padding: 1em 1.3em;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
}

.navigation > ul { width: 13em; }

.navigation ul ul { width: 13em; }

.navigation > ul > li > a {
  color: #000;
  background: #fff;
}

.navigation > ul > li > a:hover { color: #000;}

.navigation > ul > li a:hover,
.navigation > ul > li:hover a { background: #fff; }

.navigation li { position: relative; }

.navigation ul li.has-sub > a:after {
  content: '»';
  position: absolute;
  right: 1em;
}

.navigation ul ul li.first {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.navigation ul ul li.last {
  -webkit-border-radius: 0 0 3px 0;
  -moz-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
  border-bottom: 0;
}

.navigation ul ul {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.navigation ul ul { border-top: 1px solid #c4c4c4;  box-shadow:0px 1px 5px #5d5d5d; }

.navigation ul ul a { color: #000; }

.navigation ul ul a:hover { color: #000; }

.navigation ul ul li { border-bottom: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4;  }

.navigation ul ul li:hover > a {
  background: #646464;
  color: #fff;
}

.navigation.align-right > ul > li > a {
  border-left: 0.3em solid #fff;
  border-right: none;
}

.navigation.align-right { float: right; }

.navigation.align-right li { text-align: right; }

.navigation.align-right ul li.has-sub > a:before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -6px;
}

.navigation.align-right ul li.has-sub > a:after { content: none; }

.navigation.align-right ul ul {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 598;
  width: 100%;
}

.navigation.align-right ul ul li.first {
  -webkit-border-radius: 3px 0 0 0;
  -moz-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}

.navigation.align-right ul ul li.last {
  -webkit-border-radius: 0 0 0 3px;
  -moz-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}

.navigation.align-right ul ul {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

#top {
  width: 100%;
  background-color: #FFF;
  position: fixed;
  z-index: 4;
}

#bottom {
  height: 100px;
  width: 100%;
  background-color: #000; 
}

.menubutton {
  width: 50px;
  position: relative;
  float: left;
}

.opentimes {
  background-color: #fff; 
  border: 1px solid #000; 
  border-radius: 5px; 
  float: right;
  position: fixed; 
  z-index: 5; 
  right: 5px; 
  top: 4px;
}

#main {
  font-family: 'Roboto', sans-serif, tahoma, arial;
  margin-bottom: 10px;
}

@media only screen and (min-width:620px) {
  .jannekuva {
    margin-left: 147px;
    transition: ease-in .2s;
    width: 580px;
    height: 124px;
  }
  
  #top {
    height: 124px;
    transition: ease-in .2s;
    background-image: url('https://www.jannenhuoltomyynti.fi/pic/logoval.jpg');
    background-repeat: no-repeat;
    background-position: center; 
  }
  
  #main {
    background-color: #fff;
    padding: 5px;
    position: absolute;
    top: 135px;
    max-width: 1100px;
    margin-left: 190px;
    margin-right: 5px;
    transition: ease-in .2s;
    box-shadow:0px 1px 5px #5d5d5d;
    margin-right: 200px;
  }
  
  .navigation {
    transition: ease-in .2s;
  }
  
  .menubutton {
    display: none;
    width: 50px;
  }
  .infobars {
  float: right;
  }
}


@media only screen and (max-width:1300px) {
  .jannekuva {
    margin-left: 0px;
    transition: ease-in .2s;
  }
  
  .navigation {
    transition: ease-in .2s;
    left: -220px;
  }
  
  .change .navigation {
    transition: ease-in .2s;
    left: 0px;
  }
  
  #main {
    background-color: #fff;
    padding: 5px;
    position: absolute;
    top: 135px;
    max-width: 1100px;
    margin-left: 0px;
    margin-right: 5px;
    transition: ease-in .2s;
    box-shadow:0px 0px 5px #5d5d5d;
    margin-right: 200px;
  }
    .menubutton {
    display: block;
    width: 50px;
  }
}


@media only screen and (max-width:620px) {
  /* For mobile phones: */
  .jannekuva {
    margin-left: 0px;
    width: 30%;
    transition: ease-in .2s;
    width: 233px;
  }
  
  #top {
    height: 50px;
    transition: ease-in .2s;
    background-image: url('https://www.jannenhuoltomyynti.fi/pic/logoval.jpg');
    background-size: 790px;
    background-repeat: no-repeat;
  }
  
  #main {
    background-color: #fff;
    padding: 5px;
    position: absolute;
    top: 60px;
    width: 95%;
    max-width: 1100px;
    transition: ease-in .2s;
    box-shadow:0px 1px 5px #5d5d5d;
  }
  
  .navigation {
    transition: ease-in .2s;
    left: -220px;
  }
  
  .change .navigation {
    transition: ease-in .2s;
    left: 0px;
  }
  
.infobars {
margin: 0 auto;
     width: 350px;
}

}

/* Product page info */

#prod_title {
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  padding: 5px;
  background-color: #707070; 
  color: #FFF; 
  font-size: 20px; 
  font-weight: bold;
  letter-spacing: 2px;
}
#prod_pictures {
  float:left;
  margin-left: 50px;
}

#prod_infofields {
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  float:right;
  margin-right: 50px;
}
#field1 {
  height:100px;
  width: 300px;
  text-align: center;
  border: 1px solid #D1D1D1;
  background-color: #EDEDED;
  box-shadow: 0px 0px 5px #E0E0E0; 
}

.product_pic {
  box-shadow: 0px 0px 5px #5d5d5d;
  border: 1px solid #1d1d1d;
}

img.productpic {
  box-shadow: 0px 0px 5px #5d5d5d;
  border: 1px solid #1d1d1d;
  opacity: 0.5;
  transition: ease-in .2s;
}

img.productpic_small {
  box-shadow: 0px 0px 5px #5d5d5d;
  vertical-align: middle;
  max-width: 100%; 
  max-height: 100%;
}

img.productpic:hover {
  opacity: 1;
}

#field2 {
  margin-top: 10px;
  height:50px;
  width: 300px;
  text-align: center;
  border: 1px solid #D1D1D1;
  background-color: #EDEDED;
  box-shadow: 0px 0px 5px #E0E0E0; 
  padding-top: 13px;
}

#field3 {
  margin-top: 10px;
  padding-top: 15px;
  height:50px;
  width: 300px;
  text-align: center;
  border: 1px solid #D1D1D1;
  background-color: #EDEDED;
  box-shadow: 0px 0px 5px #E0E0E0;
}

#prod_prodinfo {
  font-family: 'Roboto', sans-serif, tahoma, arial; 
  float:left;
  max-width: 1100px;
  width: 100%;
  margin-bottom: 50px;
}

span.pricebig {
  font-size: 50px;
  color: #F22E38;
  font-weight: bold;
}

span.saatavuus {
  background-repeat: no-repeat;
  padding-left: 22px;
  padding-bottom: 10px;
}

@media only screen and (max-width:620px) {
  #prod_pictures {
    margin: auto;
    width: 250px;
    float:none;
    margin-bottom: 20px;
  }

  #prod_infofields {
    margin: auto;
    width: 300px;
    float:none;
  }
  
  #prod_prodinfo {
    float:none;
  }
}