/*!
Theme Name: MAMHS
Theme URI: http://underscores.me/
Author: Balonka Universe AB
Author URI: https://balonka.se
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mamhs-theme
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.

MAMHS 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;
}

/* 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;
	font-family: futura-pt, sans-serif;
	font-weight: 400;
	font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: futura-pt, sans-serif;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
}

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: #e3e1cd;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
:root {
	--brown: #bc946a;
	--black: #404041;
	--silver: #e3e4e2;
	--white: #fff;
	--white-tl90: rgba(255,255,255,.9);
	--gray: #e3e4e2;
	--gray1: #a7a9ac;
	--logo-brown: #c49b6a;
	--dark-brown: #453838;
	--green: #819f74;
}

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: var(--gray1);
	text-decoration: none;
}

a:visited {
	color: var(--gray1);
}

a:hover,
a:focus,
a:active {
	color: var(--black);
}

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: .5em;
	max-width: 100%;
}

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;
	max-width: 100%;
}

textarea {
	width: 100%;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
	outline: .1em soild var(--gray1);
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: var(--gray);
}

::-moz-placeholder { /* Firefox 19+ */
	color: var(--gray);
}
:-ms-input-placeholder { /* IE 10+ */
	color: var(--gray);
}
:-moz-placeholder { /* Firefox 18- */
	color: var(--gray);
}

/*--------------------------------------------------------------
# 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 {
	position: absolute;
    top: 100%;
    z-index: 99999;
    display: block;
    background: var(--black);
    color: #fff;
    padding: 0 .5em;
    min-width: 12em;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility 0s .2s, transform .2s;
    transform: translate(1em, 1em);
	left: -1em;
}

.main-navigation ul ul ul {
	top: 0;
    left: 100%;
}

.main-navigation ul ul li {
	padding: 0;
    margin: 0 !important;
    border-bottom: .1em solid #383535;
}

.main-navigation ul ul a {
	color: inherit !important;
    padding: .5em;
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
	visibility: visible;
    transition-delay: 0s;
    transform: none;
	opacity: 1;
}

.main-navigation li {
	position: relative;
}

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

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}

}

.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 0 1.5em;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 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
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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;
}

/* TOP Header
-----------------------------------*/
#top_header{ background-color: #404041; }
#top_header .flex_container{ min-height: 60px;}
.top_header_links{color:#e3e4e2;}

#masthead{background-color: #ffffff;}



/* Start page
-----------------------------------------*/
.flex_container,
.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.container::after {
	content: '';
	display: table;
	clear: both;
}

.flex_container{
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content: space-between;
}

.top_two_images_wrapper{background-color: #ffffff;margin-top: 1em;}
.start_top_images{
	flex-basis: calc(50% - 11px);
  	/* padding: 22px; */
	line-height: 1;
}

.start_top_images img{}

@media (max-width: 800px) {
	/* .flex_container {
	  flex-direction: column;
	} */
  }


/*.section:not(:last-child) {*/
.section {
	margin-bottom: 20px;
}

.boxed-container,
.container-padded {
	padding-left: 22px;
	padding-right: 22px;
}

.boxed-container {
	padding-top: 22px;
	padding-bottom: 22px;
	background: #fff
}

.section .section-title,
.section .entry-title {
	font-weight: 300;
    letter-spacing: .2em;
    font-size: 1.6em;
    margin: 0;
	text-transform: uppercase;
}

.newsletter-section .column-1 {
	padding-left: 5em;
    padding-right: 2em;
    border-right: 1px solid #d1d1d1;
	flex-basis: 40%
}

.newsletter-section .column-2 {
	padding-left: 2em;
    padding-right: 5em;
	flex-basis: 60%
}

.feedback {
	background: url(images/quote.png) no-repeat 40px 0px/80px auto;
    padding: 5px 50px 0px 150px;
	min-height: 60px;
}

.site-footer .footer-row_logos .flex_container {background-color: white;justify-content: space-evenly;display: flex;flex-wrap: wrap;}
.site-footer .footer-row_logos .flex_container .widget{margin-top: 1.5em;} 

.site-footer .footer-row1 {
	background: #404041;
	padding: 1em 0;
	color: #fff;
}

.site-footer .footer-row1 a {
	color: inherit
}

.site-footer .flex_container {
	justify-content: flex-start;
	padding: 0 22px;
}

.site-footer .footer-row1 .flex_container {
    align-items: center;
}

.site-footer .footer-row1 .widget {
	margin: 0;
	line-height: 1;
}

.footer-social-icons {
	display: flex;
}

.footer-social-icons > h3 {
    font-weight: 200;
    font-style: normal;
    font-size: 1em;
    letter-spacing: .2em;
    margin: 0 .5em 0;
}

.footer-social-icons .social-icon:not(:last-child) {
	margin-right: .5em;
}

.footer-logo {
	margin-right: 2em !important
}

.main-content-section {
	margin-top: 20px
}

.footer-row2 {
	padding-top: 10px;
}

.footer-row2 .flex_container > .kontakta-oss {
	flex-basis: calc(25% - 1em)
}

.footer-row2 .flex_container > .photo {
	flex-basis: calc(27% - 1em);
	margin-top: 1.25em;
}

.footer-row2 .flex_container > .photo-text {
	flex-basis: 46%
}

.footer-row2 .flex_container > :not(:last-child) {
	margin-right: 1em;
}


#masthead .flex_container {
    justify-content: flex-start;
	flex-wrap: nowrap;
}

#masthead .widget {
	margin-bottom: 0;
}

