.wp-site-blocks strong,
.wp-site-blocks b,
.editor-styles-wrapper strong,
.editor-styles-wrapper b {
  font-weight: 700;
}

body select {
  color-scheme: light !important;
}
body select option,
body select optgroup {
  background-color: #fff !important;
  color: #1a1a1a !important;
}

body select.hoyry-form-control,
body select.ff-el-form-control,
body .hoyry-form-select select,
body .hoyry-form select,
body .fluentform select,
body .hoyry-listing-filter select {
  color: #1a1a1a !important;
}

body .hoyry-form-select.is-placeholder-selected select,
body select:required:invalid {
  color: #959595 !important;
}

.wp-block-navigation .wp-block-navigation__container:not(.is-menu-open *) > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
  transform: initial !important;
}
.wp-block-navigation .wp-block-navigation__container:not(.is-menu-open *) > .wp-block-navigation-item > .wp-block-navigation__submenu-icon svg {
  display: none;
}
.wp-block-navigation .wp-block-navigation__container:not(.is-menu-open *) > .wp-block-navigation-item > .wp-block-navigation__submenu-icon:before {
  content: "";
  display: block;
  transform: translateY(-0.2em);
  background-image: var(--plus-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 11px;
  height: 11px;
  margin-left: 2px;
}

body .wp-block-button.is-style-hoyry-button-kirjaudu-sisaan .wp-element-button:after, body .wp-block-button.is-style-hoyry-button-kirjaudu-sisaan .wp-block-button .wp-block-button__link:after, body .wp-block-button.is-style-hoyry-button-kirjaudu-sisaan .wp-block-button__link:after {
  -webkit-mask: var(--lock-url);
          mask: var(--lock-url);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.wp-block-table.is-style-hoyry-table-vertailu {
  overflow: visible !important;
}
.wp-block-table.is-style-hoyry-table-vertailu table {
  border-collapse: separate;
  border-spacing: 0;
}
.wp-block-table.is-style-hoyry-table-vertailu thead th {
  background-color: #fff !important;
  box-shadow: 0 1px 0 var(--hoyry-table-border-color, #d9d9d9);
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  vertical-align: bottom;
  z-index: 30;
}
.wp-block-table.is-style-hoyry-table-vertailu thead th:has(.has-custom-korostus-1-color) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
.wp-block-table.is-style-hoyry-table-vertailu .hoyry-inline-icon[style*="width:1em;height:1em"] {
  width: 1.7em !important;
  height: 1.7em !important;
}
.wp-block-table.is-style-hoyry-table-vertailu .has-inline-color.has-custom-korostus-1-color {
  background-color: var(--wp--preset--color--custom-korostus-1) !important;
  color: #fff !important;
  padding: 0.35em 1em 0.25em 1em !important;
  border-radius: 10px !important;
  font-size: clamp(0.8125rem, 0.7855rem + 0.1351351351vw, 0.9375rem) !important;
  font-weight: 400 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0.5em !important;
  vertical-align: middle;
}
@media (max-width: 741px) {
  .wp-block-table.is-style-hoyry-table-vertailu .has-inline-color.has-custom-korostus-1-color {
    display: block !important;
    font-size: 11px !important;
    margin: 0.25em auto 0 !important;
    text-transform: lowercase;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 4px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .wp-block-table.is-style-hoyry-table-vertailu .has-inline-color.has-custom-korostus-1-color::first-letter {
    text-transform: uppercase;
  }
}
body:has(header.hoyry-header-sticky:not(.hoyry-header-sticky-hidden)) .wp-block-table.is-style-hoyry-table-vertailu thead th {
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 3.5rem) !important;
}

@media (min-width: 1024px) {
  body:has(header.hoyry-header-sticky:not(.hoyry-header-sticky-hidden)) .wp-block-table.is-style-hoyry-table-vertailu thead th {
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 5.625rem) !important;
  }
}

.is-style-hoyry-form-uutiskirje {
  --hoyry-form-field-background-color: #fff;
  --hoyry-form-field-background-color-focus: #fff;
  --hoyry-form-field-border-color: #d9d9d9;
  --hoyry-form-field-border-color-focus: #d9d9d9;
  --hoyry-form-field-border-width: 1px;
  --hoyry-form-field-border-top-width: 1px;
  --hoyry-form-field-border-right-width: 0;
  --hoyry-form-field-border-bottom-width: 1px;
  --hoyry-form-field-border-left-width: 1px;
  --hoyry-form-field-border-width-focus: 1px;
  --hoyry-form-field-border-top-width-focus: 1px;
  --hoyry-form-field-border-right-width-focus: 0;
  --hoyry-form-field-border-bottom-width-focus: 1px;
  --hoyry-form-field-border-left-width-focus: 1px;
  --hoyry-form-field-border-top-left-radius: 0;
  --hoyry-form-field-border-top-right-radius: 0;
  --hoyry-form-field-border-bottom-right-radius: 0;
  --hoyry-form-field-border-bottom-left-radius: 0;
  --hoyry-form-field-text-color-placeholder: #959595;
  --hoyry-form-field-text-color-placeholder-focus: #959595;
  --hoyry-form-group-margin-bottom: 0;
  --hoyry-form-submit-button-background: var(--wp--preset--color--custom-korostus-1, #FC6C00);
  --hoyry-form-submit-button-background-hover: var(--wp--preset--color--custom-korostus-1, #FC6C00);
  --hoyry-form-submit-button-color: #1a1a1a;
  --hoyry-form-submit-button-color-hover: #1a1a1a;
  --hoyry-form-submit-button-border-radius: 0;
  --hoyry-form-submit-button-font-family: var(--wp--preset--font-family--leipateksti);
  --hoyry-form-submit-button-font-size: 16px;
  --hoyry-form-submit-button-font-weight: 700;
  --hoyry-form-submit-button-min-width: auto;
  --hoyry-form-submit-button-padding-top: 0;
  --hoyry-form-submit-button-padding-right: 1.75rem;
  --hoyry-form-submit-button-padding-bottom: 0;
  --hoyry-form-submit-button-padding-left: 1.75rem;
  margin-inline: auto;
  width: 100%;
}
.is-style-hoyry-form-uutiskirje form,
.is-style-hoyry-form-uutiskirje fieldset,
.is-style-hoyry-form-uutiskirje .ff-t-container {
  width: 100%;
}
.is-style-hoyry-form-uutiskirje .ff-t-container {
  align-items: stretch;
  background: transparent;
  -moz-column-gap: 0 !important;
       column-gap: 0 !important;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 0 !important;
  min-height: 3rem;
  padding: 0;
  row-gap: 0 !important;
}
.is-style-hoyry-form-uutiskirje .ff-t-cell,
.is-style-hoyry-form-uutiskirje .ff-el-group,
.is-style-hoyry-form-uutiskirje .ff-el-input--content,
.is-style-hoyry-form-uutiskirje .ff_submit_btn_wrapper,
.is-style-hoyry-form-uutiskirje .ff_submit_btn_wrapper_custom {
  gap: 0 !important;
  margin: 0 !important;
}
.is-style-hoyry-form-uutiskirje .ff-t-cell {
  padding: 0 !important;
}
.is-style-hoyry-form-uutiskirje .ff-t-column-1 {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0;
  width: auto !important;
}
.is-style-hoyry-form-uutiskirje .ff-t-column-1,
.is-style-hoyry-form-uutiskirje .ff-t-column-1 .ff-el-group,
.is-style-hoyry-form-uutiskirje .ff-t-column-1 .ff-el-input--content {
  align-items: stretch;
  display: flex;
  height: 100%;
  width: 100%;
}
.is-style-hoyry-form-uutiskirje .ff-t-column-2 {
  flex: 0 0 auto !important;
  max-width: none !important;
  padding: 0 !important;
  position: static;
  width: auto !important;
}
.is-style-hoyry-form-uutiskirje .ff-t-column-2,
.is-style-hoyry-form-uutiskirje .ff-t-column-2 .ff-el-group,
.is-style-hoyry-form-uutiskirje .ff-t-column-2 .ff_submit_btn_wrapper,
.is-style-hoyry-form-uutiskirje .ff-t-column-2 .ff_submit_btn_wrapper_custom {
  align-items: stretch !important;
  display: flex;
  height: 100%;
  margin: 0 !important;
}
.is-style-hoyry-form-uutiskirje .ff-t-column-2 .ff_submit_btn_wrapper_custom .hoyry-form-submit-button {
  margin: 0 !important;
}
.is-style-hoyry-form-uutiskirje .hoyry-form-control,
.is-style-hoyry-form-uutiskirje .ff-el-form-control {
  background: #fff !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  border-right: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
  flex: 1;
  height: 3rem !important;
  line-height: normal;
  margin: 0 !important;
  max-height: 3rem !important;
  min-height: 3rem !important;
  outline: none !important;
  padding: 0 1rem;
  width: 100%;
}
.is-style-hoyry-form-uutiskirje .hoyry-form-control:focus, .is-style-hoyry-form-uutiskirje .hoyry-form-control:focus-visible,
.is-style-hoyry-form-uutiskirje .ff-el-form-control:focus,
.is-style-hoyry-form-uutiskirje .ff-el-form-control:focus-visible {
  background: #fff !important;
  border-color: #d9d9d9 !important;
  border-right: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.is-style-hoyry-form-uutiskirje .hoyry-form-submit-button {
  align-items: center;
  align-self: stretch;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  display: inline-flex;
  height: 3rem !important;
  justify-content: center;
  line-height: 1;
  margin: 0 !important;
  max-height: 3rem !important;
  min-height: 3rem !important;
  padding-block: 0 !important;
  white-space: nowrap;
  width: auto;
}
@media (max-width: 480px) {
  .is-style-hoyry-form-uutiskirje {
    --hoyry-form-submit-button-font-size: 15px;
    --hoyry-form-submit-button-padding-right: 1.25rem;
    --hoyry-form-submit-button-padding-left: 1.25rem;
  }
  .is-style-hoyry-form-uutiskirje .hoyry-form-control,
  .is-style-hoyry-form-uutiskirje .ff-el-form-control {
    font-size: 16px;
    padding-inline: 0.85rem;
  }
}

.wp-block-table.is-style-hoyry-table-vertailu thead tr th:nth-child(3) {
  background-color: #e2e9f4 !important;
}

.taxonomy-article-category {
  pointer-events: none;
  text-decoration: none;
}
