@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
a {
  color: #151515;
}

a:hover {
  cursor: pointer !important;
}

.summary-text-wrapper a, .page-header a {
  text-decoration: underline;
}

.site-header .site-branding img {
  height: auto;
  max-width: 80px;
  max-height: none;
  transform: translate(0, 4px);
}

#masthead {
  max-height: 5rem;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: #ffffffeb;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: none;
}

#page .scrolled {
  box-shadow: 0px 2px 15px -3px rgba(0, 0, 0, 0.1);
  transition: 500ms ease-in-out;
}

#page {
  margin-top: 9rem;
}

.single-product #page {
  margin-top: 6rem;
}

.site-header {
  border-bottom-color: transparent;
}

@media (min-width: 768px) {
  .site-header {
    padding-top: 1rem;
  }
}
.site-header input[type=text],
.site-header input[type=number],
.site-header input[type=email],
.site-header input[type=tel],
.site-header input[type=url],
.site-header input[type=password],
.site-header input[type=search],
.site-header textarea,
.site-header .input-text {
  padding: 0.6180469716em;
  background: white;
  color: #2c2d31;
  border: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .storefront-primary-navigation a {
    color: #224040 !important;
    font-family: "futura-pt", sans-serif;
  }

  .woocommerce-active .site-header .site-branding {
    width: 25%;
    float: left;
    margin-right: 0;
  }

  .woocommerce-active .site-header .site-search {
    width: 21.7391304348%;
    float: left;
    margin-right: 0;
    clear: none;
  }
}
.woocommerce-product-search {
  background-color: transparent !important;
  box-shadow: none !important;
  min-width: 600px;
  border: 1px solid #8e8e8e;
}

#woocommerce-product-search-field-0 {
  background-color: #fdfcfb !important;
}

div.site-search {
  margin-top: 0.5rem;
}

.login-menu {
  float: right;
  padding: 1rem;
  width: 20rem;
  display: flex;
}
.login-menu ul,
.login-menu li {
  list-style: none;
}
.login-menu li {
  padding: 0.2rem 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "futura-pt", sans-serif;
}
.login-menu li a {
  color: #224040;
}

#menu-kirjaudu {
  padding: 0.5rem;
  display: flex;
  gap: 0.2rem;
  margin-top: -5px;
  gap: 0.2rem;
  margin-left: 0;
}

#site-header-cart .cart-contents {
  width: 1rem;
  float: right;
}
#site-header-cart .cart-contents span {
  display: none;
}

.col-full:after {
  content: " ";
  clear: none;
}

.site-header-cart .cart-contents::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: inherit;
  vertical-align: baseline;
  content: "";
  height: 1em;
  float: right;
  line-height: 1;
  font-size: 1.3rem;
}

.storefront-primary-navigation {
  padding: 0.4rem 0;
  margin: 0;
}

@media (min-width: 768px) {
  .woocommerce-active .site-header .main-navigation {
    max-height: 4rem;
  }

  .main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
    /* padding: 1.618em 1em; */
    padding: 0 1rem;
  }
}
.ubermenu-target {
  position: relative;
}
.ubermenu-target :after {
  background: none repeat scroll 0 0 transparent;
  bottom: -3px;
  content: "";
  display: block;
  height: 1px;
  left: 0 !important;
  position: absolute;
  background: #000000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.ubermenu-target i:after {
  display: none;
}
.ubermenu-target :hover:after {
  width: 100%;
  left: 0;
}

.ubermenu-target span {
  position: relative;
}
.ubermenu-target span :after {
  background: none repeat scroll 0 0 transparent;
  bottom: -3px;
  content: "";
  display: block;
  height: 1px;
  left: 0 !important;
  position: absolute;
  background: #000000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.ubermenu-target span :hover:after {
  width: 100%;
  left: 0;
}

.dgwt-wcas-suggestions-wrapp {
  /* display: none; */
}

.dgwt-wcas-sp {
  /* line-height: 120%; */
  line-height: 100% !important;
  max-height: fit-content !important;
}

@media (min-width: 961px) {
  .xoo-wsc-basket {
    visibility: hidden;
  }
}
@media (max-width: 768px) {
  .woocommerce-active .site-branding {
    /* float: left; */
    float: none;
    position: relative;
    left: 38%;
  }
  .woocommerce-active .site-branding img {
    transform: translate(0, 1px);
  }

  .ubermenu-responsive-toggle {
    /* top: 14px; */
    /* right: 12px; */
    top: 10px;
    left: 0px;
  }

  .ubermenu-responsive-toggle .fa-bars {
    /* font-size: 1rem; */
    font-size: 1.4rem;
  }

  .xoo-wsc-basket {
    top: 10px;
    right: -15px;
    background-color: transparent;
    box-shadow: none;
    animation: appear 1s ease-in-out;
  }

  .fancybox-active .xoo-wsc-basket {
    position: relative;
  }

  span.xoo-wsc-items-count {
    width: 17px;
    height: 17px;
    line-height: 17px;
    top: 0;
    left: -7px;
  }

  .xoo-wsc-basket {
    display: block !important;
  }
}
#metaslider-id-3442 {
  margin-top: -3rem;
}

.home .tapahtumat, .home .uutiset-feed {
  margin-left: 0;
  margin-right: 0;
}

li.slide-3443 {
  display: block;
  width: 100%;
  float: left;
  margin-right: -100%;
  position: relative;
  opacity: 1;
  z-index: 2;
  overflow: hidden;
}

.flex-active-slide {
  animation: slideappear 0.5s ease-in-out;
}

.slider-3442 {
  min-width: 100%;
}

#metaslider_container_3442 {
  overflow: hidden;
  min-width: 100%;
}

#metaslider-id-3442 {
  width: 100%;
  min-width: 100% !important;
}

.front-items-nav .is-layout-flex {
  flex-wrap: wrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.front-items-nav .is-layout-fle::-webkit-scrollbar {
  display: none;
  /* Hides the scrollbar */
}
.front-items-nav .is-layout-flex::after {
  content: "";
  width: 4rem;
  height: 4rem;
  position: absolute;
  background: black;
  right: 0px;
  top: 0;
  background: white;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, white 95%);
}
.front-items-nav .wp-block-button {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.front-items-nav .wp-block-button a {
  font-family: "futura-pt", sans-serif;
  border-radius: 2rem !important;
  font-size: 1.3rem;
  color: white !important;
  background-color: #313740 !important;
  font-weight: 400 !important;
}
.front-items-nav .wp-block-button a:hover {
  transition: 1s ease-in-out;
  background-color: #4e4d6c !important;
}

.esittely-block {
  max-width: 99%;
}
.esittely-block .has-huge-font-size {
  font-weight: 500 !important;
  font-size: 3rem !important;
}
.esittely-block div.wp-block-column:nth-child(1) {
  padding: 3rem !important;
  background: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%);
  flex-basis: 55%;
  margin-right: -2.5% !important;
}
.esittely-block div.wp-block-column:nth-child(2) {
  flex-basis: 50%;
  background: #f3cea4 !important;
  background: radial-gradient(circle, #fbfbfb 28%, #c2c8d9 100%) !important;
}

.kampanjat-slider .pt-cv-thumbnail {
  max-width: 100% !important;
  max-height: 100%;
  box-shadow: none;
}
.kampanjat-slider .pt-cv-href-thumbnail {
  width: 100%;
}
.kampanjat-slider .pt-cv-content-item {
  height: unset;
  background-color: transparent;
  background-image: none;
  border-radius: 0;
}
.kampanjat-slider .pt-cv-href-thumbnail::before {
  display: none;
}
.kampanjat-slider .col-md-12 {
  padding: 0;
}

#metaslider-id-3442 {
  margin-top: -4rem;
}

.pt-cv-carousel-indicators li {
  margin: 2px !important;
}

.kampanjat-slider .carousel-inner {
  max-height: 100%;
}

.home .wp-block-column {
  max-width: 100%;
}

.genres-front {
  gap: 1rem !important;
}
.genres-front .wp-block-column {
  margin-right: 0 !important;
  padding-right: 0 !important;
  max-height: 450px;
  overflow: hidden;
}
.genres-front * {
  text-shadow: #35353378 1px 0 10px !important;
}
.genres-front h2 {
  font-size: 4vw !important;
  margin-bottom: 4rem !important;
}
.genres-front .wp-block-button {
  font-size: 1.3rem !important;
}
.genres-front .wp-block-button:hover {
  transition: 1s ease-in-out;
  background: #fff6;
}
.genres-front .wp-block-buttons {
  position: absolute;
  width: 85%;
  bottom: 20%;
  left: 50%;
  transform: translate(-50%, 0%);
}
.genres-front .wp-block-cover,
.genres-front .wp-block-cover-image {
  min-height: 450px;
}
.genres-front .wp-block-cover {
  border-radius: 0 1rem 0 0;
}

@media only screen and (min-width: 1420px) {
  .genres-front h2 {
    font-size: 4rem !important;
  }
}
@media (max-width: 960px) {
  .front-items-nav {
    width: 109%;
  }

  .genres-front h2 {
    font-size: 4rem !important;
  }

  .genres-front {
    flex-direction: column !important;
  }
}
@media (max-width: 768px) {
  .front-items-nav .wp-block-button a {
    font-family: "futura-pt", sans-serif;
    border-radius: 2rem !important;
    font-size: 1.3rem;
    color: white !important;
    background-color: #313740 !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
  }

  .genres-front h2 {
    font-size: 11vw !important;
  }
  .genres-front .wp-block-buttons {
    position: unset;
    width: 100%;
    transform: none !important;
  }

  .home .car-capt {
    font-size: 2rem;
  }

  #metaslider-id-3442 {
    margin-top: -5rem;
    margin-left: -1.4rem;
  }

  #metaslider_container_3442 {
    width: 100vw;
  }

  .pt-cv-wrapper .carousel-control .glyphicon {
    margin-top: -23px;
  }
}
@media (min-width: 960px) {
  .ubermenu-autocolumn {
    padding-left: 2rem !important;
  }

  ul.ubermenu-submenu:nth-child(2) {
    top: 103px !important;
  }

  #ubermenu-main-4502-after-search-menu-2 {
    margin-top: -2px;
  }

  #ubermenu-nav-main-4502-after-search-menu .ubermenu-target-text {
    font-size: 1rem;
    font-family: "proxima-nova", sans-serif;
    text-transform: uppercase;
    font-weight: 100;
  }

  .ubermenu-submenu-type-stack * span {
    text-transform: none !important;
  }

  .ubermenu-skin-minimal .ubermenu-submenu.ubermenu-submenu-drop {
    background: #fdfdff;
    border: none;
  }

  .ubermenu-submenu-id-3456 {
    font-family: "proxima-nova", sans-serif;
    font-weight: 100;
  }

  .ubermenu-skin-minimal .ubermenu-submenu .ubermenu-item-header.ubermenu-has-submenu-stack > .ubermenu-target > span {
    font-family: "futura-pt", sans-serif !important;
    font-weight: 500;
  }

  .ubermenu-skin-minimal .ubermenu-submenu .ubermenu-item-header.ubermenu-has-submenu-stack > .ubermenu-target {
    border-bottom: 0;
  }

  .ubermenu-submenu.ubermenu-submenu-id-3449, .ubermenu-submenu-id-3447 {
    min-width: unset !important;
    padding-right: 4rem;
  }

  .ubermenu-submenu-id-3423,
