.wf-loading, .wf-loading body {visibility:hidden}
.wf-active body .wf-inactive body {visibility:visible}


.no-js [data-responsive-toggle], .no-js .top-bar, .no-js{ display: none!important; }

[data-responsive-menu] ul { display: none; }



:root {
  --color-primary: #4d4d68;
  --color-secondary: #f7931e;
  --color-additional: #fbb03b;
  --color-dark: #362C29;  /* 0f0f15 */
  --color-gray: #707070;
  --color-light: #f4f4f4;
  --color-accent: #f7931e;
  --color-bg-dark : #b7c6c8;
  --color-bg-light: #ebebeb;   /* ededf0 */
  --color-bg-brown: #d7c4b7;
  --color-bg-darkgreen: #4e4934;
  --color-bg-darkgray: #8e9089;
  --color-bg-raspberry: #bb2649;
  --color-bg-platinum: #dbe1e0;   /* siniharmaa */

  --color-primary-tint-80: #dbdbe1;

  --font: 'proxima-nova', Arial, sans-serif;
  /* Light: 300 */
  /* Regular: 400 */
  /* Medium: 500 */
  /* SemiBold: 600 */
  /* Bold: 700 */
  /* Extrabold: 800 */

  --menu-height: 130px;
  --sticky-menu-height: 80px;
  --top-menu-height: 0px;
  --mobile-menu-height: 100px;
  --secondary-menu-height: 40px;

  --content-background: #f5f5f5;
  --content-width: 64rem;

  --border-radius-big: clamp(3rem, 9vw, 8rem);
  --border-radius-small: clamp(2rem, 5vw, 6rem);
  --transition: all .25s ease-out;
  --footer-index: 10;
}

@media all and (max-width: 1199px) {
  :root {
    --content-width: 48rem;
  }
}
@media all and (max-width: 1023px) {
  :root {
    --border-radius-big: clamp(3rem, 15vw, 8rem);
  }
}
@media all and (max-width: 823px) {
  :root {
    --menu-height: 100px;
  }
}



/***  Theme Breakpoints
small:   0      - 639px
medium:  640    - 823px
large:   824    - 1023px
xlarge:  1024px - 1439px
xxlarge: 1440px
*/

@media screen and (min-width: 64em) and (max-width: 75em) {
  .grid-margin-x > .xlargealt-3 {
      width: calc(25% - 1.875rem);
  }
  .grid-margin-x > .xlargealt-9 {
    width: calc(75% - 1.875rem);
}
}




/* Fontit (ks. graafinen ohjeisto) */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/* Colors */

