/*!
Theme Name: suhk
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/

/*** UNIVERSAL ***/
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-400.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/open-sans-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/open-sans-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/open-sans-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/oswald-400.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/oswald-500.woff2') format('woff2');
}

:root {
    --black: #000000;
    --dark: #021229;
    --white: #ffffff;
    --grey: #f3f4f6;
    --dark-grey: #454545;
    --light: #f3f3f1;
    --blue: #133e7b;
    --dark-blue: #0b3063;
    --orange: #fda531;
    --dark-orange: #e7962a;
    --red: #cd3c2b;
    --dark-red: #b03224;
    --green: #0b9444;
    --max-width: 1260px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--dark);
    opacity: 0;
    overflow-x: hidden;
    font-family: 'Open Sans';
    overflow-x: hidden;
}

.open-body {
    overflow-y: hidden;
}

img {
    display: block;
}

hr {
    margin-top: 40px;
    opacity: 0.1;
}

a:focus,
button:focus,
input:focus {
    outline: none;
}

p,
li,
div {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-family: 'Oswald';
}

h1 {
    font-size: 78px;
    line-height: 1.1;
}

h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
}

h2.wp-block-heading {
    margin-top: 40px;
}

h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 20px;
}

h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

h5 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
}

h6 {
    position: relative;
    color: var(--orange) !important;
    font-size: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}


.post,
.page {
    margin: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

/*** HEADER ***/
#headercontainer {
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 9999;
    transition: 0.2s all ease-in-out;
    background: var(--white);
    box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.05);
}

.top-menu {
    background: var(--white);
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.site-header-top {
    height: 55px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.site-header {
    position: relative;
    height: 75px;
    max-width: var(--max-width);
    margin: 0 auto;
    transition: 0.2s all ease-in-out;
}

.site-title {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
}

.site-title img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.language-menu {
    margin-left: auto;
    margin-right: 20px;
}

.wpml-ls-legacy-list-horizontal {
    padding: 0;
}

.wpml-ls-legacy-list-horizontal a {
    padding: 0;
    margin-left: 20px;
    color: var(--dark);
    font-weight: 600;
}

.wpml-ls-item-legacy-list-horizontal:first-of-type a {
    margin-left: 0;
}

.site-title-text {
    position: absolute;
    top: 50%;
    left: 180px;
    transform: translateY(-50%);
}

p.site-title-text {
    color: var(--dark-blue);
    font-family: 'Oswald';
    font-weight: 500;
    margin: 0;
}

.header-cart {
    height: 24px;
    margin-right: 10px;
}

.header-cart img {
    width: 24px;
    height: auto;
}

.header-cart.mobile-cart {
    display: none;
}

.cart-contents {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0 5px;
}

/*** MAIN MENU ***/
.main-navigation ul {
    padding: 0;
    margin: 0;
}

.main-navigation ul li {
    list-style-type: none;
    display: inline-block;
    position: relative;
    margin-right: 20px;
}

.main-navigation ul li:last-of-type {
    margin-right: 0;
}

.main-navigation ul li a {
    position: relative;
    color: var(--dark);
    font-size: 16px;
    letter-spacing: -0.2px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 14px 14px 0;
    z-index: 3;
    transition: 0.2s all ease-in-out;
}

.main-navigation ul li a:hover {
    color: var(--orange);
}

.main-navigation ul ul {
    position: fixed;
    display: block;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
    min-height: 515px;
    width: var(--max-width);
    top: 131px;
    background: var(--blue);
    padding: 30px;
    border-radius: 10px;
    transition: 0.2s all ease-in-out;
    text-align: left;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.06);
}

.main-navigation .menu-item-has-children:before {
    content: '';
    width: 100%;
    height: 22px;
    position: absolute;
    bottom: -40px;
}

.main-navigation .menu-item-has-children:after {
    content: '+';
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: 1px;
    z-index: 1;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}

.main-navigation .menu-item-has-children:hover:after {
    color: var(--orange) !important;
}

.main-navigation ul li:hover>ul {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

body.scrolling-down .main-navigation ul ul {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.main-navigation ul ul li {
    display: block;
    width: calc(100% / 3 - 50px);
}

.main-navigation ul ul li a {
    display: block;
    color: var(--white);
    padding: 20px 10px;
    transition: 0.2s all ease-in-out;
}

.main-navigation ul ul ul {
    background: var(--dark-blue);
    position: fixed;
    left: 50%;
    width: 33.33%;
    height: 100%;
    top: 0;
    border-radius: 0;
    box-shadow: none;
}

.main-navigation ul ul ul li {
    width: 100%;
}

.main-navigation ul ul ul ul {
    background: var(--blue);
    position: fixed;
    left: 150%;
    width: 100%;
    height: 100%;
    top: 0;
    border-radius: 0 10px 10px 0;
    box-shadow: none;
}

.main-navigation ul ul li.menu-item-has-children:after {
    right: 0;
    color: var(--white);
}

.current-menu-item>a {
    color: var(--orange) !important;
}

.current-menu-item.menu-item-has-children:after {
    color: var(--orange) !important;
}

/*** SERVICES MENU ***/
.palvelut-menu ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: start;
}
.palvelut-menu ul li {
    width:33.33% !important;
}


/*** MOBILE MENU ***/
#nav-icon {
    display: none;
}

.toggle {
    position: relative;
    width: 24px;
    height: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition-duration: .5s;
}

.bars {
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 4px;
}

#bar2 {
    transition-duration: .8s;
}

#nav-icon:checked+.toggle .bars {
    position: absolute;
    transition-duration: .5s;
    background: var(--dark);
}

#nav-icon:checked+.toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
}

#nav-icon:checked+.toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
}

#nav-icon:checked+.toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
}

#nav-icon:checked+.toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
    transition: 0.2s all ease-in-out;
}

/*** SIDENAV ***/
.overlay {
    background: var(--blue);
    height: 100vh;
    width: 650px;
    position: fixed;
    z-index: 100;
    padding: 60px;
    padding-top: 131px;
    right: -650px;
    top: 0;
    transition: 0.3s;
    overflow: auto;
    box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.05);
}

.overlay ul.menu {
    padding: 0;
    margin: 0;
    margin-top: 60px;
}

.overlay ul.menu li {
    margin: 0;
    margin-bottom: 20px;
    cursor: pointer;
    list-style-type: none;
    position: relative;
}

.overlay ul.menu li a {
    position: relative;
    text-decoration: none;
    color: var(--white);
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    letter-spacing: -0.4px;
    transition: 0.2s all ease-in-out;
}

.overlay ul.menu li a:hover {
    color: var(--orange);
}

.overlay ul.menu li a:hover:after {
    left: calc(100% + 20px);
    opacity: 1;
}

.overlay ul.menu ul {
    margin-top: 10px;
    padding-left: 0;
}

.overlay ul.menu ul li a {
    font-size: 15px;
    line-height: 30px;
}

.overlay ul.menu ul li {
    padding: 0 14px 0 14px;
    margin-bottom: 4px;
}

.overlay ul.menu ul ul {
    margin-top: 4px;
    margin-bottom: 20px;
}

.overlay ul.menu ul li a img {
    display: none;
}

.overlay ul.menu li.menu-item-has-children:before {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--white);
    top: 2px;
    font-size: 24px;
    transition: 0.2s all ease-in-out;
}

.overlay ul.menu ul li.menu-item-has-children:before {
    top: 0;
}

.overlay .current-menu-item>a {
    color: var(--orange);
}

.overlay ul.menu li.rotate-arrow:before {
    transform: rotate(135deg);
    right: -1px;
}

.open-menu {
    right: 0 !important;
}