#masthead .site-branding,
#header-search {
	margin-right: 2em;
}

#masthead .site-branding {
	flex: 0 0 5em;
}

#header-modules {
	display: flex;
    align-items: center;
	flex: 1 1 auto;
}

#header-search,
#header-search form [type=search] {
	flex: 1 1 auto;
}

#header-search form {
	background: #e3e4e2;
    display: flex;
}

#header-search form [type=search] {
	border: none;
    background: none;
    padding: 15px 10px;
	outline: none;
}

#header-search form button[type=submit] {
	text-indent: -999em;
    line-height: 0;
    margin: .2em;
    background: #fff;
	position: relative;
    padding: 0;
    width: 3.5em;
	cursor: pointer;
}

#header-search form button[type=submit]::before, 
#header-search form button[type=submit]::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
}

#header-search form button[type=submit]::before {
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    border: .15em solid var(--black);
    transform: translate(-.7em, -.8em);
}

#header-search form button[type=submit]::after {
    width: .15em;
    height: .9em;
    background: var(--black);
    border-radius: 1em/2em;
    transform: rotate(45deg) translate(-.35em, .75em);
}

.main-navigation ul {
	justify-content: flex-end;
}

.main-navigation ul > li {
	padding-bottom: .5em
}

/* .main-navigation ul > li.current-menu-item {
	font-weight: 600;
} */

.main-navigation ul > li:not(:last-child) {
	margin-right: 1em
}

.main-navigation ul > li a:hover,
.main-navigation ul > li.current-menu-item a {
	color: var(--black);
}

#header-texts-icons {
	flex: 1 1 1em;
}

#header-icons {
	display: flex;
	align-items: center;
}

#header-cart {
	display: flex;
	align-items: center;
	margin-left: auto;
}

#header-cart > :not(:last-child),
#header-currency > :not(:last-child),
#header-icons > :not(:last-child) {
	margin-right: .7em;
}


#header-currency {
	display: flex;
}

#header-currency .wpml-ls-legacy-dropdown {
	position: relative;
}

#header-currency .wpml-ls-legacy-dropdown::before {
	content: '';
    position: absolute;
    background: url(images/icon-flag.png) no-repeat top left/100% auto;
    width: .8em;
    height: 1.1em;
    left: -1.2em;
	top: .3em
}

#header-currency .wpml-ls-legacy-dropdown a,
#header-currency .wcml-dropdown a {
	background-color: #e3e4e2;
	border: none;
	text-transform: uppercase;
    letter-spacing: .15em;
	font-size: .95em;
	color: inherit;
}

#header-currency .wcml-dropdown li {
	border: none
}

#header-currency .wpml-ls-legacy-dropdown {
	width: 8em
}

#header-currency .wcml-dropdown {
	width: 5em
}

.full-width {
	width: 100%
}

#header-texts .widget_text p {
	margin: 0 0 .5em;
}

#top_header .flex_container {
	justify-content: flex-end;
	align-items: center;
}

