html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{display:block;}
body{line-height:1;}
ol, ul{list-style:none;}
blockquote, q{quotes:none;}
blockquote:before, blockquote:after,
q:before, q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}



 html  { 
background-color : #BDC3CB; 
}


body  { 

} 



            
 
 
@media screen and (max-width: 400px) {
body , .sivu , .footer {
                width: 390;
                margin-left : auto; 
margin-right : auto; 
  }
}

@media screen and (max-width: 900px) {
body , .sivu , .footer {
                width: 850;
                margin-left : auto; 
margin-right : auto; 
  }
}            

@media screen and (min-width: 901px) {
body , .sivu , .footer {
                width: 900;
                margin-left : auto; 
margin-right : auto; 
  }
} 

/* body  { 
background-color : #f7f5f0; 
margin-left : auto; 
margin-right : auto; 
width : 900px; 
    border-style: none solid;
    border-width: 2px;
        border-radius: 0px 0px 5px 5px;
    border-color: #CCAFA5;
padding : 10px 30px; 
top : 0; 
} 
*/

.sivu { 
background-color : #f7f5f0; 
margin-left : auto; 
margin-right : auto; 
    border-style: none solid solid solid;
    border-width: 1px;
        border-radius: 0px 0px 5px 5px;
    border-color: #CCAFA5;
padding : 10px 30px; 
top : 0; 
} 

.footer { 
background-color : #f7f5f0; 
margin-top : 20px; 
margin-left : auto; 
margin-right : auto; 
    border-style: solid;
    border-width: 1px;
        border-radius: 5px 5px 5px 5px;
    border-color: #CCAFA5;
padding : 10px 30px; 
top : 0; 
} 


@font-face {
  font-family: hotFont;
  src: url(GRILCBCB.TTF);
}