.open-body {
    overflow: hidden;
}

.overlay-background {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s all ease-in-out;
    z-index: 99;
}

.show-overlay-background {
    opacity: 1;
    visibility: visible;
}


/*** CONTENT  ***/
.white-container {
    background: var(--white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.white-container :is(h1, h2, h3, h4, h5, h6, p, li, a, button, td, th, p strong) {
    color: var(--dark);
}

.light-container {
    background: var(--light);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.light-container :is(h1, h2, h3, h4, h5, h6, p, li, a, button, td, th, p strong) {
    color: var(--dark);
}

.dark-container {
    background: var(--dark-blue);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.dark-container :is(h1, h2, h3, h4, h5, h6, p, li, a, button, td, th, p strong) {
    color: var(--white);
}

.blue-container {
    background: var(--blue);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.blue-container :is(h1, h2, h3, h4, h5, h6, p, li, a, button, td, th, p strong) {
    color: var(--white);
}

.white-container .site-content,
.light-container .site-content,
.dark-container .site-content,
.blue-container .site-content {
    max-width: var(--max-width);
    padding: 120px 40px;
    ;
    margin: 0 auto;
}

.site-content ul,
.site-content ol {
    padding-left: 20px;
}

.site-content p a,
.site-content li a,
.site-content ol a {
    font-weight: 600;
    text-decoration: none;
    color:var(--orange);
}

.site-content.padding-top-120 {
    padding-top: 120px;
}

.site-content.padding-top-100 {
    padding-top: 100px;
}

.site-content.padding-top-80 {
    padding-top: 80px;
}

.site-content.padding-top-60 {
    padding-top: 60px;
}

.site-content.padding-top-40 {
    padding-top: 40px;
}

.site-content.padding-top-20 {
    padding-top: 20px !important;
}

.site-content.padding-bottom-120 {
    padding-bottom: 120px;
}

.site-content.padding-bottom-100 {
    padding-bottom: 100px;
}

.site-content.padding-bottom-80 {
    padding-bottom: 80px;
}

.site-content.padding-bottom-60 {
    padding-bottom: 60px;
}

.site-content.padding-bottom-40 {
    padding-bottom: 40px;
}

.site-content.padding-bottom-20 {
    padding-bottom: 20px !important;
}

.full-width {
    max-width: 100%;
}

.border-top {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.border-bottom {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.border-right {
    border-right: solid 1px rgba(0, 0, 0, 0.1);
}

.dark-container.border-top {
    border-top: solid 1px rgb(255 255 255 / 10%);
}

.dark-container.border-bottom {
    border-bottom: solid 1px rgb(255 255 255 / 10%);
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 100%;
    z-index: 2;
}

.flex-box-container {
    justify-content: start;
    gap: 30px;
}

.flex-media img {
    width: 100%;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.flex-start {
    justify-content: start;
}

.flex-center {
    justify-content: center;
}

.flex-end {
    justify-content: end;
}

.align-start {
    align-items: start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: end;
}

.flex-100 {
    width: 100%;
    position: relative;
}

.flex-80 {
    width: 80%;
    position: relative;
}

.flex-75 {
    width: 75%;
    position: relative;
}

.flex-66 {
    width: calc(66.66% - 40px);
    position: relative;
}

.flex-60 {
    width: calc(60% - 40px);
    position: relative;
}

.flex-50 {
    width: calc(50% - 15px);
    position: relative;
}

.flex-40 {
    width: calc(40% - 40px);
    position: relative;
}

.flex-33 {
    width: calc(33.33% - 20px);
    position: relative;
}

.flex-25 {
    flex: 0 0 calc((100% - 90px) / 4);
    position: relative;
}

.flex-20 {
    width: calc(20% - 12px);
    position: relative;
}


.flex-50 img,
.flex-50 video {
    height: 500px;
    object-fit: cover;
    width: 100%;
    border-radius: 20px;
}

.flex-33 img,
.flex-25 img {
    width: 100%;
    border-radius: 20px;
    height: 270px;
    object-fit: cover;
}

.flex-33 h3,
.flex-50 h3,
.flex-25 h3,
.flex-25 h3 {
    font-family: 'Oswald';
    margin-top: 20px;
    margin-bottom: 10px;
}




/*** GRAAFINEN ELEMENTTI ***/
.white-container.text-media .flex-50.flex-media:before,
.light-container.text-media .flex-50.flex-media:before {
    content: '';
    background: url(assets/dot-texture.svg) no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.05;
    z-index: -1;
}

.white-container.media-text .flex-50.flex-media:before,
.light-container.media-text .flex-50.flex-media:before {
    content: '';
    background: url(assets/dot-texture.svg) no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.05;
    z-index: -1;
}

.dark-container.text-media .flex-50.flex-media:before {
    content: '';
    background: url(assets/dot-texture-white.svg) no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.05;
    z-index: -1;
}

.dark-container.media-text .flex-50.flex-media:before {
    content: '';
    background: url(assets/dot-texture-white.svg) no-repeat;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.05;
    z-index: -1;
}



/*** PALVELUT ***/
.service-box {
    display: flex;
    flex-direction: column;
}

.service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content a.cta,
.service-content pre a {
    width: 100%;
    margin-top: auto;
}

.service-content h3 {
    margin-top:20px;
    margin-bottom: 0;
}

.service-content p {
    margin-bottom: 20px;
}

.button-container {
    padding-top: 40px;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.button-container p {
    font-weight: 500;
    margin: 0;
    padding-left: 20px;
    border-left: solid 4px var(--orange);
}

.button-container .flex-33 {
    text-align: right;
}

.button-container a.cta {
    margin: 0;
}

.booking-container a.cta {
    background: var(--orange);
}


/*** POSTIT ***/
.post-content a.cta,
.post-content pre a {
    width: 100%;
}

.post-list {
    display: flex;
    flex-direction: column;
}

/*** TEKSTI / MEDIA ***/
.media-text .flex-text {
    order: 2;
}

.media-text .flex-media {
    order: 1;
}

.text-media .flex-text {
    order: 1;
    padding-right: 20px;
}

.text-media .flex-media {
    order: 2;
}

.flex-text h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 56px;
}

/*** TEKSTI JA TEKSTI ***/
.flex-text {
    position: relative;
}

.flex-text p:last-of-type {
    margin-bottom: 10px;
}

.flex-33-66 .flex-text:first-of-type {
    width: calc(33.33% - 20px);
}

.flex-33-66 .flex-text:last-of-type {
    width: calc(66.66% - 20px);
}

.flex-50-50 .flex-text {
    width: calc(50% - 20px);
}

.flex-66-33 .flex-text:first-of-type {
    width: calc(66.66% - 20px);
}

.flex-66-33 .flex-text:last-of-type {
    width: calc(33.33% - 20px);
}

.flex-text iframe,
.flex-text img {
    border-radius: 20px;
}

.site-content iframe {
    border-radius: 20px;
}


/*** BANNER ***/
.video-container {
    position: relative;
    height: 100dvh;
    min-height: 900px;
    overflow: hidden;
}

.video-container video,
.video-container img {
    width: 100%;
    height: 100dvh;
    min-height: 900px;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
}

.image-overlay {
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.banner-content {
    position: absolute;
    width: 100%;
    max-width: 1240px;
    padding: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.banner-content h1 {
    margin-top: 0;
}

.banner-content p {
    color: var(--white);
    font-size: 28px;
}

.height-40,
.height-40 video,
.height-40 img {
    height: calc(40vh - 117px);
    min-height: 450px;
}

.height-50,
.height-50 video,
.height-50 img {
    height: calc(50vh - 117px);
    min-height: 550px;
}

.height-60,
.height-60 video,
.height-60 img {
    height: calc(60vh - 117px);
    min-height: 600px;
}

.height-70,
.height-70 video,
.height-70 img {
    height: calc(70vh - 117px);
    min-height: 600px;
}

.height-80,
.height-80 video,
.height-80 img {
    height: calc(80vh - 117px);
    min-height: 600px;
}

.height-90,
.height-90 video,
.height-90 img {
    height: calc(90vh - 117px);
    min-height: 600px;
}

.height-100,
.height-100 video,
.height-100 img {
    height: calc(100vh - 117px);
    min-height: 600px;
}

.banner-container {
    height: calc(100vh - 117px);
    width: 100%;
    position: relative;
}

.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

pre {
    background: none;
    line-height: unset;
    margin: 0;
    padding: 0;
    max-width: unset;
    overflow: unset;
    display: inline-block;
}

a.cta,
pre a {
    background: var(--blue);
    border-radius: 6px;
    font-size: 16px;
    padding: 14px 30px 14px 30px;
    color: var(--white) !important;
    font-weight: 600;
    line-height: 1.3;
    margin-right: 12px;
    display: inline-block;
    margin-top: 20px;
    min-width: 200px;
    text-align: center;
    transition: 0.2s all ease-in-out;
    font-family: 'Open Sans';
    text-decoration: none;
}

pre strong a {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.2);
}

a.cta:hover,
pre a:hover {
    background: var(--dark-orange) !important;
}

a.cta.simple-button {
    color: var(--blue) !important;
    background: none;
    text-align: left;
    padding: 0;
    font-weight: 600;
    min-width: unset;
}

a.cta.simple-button:hover {
    color: var(--orange) !important;
    background: none !important;
}

.header-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

a.cta.header-button {
    margin: 0;
    background: var(--orange);
}

a.cta.calendar-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 200px;
    max-width: 240px;
    padding: 14px 20px;
}

a.cta.calendar-button img {
    width: 20px;
    height: auto;
    border-radius: 0;
}

a.cta.calendar-button.cancel-button {
    background: var(--red);
}

a.cta.calendar-button.cancel-button:hover {
    background: var(--dark-red) !important;
}


#nettivaraus6-container {
    border-radius: 10px;
}


/*** BANNER OFFER ***/
.banner-offer {
    width: 100%;
    background: var(--dark-blue);
}

.banner-offer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 40px;
}

.banner-offer h3 {
    font-size: 32px;
    font-weight: 500;
    color: var(--orange) !important;
    font-family: 'Oswald';
    margin-top: 6px;
    margin-bottom: 4px;
}

.banner-offer p {
    color: var(--white);
}

.banner-offer p:last-of-type {
    margin-top: 0;
    margin-bottom: 6px;
}

.banner-offer-content a.cta {
    margin: 0;
}

.banner-offer-left {
    width: calc(50% - 20px);
}

.banner-offer-right {
    text-align: right;
    width: calc(50% - 20px);
}



/*** POST LIST (TOIMIPISTE, TYÖNTEKIJÄT, ARTIKKELIT) ***/
.post-image {
    position: relative;
}

.post-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.flex-33.post-list.product .post-image img {
    height: auto;
    aspect-ratio:1;
}

.flex-33.post-list.product .product-price {
    margin-bottom: 20px;
}

.no-image-label {
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    max-width: 70%;
    color: var(--white);
    transform: translate(-50%, -50%);
    background: var(--dark);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
}

.post-content {
    display: flex;
    flex-direction: column;    
    flex: 1;
}

.post-content h3 {
    margin-top: 20px;
    margin-bottom: 0;
}

.post-content ul {
    padding: 0;
    list-style-type: none;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content a {
    text-decoration: none;
    color: var(--dark) !important;
}

.post-content .cta {
    margin-top: auto;
    color: var(--white) !important;
}

/*** PAGE LIST ***/
.sub-page-third-listing .page-list {
    flex: 0 0 calc((100% - 60px) / 3);
    display: flex;
    flex-direction: column;
}

.page-list img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sub-page-third-listing .page-list .post-image img {
    height: 260px;
}

.sub-page-half-listing .page-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sub-page-half-listing .page-list .post-image {
    width: calc(50% - 15px);
}

.sub-page-half-listing .page-list .post-image img {
    height: 500px;
}

.sub-page-half-listing .page-list .post-content {
    width: calc(50% - 15px);
}

.sub-page-half-listing .page-list .post-content a {
    width: auto;
}


/*** TOIMIPISTEET ***/
.office-description {
    font-size: 20px;
    margin-bottom: 30px !important;
}

.office-info {
    margin: 0;
    padding: 0 !important;
    list-style-type: none;
}

.office-info li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--blue);
    border-radius: 6px;
    margin-bottom: 4px;
    font-weight: 600;
}

.office-info li span {
    padding: 20px;
}

.office-info li span span {
    padding:0;
}

.office-info li span.label {
    width: 33.33%;
    color: var(--orange);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px 0 0 6px;
}

.office-info li span.value {
    width: 66.66%;
}

.office-info li span.value a {
    text-decoration: none;
    color:var(--white);
}

ul.office-menu {
    margin: 0;
    padding: 0;
}

.office-menu li {
    display: inline-block;
    margin-right: 30px;
    list-style-type: none;
}

.office-menu li a {
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    transition: 0.2s all ease-in-out;
}

.office-menu li a:hover {
    color: var(--orange);
}

.single-ajas_office ul.products {
    margin-bottom: 0 !important;
}

.single-ajas_office .flex-box h3:first-of-type {
    margin-top: 0;
}

ul.office-service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: start;
}

ul.office-service-list li {
    width: calc(33.33%);
    margin-bottom: 4px;
}

ul.office-service-list li a {
    transition: 0.2s all ease-in-out;
}

ul.office-service-list li a:hover {
    color: var(--orange);
}

.youtube-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

#custom-menu {
    background:var(--blue);
}


/*** BREADCRUMBS ***/
nav.breadcrumbs {
    color: var(--white);
    font-weight: 700;
}

nav.breadcrumbs a {
    color: var(--orange);
    text-decoration: none;
}

/*** TOIMIPISTEIDEN HENKILÖLISTAUS ***/
.user-list {
    flex: 0 0 calc((100% - 90px) / 4);
}

.user-list h3 {
    margin-top:20px;
    margin-bottom: 0;
}

.user-list h5 {
    margin-top: 4px;
    margin-bottom: 0;
}

.user-list a {
    text-decoration: none;
    color: inherit;
}

.user-image {
    position: relative;
}

.user-list img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    transition: 0.2s all ease-in-out;
}

.user-list img:hover {
    opacity: 0.9;
}

.mama-personnel {
    margin-bottom: 60px;
}
.mama-personnel:last-of-type {
    margin-bottom: 0;
}


/*** YKSITTÄINEN HENKILÖ ***/
img.user-header-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.user-info {
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 40px;
    border-bottom: solid 10px var(--dark-blue);
}

.user-header-image img {
    border-radius: 50% !important;
    height: 350px;
    object-fit: cover;
    object-position: top center;
    border: solid 10px var(--grey);
}

.user-info h1 {
    margin: 0;
    font-size: 56px;
}

.user-info h2 {
    margin-bottom: 0;
}

.user-info h2 a {
    color: inherit;
    text-decoration: none;
}

.user-info h4 {
    margin-top: 10px;
    margin-bottom: 0;
}

.user-info h6 {
    display: inline-block;
    margin-bottom: 10px;
}

.user-info h6:nth-of-type(2) {
    border-left: solid 2px var(--blue);
    padding-left: 12px;
    margin-left: 10px;
}

.user-info h6 a {
    color: inherit;
    text-decoration: none;
}

.service-sidebar {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    margin-top:20px;
}

.service-sidebar h3 {
    margin-top: 0;
}

.service-sidebar a, .office-services a {
    display: block;
    font-size: 16px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 6px;
    transition: 0.2s all ease-in-out;
}

.service-sidebar a:last-of-type, .office-services a:last-of-type {
    margin-bottom: 0;
}

.service-sidebar a:hover, .office-services a:hover {
    color: var(--orange);
}

.social-links {
    margin-bottom: 40px;
}

a.cta.some-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 200px;
    margin-top:12px;
}

a.cta.some-button span svg {
    width: 20px;
    height: auto;
}

span.some-icon {
    height: 21px;
}

ul.ajas-price-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
ul.ajas-price-list li {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    border-bottom: dashed 1px rgba(0, 0, 0, 0.1);
    padding-bottom: 2px;
}
ul.ajas-price-list li:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
span.ajas-service {
    width: calc(100% - 70px);
}
span.ajas-price {
    font-weight: 700;
    width: 70px;
    text-align: right;
    color: var(--blue);
}

/*** GALLERY ***/
.acf-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.acf-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-radius: 10px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 30px;
}