#top_header .widget {
	margin-bottom: 0;
}

ul.tick-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0
}

ul.tick-list > li:not(:last-child) {
	margin-right: 1em
}

ul.tick-list > li .fas {
	font-size: .8em;
    margin-right: .2em;
	color: #bc946a;
}

#cat-navigation {
	padding-top: 1.5em;
	padding-bottom: 1.5em;
}

#cat-navigation .flex_container {
	padding-left: 22px;
    padding-right: 22px;
    justify-content: flex-start;
}

#cat-navigation ul > li a {
	color: var(--black)
}

#cat-navigation ul > li a:hover,
#cat-navigation ul > li.current-menu-item > a {
	color: var(--gray1);
}


.mini-cart-wrap,
#header-cart .widget_wishlist_products_counter {
	position: relative;
}

.mini-cart-wrap .basket-link .fas,
#header-cart .widget_wishlist_products_counter .wishlist_products_counter::before {
	color: #bc946a;
    font-size: 2em;
}

#header-cart .widget_wishlist_products_counter .wishlist_products_counter::before {
	font-size: 2.5em;
}

.mini-cart-wrap .basket-link .counter,
#header-cart .widget_wishlist_products_counter .wishlist_products_counter_number {
	position: absolute;
    border-radius: 50%;
    background: #404041;
    color: #e3e4e2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    padding: .8em;
    top: -.4em;
    right: -.4em;
    font-size: .9em;
}

#header-cart .widget_wishlist_products_counter .wishlist_products_counter_number {
	top: -.3em;
}

#header-cart .widget_wishlist_products_counter .wishlist_products_counter_number:empty {
	display: none;
}

.mini-cart-wrap .mini-cart-contents-wrap {
	position: absolute;
	right: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility 0s .2s, transform .2s;
	background: var(--black);
    padding: 1em;
    color: var(--white);
	z-index: 999;
	min-width: 22em;
	max-width: 100vw;
	transform: translate(1em, 1em);
}

.mini-cart-wrap .mini-cart-contents-wrap a {
	color: inherit;
}

.mini-cart-wrap:hover .mini-cart-contents-wrap {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
	transform: none;
}

ul.woocommerce-mini-cart {
    margin: 1em 0 0;
    padding: 0;
    list-style: none;
}

.woocommerce-mini-cart li {
    display: flex;
    border-bottom: .1em solid #383535;
    padding-bottom: 1em;
	padding-top: 1em;
}

.woocommerce-mini-cart li > :not(:last-child) {
    margin-right: .8em;
}

.mini-cart-thumbnail img {
    width: 4em;
    height: 4em;
    max-width: none;
    object-fit: cover;
    display: block;
}

.mini-cart-product-name {
    flex-basis: 10em;
    line-height: 1.1;
    font-size: .95em;
}

.mini-cart-quantity {
	white-space: nowrap;
    font-size: .95em;
    flex-basis: 3.5em;
}

.mini-cart-product-remove {
    margin-left: auto;
}

.woocommerce-mini-cart__total {
	padding-left: 4.8em;
}

.woocommerce-mini-cart__total * {
	display: inline-block;
}

.woocommerce-mini-cart__total strong {
    width: 10em;
}

.woocommerce-mini-cart__total .amount {
	text-align: right;
    width: 3.5em;
}

.amount{
	white-space: nowrap;
}

.woocommerce-mini-cart__buttons {
	text-align: center;
    margin-bottom: 1em;
}

.woocommerce-mini-cart__buttons .button:not(.checkout) {
	display: none;
}

