@import url("https://use.typekit.net/wzb6ouw.css");

/*!
Theme Name: Filmbutik Theme
Theme URI: http://filmbutik.fi
Author: filmbutik.fi
Author URI: http://filmbutik.fi
Description: -
Version: 1.0.7
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: filmbutik
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

FilmButik is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
	line-height: 2em;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #bc5f5f;
	text-decoration: none;
}

a:visited {
	color: #bc5f5f;
}

a:hover,
a:focus,
a:active {
	color: #bc5f5f;
	text-decoration: underline;
	
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/











/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	z-index: 99999;
}

.main-navigation ul ul ul {

}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {

}

.main-navigation ul ul a {

}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	list-style: none;
	padding: 1vw 1vw;
	display: flex;
	align-items: center;
	justify-content: center;
}


.main-navigation a {
	display: block;
	text-decoration: none;
}


/* Small menu. */

.main-navigation ul {
	display: none;
	align-items: center;
	justify-content: right;
}	
	
		
.menu-toggle {
	display: block;
	z-index: 900;
}

.main-navigation.toggled ul {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	justify-items: center;
	height: 80%;
}
	
.main-navigation.toggled .menu-primary-container {
	background-color: #212121EE;
	width:100%;
	height: 100%;
	position: fixed;
	margin-top: 70px;
	left: 0;
	opacity: 1;
	transition: 0.3s opacity;
}
.main-navigation .menu-primary-container{
	opacity: 0;
}



.main-navigation.toggled a {
	font-family: urw-antiqua, serif;  
	font-weight: normal; 
	font-size: 2.5rem;
	padding: 0.5rem;
	opacity: 1.0;
	color: #ddd;
	transition: 0.1s transform;
}

.main-navigation.toggled a:hover {
	color:#fff;
	transform: scale(1.1);
}
.main-navigation.toggled a:active {
	transform: scale(0.9);
}	
	


@media screen and (max-width: 800px) {
	.main-navigation.toggled a {
		font-size: 4vw;
	}
}



@media screen and (min-width: 8000px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
	
	.menu-primary-container {
		background-color: transparent;
		width: auto;
		height: auto;
		position: inherit;
	}

}
		
	
.main-navigation.toggled .fbk-services-nav ul  {
		display: flex;
		flex-direction: row;
	   flex-wrap: wrap;
      margin: 1rem;
}
	
.main-navigation.toggled .fbk-services-nav li  {
		display: flex;
	}
.main-navigation.toggled .fbk-services-nav a {
		font-family: poppins, sans-serif;
		font-size: 0.85rem;
	}
	
	
	
	
	
	














.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */

.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


.alignwide {
  width:  100%;
}

.alignfull {
	width:  100vw;
	max-width:  100vw;
	margin-left:  calc(50% - 50vw);
}
	
	




/* 
--------------------------------------------- */


html {
		scroll-behavior: smooth;
		height: 100%;
}
	

body {
	background-color: #212121;
	font-family: 'Poppins', sans-serif;
	/* font-size: 1rem;*/

	font-size: 14px;
	line-height: 21px;
	color: #212121;
	height: 100%;
}

h1 { 
	font-family: urw-antiqua, serif; 
	font-weight: normal; 
	font-size: 2.5rem;
	line-height: 2.5rem;
}
h2 { font-family: urw-antiqua, serif; 
	font-weight: normal; 
	/*font-size: 2rem;*/ 
	font-size:40px; 
	line-height:48px;
}
h3 { 
	font-family: poppins, sans-serif; 
}

a {
	color: #000;
}

a:visited {
	color: #000;
}


hr, .wp-block-separator {
	border: 0;
	height: 1px;
	background-color: #803f3f;
}


.site {
	background: #FFF;
}


.page {
	margin: 0;
	min-height: 64vh;
}
	

.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 70px 2rem 3rem 2rem;
	
}

@media screen and (max-width: 600px) {
	.site-main {
		padding: 3rem 1rem 3rem 1rem;
	}
	h1 { 
		font-family: urw-antiqua, serif;  
		font-weight: normal; 
		font-size: 1.8rem;
		line-height: 1.8rem;
	}
	h2 { 
		font-family: urw-antiqua, serif;  
		font-weight: normal; 
		font-size: 1.5rem;
		line-height: 1.5rem;
	}
	h3 { 
		font-family: poppins, sans-serif; 
	}

	body { /* font-size: .85rem;*/ }	
}