.lightbox.active {
    display: flex;
}


/*** YKSITTÄINEN POSTI ***/
.post-banner-image {
    position: relative;
}

.post-banner-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 30px;
}

.post-banner-header h1 {
    font-size: 56px;
    margin-top: 0;
    padding-left: 20px;
    padding-bottom: 4px;
    border-left: solid 4px var(--orange);
}

.post-banner-header p {
    font-size: 20px;
}

a.post-category,
a.post-tag,
p.post-category {
    background: var(--orange);
    padding: 6px 14px;
    display: inline-block;
    border-radius: 4px;
    color: var(--dark);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

p.post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    border-radius: 30px;
}

figure {
    position: relative;
}

figure.wp-block-image img {
    width: 100%;
    border-radius: 20px;
    margin-top: 30px;
}

figcaption.wp-element-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--blue);
    margin: 0;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border-radius: 0 0 20px 20px;
    color: var(--white);
    font-weight: bold;
}


.author-excerpt {
    margin-top: 10px;
}

.post-menu-container {
    border-radius: 10px;
    overflow: hidden;
}

.post-menu-container p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px !important;
    margin-top: 0;
    color: var(--orange) !important;
}

.post-menu-container a {
    font-size: 20px;
    letter-spacing: -0.4px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s all ease-in-out;
    color: var(--dark) !important;
}