.woocommerce-mini-cart__buttons .button {
	background: var(--brown);
    color: #fff;
    padding: .6em 1em;
    display: block;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.mini-cart-contents-wrap .woocommerce-mini-cart__total {padding-left: 0px;}

.mini-cart-contents-wrap .woocommerce-mini-cart__total strong {width: 28%;}

.mini-cart-contents-wrap .woocommerce-mini-cart__total.total  .woocommerce-Price-amount {width: 70%;}


.select-wrap {
    position: relative;
	display: inline-block;
}

.select-wrap,
.select-wrap > select {
    cursor: pointer;
}

.select-wrap,
.select-wrap > select option {
    background: var(--gray);
}

.select-wrap > select {
    appearance: none;
    border: none;
	background: none;
    padding: .4em 2em .4em 1em;
	margin: 0;
	z-index: 1;
    position: relative;
}

.select-wrap::after {
    content: '';
    position: absolute;
    right: .8em;
    top: 50%;
    width: .5em;
    height: .5em;
    border-right: .1em solid;
    border-bottom: .1em solid;
    transform: rotate(45deg) translate(-50%, -50%);
}


.radio-options label {
	position: relative;
	padding-left: 1.1em;
	cursor: pointer;
}

.radio-options label:not(:last-child) {
	margin-right: 1em
}

.radio-options label > input[type=radio] {
	display: none;
}

.radio-options label > .control,
.radio-options label > .control::before {
	position: absolute;
	border-radius: 50%;
}

.radio-options label > .control {
	left: 0;
    top: .25em;
    width: .85em;
    height: .85em;
    border: .12em solid var(--black);
    font-size: .9em;
}

.radio-options label > .control::before {
	content: '';
	left: .1em;
    right: .1em;
    top: .1em;
    bottom: .1em;
	background: var(--black);
	opacity: 0;
    transition: opacity .4s;
}

.radio-options label > input[type=radio]:checked ~ .control::before {
	opacity: 1;
}



/** Product slider **/
#wps-slider-section .slick-track {
	display: flex;
}

#wps-slider-section .slick-track .wpsf-product {
	height: auto;
	margin-bottom: 0;
	position: relative;
	display: flex;
    align-items: center;
	border: .1em solid var(--gray);
}

#wps-slider-section .sp-wps-theme_three .wpsf-product .sp-wps-product-image-area {
	position: static !important;
	border: none !important;
}

#wps-slider-section .sp-wps-theme_three .wpsf-product .sp-wps-product-details {
	background-color: rgba(0,0,0,.75) !important;
	-webkit-transition: all .3s ease-in-out !important;
	-moz-transition: all .3s ease-in-out !important;
	-ms-transition: all .3s ease-in-out !important;
	-o-transition: all .3s ease-in-out !important;
	transition: all .3s ease-in-out !important;
	color: #fff;
}

#wps-slider-section .sp-wps-theme_three .wpsf-product .sp-wps-product-details a,
#wps-slider-section #sp-woo-product-slider-5495 .wpsf-product-price {
	color: inherit !important;
}

#wps-slider-section .wpsf-product-title a,
#wps-slider-section .wpsf-cart-button a {
	font-weight: 400 !important;
}

#wps-slider-section .wpsf-cart-button a:not(:hover) {
	border-color: var(--gray1) !important;
}

.wpml-ls-legacy-list-vertical {
	display: block;
}


.download-section-title {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 1em;
    font-style: normal;
    letter-spacing: .15em;
}

.download-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    border-top: .1em solid var(--gray);
    top: 50%;
}

.download-section-title > span {
	background: var(--white);
    padding: 0 .5em;
    position: relative;
    z-index: 1;
}

.download-section .download-img, 
.download-section .download-img img {
    border: .1em solid var(--gray);
}

.download-section .download-img {
	padding: .3em;
}

.download-section .download-name {
    font-size: .85em;
    line-height: 1.3;
    color: #666;
    margin-top: .5em;
}

.download-section .download-name a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#cat-navigation .widget {
	margin-bottom: 0;
}


/** Products / Grid **/
ul.products, .grid {
	padding: 0;
	margin: 0;
}

ul.products:not(.columns-1),
.grid:not(.columns-1) {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -11px;
}

ul.products li.product,
.grid .grid-item {
	list-style: none;
	position: relative;
	margin-bottom: 4em;
}

ul.products:not(.columns-1) li.product,
.grid:not(.columns-1) .grid-item {
	margin: 11px;
}

ul.products:not(.columns-1) li.product,
.grid:not(.columns-1) .grid-item,
.grid .grid-item.grid-item-1-3 {
	width: calc(33.33% - 22px);
}

.grid .grid-item.grid-item-2-3 {
	width: calc(66.66% - 22px);
}

ul.products.columns-2 li.product,
.grid.columns-2 .grid-item,
.grid .grid-item.grid-item-1-2 {
	width: calc(50% - 22px);
}

ul.products.columns-3 li.product,
.grid.columns-3 .grid-item,
.grid .grid-item.grid-item-1-3 {
	width: calc(33.33% - 22px);
}