.text-light { color: #fff; }
.text-dark { color: var(--color-dark); }

.bg-white { background-color: #fff; }
.bg-content { background-color: var(--content-background); }
.bg-light { background-color: var(--color-light); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-dark { background-color: var(--color-dark); }
.bg-orange { background-color: var(--color-additional); }
.bg-brown { background-color: var(--color-bg-brown); }
.bg-darkgreen { background-color: var(--color-bg-darkgreen); }
.bg-darkgray { background-color: var(--color-bg-darkgray); }
.bg-raspberry { background-color: var(--color-bg-raspberry); }
.bg-platinum { background-color: var(--color-bg-platinum); }


/* Common Styles */

/*::selection {
  background: var(--color-accent);
  color: #fff;
}*/

html, body {
  font-family: var(--font);
  overflow-x: hidden;    /* HUOM! rikkoo sticky -toiminnon valikosta */
}
body {
  background: var(--color-bg-light);
  color: var(--color-dark);
}

body,input,select,optgroup,textarea {
  font-family: var(--font);
  font-size: 16px;
  font-size: 1em;
  font-style: normal;
  font-weight: 300;
}
a {
  font-style: normal;
  color: inherit;
  -webkit-transition: all .25s ease-out;
  transition: all .25s ease-out;
}

a:focus, a:active, a:visited {
  color: inherit;
}
a:hover {
  color: unset;
}
a:visited {
  color: unset;
}

body, input, select, optgroup, textarea {
    --color: #fff;
}


/**  General **/

.admin-bar .nav-root { top: 32px; }
.admin-bar li.cell > ul.nav-subroot { top: 112px; }
:focus { outline: none; }


/**  Accessibility  **/
a:focus-visible {
  outline: 2px solid var(--color-secondary);
}


/* Typography */

p, span, li, div, h1, h2, h3, h4, h5, h6, :before, :after {
  line-height: calc(3ex);
}


h1,h2,h3,h4,h5,h6,
h1 span,h2 span,h3 span,h4 span,h5 span,h6 span {
  font-family: var(--font);
  line-height: 1;
}
p,strong,em,li,th,td {
  font-family: var(--font);
}


h1, h2.title-size-large {
  font-size: 5rem;
  font-style: normal;
  font-weight: 800;
  margin-bottom: 1rem;
}
h2, h3.title-size-large {
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 800;
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
}
h3, h4.title-size-large { 
  font-size: 1.875rem;
  margin: 2.5rem 0 1.875rem 0;
  font-style: normal;
  font-weight: 800;
}
h4 { 
  font-style: normal;
  margin: 3rem 0 1.5rem 0;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
}
h5, h6 { 
  font-style: normal;
  font-weight: 500;
}

h1 span, h2 span, h3 span {
  display: inline-block;
}

thead th {
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
}
tbody td {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
}

p, li, .page-block {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.4;
}
p { 
  margin-bottom: 1.625rem;
}
b, strong {
  font-style: normal;
  font-weight: 700;
}
ul, ol {
  margin: 0 0 1.5rem 2.5rem;
}

blockquote {
  position: relative;
  border: 0;
  margin: 1rem 0;
  padding: 1rem 1.5rem;
}
blockquote:before {
  content: '”';
  position: absolute;
  top: 0;
  left: 0;
  font-size: 250%;
}
blockquote, blockquote p {
  color: inherit;
  font-size: 110%;
}

@media all and (max-width: 1439px) {
  h1, h2.title-size-large { font-size: 5rem; }
  h2, h3.title-size-large { font-size: 2.5rem; }
}
@media all and (max-width: 1199px) {
  h1, h2.title-size-large { font-size: 4rem; }
  h2, h3.title-size-large { font-size: 2.25rem; }
  h3, h4 { font-size: 2rem; }
  p, li { font-size: 1.125rem; }
}
@media all and (max-width: 1023px) {
  h1, h2.title-size-large { font-size: 3.125rem; }
  h2, h3.title-size-large, h4.title-size-large { font-size: 1.875rem; margin-bottom: 1rem; }
  h3, h4 { font-size: 1.25rem; margin-bottom: 1rem; }
}
/*@media all and (max-width: 823px) {
  h1 { font-size: 2.5rem; }
}*/
@media all and (max-width: 639px) {
  h1, h2.title-size-large { font-size: 2.25rem; }
  p, li { font-size: 1.125rem; }
  ul, ol { margin-left: 2rem; }
}




/*** Site Footer ***/

footer {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-top: -136px;
  max-width: 90rem;
  overflow: hidden;
  padding: 0;
  position: relative;
  z-index: var(--footer-index);
}
#footer-shape {
  -moz-user-drag: none;
  -webkit-user-drag: none;
}

@media all and (max-width: 1199px) {
  footer {
    margin-top: -110px;
  }
}
@media all and (max-width: 823px) {
  footer {
    margin-top: -80px;
  }
  footer #footer-shape {
    position: absolute;
    top: 0;
    left: -170rem;
    right: auto;
    max-width: 1000rem;
    width: 250rem;
  }
}
@media all and (max-width: 639px) {
  footer {
    margin-top: -70px;
  }
  footer #footer-shape {
    left: -138rem;
    width: 200rem;
  }
}



/*** CookieBot ***/

#CybotCookiebotDialogHeader {
  display: none !important;
}

#CybotCookiebotDialog *, #CybotCookiebotDialogBodyUnderlay * {
  font-size: 14px !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
  color: #fff !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
	border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a,
#CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a {
	color: var(--color-primary) !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
	border-color: var(--color-secondary) !important;
	color: var(--color-primary) !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
	color: var(--color-secondary) !important;
}

#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
	fill: #141414 !important;
}


/** CookieBot Widget **/

