@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > [class*=col-] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  width: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.pt-4 {
  padding-top: 1.5rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  gap: 0.55rem;
}

.nav-item {
  display: block;
}

.nav-link {
  display: block;
  padding: 2rem 1rem;
  text-decoration: none;
}

.nav-pills .nav-link {
  border-radius: 0.375rem;
}

.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.nav.nav-fill.is-wrapped .nav-item:first-child {
  flex: 0 0 100%;
  max-width: 100%;
}

.form-group {
  margin-bottom: 0;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  appearance: none;
}

.form-control:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control-lg {
  min-height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-block {
  display: block;
  width: 100%;
}

.alert {
  position: relative;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
  vertical-align: top;
}

.table th,
.table td {
  padding: 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

.table-sm th,
.table-sm td {
  padding: 0.25rem;
}

.nappi {
  background: linear-gradient(135deg, #2a6cbf, #1f4f99);
  color: #fff;
  border: 1px solid #1c4a8f;
  padding: 1rem 1rem;
  border-radius: 0.65rem;
  box-shadow: 0 2px 8px rgba(20, 60, 120, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nappi:hover {
  background: linear-gradient(135deg, #245fa9, #1c4586);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 60, 120, 0.24);
}

.ohjelma-list-item {
  background: linear-gradient(160deg, #fff8ee 0%, #fff3e2 100%);
  background: linear-gradient(160deg, #fff8ee 0%, #ffd9a5 100%);
  color: #2f2a22;
  border-radius: 0.8rem;
  border: 1px solid #f0dcc3;
  box-shadow: 0 1px 2px rgba(33, 24, 14, 0.08), 0 6px 18px rgba(33, 24, 14, 0.08);
  margin: 1rem 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  gap: 0.65rem 0;
  align-items: stretch;
  grid-template-columns: 1fr;
  grid-template-areas: "head" "text" "cta";
}

.ohjelma-list-item__head {
  grid-area: head;
  background: #fff;
  border-bottom: 1px solid #ede8e0;
  padding: 0.75rem 0.9rem;
  display: grid;
  gap: 0.75rem 1rem;
  align-items: center;
  grid-template-columns: minmax(110px, 160px) 1fr;
  grid-template-areas: "logo rating";
}

.ohjelma-list-item__head .logo-wrapper {
  grid-area: logo;
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ohjelma-list-item__head .logo-wrapper a {
  display: block;
  line-height: 0;
}

.ohjelma-list-item__head .logo-wrapper img,
.ohjelma-list-item__head .logo-wrapper picture {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
}

.ohjelma-list-item__head .arvostelu-wrapper {
  grid-area: rating;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  min-width: 0;
}

.ohjelma-list-item__head .arvostelu-wrapper > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.ohjelma-list-item__head .arvostelu-wrapper p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.2;
  color: #5d5040;
}

.ohjelma-list-item .teksti-wrapper {
  grid-area: text;
  min-width: 0;
  padding: 0 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.ohjelma-list-item .teksti-wrapper p {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  color: #2f2a22;
}

.ohjelma-list-item .nappi-wrapper {
  grid-area: cta;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 0.9rem 0.85rem;
}

.ohjelma-list-item .nappi-wrapper .nappi {
  width: 100%;
  min-width: 0;
  max-width: 280px;
  padding: 0.85rem 1rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ohjelma-list-item {
    margin: 1.25rem 0;
    gap: 0.85rem 0;
    grid-template-columns: 170px 1fr 180px;
    grid-template-areas: "head head head" "text text cta";
  }
  .ohjelma-list-item__head {
    padding: 0.85rem 1.1rem;
    grid-template-columns: 170px 1fr;
  }
  .ohjelma-list-item .teksti-wrapper {
    padding: 0 1.1rem;
  }
  .ohjelma-list-item .teksti-wrapper p {
    font-size: 1.05rem;
  }
  .ohjelma-list-item .nappi-wrapper {
    padding: 0 1.1rem 1rem;
    justify-content: flex-end;
  }
  .ohjelma-list-item .nappi-wrapper .nappi {
    width: auto;
    min-width: 160px;
    max-width: none;
  }
}
@media (min-width: 992px) {
  .ohjelma-list-item {
    margin: 1.25rem 0;
    gap: 0.85rem 0;
    align-items: stretch;
    grid-template-columns: minmax(140px, 200px) 1fr minmax(160px, 220px);
    grid-template-areas: "head head cta" "text text text";
  }
  .ohjelma-list-item__head {
    padding: 0.9rem 1.15rem;
    grid-template-columns: minmax(140px, 200px) 1fr;
  }
  .ohjelma-list-item .teksti-wrapper {
    padding: 0 1.2rem 0.25rem;
    align-items: flex-start;
  }
  .ohjelma-list-item .teksti-wrapper p {
    font-size: 1.05rem;
    max-width: none;
  }
  .ohjelma-list-item__head .arvostelu-wrapper {
    justify-self: center;
    text-align: center;
  }
  .ohjelma-list-item__head .arvostelu-wrapper > div {
    align-items: center;
  }
  .ohjelma-list-item .nappi-wrapper {
    background: #fff;
    border-bottom: 1px solid #ede8e0;
    padding: 0.9rem 1.15rem 0.9rem 0.75rem;
    justify-content: flex-end;
    justify-self: stretch;
    align-self: stretch;
  }
  .ohjelma-list-item .nappi-wrapper .nappi {
    width: 100%;
    min-width: 160px;
    max-width: none;
    font-size: 1.15rem;
  }
}
.star-rating {
  display: inline-block;
  font-size: 0;
  line-height: 1;
}

.star-rating__star {
  display: inline-block;
  width: 17px;
  font-size: 20px;
  overflow: hidden;
  position: relative;
}

.star-rating__star:before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
}

.star-rating[data-rating="1"] .star-rating__star:first-child:before,
.star-rating[data-rating="2"] .star-rating__star:nth-child(-n+2):before,
.star-rating[data-rating="3"] .star-rating__star:nth-child(-n+3):before,
.star-rating[data-rating="4"] .star-rating__star:nth-child(-n+4):before,
.star-rating[data-rating="5"] .star-rating__star:nth-child(-n+5):before {
  color: #f4b400;
}

.star-rating[data-rating="0.5"] .star-rating__star:first-child:before {
  content: "½";
  color: #f4b400;
}

.star-rating[data-rating="1.5"] .star-rating__star:first-child:before {
  content: "★½";
  color: #f4b400;
}

.star-rating[data-rating="2.5"] .star-rating__star:nth-child(-n+2):before {
  content: "★★½";
  color: #f4b400;
}

.star-rating[data-rating="3.5"] .star-rating__star:nth-child(-n+3):before {
  content: "★★★½";
  color: #f4b400;
}

.star-rating[data-rating="4.5"] .star-rating__star:nth-child(-n+4):before {
  content: "★★★★½";
  color: #f4b400;
}

@font-face {
  font-family: Montserrat;
  src: url("../fontti/Montserrat.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: RobotoSlab;
  src: url("../fontti/RobotoSlab.ttf") format("truetype");
  font-display: swap;
}
body {
  color: #0f5132;
  font-size: 20px;
  font-family: Montserrat, sans-serif;
  margin: 0;
}

table {
  color: #0f5132;
  border: 1px solid #d1e7dd;
}

table tr:nth-of-type(odd) {
  background: rgba(25, 135, 84, 0.05);
}

table.rahoituksen-tiedot td {
  padding: 0 0.75rem;
}

h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: RobotoSlab, sans-serif;
  font-size: 2rem;
}

h1, .h1 {
  font-family: RobotoSlab, sans-serif;
  color: #0f5132;
  font-weight: 800;
  font-size: 4.5rem;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.alert.h2,
.listaus,
h2.alert {
  background: #ff9400;
  outline: 0.25rempx solid #ff9400;
}

.alert.h2,
.arvostelu-wrapper,
h2.alert {
  color: #333 !important;
}

.form-control {
  color: #0a3622;
}

.invalid-txt {
  color: red;
  padding: 0.2rem 0.5rem;
}

div.tulos-wrapper {
  text-align: center;
  min-height: 426.6px;
}

div.tulos-wrapper table {
  text-align: left;
}

div.kk-era-wrapper {
  text-align: center;
  background: rgba(25, 135, 84, 0.05);
  border: 1px solid #d1e7dd;
}

div.kk-era-wrapper span {
  font-size: 3rem;
  font-weight: 900;
}

div.kk-era-wrapper span small,
div.kk-era-wrapper span .small {
  display: block;
  font-size: 1.2rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

footer {
  font-size: 0.85rem;
  text-align: center;
  background: #051b11;
  color: #d1e7dd;
}

footer a {
  color: #a3cfbb;
}

footer a:hover {
  color: #d1e7dd;
}

@media only screen and (max-width: 768px) {
  h1.title,
  .title.h1 {
    font-size: 3rem;
  }
}
.container > p {
  padding: 0.41rem;
}

#faq,
.otsikko {
  color: #fff;
}

#faq,
.faq-container {
  text-align: center !important;
}

.nappi:hover,
.valikkoLinkki:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

header {
  background: linear-gradient(183deg, #0005ff, #008cff);
  background-size: 600% 600%;
  animation: 5s infinite taustaVari;
  color: #fff !important;
  width: 100%;
  padding-bottom: 10px;
}

@keyframes taustaVari {
  0%, 100% {
    background-position: 52% 0;
  }
  50% {
    background-position: 49% 100%;
  }
}
.valikkoLinkki {
  background: none;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: 0.2s ease-in-out;
  transform: perspective(1px) translateZ(0);
}
.valikkoLinkki:hover {
  background: linear-gradient(135deg, #ff5733, #ffc300);
  color: #fff !important;
}

.faq-item,
.question {
  background-color: #0005ff;
}

.faq-item,
.kuvat,
.listaus {
  border-radius: 10px;
}

.valikko {
  padding-bottom: 10px !important;
}

.kuvat {
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
  width: 100%;
  height: auto;
}

#faq {
  padding: 10px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-item {
  width: 100%;
  margin: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  cursor: pointer;
}

.answer,
main > .container {
  background-color: #fff;
}

.question-title {
  color: #fff !important;
  font-weight: bolder;
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.answer {
  padding: 20px;
  display: none;
  color: #000;
}

body > main {
  background-color: #dcdcdc;
  color: #000 !important;
}

.listaus {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 10px;
  box-shadow: rgba(6, 24, 44, 0.4) 0 0 0 2px, rgba(6, 24, 44, 0.65) 0 4px 6px -1px, rgba(255, 255, 255, 0.08) 0 1px 0 inset;
  color: #000;
  text-transform: bolder;
  margin-bottom: 30px;
}

.col-2 {
  flex-basis: calc(30% - 10px);
  max-width: calc(30% - 10px);
}

.col-3 {
  flex-basis: calc(40% - 10px);
  max-width: calc(40% - 10px);
}

.col-4 {
  flex-basis: calc(10% - 10px);
  max-width: calc(10% - 10px);
}

.col-5 {
  flex-basis: calc(20% - 10px);
  max-width: calc(20% - 10px);
}

@media only screen and (max-width: 768px) {
  .col-2,
  .col-3,
  .col-4,
  .col-5 {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
  }
  h1,
  .h1 {
    font-size: 32px;
  }
}
.keskitetty {
  text-align: center !important;
}

.footer {
  background-color: #00027f !important;
  color: #fff;
}

/* .mainos {
  border-radius: 15px;
  box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
}
.mainos:hover {
  transform: scale(1.05);
} */
@media print {
  body,
  html {
    display: none;
  }
}
a, br, div,
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
iframe,
img,
li,
p, ul {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

a,
img,
picture {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px gray;
  border-radius: 0;
  border: 0 !important;
}

::-webkit-scrollbar-thumb {
  background: #0005ff;
}

::-webkit-scrollbar-thumb:hover {
  background: #008cff;
}

.gtm-dialog .--actions button.btn-grant-all {
  background-color: #0005ff !important;
}

/*# sourceMappingURL=main.css.map */
