/*
 Theme Name:   Psykologiavalmennus
 Description:  Storefront Child Theme
 Author:       Inertica Oy
 Template:     psykologiavalmennus
 Version:      1.0.2
*/
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

a[href^=tel] {
  text-decoration: inherit;
  color: inherit;
}

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

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page .site-content {
  flex: 1 0 0;
}

.site-header {
  margin: 0 !important;
  padding: 0;
  top: 0;
}
.site-header .secondary-navigation .menu a {
  padding: 0.875em;
}

.site-header .cart-contents {
  text-align: right;
  white-space: nowrap;
}

.site-header .cart-contents .count {
  margin-right: 10px;
}

.site-header .sp-header-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.header-widget-region #site-breadcrumb {
  padding: 1.41575em 0;
}
.header-widget-region {
  background: #EDF2F7;
  margin: 0 0 0em;
}

.header-widget-region #site-breadcrumb span span a:before {
  display: inline-block;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: inherit;
  vertical-align: baseline;
  content: "\f015";
  margin-right: 0.5407911001em;
}
.header-widget-region #site-breadcrumb span span span a:before {
  content: none;
}
.header-widget-region #site-breadcrumb a:after {
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin: 0 5px;
  line-height: inherit;
  vertical-align: baseline;
  content: "\f105";
  display: inline-block;
  font-size: 0.875em;
  text-indent: 0;
  line-height: normal;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  text-align: right;
  opacity: 0.25;
}

#main.site-main, #secondary {
  margin-top: 5em;
}

article .entry-header .post-author {
  display: none;
}
article .entry-header .entry-title {
  margin-top: 10px;
}
article .entry-header .entry-title a {
  font-weight: 600;
}

.site-footer {
  background: #21272B;
  border: 0;
  color: #fff;
  padding-bottom: 1em;
}
.site-footer .footer-widgets {
  padding-top: 2em;
}

.site-footer .custom-html-widget a,
.site-footer .menu a,
.site-footer .product-categories a,
.site-footer .privacy-policy-link {
  color: #fff !important;
}

.site-footer .sub-menu {
  display: none;
}

.site-footer .footer-logo {
  max-width: 300px !important;
}

.site-footer .widget-title {
  border-bottom: 0;
  padding-bottom: 0;
}

.site-footer .site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.site-footer .site-info br {
  content: "";
  margin: 0 1em;
}

.site-footer .site-info br:before {
  content: "|";
}

.storefront-breadcrumb {
  background: #edf2f7;
  color: #444;
}

.storefront-breadcrumb .woocommerce-breadcrumb a {
  color: #0051ba;
}

.button {
  background-color: #0051ba !important;
  color: #ffffff !important;
}

.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message .button {
  background-color: transparent !important;
}

.shm-close {
  background-color: #0051ba !important;
  color: #fff !important;
}

.elementor-heading-title {
  line-height: 1.3;
}

.elementor-button {
  background: #0051ba;
  padding: 12px 20px;
  text-decoration: none !important;
}
.elementor-button:hover {
  background: rgb(0, 58.7903225806, 135);
}
.elementor-button.elementor-size-md {
  padding: 15px 25px;
}
.elementor-button.elementor-size-lg {
  padding: 20px 30px;
}

.elementor-element.elementor-button-info .elementor-button {
  background-color: white;
  border: 2px solid #0051ba;
  color: #0051ba;
}

body.elementor-template-full-width .homepage-hero {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

body.elementor-template-full-width .storefront-breadcrumb {
  display: none;
}

body.elementor-template-full-width .site-content .col-full {
  max-width: none;
  padding: 0;
}

body.elementor-template-full-width .site-content .elementor-container {
  padding: 0 5px;
}

.woocommerce-checkout.sp-distraction-free-checkout .site-header {
  padding: 1em !important;
}

.woocommerce-checkout.sp-distraction-free-checkout .site-footer {
  display: none;
}

.elementor-container .stat-number {
  margin-bottom: 10px;
}
.elementor-container .stat-number h4 {
  color: #0051ba;
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 0;
}

/* Sidebar navigation */
#secondary ul.wpb_page_list {
  background: rgb(247.5923076923, 249.65, 251.7076923077);
  padding: 15px;
  position: sticky;
}
#secondary ul.wpb_page_list li {
  display: block;
  padding: 5px;
}
#secondary ul.wpb_page_list a {
  color: #718096;
  display: inline-block;
  font-weight: normal;
  padding: 5px;
  text-decoration: none;
}
#secondary ul.wpb_page_list a:hover {
  color: #0051ba;
}
#secondary ul.wpb_page_list .current_page_item a {
  color: #484e57;
  font-weight: bold;
}

