.wpcf7 .screen-reader-response {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
word-wrap: normal !important;
}
.wpcf7 .hidden-fields-container {
display: none;
}
.wpcf7 form .wpcf7-response-output {
margin: 2em 0.5em 1em;
padding: 0.2em 1em;
border: 2px solid #00a0d2; }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #46b450; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-color: #dc3232; }
.wpcf7 form.spam .wpcf7-response-output {
border-color: #f56e28; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
border-color: #ffb900; }
.wpcf7-form-control-wrap {
position: relative;
}
.wpcf7-not-valid-tip {
color: #dc3232; font-size: 1em;
font-weight: normal;
display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
position: relative;
top: -2ex;
left: 1em;
z-index: 100;
border: 1px solid #dc3232;
background: #fff;
padding: .2em .8em;
width: 24em;
}
.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
content: " ";
}
.wpcf7-spinner {
visibility: hidden;
display: inline-block;
background-color: #23282d; opacity: 0.75;
width: 24px;
height: 24px;
border: none;
border-radius: 100%;
padding: 0;
margin: 0 24px;
position: relative;
}
form.submitting .wpcf7-spinner {
visibility: visible;
}
.wpcf7-spinner::before {
content: '';
position: absolute;
background-color: #fbfbfc; top: 4px;
left: 4px;
width: 6px;
height: 6px;
border: none;
border-radius: 100%;
transform-origin: 8px 8px;
animation-name: spin;
animation-duration: 1000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
.wpcf7-spinner::before {
animation-name: blink;
animation-duration: 2000ms;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes blink {
from {
opacity: 0;
}
50% {
opacity: 1;
}
to {
opacity: 0;
}
}
.wpcf7 [inert] {
opacity: 0.5;
}
.wpcf7 input[type="file"] {
cursor: pointer;
}
.wpcf7 input[type="file"]:disabled {
cursor: default;
}
.wpcf7 .wpcf7-submit:disabled {
cursor: not-allowed;
}
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
direction: ltr;
}
.wpcf7-reflection > output {
display: list-item;
list-style: none;
}
.wpcf7-reflection > output[hidden] {
display: none;
}* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;    
position: relative;
}
img {
display: block;
}
:root {
--black: #000000;
--white: #ffffff;    
--light: #f8f5f2;
--grey: #efefef;
--brown: #bf8f46;
--dark:#493e48;
--green: #9ec9a6;
--length: 0;
} @font-face {
font-family: 'SF UI Text Semibold';
font-style: normal;
font-weight: normal;
src: url(https://tilanna.fi/wp-content/themes/tilanna/fonts/SFUIText-Semibold.woff) format('woff');
}    
@font-face {
font-family: 'SF UI Text Bold';
font-style: normal;
font-weight: normal;
src: url(https://tilanna.fi/wp-content/themes/tilanna/fonts/SFUIText-Bold.woff) format('woff');
}
@font-face {
font-family: 'SF UI Text Medium';
font-style: normal;
font-weight: normal;
src: url(https://tilanna.fi/wp-content/themes/tilanna/fonts/SFUIText-Medium.woff) format('woff');
}
@font-face {
font-family: 'SF UI Text Regular';
font-style: normal;
font-weight: normal;
src: url(https://tilanna.fi/wp-content/themes/tilanna/fonts/SFUIText-Regular.woff) format('woff');
}
@font-face {
font-family: 'Gambarino-Regular';
font-style: normal;
font-weight: 400;
src: url(https://tilanna.fi/wp-content/themes/tilanna/fonts/Gambarino-Regular.woff) format('woff');
}    
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;     
background:var(--white);
overflow-x: hidden;
font-family: 'SF UI Text Medium';                                                
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
background: var(--dark);
}
::-webkit-scrollbar-track {
background: var(--grey);
}
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
font-family: "larken", sans-serif;
font-weight: 400;
}
h1 {
font-size:86px;
letter-spacing: -3px;
}
h2 {
font-size:58px;
line-height: 66px;
letter-spacing: -2px;
}
h3 {
font-size:36px;
letter-spacing: -1px;
}
h4 {
font-size: 28px;
letter-spacing: -1px;
}
h5 {
font-size: 22px;
letter-spacing: -1px;
}
a:hover, a:active, a:focus, input:focus {
outline:none;
}
p, li {
font-size: 16px;
line-height: 28px;
letter-spacing: -0.4px;
} #headercontainer {
position: fixed;
width:100%;
z-index: 100;
background:var(--light);
transition: all 0.3s ease-in-out;
}
.site-header {
width:100%;
max-width: 1760px;
height:120px;
margin:0 auto;
position: relative;
transition: all 0.3s ease-in-out;
}
.site-title {
position: absolute;
top:50%;
transform: translateY(-50%);
left:80px;
}
.site-title-link {   
font-size: 36px;
text-decoration: none;
color:var(--black);
letter-spacing: 4px;
font-family: "larken", sans-serif;
font-weight: 400;
}
.hide-header .site-header {
height: 80px !important;
}
.show-header .site-header {
height: 120px !important;
}
p.header-info {
margin: 0;
padding: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 120px;
font-size: 12px;
opacity: 0.7;
letter-spacing: 0px;
} .main-navigation {
position: absolute;    
top: 50%;
transform:translateY(-50%);
right:260px;
margin: 0;
padding: 0;
}
.main-navigation ul {
margin:0;
padding:0;
}
.main-navigation li {
position: relative;
display: inline-block;
list-style-type: none;
}
.main-navigation li a {
display: block;
padding: 46px 20px;
font-size: 16px;
text-decoration: none;
color: var(--dark);
position: relative;
transition: 0.2s all ease-in-out;
text-align: left;
font-family: 'SF UI Text Medium';
}
.main-navigation ul li a:hover {
color:var(--brown);
}
.main-navigation ul ul {
background:var(--white);
position: absolute;
margin-top: 0px;
opacity: 0;
visibility: hidden;
border:solid 1px rgba(0,0,0,0.1);
}
.main-navigation ul ul:after {
content: '';
width:100%;
height: 1px;
position: absolute;
top:-1px;
left:0;
}
.main-navigation ul ul li {
border-bottom: solid 1px rgba(0,0,0,0.1);
}
.main-navigation ul ul li:last-of-type {
border-bottom: none;
}
.main-navigation ul li.menu-item-has-children:hover > ul {
opacity: 1;
visibility: visible;
}
.main-navigation ul ul li a {
width:300px;
padding:12px 22px !important;
}
.main-navigation ul ul ul {
left: 300px;
top: 0;
margin-top: -1px;
}
.main-navigation .menu-item-has-children:after {
content: '';
background: url(https://tilanna.fi/wp-content/themes/tilanna/assets/arrow-down-black.svg) no-repeat;
background-size: contain;
width: 10px;
height: 10px;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 3px;
opacity: 0.4;
transition: 0.2s all ease-in-out;
}
.main-navigation ul ul .menu-item-has-children:after {
top: 50%;
transform: translateY(-50%);
right: 15px;
}
.hide-header .main-navigation li a {
padding:26px 20px;
} #nav-icon {
width: 32px;
height:22px;
position: relative;
z-index: 100; 
transform: rotate(0deg);
transition: .5s ease-in-out;
cursor: pointer;
}
#nav-icon span {
display: block;
position: absolute;
height: 2px;
width: 32px;
background: var(--black);
opacity: 1;
left: 0;
transform: rotate(0deg);
transition: .25s ease-in-out;
}
#nav-icon span:nth-child(1) {
top: 0px;
}
#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
top: 10px;
}
#nav-icon span:nth-child(4) {
top: 20px;
}
#nav-icon.open span:nth-child(1) {
top: 14px;
width: 0%;
left: 50%;
}
#nav-icon.open span:nth-child(2) {
transform: rotate(45deg);
}
#nav-icon.open span:nth-child(3) {
transform: rotate(-45deg);
}
#nav-icon.open span:nth-child(4) {
top: 14px;
width: 0%;
left: 50%;
} .overlay {
width: calc(100% - 80px);
position: fixed;
z-index: 9999;
top: 120px;
right: 40px;
background: var(--white);
border-radius: 20px;
padding: 40px;
overflow-x: hidden;
opacity: 1;
visibility: hidden;
transform: scale(0.8);
transition: 0.2s all ease-in-out;
}
.overlay-background {
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
background: rgb(7 8 8 / 60%);
opacity: 0;
visibility: hidden;
z-index: 3;
transition: 0.2s all ease-in-out;
}
.show-overlay-background {
opacity: 1 !important;
visibility: visible !important;
}
.overlay ul {
padding:0;
margin:0;
}
.overlay ul li {
margin:0;
margin-bottom: 20px;
cursor:pointer;
list-style-type: none;
position: relative;
}
.overlay ul li a {
position: relative;
text-decoration: none;
color:var(--black);
font-size: 24px;
letter-spacing: -0.4px;
line-height: 46px;
padding:4px 0;
}
.overlay ul li a:hover:after {
left: calc(100% + 20px);
opacity: 1;
}
.overlay ul ul {
margin-top:10px;
}
.overlay ul ul li a {
font-size: 15px;
line-height: 32px;
font-weight: 500;
}
.overlay ul ul li {
padding: 0 0 0 14px;
margin-bottom:4px;
}
.overlay ul ul ul {
margin-top: 4px;
margin-bottom: 20px;
}
.overlay ul li.menu-item-has-children:after {
content: '';
background: url(https://tilanna.fi/wp-content/themes/tilanna/assets/arrow-down-black.svg) no-repeat;
background-size: contain;
width: 12px;
height: 12px;
font-size: 20px;
color: var(--black);
position: absolute;    
top: 9px;
right: 11px;    
transition: 0.2s all ease-in-out;
}
.overlay ul li.menu-item-has-children:hover:before {
background:var(--grey);
}
.overlay .current-menu-item > a {
color:var(--black);
}
.overlay ul li.rotate-arrow:after {
transform: rotate(180deg);
}
.open-body {
overflow:hidden;
}
.open-menu {
visibility: visible;
opacity: 1;
transform: scale(1);
}
.mobile-menu {
display: none;
position: absolute;
top: 50%;
right: 40px;
transform: translateY(-50%);
} .some-container {
margin-top:40px;
}
.some-container ul {
padding: 0;
margin: 0;
}
.some-container ul li {
display: inline-block;
margin-right: 6px;
}
.some-container ul li:last-of-type {
margin-right: 0;
}
.some-container ul li a {
position: relative;
display: inline-block;
height:36px;
width:36px;
border-radius: 4px;
background: var(--light);
transition:0.2s all ease-in-out;
}
.some-container ul li a:hover {
background: var(--white);
}
.some-container ul li a img {
width: 28px;
height: 22px;
position: absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
}
.header-some-container {
margin: 0;
position: absolute;
right: 80px;
top: 50%;
transform: translateY(-50%);
height: 36px;
} .banner-container {
height: calc(100vh - 140px);
min-height: 800px;
position: relative;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.banner-content {
position: absolute;
bottom: 60px;
left: 180px;
z-index: 1;
}
.banner-content .flex-40 {
height: 60vh;
}
.banner-content .flex-40 img {
height: 50vh;
width: 100%;
object-fit: cover;
}
.banner-slider {
height:60vh;
min-height: 600px;
}
.banner-slider .flickity-button.flickity-prev-next-button.next {
left: unset !important;
right: 60px !important;
bottom: 60px !important;
z-index: 10 !important;
top:unset !important;
}
.banner-slider .flickity-button.flickity-prev-next-button.previous {
right: 180px !important;
left: unset !important;
bottom: 60px !important;
z-index: 10 !important;
top:unset !important;
}
img.top-image {
position: absolute;
z-index: 1;
bottom: 0;
}
img.bottom-image {
position: absolute;
right: 60px;
top: 0;
}
.banner-image {
position: relative;
width:100%;
}
.banner-image img {
height: 60vh;
min-height: 600px;
width:100%;
object-fit: cover;
border-radius: 20px;
}
.banner-content h1 {
font-size: 10vw;
line-height: 10vw;
color:var(--white) !important;
margin:0;    
overflow: hidden;
opacity: 0;
}
h1 span {
display: block;
animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0s;
}
@keyframes reveal {
0% {
transform: translate(0,100%);
}
100% {
transform: translate(0,0);
}
}
.show-title {
opacity: 1 !important;
}
.banner-content p {
margin-top:40px;
max-width: 650px;
font-size: 20px;
line-height: 32px;
color:var(--white);
}
.small-headline {
text-transform: uppercase;
letter-spacing: 0.4px;
font-size: 14px !important;
font-family: 'SF UI Text Medium';
margin-top: 0;
margin-bottom: 30px;
color: var(--brown) !important;
} .main-content {
padding-top: 120px;
}
.white-container {
background:var(--white);
position: relative;
}
.white-container h1, .white-container h2, .white-container h3, .white-container h4, .white-container h5, .white-container h6 {
color:var(--dark);
}
.white-container p, .white-container li {
color:var(--dark);
}
.white-container a {
color:var(--dark);
text-decoration: none;
}
.light-container {
background:var(--light);
position: relative;
}
.light-container h1, .light-container h2, .light-container h3, .light-container h4, .light-container h5, .light-container h6 {
color:var(--dark);
}
.light-container p, .light-container li {
color:var(--dark);
}
.light-container a {
color:var(--dark);
text-decoration: none;
}
.dark-container {
background:var(--dark);
position: relative;
}
.dark-container h1, .dark-container h2, .dark-container h3, .dark-container h4, .dark-container h5, .dark-container h6 {
color:var(--white);
}
.dark-container p, .dark-container li {
color:var(--white);
}
.dark-container a {
color:var(--white);
text-decoration: none;
}
.site-content {
position: relative;
width: 100%;
max-width: 1760px;
margin: 0 auto;
z-index: 1;
}
.no-top {
padding-top: 0 !important;
}
.no-bottom {
padding-bottom: 0 !important;
}
.no-right {
padding-right: 0 !important;
}
.center {
text-align: center;
}
.border-top {
border-top:solid 1px rgba(0,0,0,0.1);
}
.border-right {
border-right:solid 1px rgba(0,0,0,0.1);
}
.border-bottom {
border-bottom:solid 1px rgba(0,0,0,0.1);
}
.border-left {
border-left:solid 1px rgba(0,0,0,0.1);
}
.flex-container {
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.align-center {
align-items: center;
}
.align-start {
align-items: start;
}
.flex-start {
justify-content: start;
}
.flex-container img {
display: block;
width:100%;
}
.flex-20 {
position: relative;
width:20%;
}
.flex-25 {
position: relative;
width:25%;
}
.flex-30 {
position: relative;
width:30%;
}
.flex-33 {
position: relative;
width:33.33%;
}
.flex-40 {
position: relative;
width:40%;
}
.flex-50 {
position: relative;
width:50%;
}
.flex-60 {
position: relative;
width:60%;
}
.flex-66 {
position: relative;
width:66.66%;
}
.flex-75 {
position: relative;
width:75%;
}
.flex-100 {
position: relative;
width:100%;
}
.padding {
padding:80px;
}
.padding h2, .padding h3, .padding h4, .padding h5 {
margin-top:0;
}
.flex-40 img {
height: 60vh;
min-height: 700px;
object-fit: cover;
width:100%;
}
.block-grid .flex-50 {
width: calc(50% - 20px);
}
.block-grid .flex-33 {
width: calc(33.33% - 20px);
}
.block-grid img {
border-radius: 10px;
min-height: 250px;
object-fit: cover;
}
.image-text-container img {
height: 40vh;
min-height: 400px;
}
.image-grid {
margin-bottom: 40px;
}
.image-grid img {
border-radius: 10px;
}
.box-grid-text {
margin-top:40px;
}
.service-image img {
height: 20vh;
object-fit: cover;
min-height: 300px;
}
.services-list h2 {
margin-bottom:20px;
}
.services-list:last-of-type {
border-bottom: none;
}
.services-list .flex-33 img {
height: 35vh;
min-height: 500px;
object-fit: cover;
width:100%;
border-radius: 10px;
}
.services-list .flex-60 img {
width: 40px;
height: 40px;
margin-bottom: 20px;
display: none;
} .sub-page-header-image.padding {
padding-right: 0;
}
.sub-page-header-image.padding img {
height: 50vh;
min-height: 500px;
width:100%;
object-fit: cover;
border-radius: 10px;
}
.sub-page-header-text p {
max-width: 768px;
} .sub-header-image.padding img {
height: 50vh;
min-height: 500px;
width:100%;
object-fit: cover;
border-radius: 10px;
}
.sub-header-content {
margin:0 auto;
text-align: center;
}
.large p {
font-size: 20px;
line-height: 32px;
} .gallery-container .gallery-image img {
width: calc(100% - 80px);
height: 40vh;
object-fit: cover;
cursor: pointer;
transition:0.3s all ease-in-out;
border-radius: 10px;
}
.gallery-container .gallery-image img:hover {
transform: scale(1.05)
}
.gallery-container .gallery-image:nth-of-type(even) {
margin-top:20vh;
}
.gallery-container .gallery-image:nth-of-type(even) img {
float: right;
}
.sticky-headline {
position: sticky;
top: 40%;
text-align: center;
padding-top: 60px;
margin-bottom: 60px;
}
.sticky-headline h2 {
font-size: 4vw;
line-height: 4vw;
max-width: 768px;
margin:0 auto;
} .reference-list {
margin-bottom: 100px;
}
.reference-list:last-of-type {
margin-bottom: 0;
}
.reference-list .flex-40 {    
position: relative;
}
.reference-list-header h2 {
font-size: 86px;
line-height: inherit;
margin-bottom: 0;
}
.reference-text {
position: absolute;
bottom:0;
right:0;
max-width: 450px;
background:var(--white);
padding:40px;
}
.reference-text p, .reference-text li, .reference-text h5 {
color: var(--black);
}
.reference-text h5 {
margin-top:0;
}
.reference-list .flex-60 img {
height: 60vh;
object-fit: cover;
width: 100%;
border-radius: 20px;
}
.reference-list ul {
padding-left: 20px;
}
.reference-menu {
padding-left: 0 !important;
}
.reference-menu li {
display: block !important;
} .embed-container {
border-radius: 20px;
}
iframe {
border-radius: 20px;
}
video {
width: 100%;
border-radius: 20px;
}
a.cta {
position: relative;
display: inline-block;
margin-right: 10px;
margin-top: 20px;
text-decoration: none;
border: 2px solid var(--black);
padding: 14px 28px;
color: var(--black);
text-transform: uppercase;
font-size: 14px;
letter-spacing: 2px;
font-family: 'SF UI Text Semibold';
border-radius: 6px;
}
a.cta span {
position: relative;
z-index: 3;
}
a.cta::before {
content: "";
position: absolute;
top: 10px;
left: -6px;
width: calc(100% + 12px);
height: calc(100% - 20px);
transition: all 0.5s ease-in-out;
transform: scaleY(1);
}
.white-container a.cta::before {
background: var(--white);
}
.light-container a.cta::before {
background: var(--light);
}
a.cta:hover::before{
transform: scaleY(0);
}
a.cta::after {
content: "";
position: absolute;
left: 10px;
top: -10px;
width: calc(100% - 20px);
height: calc(100% + 20px);
transition: all 0.3s ease-in-out;
transform: scaleX(1);
}
.white-container a.cta::after {
background: var(--white);
}
.light-container a.cta::after {
background: var(--light);
}
a.cta:hover::after{
transform: scaleX(0);
}
a.cta.fixed-cta {
position: fixed;
bottom: 40px;
left: 40px;
margin-right: 0;
background: var(--white);
z-index: 2;
} .date {
text-transform: capitalize;
color:var(--brown) !important;
font-size: 13px;
}
.post-menu-container img {
height: 30vh; 
width: 100%;
border-radius: 10px;
object-fit: cover;
}
.post-menu-container h4 {
margin-top: 0;
}
.post-menu-container h4 a {
color: var(--black);
text-decoration: none;
font-size: 42px;
} .sidebar-post {
border-bottom: solid 1px rgba(0, 0, 0, 0.1);    
margin-right: 40px;
}
.sidebar-post h4 { 
font-size: 20px;
line-height: 26px;
letter-spacing: -0.2px;
} .scrolling-text {
display: flex;
position: absolute;
width: 100%;
height: 600px;
margin: auto;  
overflow: hidden;
z-index: 1;
}
.scrolling-title {
display: flex;
position: absolute;
top: 0;
left: 0;
align-items: center;
justify-content: flex-start;
width: 100%;
height: 100%;
white-space: nowrap;
transform: scale(2);
transition: all 1s ease;
}
.scrolling-title > div {
display: flex;
-webkit-animation: scrollText 30s infinite linear;
animation: scrollText 30s infinite linear;
}
.scrolling-title h4 {
margin: 0;
font-size: 140px;
color: rgb(0 0 0 / 2%);
padding-right: 120px;
}
@-webkit-keyframes scrollText {
from {
transform: translateX(0%);
}
to {
transform: translateX(-50%);
}
}
@keyframes scrollText {
from {
transform: translateX(0%);
}
to {
transform: translateX(-50%);
}
} .js-flickity {
overflow: hidden;
outline:none;
z-index: 1;
width:100%;
}
.flickity-viewport {
width: 100%;
}
.slider-element {
width: calc(100% - 240px);
margin-right: 40px;
position: relative;
transition: 0.2s all ease-in-out;
}
.slider-image {
position: relative;
}
.slider-image img {
height: 60vh;
min-height: 700px;
width: 100%;
object-fit: cover;
border-radius: 20px;
}
.slider-text {
position: absolute;
bottom: 0;
left:-1px;
padding: 60px;
background: var(--white);
max-width: 600px;
border-radius: 0 20px 0 20px;
}
.slider-text a.cta::before, .slider-text a.cta::after {
background: var(--white);
}
.slider-text p, .slider-text h3, .slider-text a {
color:var(--dark);
}
.slider-text a {
text-decoration: none;
}
.slider-text h3 {
margin-top:0;
}
.flickity-button {
width:100px !important;
height:48px !important;
border-radius: 0 !important;
background:none !important;
top: unset !important;
bottom: 20px !important;
transform: none !important;
transition: 0.2s all ease-in-out;
border-radius: 6px !important;
}
.reference-slider .flickity-prev-next-button.previous {
left: 620px !important;
border:solid 2px var(--white) !important;
}
.reference-slider .flickity-prev-next-button.next {
left: 740px !important;
border:solid 2px var(--white) !important;
}
.flickity-prev-next-button .flickity-button-icon path {
display: none;
}
.reference-slider .next svg.flickity-button-icon {
background: url(https://tilanna.fi/wp-content/themes/tilanna/assets/arrow-right-long-white.svg) no-repeat;
}
.reference-slider .previous svg.flickity-button-icon {
background: url(https://tilanna.fi/wp-content/themes/tilanna/assets/arrow-left-long-white.svg) no-repeat;
}
.flickity-button svg.flickity-button-icon {
width: 30px;
height: 30px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
} .customer-slider {
margin-top: 30px;
background: var(--light);
border-radius: 10px;
}
.customer-text {
padding: 60px 60px 120px 60px;
min-height: 400px;
}
.customer-slider .flickity-prev-next-button.previous {
right: 140px !important;
left:unset !important;
border:solid 2px var(--black) !important;
}
.customer-slider .flickity-prev-next-button.next {
right: 20px !important;
border:solid 2px var(--black) !important;
}
.customer-slider .next svg.flickity-button-icon {
background: url(https://tilanna.fi/wp-content/themes/tilanna/assets/arrow-right-long.svg) no-repeat;
}
.customer-slider .previous svg.flickity-button-icon {
background: url(https://tilanna.fi/wp-content/themes/tilanna/assets/arrow-left-long.svg) no-repeat;
}
.customer-text a.cta::after, .customer-text a.cta::before {
background: var(--light);
} .blog-grid {
width: calc(33.33% - 40px);
}
.blog-grid-image {
margin-bottom: 40px;
}
.blog-grid img {
border-radius: 10px;
height: 25vh;
min-height: 300px;
width: 100%;
object-fit: cover;
}
.breadcrumb {
font-family: 'SF UI Text Medium';
font-size: 14px;
letter-spacing: -0.4px;
}
.large-image-container img {
height: 40vh;
min-height: 500px;
width:100%;
object-fit: cover;
}
.sticky-menu {
position: sticky;
top:120px;
overflow: auto;
max-height: 80vh;
}
.sticky-menu h3 {
margin-top:0;
}
.sticky-menu ul li {
list-style-type: none;
}
ul#service-menu {
padding-left: 0;
}
ul#service-menu li {
display: none;
}
ul#service-menu .menu-item-89 {
display: block;
}
ul#service-menu .menu-item-89 li {
display: block;
}
.sidebar ul {    
padding-left: 16px;
}
ul.sidebar-menu {
padding-left: 0;
}
.sidebar li.current-menu-item > a {
color: var(--brown);
} .wpforms-container-full {
margin: 0 !important;
}
.wpforms-container .wpforms-field {
padding: 0 !important;
margin-bottom: 10px !important;
}
.wpforms-field-large {
height: 60px !important;
background: var(--light) !important;
border: none !important;
border-radius: 6px !important;
}
.wpforms-field-medium {
height: 200px !important;
background: var(--light) !important;
border: none !important;
border-radius: 6px !important;
}
.wpforms-submit {
position: relative;
display: inline-block;
height:48px !important;
margin-top:20px !important;
background:transparent !important;
border: 2px solid var(--black) !important;
padding: 14px 28px !important;
color: var(--black) !important;
text-transform: uppercase !important;
font-size: 14px !important;
letter-spacing: 2px !important;
font-family: 'SF UI Text Semibold' !important;
border-radius: 6px !important;
}
label.wpforms-field-label {
padding-top: 30px !important;
}
div#wpforms-field-limit-text-2406-15 {
margin-bottom: 30px;
font-size: 12px;
}
div#wpforms-field-limit-text-2406-9 {
margin-bottom: 30px;
font-size: 12px;
}
div#wpforms-field-limit-text-2406-20 {
margin-bottom: 30px; 
font-size: 12px;  
}
div#wpforms-2406-field_18-container {
margin-top: 30px;
}
.wpforms-field-description {
height: 47px !important;
background: var(--light) !important;
font-size: 12px !important;
}
.form-disclaimer {
margin-top: 20px !important;
}
.first-disclaimer {
margin-top: 40px !important;
border-top: solid 1px rgba(0, 0, 0, 0.1) !important;
}
.first-disclaimer legend.wpforms-field-label {
padding-top: 40px !important;
}
.wpforms-confirmation-scroll {
background: var(--dark) !important;
border: none !important;
border-radius: 10px !important;
}
.wpforms-confirmation-scroll p {
color: var(--white) !important;
font-size: 24px !important;
}
label.wpforms-field-label-inline {
position: relative;
top: 1px;
} #footercontainer {
width:100%;
}
.site-footer ul {
padding:0;
margin:0;
}
.site-footer li {
list-style-type: none;
}
.site-footer li, .site-footer li a {
text-decoration: none;
}
.site-footer p {
text-decoration: none;
max-width: 400px;
}
.smallprint {
text-align: center;
}
.smallprint p {
max-width: unset;
} .toggle-sidebar-container {
display: none;
} @media(max-width:1650px){  
.padding {
padding:80px;
}
}
@media(max-width:1450px){
h1 {
font-size:64px;
line-height: 72px;
}
h2 {
font-size:46px;
line-height: 58px;
}
.header-some-container {
right:60px;
}
.main-navigation {
right: 240px;
}
.main-navigation li a {
padding:46px 16px;
}
.main-navigation .menu-item-has-children:after {
right:2px;
}
.site-title {     
left: 60px;
}
.padding {
padding: 60px;
}
.flex-25.sidebar {
width:360px;
}
.flex-75.right-side {
width:calc(100% - 360px);
}
.blog-grid {
width: calc(33.33% - 20px);
}
.reference-list-header h2 {
font-size: 64px;
}
.image-text-container .flex-50 {
width: 100%;
}
.image-text-container-text {
order:1;
margin-bottom: 40px;
}
.image-text-container-image {
order:2;
}
.gallery-container .gallery-image img {
width: calc(100% - 40px);     
}
.flex-50.gallery-image {
width: 50%;
margin-bottom: 60px;
}
.gallery-container .gallery-image:nth-of-type(even) {
margin-top: 10vh;
}
}
@media(max-width:1200px){
h1 {
font-size:56px;
line-height: 64px;
}
h2 {
font-size:42px;
line-height: 52px;
}
.services-list .flex-60 {
width: 100%;
margin-bottom: 40px;
order: 2;
}
.services-list .flex-33 {
width: 100%;
margin-bottom: 40px;
}
.blog-grid {
width: calc(50% - 20px);
margin-bottom: 60px;
}
.reference-list .flex-40 {
width: 100%;
margin-bottom: 40px;
}
.reference-list .flex-60 {
width: 100%;        
}
}
@media(max-width:991px){
.main-navigation {
display: none;
}
.header-some-container {     
right: 120px;
}
.mobile-menu {
display: block;
}
.site-title {
left: 40px;
}
.padding h2, .padding h3, .padding h4, .padding h5 {
padding-top: 24px;
}
.sticky-headline h2 {
font-size: 46px;
line-height: 54px;     
}
.banner-content {     
top: 50%;
left: 50%;
transform: translateX(-50%);
bottom:unset;
}
.sub-header-image.padding img {
height: 35vh;
min-height: 350px;
width: 100%;
object-fit: cover;
border-radius: 10px;
}
.padding {
padding:40px;
}
.flex-50 {
width: 100%;
}
.block-grid .flex-50 {
width:100%;
}    
.block-grid .flex-50:first-of-type {
margin-bottom: 40px;
}
.flex-33.sub-page-header-image.padding {
width:100%;
padding-right: 40px !important;
}
.flex-33 {
width: 100%;
}
.block-grid .flex-33 {
width:100%;
}
.flex-66 {
width: 100%;
}
.slider-text {
padding:40px;
}
.slider-element {
width: calc(100% - 40px);     
}
.reference-slider .flickity-prev-next-button.previous {
left: 20px !important;
top: 20px !important;
}
.reference-slider .flickity-prev-next-button.next {
left: 140px !important;     
top: 20px !important;
}
.services-list .flex-33 img {
height: 30vh;
min-height: 400px;
}
.sidebar {
display: none;
border-bottom: solid 1px rgba(0,0,0,0.1);
}
.sticky-menu {
max-height: unset;
}
.toggle-sidebar-container {
display: block;
}
.single-post .toggle-sidebar-container {
display: none;
}
.sub-header-content {
width: 100%;
text-align: left;
}
.post-menu-image {
order: 2;
}
.post-menu-text {
order: 1;
}
.scrolling-title h4 {     
font-size: 94px;
}
}
@media(max-width:768px){  
.site-title {
left: 20px;
}          
.header-some-container {
right: 80px;
}
.mobile-menu {
right:20px;
}
.overlay {
width: calc(100% - 40px);     
right: 20px;
padding: 20px;
}
.overlay ul li a {     
font-size: 20px;        
line-height: 26px;
}
a.cta.fixed-cta {     
bottom: 20px;
left: 20px;        
}
h3 {
font-size:32px;
letter-spacing: -1px;
}
h4 {
font-size: 24px;
letter-spacing: -1px;
}
h5 {
font-size: 20px;
letter-spacing: -1px;
}
p, li {
font-size: 15px;
line-height: 26px;        
}
.banner-slider {
height: 70vh;
min-height: 450px;
}
.banner-image img {
height: 70vh;
min-height: 450px;     
}
.banner-content h1 {
font-size: 64px;
line-height: 64px;
}
.sub-page-header-image.padding img {
height: 40vh;
min-height: 350px;     
}
.services-list .flex-33 img {
height: 40vh;
min-height: 350px;
}
a.cta {
padding:12px 18px;
font-size: 12px;
letter-spacing: 1.4px;
}
.padding {
padding: 20px;
}
.flex-33.sub-page-header-image.padding {
padding-right: 20px !important;
}
.blog-grid {
width: 100%;
}
.blog-grid:last-of-type {
margin-bottom: 0;
}
.slider-element {
width: calc(100% - 20px);
margin-right: 20px;
}
.slider-text {
padding: 20px;
}
#footercontainer {     
padding-top: 60px;
}
.some-container ul li a {
width:30px;
height: 30px;
}
.some-container ul li a img {
width: 24px;
height: 20px; 
}
.flex-50.gallery-image {     
margin-bottom: 20px;
}
.gallery-container .gallery-image:nth-of-type(even) {
margin-top: 0;
}
.gallery-container .gallery-image img {
width: calc(100% - 10px);
height: 30vh;
}
}
@media(max-width: 520px){        
.site-header {
height: 100px;        
}
.main-content {
padding-top: 100px;
}
.site-title-link {
font-size: 32px;
}
h1 {
font-size:46px;
line-height: 54px;
}
h2 {
font-size:30px;
line-height: 42px;
}
h3 {
font-size:28px;
line-height: 34px;
}
h4 {
font-size: 22px;        
}    
p, li {
font-size: 14px;
line-height: 24px;        
}
}html.slb_overlay object,html.slb_overlay embed,html.slb_overlay iframe{visibility:hidden}html.slb_overlay #slb_viewer_wrap object,html.slb_overlay #slb_viewer_wrap embed,html.slb_overlay #slb_viewer_wrap iframe{visibility:visible}