/**handles:layout-custom**/
/* fixed nav height*/
main {
  padding-top: 70px;
  position: relative;
}
@media (min-width: 1200px) {
  main {
    padding-top: 80px;
  }
}

main > * {
  scroll-margin-top: 4em;
}

main > *:not(.alingfull):last-child,
main > *:not(.full):last-child {
  margin-bottom: 5vw;
}
.wp-block-spacer {
    margin-top: 0!important;
  margin-bottom: 0!important;
}

@media (min-width: 1400px) {
  .single-post main.container-fluid > *[class^="wp-block"],
  .single-post main.container-fluid > *[class^="wp-container"] {
    margin-top: 2vw;
    margin-bottom: 2vw;
  }
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}


.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
  }

/* Jälleenmyyjähaku*/

.wp-block-letm-blocks-retailer-search {
  max-width: 1120px !important;
  color: #fff;
}

.wp-block-letm-blocks-retailer-search
  .retailer-search-container
  .search
  .search-button {
  font-size: 1.1em;
  font-family: "Avalon-Bold", sans-serif;
  padding: 0.6rem 1.5rem;
  border-radius: 0;
  word-break: initial;
  white-space: nowrap;
  min-width: auto;
  transition: all 0.3s ease-in-out;
}

.wp-block-letm-blocks-retailer-search
  .retailer-search-container
  .search
  .search-box {
  border: 1px solid transparent;
}

.wp-block-letm-blocks-retailer-search
  .retailer-search-container
  .search
  .search-button {
  color: #264f49;
  min-width: 90px;
}

.wp-block-letm-blocks-webstores .webstore-button {
  color: #575757;
}
.wp-block-letm-blocks-webstores .webstore-button:after {
  content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23575757" d="M384 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h320c35.35 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM344 312c0 17.69-14.31 32-32 32s-32-14.31-32-32V245.3l-121.4 121.4C152.4 372.9 144.2 376 136 376s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L234.8 200H168c-17.69 0-32-14.31-32-32s14.31-32 32-32h144c17.69 0 32 14.31 32 32V312z"/></svg>');
  width: 24px;
  height: 24px;
}

/* Footer */

footer#site-footer {
  margin-top: 0 !important;
}

footer#site-footer > .social-follow {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer#site-footer p {
    font-size:inherit;
}



/* default content width inside group and columns */
.wp-block-column
  > *[class^="wp-block"]:not(.alignwide):not(.wide):not(.alignfull):not(.full),
.wp-block-group__inner-container
  > *[class^="wp-block"]:not(.alignwide):not(.wide):not(.alignfull):not(.full),
.wp-block-group__inner-container
  > *:not(.alignwide):not(.wide):not(.alignfull):not(.full) {
  margin-right: auto;
  margin-left: auto;
  max-width: 720px;
}

main > .alignfull:last-child,
main > .is-style-wide:last-child {
  margin-bottom: 0;
}

/* match wide content area with .container width */
.alignwide,
.wide {
  margin: 0 auto;
  scroll-margin-top: 5em;
}

@media (min-width: 768px) {
  .alignwide,
  .wide {
    max-width: 720px !important;
    scroll-margin-top: 9em;
  }
}

@media (min-width: 992px) {
  .alignwide,
  .wide {
    max-width: 960px !important;
  }
}

@media (min-width: 1200px) {
  .alignwide,
  .wide {
    max-width: 1040px !important;
  }
}

@media (min-width: 1400px) {
  .alignwide,
  .wide {
    max-width: 1200px !important;
  }
}