@charset 'UTF-8';
body {
  background-position: top left;
  background-repeat: repeat;
  background-size: auto;
  background-color: transparent;
}

.ksk_top_wrapper {
  padding-top: 19px;
  background-image: url(/files/pomarkunvpk.kotisivukone.com/6-pomarkku_ylapalkki2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  display: none;
}

.ksk_top_wrapper .ksk_container_wrapper {
  height: 200px;
}

.ksk_top_wrapper .ksk_container_wrapper {
  height: 200px;
}

.ksk_main_image_wrapper {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  border-top-style: solid;
  border-top-width: 1px;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Estää kuvan valumisen ulos */
  
  /* Animaatio korjaukset */
  animation: gentleZoom 30s infinite alternate ease-in-out;
  transform-origin: center center;
  width: 100%;
  max-width: 100%;
  position: relative;
  
  /* Taustakuva - palautetaan alkuperäinen */
  border-top-color: rgba(255, 255, 255, 0.19);
  background-image: url(/files/pomarkunvpk.kotisivukone.com/6-pomarkku_ylapalkki2.jpg);
}

.ksk_main_image_wrapper .ksk_container_wrapper {
  background-image: none;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  height: 297px; /* Palautetaan alkuperäinen korkeus */
  margin-top: 0px;
  width: 100%;
}

/* Käytä kevyempää animaatiota */
@keyframes gentleZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.01); /* 1% suureneminen */
  }
}

/* Varmista, että koko sivu pysyy paikoillaan */
body {
  overflow-x: hidden;
  width: 100%;
}

.ksk_container {
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
}


.ksk_menu_wrapper {
  padding-bottom:10px;
  padding-top:10px;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  margin-left: 0px;
  background-image: none;
  background-color: #000000;
}

.ksk_menu_wrapper #menu ul li a.ksk_main_menu {
  margin-top: 0px;
  margin-right: 3px;
  margin-bottom: 0px;
  margin-left: 0;
  padding-top: 10px;
  padding-right: 8px;
  padding-bottom: 10px;
  padding-left: 8px;
  font-size: 16px;
  line-height: 16px;
  font-family: PT Sans Narrow;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  border-top-left-radius: 3px;
  -moz-border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  -moz-border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  -moz-border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  -moz-border-bottom-right-radius: 3px;
  background-image: none;
  background-color: transparent;
}

.ksk_menu_wrapper #menu ul li ul {
  background-image: none;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
}

.ksk_menu_wrapper #menu ul li ul li a.ksk_sub_menu {
  background-image: none;
  background-color: transparent;
  margin-top: 0;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 6px;
  padding-right: 10px;
  padding-bottom: 6px;
  padding-left: 10px;
  font-size: 14px;
  line-height: 14px;
  font-family: Arial;
  font-weight: normal;
  text-decoration: none;
  text-transform: none;
  border-top-left-radius: 0px;
  -moz-border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -moz-border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  -moz-border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  -moz-border-bottom-right-radius: 0px;
}

.ksk_menu_wrapper #menu ul li ul li.mli:hover a.ksk_sub_menu {
  font-weight: normal;
  text-decoration: none;
}

.ksk_menu_wrapper #menu ul li ul li.active_link a.ksk_sub_menu {
  font-weight: normal;
  text-decoration: none;
}

.ksk_columns_wrapper .ksk-menu, .ksk_columns_wrapper #left-bar .ksk-menu, .ksk_columns_wrapper #right-bar .ksk-menu {
  margin-bottom: 30px;
}