.ubermenu-submenu-id-3527,
.ubermenu-submenu-id-3449 {
    height: 100vh !important;
    display: flex !important;
    align-content: center;
    background: linear-gradient(90deg, #fafafa 0%, #fafafa 100%) !important;
    margin-top: -2rem !important;
  }
  .ubermenu-submenu-id-3423 .ubermenu-content-block,
.ubermenu-submenu-id-3527 .ubermenu-content-block,
.ubermenu-submenu-id-3449 .ubermenu-content-block {
    background: #fbfcfd;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .woocommerce-button,
.ubermenu-submenu-id-3527 #menu-item-3523 .woocommerce-button,
.ubermenu-submenu-id-3449 #menu-item-3523 .woocommerce-button {
    width: 100% !important;
    background-color: #313740;
    color: white;
    font-size: 1rem;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .tunnus,
.ubermenu-submenu-id-3527 #menu-item-3523 .tunnus,
.ubermenu-submenu-id-3449 #menu-item-3523 .tunnus {
    max-width: 100%;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .tunnus span,
.ubermenu-submenu-id-3527 #menu-item-3523 .tunnus span,
.ubermenu-submenu-id-3449 #menu-item-3523 .tunnus span {
    font-size: 1rem;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .tunnus > a:nth-child(3),
.ubermenu-submenu-id-3527 #menu-item-3523 .tunnus > a:nth-child(3),
.ubermenu-submenu-id-3449 #menu-item-3523 .tunnus > a:nth-child(3) {
    font-size: 1rem;
    font-weight: 300;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .ubermenu-content-block,
.ubermenu-submenu-id-3527 #menu-item-3523 .ubermenu-content-block,
.ubermenu-submenu-id-3449 #menu-item-3523 .ubermenu-content-block {
    background: transparent !important;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .woocommerce-form,
.ubermenu-submenu-id-3527 #menu-item-3523 .woocommerce-form,
.ubermenu-submenu-id-3449 #menu-item-3523 .woocommerce-form {
    display: flex;
    flex-direction: column;
    max-width: 370px;
  }
  .ubermenu-submenu-id-3423 #menu-item-3523 .woocommerce-form .form-row,
.ubermenu-submenu-id-3527 #menu-item-3523 .woocommerce-form .form-row,
.ubermenu-submenu-id-3449 #menu-item-3523 .woocommerce-form .form-row {
    width: 100% !important;
  }

  #menu-item-3523 {
    margin: 0 auto;
    display: block;
    width: 100%;
    margin-top: 2rem !important;
    margin-bottom: 2px;
  }

  .ubermenu-skin-minimal.ubermenu-horizontal .ubermenu-item-level-0 > .ubermenu-submenu-drop {
    border-top: 0;
  }

  .woocommerce-button.button.woocommerce-form-login__submit {
    margin-top: 1rem;
  }

  .site-header input,
.site-header .input-text {
    padding: 0.6180469716em;
    background-color: white !important;
    color: #2c2d31;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid #313740 !important;
  }

  .dgwt-wcas-suggestions-wrapp {
    background: transparent;
  }

  #menu-item-3525 {
    width: 100%;
  }

  .ubermenu-submenu-id-3527 .ubermenu-content-block {
    background: transparent;
  }

  .site-header input[type=text],
.site-header input[type=number],
.site-header input[type=email],
.site-header input[type=tel],
.site-header input[type=url],
.site-header input[type=password],
.site-header input[type=search],
.site-header textarea,
.site-header .input-text {
    box-shadow: none !important;
  }

  .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: transparent;
    padding: 10px;
    border-radius: 10px;
  }

  .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    padding: 13px 24px 13px 48px;
    line-height: 24px;
    font-size: 17px;
    border: 2px solid transparent;
    border-radius: 0 !important;
    height: auto;
    font-family: Roboto, sans-serif;
    background-color: #fff;
  }

  .tunnus {
    min-width: 370px;
  }
  .tunnus .input-text {
    min-height: 40px;
    font-size: 1rem;
  }

  .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover {
    background-color: #fff;
  }

  .ubermenu-submenu-id-3447 {
    margin-top: -2rem !important;
    height: 100vh !important;
    display: flex;
  }

  .xoo-wsc-sc-count {
    background-color: #000;
    color: #fff;
    display: none !important;
  }

  [class^=xoo-wsc-icon-],
[class*=" xoo-wsc-icon-"] {
    font-family: "Woo-Side-Cart" !important;
    speak: never;
    font-style: normal;
    font-weight: 600;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .xoo-wsc-sc-subt > span:nth-child(1) > bdi:nth-child(1) {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: "futura-pt", sans-serif;
    margin-right: 0.5rem;
  }

  #menu-item-6378 {
    height: 100%;
    max-width: 300px;
    min-width: 300px;
    margin-top: 1rem;
  }
  #menu-item-6378 .ubermenu-custom-content {
    background: white;
    height: 100%;
    display: block;
    position: static;
    padding-top: 0;
    margin-left: 1rem;
  }
  #menu-item-6378 .ubermenu-custom-content .metaslider {
    max-width: 100%;
    margin-bottom: 1rem;
    min-width: 260px;
    max-width: 300px;
    margin-left: 0;
  }
  #menu-item-6378 .ubermenu-custom-content .metaslider .slides img {
    width: 90%;
    display: block;
  }
}
@media (min-width: 960px) {
  #menu-item-6378 .ubermenu-custom-content {
    position: absolute;
  }
}
@media (max-width: 960px) {
  .ubermenu-responsive-toggle {
    max-width: 10px;
    position: fixed;
    top: 10px;
    right: 12px;
  }
  .ubermenu-responsive-toggle .fa-bars {
    font-size: 1rem;
    color: black;
  }
  .ubermenu-responsive-toggle .dgwt-wcas-search-wrapp {
    float: left;
  }

  #masthead {
    max-height: 5rem;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #ffffffeb;
    backdrop-filter: blur(6px);
    box-shadow: 0px 2px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
}
@media (max-width: 960px) {
  .ubermenu-target::after {
    display: none !important;
  }

  .ubermenu-mobile-modal .ubermenu-target {
    font-size: 1rem;
  }
  .ubermenu-mobile-modal .logo-mobimenu {
    max-width: 80px;
  }
  .ubermenu-mobile-modal .ubermenu-submenu {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
  }
  .ubermenu-mobile-modal .ubermenu-item-normal > .ubermenu-target {
    text-transform: none !important;
  }
  .ubermenu-mobile-modal .ubermenu-mobile-close-button {
    position: fixed;
    top: 0;
    left: 42%;
    color: #313740 !important;
    z-index: 9999999;
  }
  .ubermenu-mobile-modal .ubermenu-target {
    border-bottom: none !important;
  }
  .ubermenu-mobile-modal .xoo-wsc-cart-trigger {
    font-size: 1rem;
  }
  .ubermenu-mobile-modal .xoo-wsc-sc-bki {
    font-size: 1rem;
  }
  .ubermenu-mobile-modal .xoo-wsc-icon-bag1:before {
    font-size: 1.3rem;
  }
  .ubermenu-mobile-modal span.xoo-wsc-sc-count {
    border-radius: 50%;
    height: 17px;
    line-height: 16px;
    width: 18px;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    right: -10px;
    position: absolute;
    top: -4px;
  }
  .ubermenu-mobile-modal .lost_password {
    font-size: 1rem;
  }
  .ubermenu-mobile-modal .tunnus > a:nth-child(3) {
    font-size: 1rem;
  }
  .ubermenu-mobile-modal .woocommerce-button {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  .ubermenu-mobile-modal input[type=text],
.ubermenu-mobile-modal input[type=number],
.ubermenu-mobile-modal input[type=email],
.ubermenu-mobile-modal input[type=tel],
.ubermenu-mobile-modal input[type=url],
.ubermenu-mobile-modal input[type=password],
.ubermenu-mobile-modal input[type=search],
.ubermenu-mobile-modal textarea,
.ubermenu-mobile-modal .input-text {
    min-height: 2.4rem;
    font-size: 1rem;
  }
  .ubermenu-mobile-modal .ubermenu-responsive-default.ubermenu-responsive .ubermenu-item.ubermenu-item-level-0 > .ubermenu-target {
    font-weight: 400;
  }
  .ubermenu-mobile-modal #menu-item-6561 {
    margin-bottom: 2rem;
  }
  .ubermenu-mobile-modal .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    padding: 13px 24px 13px 48px;
    line-height: 24px;
    font-size: 17px;
    border: 2px solid transparent;
    border-radius: 10px;
    height: auto;
    background-color: #eee;
  }
  .ubermenu-mobile-modal .ubermenu-target :after {
    display: none;
  }
  .ubermenu-mobile-modal .ubermenu-submenu {
    background: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%) !important;
    margin-top: 0.5rem !important;
  }
  .ubermenu-mobile-modal .ubermenu-item-level-0 a span {
    font-size: 1.3rem;
    font-family: "futura-pt", sans-serif;
  }
  .ubermenu-mobile-modal .tunnus {
    background: white;
  }
  .ubermenu-mobile-modal #menu-item-6378 {
    background: white;
  }
  .ubermenu-mobile-modal #menu-item-6662 > div:nth-child(1) {
    padding: 0;
    margin-top: 1rem;
  }
  .ubermenu-mobile-modal #menu-item-3456 > a:nth-child(1) {
    margin-top: 0.5rem;
  }
  .ubermenu-mobile-modal #menu-item-6369 > a:nth-child(1) {
    margin-top: 0.5rem;
  }
  .ubermenu-mobile-modal li.ubermenu-active > a:first-of-type {
    box-shadow: 0px 9px 14px -3px rgba(0, 0, 0, 0.05) !important;
  }
  .ubermenu-mobile-modal .ubermenu-item-level-0 > .ubermenu-submenu-drop {
    border-top: none !important;
    margin-top: 0 !important;
  }
  .ubermenu-mobile-modal .ubermenu-submenu-id-3447 {
    margin-top: 0 !important;
  }
  .ubermenu-mobile-modal .ubermenu-submenu-id-3449 {
    margin-top: 0 !important;
  }
  .ubermenu-mobile-modal .ubermenu-item-level-1 > a {
    padding-bottom: 0px !important;
    margin-bottom: -0.5rem !important;
  }
}
.pt-cv-view .add_to_cart_inline .button {
  background: transparent;
  border: 2px solid #3d3f6a;
  color: black !important;
  display: none;
  position: absolute;
  bottom: 0;
}

.grid-aanikirjat .out-of-stock-grid {
  display: none !important;
}

.carousel-inner {
  max-height: 470px;
}

.pt-cv-thumbnail {
  width: 100%;
  margin-bottom: 0 !important;
  max-width: 180px !important;
  max-height: 260px;
  margin: auto;
  box-shadow: -10px 6px 15px -3px rgba(0, 0, 0, 0.2);
}

.pt-cv-content-item {
  padding-bottom: 0;
  margin-bottom: 10px;
  z-index: 98;
  height: 510px;
  position: relative;
  background-color: #e4e4e4;
  background-image: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%);
  margin-right: 0.8rem;
  border-radius: 0 1rem 0 0;
}

.pt-cv-scrollable .pt-cv-carousel-caption {
  text-align: center;
  position: absolute;
  top: 300px;
  left: 0;
  background-color: white;
  margin-top: 1rem;
  line-height: 1;
}

.col-md-3 {
  padding-top: 1.5rem;
}

.pt-cv-wrapper .row {
  margin-left: 0px;
  margin-right: 0px;
}

.pt-cv-title a {
  color: black;
}

.pt-cv-meta-fields {
  margin-bottom: 1rem;
  font-weight: 500;
  color: black;
}

.add_to_cart_inline .button {
  background: transparent;
  border: 2px solid #3d3f6a;
  color: black !important;
  display: none;
}

.product.woocommerce.add_to_cart_inline {
  text-align: left;
}

.pt-cv-view .carousel-control span {
  line-height: 31px;
  background: transparent;
  color: #000;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.pt-cv-wrapper .row {
  margin-left: 0px;
  margin-right: 0px;
}

.pt-cv-view .pt-cv-carousel-indicators li.active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background-color: #393939;
  background-image: linear-gradient(to bottom, #2d2d2d, #393939);
}

.pt-cv-wrapper .carousel-control .glyphicon {
  font-size: 1.5rem !important;
  color: #35345b;
}

.pt-cv-carousel-caption {
  background-color: white !important;
}

.pt-cv-view .carousel-control {
  margin-top: -50px;
}

.pt-cv-title {
  font-weight: 200 !important;
  font-size: 1rem;
  text-align: left;
}
.pt-cv-title a {
  font-family: "futura-pt", sans-serif;
}

.pt-cv-meta-fields {
  text-align: left;
}

.pt-cv-view .carousel-control:hover span {
  color: #E1DEDB;
}

.pt-cv-view .add_to_cart_inline .button {
  background: transparent;
  border: 2px solid #3d3f6a;
  color: black !important;
}

.pt-cv-view .product .amount {
  color: #000;
  letter-spacing: -1px;
  font-weight: 700;
  margin-bottom: 0;
  padding-right: 5px;
  font-family: "Work Sans", sans-serif;
}