#CookiebotWidget .CookiebotWidget-consent-details button {
	color: var(--color-primary) !important;
}
#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	color: #fff !important;
}



/* Block Paddings */

.top-padding-none {
  padding-top: 0;
}
.top-padding-narrow {
  padding-top: 4rem;
}
.top-padding-wide {
  padding-top: 8rem;
}
.bottom-padding-none {
  padding-bottom: 0;
}
.bottom-padding-narrow {
  padding-bottom: 4rem;
}
.bottom-padding-wide {
  padding-bottom: 8rem;
}
@media all and (max-width: 1200px) {
  .top-padding-narrow {
    padding-top: 2rem;
  }
  .top-padding-wide {
    padding-top: 4rem;
  }
  .bottom-padding-narrow {
    padding-bottom: 2rem;
  }
  .bottom-padding-wide {
    padding-bottom: 4rem;
  }
}


/* Block Margins */

.no-margin {
  margin: 0 auto;
}
.small-margin {
  margin: 4rem auto;
}
.big-margin {
  margin: 8rem auto;
}




/* General Blocks Styles */
.page-block {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#mask-shape-top {
  display: block;
  fill: var(--content-background);
  height: auto;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.site-main .entry-content .page-block.newsletter-block:last-child {
  padding-bottom: 10rem;
}

@media (max-width: 823px) {
  #mask-shape-top {
      width: 176%;
  }
}

.inline-block {
  display: inline-block;
}


/*** Show/Hide Rules ***/
@media all and (min-width: 1440px) {
  .show-1439 {
    display: none;
    visibility: hidden;
  }
}
@media all and (max-width: 1439px) {
  .hide-1439 {
    display: none;
    visibility: hidden;
  }
}
@media all and (min-width: 1200px) {
  .show-1199 {
    display: none;
    visibility: hidden;
  }
}
@media all and (max-width: 1199px) {
  .hide-1199 {
    display: none;
    visibility: hidden;
  }
}
@media all and (min-width: 1024px) {
  .show-1023 {
    display: none;
    visibility: hidden;
  }
}
@media all and (max-width: 1023px) {
  .hide-1023 {
    display: none;
    visibility: hidden;
  }
}
@media all and (min-width: 824px) {
  .show-823 {
    display: none;
    visibility: hidden;
  }
}
@media all and (max-width: 823px) {
  .hide-823 {
    display: none;
    visibility: hidden;
  }
}
@media all and (min-width: 640px) {
  .show-639 {
    display: none;
    visibility: hidden;
  }
}
@media all and (max-width: 639px) {
  .hide-639 {
    display: none;
    visibility: hidden;
  }
}


#countdown {
  color: var(--color-accent);
  font-size: clamp(2rem, 3.5vw, 6rem);
  font-weight: 800;
}
#countdown span {
  color: var(--color-dark);
  font-size: clamp(1.5rem, 2.75vw, 3.5rem);
}
#countdown time {
  padding: 0 1rem;
}

@media all and (max-width: 1439px) {
  .countdown-timer {
    margin-bottom: 2rem;
  }
  #countdown time {
    padding: 0 .5rem;
  }
}
@media all and (max-width: 1023px) {
  #countdown {
    font-size: clamp(3rem, 5vw, 5rem);
  }
  #countdown span {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  #countdown time {
    display: block;
    line-height: 1.2;
  }
}


/* Foundation Alterations */

.grid-margin-x-custom {
    margin-left: 8rem;
    margin-right: 8rem;
}



.post, .page {
  margin: 0;
}
/*main#primary {
  margin-top: calc( var(--menu-height) + var(--top-menu-height) );
}*/
.menu.align-center li a {
  font-size: 18px;
}
.secondary-menu {
  padding-left: 2rem;
}



/* Widths */

.width-full {
  width: 100%;
  margin: 0 auto;
}
.width-narrow {
  max-width: 44rem;
  margin: 0 auto;
}
.hero-width-narrow {
  max-width: 44rem;
}
  .text-center .hero-width-narrow {
    margin: 0 auto;
  }
.width-content {
  max-width: 54rem;
  margin: 0 auto;
}
  .khg-page-block-wrapper.width-content {
    margin-left: 4rem;
    margin-right: 4rem;
  }