.ksk_columns_wrapper .ksk-menu #menu ul li a.ksk_main_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li a.ksk_main_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li a.ksk_main_menu {
  margin-top: 0px;
  margin-right: 3px;
  margin-bottom: 0px;
  margin-left: 0;
  padding-top: 10px;
  padding-right: 8px;
  padding-bottom: 10px;
  padding-left: 8px;
  font-size: 16px;
  line-height: 16px;
  font-family: PT Sans Narrow;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  border-top-left-radius: 3px;
  -moz-border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  -moz-border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  -moz-border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  -moz-border-bottom-right-radius: 3px;
  background-image: none;
  background-color: transparent;
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul {
  background-image: none;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul li a.ksk_sub_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul li a.ksk_sub_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul li a.ksk_sub_menu {
  background-color: transparent;
  background-image: none;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
  margin-top: 0;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 6px;
  padding-right: 10px;
  padding-bottom: 6px;
  padding-left: 10px;
  font-size: 14px;
  line-height: 14px;
  font-family: Arial;
  font-weight: normal;
  text-decoration: none;
  text-transform: none;
  border-top-left-radius: 0px;
  -moz-border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -moz-border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  -moz-border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  -moz-border-bottom-right-radius: 0px;
}
.ksk_columns_wrapper .ksk-menu #menu ul li ul li.mli:hover a.ksk_sub_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul li.mli:hover a.ksk_sub_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul li.mli:hover a.ksk_sub_menu {
  text-decoration: none;
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul li.active_link a.ksk_sub_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul li.active_link a.ksk_sub_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul li.active_link a.ksk_sub_menu {
  text-decoration: none;
}

.ksk_columns_wrapper {
  padding-top: 0px;
  padding-bottom: 20px;
  background-image: none;
  background-color: #fff;
  padding-left: 0px;
}

.ksk_sidebars, #left-bar, #right-bar {
  width: 200px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 0px;
  margin-right: 0px;
}

#left-bar {
  margin-left: 0px;
  margin-right: 0px;
  width: 200px;
  margin-top: 0px;
  margin-bottom: 0px;
  background-image: none;
  background-color: transparent;
  padding-top: 0px;
}

#right-bar {
  margin-right: 0px;
  margin-left: 0px;
  width: 200px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  background-image: none;
  background-color: #3b3b3b;
  padding-left: 0px;
  padding-right: 0px;
}

.box, #left-bar .box, #right-bar .box {
  margin-top: 0px;
  margin-right: 0;
  margin-bottom: 25px;
  margin-left: 0px;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
}

.box .header, #left-bar .box .header, #right-bar .box .header {
  background-image: none;
  padding-top: 0;
  padding-bottom: 0;
  border-top-left-radius: 3px;
  -moz-border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  -moz-border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  -moz-border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  -moz-border-bottom-right-radius: 3px;
  padding-left: 10px;
  padding-right: 10px;
}

.box .header h2, #left-bar .box .header h2, #right-bar .box .header h2 {
  font-family: Trebuchet MS;
  font-size: 17px;
  line-height: 21px;
  font-weight: normal;
  text-decoration: none;
  overflow:hidden;
}

.box .content, #left-bar .box .content, #right-bar .box .content {
  font-family: Trebuchet MS;
  font-size: 15px;
  line-height: 20px;
  font-weight: normal;
  padding-top: 10px;
  padding-bottom: 14px;
  padding-right: 5px;
  margin-top: 0px;
  background-color: transparent;
  text-align: left;
}

.box .content a, #left-bar .box .content a, #right-bar .box .content a {
  text-decoration: none;
}

.box .content a:hover, #left-bar .box .content a:hover, #right-bar .box .content a:hover {
  text-decoration: none;
}

#content {
  background-color: transparent;
  background-image: none;
  font-family: Trebuchet MS;
  font-size: 16px;
  line-height: 23px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 20px;
  width: 509px;
  text-align: left;
}

#content a {
  font-weight: normal;
  text-decoration: none;
}

#content a:hover {
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
}

#content h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 22px;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
}

#content h2 a {
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
}

#content h2 a:hover {
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
}

#content h1 {
  font-family: 'PT Sans Narrow',Arial,sans-serif;
  font-size: 35px;
  line-height: 24px;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
}