.pt-cv-href-thumbnail::before {
  content: "";
  height: 20px;
  width: 100%;
  position: absolute;
  background: aqua;
  background-size: auto;
  top: -11px;
  z-index: 99;
  left: 0;
  display: block;
  visibility: visible;
  background: url("https://intokustannus.fi/wp-content/themes/into/book-c-small.png");
  background-size: auto;
  background-size: contain;
  background-repeat: no-repeat;
  scale: 1 0.7;
}

.attachment-woocommerce_thumbnail {
  position: relative;
}

.pt-cv-ifield > *,
.pt-cv-view .pt-cv-content-item > * {
  margin-bottom: 0;
}

.pt-cv-href-thumbnail {
  position: relative;
  width: fit-content;
  display: block;
  height: auto;
  margin: 0 auto;
}

.pt-cv-thumbnail {
  position: relative;
}

.cv-maingrid {
  margin-top: 3rem;
}
.cv-maingrid .pt-cv-content-item {
  padding-bottom: 0;
  margin-bottom: 10px;
  z-index: 98;
  height: 465px;
  position: relative;
  background-color: #e4e4e4;
  background-image: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%);
  margin-right: 0.8rem;
  border-radius: 0 1rem 0 0;
  overflow: visible;
}
.cv-maingrid .pt-cv-woorating.woocommerce {
  position: relative;
  z-index: 10;
}
.cv-maingrid .star-rating::before,
.cv-maingrid .star-rating span::before {
  font-size: 0.7rem !important;
}
.cv-maingrid .add_to_cart_inline {
  position: absolute !important;
  bottom: 0;
  font-size: 1rem;
}
.cv-maingrid .pt-cv-thumbnail {
  height: auto !important;
  margin-top: 2rem !important;
}
.cv-maingrid .pt-cv-meta-fields {
  position: relative;
  z-index: 2;
}
.cv-maingrid h4.pt-cv-title {
  margin-top: 2.6rem !important;
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
}
.cv-maingrid .col-md-3::before {
  display: none;
}
.cv-maingrid .pt-cv-content-item::after {
  content: "";
  bottom: 0;
  position: absolute;
  height: 26%;
  background: white;
  left: 0;
  width: 100%;
  z-index: 1;
}
.cv-maingrid .pt-cv-thumb-wrapper {
  min-height: 300px;
  overflow: visible;
}
.cv-maingrid .add_to_cart_inline {
  position: relative;
  z-index: 2;
}

#pt-cv-view-0b7d4506wu .woocommerce-onsale, #pt-cv-view-3605d1470g .woocommerce-onsale, #pt-cv-view-fdd43c5mrk .woocommerce-onsale {
  position: absolute;
  top: -313px;
  font-size: 0.8rem;
}
#pt-cv-view-0b7d4506wu .pt-cv-href-thumbnail::before, #pt-cv-view-3605d1470g .pt-cv-href-thumbnail::before, #pt-cv-view-fdd43c5mrk .pt-cv-href-thumbnail::before {
  z-index: -1;
}
#pt-cv-view-0b7d4506wu .pt-cv-thumbnail, #pt-cv-view-3605d1470g .pt-cv-thumbnail, #pt-cv-view-fdd43c5mrk .pt-cv-thumbnail {
  z-index: 20;
}
#pt-cv-view-0b7d4506wu .out-of-stock-grid, #pt-cv-view-3605d1470g .out-of-stock-grid, #pt-cv-view-fdd43c5mrk .out-of-stock-grid {
  display: none;
}

.pt-cv-thumbnail {
  scale: 1;
}

.col-md-3::before {
  content: "";
  width: 200%;
  height: 480px;
  position: absolute;
  top: 0;
  display: block;
  background: #eff5fb;
  left: -170px;
  transform: rotate(34deg) translateY(-530px);
  display: none;
}

.col-md-3:hover::before {
  transition: transform 500ms ease-in-out;
  transform: rotate(34deg) translateY(-50px);
}

.car-capt {
  position: relative;
  top: 1.4rem;
  font-size: 2.5rem;
  font-weight: 500;
}
.car-capt a {
  text-decoration: none !important;
  font-weight: 500;
}

.woocommerce-onsale {
  position: absolute;
  top: 8px;
  font-size: 14px;
  color: #fff;
  display: block;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  background: #b1d1c9;
  border: 0 #fff;
  border-radius: 2rem 2rem 0 0;
  outline: #fff none;
  z-index: 100;
  min-width: 70px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  line-height: 2.2;
  max-height: 25px;
}

.pt-cv-thumb-wrapper .pt-cv-thumbnail {
  position: relative;
  z-index: 100;
}

.pt-cv-ctf-sarjan_osa {
  position: absolute;
  background: #ffffffed;
  top: -12px;
  left: 0;
  padding: 1rem 1rem;
  border-radius: 0 0 1rem 0;
  z-index: 1000;
  font-weight: 400;
  pointer-events: none;
}
.pt-cv-ctf-sarjan_osa .pt-cv-ctf-name {
  display: none !important;
}

.tax-kirjasarja .storefront-sorting {
  display: none;
}

.pt-cv-wrapper .pagination > li > a,
.pt-cv-wrapper .pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #040404 !important;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
}

.woocommerce-pagination {
  border: none;
  margin-right: 1rem;
}
.woocommerce-pagination .current {
  min-width: 2.6rem !important;
  background: #313740 !important;
  color: white !important;
}
.woocommerce-pagination ul.page-numbers li .page-numbers {
  border-radius: 50%;
  margin-right: 0.5rem;
  background-color: transparent;
  border: 1px solid #ddd;
  min-width: 2.6rem;
  position: relative;
  padding: 0.5rem;
}
.woocommerce-pagination .next, .woocommerce-pagination .prev {
  border: none !important;
}
.woocommerce-pagination .next:after,
.woocommerce-pagination .prev:after {
  font-size: 1.8rem;
  color: #313740;
}

del span bdi {
  color: #999;
}

.carousel-inner .row {
  display: flex;
}

.ennakkotilattavat-list .pt-cv-content-item::before {
  position: absolute;
  z-index: 100;
  background: white;
  top: -5px;
  border-radius: 1rem;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2rem 1rem;
  text-align: center;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  content: "Ennakkotilaa";
  display: block;
  font-size: 0.8rem;
}