.hero-width-content {
  max-width: 52rem;
  margin: 0 auto;
}
.width-wide {
  max-width: 80rem;
  margin: 0 auto;
}
    .site-story .width-wide {
      max-width: 100rem;
    }
    .site-main .width-wide {
      margin-left: 4.9375rem;
      margin-right: 4.9375rem;
    }
.width-max-content {
  max-width: max-content;
  margin: 0 auto;
}

@media all and (max-width: 1439px) {
  .site-story .width-wide {
    max-width: 75rem;
  }
  .width-content {
    max-width: 64rem;
  }
  .hero-width-content {
    max-width: 54rem;
  }
}
@media all and (max-width: 1199px) {
  .width-wide {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
  }
      .site-main .width-wide {
        margin-left: 0;
        margin-right: 0;
      }
  .width-content, .width-narrow {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
  }
  .khg-page-block-wrapper.width-content {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .hero-width-content {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    max-width: 100%;
  }
}
@media all and (max-width: 1023px) {
  .width-content {
    /*max-width: 44rem;*/
    max-width: 100%;
  }
    .khg-page-block-wrapper.width-content {
      margin-left: 1.5rem;
      margin-right: 1.5rem;
    }
  .width-narrow {
    max-width: 100%;
    margin: 0 1.5rem;
  }
}
@media all and (max-width: 823px) {
  .width-content {
    margin: 0 2.0625rem;
  }
    .khg-page-block-wrapper.width-content {
      margin-left: 1rem;
      margin-right: 1rem;
    }
}
@media all and (max-width: 639px) {
  .width-wide {
    margin-left: .875rem;
    margin-right: .875rem;
  }
  .width-content {
    margin: 0 1rem;
  }
  .width-narrow {
    margin: 0 1rem;
  }
}



/* Header */

.nav-menu-1, .nav-menu-2, .nav-menu-logo {
  padding-left: 0rem;
  padding-right: 0rem;
}


/* Hero */

header {
  position: relative;
}
header.height-narrow {
  height: 50vh;
  max-height: 500px;
}
header.height-normal {
  height: 50.625rem;
}
header.height-full {
  height: calc(100vh - 144px);
  max-height: 1200px;
}

    /* 1920px */
    @media all and (max-width: 120rem) {
      header.height-normal {
        height: clamp(400px, 56vw, 830px);
      }
    }
    @media all and (max-width: 823px) {
      header.height-normal {
        height: 106.6vw;
      }
    }

.stock-info {
  position: absolute;
  left: calc(50% + 230px);
  top: 200px;
  height: 250px;
  width: 250px;
  z-index: 2;
}
    .stock-info.height-normal {
      top: clamp(280px, 39vw, 578px);
    }

@media all and (max-width: 1199px) {
  .stock-info {
    left: calc(50% + 158px);
  }
  .stock-info iframe {
    transform: scale(0.7);
  }
  .stock-info.height-normal {
    top: clamp(280px, 34vw, 578px);
  }
}

.height-full-flow {
  height: 150vh;
  max-height: 1300px;
}
.hero-flow {
  position: absolute;
  bottom: -2rem;
  width: 100%;
}
.hero-flow svg {
  fill: #fff;
}
.hero-flow img {
  width: 100vw;
}
.fill-white svg {
  fill: #fff;
}
.fill-sand svg {
  fill: #f7f7f7;
}
.bg-mask {
  background: linear-gradient(black, transparent);
  width: 100%;
  z-index: 5;
}
    .bg-mask.mask-narrow {
      height: 216px;
    }
    .bg-mask.mask-wide {
      height: 292px;
    }
.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  
  /* hero image mask shape */
  -webkit-mask-image: url('/wp-content/themes/khgroup_wp/img/hero-mask-shape.svg');
  mask-image: url('/wp-content/themes/khgroup_wp/img/hero-mask-shape.svg');
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
  .hero-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
.hero-title-wrapper {
  height: 100%;
  position: relative;
  z-index: 10;
}
.height-full-flow .hero-title-wrapper {
  height: calc(100vh - 144px);
  position: relative;
  max-height: 950px;
}
.site-main header.entry-header {
  margin: 0 auto;
  max-width: 90rem;
}
header.entry-header.no-image {
  color: #fff;
  height: auto;
  padding-top: 16rem;
  padding-bottom: 12rem;
  text-align: center;

  /* hero image mask shape */
  -webkit-mask-image: url('/wp-content/themes/khgroup_wp/img/hero-mask-shape.svg');
  mask-image: url('/wp-content/themes/khgroup_wp/img/hero-mask-shape.svg');
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
header.entry-header.fallback-image {
  background: url('/wp-content/themes/khgroup_wp/img/khg-hero-fallback.jpg') no-repeat center;

  /* hero image mask shape */
  -webkit-mask-image: url('/wp-content/themes/khgroup_wp/img/hero-mask-shape.svg');
  mask-image: url('/wp-content/themes/khgroup_wp/img/hero-mask-shape.svg');
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
h1.entry-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  margin-bottom: 0;
}

@media all and (max-width: 1439px) {
  header.entry-header.no-image {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
}
@media all and (max-width: 823px) {
  .hero-image,
  header.entry-header.fallback-image {
    -webkit-mask-size: 214%;
    mask-size: 214%;
    -webkit-mask-position: left bottom;
    mask-position: left bottom;
  }
}
@media all and (max-width: 639px) {
  header.entry-header.no-image {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}





/* BUTTONS • PAINIKKEET */

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 40px;
  border-width: 3px;
  border-style: solid;
  font-family: var(--font);
  font-size: 1.375rem;
  font-weight: 800;
  margin: .5rem 0;
  padding: .25rem 1rem .25rem 1rem;
  position: relative;
  max-width: 75rem;
  width: fit-content;
  z-index: calc(var(--footer-index) + 1);
}
.arrow-svg {
  width: 10px;
  margin-left: 20px;
  -webkit-transition: all .25s ease-out;
  transition: all .25s ease-out;
}
    .btn:hover .arrow-svg {
      transform: translatex(10px);
    }

/* Primary Button */
.btn-primary, a.btn-primary,
.btn-primary:visited, a.btn-primary:visited {
  background: var(--color-additional);
  color: #fff;
  border-color: var(--color-additional);
}
  .btn-primary:hover,
  .btn-primary:active,
  .btn-primary:focus,
  .btn-primary:visited:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
  }
.btn-primary .arrow-svg {
  fill: #fff;
}

/* Secondary Button */
.btn-secondary,
.btn-secondary:visited {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}
  .btn-secondary:hover,
  .btn-secondary:active,
  .btn-secondary:focus {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
  }
.btn-secondary .link-arrow .arrow-svg svg {
  fill: #000;
}
  .btn-secondary:hover .link-arrow .arrow-svg svg {
    fill: #fff;
  }



.btn .link-arrow {
  display: inline-flex;
  margin-left: 1rem;
  -webkit-transition: all .25s ease-out;
  transition: all .25s ease-out;
}
.btn:hover .link-arrow {
  transform: translateX(1rem);
}
.btn .link-arrow .arrow-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-bigger {
  background: transparent;
  color: #134851;
  border: 3px solid #134851;
  border-radius: 3rem;
  padding: 1.3rem 2.5rem 1.3rem 3.5rem;
  font-family: var(--font);
  font-size: 1.7rem;
  width: max-content;
  max-width: 75rem;
  display: block;
}
.btn-bigger .link-arrow .arrow-svg {
  width: 1.35rem;
  height: 1.35rem;
}


.text-center .btn { 
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.hero-title-wrapper a.btn { 
  position: relative;
}
.hero-button {
  margin-top: 4rem;
}

/*****/
@media all and (max-width: 1199px) {
  .btn {
    font-size: 1.5rem;
    padding: .375rem 1.25rem .375rem 1.25rem;
  }
}
@media all and (max-width: 639px) {
  .btn {
    font-size: 1.25rem;
    padding: .375rem 1.125rem .375rem 1.125rem;
  }
}




/** Breadcrumbs */

.page-breadcrumb {
  margin: 4rem auto;
  text-align: center;
}
.page-ul-breadcrumb {
  list-style: none;
  margin: 0 auto;
  align-items: center;
  display: flex;
  justify-content: center;
}
.page-breadcrumb li {
  font-family: var(--font);
  font-size: 1.125em;
  white-space: nowrap;
}
.page-breadcrumb li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-breadcrumb li.seperator {
  font-size: 1em;
}
.page-breadcrumb li a {
  font-family: inherit;
  padding: 0;
  margin: 0;
} 
.page-breadcrumb li.item a {
  color: #BFC3C9;
}
.page-breadcrumb li.item a:hover {
  color: #134851;
}
.page-breadcrumb li.item-current.item {
  color: #134851;
}
.page-breadcrumb .seperator .arrow-svg {
  width: 30px;
  margin: 0rem 0.5rem;
  height: auto;
}
.page-breadcrumb .seperator .arrow-svg svg {
  max-height: 16px;
}





/************************/
/***** Page Blocks ******/
/************************/


/* Block General */

.text-block-lead a, .text-block-text a {
  text-decoration: underline;
}

.entry-content {
  margin: 0 auto;
}

.site-main .entry-content {
  /*background: #fff;*/
  max-width: var(--content-width);
}
#page {
  position: relative;
}
#page .float-container {
  background: var(--content-background);
  margin: 0 auto;
  max-width: var(--content-width);
  position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
  z-index: -1;
}
    .page-template-page-story .float-container {
      display: none;
    }

.single-post .post-navigation {
  padding-bottom: 4rem;
}



/****** Media Queryt ******/

/*@media all and (max-width: 1599px) {
  .site-main .entry-content,
  #page .float-container {
    margin: 0 6rem;
  }
}*/

@media all and (max-width: 1439px) {
  .page-breadcrumb {
    margin: 4rem;
  }
  .page-block.bg-gray {
    margin: 0;
  }
}

@media all and (max-width: 1199px) {
  .home h1.entry-title {
    font-size: 3.75rem;
  }
}

@media all and (max-width: 1023px) {
  .arrow-svg svg {
    max-height: 23px;
  }
  .person-name {
    font-size: 1.5rem;
  }
}

@media all and (max-width: 823px) {
  .page-breadcrumb li, .page-breadcrumb li a {
    font-size: 1em;
  }
  .site-main .entry-content,
  #page .float-container {
    margin: 0 3rem;
  }
}