.ksk_footer_wrapper {
  padding-top:15px;
  padding-bottom:20px;
}
#footer_content {
  font-family: Trebuchet MS;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
}
.ksk_footer_wrapper .ksk_container_wrapper {
}

.ksk_footer_wrapper .ksk_container a {
  text-decoration: none;
}

#columns #content.ksk_middle_area {
  width: 999px;
}
#content h1 {
  font-family: Ubuntu;
  line-height: 39px;
  text-align: left;
}
#content h2 {
  font-family: Ubuntu;
  font-size: 22px;
  line-height: 25px;
  text-align: left;
}

.primary_button {
  color: #ffffff;
  font-family: Arial;
  font-size: 15px;
  background-image: none;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
  border-top-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-right-width: 0px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 30px;
  padding-right: 30px;
  border-top-left-radius: 2px;
  -moz-border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  -moz-border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  -moz-border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  -moz-border-bottom-right-radius: 2px;
}
.primary_button:hover {
  background-image: none;
  color: #ffffff;
  border-top-left-radius: 2px;
  -moz-border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  -moz-border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  -moz-border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  -moz-border-bottom-right-radius: 2px;
  padding-bottom: 6px;
  padding-top: 6px;
  padding-right: 30px;
  padding-left: 30px;
}
.secondary_button {
  font-size: 15px;
  color: #ffffff;
  background-image: none;
  padding-top: 6px;
  padding-left: 20px;
  padding-bottom: 6px;
  padding-right: 20px;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
  border-top-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-right-width: 0px;
  border-top-left-radius: 2px;
  -moz-border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  -moz-border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  -moz-border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  -moz-border-bottom-right-radius: 2px;
}
.secondary_button:hover {
  background-image: none;
  font-size: 15px;
  color: #ffffff;
  border-top-left-radius: 2px;
  -moz-border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  -moz-border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  -moz-border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  -moz-border-bottom-right-radius: 2px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 20px;
  padding-left: 20px;
}
#left-bar .box .header {
  padding-left: 10px;
  padding-right: 10px;
}
#right-bar .box .header {
  padding-left: 10px;
  padding-right: 10px;
}

body {
    background-image: url(/Kotisivukone/clients/topbarsr/Toistuvat_tekstuurit__Peittavat/black-Linen.png);
}

