
body {font-family: "Lato", sans-serif}
body, html {
  height: 100%;
  color: #777;
  line-height: 1.8;
}
html {
  scroll-behavior: smooth;
}
.mySlides {display: none;}

p.notes{
  display: none;
}

/* Create a Parallax Effect */
.Slider01, .Slider02, .Slider03, .Slider04{
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.Slider01 {
  background-image: url('../images/Slider01.webp');
  min-height: 100%;
}
.Slider02 {
  background-image: url('../images/Slider02.png');
  min-height: 100%;
}
.Slider03 {
  background-image: url('../images/Slider03.png');
  min-height: 100%;
}
.Slider04 {
  background-image: url('../images/Slider01.webp');
  min-height: 100%;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
  .Slider01, .Slider02, .Slider03 {
    background-attachment: scroll;
    min-height: 400px;
  }
}


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  cursor: pointer;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #999;
  color: white;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: transparent;
  display: none;
  overflow: hidden;
  border-style: none solid solid solid;
  border-width: 1px;
  border-color: #eee
}


.torneopal_widget{
  display: inline-block;
  text-align: center;
  max-width: 100%;
}

.torneopalwidget{
  display: inline-block;
  text-align: center;
  max-width: 100%;
}

td{
  text-align: center!important;
}
.testi{
  background-color: #fff;
  width: 100%;
  height: 100%;
  /*.w3-animate-opacity{animation:opac 4.0s}@keyframes opac{from{opacity:1} to{opacity:0}}*/
}

.tyhja{
  height: 20px;

}

.target{
  position: relative;
  top: -60px;
}

.ikoni{
  height: 30px;
}

.ikoni-linkki{
  text-decoration: none;
}

.zoom {
  transition: transform .2s; /* Animation */
}
.zoom:hover{
  transform: scale(1.2);
}

.w3-content{
  max-width: 80%;
}

.image-gallery{
  width: 50%;
  max-width: 400px;
}

.grey-bg{
  background-color: #555;
}

h2{
  color: white;
  font-size: min(max(18px, 4vw), 26px);
}



.fb_reset{
  color: #777!important;
}

.fb-height{
  max-height: 100%;
}

.scheduletable{
  width: 100%;
}

.scoretable{
  text-align: center;
  font-size: 2vmin;
  border-spacing: 15px 0px;
  border-collapse: separate;
}


.testi1 {
  font-size: 2vw;
}

.logo{
  width: 90%;
}

.ytk{
  max-width: 100%; 
  margin-top: auto;
}

