/*Author: Innofactor*/
@font-face {
  font-family: "IBM Plex Sans";
  src: url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap") format("opentype");
  font-family: "Helvetica Neue";
  src: url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap") format("opentype");
  font-family: "Helvetica";
  src: url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap") format("opentype");
}


:root {
  /*PortalThemeColorit tulee suoraan MS:n toteutuksesta ja niitä on pyritty tunnistamaan ja käyttämään jos mahdollista. Tunnistettuihin on kirjattu perään huomio*/
  --portalThemeColor1: #FFFFFF; /*Header*/
  --portalThemeColor2: #FFCA4B;
  --portalThemeColor3: #277493;
  --portalThemeColor4: #f9a64c; /*button1*/
  --portalThemeColor5: #5A176A; /*footer background*/
  --portalThemeColor6: #5A176A; /*Footer*/
  --portalThemeColor7: #FFFFFF;
  --portalThemeColor8: #2A2C2E;
  --portalThemeColor9: #E58700;
  --portalThemeColor10: #000000;
  --portalThemeColor11: #F88F29;
  --portalThemeColor12: ;
  --portalThemeOnColor1: #FFFFFF;
  --portalThemeOnColor2: #2A2C2E;
  --portalThemeOnColor3: #FFFFFF;
  --portalThemeOnColor4: #2A2C2E;
  --portalThemeOnColor5: #FFFFFF;
  --portalThemeOnColor6: #2A2C2E;
  --portalThemeOnColor7: #2A2C2E;
  --portalThemeOnColor8: #FFFFFF;
  --portalThemeOnColor9: #2A2C2E;
  --portalThemeOnColor10: ;
  --portalThemeOnColor11: ;
  --portalThemeOnColor12: ; 
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /*Värit Voimian tyylittelystä*/
  --blue: #005FA3;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --black: #000;
  --primary: #005FA3;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --buttonHoverBlue: #337FB5;
  --buttonHoverYellow: #F9A64C;
}

  *,