.ksk_main_image_wrapper {
    border-top-color: rgba(255, 255, 255, 0.19);
  background-image: url(/files/pomarkunvpk.kotisivukone.com/6-pomarkku_ylapalkki2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover%;
  background-color: transparent;
  display:block;
}


.ksk_menu_wrapper #menu ul li a.ksk_main_menu {
    color: #fffcfc;
  font-size: 17px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 8px;
  padding-right: 8px;
  margin-top: 0px;
  margin-right: 3px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.ksk_menu_wrapper #menu ul li.active_link a.ksk_main_menu {
  background-color: #ad0000;
  background-image: -moz-linear-gradient(top,  #ad0000 0%, #8e0000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#ad0000), color-stop(100%,#8e0000));
  background-image: -webkit-linear-gradient(top,  #ad0000 0%,#8e0000 100%);
  background-image: -o-linear-gradient(top,  #ad0000 0%,#8e0000 100%);
  background-image: -ms-linear-gradient(top,  #ad0000 0%,#8e0000 100%);
  background-image: linear-gradient(to bottom,  #ad0000 0%,#8e0000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ad0000', endColorstr='#8e0000',GradientType=0 );
}

.ksk_menu_wrapper #menu ul li.mli:hover a.ksk_main_menu {
  background-color: #fc0000;
  background-image: -moz-linear-gradient(top,  #fc0000 0%, #b30000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#fc0000), color-stop(100%,#b30000));
  background-image: -webkit-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -o-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -ms-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: linear-gradient(to bottom,  #fc0000 0%,#b30000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc0000', endColorstr='#b30000',GradientType=0 );
}

.ksk_menu_wrapper #menu ul li ul {
    background-color: #2a2a2a;
}

.ksk_menu_wrapper #menu ul li ul li a.ksk_sub_menu {
     color: #fffcfc;
}

.ksk_menu_wrapper #menu ul li ul li.mli:hover a.ksk_sub_menu {
  background: #fc0000;
  background-image: -moz-linear-gradient(top,  #fc0000 0%, #b30000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#fc0000), color-stop(100%,#b30000));
  background-image: -webkit-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -o-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -ms-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: linear-gradient(to bottom,  #fc0000 0%,#b30000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc0000', endColorstr='#b30000',GradientType=0 );
}

.ksk_menu_wrapper #menu ul li ul li.active_link a.ksk_sub_menu {
    background: #b30000;
  background-image: -moz-linear-gradient(top,  #b30000 0%, #fc0000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#b30000), color-stop(100%,#fc0000));
  background-image: -webkit-linear-gradient(top,  #b30000 0%,#fc0000 100%);
  background-image: -o-linear-gradient(top,  #b30000 0%,#fc0000 100%);
  background-image: -ms-linear-gradient(top,  #b30000 0%,#fc0000 100%);
  background-image: linear-gradient(to bottom,  #b30000 0%,#fc0000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b30000', endColorstr='#fc0000',GradientType=0 );
}

.ksk_columns_wrapper .ksk-menu #menu ul li a.ksk_main_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li a.ksk_main_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li a.ksk_main_menu {
    color: #000000;
}

.ksk_columns_wrapper .ksk-menu #menu ul li.active_link a.ksk_main_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li.active_link a.ksk_main_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li.active_link a.ksk_main_menu {
  color: #fffcfc;
  background-color: #ad0000;
  background-image: -moz-linear-gradient(top,  #ad0000 0%, #8e0000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#ad0000), color-stop(100%,#8e0000));
  background-image: -webkit-linear-gradient(top,  #ad0000 0%,#8e0000 100%);
  background-image: -o-linear-gradient(top,  #ad0000 0%,#8e0000 100%);
  background-image: -ms-linear-gradient(top,  #ad0000 0%,#8e0000 100%);
  background-image: linear-gradient(to bottom,  #ad0000 0%,#8e0000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ad0000', endColorstr='#8e0000',GradientType=0 );
}

.ksk_columns_wrapper .ksk-menu #menu ul li.mli:hover a.ksk_main_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li.mli:hover a.ksk_main_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li.mli:hover a.ksk_main_menu {
  color: #fffcfc;
  background-color: #fc0000;
  background-image: -moz-linear-gradient(top,  #fc0000 0%, #b30000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#fc0000), color-stop(100%,#b30000));
  background-image: -webkit-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -o-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -ms-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: linear-gradient(to bottom,  #fc0000 0%,#b30000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc0000', endColorstr='#b30000',GradientType=0 );
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul {
    background-color: #2a2a2a;
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul li a.ksk_sub_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul li a.ksk_sub_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul li a.ksk_sub_menu {
     color: #fffcfc;
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul li.mli:hover a.ksk_sub_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul li.mli:hover a.ksk_sub_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul li.mli:hover a.ksk_sub_menu {
  background: #fc0000;
  background-image: -moz-linear-gradient(top,  #fc0000 0%, #b30000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#fc0000), color-stop(100%,#b30000));
  background-image: -webkit-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -o-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: -ms-linear-gradient(top,  #fc0000 0%,#b30000 100%);
  background-image: linear-gradient(to bottom,  #fc0000 0%,#b30000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc0000', endColorstr='#b30000',GradientType=0 );
}

.ksk_columns_wrapper .ksk-menu #menu ul li ul li.active_link a.ksk_sub_menu, .ksk_columns_wrapper #left-bar .ksk-menu #menu ul li ul li.active_link a.ksk_sub_menu, .ksk_columns_wrapper #right-bar .ksk-menu #menu ul li ul li.active_link a.ksk_sub_menu {
  background: #b30000;
  background-image: -moz-linear-gradient(top,  #b30000 0%, #fc0000 100%);
  background-image: -webkit-gradient(linear, center top, center bottom, color-stop(0%,#b30000), color-stop(100%,#fc0000));
  background-image: -webkit-linear-gradient(top,  #b30000 0%,#fc0000 100%);
  background-image: -o-linear-gradient(top,  #b30000 0%,#fc0000 100%);
  background-image: -ms-linear-gradient(top,  #b30000 0%,#fc0000 100%);
  background-image: linear-gradient(to bottom,  #b30000 0%,#fc0000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b30000', endColorstr='#fc0000',GradientType=0 );
}

.box .header, #left-bar .box .header, #right-bar .box .header {
    background-color: #2a2a2a;
}

.box .header h2, #left-bar .box .header h2, #right-bar .box .header h2 {
    color: #fffcfc;
}

.box .content, #left-bar .box .content, #right-bar .box .content {
    color: #3b3b3b;
}

.box .content a, #left-bar .box .content a, #right-bar .box .content a {
  color: #fc0000;
}

.box .content a:hover, #left-bar .box .content a:hover, #right-bar .box .content a:hover {
  color: #8e0000;
}

#content {
    color: #3b3b3b;
  margin-left: 0px;
  padding-top: 0px;
  padding-left: 0px;
  font-size: 17px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top-width: 0px;
  border-bottom-width: 0px;
  line-height: 20px;
  text-align: left;
  border-right-width: 0px;
  border-left-width: 0px;
}

#content a {
  color: #fc0000;
}

#content a:hover {
  color: #8e0000;
}

#content h2 {
  color: #5A5A5A;
}

#content h2 a {
  color: #fc0000;
}

#content h2 a:hover {
  color: #8e0000;
}

#content h1 {
  color: #4b4b4b;
}

#footer_content {
  color: #b8b8b8;
}

.ksk_footer_wrapper .ksk_container a {
  color: #ececec;
}

.ksk_footer_wrapper .ksk_container a:hover {
  color: #cacaca;
}

#content h2 {
    color: #4b4b4b;
}

.box a, #left-bar .box a, #right-bar .box a {
  color: #fc0000;
}
.box a:hover, #left-bar .box a:hover, #right-bar .box a:hover {
  color: #8e0000;
}

.primary_button {
  padding-left: 7px;
  padding-right: 7px;
  background-image: none;
  background-color: #b30000;
  color: #fffcfc;
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-color: #000000;
  border-bottom-color: #000000;
  border-left-color: #000000;
  border-right-color: #000000;
  border-top-left-radius: 7px;
  -moz-border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  -moz-border-top-right-radius: 7px;
  border-bottom-left-radius: 7px;
  -moz-border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  -moz-border-bottom-right-radius: 7px;
  padding-bottom: 7px;
  padding-top: 7px;
  border-top-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-right-width: 2px;
}

.primary_button:hover {
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-color: #000000;
  border-bottom-color: #000000;
  border-left-color: #000000;
  border-right-color: #000000;
  padding-left: 7px;
  padding-right: 7px;
  background-image: none;
  background-color: #fc0000;
  border-top-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-right-width: 2px;
  border-top-left-radius: 7px;
  -moz-border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  -moz-border-top-right-radius: 7px;
  border-bottom-left-radius: 7px;
  -moz-border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  -moz-border-bottom-right-radius: 7px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.secondary_button {
    background-color: #404040;
  font-size: 17px;
  border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px;
  padding-top: 4px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 4px;
  font-family: Montserrat;
}

.secondary_button:hover {
    background-color: #5f5f5f;
  padding-left: 0px;
  border-top-right-radius: 0px;
  -moz-border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  -moz-border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  -moz-border-bottom-right-radius: 0px;
  border-top-left-radius: 8px;
  -moz-border-top-left-radius: 8px;
  padding-right: 0px;
}
.ksk_container {
  margin-right: auto;
  margin-left: auto;
  width: 1000px;
  max-width: 1000px;
}
#ksk_page_wrapper {
  margin-top: 0px;
}
#left-bar .box .content {
  font-size: 20px;
  line-height: 25px;
}
#left-bar .box .content a {
  color: #fc0000;
}
.ksk_menu_wrapper .ksk_container_wrapper_menu {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

/* Lisätty tästä eteenpäin 27.1.2025 - Lisää animaatio pääotsikkoon */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Painikkeet korkeammalla tasolla */
.primary_button, .secondary_button {
  position: relative; /* Aseta painikkeet relativeksi, jotta z-index toimii */
  z-index: 2; /* Painikkeet korkeammalla tasolla kuin taustakuva */
}

#content h1 {
  animation: fadeIn 2s ease-in-out; /* Otsikon näkyviin tuloaika sekunteina */
}

/* Lisää animaatio painikkeisiin */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.primary_button, .secondary_button {
  animation: pulse 2s infinite;
}

/* Lisää animaatio valikkoon */
@keyframes slideIn {
  from {
    transform: translateX(+40%);
  }
  to {
    transform: translateX(0);
  }
}

.ksk_menu_wrapper #menu ul li {
  animation: slideIn 0.7s ease-out;
}

/* Lisää animaatio taustakuvaan */
@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.ksk_main_image_wrapper {
  animation: zoomIn 25s infinite alternate;
}

/* Lisää animaatio footerin linkkeihin */
@keyframes colorChange {
  0% {
    color: #ececec;
  }
  50% {
    color: #fc0000;
  }
  100% {
    color: #ececec;
  }
}

.ksk_footer_wrapper .ksk_container a {
  animation: colorChange 3s infinite;
}

.ksk_main_image_wrapper {
  animation: zoomIn 30s infinite alternate;
  transform-origin: left center; /* Varmistaa, että vasen reuna pysyy paikoillaan */
  overflow: hidden; /* Estää kuvan valumisen ulos */
  position: relative; /* Aseta wrapperin positio suhteelliseksi */
  width: 100%; /* Varmistaa, että wrapper täyttää koko leveys */
  height: 100%; /* Varmistaa, että wrapper täyttää koko korkeus */
}

.ksk_main_image_wrapper img {
  position: absolute; /* Aseta kuvan positio absoluuttiseksi */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Varmistaa, että kuva skaalautuu oikein */
  clip-path: inset(0 0 0 0); /* Rajaa kuvan näkyvä alue */
}

.counter-container {
  text-align: center;
  margin-top: 50px;
}

.visitor-counter {
  font-size: 2em;
  font-weight: bold;
}

/*Lisätty 28.2.2025 */
/* Uudet tyylit */
body {
    font-family: Arial, sans-serif;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: center;
}
.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}
.gallery img:hover {
    transform: scale(1.1);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 4; /* Ensures the close button is on top */
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0);
    border: none;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}
.circle-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: black;
    cursor: pointer;
    z-index: 3; /* Ensures the circle buttons are on top */
    transition: background-color 0.3s, transform 0.3s;
}
.circle-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.circle-button.prev {
    left: 10px;
}
.circle-button.next {
    right: 10px;
}
@media screen and (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}
@media screen and (max-width: 400px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
        gap: 5px;
    }
}
/*Lisätty 3.3.2025*/
body {
    font-family: Arial, sans-serif;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
tr:hover {
    background-color: #f5f5f5;
}
@media screen and (max-width: 600px) {
    table {
        border: 0;
    }
    table thead {
        display: none;
    }
    table tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #ddd;
    }
    table td {
        display: block;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
    }
    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
}
/*Lisätty 28.08.2025----------------------------------------------------*/
:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --secondary: #455a64;
    --light: #f5f5f5;
    --dark: #212121;
    --gray: #757575;
    --light-gray: #e0e0e0;
    --success: #388e3c;
    --warning: #f57c00;
    --past: #ffebee;
    --group1: #e3f2fd;
    --group2: #e8f5e9;
    --group3: #fff3e0;
    --group4: #fbe9e7;
    --group5: #f3e5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: var(--secondary);
}

select, button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background-color: white;
    font-size: 1rem;
}

