        /* Yleinen tyyli */
        * {
            //margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Roboto, Arial, sans-serif;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Header */
        header {
            //display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: white;
            color: black;
            padding: 10px 20px;
        }

        header .logo {
            margin-bottom:-4px;
            max-width:100%;

        }
        img {
            max-width:100%;
        }

        nav ul {
            list-style: none;
            display: flex;
            background: #015d9b;
            margin: 0;
        }

        nav ul li {
            position: relative;
            margin-left: 20px;
            z-index: 10000;
        }

        nav ul li a {
            text-decoration: none;
            padding: 10px;
            color: white;
            display: block;
            text-transform: uppercase;
            font-weight: bold;
        }

        /* Alasvetovalikko */
        nav ul li ul {
            display: none;
            position: absolute;
            background: #015d9b85;
            top: 100%;
            right: 0;
            //width: 150px;
            padding: 10px;
            z-index: 20000;
        }
       
        nav a:link, 
        nav a:visited, 
        nav a:active {
            color: white !important;
        }

        nav a:hover {
            color: yellow; /* Vaihtoehtoinen väri hover-tilassa */
        }

        nav ul li:hover ul {
            display: block;
        }

        nav ul li ul li {
            margin: 0;
        }

        nav ul li ul li a {
            padding: 8px 10px;
        }

        /* Main sisältö */
        main {
            display: flex;
            flex: 1;
            margin: 20px;
        }

        .sidebar {
            width: 20%;
            background-color: white;
            padding: 5px;
            //margin-left:20px;
            margin-right:auto;
        }

        #sidebar-add {
            display:none
            }


        .content {
            flex: 1;
            background-color: #fff;
            //padding: 10px;
            //border: 1px solid #ddd;
            text-align:left;
            padding-bottom:5px;
            max-width: 800px;
            letter-spacing: 1px;
        }

        /* Footer */
        footer {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 10px 0;
        }
        
        #footer {
            text-align: center;
            position: fixed;
            left: 0px;
            bottom: 0px;
            width: 100%;
            padding: 8px;
            padding-top: 8px;
            color: white;
            background-color: #999;
            border-top: 1px solid #6A6969;
            -moz-box-shadow: 0 0 15px grey;
            -webkit-box-shadow: 0 0 15px grey;
            box-shadow: 0 0 15px grey;
            font-size:smaller;
            height: 50px;
        }  
        
        #footer a {color:white;}      
        
        .otsikko {
        background-color: #015d9b;
        padding: 10px;
        border-radius: 7px;
        -moz-border-radius: 7px;
        color: white;
        text-align: center;
        }        
        
        .klikki {
        margin-bottom: 5px;
        padding: 10px;
        background: #015d9b;
        color: white;
        font-size: 14px;
        moz-border-radius: 6px;
        border-radius: 6px;
        cursor: pointer;
        text-align: center;
        //border: 3px solid #547a00;
        text-decoration: none;
        }
        
        .tavat {
        border: 1px solid lightgrey;
        float: left;
        padding: 10px;
        width: 100%;
        //height: 100px;
        margin-right: 5px;
        margin-bottom: 5px;
        border-radius: 5px;
        background: aliceblue;
        text-align: left;
        }
        
        .tuoteKuvaus {
        //height:200px;
        position: relative;
        height: auto; /* Määritä haluttu korkeus */
        overflow: hidden; /* Rajaa sisältö */
        font-size: 0.9rem; /* Mukautuva fonttikoko */
        line-height: 1.5; /* Varmistaa luettavuuden */
        margin: 0;
        
        display: -webkit-box; /* Tarvitaan moniriviseen rajoitukseen */
        -webkit-box-orient: vertical; /* Asettaa tekstin suuntaiseksi laatikoksi */
        -webkit-line-clamp: 4; /* Näyttää vain kolme riviä */
        overflow: hidden; /* Piilottaa ylimenevän tekstin */
        text-overflow: ellipsis; /* Lisää kolmen pisteen efektin */
        line-height: 1.5; /* Rivien välistys */
        max-height: calc(1.5em * 4); /* Rivien korkeus × rivimäärä */
        }
        
        a.pikkuotsikko:link, a.pikkuotsikko:visited, a.pikkuotsikko:hover, a.pikkuotsikko:active {
        color: white !important;
        text-decoration: none;
        }
        
        .pikkuotsikko {
        background: grey;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        display: inline-block;
        padding: 10px;
        margin: 2px;
        font-family: monospace;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: smaller;
        }
                
        h3.pikkuotsikko a:link,
        h3.pikkuotsikko a:visited,
        h3.pikkuotsikko a:hover,
        h3.pikkuotsikko a:active {
            color: white !important;
            text-decoration: none;
        }

          #iviesti {
          display:none;
          }