.previous-post {
    width: 50%;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
}

.next-post {
    width: 50%;
    padding: 30px;
    background: var(--blue);
    border-radius: 20px;
}

.next-post a {
    color: var(--white) !important;
}

body .is-layout-flex {
    align-items: center !important;
}

.wp-block-quote {
    background: var(--light);
    margin: 30px 0;
    padding: 10px; 
    border-radius: 10px;
    text-align: center;
}
.wp-block-quote p {
    font-style: italic;
    font-size: 20px;
}



/*** UKK ***/
.accordion {
    margin-bottom: 20px;
}

.accordion-item {
    position: relative;
    overflow: hidden;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
    margin-bottom: 12px;
    width: 100%;
    border-radius: 10px;
}

.white-container .accordion-item {
    background: var(--light);
}

.light-container .accordion-item {
    background: var(--white);
}

.dark-container .accordion-item {
    background: var(--blue);
}

.accordion-title {
    margin: 20px 20px 20px 0;
    padding-bottom: 0;
    padding-left: 20px;
    transition: 0.2s all ease-in-out;
}

.accordion-item::after {
    content: '+';
    position: absolute;
    top: 36px;
    right: 24px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 500;
    line-height: 0;
    transition: 0.2s all ease-in-out;
    color: var(--dark);
}

.dark-container .accordion-item::after {
    color: var(--white);
}

.accordion-content {
    padding: 20px 20px 20px 20px;
    display: none;
}

.accordion-content a {
    color: var(--orange);
    text-decoration: none;
}

.accordion-content p {
    margin-top: 0;
}

.accordion-item.active::after {
    content: '+';
    transform: rotate(135deg);
}

.accordion-content ul {
    margin-top: 0;
}


/*** FILTERIT ***/
.henkilosto-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.henkilosto-filters input,
.henkilosto-filters select {
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 16px;
    min-width: 200px;
    background: var(--light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Open Sans';
    font-weight: 500;
}
.henkilosto-filters input:focus,
.henkilosto-filters select:focus {
    outline: none;
    border-color: var(--dark);
}
.user-card[style*="display: none"] {
    opacity: 0;
}
.user-offices {
    position: absolute;
    bottom:20px;
    left:50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    width:calc(100% - 40px);
}
.office-badge {
    background: var(--orange);
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
}
#noResultsMessage p {
    font-size: 16px;
    margin-bottom: 10px;
}
#resetFilters {
    padding: 8px 14px;
    border: 1px solid var(--dark);
    background: var(--white);
    cursor: pointer;
    border-radius: 6px;
}
#resetFilters:hover {
    background: var(--dark);
    color: var(--white);
}


/*** SEARCH ***/
.site-search {
    position: relative;
    height: 22px;
}

.site-search img {
    width: 22px;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.search-overlay {
    position: absolute;
    right: 0;
    top: 38px;
    width: calc(var(--max-width) - 80px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
}

.site-search.active .search-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-field {
    width: 100%;
    padding: 38px 40px 37px 40px;
    background: var(--blue);
    color: var(--white);
    font-size: 20px;
    border: none;
    border-radius: 10px;
    outline: none;
}

.search-field::placeholder {
    color: var(--white);
}

button.search-submit {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--orange);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    padding: 14px 30px;
    color: var(--white) !important;
    font-weight: 600;
    line-height: 1.3;
    min-width: 200px;
    transition: 0.2s all ease-in-out;
    font-family: 'Open Sans';
    cursor: pointer;
}


/*** SEARCH RESULTS ***/
.search-results h1 {
    margin-top: 0;
}

.white-container .flex-box {
    background: var(--light);
}

.light-container .flex-box {
    background: var(--white);
}

.dark-container .flex-box {
    background: var(--blue);
}

.flex-box {
    border-radius: 20px;
    padding: 30px;
}

.flex-box-container .flex-box {
    margin:0 !important;
}

.flex-box a {
    color: var(--dark);
    text-decoration: none;
}



/*** KOKEMUSMITTARI ***/
.km-widget {
    padding: 0 !important;
}

h2.km-widget-title {
    font-family: "Oswald", sans-serif !important;
}

.km-widget .km-box-mid {
    font-family: "Open Sans", sans-serif !important;
}

.kokemusmittari-palautteet-container h2 {
    text-align: center;
}

.splide__pagination {
    bottom:0 !important;
}

/*** PAGE TEMPLATE HOME ***/
.page-template-acf-alasivu .dark-container:last-of-type iframe {
    margin-top: 40px;
}


/*** NEWSLETTER ***/
div#mc_embed_signup {
    width: 100%;
    text-align: center;
}

#mc_embed_signup {
    background: none !important;
}

.indicates-required {
    display: none;
}

.mc-field-group label {
    display: block;
    color: var(--orange);
    font-weight: bold;
    margin-bottom: 10px;
    font-family: "Open Sans", sans-serif !important;
}

.email {
    width: 400px;
    border-radius: 6px !important;
    height: 52px;
}