ul.products.columns-4 li.product,
.grid.columns-4 .grid-item,
.grid .grid-item.grid-item-1-4 {
	width: calc(25% - 22px);
}

ul.products.columns-5 li.product,
.grid.columns-5 .grid-item,
.grid .grid-item.grid-item-1-5 {
	width: calc(20% - 22px);
}

ul.products.columns-6 li.product,
.grid.columns-6 .grid-item,
.grid .grid-item.grid-item-1-6 {
	width: calc(16.66% - 22px);
}



/** blogg **/
.blogg-item .item-readmore {
	margin-top: auto;
    text-decoration: none;
    color: inherit;
    font-style: italic;
	font-weight: 300;
    letter-spacing: .2em;
    font-size: 1.6em;
    text-transform: uppercase;
}

.kontakt-main-section .container,
.kotakt-persons-section .container {
	overflow-x: hidden;
}

.kontakt-person .name {
	text-align: center;
    font-size: .9em;
}


@media (min-width: 1024px) {
    .blogg-item {
        display: flex;
    }

    .blogg-item .item-image {
        width: 535px;
		margin-right: 2em;
    }

    .blogg-item .item-content {
        width: 50%;
		display: flex;
		flex-direction: column;
    }
}

@media (min-width: 540px) and (max-width: 1023px) {
	.blogg-item .item-image img {
		float: left;
		width: 55%;
		margin-right: 2em;
		margin-bottom: 1em;
	}

	.blogg-item .item-content * {
		clear: none;
	}
}

.blogg .blogg-item:not(:last-child) {
    margin-bottom: 2em;
}

.blogg-item .item-image {
	text-align: center;
}

/** Blogg end **/



/** Slider **/
.popular-products-slider .section-title {
	margin-bottom: .5em
}

.products-slider .splide__slide {
	display: flex;
	align-items: center;
}

@media (min-width: 768px) {
	.products-slider .splide__arrows {
		position: absolute;
		right: 0;
		top: -3em;
	}
}

@media (max-width: 767px) {
	.products-slider .splide__arrows {
		display: flex;
		justify-content: center;
		margin-bottom: .5em
	}
}

.products-slider .splide__arrow {
	background: none;
    padding: .5em .8em;
    cursor: pointer;
}

.products-slider .splide__arrow svg {
	max-width: .8em;
    height: auto;
}

.products-slider .splide__arrow--prev {
	transform: rotate(-180deg);
	margin-right: .5em
}

.products-slider ul.splide__pagination {
	margin-top: .5em;
    padding: 0;
}

.products-slider ul.splide__pagination > li:not(:last-child) {
	margin-right: .3em
}

.products-slider .splide__pagination__page {
	border: none;
    width: .75em;
    height: .75em;
    border-radius: 50%;
    padding: 0;
	background: var(--gray);
	transition: background-color .3s;
	cursor: pointer;
}

.products-slider .splide__pagination__page.is-active {
	background: var(--black)
}

.products-slider .slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: .5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.8);
    color: #fff;
    text-align: center;
    font-size: .95em;
	transform: translate(1em, 1em);
	opacity: 0;
	visibility: hidden;
	transition: transform .2s, opacity .2s, visibility 0s .2s;
}

.products-slider .splide__slide:hover .slide-overlay {
	transition-delay: 0s;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.products-slider .slide-overlay > :not(:first-child) {
	margin-top: 1em
}

.products-slider .slide-overlay a {
	color: inherit;
}

.products-slider .slide-product-add-to-cart {
    border: .05em solid;
    padding: .4em .7em;
    margin-top: 1em;
	transition: background-color .2s, border-color .2s;
}

.products-slider .slide-product-add-to-cart:hover {
	background: var(--black);
	border-color: #444;
}

.products-slider .slide-product-price mark,
.products-slider .slide-product-price ins {
	background: none;
}






/** Responsive */
#masthead,
#top_header {
	padding: 0 .5em
}

#mobile-menu .mobile-menu-btn {
	background: none;
    border: 0;	
	padding: .5em;
	cursor: pointer;
}

#mobile-menu .mobile-menu-btn .bar {
	display: block;
    border-top: .13em solid var(--black);
    width: 2em;
}