body.home .site-main {
	padding-top: 80px;
}
	

.page-header {
	margin-top: 6rem;
	margin-bottom: 3rem;
}


/*------------------------------------------*/
/* header */


.site-header {
	background-color: #212121EE;
	color: #FFF;
	display: flex;
	height: 70px;
	
	justify-content: space-between;
	align-content: center;
	padding: 0rem 0rem;
	position: fixed;
	z-index: 100;
	width: 100%;
}

.site-branding {
	height: 70px;
	flex: none;
}

.site-branding img {
	height: 70px;
	padding: 10px;
}
	
	
	


.menu-primary-container a {
	color: #FFF;
	font-size: 0.9rem;	
}

.menu-toggle {
	position: fixed;
	top: 0px;
	right: 0px;
	background-color: transparent;
	border: 0;
	padding: 15px;
	margin: 10px;
	height: 50px;
	width: 50px;
	color: #fff;
	overflow: hidden;
	font-size: 0;
	border-radius: 0;
	opacity: 1.0;
}

body.admin-bar .menu-toggle {
	top: 32px;
}

.menu-toggle:hover {
	transform: scale(1.1);
}
.menu-toggle:active {
		transform: scale(0.9);
}
	

// hide navi on frontpage top based on scroll

.site-header {
	margin-top: 0px;
	opacity: 1;
	transition: 0.5s margin-top, 0.5s opacity;
}
body.scrollup .site-header {
	margin-top: 0px;
	opacity: 1;
	transition: 0.5s margin-top, 0.5s opacity;
}
body.scrolldown .site-header {
	margin-top: -70px; // moving more up since wp admin takes extra space when logged in
	opacity: 0;
	transition: 0.5s margin-top, 0.5s opacity;
}

body.home.scrolltop .site-header {
/*
	margin-top: -70px;
	transition: 0.5s margin-top, 0.5s opacity;
*/
}
					


/*------------------------------------------*/	
/* footer */


footer {
	background-color: #212121;
	color: #eee;
}

footer .site-info  a {
	color: #eee;
	text-decoration: none;
}

footer .site-info  a:hover {
	text-decoration: underline;
}
	


footer .site-info {
	max-width: 1200px;
	margin: 0 auto;
	padding: 5rem 2rem 7rem 2rem;
	font-size: 0.75rem;
	line-height: 1rem;
}



/*------------------------------------------*/	
/* posts */

.nav-previous {
	background: transparent !important;
	position: fixed;
	left: 10px;
	padding: 0rem;
	z-index: 900;
	transform: scale(1.0);
	transition: 0.1s transform;
	opacity: 0.5;

}
.nav-previous:hover {
	transform: scale(1.1);
}
	
.nav-next {
	background: transparent !important;
	position: fixed;
	right: 10px;
	padding: 0rem;
	z-index: 900;
	transform: scale(1.0);
	transition: 0.1s transform;
	opacity: 0.5;
}
.nav-next:hover {
	transform: scale(1.1);
}
	
 	
	
	
/*------------------------------------------*/	
/* Fontpage works grid */

.fbk-post-grid {

}

.fbk-post-grid .wp-block-post-template {
	gap: 0 !important;
}


.fbk-post-grid ul {
	margin: 0;
	padding: 0;
	flex-direction: row;
	display: flex;
	flex-wrap: wrap;
}
	
.fbk-post-grid li {

	width: calc(25% - 10px) !important;
	margin: 5px !important;
	overflow: hidden;
	background-color: #000;
	color: #FFF;
	aspect-ratio: 1/1;
	
	/* box-shadow: 0px 10px 15px rgba(0,0,0,0.0);*/
	transition: 0.3s box-shadow;
}

.fbk-post-grid li:hover {
	/* box-shadow: 0px 10px 15px rgba(0,0,0,0.2); */	
}