input#mc-embedded-subscribe {
    background: var(--blue) !important;
    border-radius: 10px;
    font-size: 18px;
    padding: 14px 40px;
    color: var(--white) !important;
    font-weight: 600;
    line-height: 1.3;
    display: inline-block;
    margin-top: 20px;
    min-width: 200px;
    text-align: center;
    transition: 0.2s all ease-in-out;
    font-family: "Open Sans", sans-serif !important;
    border: none !important;
    cursor: pointer;
}

input#mc-embedded-subscribe:hover {
    background: var(--orange) !important;
}

#mc_embed_signup div.mce_inline_error {
    background: var(--orange) !important;
    color: var(--dark) !important;
    max-width: 200px;
    margin: 0 auto !important;
    margin-top: 20px !important;
    border-radius: 4px;
}

/*** WOOCOMMERCE ***/
ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 120px !important;
}

.single-product ul.products {
    margin-bottom: 0 !important;
}

li.product {
    margin: 0 !important;
}

h2.product-category-title {
    margin-bottom: 40px;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    width: 100%;
    flex: 1;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: 0;
    flex: 0 0 calc((100% - 90px) / 4);
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
    display: none;
}


nav.woocommerce-breadcrumb {
    margin-bottom: 0 !important;
    color: var(--white) !important;
    font-weight: 700 !important;
}

nav.woocommerce-breadcrumb a {
    color: var(--orange) !important;
    text-decoration: none !important;
}

h1.product_title.entry-title {
    font-size: 56px;
    margin-bottom: 0;
}

h1.woocommerce-products-header__title.page-title,
h1.page-title {
    font-size: 56px;
    margin-top: 0;
}

p.price {
    font-weight: 700;
    color: var(--blue) !important;
    font-size: 34px !important;
    margin-top: 0;
    margin-bottom: 20px;
}

button#ajas_preview_button {
    margin: 0;
}

.ajas_giftcards_qty_text {
    margin-bottom: 8px;
}

ul.tabs.wc-tabs {
    display: none;
}

.woocommerce-tabs.wc-tabs-wrapper {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    margin: 20px 0 40px 0;
}

.woocommerce div.product div.images img {
    border-radius: 20px;
}

button.single_add_to_cart_button.button.alt,
a.button.product_type_.add-to-cart.ajas-lahjakortit-button,
a.button.wc-forward, 
a.wc-block-components-button {
    background: var(--blue);
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.3;
    padding: 14px 30px 14px 30px;
    color: var(--white) !important;
    font-weight: 600;
    transition: 0.2s all ease-in-out;
    text-decoration: none;
    font-family: 'Open Sans';
}

a.wc-block-components-product-name { 
    color: var(--dark);
    text-decoration: none;
    font-size: 24px !important;
    font-family: 'Oswald';
}

button.single_add_to_cart_button.button.alt {
    width: calc(100% - 70px);
}

a.button.product_type_.add-to-cart.ajas-lahjakortit-button {
    width: 100%;
    text-align: center;
}

button.single_add_to_cart_button.button.alt:hover,
a.button.product_type_.add-to-cart.ajas-lahjakortit-button:hover,
a.button.wc-forward:hover {
    background: var(--orange);
}

select#ajas_preview_select,
select.orderby,
input#ajas_price_change_field {
    background: var(--light);
    border: none;
    padding: 16px;
    font-weight: 600;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px;
    width: 100%;
}

input#ajas_price_change_field {
    margin-top: 10px;
}

p#ajas_price_change_form {
    margin-bottom: 10px;
}

button#ajas_preview_button {
    background: var(--light);
    border: none;
    padding: 16px;
    font-weight: 600;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.woocommerce .quantity .qty {
    height: 48px;
    border-radius: 6px;
    border: none;
    background: var(--light);
    font-weight: 700;
    font-size: 18px;
}

.product.type-product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-product-gallery__image {
    border-radius: 20px;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    width: calc(50% - 15px);
}

.woocommerce div.product div.summary {
    margin-bottom: 0;
    width: calc(50% - 15px);
    float: none;
}

.woocommerce div.product form.cart {
    margin-bottom: 20px;
}

.product_meta>span {
    width: 100%;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.woocommerce ul.products li.product a img {
    border-radius: 20px;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    margin: 0;
    margin-top: 10px;
    font-size: 22px;
}

span.price {
    font-weight: 700 !important;
    color: var(--blue) !important;
    font-size: 20px !important;
    margin-bottom: 0 !important;
}

.product-price span.woocommerce-Price-amount.amount {
    display: inline-block;
    font-weight: 700;
    color: var(--blue);
    font-size: 20px;
}


/*** WOOCOMMERCE MESSAGES ***/
.woocommerce-message {
    border-top-color: var(--green);
    color: var(--dark);
    font-weight: 600;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline:none;
    border-radius: 10px;
}

.woocommerce-message::before, .woocommerce-message::after {
    display: none;
}

/*** CART AND CHECKOUT ***/
form.woocommerce-cart-form {
    background: var(--white);
    border-radius: 20px;
    padding:30px;
}
td.actions {
    padding-bottom: 0 !important;
}
.cart_totals {
    margin-top: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
}
.wc-proceed-to-checkout {
    padding-bottom: 0;
}
a.checkout-button.button.alt.wc-forward {
    margin-bottom: 0;
    background:var(--blue);
}
.woocommerce table.shop_table {
    border:none;
    background:none;
    margin:0;
}
input#coupon_code {
    background: var(--light);
    border: none;
    padding: 14px 30px;
    width: 180px;
    text-align: center;
    border-radius: 6px;
    font-size:16px;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Open Sans';
}
.woocommerce .cart .button, .woocommerce .cart input.button {
    background: var(--blue);
    border-radius: 6px;
    font-size: 16px;
    padding: 14px 30px 14px 30px !important;
    color: var(--white) !important;
    font-weight: 600;
    line-height: 1.3;
    min-width: 200px;
    transition: 0.2s all ease-in-out;
    font-family: 'Open Sans';
}
.woocommerce-cart table.cart td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.woocommerce-cart table.cart td, .woocommerce-cart table.cart th {
    padding: 30px;
    vertical-align: middle;
}
td.product-name a {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 20px;
}


/*** CHECKOUT ***/
form.checkout.woocommerce-checkout {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
form.checkout.woocommerce-checkout h3 {
    margin-top: 0;
}
div#customer_details, div#order_review {
    width:calc(50% - 15px);
}
.col-1 {
    width:100% !important;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
    padding: 16px 0;
}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, span#select2-billing_country-container {
    background: var(--light);
    border: none;
    padding: 16px;
    font-weight: 600;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px;
}
.woocommerce-info {
    background: var(--white);
    font-weight: bold;
    color: var(--dark);
    border-top-color: var(--blue);
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: var(--light);
    border-radius: 10px;
    margin-top: 48px;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background: var(--light);
    border-radius: 10px;
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid var(--light);
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}
.paytrail-provider-group {
    border-radius: 6px;
}
.hyvinvointi-choices-form-container { 
    margin-top: 12px;
}
.ajas-payments-line {
    text-align: left;
}
.woocommerce form .form-row { 
    margin-bottom: 0;
}
button#place_order {
    width: 100%;
    padding: 1em;
    background: var(--blue);
    border-radius: 6px;
    font-size: 1.25em;
    line-height: 1.3;
    color: var(--white) !important;
    font-weight: 600;
    transition: 0.2s all ease-in-out;
    font-family: 'Open Sans';
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:last-of-type {
    margin-bottom: 0;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin-top: 0;
    flex-shrink: 0;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    flex: 1;
    margin: 0;
    cursor: pointer;
}
.woocommerce-checkout #payment .payment_box {
    width: 100%;
    margin-left: 24px;
}
.woocommerce-checkout #payment input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--dark);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    margin: 2px 0 0;
    transition: all 0.2s ease;
}
.woocommerce-checkout #payment input[type="radio"]:hover {
    border-color: var(--blue);
}
.woocommerce-checkout #payment input[type="radio"]:checked {
    border-color: var(--blue);
    background: var(--white);
}
.woocommerce-checkout #payment input[type="radio"]:checked::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--blue);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.woocommerce-checkout #payment input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
}
.paytrail-woocommerce-payment-fields--list-item--input {
    position: absolute !important;
}
ul.paytrail-woocommerce-payment-fields {
    padding-left: 0;
}
body .payment_box.payment_method_paytrail .paytrail-provider-group.selected {
    background-color: var(--blue) !important;
}
.col-narrow .paytrail-provider-group-title {
    margin:0 !important;
}