button {
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

button:hover {
    background-color: var(--primary-dark);
}

.calendar-info {
    background-color: #e8f5e9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--success);
}

/* SARAKKEIDEN VÄLIEN RAJAUKSET - LISÄTTY */
table {
    width: 100%;
    border-collapse: separate; /* Muutettu: collapse -&gt; separate */
    border-spacing: 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0; /* Lisätty ulkoreuna */
}

thead {
    background-color: var(--secondary);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
    border-right: 1px solid #e0e0e0; /* Lisätty sarakerajat */
    position: relative;
}

/* Poista viiva viimeisestä sarakkeesta */
th:last-child,
td:last-child {
    border-right: none;
}

/* Korjaa ensimmäisen sarakkeen vasen reuna */
th:first-child,
td:first-child {
    border-left: 1px solid #e0e0e0;
}

th {
    font-weight: 600;
    position: sticky;
    top: 0;
}

tr:last-child td {
    border-bottom: none;
}

tr.group-1 { background-color: var(--group1); }
tr.group-2 { background-color: var(--group2); }
tr.group-3 { background-color: var(--group3); }
tr.group-4 { background-color: var(--group4); }
tr.group-5 { background-color: var(--group5); }

.past {
    background-color: var(--past) !important;
    position: relative;
}

.past::after {
    content: 'Menneet';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-bottom-left-radius: 8px;
    z-index: 1;
}

.today {
    background-color: #c8e6c9 !important;
    position: relative;
}

.today::after {
    content: '\0054\00e4\006e\00e4\00e4\006e';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--warning);
    color: white;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-bottom-left-radius: 8px;
    z-index: 1;
}