.pt-cv-ctf-ennakkotilattava,
.pt-cv-ctf-ennakkotilattavat {
  position: absolute;
  z-index: 100;
  background: white;
  top: -10px;
  border-radius: 1rem;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2rem 1rem;
  text-align: center;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.pt-cv-ctf-ennakkotilattava .pt-cv-ctf-value,
.pt-cv-ctf-ennakkotilattavat .pt-cv-ctf-value {
  display: none !important;
  padding: 0.2rem;
}
.pt-cv-ctf-ennakkotilattava .pt-cv-ctf-name,
.pt-cv-ctf-ennakkotilattavat .pt-cv-ctf-name {
  margin: 0;
  font-weight: 500;
  font-size: 0.8rem;
}

.out-of-stock-grid {
  position: absolute;
  padding: 0.2rem 1rem;
  background: white;
  z-index: 101;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2rem 1rem;
  padding: 0.2rem 1rem;
  top: 0;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  font-weight: 500;
  font-size: 0.8rem;
}

.kampanjat-slider .pt-cv-heading-container {
  display: none !important;
}

.pt-cv-no-post {
  background: white;
}

.scroller-front .out-of-stock-grid {
  display: none !important;
}

@media (min-width: 992px) {
  .pt-cv-wrapper .col-md-3 {
    width: 24%;
  }

  .home .pt-cv-wrapper .col-md-3 {
    width: 24.4%;
  }
}
@media (max-width: 768px) {
  #pt-cv-view-0b7d4506wu .woocommerce-onsale, #pt-cv-view-3605d1470g .woocommerce-onsale, #pt-cv-view-fdd43c5mrk .woocommerce-onsale {
    position: absolute;
    top: -211px;
    font-size: 0.7rem;
  }

  .single-kampanja .wp-post-image {
    width: 100vw;
    max-width: 100vw;
    margin-left: -1.4rem !important;
  }

  .authorheadingcontainer.lukunaytecont i {
    float: right;
    margin-right: -6px;
    margin-top: 4px;
  }

  .pt-cv-meta-fields {
    text-align: left;
    display: inline-block !important;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .pt-cv-scrollable .pt-cv-title {
    margin-bottom: 5px;
  }

  .cv-maingrid .pt-cv-thumbnail {
    max-height: 190px;
  }

  .pt-cv-wrapper .col-xs-6,
.scroller-front .col-xs-4 {
    width: 45% !important;
    padding-top: 1.5rem;
  }

  .pt-cv-ctf-ennakkotilattava .pt-cv-ctf-name,
.pt-cv-ctf-ennakkotilattavat .pt-cv-ctf-name {
    font-size: 0.6rem;
  }

  .out-of-stock-grid {
    font-size: 0.6rem;
  }

  .pt-cv-thumbnail {
    /* max-width: 180px !important; */
    max-width: 108px !important;
  }

  .cv-maingrid .pt-cv-content-item {
    height: 360px;
  }

  .cv-maingrid h4.pt-cv-title,
.pt-cv-carousel-caption h4 {
    margin-top: 1.6rem !important;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .pt-cv-carousel-caption h4 {
    margin-top: 0 !important;
  }

  .cv-maingrid .pt-cv-thumb-wrapper {
    /* min-height: 300px; */
    min-height: 193px;
  }

  .cv-maingrid .pt-cv-content-item::after {
    /* height: 26%; */
    height: 35%;
  }

  .pt-cv-href-thumbnail::before {
    top: -8px;
  }

  .carousel-control {
    margin-top: -42px !important;
  }

  .scroller-front .col-xs-4 {
    width: 46.1% !important;
  }
  .scroller-front .pt-cv-carousel-caption {
    top: 200px !important;
  }
  .scroller-front .carousel-inner {
    max-height: 340px;
  }
}
.single-product ul.products,
.wc-block-grid__products {
  margin-top: 2rem;
}

.woocommerce-LoopProduct-link::after {
  content: "";
  bottom: 0;
  position: absolute;
  height: 30%;
  background: white;
  left: 0;
  width: 100%;
  z-index: 1;
}

li.product,
ul.products * {
  border: 0 !important;
}

li.product {
  position: relative;
  flex-basis: 23.3% !important;
  min-height: 500px;
  margin-right: 2% !important;
  margin-bottom: 3rem !important;
}
li.product del {
  position: relative;
  z-index: 100;
}
li.product .custom-image-wrapper::before {
  content: "";
  position: absolute;
  top: 38px;
  background: black;
  height: 20px;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 58%;
  background: url("https://intokustannus.fi/wp-content/themes/into/book-c-small.png");
  background-size: 100%;
  scale: 1 0.8;
  display: block;
  background-repeat: no-repeat;
}
li.product .attachment-woocommerce_thumbnail.size-woocommerce_thumbnail::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 100%;
  height: 20px;
}
li.product span.outofstock,
li.product span.preorder {
  position: absolute;
  z-index: 101;
  background: white;
  top: 0;
  border-radius: 1rem;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2rem 1rem;
  text-align: center;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
li.product span.price {
  text-align: left;
  font-size: 1.1rem;
}
li.product .button {
  width: calc(100% - 0.8rem);
  float: left;
}
li.product .kirjailija-terms {
  z-index: 2;
  position: relative;
  color: rgba(51, 51, 51, 0.6);
  text-align: left;
  width: 100%;
  display: block;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
li.product .amount {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #000;
  letter-spacing: -1px;
  font-weight: 700;
}
li.product img {
  margin: auto;
  margin-top: auto;
  margin-bottom: auto;
  box-shadow: -10px 6px 15px -3px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 58% !important;
  object-fit: cover;
}
li.product h2 {
  margin-top: 4rem !important;
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
  text-align: left;
  font-size: 18px !important;
}
li.product img {
  margin: auto;
  margin-top: auto;
  margin-bottom: auto;
  box-shadow: -10px 6px 15px -3px rgba(0, 0, 0, 0.2);
  position: relative;
  object-fit: cover;
  max-height: 270px;
  z-index: 101;
}
li.product .custom-image-wrapper {
  padding-top: 3rem;
  padding-bottom: 1rem;
  margin-top: 0px;
  background-image: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%);
  border-radius: 0 1rem 0 0;
  min-height: 360px;
}
li.product li.product {
  padding-bottom: 0;
  margin-bottom: 0;
  z-index: 98;
  height: 520px;
  position: relative;
  background-color: unset;
  background-image: unset;
  border-radius: 0 1rem 0 0;
  padding-top: 2rem;
}
li.product .onsale {
  position: absolute;
  top: 1.4rem;
  font-size: 14px;
  color: #fff;
  display: block;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  background: #b1d1c9;
  border: 0 #fff;
  border-radius: 2rem 2rem 0 0;
  outline: #fff none;
  z-index: 100;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  z-index: 100;
  min-width: 80px;
  font-weight: 400;
}
li.product .price {
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
}

ul.products,
.wc-block-grid__products {
  margin-left: 0;
  margin-bottom: 0;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: stretch;
}

.woocommerce-LoopProduct-link::after {
  content: "";
  bottom: 0;
  position: absolute;
  height: 30%;
  background: unset;
  left: 0;
  width: 100%;
  z-index: 1;
}

li.product h2 {
  margin-top: 0 !important;
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
  text-align: left;
  font-size: 18px !important;
}

.loop-wrapper {
  background: white;
  bottom: 0 !important;
  position: unset;
  width: 100%;
  max-height: 100px;
  padding-top: 2rem;
}

li.product .button {
  display: none;
}

li.product .star-rating {
  overflow: hidden;
  position: relative;
  height: 1.618em;
  line-height: 1.618;
  font-size: 1em;
  width: 5.55em;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  display: none;
}

@media only screen and (max-width: 1025px) {
  ul.products,
.wc-block-grid__products {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 3% !important;
  }
  ul.products > :first-child,
.wc-block-grid__products > :first-child {
    margin-left: -3% !important;
  }

  li.product {
    flex-basis: 31% !important;
    width: unset !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    flex-shrink: 0;
    flex-grow: 0;
    margin-bottom: 2rem !important;
  }
  li.product .custom-image-wrapper {
    min-height: 340px;
  }
}
@media only screen and (max-width: 1100px) {
  li.product {
    min-height: 500px;
  }
  li.product .custom-image-wrapper {
    min-height: 350px;
  }
  li.product img {
    max-height: 260px;
  }
}
@media only screen and (max-width: 768px) {
  li.product {
    flex-basis: 45% !important;
    min-height: 480px;
    margin-bottom: 2rem !important;
  }
  li.product span.outofstock,
li.product span.preorder {
    font-size: 0.6rem;
  }
  li.product .onsale {
    top: 1.3rem;
  }
}
@media only screen and (max-width: 768px) {
  li.product img {
    /* max-height: 270px; */
    max-height: 190px;
    max-width: 108px !important;
  }

  li.product .custom-image-wrapper {
    /* min-height: 290px; */
    min-height: 260px;
  }

  li.product {
    /* min-height: 480px; */
    min-height: 380px;
  }

  li.product .custom-image-wrapper::before {
    /* width: 58%; */
    width: 108px;
  }

  .loop-wrapper {
    /* padding-top: 2rem; */
    padding-top: 1rem;
  }

  li.product .kirjailija-terms {
    font-size: 13px;
  }
}
@media only screen and (max-width: 500px) {
  ul.products,
.wc-block-grid__products {
    margin-left: 0;
  }

  li.product {
    width: unset !important;
    min-height: 350px;
    margin-bottom: 3rem !important;
    flex-basis: 45.5% !important;
    margin-right: 6% !important;
  }
  li.product .custom-image-wrapper {
    max-height: 220px !important;
    min-height: 220px;
    padding-top: 2rem;
  }
  li.product .custom-image-wrapper::before {
    top: 25px;
    width: 108px;
    display: block;
  }
  li.product .woocommerce-loop-product__title {
    word-break: break-word;
  }
  li.product img {
    max-width: 108px !important;
    max-height: 180px;
  }
  li.product .loop-wrapper {
    padding-top: 1rem;
  }
  li.product .onsale {
    top: 0.5rem;
    width: 16px;
    min-width: 75px;
  }
  li.product .kirjailija-terms {
    font-size: 13px;
  }
  li.product .woocommerce-loop-product__title {
    margin-bottom: 0.3rem;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  li.product .kirjailija-terms {
    max-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  li.product:nth-of-type(2n) {
    margin-right: 0px !important;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1100px) {
  li.product img {
    max-width: 180px !important;
  }

  li.product .custom-image-wrapper::before {
    width: 180px;
  }
}
@media (min-width: 1500px) {
  li.product {
    min-height: 530px !important;
  }
  li.product .custom-image-wrapper {
    min-height: 380px !important;
  }
  li.product img {
    max-height: 280px !important;
    max-width: 180px !important;
  }
  li.product .custom-image-wrapper::before {
    width: 180px;
  }
}
.single-product .wp-post-image {
  height: auto;
  width: auto;
  max-width: 550px !important;
  display: block;
  object-fit: contain;
  box-shadow: -23px 5px 15px -12px rgba(255, 255, 255, 0.1) !important;
  cursor: zoom-in;
}
.single-product .woocommerce-message {
  background-color: #f7f7f763 !important;
  display: none;
}
.single-product .woocommerce-message a {
  color: black;
}
.single-product .pdfemb-viewer {
  width: 628px;
  max-width: 100%;
}
.single-product .cv-maingrid {
  margin-top: 1rem;
}
.single-product .cv-maingrid .pt-cv-content-item {
  margin-bottom: 3rem;
}
.single-product .lastwatched .pt-cv-wrapper {
  margin-top: 2rem;
}
.single-product .wt-crp-heading {
  text-align: center;
}
.single-product .up-sells {
  display: none;
}
.single-product .summary .su-document {
  display: none !important;
}
.single-product .pt-cv-ctf-ennakkotilattava {
  display: none !important;
}
.single-product form.cart {
  display: flex;
}
.single-product bdi {
  position: relative;
}
.single-product .single-product .loading::after {
  display: none !important;
}
.single-product .pswp {
  z-index: 999999;
}
.single-product .star-rating span:before,
.single-product .quantity .plus,
.single-product .quantity .minus,
.single-product p.stars a:hover:after,
.single-product p.stars a:after,
.single-product .star-rating span:before,
.single-product #payment .payment_methods li input[type=radio]:first-child:checked + label:before {
  color: #313740;
}
.single-product button.alt,
.single-product input[type=button].alt,
.single-product input[type=reset].alt,
.single-product input[type=submit].alt,
.single-product .button.alt,
.single-product .widget-area .widget a.button.alt {
  background-color: #313740;
  border-color: #333;
  color: #fff;
}
.single-product .onsale {
  background: #35345b;
  border-color: unset;
  color: white !important;
  display: none;
}
.single-product .entry-title {
  font-family: "miller-display", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.single-product .added_to_cart {
  display: none;
}
.single-product .alaots {
  margin-top: -1rem;
  font-size: 1.6rem;
  font-family: "futura-pt", sans-serif !important;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 0;
}
.single-product .alaots::first-letter {
  text-transform: capitalize;
}
.single-product .summary p {
  font-weight: 400;
  font-size: 1.1rem;
}
.single-product .price *,
.single-product .woocommerce-Price-amount * {
  font-family: "futura-pt", sans-serif;
  font-weight: 600;
}
.single-product .single_add_to_cart_button {
  color: white;
  border: 1px solid #313740;
  font-family: "futura-pt", sans-serif;
  flex-grow: 1;
  background: #313740;
  transition: 300ms ease-in-out;
  box-shadow: 0px 12px 0px -8px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  max-height: 58px;
  min-height: 58px;
  position: relative;
}
.single-product .single_add_to_cart_button::after {
  color: white;
  position: absolute;
  right: 18%;
  top: 30%;
  z-index: 11;
  display: block;
  font-family: "Woo-Side-Cart" !important;
  speak: never;
  font-style: normal;
  font-weight: 800;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  scale: 0;
}
.single-product .single_add_to_cart_button.button.alt.loading::after {
  display: none !important;
}
.single-product .variations_button {
  max-height: 76px;
}
.single-product .single_add_to_cart_button:hover::after {
  scale: 1;
  transition: scale 800ms ease-in-out;
}
.single-product .single_add_to_cart_button:hover {
  font-size: 1.3rem;
}
.single-product div.product form.cart {
  margin-bottom: 0;
  padding: 1em 0;
}

.single-product #toggleButton {
  width: 100%;
  position: relative;
  background: #fbfbfb;
  text-align: center;
  font-size: 1.1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e2e2;
  max-height: 58px;
}
.single-product .more::before {
  content: "";
  height: 50px;
  width: 100%;
  position: absolute;
  top: -51px;
  left: 0;
  background: linear-gradient(180deg, rgba(249, 249, 251, 0) 0%, #fbfbfb 100%);
}

@media (min-width: 768px) {
  .single-product .more {
    display: none;
  }
  .single-product .summary-text-wrapper {
    max-height: 100% !important;
  }
}
BODY .fancybox-container {
  z-index: 999999999999;
}

BODY .fancybox-bg {
  background-color: #000;
}

BODY .fancybox-is-open .fancybox-bg {
  opacity: 0.96;
}

.fancybox-toolbar {
  z-index: 9999999999999;
}

.fancybox-bg {
  background: #1e1e1e;
}

.single-product .summary input.input-text {
  padding: 0.6180469716em;
  background-color: #fff;
  color: #43454b;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
  min-height: 58px;
  border-left: 1px solid #313740 !important;
  border-right: 1px solid #313740 !important;
  display: inline-block;
  width: 30%;
}

.quantity .qty {
  width: 4.235801032em;
  text-align: center;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  margin: 0;
  border: 1px solid #313740;
}

.single-product div.product .variations_button {
  display: flex;
}

.single-product .summary input.input-text {
  padding: 0.6180469716em;
  background-color: #fff;
  color: #43454b;
  border: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: none;
  min-height: 58px;
}

.single-product .plus.button.wp-element-button {
  background: white;
}
.single-product .minus.button.wp-element-button {
  background: white;
  width: 32%;
}
.single-product .quantity {
  background: white;
  width: 32%;
  max-width: 28%;
  min-width: 172px !important;
}
.single-product .woocommerce table.cart td.product-quantity .qty,
.single-product .woocommerce.single .qty {
  padding: 0;
  margin-bottom: 0 !important;
}

.single-product div.product form.cart .quantity {
  border: 1px solid;
}

.single-product input::-webkit-outer-spin-button,
.single-product input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none !important;
  margin: 0 !important;
  /* <-- Apparently some margin are still there even though it's hidden */
}
.single-product input[type=number] {
  -moz-appearance: textfield !important;
  /* Firefox */
}

.product-type-variable .entry-summary p.price {
  display: none;
}

.entry-summary p.price {
  font-size: 2em !important;
  margin-bottom: 1rem !important;
}

.woocommerce-variation-price .woocommerce-Price-amount * {
  font-size: 2rem;
}

#tab-description > p:first-of-type::first-letter {
  font-size: 3.5rem;
  display: block;
  position: relative;
  top: 1rem;
  line-height: 1;
  width: 3rem;
  float: left;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
}

.posted_in {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tagged_as {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tagged_as,
.posted_in {
  max-width: 700px;
}

.tagged_as a,
.posted_in a {
  padding: 0 0.5rem 0 0;
  border-radius: 0.5rem;
  color: #333;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  font-family: "futura-pt", sans-serif;
}

.tagged_as a,
.posted_in a {
  position: relative;
}
.tagged_as a :hover::after,
.posted_in a :hover::after {
  width: 100%;
  left: 0;
}

.tagged_as a::after,
.posted_in a::after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0px;
  content: "";
  display: block;
  height: 1px;
  left: 0 !important;
  position: absolute;
  background: #000000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.tagged_as a:hover::after,
.posted_in a:hover::after {
  width: calc(100% - 0.5rem);
  left: 0;
}

.product_meta {
  display: none;
}

.authors-side {
  width: 100%;
}
.authors-side .authimage_wrapper figure::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5%;
  width: 100%;
  background: linear-gradient(90deg, #fafafa 0%, #fafafa 100%);
  height: 90%;
  z-index: 1;
  border-radius: 100%;
  display: none;
}
.authors-side .authimage_wrapper {
  position: relative;
  margin-top: 1rem;
}
.authors-side img {
  margin: 0;
  position: relative;
  z-index: 100;
}
.authors-side .kirj-link {
  color: black;
  text-align: center;
  width: 100%;
  display: block;
  font-size: 1.6rem;
  font-family: "Work Sans", sans-serif !important;
  font-weight: 400;
  margin-bottom: -0.4rem;
}
.authors-side .kirj-link2 {
  margin-top: 1rem;
  display: block;
  text-align: right;
  font-weight: 600;
}
.authors-side .author-details {
  overflow: hidden;
  transition: max-height 600ms ease-in-out;
}
.authors-side .author-details > p {
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0;
}
.authors-side .product-author-list {
  list-style: none;
  margin: 0;
}
.authors-side .product-author-list .author_image_small {
  margin: 0 auto !important;
  object-fit: cover;
  min-height: 200px;
  max-height: 800px;
  border-radius: 0.2rem;
  opacity: 1;
}
.authors-side .product-author-list .author_image_small.entered {
  opacity: 1;
}
.authors-side .product-author-list li {
  padding: 2rem;
  border-left: 1px solid transparent;
  border-bottom: 8px solid #fbfbfc;
  border-right: 1px solid transparent;
  box-shadow: 0px 12px 0px -8px rgba(0, 0, 0, 0.1);
  background-color: white;
  position: relative;
}

.authors {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

.authorheadingcontainer:hover,
.authorheadingcontainer.active {
  background: #313740;
}

.authorheadingcontainer:hover h3,
.authorheadingcontainer.active h3,
.authorheadingcontainer:hover a,
.authorheadingcontainer.active a {
  color: white;
}

.authorheadingcontainer {
  position: relative;
  border: 1px solid #fafafa;
  padding: 1rem;
  display: block;
  float: left;
  width: 100%;
  background: #313740;
  z-index: 2;
  transition: 200ms ease-in-out;
}

.authorheadingcontainer * {
  color: white;
}

.authorheadingcontainer.scbtn {
  border-top: 0;
  border-bottom: 0;
}

/* Lukunäyte */
.authorheadingcontainer.lukunaytecont i {
  float: right;
}

.authorheadingcontainer.lukunaytecont h3 {
  float: left;
  display: block;
  width: 95%;
}

.authorheadingcontainer.lukunaytecont {
  margin-bottom: -1px;
}

.read-more {
  color: #313740;
  float: right;
  font-size: 0.9rem;
  margin: auto 0;
  display: block;
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-weight: 300;
  width: 96%;
  height: 70%;
  text-align: right;
}
.read-more i {
  margin-left: 0.4rem;
}

.katso-sarja {
  color: #333 !important;
  text-align: right;
  width: 100%;
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  position: absolute;
  top: 0.8rem;
  font-family: "Work Sans", sans-serif;
}

.katso-sarja-m {
  display: none;
}

.button-variable-item-e-kirja-digitaalinen span::before {
  content: "";
  font-family: "Font Awesome 5 Free";
  padding-right: 0.5rem;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-weight: 900;
}

.button-variable-item-aanikirja span::before {
  content: "";
  font-family: "Font Awesome 5 Free";
  padding-right: 0.5rem;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-weight: 900;
}

.button-variable-item-e-kirja-digitaalinen {
  order: 2;
}

.button-variable-item-aanikirja {
  order: 3;
}

.button-variable-item-painettu-kirja {
  order: 1;
}

.button-variable-item-painettu-kirja span::before,
.button-variable-item-pokkari span::before, .button-variable-item-pehmeakantinen-kirja span::before {
  content: "";
  font-family: "Font Awesome 5 Free";
  padding-right: 0.5rem;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-weight: 900;
}

.variable-item::marker {
  color: transparent;
}

.variable-item {
  list-style: none !important;
}

.variable-item-contents {
  max-width: 200px;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0px 12px 0px -8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}
.variable-item-contents .variable-item-span {
  color: #313740;
  font-family: "futura-pt", sans-serif;
}

.selected .variable-item-contents {
  background-color: #313740;
  user-select: none;
}
.selected .variable-item-contents .variable-item-span {
  color: white;
}

.variable-items-wrapper {
  display: flex;
  gap: 1rem;
  margin-left: 0;
  flex-wrap: wrap;
}

a.reset_variations {
  display: none !important;
}

.button-variable-item-e-book div span::before {
  content: "";
  padding-right: 0.4rem;
  font-family: "Font Awesome 5 Free";
}

.button-variable-item-audio-book div span::before {
  content: "";
  padding-right: 0.4rem;
  font-family: "Font Awesome 5 Free";
}

.woocommerce-variation-description p {
  background: white;
  padding: 1rem;
  border: 1px dashed #3d3132;
  animation: alertbox 0.6s ease-in-out;
}

.woocommerce-variation-description a {
  text-decoration: underline;
}

.variable-item-contents:hover {
  scale: 1.1;
  transition: scale 200ms ease-in-out;
}

.variable-item::marker {
  color: #e1ebe2;
}

.variations .label {
  display: none !important;
}

.kirjailija-names {
  font-family: "Work Sans", sans-serif !important;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.book_shadow {
  position: absolute;
  height: 80.7vh;
  top: 0;
  z-index: 1;
  height: 100%;
  left: 0;
  opacity: 0.03 !important;
  border-radius: 0;
  z-index: 0;
  width: 100%;
  filter: none;
  mix-blend-mode: color;
}

@supports (mix-blend-mode: color) {
  .book_shadow {
    position: absolute;
    height: 80.7vh;
    top: 0;
    z-index: 10;
    height: 100%;
    left: 0;
    opacity: 0.15 !important;
    border-radius: 0;
    z-index: 0;
    width: 210%;
    filter: none;
    mix-blend-mode: color;
    pointer-events: none;
  }

  .book_shadow_c {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
  }

  .single-summary-wrap-inner {
    position: relative;
    z-index: 20;
  }

  .pehmeakantinen .book_shadow {
    opacity: 0.15 !important;
  }
}
.woocommerce-product-gallery__wrapper {
  z-index: 100;
  position: relative;
  transform: scaleX(1.1);
}

.single-product .wp-post-image {
  position: relative;
  z-index: 100;
  max-width: unset;
}

.woocommerce-product-gallery__image {
  position: relative;
}

@media (min-width: 768px) {
  .storefront-full-width-content.single-product div.product .summary {
    position: relative;
    width: 100%;
  }

  .summary::before {
    width: 100%;
    height: 100%;
    position: absolute;
    left: -100%;
    top: 0;
    display: block;
    background: linear-gradient(90deg, #fff 90%, #f9fbfd 100%);
  }
}
.storefront-breadcrumb {
  padding: 0;
  margin: 0 0 1rem;
  font-family: "proxima-nova", sans-serif;
  font-weight: 100;
  font-size: 1.2rem;
}

.woocommerce-breadcrumb a {
  text-decoration: none;
}

.woocommerce-breadcrumb a:first-of-type:before {
  display: none;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
  background-color: #ebf2f9;
}

.woocommerce-noreviews {
  color: #313740 !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-noreviews::before,
p.no-comments::before {
  /* content: ""; */
  content: "";
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  /* color: #fff; */
  color: #000;
}

.mediareviews {
  display: block;
  max-width: 100%;
  float: left;
  padding: 1rem 0;
}
.mediareviews a * {
  text-decoration: underline;
}
.mediareviews div {
  margin-bottom: 1rem;
}
.mediareviews p:last-child {
  margin-bottom: 0;
}
.mediareviews * {
  font-family: "Work Sans", sans-serif !important;
  color: black !important;
}
.mediareviews a {
  color: #313740;
  text-decoration: underline;
}

#reviews {
  outline: none;
  background: transparent;
  padding: 1rem;
}

.frbtn,
.thbtn {
  margin-top: -1px;
}

.tabswrapper,
.tabswrapper2 {
  overflow: hidden;
  transition: max-height 1s ease-in-out;
  float: none !important;
  background: white;
  position: relative;
  padding: 0 1rem;
  border-left: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-right: 1px solid transparent;
  margin-top: 0 !important;
  margin-top: -1px !important;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.tabswrapper2 {
  padding: 0 !important;
}

@media (min-width: 768px) {
  .storefront-full-width-content .woocommerce-tabs ul.tabs {
    width: 30.435%;
    margin-right: 4.348%;
  }
}
#reviews {
  outline: none;
  background: transparent !important;
  padding: 1rem;
  max-width: 820px;
}

.reviews_tab,
.mediareviews_tab_tab {
  border-bottom: 0;
}
.reviews_tab a,
.mediareviews_tab_tab a {
  font-family: "futura-pt", sans-serif;
  font-size: 1.2rem;
}

.woocommerce-tabs ul.tabs li {
  border-bottom: 0;
}

.woocommerce-tabs ul.tabs {
  border-top: 0;
}

.woocommerce-tabs ul.tabs li.active a {
  color: #313740;
}

.woocommerce-tabs ul.tabs li.active a:after {
  content: "";
  background: #313740;
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: 14px;
  left: 0;
}

.storefront-full-width-content .woocommerce-tabs ul.tabs {
  width: 100%;
  margin-right: 4.348%;
  display: flex;
  gap: 2rem;
}

#reviews {
  outline: none;
  background: #f9fbfd;
  padding: 1rem;
  max-width: 100%;
}

.storefront-full-width-content .woocommerce-tabs .panel {
  width: 100%;
  float: right;
  margin-right: 0;
  margin-bottom: 3.706325903em;
}

.woocommerce-tabs ul.tabs li.active:after {
  display: none;
}

@media (min-width: 768px) {
  .single-product div.product .woocommerce-tabs {
    float: right;
    max-width: 700px;
    margin-right: 4.5rem;
    margin-top: 2rem;
  }
}
.woocommerce-tabs {
  max-width: 700px;
  padding-top: 0;
}

.storefront-sticky-add-to-cart {
  color: #313740;
  background-color: #f9fbfdfa;
  backdrop-filter: blur(10px);
  max-height: 70px;
  padding: 0.6rem;
  border: 0;
  box-shadow: none;
}
.storefront-sticky-add-to-cart img {
  display: none;
}

div.pswp__caption {
  display: none;
}

.coverdownload {
  margin-bottom: 2rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

.productdetails {
  margin-right: 4rem;
  margin-right: 0;
  min-width: unset;
}

.additional-details {
  max-width: 700px;
  margin-top: 0 !important;
}
.additional-details td span {
  font-family: "Work Sans", sans-serif;
  font-size: 0.8rem;
}
.additional-details table td,
.additional-details table th {
  padding: 0.4em 1.41575em;
}
.additional-details p {
  font-family: "futura-pt", sans-serif;
  font-size: 1.1rem;
  text-wrap: nowrap;
}
.additional-details table {
  border-collapse: collapse;
}
.additional-details table:not(.has-background) tbody td {
  background-color: transparent;
}
.additional-details table:not(.has-background) tbody tr:nth-child(2n) td,
.additional-details fieldset,
.additional-details fieldset legend {
  background-color: transparent;
}

.stock {
  color: #313740;
}

.stock.out-of-stock:before {
  content: "";
  display: none;
}

.single-product div.product {
  overflow: clip !important;
}

.site {
  overflow-x: clip !important;
}

.woocommerce-product-gallery {
  opacity: 1;
  transition: opacity 0.25s ease-in-out 0s;
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 14vh !important;
  width: 100% !important;
  float: none;
  margin-right: 0;
  margin-bottom: 0 !important;
}

.woocommerce-product-gallery.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  /* Adjust the time as needed */
}

.related {
  clear: both;
  background: white;
  position: relative;
}
.related div.columns-4, .related .pt-cv-wrapper {
  width: 100%;
}

.categorylist,
.taglist,
.additional-details {
  margin-top: 1rem;
  float: left;
  width: 100%;
}

.categorylist {
  padding-top: 1rem;
  float: left;
  display: block;
  width: 100%;
  margin-top: 0 !important;
}

.single-summary-wrap {
  float: right;
  max-width: 54%;
  margin-right: 0;
  background: #f7f7f763;
  padding: 3.5rem;
  border-radius: 0 1rem 1rem 0;
  position: relative;
}
.single-summary-wrap embed,
.single-summary-wrap iframe,
.single-summary-wrap object,
.single-summary-wrap video {
  max-height: 300px;
}
.single-summary-wrap .pt-cv-wrapper {
  display: none;
}

.single-summary-wrap::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 100%;
  left: -90%;
  top: 0;
  z-index: -1;
  background: linear-gradient(0deg, #f4f4f7 0%, #f7f7f7 100%);
  display: none;
}

.prodimagewrapper {
  float: left;
  padding-top: 4rem;
  margin-left: 0;
  overflow-y: visible;
  position: relative;
  margin-top: 0;
  padding-left: 5.5rem;
  padding-bottom: 4rem;
  width: 48%;
  background: linear-gradient(0deg, #f4f4f7 0%, #f7f7f7 100%);
}

.additional-details-wrap {
  float: none;
  background: white;
  position: relative;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  max-width: 100%;
}

.woocommerce-tabs:nth-of-type(2) {
  display: none !important;
}

@media (min-width: 960px) {
  .authors-side .product-author-list li {
    /* padding: 1rem; */
    padding: 2rem;
  }

  .additional-details-wrap > div {
    padding: 2rem !important;
  }

  #reviews {
    /* padding: 1rem; */
    padding: 2rem;
  }

  .mediareviews {
    padding: 2rem 1rem;
  }
}
.productwrapper {
  display: flex;
  align-content: center;
  justify-content: space-between;
  overflow-y: visible;
  position: relative;
  margin-top: 2rem;
}

.related {
  clear: both;
  background: white;
  position: relative;
  margin-top: 8rem;
}

.related > h2:first-child,
.upsells > h2:first-child {
  font-size: 2.5em;
}

.sameauthor {
  margin-top: 8rem;
  position: relative;
}
.sameauthor h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 3rem;
}

.star-rating span::before {
  color: #f2c12f;
}

.categorylist {
  border-bottom: 1px solid #313740;
  padding-bottom: 1rem;
}

.tagged_as {
  margin-bottom: 2rem;
  margin-bottom: 1rem;
}

.taglist {
  border-bottom: 1px solid #313740;
  padding-bottom: 0rem;
}

.additional-details-wrap > div:nth-child(1) > h3:nth-child(3) {
  padding-top: 1rem !important;
}

.woocommerce-product-gallery__image::after, .woocommerce-product-gallery__image--placeholder::after {
  height: 108%;
  width: 11%;
  position: absolute;
  left: 68.5%;
  content: "";
  background: black;
  top: -5%;
  background: url("https://intokustannus.fi/wp-content/themes/into/selka1.png");
  background-size: 100% 100%;
  filter: brightness(1.1) drop-shadow(5px 5px 5px #eee);
}

.pehmeakantinen .woocommerce-product-gallery__image::after, .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
  height: 116.7%;
  width: 13%;
  position: absolute;
  left: 68.3%;
  content: "";
  background: black;
  top: -9.6%;
  background: url("https://intokustannus.fi/wp-content/themes/into/selka-pehmea.png");
  background-size: 100% 100%;
  opacity: 0.85;
  filter: brightness(1.099) drop-shadow(1px 1px 10px #ebebeb) !important;
}

.pehmeakantinen .wp-post-image {
  border-right: 1px solid #d7d7d7;
  border-radius: 0 !important;
}

.pehmeakantinen .prodimagewrapper {
  background: linear-gradient(90deg, #f8f8f8 0%, #f8f7f7 100%);
}

.aanikirja .woocommerce-product-gallery__image::after {
  display: none !important;
}

.aanikirja .wp-post-image {
  transform: none !important;
  max-width: 450px !important;
  width: 100% !important;
}

.aanikirja .woocommerce-product-gallery__wrapper {
  transform: scaleX(1);
}

.aanikirja p.price {
  display: block !important;
}

.aanikirja .backorder-message {
  display: none !important;
}

.aanikirja .prodimagewrapper {
  padding-left: 0;
  width: 100% !important;
}

.aanikirja .woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product .wp-post-image {
  height: auto;
  width: 74.5%;
  display: block;
  object-fit: contain;
  box-shadow: -23px 0px 15px -11px rgba(0, 0, 0, 0.1);
  /*! transform: skew(0deg,-3deg); */
  perspective: -50px;
  transform-style: preserve-3d;
  transform: rotateX(-1deg);
  transform: perspective(280px) rotatey(-6deg) scaleX(0.8);
}

.backorder-message {
  margin-bottom: 1rem;
  display: block;
  background: white;
  clear: both;
  padding: 1rem;
  position: relative;
  top: -2rem;
  border: 1px dashed #313740;
}

.stock.out-of-stock {
  color: #363636;
}

.avainsanat {
  margin-bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.yleisavainana {
  background: #313740;
  padding: 0.1rem 0.7rem;
  border-radius: 1rem;
  scale: 1;
}
.yleisavainana a {
  color: white;
  font-size: 1rem;
}

.yleisavainana:hover {
  scale: 1.05;
  transition: 700ms ease-in-out;
}

form.cart .plus, form.cart .minus {
  border: 1px solid #313740;
  background: none;
}
form.cart .plus {
  margin-right: 1rem;
}
form.cart .plus:hover, form.cart .minus:hover {
  background: none;
  border: 1px solid #313740;
  font-weight: 800;
}

.single-product .quantity {
  display: block !important;
  max-width: 70px !important;
}

.single-product .quantity {
  width: 30%;
  max-width: 30%;
  min-width: 10px !important;
  padding-right: 0;
  border: none !important;
}

.single-product form.cart {
  align-content: flex-start;
}

.single-product .single_add_to_cart_button {
  min-width: 70%;
}

.single-product .summary input.input-text {
  border-left: none !important;
  border-right: none !important;
  width: 100%;
  border-top: 1px solid #313740 !important;
  border-bottom: 1px solid #313740 !important;
}

.single-product div.product form.cart .quantity {
  float: none;
  margin-right: 0;
}

@media (max-width: 1325px) {
  form.cart .plus, form.cart .minus, form.cart .quantity {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  .single-summary-wrap {
    float: right;
    max-width: 53%;
    margin-right: 0;
    background: linear-gradient(90deg, #FBFBFB 0%, #FBFBFB 100%);
    padding: 2rem;
  }
}
@media (max-width: 960px) {
  .katso-sarja-m {
    color: #333 !important;
    text-align: right;
    width: 100%;
    display: block !important;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    font-family: "Work Sans", sans-serif;
  }

  .sameauthor, .related {
    margin-top: 4rem;
  }

  .summary p {
    font-size: 1rem;
  }

  .wt-crp-heading {
    text-align: left !important;
  }

  .aanikirja .woocommerce-product-gallery__image {
    max-width: 90vw;
  }

  .katso-sarja {
    display: none;
  }

  .single-product .single_add_to_cart_button::after {
    scale: 1;
  }

  .wp-post-image {
    border: none;
  }

  .book_shadow_c {
    display: none;
  }

  .productwrapper {
    flex-direction: column;
  }

  .single-summary-wrap::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -100%;
    z-index: -1;
  }

  .single-product .alaots {
    font-size: 1.3rem;
    margin-top: -1.5rem;
  }

  .single-summary-wrap {
    position: relative;
    z-index: 0 !important;
  }

  .product-tabs-container {
    height: auto;
    margin-left: -2rem;
    width: 100vw;
  }

  .single-summary-wrap {
    padding-bottom: 0 !important;
  }

  .single-summary-wrap {
    margin-left: -1.4rem;
    position: relative;
    z-index: 200;
    width: 113%;
    max-width: 120%;
    border-radius: 0;
  }

  .authorheadingcontainer {
    background: #313740;
    padding: 1.2rem;
    min-height: 65px;
  }
  .authorheadingcontainer * {
    color: white;
  }

  .single-product div.product {
    overflow: visible !important;
  }

  .single-summary-wrap {
    float: none;
    max-width: 100%;
    margin-right: 0;
    padding: 4rem 2rem;
    margin-top: 0;
    max-width: unset;
  }

  .single-summary-wrap {
    padding: 2rem 2rem;
    box-shadow: none;
  }

  .authors-side .kirj-link2 {
    font-size: 1rem;
  }

  .mediareviews {
    font-size: 0.9rem;
  }

  .variable-item-contents {
    font-size: 0.9rem;
  }

  .sameauthor h2 {
    font-size: 2em;
    text-align: left;
    margin-bottom: 3rem;
  }

  .related > h2:first-child,
.upsells > h2:first-child {
    font-size: 2em;
  }

  .single-product .entry-title {
    font-size: 2rem;
  }

  .authors-side .author-details > p {
    font-size: 0.9rem;
  }

  .kirjailija-names {
    font-size: 1.1rem;
  }

  .single-product .summary p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .single-product .quantity {
    max-width: 20%;
    display: none !important;
  }

  .authors {
    font-size: 1rem;
  }

  .read-more {
    font-size: 0.9rem;
    top: 1.2rem;
  }

  .single-product .entry-title {
    font-family: "miller-display", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 1.8rem;
  }

  .single-product .wp-post-image {
    height: auto;
    width: 60%;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-shadow: none;
  }

  .woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder {
    max-width: 80vw;
    margin-left: 6%;
  }

  .book_shadow {
    display: none;
  }

  div.quantity {
    display: none;
  }

  .authors-side .product-author-list li {
    padding: 1rem;
    border-left: 1px solid transparent;
    border-bottom: 1px solid #313740;
    border-right: 1px solid transparent;
    box-shadow: 0px 12px 0px -8px rgba(0, 0, 0, 0.1);
    background-color: white;
    position: relative;
    min-width: 100%;
  }

  .woocommerce-product-gallery__image::after {
    height: 106% !important;
    width: 13% !important;
    position: absolute;
    left: 85.5% !important;
    content: "";
    background: black;
    top: -4% !important;
    background: url("https://intokustannus.fi/wp-content/themes/into/selka1.png");
    background-size: 100% 100%;
  }

  .woocommerce-product-gallery__image--placeholder::after {
    display: none !important;
  }

  .pehmeakantinen .woocommerce-product-gallery__image::after {
    height: 114.2% !important;
    width: 15% !important;
    position: absolute;
    left: 85% !important;
    content: "";
    background: black;
    top: -8.4% !important;
    background: url("https://intokustannus.fi/wp-content/themes/into/selka-pehmea.png");
    background-size: 100% 100%;
    opacity: 0.9;
    filter: brightness(1.099) drop-shadow(1px 1px 10px #eaeaea) !important;
  }

  .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
    display: none !important;
  }

  .additional-details p {
    font-size: 1rem !important;
  }

  .single-product .wp-post-image {
    height: auto;
    width: 86% !important;
    /*! max-width: 400px !important; */
    display: block;
    object-fit: contain;
    box-shadow: -23px 0px 15px -11px rgba(0, 0, 0, 0.1);
    /*! transform: skew(0deg,-3deg); */
    perspective: -50px;
    transform-style: preserve-3d;
    transform: rotateX(-1deg);
    transform: perspective(280px) rotatey(-6deg) scaleX(0.8);
    max-width: unset !important;
  }

  .prodimagewrapper {
    float: left;
    padding-top: 1.5rem;
    margin-top: 0;
    z-index: 1;
    padding-left: 0;
    float: none;
    padding-top: 0;
    margin-left: -1.4rem !important;
    margin: 0 auto;
    padding-top: 3rem;
    margin-top: -4rem;
    width: 100vw;
    position: relative;
  }

  .book_shadow {
    position: absolute;
    height: 80.7vh;
    top: 0px;
    z-index: 1;
    /*! border-radius: 50%; */
    height: 110%;
    left: 0;
    opacity: 0.25 !important;
    border-radius: 0;
    z-index: -1;
    width: 100%;
    filter: none;
    display: block;
  }

  .single-product .single_add_to_cart_button:hover {
    font-size: 1.2rem;
  }

  .price {
    margin-bottom: 0 !important;
  }

  .single-product .single_add_to_cart_button {
    min-width: 100%;
  }

  .authors-side .product-author-list li {
    /* border-left: 1px solid #242340; */
    /* border-bottom: 1px solid #242340; */
    /* border-right: 1px solid #242340; */
    border-left: 1px solid transparent;
    border-bottom: 0;
    border-right: 1px solid transparent;
  }

  .storefront-breadcrumb {
    display: none;
  }

  .prodimagewrapper {
    position: fixed;
    height: 110%;
  }

  .single-summary-wrap {
    margin-top: 120%;
    max-width: unset;
    position: relative;
    z-index: 10 !important;
  }

  .site-footer {
    position: relative;
    z-index: 10;
  }

  .down-wrapper {
    background: white;
    position: relative;
    z-index: 20;
    margin-left: 0rem;
    width: 100vw;
    margin-left: -1.4rem;
    padding: 1.4rem;
    margin-bottom: -6rem;
  }

  .xoo-wsc-basket {
    width: 50px;
    height: 50px;
  }

  .xoo-wsc-bki {
    font-size: 28px;
  }

  .authors {
    margin-top: 0.2rem;
  }

  .variable-item-contents {
    border-radius: 0.5rem;
  }

  .col-full {
    margin-left: 1.4rem;
    margin-right: 1.4rem;
  }

  #single-summary-wrap {
    transition: margin-top 100ms ease-in-out;
  }
}
.additional-details-wrap {
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.tabswrapper,
.tabswrapper2 {
  border-left: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-right: 1px solid transparent;
}

.authorheadingcontainer {
  border: 1px solid white;
}

@media (max-width: 768px) {
  .yleisavainana a {
    font-size: 0.95rem;
    padding-bottom: 0.15rem;
  }

  .yleisavainana {
    padding: 0.2rem 0.7rem;
  }

  .carousel-inner .row {
    display: unset;
  }

  .variable-items-wrapper {
    margin-top: 1rem;
  }

  .down-wrapper {
    margin-bottom: -3rem;
    padding-bottom: 3rem;
  }
}
@media (max-width: 959px) and (min-width: 600px) {
  .single-summary-wrap {
    max-width: 105%;
  }
}
@media (max-width: 1200px) and (min-width: 960px) {
  .single-summary-wrap {
    float: right;
    max-width: 54%;
    margin-right: 0;
    background: linear-gradient(90deg, #FBFBFB 0%, #FBFBFB 100%);
    padding: 2rem;
  }

  .woocommerce-product-gallery__image::after, .woocommerce-product-gallery__image--placeholder::after {
    left: 68%;
  }
}
@media (min-width: 1400px) {
  .woocommerce-product-gallery__image::after, .woocommerce-product-gallery__image--placeholder::after {
    left: 68.6%;
  }
}
@media (min-width: 1550px) {
  .woocommerce-product-gallery__image::after, .woocommerce-product-gallery__image--placeholder::after {
    left: 69%;
  }
}
@media (max-width: 1400px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after, .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
    height: 116.3%;
    top: -9.4%;
  }
}
@media (max-width: 959px) and (min-width: 400px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after {
    left: 300px !important;
  }

  .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
    display: none !important;
  }

  .woocommerce-product-gallery__image {
    max-width: 350px;
  }

  .single-product .wp-post-image {
    max-width: 300px !important;
  }
}
@media (max-width: 1300px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after, .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
    height: 115.5%;
    top: -9%;
  }
}
@media (max-width: 1640px) and (min-width: 1460px) {
  .pehmeakantinen .woocommerce-product-gallery__image:after {
    height: 117.5% !important;
    top: -9.7% !important;
  }
}
@media (max-width: 1200px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after, .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
    height: 114.5%;
    top: -8.5%;
  }

  .summary .quantity {
    display: none !important;
  }
}
@media (min-width: 1600px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after, .pehmeakantinen .woocommerce-product-gallery__image--placeholder::after {
    height: 118.2% !important;
    top: -10.4% !important;
  }

  .prodimagewrapper {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}
@media only screen and (min-width: 1460px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after {
    height: 115.7% !important;
    top: -9.2% !important;
  }
}
@media only screen and (min-width: 1600px) {
  .pehmeakantinen .woocommerce-product-gallery__image::after {
    height: 118.1% !important;
    top: -10.4% !important;
  }

  .prodimagewrapper {
    padding-left: 6rem;
  }

  .pehmeakantinen .book_shadow {
    opacity: 0.01 !important;
  }
}
@keyframes alertbox {
  0% {
    transform: translateY(4px);
  }
  25% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes slideappear {
  0% {
    filter: blur(10px);
  }
  100% {
    filter: blur(0);
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.woocommerce-product-gallery__wrapper {
  animation: slideappear 700ms ease-in-out;
}

.tax-kirjailija .lataakuva {
  position: absolute;
  display: flex;
  bottom: 0;
  background: white;
  gap: 2rem;
  padding: 0.5rem;
  right: 0;
  background: #ffffffde;
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  border-radius: 0.5rem 0 0 0;
}
.tax-kirjailija .lataakuva p {
  margin: 0;
}
.tax-kirjailija .page-header {
  max-width: 655px;
}
.tax-kirjailija .sideimg {
  min-width: 500px;
  max-width: 650px;
  position: relative;
}
.tax-kirjailija .flexwrapper {
  display: flex;
  gap: 2rem;
  width: 100%;
}
.tax-kirjailija .page-header:has(p) {
  background: linear-gradient(90deg, #fafafa 0%, #fafafa 100%);
  padding: 2rem;
  position: relative;
  z-index: 2;
}
.tax-kirjailija .page-header {
  padding: 2rem 0;
}

.taxonomy-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .tax-kirjailija .flexwrapper {
    gap: 0rem;
    flex-direction: column;
  }

  .lataakuva a {
    display: block;
    margin: 0.5rem;
  }

  .lataakuva {
    gap: 0.5rem !important;
  }

  .tax-kirjailija .lataakuva {
    font-size: 0.7rem;
    padding: 0;
    bottom: -1px;
    z-index: 0;
  }
  .tax-kirjailija .lataakuva p {
    margin: 0.5rem;
  }

  .tax-kirjailija .sideimg {
    min-width: unset;
    order: 1;
  }

  .tax-kirjailija .page-header {
    order: 2;
  }

  .tax-kirjailija #page {
    margin-top: 6rem;
  }

  .taxonomy-description {
    font-size: 1rem;
  }
}
.site-footer {
  background-color: #313740;
  color: #ece7e7;
  position: relative;
}
.site-footer #media_image-4, .site-footer #media_image-5 {
  max-width: 50% !important;
  margin: 0 auto;
  margin-bottom: 1rem;
}
.site-footer a {
  color: #ece7e7 !important;
}
.site-footer li a {
  line-height: 1.2;
}
.site-footer #custom_html-2 {
  margin-bottom: 1rem;
}
.site-footer #text-2 {
  font-size: 0.9rem;
}
.site-footer .widget_media_image {
  max-width: 150px !important;
}
.site-footer .widget_recent_entries ul li,
.site-footer .widget_pages ul li,
.site-footer .widget_categories ul li,
.site-footer .widget_archive ul li,
.site-footer .widget_recent_comments ul li,
.site-footer .widget_nav_menu ul li,
.site-footer .widget_links ul li,
.site-footer .widget_product_categories ul li,
.site-footer .widget_layered_nav ul li,
.site-footer .widget_layered_nav_filters ul li {
  list-style: none;
  margin-bottom: 0.4rem;
  line-height: 1.41575em;
}
.site-footer #media_image-6 {
  max-width: 230px !important;
}
.site-footer .socialicons {
  display: flex;
  margin-top: -2rem;
  filter: invert(1);
}
.site-footer .socialicons img {
  max-width: 40px;
}
.site-footer .site-info {
  display: none;
}
.site-footer #mc_embed_signup {
  background: transparent;
  clear: left;
  font: 14px Helvetica, Arial, sans-serif;
}
.site-footer #mc_embed_signup .mc-field-group input {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-indent: 2%;
  border: 1px solid white;
}
.site-footer #mc_embed_signup .button {
  background-color: white;
  color: black;
  width: 96%;
}
.site-footer #mc_embed_signup .mc-field-group input {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-indent: 2%;
  border: 1px solid white;
  background: white;
}
.site-footer #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
  display: inline-block;
  margin: 2px 0 1em;
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  z-index: 1;
  color: black;
}
.site-footer #mc-embedded-subscribe {
  min-height: 40px;
  border-radius: 0;
}
.site-footer .indicates-required {
  display: none;
}
.site-footer #mc_embed_signup h2 {
  font-weight: 500;
  padding: 0;
  margin: -10px 0 1rem 0;
  font-size: 1em;
  font-family: "Work Sans", sans-serif;
}
.site-footer .gamma {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}
.site-footer .menu-item a {
  text-decoration: none;
}
.site-footer .widget_recent_entries ul li,
.site-footer .widget_pages ul li,
.site-footer .widget_categories ul li,
.site-footer .widget_archive ul li,
.site-footer .widget_recent_comments ul li,
.site-footer .widget_nav_menu ul li,
.site-footer .widget_links ul li,
.site-footer .widget_product_categories ul li,
.site-footer .widget_layered_nav ul li,
.site-footer .widget_layered_nav_filters ul li {
  padding-left: 0;
}
.site-footer .widget_recent_entries ul li::before,
.site-footer .widget_pages ul li::before,
.site-footer .widget_categories ul li::before,
.site-footer .widget_archive ul li::before,
.site-footer .widget_recent_comments ul li::before,
.site-footer .widget_nav_menu ul li::before,
.site-footer .widget_links ul li::before,
.site-footer .widget_product_categories ul li::before,
.site-footer .widget_layered_nav ul li::before,
.site-footer .widget_layered_nav_filters ul li::before {
  line-height: 1;
  display: none;
}
.site-footer .widget_recent_entries ul li,
.site-footer .widget_pages ul li,
.site-footer .widget_categories ul li,
.site-footer .widget_archive ul li,
.site-footer .widget_recent_comments ul li,
.site-footer .widget_nav_menu ul li,
.site-footer .widget_links ul li,
.site-footer .widget_product_categories ul li,
.site-footer .widget_layered_nav ul li,
.site-footer .widget_layered_nav_filters ul li {
  line-height: 1;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget .widget-title,
.site-footer .widget .widgettitle {
  color: #fff;
}

#mc_embed_signup #mce-success-response {
  color: #fff !important;
  text-align: center !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .storefront-handheld-footer-bar {
    display: none;
  }

  #mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    margin: 0 !important;
  }

  .menu-footer-categories-container,