/*** PRICING TABLE ***/
.full-width-text table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}
.full-width-text thead {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}
.full-width-text th, .full-width-text td {
    padding: 8px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-family: 'Open Sans';
    border-right: solid 1px rgba(0, 0, 0, 0.1);
}
.full-width-text th {
    font-weight: 700;
    width: 50%;
}
.white-container .full-width-text th {
    background-color: var(--light);
}
.light-container .full-width-text th {
    background-color: var(--white);
}
.full-width-text th:first-of-type, .full-width-text td:first-of-type {
    border-left: solid 1px rgba(0,0,0,0.1);
}


/*** MOBILE SLIDER ***/
.slider-dots {
    display: none;
}
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.1s;
}
.slider-dots .dot.active {
    background: var(--orange);
}


/*** FOOTERCONTAINER ***/
#footercontainer {
    border-top: solid 10px var(--blue);
}

#footercontainer ul {
    padding: 0;
    list-style-type: none;
}

#footercontainer li,
#footercontainer p,
.smallprint li,
.smallprint p {
    font-weight: 600;
}

#footercontainer a {
    text-decoration: none;
    transition: 0.2s all ease-in-out;
    color: var(--dark);
}

#footercontainer a:hover {
    color: var(--orange);
}

#back-to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 90px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 40px;
    border: none;
    background: var(--blue);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: background 0.2s ease-in-out, opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

#back-to-top:hover {
    background:var(--orange);
}

#back-to-top img {
    width:20px;
    height: 20px;
    object-fit: contain;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/*** SOME LINKS ***/
ul.some-links {
    margin-bottom: 40px;
}
ul.some-links li {
    margin-top: 12px;
}
ul.some-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    width:max-content;
}
ul.some-links li a img {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: var(--light);
    padding: 12px;
    border-radius: 4px;
}


/*** 404 ***/
.error404 h1 {
    margin-bottom: 0;
}

.page-search {
    position: relative;
    margin-top: 40px;
}



/*** MEDIA QUERIES ***/
@media(max-width: 1650px) {
    .banner-content h1 {
        font-size: 5vw;
    }

    .banner-content p {
        font-size: 22px;
    }

    .main-navigation .main-nav ul ul li a {
        font-size: 13px !important;
        padding: 6px 16px;
        text-transform: none !important;
    }
}

@media(max-width: 1367px) {
    .site-title {
        left: 30px;
    }

    .header-right {     
        right: 30px;
    }

    .site-header-top {
        padding: 0 30px;
    }

    .main-navigation ul ul {
        width: calc(var(--max-width) - 60px);
    }

    .mobile-menu {
        right: 30px;
    }

    .search-overlay {
        width: 600px;
    }

    .banner-content {
        padding: 30px;
    }

    .banner-offer-content {
        padding: 10px 30px;
    }

    a.cta {
        min-width: 160px;
    }

    .white-container .site-content,
    .light-container .site-content,
    .dark-container .site-content,
    .blue-container .site-content {
        padding: 60px 30px;
    }

    .site-content.padding-top-120 {
        padding-top: 60px;
    }

    .site-content.padding-top-100 {
        padding-top: 50px;
    }

    .site-content.padding-top-80 {
        padding-top: 40px;
    }

    .site-content.padding-top-60 {
        padding-top: 30px;
    }

    .site-content.padding-top-40 {
        padding-top: 20px;
    }

    .site-content.padding-bottom-120 {
        padding-bottom: 60px;
    }

    .site-content.padding-bottom-100 {
        padding-bottom: 50px;
    }

    .site-content.padding-bottom-80 {
        padding-bottom: 40px;
    }

    .site-content.padding-bottom-60 {
        padding-bottom: 30px;
    }

    .site-content.padding-bottom-40 {
        padding-bottom: 20px;
    }

    .white-container.text-media .flex-50.flex-media:before,
    .light-container.text-media .flex-50.flex-media:before {
        width: 400px;
        height: 400px;
    }

    .white-container.media-text .flex-50.flex-media:before,
    .light-container.media-text .flex-50.flex-media:before {
        width: 400px;
        height: 400px;
    }

    .user-info {
        padding: 30px;
    }

    .previous-post,
    .next-post {
        padding: 30px;
    }

    .service-sidebar {
        padding: 30px;
    }
}

@media(max-width: 1200px) {
    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 24px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .search-toggle {
        margin-right: 60px;
    }

    .user-list,
    .flex-25 {
        flex: 0 0 calc((100% - 60px) / 3);
    }

    .user-list img {
        max-height: 300px;
    }

    ul.office-service-list li {
        width: 50%;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        flex: 0 0 calc((100% - 60px) / 3);
    }
}