@media screen and (max-width: 900px) {
	.fbk-post-grid li {
		width: calc(50% - 10px) !important;
	}	
}
@media screen and (max-width: 500px) {
		.fbk-post-grid li {
			width: calc(100% - 10px) !important;
		}	
}
		
.fbk-post-grid-image {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 0;
}

.fbk-post-grid-image img {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	opacity: 0.85;
	transform: scale(1.0);
	transition: 0.3s opacity, 0.3s transform;
}

.fbk-post-grid-image img:hover {
	opacity: 0.5;
	transform: scale(1.05);	
}

	



.fbk-post-grid-overlay {
	width: 100%;
	height: 100%;
	color: #fff;
	position: relative;
	padding: 1rem;
	text-align: center;
	margin-top: 0;

	display: flex;
	justify-content: center;
	align-items: center;
}

.fbk-post-grid-overlay  {
	pointer-events: none;
}
	
.fbk-post-grid-overlay a {
	color: #fff;
	text-decoration: none;
}



.fbk-post-grid-link {
			
	}
	
.fbk-post-grid-excerpt {
		
}
		
	

/* -------------------------------------*/
/* Fontpage services grid  */


.fbk-service-grid {
	padding: 0px 10% 0px 10%;
}
	
.fbk-service-grid .wp-block-post-template {
	gap: 0 !important;
}

	.fbk-service-grid ul {
		margin: 0;
		padding: 0;
		flex-direction: row;
		display: flex;
		flex-wrap: wrap;
	}
		
	.fbk-service-grid li {
	
		/*width: calc(25% - 10px) !important;*/
		height: auto;
		margin: 5px !important;
		overflow: hidden;
		background-color: #000;
		color: #FFF;
		aspect-ratio: 1;
		
		 
		/* 
		box-shadow: 0px 10px 15px rgba(0,0,0,0.0);
		transition: 0.3s box-shadow;
		*/
	}
	
	.fbk-service-grid li:hover {
		/* box-shadow: 0px 10px 15px rgba(0,0,0,0.2);*/	
	}
	
	@media screen and (max-width: 900px) {
		.fbk-service-grid li {
			width: calc(50% - 10px) !important;
		}	
	}
	@media screen and (max-width: 500px) {
			.fbk-service-grid li {
				width: calc(100% - 10px) !important;
			}	
	}
			
	.fbk-service-grid-image {
		position: relative;
		margin: 0;
		padding: 0;
		width: 100%;
		height: 0;
	}
	
	.fbk-service-grid-image a {
		display: block;
		margin: 0;
		padding: 0;
		width: 100%;
			
	}
		
	.fbk-service-grid-image img {
		display: block;
		margin: 0;
		padding: 0;
		width: 100%;
		aspect-ratio: 1;
		object-fit: cover;
	}
	
	
	
	
	.fbk-service-grid-overlay {
		width: 100%;
		height: 100%;
		color: #fff;
		position: relative;	
		margin: 0;			
		padding: 0.5rem;
		text-align: center;
		background-color: rgba(50, 50, 50, 0.72);
		pointer-events: none;

		transform: translateY(calc( 100% - 3.5rem ));
		transition: transform 0.3s cubic-bezier(.42,.04,.16,.99);

	}
	
	.fbk-service-grid li:hover .fbk-service-grid-overlay  {
		transform: translateY(0);	
	}

	.fbk-service-grid-overlay h3 {
		margin: 0.5rem;
		color: #fff;
	}
	
	.fbk-service-grid li .wp-block-post-excerpt {
		display: flex;
		/* align-items: center; */
		justify-content: center;
		aspect-ratio: 1.2;
	}

	.fbk-service-grid li .wp-block-post-excerpt p {
		opacity: 0;
		transition: 1s opacity;
	}
	.fbk-service-grid li:hover .wp-block-post-excerpt p {
		opacity: 1;
	}

		
	/* grid colors or background images */
		
	.fbk-service-grid li:nth-child(1) .fbk-service-grid-overlay {
		background-color: #cf4d96cc;	
	}
	.fbk-service-grid li:nth-child(2) .fbk-service-grid-overlay {
		background-color: #744186cc;	
	}
	.fbk-service-grid li:nth-child(3) .fbk-service-grid-overlay {
		background-color: #8a8b46cc;	
	}
	.fbk-service-grid li:nth-child(4) .fbk-service-grid-overlay {
		background-color: #3687becc;	
	}
	.fbk-service-grid li:nth-child(5) .fbk-service-grid-overlay {
		background-color: #D76C4Bcc;	
	}
	.fbk-service-grid li:nth-child(6) .fbk-service-grid-overlay {
		background-color: #007a65cc;	
	}
	.fbk-service-grid li:nth-child(7) .fbk-service-grid-overlay {
		background-color: #A05046cc;	
	}
	.fbk-service-grid li:nth-child(8) .fbk-service-grid-overlay {
		background-color: #3e51abcc;	
	}
						
			