.menu-footer-pages-container {
    font-size: 0.9rem !important;
  }
}
@media (min-width: 768px) {
  .single-post .content-area,
.single-tapahtuma .content-area,
.single-blogikirjoitus .content-area {
    width: 62% !important;
    margin-left: 4rem;
    margin-top: 2rem;
  }
  .single-post .hentry .entry-header,
.single-tapahtuma .hentry .entry-header,
.single-blogikirjoitus .hentry .entry-header {
    border-bottom: none;
  }

  .right-sidebar .widget-area {
    width: 25%;
    float: right;
    margin-right: 0;
  }

  .cat-links {
    display: none;
  }
}
.blogialustus {
  border-left: 0.5rem solid #313740;
  padding-left: 1rem;
  margin-bottom: 3rem;
}

.single-post .hentry .entry-header {
  margin-bottom: 1em;
  border-bottom: none;
}

.tapahtumat .pt-cv-content {
  padding-top: 0;
}

@media (min-width: 768px) {
  .page-id-6359 .content-area {
    width: 69% !important;
    float: left;
    margin-right: 4.347826087%;
  }

  .page-id-6379 .content-area {
    max-width: 69% !important;
  }

  .page-id-176884 .content-area {
    width: 69% !important;
    float: left;
    margin-right: 4.347826087%;
  }
}
.event_details span {
  display: flex;
}