@media all and (max-width: 639px) {
  .site-main .entry-content,
  #page .float-container {
    margin: 0;
  }
}



/* LOMAKKEET */
.wpcf7 form p {
  margin-bottom: 0;
}
.wpcf7 form input,
.wpcf7 form textarea {
  border: 1px solid #fff;
  border-radius: 26px;
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 10px 20px;
}
  .wpcf7 form input:focus,
  .wpcf7 form textarea:focus {
    border: 1px solid var(--color-additional);
  }
.wpcf7 form input {
  margin-bottom: 1.125rem;
}
.wpcf7 form .wpcf7-submit {
  background: var(--color-additional);
  border-color: var(--color-additional);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 10px 60px;
  transition: var(--transition);
}
  .wpcf7 form .wpcf7-submit:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
  }



/* HAKUTULOKSET */
.search-results #primary {
  background: var(--color-light);
}
.search-results .search-results-container {
  position: relative;
  padding: 3rem 0;
}
.search-results .page-header {
  margin-bottom: 3rem;
}
.search-results .posts-navigation {
  margin-top: 3rem;
}

.search-results .search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 2px solid var(--color-secondary);
  border-radius: .75rem;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
}
.search-results .search-form label,
.search-results .search-form .search-field {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
}
.search-results .search-form .search-submit {
  background: var(--color-primary);
  border: 0;
  cursor: pointer;
}
.search-results .search-form .search-submit:hover {
  background: #393741;
}