.session-topic {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.session-details {
    font-size: 0.9rem;
    color: var(--gray);
}

.calendar-button {            
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: #bebebe;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.calendar-button:hover {
    background-color: #1565c0;
}

.organizer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.organizer-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    background-color: var(--secondary);
    color: white;
}

/* MOBIILIKORJAUS - KORVAA KOKO NYKYINEN @MEDIA-LOHKO TÄLLÄ: */
@media screen and (max-width: 768px) {
    /* Poista reunaviivat mobiilissa */
    th, td {
        border-right: none !important;
        border-left: none !important;
    }
    
    table {
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Korjaa päällekkäisyys ja paranna luettavuutta */
    tr {
        margin-bottom: 1.5rem;
        padding: 1rem;
        position: relative;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e0e0 !important;
        background-color: white;
    }
    
    td {
        border: none !important;
        padding: 0.8rem 0 !important;
        position: relative;
        padding-left: 45% !important;
        padding-right: 0.5rem !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    td:last-child {
        border-bottom: none !important;
    }
    
    td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 40% !important;
        padding-right: 1rem;
        font-weight: 600;
        white-space: nowrap;
        font-size: 0.9rem;
        color: var(--secondary);
    }
    
    /* Säädä Tänään/Menneet -merkintöjä mobiiliin */
    .today::after,
    .past::after {
        font-size: 0.7rem !important;
        padding: 0.15rem 0.4rem !important;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    /* Varmista että otsikot eivät mene päällekkäin */
    .controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {                
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    button, select {
        width: 100%;
    }
    
    /* Piilota tarpeettomat elementit */
    thead {
        display: none;
    }
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--light-gray);
}