/*------------------------------------------*/	
/* embeds */


.wp-block-embed-vimeo iframe {
	width: 100%;
	height: 500px;
}





/*------------------------------------------*/	
/* services menu */

.fbk-services-menu {
	padding: 3rem 0 0rem 0;
}

.fbk-services-menu ul {
	display: flex;
	flex-flow: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
}
	
.fbk-services-menu a {
	display: block;
	font-size: 1rem;
	font-weight: lighter;
	text-decoration: none;
	padding: 0.25rem 1rem;
	margin: 0.25rem;
	background-color: #BC5F5F;
	border-radius: 10rem;
	color: #FFF;
}

.fbk-services-menu a:hover {
	background-color: #803f3f;
}			

.fbk-services-menu a.selected {
	background-color: #F39592;
}

.fbk-services-menu hr {
	margin: 2rem 0 3rem 0;
	background-color: #BC5F5F;
	color:  #BC5F5F;
	height: 1px;
}			

@media screen and (max-width: 900px) {
	
		
}



/* WP cover zoom */


.wp-block-cover {
	overflow: hidden;
}

.wp-block-cover img.wp-block-cover__image-background {
			transform: scale(1.1);
			transition: 5s transform ease-in-out;
}	
.wp-block-cover.inview img.wp-block-cover__image-background {
		transform: scale(1.0);
}

	




			
/* frontpage covers, text boxes and fades */


.fbk-cover-text-fade-right, .fbk-cover-text-fade-left {
	padding: 0 !important;
	height: auto;
	min-height: 0;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #fff;
}

.fbk-cover-text-fade-right div, .fbk-cover-text-fade-left div {
	height: auto;
	min-height: 30rem;
	width: 50% !important;
	padding: 3rem;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.5) !important;
}

.fbk-cover-text-fade-right div {
	margin: 0 50% 0 0 !important;
}
.fbk-cover-text-fade-left div {
	margin: 0 0 0 50% !important;
}


.fbk-cover-text-fade-right div {
	transform: translateX(-50%);
	opacity: 0;
	transition: 1s opacity ease-out, 1.0s transform cubic-bezier(.14,.14,.16,.99);
    transition-delay: 1s, 1s;
}

.fbk-cover-text-fade-left div {
	transform: translateX(50%);
	opacity: 0;
	transition: 1s opacity ease-out, 1.0s transform cubic-bezier(.14,.14,.16,.99);
    transition-delay: 1s, 1s;
}
	
.fbk-cover-text-fade-right.inview div {
	transform: translateX(0%);
	opacity: 1;
}
.fbk-cover-text-fade-left.inview div {
	transform: translateX(0%);
	opacity: 1;
}
	
.fbk-cover-text-fade-right h2, .fbk-cover-text-fade-right h3, .fbk-cover-text-fade-right p, 
.fbk-cover-text-fade-left h2, .fbk-cover-text-fade-left h3, .fbk-cover-text-fade-left p {
	color: #fffaef !important;
}		






@media screen and (max-width: 900px) {

	.fbk-cover-text-fade-right div, .fbk-cover-text-fade-left div {
		margin: 0 0 0 0% !important;
		width: 100% !important;
		opacity: 1;
	}
	
	.fbk-cover-text-fade-right div {
		transform: translateX(-100%);
	}
	
	.fbk-cover-text-fade-left div {
		transform: translateX(100%);
	}
	
}

/* frontpage orignals cover */

.fbk-cover-originals {
	padding: 0;
	overflow: hidden;
}