.event_details {
  font-weight: 600;
  padding: 1rem;
  background: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%);
  margin-top: 1rem;
}

.post-author {
  display: none;
}

.posted-on a {
  text-decoration: none !important;
}

.single-blogikirjoitus .hentry {
  margin: 0 0 1em;
}
.single-blogikirjoitus .entry-header {
  margin-bottom: 1em;
  border-bottom: none !important;
}
.single-blogikirjoitus #page > div:nth-child(2) > div:nth-child(1) > nav:nth-child(1) {
  display: none;
}
.single-blogikirjoitus .custom-bc {
  margin-top: -1rem;
  /*! margin-left: 1rem; */
}
.single-blogikirjoitus .entry-taxonomy {
  display: none;
}
.single-blogikirjoitus .blogit-heading {
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.single-blogikirjoitus .product-author-list {
  list-style: none;
  display: block;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(90deg, #fafafa 0%, #fafafa 100%) !important;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.single-blogikirjoitus .product-author-list .kirj-link {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}
.single-blogikirjoitus .product-author-list .authimage_wrapper {
  max-width: 200px;
  padding-right: 2rem;
  min-width: 180px;
}
.single-blogikirjoitus .product-author-list li {
  display: flex;
  flex-direction: row;
}
.single-blogikirjoitus .site-footer {
  z-index: 2;
}

.blogad_book {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 20%;
  left: 0;
  padding-left: 6rem;
  display: flex;
  gap: 2rem;
  background-color: #ffffffeb;
  align-items: center;
  box-shadow: 0px 2px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: transform 500ms ease-in-out;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-height: 160px;
}
.blogad_book h3 {
  display: block;
  min-width: 30%;
  font-size: 1.6rem;
}
.blogad_book .orderby {
  display: none;
}
.blogad_book .woocommerce-loop-product__title {
  margin-bottom: 0.2rem !important;
}
.blogad_book .woocommerce-LoopProduct-link {
  display: flex !important;
}
.blogad_book .product {
  width: 100%;
  min-width: 100%;
}
.blogad_book li.product .onsale {
  display: none !important;
}
.blogad_book .storefront-sorting {
  margin-bottom: 0;
}
.blogad_book .woocommerce {
  max-height: 100%;
}
.blogad_book li.product .custom-image-wrapper {
  padding-top: 0;
  padding-bottom: 1rem;
  margin-top: 0;
  background-image: none;
  border-radius: 0;
  min-height: 0;
  max-width: 140px;
}
.blogad_book li.product .custom-image-wrapper::before {
  display: none;
}
.blogad_book .loop-wrapper {
  background: none;
  bottom: 0 !important;
  position: unset;
  width: 100%;
  max-height: 100px;
  padding-top: 2rem;
}
.blogad_book li.product .price {
  position: relative;
}
.blogad_book #closeButton {
  margin-left: 0;
  font-size: 1.5rem;
  position: absolute;
  top: 45%;
  right: 5%;
  cursor: pointer;
}
.blogad_book li.product img {
  margin: auto;
  margin-top: auto;
  margin-bottom: auto;
  box-shadow: -10px 6px 15px -3px rgba(0, 0, 0, 0.2);
  position: relative;
  object-fit: cover;
  max-height: 150px;
  z-index: 101;
  max-width: 70px !important;
  margin-top: 1rem !important;
  margin-right: 1rem !important;
}

@media (max-width: 768px) {
  .blogad_book h3 {
    display: block;
    min-width: unset;
    font-size: 1.2rem;
    max-width: 22%;
  }

  .blogad_book {
    padding-left: 1rem;
    max-height: 180px;
  }
  .blogad_book li.product .loop-wrapper {
    padding-top: 0;
    max-height: fit-content;
  }
  .blogad_book li.product img {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .blogad_book li.product {
    min-height: 100%;
    margin-bottom: 0;
    flex-basis: 45.5% !important;
    margin-right: 6% !important;
    max-height: 180px !important;
    margin-bottom: 0 !important;
  }
  .blogad_book div.storefront-sorting {
    display: none;
  }
  .blogad_book .woocommerce {
    max-height: 180px;
  }
  .blogad_book .woocommerce-LoopProduct-link {
    align-content: center;
    align-items: center;
    display: flex;
  }
  .blogad_book .custom-image-wrapper {
    padding-bottom: 0 !important;
  }

  .single-post h1,
.single-tapahtuma h1 {
    font-size: 2.4rem;
  }
  .single-post #content,
.single-tapahtuma #content {
    margin-top: -3rem;
  }
  .single-post .nav-links a,
.single-tapahtuma .nav-links a {
    font-size: 0.8rem;
  }
  .single-post .hentry .entry-header,
.single-tapahtuma .hentry .entry-header {
    border-bottom: none;
  }

  .single-blogikirjoitus .custom-bc {
    margin-top: -3rem;
  }
  .single-blogikirjoitus .storefront-breadcrumb {
    display: block;
  }
  .single-blogikirjoitus .product-author-list li {
    flex-direction: column;
  }
  .single-blogikirjoitus .product-author-list .authimage_wrapper {
    max-width: 100%;
    padding-bottom: 2rem;
  }
}
.woocommerce-cart .wc-block-components-sidebar::before,
.woocommerce-checkout .wc-block-components-sidebar::before {
  content: "";
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: -1;
  left: 63%;
  background-image: linear-gradient(90deg, #f6f7f9 0%, #fafbfb 100%);
}
.woocommerce-cart .wc-block-components-product-badge,
.woocommerce-checkout .wc-block-components-product-badge {
  border: 1px solid;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  padding: 0 0.66em;
  text-transform: uppercase;
  white-space: nowrap;
  display: none;
}
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  text-align: left;
}
.woocommerce-cart .components-button,
.woocommerce-checkout .components-button {
  background: #313740;
  font-family: "futura-pt", sans-serif;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .woocommerce-cart .wc-block-components-sidebar::before,
.woocommerce-checkout .wc-block-components-sidebar::before {
    display: none;
  }
}
.page-template-sivumalli-page .page-image-full img {
  max-height: 300px;
  object-fit: cover;
}
.page-template-sivumalli-page .page-image-full {
  min-height: 410px;
  background-size: cover;
  background-position: center;
  max-width: 1600px;
  margin: 0 auto;
}
.page-template-sivumalli-page .flex-page-c {
  margin-top: 5rem !important;
  display: flex;
  margin: 0 auto;
  max-width: 1100px;
  margin-bottom: 4rem;
}
.page-template-sivumalli-page .custom-title {
  flex-basis: 160%;
  padding: 0 1rem;
}
.page-template-sivumalli-page .storefront-breadcrumb {
  display: none;
}
.page-template-sivumalli-page .custom-content {
  margin-left: 4rem;
  margin-right: 4rem;
  min-width: 650px;
}

.yhteystiedot .pt-cv-content-item {
  max-height: 150px;
  padding: 2rem;
  display: flex;
}
.yhteystiedot .pt-cv-thumb-wrapper:not(.miniwrap) {
  max-width: 180px !important;
}
.yhteystiedot .pt-cv-thumbnail {
  height: 120px !important;
  width: 120px !important;
  object-fit: cover;
}
.yhteystiedot .pt-cv-content-item {
  padding: 1rem;
  background: linear-gradient(90deg, #fafafa 0%, #fafafa 100%);
  border-radius: 0;
}
.yhteystiedot .pt-cv-thumb-wrapper {
  max-width: 200px !important;
  overflow: visible;
}
.yhteystiedot .pt-cv-href-thumbnail::before {
  display: none;
}
.yhteystiedot p,
.yhteystiedot .pt-cv-content {
  font-size: 0.9rem;
}
.yhteystiedot a {
  pointer-events: none;
}

@media (min-width: 768px) {
  .page-template-sivumalli-page .site-content {
    margin-top: -4.5rem;
  }
  .page-template-sivumalli-page .site-content .col-full {
    max-width: 100% !important;
    padding: 0 !important;
  }
}
.single-kampanja .entry-taxonomy {
  display: none;
}
.single-kampanja .wp-post-image {
  margin-bottom: 3em;
  margin-left: auto;
  margin-right: auto;
}
.single-kampanja .ennakkotilattavat-list .pt-cv-content-item::before {
  display: none;
}
.single-kampanja .pt-cv-edit-view {
  display: none;
}
.single-kampanja .cvp-live-filter select {
  display: block;
  font-size: 16px;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  color: #444;
  line-height: 1.3;
  padding: 0.6em 1.4em 0.5em 0.8em !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  background-position: right 0.6em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  filter: grayscale(100%);
  border: 1px solid gray;
}
.single-kampanja .out-of-stock-grid {
  display: none;
}
.single-kampanja .cvp-live-filter select {
  padding-left: 0.5rem !important;
  margin-top: 1rem;
}
.single-kampanja .cvp-live-filter.cvp-button input ~ div {
  font-size: 1.2rem;
}
.single-kampanja .cvp-live-filter .btn label {
  border-radius: 1rem;
  box-shadow: 0px 12px 0px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid #dedede;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.single-kampanja #post-navigation {
  display: none;
}
.single-kampanja .hentry .entry-header {
  border-bottom: none;
}
.single-kampanja .entry-title {
  display: none;
}
.single-kampanja .woocommerce-breadcrumb {
  display: none;
}
.single-kampanja #page {
  margin-top: 3rem;
}
.single-kampanja .cvp-live-filter[data-sid=d0e11a0m7v].cvp-customized input:hover,
.single-kampanja .cvp-live-filter[data-sid=d0e11a0m7v].cvp-customized input:focus,
.single-kampanja .cvp-live-filter[data-sid=d0e11a0m7v].cvp-customized select:hover,
.single-kampanja .cvp-live-filter[data-sid=d0e11a0m7v].cvp-customized select:focus,
.single-kampanja .cvp-live-filter[data-sid=d0e11a0m7v].cvp-customized input ~ div:hover,
.single-kampanja .cvp-live-filter[data-sid=d0e11a0m7v].cvp-customized input ~ div:focus {
  border-color: #1e1e1e;
  box-shadow: 0 0 0 1px #000 !important;
}
.single-kampanja .cvp-live-filter.cvp-button input[type=radio]:checked ~ div {
  background: #313740;
  border-radius: 1rem;
}

.fourohfour-columns-2 {
  display: none;
}

.error404 .page-content > section:nth-child(3) > div:nth-child(1) {
  display: none;
}
.error404 .page-content > section:nth-child(5) {
  display: none;
}

input[type=text],
input[type=number],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=search],
textarea,
.input-text {
  padding: 0.6180469716em;
  background-color: #f2f2f200;
  color: #43454b;
  border: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
  border: 1px solid #222222;
}

.custom-content a {
  text-decoration: underline;
}

#wpforms-submit-6569,
#wpforms-submit-6565 {
  background: #313740;
}