*::before,
*::after {
  box-sizing: border-box;
}

  html {
    font-size: 62.5%;
    font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  
  body {
    font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    overflow-x: hidden;
  }

  body .form-control {
  font-size: 18px;
}

  .wrapper-body {
    min-height: 132px !important;
  }

  /*Nämä on varsin näppäriä palikoita ja kannattaa koittaa heidän kautta virittää tyylittelyjä jos mahdollista*/
[data-component-theme="portalThemeColor1"] {
  background-color: var(--portalThemeColor1);
  color: var(--portalThemeOnColor1); }
  [data-component-theme="portalThemeColor1"] h1, [data-component-theme="portalThemeColor1"] h2, [data-component-theme="portalThemeColor1"] h3, [data-component-theme="portalThemeColor1"] h4, [data-component-theme="portalThemeColor1"] h5, [data-component-theme="portalThemeColor1"] h6, [data-component-theme="portalThemeColor1"] p, [data-component-theme="portalThemeColor1"] p.smallText {
    color: var(--portalThemeOnColor1); }

[data-component-theme="portalThemeColor2"] {
  background-color: var(--portalThemeColor2);
  color: var(--portalThemeOnColor2); }
  [data-component-theme="portalThemeColor2"] h1, [data-component-theme="portalThemeColor2"] h2, [data-component-theme="portalThemeColor2"] h3, [data-component-theme="portalThemeColor2"] h4, [data-component-theme="portalThemeColor2"] h5, [data-component-theme="portalThemeColor2"] h6, [data-component-theme="portalThemeColor2"] p, [data-component-theme="portalThemeColor2"] p.smallText {
    color: var(--portalThemeOnColor2); }

[data-component-theme="portalThemeColor3"] {
  background-color: var(--portalThemeColor3);
  color: var(--portalThemeOnColor3); }
  [data-component-theme="portalThemeColor3"] h1, [data-component-theme="portalThemeColor3"] h2, [data-component-theme="portalThemeColor3"] h3, [data-component-theme="portalThemeColor3"] h4, [data-component-theme="portalThemeColor3"] h5, [data-component-theme="portalThemeColor3"] h6, [data-component-theme="portalThemeColor3"] p, [data-component-theme="portalThemeColor3"] p.smallText {
    color: var(--portalThemeOnColor3); }

[data-component-theme="portalThemeColor4"] {
  background-color: var(--portalThemeColor4);
  color: var(--portalThemeOnColor4); }
  [data-component-theme="portalThemeColor4"] h1, [data-component-theme="portalThemeColor4"] h2, [data-component-theme="portalThemeColor4"] h3, [data-component-theme="portalThemeColor4"] h4, [data-component-theme="portalThemeColor4"] h5, [data-component-theme="portalThemeColor4"] h6, [data-component-theme="portalThemeColor4"] p, [data-component-theme="portalThemeColor4"] p.smallText {
    color: var(--portalThemeOnColor4); }

[data-component-theme="portalThemeColor5"] {
  background-color: var(--portalThemeColor5);
  color: var(--portalThemeOnColor5); }
  [data-component-theme="portalThemeColor5"] h1, [data-component-theme="portalThemeColor5"] h2, [data-component-theme="portalThemeColor5"] h3, [data-component-theme="portalThemeColor5"] h4, [data-component-theme="portalThemeColor5"] h5, [data-component-theme="portalThemeColor5"] h6, [data-component-theme="portalThemeColor5"] p, [data-component-theme="portalThemeColor5"] p.smallText {
    color: var(--portalThemeOnColor5); }

[data-component-theme="portalThemeColor6"] {
  background-color: var(--portalThemeColor6);
  color: var(--portalThemeOnColor6); }
  [data-component-theme="portalThemeColor6"] h1, [data-component-theme="portalThemeColor6"] h2, [data-component-theme="portalThemeColor6"] h3, [data-component-theme="portalThemeColor6"] h4, [data-component-theme="portalThemeColor6"] h5, [data-component-theme="portalThemeColor6"] h6, [data-component-theme="portalThemeColor6"] p, [data-component-theme="portalThemeColor6"] p.smallText {
    color: var(--portalThemeOnColor6); }

[data-component-theme="portalThemeColor7"] {
  background-color: var(--portalThemeColor7);
  color: var(--portalThemeOnColor7); }
  [data-component-theme="portalThemeColor7"] h1, [data-component-theme="portalThemeColor7"] h2, [data-component-theme="portalThemeColor7"] h3, [data-component-theme="portalThemeColor7"] h4, [data-component-theme="portalThemeColor7"] h5, [data-component-theme="portalThemeColor7"] h6, [data-component-theme="portalThemeColor7"] p, [data-component-theme="portalThemeColor7"] p.smallText {
    color: var(--portalThemeOnColor7); }

[data-component-theme="portalThemeColor8"] {
  background-color: var(--portalThemeColor8);
  color: var(--portalThemeOnColor8); }
  [data-component-theme="portalThemeColor8"] h1, [data-component-theme="portalThemeColor8"] h2, [data-component-theme="portalThemeColor8"] h3, [data-component-theme="portalThemeColor8"] h4, [data-component-theme="portalThemeColor8"] h5, [data-component-theme="portalThemeColor8"] h6, [data-component-theme="portalThemeColor8"] p, [data-component-theme="portalThemeColor8"] p.smallText {
    color: var(--portalThemeOnColor8); }

[data-component-theme="portalThemeColor9"] {
  background-color: var(--portalThemeColor9);
  color: var(--portalThemeOnColor9); }
  [data-component-theme="portalThemeColor9"] h1, [data-component-theme="portalThemeColor9"] h2, [data-component-theme="portalThemeColor9"] h3, [data-component-theme="portalThemeColor9"] h4, [data-component-theme="portalThemeColor9"] h5, [data-component-theme="portalThemeColor9"] h6, [data-component-theme="portalThemeColor9"] p, [data-component-theme="portalThemeColor9"] p.smallText {
    color: var(--portalThemeOnColor9); }

[data-component-theme="portalThemeColor10"] {
  background-color: var(--portalThemeColor10);
  color: var(--portalThemeOnColor10); }
  [data-component-theme="portalThemeColor10"] h1, [data-component-theme="portalThemeColor10"] h2, [data-component-theme="portalThemeColor10"] h3, [data-component-theme="portalThemeColor10"] h4, [data-component-theme="portalThemeColor10"] h5, [data-component-theme="portalThemeColor10"] h6, [data-component-theme="portalThemeColor10"] p, [data-component-theme="portalThemeColor10"] p.smallText {
    color: var(--portalThemeOnColor10); }

[data-component-theme="portalThemeColor11"] {
  background-color: var(--portalThemeColor11);
  color: var(--portalThemeOnColor11); }
  [data-component-theme="portalThemeColor11"] h1, [data-component-theme="portalThemeColor11"] h2, [data-component-theme="portalThemeColor11"] h3, [data-component-theme="portalThemeColor11"] h4, [data-component-theme="portalThemeColor11"] h5, [data-component-theme="portalThemeColor11"] h6, [data-component-theme="portalThemeColor11"] p, [data-component-theme="portalThemeColor11"] p.smallText {
    color: var(--portalThemeOnColor11); }

[data-component-theme="portalThemeColor12"] {
  background-color: var(--portalThemeColor12);
  color: var(--portalThemeOnColor12); }
  [data-component-theme="portalThemeColor12"] h1, [data-component-theme="portalThemeColor12"] h2, [data-component-theme="portalThemeColor12"] h3, [data-component-theme="portalThemeColor12"] h4, [data-component-theme="portalThemeColor12"] h5, [data-component-theme="portalThemeColor12"] h6, [data-component-theme="portalThemeColor12"] p, [data-component-theme="portalThemeColor12"] p.smallText {
    color: var(--portalThemeOnColor12); }
  
  
html {
  font-family: sans-serif;
  line-height: 1.15;
  }
    

body {
  color: var(--portalThemeColor10);
  background-color: var(--portalThemeColor1);
  font-family: var(--font-family-sans-serif); }

legend {
  color: var(--portalThemeColor10); }


  
footer {
  color: var(--portalThemeColor1)!important;
  font-family: inherit;
  font-weight: 400;
  font-size: 16px; 
  margin-top: 2rem;
  margin-bottom: -30px;
  padding-top: 20px;
  background-color: var(--portalThemeColor6);
  color: var(--portalThemeColor1);
  border-radius: 2rem 2rem 0 0;
}


footer .container {
  min-height: 400px;
}
footer p {
  line-height: 2;
  height: min-content;
}
footer ul {
  list-style-type: none;
  padding-left: 0;
  line-height: 2;
}
footer ul li a {
  color: #fff;
}
footer ul li a:hover {
  color: #337FB5;
}
footer ul li:last-of-type {
  display: none;
}
footer img {
  height: auto;
  max-width: 100%;
}
footer .footer-image {
  max-width: 80vw;
  width: 100%;
}
footer p {
  font-size: 16px;
  margin-bottom: 1rem;
}
footer p a {
  font-size: 16px;
  text-decoration: none;
}
footer p a img {
  max-width: 24px;
  height: auto;
}
footer a {
  font-size: 16px;
}
footer .footer-content p {
  font-size: 14px;
}
  footer .footer-bottom {
    background-color: var(--portalThemeColor6); }


.static-top.navbar-dark {
      background-color: var(--portalThemeColor1); }


    h1.siteTitle,
.static-top.navbar-dark .navbar-brand a h1.siteTitle,
.static-top.navbar-dark .navbar-brand a h1.siteTitle > span {
  display: inline;
  vertical-align: middle;
  color: var(--portalThemeColor10);
  font-family: inherit;
  font-weight: 400;
  font-size: 30px; }

p.smallText {
  display: inline;
  vertical-align: middle;
  color: var(--portalThemeColor1);
  font-family: inherit;
  font-weight: 400;
  font-size: 16px; }

a.anchor-inherit-styles {
  font-size: inherit;
  font-family: inherit;
  color: inherit; }


  /*==> Headings <==*/
html {
  font-size: 62.5%;
  font-family:"IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  font-family:"IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  margin: 2rem 0 3rem 0;
  font-weight: bold;
}
body h1 {
  font-size: 6rem;
  color: #000;
}
body h2 {
  font-size: 2.4rem;
  margin-top: 3rem;
}
body h3 {
  font-size: 2rem;
}
body h4 {
  font-size: 1.6rem;
}
body ul, body ol {
  padding: 10px 0 10px 10px;
}
body ul li, body ol li {
  margin-bottom: 10px;
}
body ul li ul, body ul li ol, body ol li ul, body ol li ol {
  padding: 0 0 0 20px;
}


/*==> Typography <==*/
body p {
  margin-bottom: 2rem;
}
body p a {
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
}
body p a:hover {
  color: inherit;
  text-decoration: none;
}
body .content p a {
  color: #005FA3;
}
body .content p a:hover {
  color: #004c82;
}


.front-page h1, .front-page h2, .front-page h3, .front-page p, .front-page a {
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

/*Hirveä purkkaviritys*/
.private-mode-text {
  display: block;
}

.navbar-dark .navbar-nav > li > a, .navbar-dark .navbar-nav > li.dropdown > a {
  color: var(--portalThemeColor16);
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}

.navbar-dark .navbar-nav > li > a:hover, .navbar-dark .navbar-nav > li.dropdown > a:hover {
  background-color: transparent !important;
}

.navbar-dark .navbar-nav a.show, .navbar-dark .navbar-nav a.dropdown-toggle.show {
  background-color: transparent !important;
}

  a {
    color: var(--primary);
    text-decoration: none;
    background-color: transparent;
  }



  h1,
  .h1,
  .section-landing-heading,
  .section-landing .row > div .section-landing-heading,
  .section-inline-search .row > div h1,
  .section-landing h1,
  .section-search .header-search h1,
  .page_section h1,
  .color-inverse h1,
  h1 p {
    font-family: inherit;
    font-weight: 400;
    font-size: 40px;
    color: #2A2C2E;
    margin-left: 0px;
    margin-right: 0px; }
  
  h2,
  .h2,
  .section-landing .row > div .section-landing-sub-heading,
  .page_section h2,
  .color-inverse h2,
  h2 p {
    font-family: inherit;
    font-weight: 400;
    font-size: 36px;
    color: #212529; }
  
  h3,
  .h3,
  .page_section h3,
  .color-inverse h3,
  .sidebar-home h3 {
    font-family: inherit;
    font-weight: 400;
    font-size: 24px;
    color: #212529; }
  
  h4,
  .h4,
  .poll .poll-header h4,
  .poll .poll-tags h4 {
    font-family: inherit;
    font-weight: 700;
    font-size: 24px;
    color: #212529; }
  
  h5,
  .h5 {
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: #212529; }
  
  p,
  .p,
  .page_section p,
  .section-diagonal-left p,
  .section-diagonal-right p,
  p.form-text span {
    font-family: inherit;
    font-weight: 400;
    font-size: 20px;
    color: #212529; }
  
  .p2 {
    font-family: inherit;
    font-weight: 400;
    font-size: 16px;
    color: #212529; }



    /*Tässä on määritety kaksi eri voimian tyylistä nappia*/
  .button1 {
    color: var(--portalThemeColor1);
    border-radius: 2rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 20px;
    border-color: var(--primary);
    padding: 6px 20px;
    width: 340px;
    height: 82px;
    border-style: solid;
    border-width: 1.6px;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    background-color: var(--primary);
    box-sizing: border-box;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    text-transform: uppercase;
    border:1px;
    margin-right: 10px;
  }
    .button1:hover {
      color: var(--portalThemeColor1);
      background-color: var(--buttonHoverBlue);
      border-color: var(--primary); }
    .button1:active, .button1.active {
      color: var(--portalThemeColor1) !important;
      background-color: var(--primary) !important;
      border-color: var(--primary) !important; }
    .button1:focus, .button1.focus, .button1:focus-visible {
      color: var(--portalThemeColor1);
      background-color: var(--primary);
      border-color: var(--primary); }
  
  .button2, .btn-secondary {
    color: var(--portalThemeColor10);
    border-radius: 2rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 20px;
    border-color: var(--portalThemeColor11);
    padding: 6px 20px;
    width: 340px;
    height: 82px;
    border-style: solid;
    border-width: 1.6px;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    background-color: var(--portalThemeColor11);
    box-sizing: border-box; 
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    text-transform: uppercase;
    border:1px;
    margin-right: 10px;
    }
    .button2:hover, .btn-secondary:hover, .btn-default:hover {
      color: var(--portalThemeColor10);
      background-color: var(--buttonHoverYellow);
      border-color: var(--portalThemeColor11); }
    .button2:active, .button2.active, .btn-secondary:active, .btn-secondary.active, .btn-default:active, .btn-default.active {
      color: var(--portalThemeColor10) !important;
      background-color: var(--portalThemeColor11) !important;
      border-color: var(--portalThemeColor11) !important; }
    .button2:focus, .button2.focus, .button2:focus-visible, .btn-secondary:focus, .btn-secondary.focus, .btn-secondary:focus-visible, .btn-default:focus, .btn-default.focus, .btn-default:focus-visible {
      color: var(--portalThemeColor10);
      background-color: var(--portalThemeColor11);
      border-color: var(--portalThemeColor11); }
  


      /*Nappien ikonit jotka web-fileinä*/
    a.btn-default.arrow-white:after{
      content:url(/web-files/arrow_white.png);
    }      
      
    a.btn-default.arrow-black:after{
      content:url(/web-files/arrow_black.png);
    }
  



/*Mobile Headerin logon sijainnin määrittämistä*/
  .logo-img {
    max-width: auto; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    max-height: 80%;
    max-height:73.73px;
    margin: 0 10px; /* Adjust margin as needed */
    align-items: top;
}

@media (max-width: 1200px) {
  .static-top .navbar-brand {
      height: 100%;
  }
}

/*nav bar tyylit*/
.static-top.navbar .menu-bar > .navbar-nav > li > a {
  font-family: inherit;
  font-weight: 700;
  font-size: 1.5rem;
  border: 0px solid transparent; 
  padding-top:10px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right:10px ;}

  .weblinks {
    position: sticky;
    z-index: 9999999;
    background-color: var(--portalThemeColor1);
  }

  .static-top.navbar .menu-bar > .navbar-nav > li > a:hover {
    text-decoration: Underline; }



  /*navigaation erottimet hävitetty alla olevilla*/
  .fixed-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
      height: 21px;
      margin: 0 0px;
      margin-top: 14.5px;
      border-right: 0px solid #fff;
      border-left: 0px solid #666;
  }

  .static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
    height: 21px;
    margin: 0 4px;
    margin-top: 14.5px;
    border-right: 0px solid #fff;
    border-left: 0px solid #666;
}
    /*navigaation erottimet hävitetty yllä olevilla*/


/*Navigaation linkin taustan määreet*/
  a.dropdown-toggle.show .navbar-dark .navbar-nav > li > a:hover, .navbar-dark .navbar-nav > li.dropdown > a:hover, .dropdown-menu, .show.dropdown-menu > li > a:hover {
    background-color: var(--portalThemeColor1) !important;
    color: #000000 !important;
    text-decoration: Underline; }

/*header koko*/

  /* .custom-container{
    max-width: 100%;
    height:80px;
    padding:0;
    margin:0;
  } */

.navbar-expand-xl{
  height: 80px;
}
.navbar-header{
  padding:0;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.ppFlexContainer h1{
  Color:#fff !important;
}
.ppFlexContainer p {
  Color: #fff !important;
  size:20px !important;
}

/*Leipatekstien muotoilua*/
.se_otsikko{
  font-size: 4rem;
}

.se_leipateksti{
  font-size: 2rem;
}


.ppFlexContainer{
  Color: #fff !important;
  padding: 20px;
}

.ppFlexContainer1{
  Color: #fff !important;
  height: 248px;
  width: 921.5px;
  padding-left: 20px;
  padding-right: 20px;
  float:right !important;
}

.header-image{
  height:800px;
  border-radius: 2rem 2rem 2rem 2rem;
  padding-left: 20px;
  padding-right: 20px;
  margin:15px !important;
  border-radius: 2rem;
}


div {
  display: block;
  unicode-bidi: isolate;
}


.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-100 {
  width: 100% !important;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.mw-100 {
  max-width: 100% !important;
}

.mh-100 {
  max-height: 100% !important;
}

.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.5rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.5rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.5rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.5rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.5rem !important;
}

.m-2 {
  margin: 1rem !important;
}

.mt-2,
.my-2 {
  margin-top: 1rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 1rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 1rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 1rem !important;
}

.m-3 {
  margin: 2rem !important;
}

.mt-3,
.my-3 {
  margin-top: 2rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 2rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 2rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 2rem !important;
}

.m-4 {
  margin: 3rem !important;
}

.mt-4,
.my-4 {
  margin-top: 3rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 3rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 3rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 3rem !important;
}

.m-5 {
  margin: 6rem !important;
}

.mt-5,
.my-5 {
  margin-top: 6rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 6rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 6rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 6rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.5rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.5rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.5rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.5rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.5rem !important;
}

.p-2 {
  padding: 1rem !important;
}

.pt-2,
.py-2 {
  padding-top: 1rem !important;
}

.pr-2,
.px-2 {
  padding-right: 1rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 1rem !important;
}

.pl-2,
.px-2 {
  padding-left: 1rem !important;
}

.p-3 {
  padding: 2rem !important;
}

.pt-3,
.py-3 {
  padding-top: 2rem !important;
}

.pr-3,
.px-3 {
  padding-right: 2rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 2rem !important;
}

.pl-3,
.px-3 {
  padding-left: 2rem !important;
}

.p-4 {
  padding: 3rem !important;
}

.pt-4,
.py-4 {
  padding-top: 3rem !important;
}

.pr-4,
.px-4 {
  padding-right: 3rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 3rem !important;
}

.pl-4,
.px-4 {
  padding-left: 3rem !important;
}

.p-5 {
  padding: 6rem !important;
}

.pt-5,
.py-5 {
  padding-top: 6rem !important;
}

.pr-5,
.px-5 {
  padding-right: 6rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 6rem !important;
}

.pl-5,
.px-5 {
  padding-left: 6rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

.col-xl,
.col-xl-auto, .col-xl-12, .col-xl-11, .col-xl-10, .col-xl-9, .col-xl-8, .col-xl-7, .col-xl-6, .col-xl-5, .col-xl-4, .col-xl-3, .col-xl-2, .col-xl-1, .col-lg,
.col-lg-auto, .col-lg-12, .col-lg-11, .col-lg-10, .col-lg-9, .col-lg-8, .col-lg-7, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1, .col-md,
.col-md-auto, .col-md-12, .col-md-11, .col-md-10, .col-md-9, .col-md-8, .col-md-7, .col-md-6, .col-md-5, .col-md-4, .col-md-3, .col-md-2, .col-md-1, .col-sm,
.col-sm-auto, .col-sm-12, .col-sm-11, .col-sm-10, .col-sm-9, .col-sm-8, .col-sm-7, .col-sm-6, .col-sm-5, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1, .col,
.col-auto, .col-12, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 15px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.col-1 {
  flex: 0 0 8.3333333333%;
  max-width: 8.3333333333%;
}

.col-2 {
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
}

.col-5 {
  flex: 0 0 41.6666666667%;
  max-width: 41.6666666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.3333333333%;
  max-width: 58.3333333333%;
}

.col-8 {
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.3333333333%;
  max-width: 83.3333333333%;
}

.col-11 {
  flex: 0 0 91.6666666667%;
  max-width: 91.6666666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

@media (min-width: 768px) {
  .col-md {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .col-md-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }
  .col-md-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .col-md-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }
  .col-md-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }
  .col-md-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-md-first {
    order: -1;
  }
  .order-md-last {
    order: 13;
  }
  .order-md-0 {
    order: 0;
  }
  .order-md-1 {
    order: 1;
  }
  .order-md-2 {
    order: 2;
  }
  .order-md-3 {
    order: 3;
  }
  .order-md-4 {
    order: 4;
  }
  .order-md-5 {
    order: 5;
  }
  .order-md-6 {
    order: 6;
  }
  .order-md-7 {
    order: 7;
  }
  .order-md-8 {
    order: 8;
  }
  .order-md-9 {
    order: 9;
  }
  .order-md-10 {
    order: 10;
  }
  .order-md-11 {
    order: 11;
  }
  .order-md-12 {
    order: 12;
  }
  .offset-md-0 {
    margin-left: 0;
  }
  .offset-md-1 {
    margin-left: 8.3333333333%;
  }
  .offset-md-2 {
    margin-left: 16.6666666667%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.3333333333%;
  }
  .offset-md-5 {
    margin-left: 41.6666666667%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.3333333333%;
  }
  .offset-md-8 {
    margin-left: 66.6666666667%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.3333333333%;
  }
  .offset-md-11 {
    margin-left: 91.6666666667%;
  }
}
@media (min-width: 992px) {
  .col-lg {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .col-lg-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }
  .col-lg-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .col-lg-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }
  .col-lg-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }
  .col-lg-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-lg-first {
    order: -1;
  }
  .order-lg-last {
    order: 13;
  }
  .order-lg-0 {
    order: 0;
  }
  .order-lg-1 {
    order: 1;
  }
  .order-lg-2 {
    order: 2;
  }
  .order-lg-3 {
    order: 3;
  }
  .order-lg-4 {
    order: 4;
  }
  .order-lg-5 {
    order: 5;
  }
  .order-lg-6 {
    order: 6;
  }
  .order-lg-7 {
    order: 7;
  }
  .order-lg-8 {
    order: 8;
  }
  .order-lg-9 {
    order: 9;
  }
  .order-lg-10 {
    order: 10;
  }
  .order-lg-11 {
    order: 11;
  }
  .order-lg-12 {
    order: 12;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
  .offset-lg-1 {
    margin-left: 8.3333333333%;
  }
  .offset-lg-2 {
    margin-left: 16.6666666667%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.3333333333%;
  }
  .offset-lg-5 {
    margin-left: 41.6666666667%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.3333333333%;
  }
  .offset-lg-8 {
    margin-left: 66.6666666667%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.3333333333%;
  }
  .offset-lg-11 {
    margin-left: 91.6666666667%;
  }
}
@media (min-width: 1200px) {
  .col-xl {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .col-xl-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }
  .col-xl-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }
  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .col-xl-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }
  .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }
  .col-xl-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }
  .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }
  .col-xl-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }
  .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-xl-first {
    order: -1;
  }
  .order-xl-last {
    order: 13;
  }
  .order-xl-0 {
    order: 0;
  }
  .order-xl-1 {
    order: 1;
  }
  .order-xl-2 {
    order: 2;
  }
  .order-xl-3 {
    order: 3;
  }
  .order-xl-4 {
    order: 4;
  }
  .order-xl-5 {
    order: 5;
  }
  .order-xl-6 {
    order: 6;
  }
  .order-xl-7 {
    order: 7;
  }
  .order-xl-8 {
    order: 8;
  }
  .order-xl-9 {
    order: 9;
  }
  .order-xl-10 {
    order: 10;
  }
  .order-xl-11 {
    order: 11;
  }
  .order-xl-12 {
    order: 12;
  }
  .offset-xl-0 {
    margin-left: 0;
  }
  .offset-xl-1 {
    margin-left: 8.3333333333%;
  }
  .offset-xl-2 {
    margin-left: 16.6666666667%;
  }
  .offset-xl-3 {
    margin-left: 25%;
  }
  .offset-xl-4 {
    margin-left: 33.3333333333%;
  }
  .offset-xl-5 {
    margin-left: 41.6666666667%;
  }
  .offset-xl-6 {
    margin-left: 50%;
  }
  .offset-xl-7 {
    margin-left: 58.3333333333%;
  }
  .offset-xl-8 {
    margin-left: 66.6666666667%;
  }
  .offset-xl-9 {
    margin-left: 75%;
  }
  .offset-xl-10 {
    margin-left: 83.3333333333%;
  }
  .offset-xl-11 {
    margin-left: 91.6666666667%;
  }
}