.siniPallo {
    outline: 2px dashed white;
    outline-offset: -5px;
    background-color: #add8e6;
    background-image: url(../site_images/free-delivery.png);
    background-repeat: no-repeat;
    background-size: 30%;
    background-position-x: -3%;
    background-position-y: 10px;    
    width: fit-content;
    padding: 30px;
    text-align: center;
    color: #275b67;
    margin: auto;
    transform: scale(1);
    animation: tada 2s 1;
}

.posviesti {
    clear:both;
    border: 1px solid green;
    color:green;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #cfddc6;
    font-size: 12px;
}

.negviesti {
    padding: 8px;
    padding-left: 40px;
    background-image: url('../site_images/huom.gif');
    color:#b34343;
    background-color:#FBD0D0;
    background-repeat: no-repeat;
    background-position: 7px center;
    margin-top: 10px;
    border: 1px red solid;
    -moz-border-radius:5px;
    border-radius:5px;
    }

.neutralviesti {
    padding: 8px;
    padding-left: 70px;
    background-image: url('../site_images/neutraali.gif');
    color:#BE8045;
    background-color:#FEF2A8;
    background-repeat: no-repeat;
    background-position: 9px bottom;
    margin-bottom: 10px;
    border: 1px #BE8045 solid;
    -moz-border-radius:5px;
    border-radius:5px;
    }

.custom_case_right {
    float: right;
    bottom: 0px;
    position: fixed;
    left: 70px;
    width: 15%;
    max-width: 200px;
    z-index:200;
}    

.oval {
    width: fit-content;
    background: #f7f5e8;
    border-radius: 50%;
    padding: 20px;
    text-align: center;
    float: left;
    margin-left: -60px;
    //font-weight: bold;
    //font-size: min(3vh,0.9vw);
    color: #275b67;
    box-shadow: 5px 5px #8888886e;
    transition: opacity 0.7s ease; /* Himmennys siirtymän kesto */
}

.haivytettavaKuva {
    transition: opacity 0.7s ease; /* Himmennys siirtymän kesto */
}

.hidden {
    opacity: 0; /* Kuva piilotetaan himmentämällä */
}

.price-tag {
    background-color: #5c99b3;
    border-radius: 8px;
    color: #FFFFFF;
    padding: 10px 15px;
    position: relative;
    width: fit-content;
    line-height: 0.8;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.menunapit {
    margin-left: 3px;
    margin-right: 1px;
    margin-bottom: 5px;
    background-color: #468b1f;
    float: left;
    padding: 10px;
    padding-left: 23px;
    padding-right: 23px;
    text-align: center;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    border: none;
}
        
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  //top: 50%;
  top:50px;
  width: auto;
  //margin-top: -22px;
  padding: 16px;
  //color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

input[type="text"],[type="email"] {
    background-color: aliceblue;
    border: 1px solid green;
    padding: 8px;
}

textarea, input[type="text"] {
    background-color: aliceblue;
    border: 1px solid green;
    padding: 8px;
}

.artotsikko {
    color: white;
    text-align: center;
    margin-bottom: -40px;
    z-index: 10000;
    position: relative;
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.9);
    background-color: #ffb301;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    }
    
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}        
        

        /* Responsiivisuus */
        @media (max-width: 768px) {
        
            header .logo  {
                max-width:100%;
           }
           
           img {
           max-width:100%;
           }

          .custom_case_right {
          display:block;
          }
          
          #ostoskoriOtsikko {
          display:none;
          }
          
          #iviesti {
          display:block;
          }

          .content {
           max-width: 100%;
           padding-bottom: 50px;
          }
 
       .siniPallo {
        border-radius: unset;
        padding: 20px;
        width:100%;
        margin-bottom:10px;
        text-align: right;
        background-image: url(../site_images/free-delivery.png);
        background-repeat: no-repeat;
        background-size: 30%;
        background-position-x: -3%;
        background-position-y: 10px;
        }
                                 
            nav ul {
                //display:none;
            }
            
            main {
                flex-direction: column;
                margin-top:0;
            }

            .sidebar {
                display: block;
                width: 100%;
                //margin-bottom: 10px;
                margin-left:0;
            }

            #sidebar-add {
            display:none;
            }
            
            
        }