.woocommerce-button {
  background: #313740;
  color: white;
}

@media (max-width: 960px) {
  .page-template-sivumalli-page .flex-page-c {
    /* margin-top: 5rem !important; */
    /* max-width: 1100px; */
    margin-top: 3rem !important;
    max-width: 100%;
    flex-direction: column;
  }

  .page-template-sivumalli-page .custom-content {
    /* margin-left: 4rem; */
    /* margin-right: 4rem; */
    /* min-width: 650px; */
    margin-left: 0rem;
    margin-right: 0rem;
    min-width: unset;
  }

  .page-template-sivumalli-page .custom-title {
    /* padding: 0 1rem; */
    padding: 0;
  }

  .page-template-sivumalli-page .page-image-full {
    margin-top: -5rem;
  }
}
@media (max-width: 768px) {
  .yhteystiedot p,
.yhteystiedot .pt-cv-content {
    font-size: 0.7rem;
  }

  .yhteystiedot .pt-cv-content-item {
    margin-right: 0 !important;
    padding-left: 1rem !important;
  }

  .yhteystiedot .pt-cv-thumbnail {
    height: 100px !important;
    width: 100px !important;
    object-fit: cover;
  }

  .yhteystiedot .pt-cv-href-thumbnail {
    margin-left: 0 !important;
  }

  .yhteystiedot .pt-cv-thumb-wrapper:not(.miniwrap) {
    max-width: 110px !important;
  }

  .yhteystiedot .pt-cv-thumb-wrapper {
    max-width: 110px !important;
  }

  .page-template-sivumalli-page .page-image-full {
    min-height: 180px;
    position: relative;
    left: -1.41575em;
    width: 113%;
    margin-top: 0;
  }

  .yhteystiedot .pt-cv-content-item {
    max-height: 140px;
  }

  .page-template-sivumalli-page #page {
    margin-top: 4rem !important;
  }
}
@media (min-width: 768px) {
  .col-full {
    max-width: 1600px;
  }
}
a:focus,
.focus a {
  outline: none !important;
}

.admin-bar #masthead {
  margin-top: 2rem;
}

body,
p {
  font-family: "Work Sans", sans-serif;
  overflow-x: hidden;
  font-optical-sizing: auto;
  font-style: normal;
}

body,
.secondary-navigation a {
  color: #313740;
}

a:focus,
button:focus,
.button.alt:focus,
input:focus,
textarea:focus,
input[type=button]:focus,
input[type=reset]:focus,
input[type=submit]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus {
  outline-color: transparent;
}

body {
  background-color: white;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  line-height: 1;
}

h2, h3, h4 {
  line-height: 1.1;
}

a {
  color: #151515;
}

.home .entry-title {
  display: none;
}

.site-search {
  display: none;
}

.storefront-primary-navigation {
  display: none;
}

#site-header-cart {
  display: none;
}

a {
  color: #151515;
}

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