#mobile-menu .mobile-menu-btn  .bar:not(:last-child) {
    margin-bottom: .35em;
}

#mobile-sidebar,
#mobile-sidebar .sidebar-overlay,
#mobile-sidebar .sidebar-wrap {
	top: 0;
	bottom: 0;
	right: 0;
}

#mobile-sidebar,
#mobile-sidebar .sidebar-overlay {
	left: 0;
}

#mobile-sidebar {
	position: fixed;
	z-index: 9999999;
	visibility: hidden;
	transition: visibility 0s .3s;
	color: var(--white);
}

#mobile-sidebar a {
	color: inherit;
}

html.mobile-sidebar-open {
	overflow: hidden;
}

html.mobile-sidebar-open #mobile-sidebar {
	visibility: visible;
	transition-delay: 0s;
}

#mobile-sidebar .sidebar-overlay,
#mobile-sidebar .sidebar-wrap {
	position: absolute;
}

#mobile-sidebar .sidebar-overlay {
	background:rgba(0, 0, 0, 0.8);
	transition: opacity .3s;
}

html:not(.mobile-sidebar-open) #mobile-sidebar .sidebar-overlay {
	opacity: 0;
}

#mobile-sidebar .sidebar-wrap {
	background: var(--black);
    width: 18em;
    z-index: 1;
    transition: transform .3s;
    padding: 1em;
	overflow-y: auto;
}

html:not(.mobile-sidebar-open) #mobile-sidebar .sidebar-wrap {
	transform: translateX(100%);
}

#mobile-sidebar .sidebar-wrap header {
	display: flex;
    border-bottom: .1em solid #383535;
    margin-bottom: 1em;
    align-items: center;
    padding-bottom: .8em;
}

#mobile-sidebar .sidebar-wrap header h3 {
	margin: 0 auto 0 0;
}

.btn-dismiss {
    background: none;
    border: 0;
    position: relative;
    padding: .5em;
	cursor: pointer;
}

.btn-dismiss::before, 
.btn-dismiss::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: .1em solid #fff;
}

.btn-dismiss::before {
    transform: rotate(45deg);
}

.btn-dismiss::after {
    transform: rotate(-45deg);
}

#mobile-sidebar .sidebar-widgets ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

#mobile-sidebar .sidebar-widgets ul ul {
	padding-left: 1em
}

#mobile-sidebar .sidebar-widgets ul a {
    display: block;
    padding: .5em 0;
    border-bottom: .1em solid #383535;
    text-transform: uppercase;
}

.site-footer .flex_container {
	flex-wrap: nowrap;
}

#mobile-sidebar .sidebar-widgets ul.product-categories ul,
#mobile-sidebar .sidebar-widgets ul.menu ul {
	display: none;
}

#mobile-sidebar .sidebar-widgets ul.product-categories li,
#mobile-sidebar .sidebar-widgets ul.menu li {
	position: relative;
}

#mobile-sidebar .sidebar-widgets ul.product-categories li > .toggle-children,
#mobile-sidebar .sidebar-widgets ul.product-categories li > .toggle-children::after,
#mobile-sidebar .sidebar-widgets ul.menu li > .toggle-children,
#mobile-sidebar .sidebar-widgets ul.menu li > .toggle-children::after {
	position: absolute;
}

#mobile-sidebar .sidebar-widgets ul.product-categories li > .toggle-children,
#mobile-sidebar .sidebar-widgets ul.menu li > .toggle-children {
	right: 0;
	width: 2.5em;
	height: 2.5em;
	top: 0
}

#mobile-sidebar .sidebar-widgets ul.product-categories li > .toggle-children::after,
#mobile-sidebar .sidebar-widgets ul.menu li > .toggle-children::after {
	content: '';
    position: absolute;
    right: .25em;
    top: 50%;
    width: .5em;
    height: .5em;
    border-right: .1em solid;
    border-bottom: .1em solid;
    transform: translate(-100%, -50%) rotateZ(45deg);
    transition: transform .2s;
}

#mobile-sidebar .sidebar-widgets ul.product-categories li > .toggle-children.open::after,
#mobile-sidebar .sidebar-widgets ul.menu li > .toggle-children.open::after {
    transform: translate(-100%, 0) rotateZ(45deg) scale(-1, -1);
}