.search-results .search-results-count {
  display: flex;
  justify-content: flex-end;
  font-weight: 600;
  padding: 1rem 1.625rem;
}



/* YKSITTÄINEN ARTIKKELINÄKYMÄ */

.single-post .entry-meta {
  color: #fff;
  font-size: 1.6rem;
  font-family: var(--font);
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 1rem;
}

.hero-single {
  height: 50vh;
  min-height: 500px;
  max-height: 1000px;
}
.single-post-mask {
  opacity: 20%;
  background: #134851;
  position: absolute;
}
.hero-single .entry-title {
  color: #fff;
  text-align: center;
}



/* Pagination */

.nav-links {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.nav-links .nav-name {
  opacity: 0.35;
}
.nav-links .nav-title {
  position: relative;
}
.nav-links .nav-previous {
  max-width: 50%;
}
.nav-links .nav-next {
  max-width: 50%;
  text-align: right;
}
.nav-links .nav-title .arrow-svg {
  position: absolute;
  top: 5px;
  display: inline;
  width: auto;
  height: 16px;
  margin: 0;
  -webkit-transition: all .125s ease-out;
  transition: all .125s ease-out;
}
    .nav-links .nav-previous .nav-title .arrow-svg {
      left: -30px;
      transform: rotate(180deg);
    }
    .nav-links .nav-next .nav-title .arrow-svg {
      right: -30px;
    }




/* Password Protected */

.password-container {
  margin: 12rem 1rem;
  display: flex;
  justify-content: center;
}
.password-container form {
  max-width: 40rem;
}




/* ARTIKKELIEN ARKISTONÄKYMÄ */

.featured-post {
  position: relative;
}
.featured-post-content {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  z-index: 3;
}
.featured-post .bg-mask {
  position: absolute;
  top: 0;
  background: #00000024;
  z-index: 2;
}
.featured-post-image {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.featured-post-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.featured-post-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.featured-post-excerpt, .featured-post-excerpt p {
  font-size: 1.5rem;
}
.featured-post-excerpt p:last-child {
  margin-bottom: 0;
}
.featured-post-link {
  margin-top: 3rem;
}

.posts-archive {
  margin-top: 1.875rem;
  margin-bottom: 1.875rem;
}
.posts-archive .posts-list .post-item {
  display: flex;
  flex-flow: wrap column;
  justify-content: space-between;
  margin-top: 5rem;
}
.posts-archive .posts-list .post-item-image {
  position: relative;
}
.posts-archive .posts-list .post-item-image .featured-image {
  position: relative;
  width: 100%;
  height: 15vw;
  overflow: hidden;
}
.posts-archive .posts-list .post-item-image .featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.posts-archive .posts-list .post-item-content .post-meta {
  margin: 0.5rem 0;
}
.posts-archive .posts-list .post-item-content .post-title {
  font-size: 1.5rem;
  margin-top: 0;
}


/* Eurolandin iFrame-muutokset */

/*
  #Main .ColumnLayoutColumn .PressRelease-SingleLine-TypeContainer {
    margin-left: 0rem!important;
    text-align: left!important;
  }
  div#Main {
    display: none!important;
  }
*/


/*****************************************/
/**********                     **********/
/**********    Media Queries    **********/
/**********                     **********/
/*****************************************/



/**********     640px   -   1200px     **********/

@media screen and (min-width: 40em) and (max-width: 74.9375em) {
  .grid-margin-x>.medplus-6 {
    width: calc(50% - 1.875rem);
  }
  .some-wrapper > .medplus-2 {
    width: calc(16.66% - 1rem);
    margin: 0 0.5rem;
  }
  
}



/**********     1024px     **********/

@media screen and (max-width: 63.9375em) {

  .height-full-flow {
    height: 120vh;
    max-height: 1024px;
  }

  ::placeholder {
    font-size: 1.25rem;
  }

}



/**********     639px     **********/

@media screen and (max-width: 39.9375em) {

  .single-post .entry-meta {
    font-size: 1rem;
  }

  .hero-button {
    margin-top: 2.5rem;
  }

  .hero-arrow .arrow-svg {
    width: 50px;
    height: 50px;
    border: 3px solid #fff;
  }

  .page-breadcrumb {
    margin: 4rem 2rem;
  }
  .page-ul-breadcrumb {
    flex-wrap: wrap;
  }
  .page-breadcrumb li {
    margin-bottom: 0.25rem;
  }
  .page-breadcrumb .seperator .arrow-svg {
    width: 11px;
    margin: 0 0.75rem;
    height: auto;
  }
  .page-breadcrumb li:last-child {
    max-width: calc(100vw - 4rem);
  }

}