/*
.fbk-cover-originals img.wp-block-cover__image-background {
	transition: 5s transform ease-in-out;
	transform: scale(1.0);
}	
.fbk-cover-originals.inview img.wp-block-cover__image-background {
	transform: scale(1.1);
}
*/


.fbk-cover-originals-group  {
max-width: 1000px;
color: #fffaef;
padding: 2rem;
margin: 0 auto !important;
}

.fbk-cover-originals-group .wp-block-columns {
	margin: 0 auto !important;
}
	
@media screen and (max-width: 900px) {
	.fbk-cover-originals {
	font-size: 0.85rem;	
	}
}







/* frontpage cover logo */

.fbk-cover-logo {
	max-width: 1000px;
	margin: auto;
	padding: 2rem;
}

/*-----------------------------------------------------------------------*/
/* Frontpage people grid */



.fbk-people-grid {
	color: #000;
}

.fbk-people-grid ul {
	margin: 0;
	padding: 0;
	flex-direction: row;
	display: flex;
	flex-wrap: wrap;
}
	
.fbk-people-grid li {

	width: calc(25% - 10px);
	margin: 0 !important;
	overflow: hidden;
	text-align: center;	
	padding: 5px;

}

.fbk-people-grid li:hover {

}

@media screen and (max-width: 900px) {
	.fbk-people-grid li {
		width: calc(50% - 10px) !important;
	}	
}
@media screen and (max-width: 400px) {
		.fbk-people-grid li {
			width: calc(100%) !important;
		}	
}
	
.fbk-people-grid h4, .fbk-people-grid h3,.fbk-people-grid h2, .fbk-people-grid p {
	text-align: center;
}
		
.fbk-people-grid img {	
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0px;
	padding: 5px;
}

.fbk-people-grid-text {
	height: auto;
	min-height: 0;
}
	
.fbk-people-grid h4 {
	margin: 0;
}	
	
	
	
	
	
/* originals list */


.fbk-originals-list	{
	width: 100vw;
	margin: 0;
	padding: 0;
	margin-left: calc(50% - 50vw);
	
}

.fbk-originals-list	.wp-block-post-template {
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}	

.fbk-originals-list	li {
	width: 100%;
	height: 500px;
}
	
.fbk-originals-list .wp-block-post-featured-image {
	position: relative;
	height: 0;
	width: 100%;
	height: 100%;
}
		
.fbk-originals-list .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}		

.fbk-originals-list .wp-block-group {
	width: 45vw;
	margin-top: -500px;
	position: absolute;
	left: 50vw;
	padding: 2rem;
}
	
.fbk-originals-list .wp-block-post-excerpt {
	
}		
.fbk-originals-list .wp-block-post-title {
		
}		
.fbk-originals-list .wp-block-post-excerpt__more-link {
	display: inline-block;
	font-size: 1rem;
	font-weight: lighter;
	text-decoration: none;
	padding: 0.25rem 1rem;
	margin: 0.25rem;
	background-color: #BC5F5F;
	border-radius: 10rem;
	color: #FFF;			
}		
		
@media screen and (max-width: 900px) {
	.fbk-originals-list .wp-block-group {
		width: 100%;
		left: 0;		
	}	
}
		

	
	
	
	
	
	
	
	
	
	
	
/* Forms */

.wpcf7 input, .wpcf7 textarea {
border-radius: 1.5rem;
border: solid 1px #888;
padding: 0.5rem;
width: 100%;
margin: 0;
}	

.wpcf7-form  {
	display: flex;
	flex-wrap: wrap;
	padding: 2rem;

}	

.fbk-contant-form-2col  {
	width: calc(50% - 1rem);
	margin: 0 1rem 2rem 0;
}	
.fbk-contant-form-1col  {
		width: 100%;
		margin: 0 1rem 2rem 0;
}

.fbk-contant-form-submit {
	width: 100%;	
	text-align: center;
}

.fbk-contant-form-submit .wpcf7-submit {
	background-color: #bc5f5f;
	color: #fff;
	border-width: 0;
	padding: 1rem 2rem;
	width: auto;
}
.fbk-contant-form-submit .wpcf7-submit:hover {
	background-color: #803f3f;

}