@media screen and (max-width: 1279px) {
  .col-full {
    margin: 0;
    padding: 0 15px;
  }
  body.elementor-template-full-width .homepage-hero::before {
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
}
@media screen and (min-width: 1330px) {
  #masthead .col-full .sp-header-row .sp-header-span-8 {
    margin-right: 1.5em;
  }
  #masthead .col-full .sp-header-row .sp-header-span-8 nav {
    margin-left: 1.5em;
  }
}
@media screen and (max-width: 1330px) and (min-width: 768px) {
  #masthead .col-full .sp-header-row div:nth-of-type(2).sp-header-span-8 {
    width: 100%;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin: 0;
    border-top: 1px solid #D8D8D8;
  }
  #masthead .col-full .sp-header-row div:nth-of-type(1).sp-header-span-2 {
    width: 73%;
  }
  #masthead .col-full .sp-header-row div:nth-of-type(3).sp-header-span-2.sp-header-last {
    width: 20%;
  }
}
@media screen and (max-width: 767px) {
  .site-branding {
    width: calc(100% - 30px);
  }
  .site-header .sp-header-row {
    padding: 15px 0;
  }
  .site-header .site-logo-anchor img,
  .site-header .site-logo-link img,
  .site-header .custom-logo-link img {
    width: 100%;
    max-width: 400px;
    margin: 10px 0;
  }
  .site-header button.menu-toggle {
    border: none;
  }
  .site-header .sp-header-row .sp-header-span-2:first-child {
    flex: 1;
  }
  .site-header .sp-header-row .sp-header-span-8 {
    flex: 0;
  }
  .site-content .entry-title {
    font-size: 28px;
  }
  .site-footer .site-info {
    text-align: left;
  }
}
@media screen and (min-width: 768px) {
  .webp body.elementor-template-full-width .homepage-hero {
    background-image: url("./img/laptophands1.webp");
  }
  .no-webp body.elementor-template-full-width .homepage-hero {
    background-image: url("./img/laptophands1.jpg");
  }
  /*
    body.elementor-template-full-width #home-intro {
      margin-top: -60px;

      .elementor-container {
        padding: 0;
      }
    }
  */
  .col-full {
    max-width: 1370px;
    padding: 0 15px;
  }
  #masthead .site-branding {
    max-width: 240px;
  }
  #masthead .secondary-navigation {
    margin: 0;
    width: 100%;
  }
  #masthead .primary-navigation {
    font-size: 0.9em;
  }
  #masthead .storefront-primary-navigation {
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
    max-width: 1370px;
  }
  #masthead .storefront-primary-navigation .col-full {
    margin: -40px 0 0 200px;
  }
  #masthead .storefront-primary-navigation .primary-navigation {
    display: flex;
    justify-content: flex-end;
  }
  #masthead .storefront-primary-navigation .primary-navigation ul.menu > li > a,
  #masthead .storefront-primary-navigation .primary-navigation ul.nav-menu > li > a {
    padding: 1em 1em;
  }
  .site-header .sp-header-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
  }
  .site-header .sp-header-row .sp-header-span-2:first-child {
    flex: 2;
    margin-right: 0;
    max-width: 300px;
  }
  .site-header .sp-header-row .sp-header-span-2:last-child {
    flex: 1;
    margin-left: auto;
    max-width: 300px;
  }
  .site-header .sp-header-row .sp-header-row .sp-header-span-8 {
    border-top: 1px solid #d0d0d0;
    order: 2;
    width: 100%;
  }
  .site-header .sp-header-row .sp-header-row .sp-header-span-8 a {
    padding: 15px;
  }
  .site-header .main-navigation ul.menu {
    margin: 0 -15px;
  }
  .site-header-cart .widget_shopping_cart {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    left: auto;
    padding: 1em;
    right: 0;
    visibility: hidden;
    width: 360px;
  }
  .site-header-cart:hover .widget_shopping_cart,
  .site-header-cart.focus .widget_shopping_cart {
    left: auto;
    opacity: 1;
    visibility: visible;
  }
  .site-header .site-branding {
    margin-bottom: 0 !important;
  }
  .site-header .site-branding img {
    height: auto;
    max-width: 240px;
    max-height: none;
  }
  .site-header .site-logo-anchor img,
  .site-header .site-logo-link img,
  .site-header .custom-logo-link img {
    width: 100%;
    max-width: 240px;
  }
}
/* === Element Pack mini cart popup (overrides bdt-* markup) === */
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart svg {
  display: block;
  margin: 0 auto 0.5em;
  max-width: 48px;
  max-height: 48px;
  opacity: 0.4;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .wc-empty-message {
  text-align: center;
  color: #718096;
  font-size: 0.875em;
  margin: 0.5em 0 1em;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .bdt-button {
  display: block;
  text-align: center;
  background-color: #0051ba;
  color: #fff;
  border-radius: 0;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.875em;
  font-weight: 600;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .bdt-button .bdt-button-text {
  color: inherit;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .bdt-button:hover {
  background-color: rgb(0, 58.7903225806, 135);
  color: #fff;
}

.bdt-mini-cart-product-item {
  padding: 0.75em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.bdt-mini-cart-product-item:last-child {
  border-bottom: none;
}

.bdt-mini-cart-product-thumbnail img {
  width: 50px;
  height: auto;
  border-radius: 2px;
}

.bdt-mini-cart-product-name a {
  color: #333;
  font-size: 0.875em;
  text-decoration: none;
  line-height: 1.3;
}
.bdt-mini-cart-product-name a:hover {
  color: #0051ba;
}

.bdt-mini-cart-product-price {
  font-size: 0.8125em;
  color: #718096;
}

.bdt-mini-cart-product-remove a {
  opacity: 0.5;
}
.bdt-mini-cart-product-remove a:hover {
  opacity: 1;
}

.bdt-mini-cart-subtotal {
  padding: 0.75em 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875em;
}

.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons {
  display: flex;
  gap: 0.5em;
  padding-top: 0.75em;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 0;
  font-size: 0.8125em;
  font-weight: 600;
  text-decoration: none;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button .bdt-button-text {
  color: inherit;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-view-cart {
  background: transparent;
  border: 2px solid #0051ba;
  color: #0051ba;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-view-cart:hover {
  background: rgba(0, 81, 186, 0.08);
  color: #0051ba;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-checkout {
  background: #0051ba;
  border: 2px solid #0051ba;
  color: #fff;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-checkout:hover {
  background: rgb(0, 58.7903225806, 135);
  border-color: rgb(0, 58.7903225806, 135);
  color: #fff;
}

.woocommerce-additional-fields label[for=eb_cf_Kurssi],
.woocommerce-additional-fields select[name=Kurssi] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -999em;
}

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