/*Heron tyylin muoilut allaoleva responsiivinen - 576 leveydestä*/


@media (max-width: 576px) {
  .header-image {
    min-height: 40vh;
    max-height: 80vh;           /* cap hero height */
    overflow: hidden;           /* prevent background overflow */
    padding: 8px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;    /* center content vertically */
  }

  #ilfvkj {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;           /* scroll if content exceeds max-height */
  }

  #i5rkm5 {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,.7);
    display: block;
  }

  /* Buttons: stack and shrink */
  .button1,
  .button2 {
    display: block;
    width: 100%;
    height: 100%;
    margin-top: 10px;
    padding: 8px 12px;      /* reduce padding so buttons fit */
    white-space: normal;    /* allow text to wrap if needed */
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    line-height: 1.15;
  }


  

}





/*alla oleva 375 leveydestä alaspäin*/

@media (max-width: 375px) {

  /* Keep hero from growing too tall on short devices */
  .header-image {
    /* Use dynamic viewport height to respect mobile browser UI */
    max-height: 85dvh;
    padding: 8px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
  }

  /* Allow the inner column to scroll if content still overflows */
  #ilfvkj {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smoother iOS scroll */
    padding: 10px;
  }

  /* Dark overlay block */
  #i5rkm5 {
    display: block !important;            /* override inline-block */
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,.7);
  }

  /* Heading: scale a bit smaller on tiny screens */
  #icjlil.se_otsikko {
    font-size: clamp(1rem, 5vw, 1.5rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  /* Paragraph under heading if used */
  #ij73pp {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    line-height: 1.45;
    margin-bottom: 0.75rem;
    color: #fff;
  }

 /* Buttons: stack and shrink */
  .button1,
  .button2 {
    display: block;         /*tämä laittaa napit allekkain*/       
    width: 100%;                    /* jos nappien koko aiheuttaa harmia muokkaa näitä */
    height: 100%;                    /* jos nappien koko aiheuttaa harmia muokkaa näitä */
    margin-top: 10px;
    padding: 4px 8px;              /* smaller padding to avoid overflow */
    font-size: clamp(0.9rem, 3.5vw, 1rem); /*jos skaalauva fontti aiheuttaa harmia muokkaa tämä joksikin luvuksi esim 10px*/
    line-height: 1.15;              /*control button height*/
    white-space: normal;            /* allow wrap */
  }


}