.newsletter-wrapper{width: 100%;}
.newsletter-wrapper .text{width: 50%; float: left;}
.newsletter-wrapper .newsletter-form{width: 50%; float: left;}


.newsletter-wrapper .gform_wrapper , 
.newsletter-wrapper .gform_wrapper .gform_footer,
.newsletter-wrapper .gform_wrapper ul li.gfield,
.newsletter-wrapper .gform_wrapper .top_label div.ginput_container,
.newsletter-wrapper .gform_wrapper li.hidden_label input
{
	margin-bottom:0px;
	margin-top: 0px;
}

.newsletter-wrapper .gform_wrapper .gform_footer{
	margin-top: 0px; padding-top: 0px;
}

.newsletter-wrapper .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"])
{padding-top: 0px;}

.newsletter-wrapper .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked + label{font-weight: 500;}
/*
.gform_fields .gfield input::-webkit-input-placeholder {
  color:#404040;
}
.gform_fields .gfield input::-moz-placeholder { 
  color:#404040;
}
.gform_fields .gfield input:-ms-input-placeholder {
  color:#404040;
}
.gform_fields .gfield input:-moz-placeholder {
  color:#404040;
}
*/

/* gform placeholders*/
::-webkit-input-placeholder { color:#404040; }
:-moz-placeholder { opacity: 1; color:#404040; } /* Firefox 18- */
::-moz-placeholder { opacity: 1; color:#404040; } /* firefox 19+ */
:-ms-input-placeholder { color:#404040; } /* ie */
input:-moz-placeholder { color:#404040; }

.section-page-title h1{text-transform: initial;}




/* POPUP - produkt utseende */

.pum-container.pum-responsive.pum-responsive-normal {
	max-width: 1080px!important;
}

.pum-container .pum-content>:first-child {margin: 0;}

.pum-container .woocommerce .single-product .summary .product_meta,
.pum-container .woocommerce .single-product .summary .woocommerce-tabs,
.pum-container .woocommerce .single-product .summary .cart_group,
.pum-container .woocommerce .product .related,
.pum-container .woocommerce .woocommerce-product-gallery .flex-control-nav,
.pum-container .woocommerce .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:nth-of-type(2) {
	display: none;
}

.pum-container .woocommerce .single-product .summary-wrap {
    color: #e3e4e2;
}

.pum-container .woocommerce .single-product-details .woocommerce-product-gallery {width: 40%; margin-top: 0px;}
.pum-container .woocommerce .single-product-details .summary {width: 55%; margin-top: 0px;}
.pum-container .woocommerce .single-product-details .summary .product_title {margin-top: 0px;}

.pum-container .pum-content a.snabbkassaknapp {
	font-size: 30px;
    color: #e3e4e2;
    font-style: italic;
	margin-top: 30px;
}

.pum-container .pum-content button.pum-close.popmake-close.extra-button-class {
    padding: 0;
    text-align: left;
    border: 0px;
    background-color: rgb(0 0 0 / 0%);
    color: #e3e4e2;
    width: 58%;
    font-size: 17px;
}

.pum-container .woocommerce .single-product div.product .woocommerce-product-gallery .flex-viewport {
	max-width: 100%!important;
    height: auto!important;
}

.checkout-offer {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


@media (min-width: 600px) {
	.pum-container .woocommerce .single-product-details {
		display: block;
	}
	.pum-container .woocommerce .single-product-details .summary {
		float: right!important;
		width: 58%;
	}
	.pum-container .woocommerce .single-product-details .woocommerce-product-gallery {
		width: 40%;
		float: left!important;
		margin-right: 2%;
	}
}

@media (max-width: 599px) {
	.pum-container .woocommerce .single-product-details .woocommerce-product-gallery {
		max-height: 250px;
		width: 100%;
	}
	.pum-container.pum-responsive img {
		max-width: 100%;
		height: auto;
		max-height: 250px;
		object-fit: contain;
	}
	.pum-container .woocommerce .single-product-details .summary {
		width: 100%;
	}
	.pum-container .pum-content button.pum-close.popmake-close.extra-button-class {
		text-align: left;
		margin-top: 20px;
	}
}

@media (max-width: 400px) {
	.pum-container .pum-content a.snabbkassaknapp {
		font-size: 25px;
	}
}

@media (min-width: 800px) {
	.pum-container .pum-content a.snabbkassaknapp,
	.pum-container .pum-content .extra-button-class {
		width: 58%;
		float: right;
	}
}
@media (max-width: 799px) {
	.pum-container .pum-content a.snabbkassaknapp,
	.pum-container .pum-content .extra-button-class {
		width: 100%!important;
		float: right;
	}
}

@media (min-width: 1300px) {
	.pum-container .pum-content a.snabbkassaknapp {
		font-size: 40px;
	}
}


/* Kalender template */
body.kalender-template {
	background: url(images/christian-grab-AygJgCM_vto-unsplash.jpg) no-repeat top center/cover fixed;
}

body.kalender-template #masthead {
	background: none
}

body.kalender-template .container,
body.kalender-template .flex_container {
	max-width: 583px;
}

body.kalender-template .wpml-ls-statics-footer {
	display: none;
}

.title-frontpage-title h1 {padding-top: 25px;}


@media (max-width: 1023px) {
	#header-modules {
		flex-wrap: wrap;
		padding: .8em 0;
	}

	#header-search {
		margin-right: 0;
		flex-basis: 100%;
	}

	#header-texts-icons {
		order: -1;
		display: flex;
		align-items: center;
	}

	#header-icons {
		margin-left: auto
	}

	#header-texts .widget_text p {
		margin: 0
	}

	.grid.kontakt-row > .grid-item {
		width: calc(50% - 22px)
	}
}