p{
   margin-top:10px;
   color: #999999;
   font-family: hotFont;
   font-size : 30px; 
   text-align: center;
       /* 1 pixel black shadow to left, top, right and bottom */
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.info{
    letter-spacing: 2px;
    padding:30px;
    margin-left : auto; 
    margin-right : auto; 
    width : 700px; 
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: #CCAFA5;
}

.toofooter {

    letter-spacing: 5px;
    padding:30px;
    margin-left : auto; 
    margin-right : auto; 
    width : 700px; 
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    border-color: #CCAFA5;
}


a.mail:link , a.mail:visited  { 
   color: #999999;
} 



.kuvaaja{
  opacity: 0.8;
  position: relative;
  z-index:+2;
  bottom: 50px;
}








.clear  { 
clear : both; 
} 







.kategoriat{
    margin-left : auto; 
    margin-right : auto; 
    margin-top : 60px; 
    margin-bottom : 0px; 
    width : 700px; 
}

div.kategoria  { 
float:left;
} 

.teksti  { 
position: absolute;
z-index: +1;
margin-left : 100px; 
margin-top : 80px; 
margin-bottom : 0px; 
   color: #999999;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
text-decoration: none;
    letter-spacing: 5px;
        font-size : 30px;
           font-family: hotFont;
} 


.kuva { 
margin-left: 20px;
margin-bottom: 20px;
width: 300px;
height: 200px;
  opacity: 1.0;
  filter: blur(2px);
      border-style: solid;
    border-width: 2px;
        border-radius: 5px;
    border-color: #CCAFA5;
} 




a.teksti:hover , a.teksti:active {
        font-size : 29px;
}




a.kortti:link , a.kortti:visited  { 
border : none; 
} 




















.etusivu{
        padding:10px;
}






.linkki{
    color: gray;
    font-family: hotFont;
    font-size : 30px; 
    letter-spacing: 1px;
    opacity: 1.0;
    position: relative;
    padding-left : 100px; 
    z-index:+2;
    bottom: 0px;
    left: -0px;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    text-decoration: none;
}




.etusivu{
     width : 300px;
       opacity: 0.5;
         border: 0px solid gray;
           border-radius: 25px;
}

.aloita{
    margin-left : 35%; 
    margin-right : 35%; 
    font-family: hotFont;
    text-decoration: none;
    border-style: solid;
    border-width: 5px;
    border-radius: 5px;
    border-color: #cccccc;
    background-color: #cccccc;
    opacity: 0.8;
    position: relative;
    z-index:+2;
    top: 50px;
}


.kehys{
        margin-top : 60px; 
    margin-left : auto; 
    margin-right : auto; 

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    background-color: #ffffff;
}



.valitsev{
     width : 300px;
}

.valitseo{
     width : 300px;
}


a.not:link, a.not:visited {
  opacity: 0.7;

  background-image: url("painikkeet/not1.png");
                background-position: left bottom; 
                    background-repeat: no-repeat;
  color: black;
  padding: 0px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.not:hover {
  opacity: 1.0;
  background-image: url("painikkeet/not.png");
                background-position: left bottom; 
                    background-repeat: no-repeat;
  color: white;
}


 a.not:active {
  opacity: 1.0;
  background-image: url("painikkeet/not1.png");
                background-position: left bottom; 
                    background-repeat: no-repeat;
  color: white;
}




a.hot:link {
  opacity: 0.7;

  background-image: url("painikkeet/hot1.png");
          background-position: right bottom; 
              background-repeat: no-repeat;
  color: black;
  padding: 0px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.hot:hover {
  opacity: 1.0;
  background-image: url("painikkeet/hot.png");
          background-position: right bottom; 
              background-repeat: no-repeat;
  color: white;
}


a.hot:active {
  opacity: 1.0;
  background-image: url("painikkeet/hot1.png");
          background-position: right bottom; 
              background-repeat: no-repeat;
  color: white;
}

a.hot:visited {
  display:none;
  opacity: 0.7;

  background-image: url("painikkeet/hot1.png");
          background-position: right bottom; 
              background-repeat: no-repeat;
  color: black;
  padding: 0px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}


a.painike:link, a.painike:visited {
  background-color: green;
  color: white;
  padding: 5px 5px;
  margin:10px;
  font-family: hotFont;
  /* 1 pixel black shadow to left, top, right and bottom */
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  text-align: center;
  text-decoration: none;
  border: 2px solid green;
  border-radius: 5px;
}

a.painike:hover, a.painike:active {
  opacity: 0.3;
}




#navbar {
  z-index: +3;
  background-color: black;
  position: fixed;
  border: 1px solid gray;
  top: 0px;
margin-left:-10px;
  width: 55px;
  padding-right: 0px;
  display: block;
  transition: top 0.3s;
//  background-image: url("valikkologo1.jpg");
  background-repeat: no-repeat;
}

#navbar a {
  z-index: +2;
  width: 350px;
  float: left;
  display: block;
  color: silver;
  background-color: black;
    opacity: 0.9;
  text-align: left;
  padding: 17px;
  font-family: hotFont;
  text-decoration: none;
  font-size: 40px;
  border-top: 1px solid gray;
  border-bottom: 1px solid gray;
  border-left: 2px solid gray;
  border-right: 2px solid gray;
  box-shadow: 10px 10px 5px #333333;
}

#navbar a:hover {
  background-color: black;
      opacity: 0.8;
  box-shadow: 10px 10px 5px #484848;
  color: silver;
    border-top: 1px solid gray;
  border-bottom: 1px solid gray;
  border-left: 2px solid gray;
  border-right: 2px solid gray;
}


.navbar {
  overflow: hidden;
  background-color: #333;
}

.navbar a {
  float: left;
  font-size: 30px;
  color: silver;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 40px;  
  border: none;
  outline: none;
  color: silver;
  padding: 4px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: black;
    border: 0px solid gray;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  max-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: +2;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 60px;
} 

li a {
  display: block;
  background-color: #dddddd;
}

.accordion {
  margin-left: 5px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #66cc99;
  color: #000;
  //  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  cursor: pointer;
  padding: 18px;
  max-width: 500px;
  border: 3px solid darkgreen;
  border-radius: 3px;
  text-align: left;
  outline: none;
  font-size: 16px;
  text-decoration: underline;
  transition: 0.4s;
}

.active {
  background-color: #00cc88;

  
}

.accordion:hover {
  color: #000;
    text-shadow: none;
  border: 0px solid darkgreen;
  border-radius: 5px;
  background-color: #66cc99;
  text-decoration: none;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
    margin-top:15px;
  padding: 0 18px;
  background-color:  #99cc66;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.container .gallery a img {
  float: left;
  width: 100px;
  height: 100px;
  border: 2px solid #66cc99;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
}

.container .gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}

.clear {
  clear: both;
  float: none;
  width: 100%;
}



.hidden-div {
    display:none
}


.tiesaa {
width : 400px; 

display : inline-block; 

color : white; 

text-align : center; 

padding : 10px 20px; 

margin : 15px 250px 10px 250px; 

text-decoration : none; 

border : #ffffff solid 2px; 

background-color : blue; 

font-family : "arial"; 

font-size : 30px; 

text-transform : uppercase; 
}