@media(max-width: 991px) {
    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    p.site-title-text {
        display: none;
    }

    .banner-content p {
        font-size: 20px;
    }

    .flex-66 {
        width: 100%;
    }

    .flex-50 {
        width: 100%;
        margin-bottom: 30px;
    }

    .flex-50:last-of-type {
        margin-bottom: 0 !important;
    }

    .flex-50.flex-media {
        margin-bottom: 30px;
    }

    .flex-50 img {
        height: 100%;
    }

    .flex-33 {
        width: 100%;
        margin-bottom: 30px;
    }

    .flex-33:last-of-type {
        margin-bottom: 0;
    }

    .flex-33.post-list,
    .flex-33.user-list {
        margin-bottom: 0;
    }

    .flex-text {
        width: 100% !important;
        order: 1 !important;
    }

    .flex-text:nth-of-type(1) {
        margin-bottom: 30px;
    }

    .flex-text {
        padding: 0 !important;
    }

    h1,
    .flex-text h1,
    .post-banner-header h1,
    .user-info h1,
    h1.product_title.entry-title,
    h1.woocommerce-products-header__title.page-title,
    h1.page-title {
        font-size: 42px;
    }

    .flex-media {
        order: 2 !important;
    }

    .media-text .flex-50:first-of-type {
        margin-bottom: 30px !important;
    }

    .media-text .flex-50:last-of-type {
        margin-bottom: 0 !important;
    }

    .white-container .site-content,
    .light-container .site-content,
    .dark-container .site-content,
    .blue-container .site-content {
        padding: 40px 30px;
    }

    .site-content.padding-top-120 {
        padding-top: 40px;
    }

    .site-content.padding-top-100 {
        padding-top: 40px;
    }

    .site-content.padding-top-80 {
        padding-top: 30px;
    }

    .site-content.padding-top-60 {
        padding-top: 30px;
    }

    .site-content.padding-top-40 {
        padding-top: 20px;
    }

    .site-content.padding-bottom-120 {
        padding-bottom: 40px;
    }

    .site-content.padding-bottom-100 {
        padding-bottom: 40px;
    }

    .site-content.padding-bottom-80 {
        padding-bottom: 30px;
    }

    .site-content.padding-bottom-60 {
        padding-bottom: 30px;
    }

    .site-content.padding-bottom-40 {
        padding-bottom: 20px;
    }

    .flex-50 img {
        border-radius: 10px;
    }

    .height-40,
    .height-40 video,
    .height-40 img {
        min-height: 400px;
    }

    .height-50,
    .height-50 video,
    .height-50 img {
        min-height: 500px;
    }

    .height-60,
    .height-60 video,
    .height-60 img {
        min-height: 600px;
    }

    .height-70,
    .height-70 video,
    .height-70 img {
        min-height: 600px;
    }

    .height-80,
    .height-80 video,
    .height-80 img {
        min-height: 600px;
    }

    .height-90,
    .height-90 video,
    .height-90 img {
        min-height: 600px;
    }

    .height-100,
    .height-100 video,
    .height-100 img {
        min-height: 600px;
    }

    .button-container {
        padding-top: 30px;
        margin-top: 30px;
    }

    .button-container .flex-66 {
        width: 100%;
    }

    .button-container .flex-33 {
        width: 100%;
        text-align: left;
    }

    .button-container p {
        margin-bottom: 30px !important;
    }

    .flex-33.post-list:last-of-type {
        margin-bottom: 0;
    }

    .post-content h3 {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .service-content p {
        min-height: unset;
    }

    .office-description {
        font-size: 18px;
    }


    .post-banner-header p {
        font-size: 18px;
    }

    .sub-page-third-listing .page-list {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .user-header-image img {
        max-height: unset;
        max-width: 340px;
        aspect-ratio: 1;
    }

    .post-menu-container a {
        font-size: 18px;
        font-weight: 600;
    }

    .previous-post,
    .next-post {
        margin-bottom: 0;
    }

    .woocommerce div.product div.images.woocommerce-product-gallery {
        width: 100%;
    }

    .woocommerce div.product div.summary {
        width: 100%;
        margin-bottom: 40px;
    }

    .product-price {
        margin-top: -10px;
        margin-bottom: 10px;
    }


    .white-container.text-media .flex-50.flex-media:before,
    .light-container.text-media .flex-50.flex-media:before {
        right: -60px;
        top: -60px;
        width: 400px;
        height: 400px;
    }

    .white-container.media-text .flex-50.flex-media:before,
    .light-container.media-text .flex-50.flex-media:before {
        left: -60px;
        bottom: -60px;
        width: 400px;
        height: 400px;
    }

    .dark-container.text-media .flex-50.flex-media:before {
        right: -60px;
        top: -60px;
        width: 400px;
        height: 400px;
    }

    .dark-container.media-text .flex-50.flex-media:before {
        left: -60px;
        bottom: -60px;
        width: 400px;
        height: 400px;
    }

    div#customer_details, div#order_review {
        width: 100%;
    }

    div#customer_details {        
        margin-bottom: 40px;
    }

    .shorts-video iframe {
        aspect-ratio: 9 / 16;
    }

    .flex-text iframe,
    .flex-text img {
        border-radius: 10px;
    }

    .site-content iframe {
        border-radius: 10px;
    }

    .flex-box {
        border-radius: 10px;
    }

    .user-list img {
        border-radius: 10px;
    }

    .flex-33 img, .flex-25 img {
        border-radius: 10px;
    }
}


@media(max-width: 768px) {
    .header-cart.desktop-cart {
        display: none;
    }
    .header-cart.mobile-cart {
        display: block;
    }
    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    .search-overlay {
        width: calc(100vw - 60px);
    }

    h1,
    .flex-text h1,
    .post-banner-header h1,
    .user-info h1,
    h1.product_title.entry-title,
    h1.woocommerce-products-header__title.page-title,
    h1.page-title {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .search-field {
        font-size: 18px;
    }

    .page-template-acf-alasivu h2 {
        font-size: 32px;
    }

    a.cta,
    pre a {
        min-width: 160px;
        padding: 12px 30px;
        border-radius: 6px;
    }

    .banner-offer-content {
        padding: 20px 30px;
    }

    .banner-offer-left {
        width: 100%;
    }

    .banner-offer-right {
        width: 100%;
        text-align: left;
    }

    .banner-offer-content a.cta {
        margin-top: 10px;
    }

    .banner-offer h3 {
        font-size: 24px;
    }

    .banner-offer p {
        font-size: 14px;
        line-height: 1.6;
    }

    .white-container.text-media .flex-50.flex-media:before,
    .light-container.text-media .flex-50.flex-media:before {
        width: 300px;
        height: 300px;
    }

    .white-container.media-text .flex-50.flex-media:before,
    .light-container.media-text .flex-50.flex-media:before {
        width: 300px;
        height: 300px;
    }

    .user-list,
    .flex-25 {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    ul.office-service-list li {
        width: 100%;
    }

    .map-embed iframe {
        height: 300px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .woocommerce-message a.wc-forward {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .woocommerce-tabs.wc-tabs-wrapper {     
        margin: 20px 0 20px 0;
    }

    .flex-50 img,
    .flex-50 video {
        height: 400px;
    }

    .office-menu li {
        margin-right: 16px;
    }

    .office-menu li a {
        font-size: 14px;
    }

    .accordion-item::after {
        top: 32px;
    }

    .is-medium table.wc-block-cart-items .wc-block-cart-items__row,
    .is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
    .is-small table.wc-block-cart-items .wc-block-cart-items__row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 0;
        margin-bottom: 40px;
    }

    tr.wc-block-cart-items__row:last-of-type {
        margin-bottom: 0 !important;
    }

    tr.wc-block-cart-items__row td {
        width: 100%;
        padding-right: 0 !important;
    }

    .wc-block-cart-item__image img {     
        border-radius: 10px;
    }

    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block, table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {  
        padding: 20px;
        margin-bottom: 20px;
    }

    .woocommerce-message {     
        display: flex;
        flex-direction: column;
    }

    .woocommerce .coupon {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-bottom: 0 !important;
    }

    input#coupon_code {
        width:100%;
        margin:0;
    }

    .woocommerce .coupon button {
        width: 100% !important;
    }

    .woocommerce table.shop_table th, .woocommerce table.shop_table td {
        padding: 16px 10px;
    }

    ul.paytrail-woocommerce-payment-fields li {
        width: 100% !important;    
    }

    #payment .payment_methods li label {
        display: block !important;
    }

    .paytrail-woocommerce-payment-fields--list-item--wrapper {
        border-radius: 10px;
    }

    .woocommerce form .form-row .input-text, .woocommerce form .form-row select, span#select2-billing_country-container {
        padding:12px;
    }

    ul.splide__pagination.splide__pagination--ltr {
        display: none;
    }


}


@media(max-width: 650px) {
    .overlay {
        width: 100%;
        right: -100%;
        padding: 131px 30px;
    }

    .overlay ul.menu {
        margin-top:30px;
    }

    .overlay ul.menu li a {
        font-size: 22px;
        line-height: 32px;
        font-weight: 600;
    }

    .flex-container.mobile-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 20px;
    }
    .flex-container.mobile-slider::-webkit-scrollbar {
        display: none;
    }
    .flex-container.mobile-slider .flex-33 {
        flex: 0 0 85%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    ul.products.mobile-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 20px;
        padding: 0;
        list-style: none;
    }
    ul.products.mobile-slider::-webkit-scrollbar {
        display: none;
    }
    ul.products.mobile-slider li.product {
        flex: 0 0 85% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .henkilosto-filters {
        flex-direction: column;
    }

    .henkilosto-filters input,
    .henkilosto-filters select {
        width: 100%;
    }

    .user-image img {
        height: 250px;
    }
}