@media (min-width: 860px) {
	#mobile-menu, #mobile-sidebar {
		display: none;
	}
}

@media (max-width: 859px) {
	#site-navigation,
	#cat-navigation {
		display: none;
	}
	.home .newsletter-section .newsletter-wrapper {display: flex; flex-direction: column;}
	.home .newsletter-section .newsletter-wrapper .text {width: 100%; padding-bottom: 10px;}
	.home .newsletter-section .newsletter-wrapper .newsletter-form {width: 100%;}
}

@media (max-width: 768px) {
	#masthead .site-branding {
		flex-basis: 75px;
		margin-bottom: .8em;
		display: flex;
		align-items: flex-end;
		position: relative;
	}

	#masthead .site-branding a {
		line-height: 0;
	}
	
	#masthead .site-branding::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		height: 25%;
		background: var(--logo-brown);
		left: 0;
		top: 0;
	}

	#header-texts {
		display: none;
	}

	#header-icons {
		flex: 1 1 auto;
		margin-left: 0;
	}

	#header-cart {
		margin-left: auto
	}

	#top_header {
		font-size: .9em;
	}

	#top_header .flex_container {
		min-height: 40px;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td,
	.tinv-wishlist table.tinvwl-table-manage-list thead th {
		width: auto !important;
		display: table-cell !important;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-date,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-stock,
	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-date,
	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-stock {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.site-footer .flex_container {
		display: block;
	}

	.newsletter-section .column-1 {
		padding-left: 0
	}

	.newsletter-section .column-2 {
		padding-right: 0
	}

	
	.footer-row_logos .flex_container .widget.widget_media_image{width: 50%;}
}

@media (max-width: 540px) {
	#masthead .site-branding {
		margin-right: 1em;
	}

	/* #header-search {
		margin-left: -4.8em;
	} */

	#header-currency {
		display: none;
	}

	#top_header {
		font-size: .7em;
	}

	#top_header .flex_container {
		justify-content: center;
	}

	#header-search form [type=search] {
		padding-top: 12px;
		padding-bottom: 12px;
	}



	ul.products li.product,
	.grid .grid-item {
		width: calc(50% - 22px) !important;
	}


	.newsletter-section .flex_container {
		display: block;
	}

	.newsletter-section .column-1 {
		padding-right: 0;
		padding-bottom: 2em;
		border-right: 0;
		border-bottom: 1px solid #d1d1d1;
	}

	.newsletter-section .column-2 {
		padding-left: 0;
		padding-top: 2em;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-price,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action,
	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-price,
	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-action {
		display: none !important;
	}

	.grid.kontakt-row > .grid-item {
		width: calc(100% - 22px) !important
	}

	.mini-cart-wrap .mini-cart-contents-wrap {
		right: -3.5em;
	}
}