.wpcf7-response-output {
	border: 0 !important;
}
.wpcf7-spinner {
	display: block;
	text-align: center;
}
				
		
/* some buttons */
.menu-some-buttons {
	margin-top: 1rem;
}
.menu-some-buttons section {
	margin: 0;
}

.menu-some-buttons .wp-block-button__link {
	color:#ffffff !important;
	background-color: transparent !important;
}

.menu-some-buttons img {
		max-width: 10vw !important;
		height: auto;
		opacity: 0.8;
}
.menu-some-buttons img:hover {
	opacity: 1;
} 
.menu-some-buttons a {
	text-decoration: none;
	background: transparent;
} 
.menu-some-buttons a:hover {
		text-decoration: none;
		background: transparent;
} 
		




/*----------------------------------------*/



/* wp buttons */
.wp-block-button {
	
}

.wp-block-button__link {
	background-color: #bc5f5f;
	color: #fff;
	border-width: 0;
	padding: 1rem 2rem;
	width: auto;
	
}

.wp-block-button__link:hover {
	background-color: #803f3f;	
}


.wp-block-button a {
	text-decoration: none;
	/*
	transform: scale(1.0);
	transition: 0.05s transform;
	*/
}
.wp-block-button a:hover {
	text-decoration: none;	
	/*
	background-color: #803f3f !important;
*/
	/*
	transform: scale(1.1);
	*/
	
}
	
		
	
/* tool classes for arranging things in wp */

.fbk-black-background {
	background-color: #000;
}

.pad1 {padding: 1rem }		
.pad2 {padding: 2rem }		
.pad3 {padding: 3rem }		
.pad4 {padding: 4rem }		
.pad5 {padding: 5rem }		
	


/* heading arrows */

/*.home h2:after {*/

h2:after {
	content:"";
	display: inline-block;
	width: 32px;
	height: 32px;
	margin: -1px 20px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMzEiIHZpZXdCb3g9IjAgMCAyMyAzMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIzIDE1LjUwNzFMMTIuNjA5MiAzMUgwTDEwLjM5MDggMTUuNDc4OEwwIDBIMTIuNjA5MkwyMyAxNS41MDcxWiIgZmlsbD0iI0JDNUY1RiIvPgo8L3N2Zz4K");
}

/*.home h2:before {*/

h2:before {
	content:"";	
	display: inline-block;	
	width: 32px;
	height: 32px;
	margin: -1px 20px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMzEiIHZpZXdCb3g9IjAgMCAyMyAzMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTS01LjUxNjc4ZS0wNyAxNS40OTI5TDEwLjM5MDggMi43MTIzN2UtMDZMMjMgMy44MTQ3ZS0wNkwxMi42MDkyIDE1LjUyMTJMMjMgMzFMMTAuMzkwOCAzMUwtNS41MTY3OGUtMDcgMTUuNDkyOVoiIGZpbGw9IiNCQzVGNUYiLz4KPC9zdmc+");
}

/* --- */

.case-images-auto-row-height {
  grid-auto-rows: auto !important;
}

/* -- keep some logos in row at footer --- */

.keeprow {
  display: flex;
  flex-wrap: none;
  align-items: baseline;
  justify-content: center;
}

/* hide recapcha banner,  add terms  */

.grecaptcha-badge { visibility: hidden; }
.grecaptcha-terms {
	font-size: 0.75rem;
	color: #888;
}
.grecaptcha-terms a {
	text-decoration:underline;
	color: #888;
}


/* cookie consent */
/*
#cookie-notice {
    display: flex;
    position: fixed !important;
    top: 25vh !important;
    left: 25vw !important;
    width: 50vw !important;
    min-width: 50vw !important;	
    height: 50vh !important;
    background-color: rgba(20,20,20,0.9);
    box-shadow: 0px 5px 50px #000;
    align-items: center;
    justify-items: center;
	text-align: center;
	border-radius: 5px;
}

.cookie-notice-container {
	width: auto !important;
    min-width: 50vw !important;

}

.cookie-notice-hidden {
	display:none !important;
	visibility: none !important;
}

#cn-notice-text {
	display:block;
	margin: 1rem;
	font-size: 1rem;
}


#cn-notice-buttons {
	display: block;	
}
*/