@media(max-width: 520px) {
    h2 {
        font-size: 24px;
    }

    h2.wp-block-heading {
        margin-top: 20px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }

    h5 {
        font-size: 15px;
    }

    h6 {
        font-size: 14px;
    }

    .mobile-menu {
        right: 20px;
    }

    .search-toggle {
        margin-right: 40px;
    }

    .site-header {
        height: 65px;
    }

    .site-header-top {
        height: 50px;
        padding: 0 20px;
    }

    .header-right {     
        right: 20px;
    }

    .header-cart img {
        width: 20px;     
    }

    .cart-count {
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
    }

    .site-title {
        left: 20px;
    }

    .site-title img {
        width: 100px;
    }

    .search-overlay {
        width: calc(100vw - 40px);
    }

    .overlay {    
        padding: 115px 20px;
    }

    .overlay ul.menu li {
        margin-bottom: 14px;
    }

    .overlay ul.menu li a {
        font-size: 18px;
        line-height: 26px;
        font-weight: 500;
    }

    .overlay ul.menu li.menu-item-has-children:before {     
        top: -4px;
    }

    button.search-submit {
        min-width: 100px;
    }

    h1,
    .flex-text h1,
    .post-banner-header h1,
    .user-info h1,
    h1.product_title.entry-title,
    h1.woocommerce-products-header__title.page-title,
    h1.page-title {
        font-size: 32px;
    }

    p,
    li,
    div {
        font-size: 14px;
        line-height: 1.4;
    }

    .button-container a.cta {
        width: 100%;
    }

    a.cta.calendar-button {
        padding: 14px 10px;
    }

    a.cta.header-button.calendar-button {
        width: 135px;
        min-width: unset;
    }

    .banner-content {
        padding: 20px;
    }

    .banner-content h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .banner-content p {
        font-size: 16px;
        margin-bottom: 0;
    }

    .search-field {
        padding: 34px 30px 34px 30px;
        font-size: 16px;
    }

    button.search-submit {
        right: 20px;
    }

    .banner-offer-content {
        padding: 20px;
    }

    a.cta,
    pre a {
        min-width: 130px;
        font-size: 14px;
        padding: 14px 10px;
        margin-top: 16px;
    }

    a.cta.calendar-button {
        width: 160px;
    }

    a.cta.calendar-button img {
        width: 18px;
    }

    .booking-container a.cta.calendar-button {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    img.size-full {
        max-width: 100% !important;
    }

    .white-container .site-content,
    .light-container .site-content,
    .dark-container .site-content,
    .blue-container .site-content {
        padding: 30px 20px;
    }

    .flex-50 {
        margin-bottom: 20px;
    }

    .flex-50 img,
    .flex-50 video {
        height: 100%;
        max-height: 300px;
    }

    .flex-text:nth-of-type(1) {
        margin-bottom: 20px;
    }

    .flex-text h1 {
        font-size: 34px;
    }

    .office-description {
        font-size: 16px;
    }

    .office-info li span {
        padding: 16px;
    }

    .office-info li span.label,
    .office-info li span.value {
        width: 50%;
    }

    .office-menu li {
        margin-right: 12px;
    }

    .office-menu li a {
        font-size: 12px;
    }

    .post-banner-image img {
        border-radius: 20px;
    }

    .post-banner-header p {
        font-size: 14px;
    }

    figcaption.wp-element-caption {
        padding: 6px;
        font-size: 10px;
    }

    .post-menu-container a {
        font-size: 16px;
    }

    .accordion-title {
        margin: 20px 50px 20px 0;
    }

    .accordion-content {
        padding: 0px 20px 20px 20px;     
    }


    .height-40,
    .height-40 video,
    .height-40 img {
        height: 30vh;
        min-height: 300px;
    }

    .height-50,
    .height-50 video,
    .height-50 img {
        height: 40vh;
        min-height: 300px;
    }

    .height-60,
    .height-60 video,
    .height-60 img {
        height: 50vh;
        min-height: 400px;
    }

    .height-70,
    .height-70 video,
    .height-70 img {
        height: 50vh;
        min-height: 400px;
    }

    .height-80,
    .height-80 video,
    .height-80 img {
        height: 55vh;
        min-height: 400px;
    }

    .height-90,
    .height-90 video,
    .height-90 img {
        height: 60vh;
        min-height: 400px;
    }

    .height-100,
    .height-100 video,
    .height-100 img {
        height: 60vh;
        min-height: 400px;
    }

    .user-list,
    .flex-25 {
        flex: 0 0 100%;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        flex: 0 0 100%;
    }

    form.woocommerce-cart-form {
        padding: 20px;
    }

    td.product-name a {     
        font-size: 16px;
    }

    span.woocommerce-Price-amount.amount {
        font-size: 18px;
        font-weight: 700;
    }

    form.checkout.woocommerce-checkout {
        padding: 20px;
    }

    p#billing_first_name_field {
        width: 100%;
    }

    p#billing_last_name_field {
        width: 100%;
    }

    ul.products {     
        margin-bottom: 0 !important;
    }

    .products-slider-wrap .slider-dots {
        margin-bottom: 60px;
    }

    h2.product-category-title {
        margin-bottom: 20px;
    }

    h2.woocommerce-loop-product__title {
        font-size: 20px !important;
    }

    button.single_add_to_cart_button.button.alt, a.button.product_type_.add-to-cart.ajas-lahjakortit-button, a.button.wc-forward {
        font-size: 14px;
        padding: 14px 10px;
    }

    .sub-page-third-listing .page-list {
        flex: 0 0 100%;
    }

    .sub-page-half-listing .page-list .post-image,
    .sub-page-half-listing .page-list .post-content {
        width: 100%;
    }

    .sub-page-half-listing .page-list .post-image img {
        height: 260px;
    }

    .user-info {
        padding: 20px;
    }

    .user-header-image img {
        max-width: 100%;
    }

    .service-sidebar {
        padding: 20px;
    }

    .post-menu-container {
        margin-top: 30px;
    }

    .post-menu-container p {
        font-size: 14px;
    }

    .previous-post,
    .next-post {
        padding: 20px;
    }

    .flex-box-container {     
        gap: 20px;
    }

    .flex-box {
        padding: 20px;
    }

    .white-container.text-media .flex-50.flex-media:before,
    .light-container.text-media .flex-50.flex-media:before {
        right: -40px;
        top: -40px;
        width: 300px;
        height: 300px;
    }

    .white-container.media-text .flex-50.flex-media:before,
    .light-container.media-text .flex-50.flex-media:before {
        left: -40px;
        bottom: -40px;
        width: 300px;
        height: 300px;
    }

    .dark-container.text-media .flex-50.flex-media:before {
        right: -40px;
        top: -40px;
        width: 300px;
        height: 300px;
    }

    .dark-container.media-text .flex-50.flex-media:before {
        left: -40px;
        bottom: -40px;
        width: 300px;
        height: 300px;
    }

    #footercontainer li,
    #footercontainer p,
    .smallprint li,
    .smallprint p {
        font-size: 12px;
    }

    #mc_embed_signup_scroll .email {
        width: 100%;
    }

    #footercontainer .flex-50 {
        margin-bottom: 0;
    }

    ul.some-links {
        margin-bottom: 20px;
    }

    .post-content {
        display: block;
    }

    .post-content h3 {
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }

    .post-content p {
        margin-top:0;
    }

    .flex-33 {    
        margin-bottom: 20px;
    }

    .user-header-image img {
        height: unset;    
        aspect-ratio: 1;
    }

    #back-to-top {
        width: 50px;
        height: 50px;
    }

}

@media(max-width: 420px){
    .site-title img {
        width: 80px;
    }
}

h2.km-widget-title {
    text-align: left;
    display: none;
}


