/*
Theme Name: Markis
Text Domain: markis.se
Version: 0.9a
Description: Unikt WP tema för Markis AB
Tags: ACF
Author: Charlie Persson @ charlie@milk.se
*/


/* Margin Reset */

* {
    box-sizing: border-box;
}

html, body, main, section, img, figure, span, header, footer, ul, li, a, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

:root {
    --white: #ffffff;
    --grey-0: #f5f5f5;
    --grey-1: #ececec;
    --grey-2: #646464;
    --grey-3: #2e2d2c;
    --black: #010101;
    --green-1: #A6C756;
    --green-2: #6A9C00;
    --green-3: #5b8500;
    --green-4: ;
    --lightgreen: #f4f7ed;

    --link: calc(14px + (16 - 14) * ((100vw - 1240px) / (1920 - 1240)));
    --p: calc(16px + (18 - 16) * ((100vw - 1240px) / (1920 - 1240)));
}

::selection {
    background: #6A9C00; /* WebKit/Blink Browsers */
    color: white;
}

::-moz-selection {
    background: #6A9C00; /* Gecko Browsers */
    color: white;
}


/* Core elements */

html {
    font-family: "verdana", sans-serif;
    font-weight: 300;
}

body {
    font-family: "verdana", sans-serif;
    font-size: calc(15px + (18 - 15) * ((100vw - 1240px) / (1920 - 1240)));
    font-weight: 400;
    color: var(--black);
}

header {
    color: var(--black);
    width: 100vw;
}

footer {
    position: relative;
    z-index: 1;
    background-color: var(--grey-3);
    color: #fff;
    overflow-x: hidden;
}

main {
    max-width: 100vw !important;
    margin-top: 9rem;
    min-height: 70vh;
}

section {
    width: 100%;
}

button, input[type="submit"], input[type="reset"] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: inherit;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}


/* Core typgraphy */

h1, .h1 {
    font-family: "", sans-serif;
    font-size: calc(48px + (64 - 48) * ((100vw - 1240px) / (1920 - 1240)));
    max-width: 18em;
    line-height: 1.2em;
    letter-spacing: -1px;
    margin: 0.1em 0 .2em;
    font-weight: 400;
}


h2, .h2 {
    font-size: calc(28px + (36 - 28) * ((100vw - 1240px) / (1920 - 1240)));
    line-height: 1.3em;
    max-width: 18em;
    font-weight: normal;
    margin: 0.2em 0 .5em;
}


h3, .h3 {
    font-size: calc(22px + (28 - 22) * ((100vw - 1240px) / (1920 - 1240)));
    line-height: 1.5em;
    max-width: 24em;
    margin: 0.5em 0;
    font-weight: 400;
    color: inherit;

}

h4 {
    font-size: calc(16px + (18 - 16) * ((100vw - 1240px) / (1920 - 1240)));
    line-height: 1.4em;
    max-width: 32em;
    font-weight: normal;
}

h5, .h5 {
    font-size: calc(12px + (14 - 12) * ((100vw - 1240px) / (1920 - 1240)));
    line-height: 1.8em;
    font-weight: 400;
    text-transform: uppercase;
}

p {
    font-size: calc(16px + (18 - 16) * ((100vw - 1240px) / (1920 - 1240)));
    font-family: "Georgia", serif;
    line-height: 1.6em;
    max-width: 40em;
    font-weight: normal;
    margin: 1em 0 1.5em;
}

p a {
    font-size: var(--p);
    color: var(--green-2);
}


/* Core Parts */

a {
    text-decoration: none;
    font-size: var(--link);
    transition: opacity 0.2s ease, color 0.2s ease;
    color: inherit;
}

.text-link {
    color: var(--green-2);
}

.sans-serif {
    font-family: "verdana", sans-serif;
}

h1 span {
    font-size: inherit;
    margin-left: 0.3em;
    color: var(--green-1);
}

figure {
    position: relative;
}

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

.text-align-center p {
    text-align: center;
    margin: 1em auto 1.5em;
}

.text-align-center h2, .text-align-center h3 {
    max-width: none;
}


/* Classes */

/* Navigation */

li {
    list-style-type: none;
}

.bc-wrapper {
    width: calc(100vw - 12vw);
    margin: -2rem auto -4rem;
    max-width: 1920px;
    color: var(--grey-2);
}

.bc-wrapper span {
    border-bottom: 1px solid var(--green-2);
    color: var(--green-2);
    font-size: var(--link);
}

.bc-wrapper a:hover, .main-nav a:hover {
    color: var(--green-2);
}

.footer-container--links a:hover {
    color: var(--green-1);
}

.side-menu a:hover {
    color: var(--green-1);
}

/* Header */

header {
    z-index: 100;
}

.site-header a {
    color: inherit;
    text-decoration: none;
}

.primary-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 12vw);
    max-width: 1920px;
    margin: 0 auto;
    z-index: 10;
}

.navbar-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    flex: 1 1 auto;
}

.dropdown-nav .dropdown-menu {
    border-radius: 0 0 2px 2px;
    display: none;
    position: absolute;
    z-index: 102;
    max-width: 240px;
    background-color: #ffffff;
    text-align: left;
    list-style: none;
    right: 0;
    padding-top: 16px;
}

.dropdown-nav .dropdown-menu li {
    box-shadow: 0 1px 0 1px rgb(0 0 0 / 20%);
    display: block;
    padding: 12px 8px;
}

.dropdown-nav .dropdown-menu li a {
    color: #000;
    display: block;
    font-size: 14px;
    letter-spacing: .12em;
    font-weight: 400;
    text-decoration: none;
}


.dropdown-nav .dropdown-menu li a span {
    font-size: 14px;
}

.dropdown-nav ul a i.more {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.main-nav > ul > li.menu-item.active {
    font-weight: 900;
    border-bottom: 3px solid #a6c756;
}

.main-nav > ul > li.menu-item {
    border-bottom: 3px solid transparent;
    padding-bottom: calc(0.6em + 4px);
    padding-top: calc(0.6em + 3px);
}

.main-mobile-nav.dropdown-nav li.menu-item {
    border-bottom: 1px solid #E0E0E0;
    padding-top: 8px;
    padding-bottom: 8px;
}

.main-mobile-nav.dropdown-nav .dropdown-menu.is-active li:not(:nth-child(1)) {
    border-top: 1px solid #E0E0E0;
    margin-top: 4px;
    padding-top: 4px;
}

.main-mobile-nav.dropdown-nav .dropdown-menu.is-active {
    display: block;
    position: relative;
    max-width: 100%;
    background: transparent;
    padding: 0 0 0 12px;
}

.main-mobile-nav.dropdown-nav .dropdown-menu.is-active li {
    box-shadow: none;
    padding: 0;
    border-bottom: none;
}

.main-mobile-nav li.menu-item.active {
    font-weight: 800;
}

.dropdown-expand {
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
}

.dropdown-expand.is-active:after {
    content: "\2212";
}

.dropdown-expand:after {
    content: '+';
    color: #696969;
    font-weight: 100;
    font-size: 24px;
    padding-left: 24px;
}

.main-nav ul li.menu-item-has-children:hover .dropdown-menu {
display: block
}

.main-nav ul li.menu-item {
position: relative;
}

.main-nav {
display: flex;
align-items: center;
}

.main-nav a {
padding: .6em;
display: inline-block;
white-space: nowrap;
}

.menu-item a {
font-size: var(--link);
}

.side-menu {
background-color: var(--grey-0);
flex: 0 0 25%;
max-width: 20rem;
padding: 9rem 4rem 0 0;
}

.side-menu li {
list-style-type: none;
padding: 0.5em 0;
list-style-type: none;
}

.side-menu a {
color: var(--black);
}

#info-button {
position: relative;
width: 100%;
}

.info-nav-active {
max-height: 350px !important;
}

.custom-logo {
height: 44px;
width: auto;
}

#navbar {
top: 0;
position: fixed;
background-color: #fff;
border-bottom: 2px solid var(--grey-1);
transition: top 0.4s ease;
}

.nav-down {
top: -6rem !important;
}

.mobile-menu {
display: none;
justify-content: space-between;
align-items: center;
width: 100%;
margin: 0 auto;
z-index: 10;
color: black;
padding: .6em 1rem !important;
}

.main-mobile-nav {
position: absolute;
background-color: #f5f5f5;
height: 100vh;
width: 100%;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}

.main-mobile-nav ul {
padding: 0 1rem;
}

.main-mobile-nav li {
border-bottom: 1px solid #E0E0E0;
line-height: 3em;
}

.main-mobile-nav li a {
width: 100%;
position: relative;
display: block;
}

.main-mobile-nav li a::after {
content: '';
display: block;
background: url(assets/imgs/expand_more_arrow.png);
background-size: contain;
height: 24px;
width: 24px;
opacity: 0.6;
position: absolute;
right: 0;
top: 25%;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
}

.main-mobile-nav li {
padding: .2em 0;
list-style-type: none;
}

.main-mobile-nav li.menu-item-has-children a::after {
    content: none;
}

#open {
display: none;
}

.button-fixed {
position: fixed;
overflow: hidden;
right: 40px;
bottom: 40px;
padding: 1em 2em;
font-size: var(--link);
display: flex;
justify-content: center;
align-items: center;
background-color: var(--green-1);
color: var(--grey-0);
z-index: 9999;
cursor: pointer;
opacity: 1;
box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
transition: opacity 0.2s cubic-bezier(.37, .66, .42, .99);
}

.button-fixed::before {
content: "";
display: block;
position: absolute;
top: 0;
right: 20px;
bottom: 0;
left: -20px;
z-index: -1;
background-color: var(--green-2);
-ms-transform: scaleX(1.3) skewX(30deg) translateX(-100%);
transform: scaleX(1.3) skewX(30deg) translateX(-100%);
transform-origin: center left;
transition: transform .4s ease;
}

.button-fixed:hover::before {
transform: scaleX(1.3) skewX(30deg) translateX(0);
}

.button-fixed-modal {
position: fixed;
right: 40px;
bottom: 0;
width: 22em;
z-index: 10000;
pointer-events: none;
opacity: 0;
transition: .4s cubic-bezier(.37, .66, .42, .99);
}

.booking-thanks {
padding-bottom: 24px;
}

.booking-thanks-white {
background: white;
padding: 24px;
color: black;
margin: 24px;
}

.booking-filter {
position: fixed;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
background-color: black;
transition: opacity 0.2s ease;
pointer-events: none;
opacity: 0;
z-index: 1;
}

.filter-active {
opacity: 0.2;
pointer-events: all;
}

.modal-active {
opacity: 1;
bottom: 40px;
pointer-events: all;
}

.hidden {
opacity: 0;
}

.overflow {
overflow: hidden;
}

.booking-container {
position: relative;
-webkit-box-shadow: 0px 8px 26px -8px rgba(0, 0, 0, 0.62);
-moz-box-shadow: 0px 8px 26px -8px rgba(0, 0, 0, 0.62);
box-shadow: 0px 8px 26px -8px rgba(0, 0, 0, 0.62);
background-color: var(--white);
padding: 2em 1.5em 1em;
}

.booking-container h2 {
font-size: 32px;
}

#exit-button {
position: absolute;
width: min-content;
top: 1rem;
right: 1rem;
width: 24px;
height: 24px;
transition: 0.26s ease;
transform-origin: center;
cursor: pointer;
}

#exit-button:hover {
transform: rotateZ(90deg);
}

.mdiv {
height: 24px;
width: 2px;
margin-left: 12px;
background-color: black;
transform: rotate(45deg);
Z-index: 1;
}

.md {
height: 24px;
width: 2px;
background-color: black;
transform: rotate(90deg);
Z-index: 2;
}


/* Search */

.searchform {
    display: flex;
    margin-left: 2rem;
    flex: 1 1 auto;
    width: 100%;
}

.searchform form {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.searchform label {
    width: 100%;
    padding-right: 2em;
}

.searchform input {
    margin-top: 4px;
    overflow: visible;
    width: 100%;
    max-width: 20rem;
    font-size: var(--link);
    line-height: 1.4em;
    border: none;
    border-bottom: 2px solid var(--grey-1);
}

.searchform .search-field {
    margin-top: 0;
    line-height: 1.4em;
}

.searchform input:focus {
    outline: none;
    background-color: none;
    border-bottom: 2px solid var(--green-1);
}

.searchform input:active {
    background-color: none;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.alert {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 30vh;
}


/* Contact Forms */

.CF7-wrapper form {
    display: inline-flex;
    align-items: flex-end;
}

.CF7-wrapper form p {
    text-align: left;
    margin-left: 2rem;
    display: inherit;
    max-width: 16em;
    width: 100%;
}

.CF7-wrapper form text {
    margin-left: 1rem;
}


.CF7-wrapper input, .CF7-wrapper select {
    overflow: visible;
    font-size: var(--link);
    padding-left: 1em;
    width: 100%;
    margin-left: 0;
    line-height: 2.5em;
    border: none;
    border-radius: 1px;
    background-color: var(--grey-0);
    transition: box-shadow .4s ease;
}

.CF7-wrapper form select {
    height: 37px;
    min-width: 130px;
}

@media screen and (min-width: 1921px) {
    .button-fixed-form.CF7-wrapper select {
        height: 47px;
    }
}

.CF7-wrapper input:focus, .CF7-wrapper select:focus {
    box-shadow: 0 0 0 3px var(--lightgreen) inset;
    outline: none;
    background-color: none;
}

.CF7-wrapper input:active, .CF7-wrapper select:active {
    background-color: none;
    box-shadow: 0 0 0 3px var(--lightgreen) inset;
}

[type="Submit"] {
    padding: 1px 2em !important;
    width: fit-content !important;
    color: var(--white);
    background-color: var(--green-1) !important;
    position: relative;
}

p label {
    font-size: 14px;
    line-height: 1.6em;
}


[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

label {
    font-family: "Verdana", sans-serif;
}

.wpcf7-response-output {
    display: none;
}

.green input[type="Submit"] {
    background-color: var(--black) !important;
    color: white !important;
    font-family: "verdana", sans-serif;
}


.button-fixed-form form {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.button-fixed-form input, .button-fixed-form select {
    width: 100%;
    max-width: 100%;
}

.button-fixed-form input[type="Submit"] {
    margin-top: 1em;
}

.button-fixed-form form p {
    margin: 0.5em 0;
    max-width: 100%;
    width: 100%;
}

.button-fixed-form form label {
    width: 100%;
}

.ajax-loader {
    display: none !important;
}


/* Footer */

.footer-container {
    position: relative;
    padding: 4rem 0 0;
    margin: 0 auto;
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 1920px;
    width: calc(100% - 12vw);
}

.footer-container--logo {
    margin-bottom: 2rem;
    margin-top: 4rem;
}

.footer-container--social {
    margin-bottom: 1.2rem;
}


.footer-container--social a {
    margin-right: 16px;
}

.footer-container--social a img {
    margin-top: 16px;
}

@media screen and (min-width: 768px) {
    .footer-container--logo {
        width: 25%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 0;
    }

    .footer-container--links-col {
        margin-bottom: 6rem;
    }
}

.footer-container--links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 65%;
    margin-right: 10%;
    flex: 1;
}

.footer-container--links-col {
    display: flex;
    flex-direction: column;
    width: auto;
}

.footer-container h4 {
    font-weight: 600;
    line-height: 1.8em;
}

.footer-container--links-col a {
    line-height: 1.8em;
    color: var(--grey-1);
}


/* Buttons */

.button-basic {
    position: relative;
    display: inline-block;
    font-size: var(--link);
    line-height: 1.2em;
    border-radius: 1px;
    padding: 1em 2em;
    margin-top: 1em;
    color: var(--white);
    background-color: var(--green-1);
    z-index: 0;
    overflow: hidden;
}

.button-basic::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    left: -20px;
    z-index: -1;
    background-color: var(--green-2);
    -ms-transform: scaleX(1.3) skewX(30deg) translateX(-100%);
    transform: scaleX(1.3) skewX(30deg) translateX(-100%);
    transform-origin: center left;
    transition: transform .4s ease;
}

.button-basic:hover::before {
    transform: scaleX(1.3) skewX(30deg) translateX(0);
}

.button-basic:hover {
    opacity: 1;
}

.button-tag {
    text-transform: capitalize;
    font-size: calc(var(--link) - 4px);
    line-height: 1.2em;
    padding: 0.3em 0.6em;
    background: #fff;
}

.button-tag-news {
    display: inline-block;
    margin-right: 1em;
    font-size: calc(var(--link) - 2px);
    line-height: 1.2em;
    text-decoration: underline;

}

.button-support {
    text-align: center;
    display: block;
    padding: 2.5em 2em;
    margin: .5em 0;
    border-radius: 1px;
    width: 100%;
    color: var(--white);
    background-color: var(--grey-3);
    transition: 0.15s ease;
}

.button-support:hover {
    color: var(--green-1);
    background-color: var(--black);
}

.button-booking {
    display: block;
    text-align: center;
    font-size: calc(16px + (18 - 16) * ((100vw - 1240px) / (1920 - 1240)));;
    padding: 1em 0;
    margin-top: 2rem;
    border-radius: 1px;
    width: 100%;
    color: var(--white);
    background-color: var(--green-1);
    transition: background-color 0.1s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.button-booking:hover {
    background-color: var(--green-2);
}

.button-filter {
    display: inline-block;
    font-size: var(--link);
    line-height: 1.2em;
    border-radius: 1px;
    padding: 1em 2em;
    margin: 0.25em;
    color: var(--black);
    background-color: var(--grey-0);
    transition: background-color .2s ease;
    white-space: nowrap !important;
    text-align: center;
}

.button-filter:hover {
    background-color: var(--grey-1);
}

.cat-active:hover {
    background-color: var(--green-3);
}

.cat-active {
    background-color: var(--green-2);
    color: #fff;
}

.support-container {
    width: 28.777%;
}

.hero_product_link-wrapper {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    max-width: 32px;
    height: 32px;
    border-radius: 16px;
    overflow: hidden;
    transition: max-width 0.4s cubic-bezier(.28, .58, .4, .99);
}

.hero_product_link-wrapper:hover {
    max-width: 11em;
}

.hero_product_link {
    display: flex;
    align-items: center;
}

.hero_product_link span {
    padding: 0 16px 0 8px;
}

.hero_product_link img {
    position: relative !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 1 !important;
}

.hero_product_link-wrapper span {
    white-space: nowrap;
    color: white;
}


/* Section & Containers */

.section-full {
    max-width: none !important;
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh !important;
}

.container {
    width: calc(100vw - 12vw);
    margin: 4rem auto;
    max-width: 1920px;
}

.container-thin {
    width: calc(100vw - 24vw);
    margin: 4rem auto;
    max-width: 1680px;
}

.container-row {
    display: flex;
    width: calc(100vw - 12vw);
    margin: 0 auto;
    max-width: 1920px;
}

.container-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10%;
    background-color: var(--grey-0);
    z-index: -1;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.hero-section figure {
    width: 100%;
    padding-top: 40%;
    overflow: hidden;
}

.hero-section img {
    position: absolute;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-section video {
    position: absolute;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.line {
    width: 100%;
    height: 2px;
    background-color: var(--grey-1);
    margin: 2em 0;
}

.information-content-container .line {
    margin: 2em 0;
}

.hero-section .line {
    margin: 2em 0;
}

.contact-banner-wrapper {
    margin: 0;
    padding: 1rem 0;
    background-color: var(--green-1);
}

.contact-banner-wrapper h2 {
    max-width: 14em;
    color: var(--white);
}

.contact-banner-container {
    display: flex;
    display: -ms-flexbox;
    flex-direction: row;
}

.banner-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 33%;
}

.banner-column.form {
    width: 66%;
}

.no-margin {
    margin: 0 auto;
}

.more-about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
}


/* Position */

/* F - A - R - S */

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
}


/* Placement */

.fars-full {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.fars-t {
    top: 0;
}

.fars-b {
    bottom: 0;
}

.fars-r {
    right: 0;
}

.fars-l {
    left: 0;
}

.z-back {
    z-index: -100;
}

.z-front {
    z-index: 100;
}


/* Flex */

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    flex: 1 1 auto;
}

.flex-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}


/* Cross axis */

.flex-cross-start {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
}

.flex-cross-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
}

.flex-cross-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
}

.flex-cross-stretch {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    -ms-grid-row-align: stretch;
    align-items: stretch;
}

.flex-cross-baseline {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    -ms-grid-row-align: baseline;
    align-items: baseline;
}

/* Main axis */

.flex-main-start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.flex-main-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-main-end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.flex-main-sb {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.flex-main-sa {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}


/* Margins */

/* Top */

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}


/* Right */

.mr-2 {
    margin-right: 2rem;
}

.mr-4 {
    margin-right: 4rem;
}


/* Bottom */

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}


/* Left */

.ml-2 {
    margin-left: 2rem;
}

.ml-4 {
    margin-left: 4rem;
}


/* Paddings */

/* Top */

.pt-0 {
    padding-top: 0;
}

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-4 {
    padding-top: 4rem;
}


/* Right */

.pr-2 {
    padding-right: 2rem;
}


/* Bottom */

.pb-1 {
    padding-bottom: 1rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pb-4 {
    padding-bottom: 4rem;
}


/* Left */

.pl-2 {
    padding-left: 2rem;
}

.pl-4 {
    padding-left: 4rem;
}


/* Media */

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

video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

figure > img {
    max-width: 100%;
    object-fit: cover;
    height: auto;
}

.preloader {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
    background: #ffffff;
}


#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    background: white;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}

#fader:before {
    content: 'fade'
}

@keyframes fade-out {
    from {
        opacity: 1
    }
    to {
        opacity: 0
    }
}

@keyframes fade-in {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

#fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
}

#fader.fade-in {
    opacity: 1;
    animation-name: fade-in;
}


/* Flex content */


.image-with-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-container {
    width: 47% !important;
    height: 100%;
}

.text-container.info-wrapper h4 {
    margin-top: 2em;
}

.image-with-text figure {
    width: 47%;
    padding-top: 35%;
    overflow: hidden;
}

.image-with-text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.row-wrap {
    flex-direction: row-reverse;
}

.text-center {
    margin-bottom: 4rem;
}

.text-center h2 {
    max-width: 28em;
    text-align: center;
    margin: 0.2em auto .5em;
}

.text-center p {
    margin: 0.5em auto 1em;
    text-align: center;
}

.wysiwyg-wrapper--full {
    max-width: 50em;
}

.wysiwyg-wrapper--full p img, .wysiwyg-wrapper--full p video {
    width: 100%;
    object-fit: cover;
    height: auto;
}

.wysiwyg-wrapper--full p, .wysiwyg-wrapper--full h1, .wysiwyg-wrapper--full h2, .wysiwyg-wrapper--full h3, .wysiwyg-wrapper--full h4 {
    max-width: 50em;
}

.wysiwyg-wrapper--half p img {
    width: 50%;
    object-fit: cover;
    height: auto;
    display: inline-block;
}


/* Hem */

.template-home {
    margin-top: 0;
}

.template-home .hero-section {
    justify-content: flex-end;
    max-width: 100vw;
    height: 100vh;
    color: white;
    padding: 4rem;
}

.template-home .hero-section img, .template-home .hero-section video {
    filter: brightness(70%);
}

.hero-section .CF7-wrapper {
    background-color: var(--green-1);
    padding-top: 1rem;
}

.full-width-product-image {
    position: relative;
    width: 100%;
    padding-top: 40%;
    margin-top: 3rem;
}

.full-width-product-image img, .full-width-product-image video {
    position: absolute;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.block {
    display: block;
}

.hero-section .wpcf7-submit {
    margin-right: 2rem;
    background-color: var(--grey-3) !important;
}

.leverantorer-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 -1.25%;
}

.leverantorer-wrapper a {
    transition: border 0.4s ease;
}

.leverantorer-wrapper a:hover {
    border: 1px solid var(--green-1);
}

.leverantor {
    width: 22.5%;
    margin: 1.25%;
    padding: 1rem;
    border: 1px solid var(--grey-1);
}

.leverantor img {
    width: 100%;
    object-fit: contain;
    height: 100%;
}

.front-carousel {
    position: relative;
    height: 60vh;
    overflow: hidden;
    max-height: 768px;
    text-align: center;
}

.front-carousel .text-container {
    width: auto !important;
    height: auto;
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 40rem;
}

.front-carousel .text-container h2 {
    max-width: none;
}


.front-carousel .flickity-viewport {
    position: absolute;
    width: 100%;
    height: 100%;
}

.front-carousel .carousel-cell figure {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    width: 100%;
    padding: 2rem;
    max-height: 768px;
}

.front-carousel .carousel-cell img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 768px;
    filter: brightness(0.7);
    z-index: -1;
}


/* Produkter */

.card-wrapper-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -1.25%;
}

.card h3 {
    transition: color 0.2s ease-out;
    font-size: 20px;
}

a.card:hover h3 {
    color: var(--green-2);
}

a.card:hover img {
    transform: scale(1.05);
}

.card {
    display: block;
    position: relative;
    width: 22.5%;
    margin: 0 1.25% 3rem;
    scroll-snap-align: start;
}

.card figure {
    position: relative !important;
    background-color: #f5f5f5;
    overflow: hidden;
}

.card .card-text-wrapper {
    margin: 1rem;
    margin-left: 0;
}

.card .card-text-wrapper p {
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    font-size: calc(14px + (16 - 14) * ((100vw - 1240px) / (1920 - 1240)));
}

.card-image-normal figure {
    padding-top: 80%;
}

.card-image-tall figure {
    padding-top: 120%;
}

.card img {
    position: absolute;
    top: 0;
    bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(.37, .66, .42, .99);
}

.card .button-product {
    color: white;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 1;
}

/* .card-wrapper-row .card:nth-child(4n+1) {
    margin-left: 0;
}
.card-wrapper-row .card:nth-child(4n+4) {
    margin-right: 0;
} */


/* Produkt Archive */


.product-archive-hero {
    display: flex;
    align-items: flex-end;
    padding-top: 25%;
    max-height: 768px;
    color: var(--white);
    background: linear-gradient(to bottom, transparent 65%, var(--black) 100%);
}

.product-archive-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.product-archive-hero p {
    max-width: 32em;
}

.flex-row .product-card:nth-child(4n+1) {
    margin-left: 0;
}

.flex-row .product-card:nth-child(4n+4) {
    margin-right: 0;
}

.card .button-tag {
    position: absolute;
    top: 0.5rem;
    left: .5rem;
    z-index: 1;
}

.filter-wrapper {
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--grey-1);
    text-align: start;
}

.cat-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.25rem;
}

.template-product-archive .bc-wrapper, .template-product-single .bc-wrapper, .template-inspiration-single .bc-wrapper {
    margin-bottom: -1rem;
}

.product-list--mobile {
    display: none;
}

.product-list--desktop {
    display: flex;
    justify-content: space-between;

}


/* Produkt Single */


.product-image-gallery {
    width: 55%;
}

.product-image-gallery img {
    width: 100%;
}

.flickity-enabled:focus {
    outline: none;
}

.main-carousel {
    position: relative;
    overflow: hidden;
    padding-bottom: 80%;
    height: 0;
    text-align: center;
}

.flickity-page-dots {
    bottom: 0px;
    position: absolute;
    display: inline-flex;
    padding: 0;
    transform: translate(-50%);
}

/* dots are lines */
.flickity-page-dots .dot {
    height: 12px;
    width: 12px;
    margin: 8px;
    border-radius: 12px;
    border: 2px solid white;
    cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
    background: var(--green-1);
    border: 2px solid var(--green-1);
}

.flickity-button {
    position: absolute;
    top: calc(50% - 24px);
    width: 40px;
    height: 48px;
    padding: 4px;
    border-radius: 2px;
    fill: var(--white);
}

.flickity-button-icon {
    width: 100%;
    height: 100%;
}

.flickity-button.previous {
    left: 1rem;
}

.flickity-button.next {
    right: 1rem;
}


.main-carousel .flickity-viewport {
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-cell {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.carousel-cell figure {
    padding-top: 100%;
}

.carousel-cell img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-nav {
    width: 100%;
    position: relative;
    padding-top: 15%;
    height: 0;
    overflow: hidden;
    margin-top: 1rem;
    cursor: pointer;
}

.carousel-nav .flickity-viewport {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-nav .carousel-cell {
    width: calc(16.66667% - 1rem);
    margin-right: 1rem;
}

.carousel-nav .carousel-cell figure {
    background-color: var(--green-1);
}

.carousel-nav img {
    transition: padding 0.3s ease-out;
}

.carousel-nav .carousel-cell.is-nav-selected img, .carousel-nav .carousel-cell.is-nav-selected svg {
    padding: 8px;
}

.carousel-nav .flickity-button {
    display: none;
}

.product-details {
    margin: 3rem 0 2rem;
    max-width: 40em;
}

.product-details p {
    margin: 0;
    padding: 1.2em 0;
    font-family: "Verdana", sans-serif;
}

.product-details p:last-child {
    text-align: right;
    padding-left: 2em;
}

.product-detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--grey-1);
}

.product-detail-row:nth-child(1) {
    border-top: 2px solid var(--grey-1);
}

.product-details-info {
    /* position: sticky; */
    top: 6em;
    width: 40%;
    height: min-content;
}

.product-details-tips h3 {
    border-bottom: 2px solid var(--grey-1);
    margin: 1em 0 1em;
    padding-bottom: 0.5em;
    max-width: 35em;
}

.product-details-tips {
    padding: 0.2em 1em;
    margin-bottom: 2em;
    background-color: #f5f5f5;

}

.product-list--desktop .product-details-tips {
    margin-top: 2em;
}

.product-main-image-container figure {
    width: 100%;
    padding-top: 80%;
}

.product-details-extra-image-container {
    display: flex;
    flex-direction: row;
    margin: 0 -0.5rem;
}

.product-details-extra-image-container figure {
    padding-top: calc(16.666% - 1rem);
    width: calc(16.666% - 1rem);
    overflow: hidden;
    margin: 1rem 0.5rem;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.product-details-extra-image-container figure:hover {
    opacity: 0.8;
}

.product-details-extra-image-container img, .product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.product-list--desktop .gallery figure:last-child {
    margin-bottom: 0;
}

.product-list--mobile .gallery {
    margin: 2rem 0;
}

.product-list--mobile .gallery figure {
    margin: 1rem 0;
}

.product-pdf-container {
    display: flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    margin: 0 0 3em;
}

.product-pdf-container a {
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    min-width: 33%;
    margin-right: 1em;
}

.product-pdf-container p {
    font-family: "Verdana", sans-serif;
}

.product-pdf-container a:hover {
    color: var(--green-1);
}

.product-pdf-container a img {
    width: 40px;
    height: 40px;
    margin-right: 1em;
}


/* Om oss */


/* Kontakt */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 47%;
    margin-top: 2rem;
}

.contact-title {
    width: 100%;
    border-bottom: 2px solid var(--grey-1);
    margin-bottom: 2rem;
}

.contact-title h3 {
    margin: 0.5em 0;
}

.contact-info {
    width: 100%;
    column-count: 2;
}

.contact-info-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info-row .info-wrapper {
    width: auto;
}

.info-wrapper {
    width: 100%;
    margin-bottom: 2em;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

.info-wrapper h4 {
    font-weight: 600;
    margin-bottom: .5em;
}

.info-wrapper p {
    font-family: "Verdana", sans-serif;
    margin: 0;
}

.avvikande h4 {
    border-bottom: 2px solid var(--black);
    width: fit-content;
}

.google-maps-container {
    height: 480px;
}

.maps-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 15% 0;
    overflow: hidden;
    display: none;
}

.maps-container:hover img {
    transform: scale(1.05);
}

.maps-container img {
    position: absolute;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: transform 0.4s cubic-bezier(.37, .66, .42, .99);
}

.maps-container h2 {
    margin: 0.4em 0;
}

/* Inspiration */

.insperation-content-wrapper {
    max-width: 75%;
}

.insperation-extra {
    width: 33%;
}

.back-link {
    display: flex;
    display: -ms-flexbox;
    align-items: center;
}

.back-link:hover {
    color: var(--green-1);
}

.back-link img {
    height: 24px;
    width: 24px;
    opacity: 0.6;
    transform: rotate(90deg);
    margin-right: 0.5em;
}


/* Information */

.information-temp {
    margin-top: 0;
    position: relative;
}

.information-content-container {
    min-height: 70vh;
    width: 100%;
    padding: 9rem 4rem;
}

.information-content-container .bc-wrapper {
    margin-bottom: 3rem;
    width: auto;
}

.pagination {
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    justify-content: center;

}

.page-numbers {
    font-size: var(--link) !important;
    padding: 0 0.3em;
}

.current {
    color: var(--green-2);
}


/* @MEDIA */

/* Big screeens */
@media only screen and (min-width: 1921px) {

    :root {
        --link: 18px;
    }

    /* Core typgraphy */
    h1, .h1 {
        font-size: 64px;
    }

    h2, .h2 {
        font-size: 36px;
    }

    h3, .h3 {
        font-size: 28px;
    }

    h4, .h4 {
        font-size: 18px;
    }

    body {
        font-size: 18px;
    }

    p {
        font-size: 18px;
    }


    span {
        font-size: 18px;
    }


    /* Sections */
    .section-thin {
        padding-left: 20vw;
        padding-right: 20vw;
    }

    .container-row::before {
        width: calc((100vw - 1920px) / 2);
        min-width: 10%;
    }


}

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

    .container {
        width: calc(100% - 12vw);
        margin: 3rem auto;
    }

    .container-thin {
        width: calc(100% - 16vw);
        margin: 3rem auto;
    }

    p label {
        font-size: 14px;
    }

}

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

    .card h3 {
        font-size: 20px;
    }

    .container {
        width: calc(100% - 8vw);
        margin: 2rem auto;
    }

    .container-thin {
        width: calc(100% - 12vw);
        margin: 2rem auto;
    }

    .scroll {
        overflow: scroll;
        flex-direction: row !important;
        flex-wrap: nowrap;
        scroll-snap-type: x proximity;
    }

    .scroll .card {
        min-width: 260px;
        width: 80%;
        margin-right: 1rem;
    }

    .more-about-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-top: 1rem;
    }

    .button-support {
        width: calc(33.3% - 0.5em);
    }

    .bc-wrapper {
        margin: -2rem auto -3rem;
    }

    .contact-banner-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .banner-column.form {
        width: 100%;
    }

    .CF7-wrapper form p {
        margin-left: 1rem;
        max-width: none;
    }

    .CF7-wrapper input {
        width: 100%;
        max-width: none;
    }

    .template-home .hero-section .CF7-wrapper form {
        display: inline-flex;
        flex-direction: row;
        align-items: flex-end;
    }

    .template-home .hero-section {
        height: 85vh;
    }

    .template-home .hero-section .CF7-wrapper form p {
        margin-left: 1rem;
    }

    .hero-section .wpcf7-submit {
        margin-right: 1rem;
    }

    .contact-info-row .info-wrapper {
        flex: 1;
    }

    .footer-container--links {
        margin-left: 12.5%;
    }
}


/* Mobile – Landscape down */
@media only screen and (max-width: 769px) {

    :root {
        --link: 14px;
    }


    /* Typography */
    h1, .h1 {
        font-size: 34px;
    }


    h2, .h2 {
        font-size: 26px;
        margin: 0.5em 0 0.6em;
    }

    h3, .h3 {
        font-size: 20px;
        margin: 0.5em 0 0.3em;
    }

    h4, .h4 {
        font-size: 15px;
    }

    h5 {
        font-size: 13px;
    }

    p, span, a, div {
        font-size: 15px;
    }


    /* Core */
    body {
        font-size: 16px;
    }

    main {
        margin-top: 5rem;
    }

    .container, .container-thin {
        padding: 0 1rem;
        width: 100%;
        margin: 3rem auto;
    }

    figure {
        margin-bottom: 0.5rem;
    }

    .banner-column {
        width: 100% !important;
    }

    .CF7-wrapper form {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .CF7-wrapper form p {
        max-width: none;
        margin: 0.5em 0;
        width: 100%;
    }

    .CF7-wrapper form p label {
        width: 100%;
    }

    .CF7-wrapper.green form p:first-of-type {
        margin-left: 0;
    }

    .CF7-wrapper input {
        width: 100%;
    }

    .contact-banner-container {
        margin: 2rem auto;
    }


    /* Header */
    .primary-menu {
        display: none;
    }

    .navbar-wrapper {
        justify-content: space-between;
    }

    .mobile-menu {
        display: block;
    }

    .searchform {
        margin: 0;
        padding: 1rem;
        background-color: var(--grey-1);
        border-bottom: 1px solid lightgrey;
        border-top: 1px solid lightgrey;
    }

    .searchform label {
        padding: 0;
    }

    .searchform input {
        width: 100%;
        max-width: none;
        background-color: inherit;
        color: black;
    }

    .mobile-nav-active {
        display: block;
        opacity: 1;
        pointer-events: initial;
    }

    #open {
        padding: 1rem 0;
        display: inline-block;
        background: url(assets/imgs/outline_menu.png) no-repeat center;
        background-size: 32px 32px;
        width: 48px;
        height: 48px;
    }

    .custom-logo {
        height: 32px;
        display: block;
        margin-top: 10px;
    }


    /* Footer */
    /* Footer */
    .footer-container {
        position: relative;
        padding: 1rem 0 0;
        flex-direction: column-reverse;
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }

    .footer-container--links {
        margin-left: 0;
        width: 100%;
    }

    .footer-container--links-col {
        margin-top: 3rem !important;
        width: 45%;
    }

    .footer-container h4 {
        font-weight: 600;
        line-height: 1.8em;
    }

    .footer-container--links-col a {
        line-height: 2.2em;
        color: var(--grey-1);
    }

    .footer-logo {
        margin-top: 4rem;
    }


    /* button-fixed */
    .button-fixed {
        right: 1em;
        bottom: 1em;
    }

    .button-fixed-modal {
        right: 1em;
        width: calc(100% - 2em);
        max-width: 22em;
    }

    .modal-active {
        bottom: 1em;
    }


    /* Classes */
    .bc-wrapper {
        width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .bc-wrapper a, .bc-wrapper span {
        font-size: 14px;
    }

    .flex-row {
        flex-direction: column;
    }

    .flex-cross-end {
        -webkit-box-align: start;
        -ms-flex-align: start;
        -ms-grid-row-align: flex-start;
        align-items: flex-start;
    }

    .template-home .hero-section {
        padding: 1rem;
        padding-bottom: 2rem;
    }

    .hero-section figure {
        padding-top: 80%;
    }

    .hero-section .CF7-wrapper {
        display: none;
    }

    .support-container {
        width: 100%;
    }

    .scroll .card {
        min-width: 280px;
    }

    .support-container {
        display: block;
    }

    .button-support {
        width: 100%;
    }


    /* Cards */
    .full-width-product-image, .card-image-tall figure {
        padding-top: 100%;
    }

    .card-wrapper-row {
        flex-direction: column;
    }

    .card-wrapper-row .card {
        margin-left: 0;
        width: 100%;
    }

    .card .card-text-wrapper {
        margin-right: 0;
    }

    .card-image-normal figure {
        padding-top: 67.777%;
    }

    .card {
        margin: 0;
        margin-bottom: 2rem;
    }

    .card h3 {
        font-size: 20px;
    }

    .card .card-text-wrapper p {
        font-size: 15px;
    }

    .button-tag {
        font-size: 14px;
    }

    .button-tag-news {
        font-size: 14px;
    }


    /* Flex Content */
    .image-with-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .image-with-text figure {
        width: 100%;
        padding-top: 70%;
    }

    .image-with-text .text-container {
        width: 100%;
    }

    .text-center {
        margin-bottom: 2rem;
    }

    .text-container {
        width: 100% !important;
    }

    .text-container.info-wrapper {
        margin-top: 2rem;
    }

    /* Home */
    .container.slider {
        padding: 0;
    }

    .flickity-button {
        display: none;
    }

    .front-carousel h2 {
        font-size: 22px;
    }

    .front-carousel .carousel-cell figure {
        padding: 1rem;
    }

    .flickity-button.next {
        right: 0.5rem;
    }

    .flickity-button.previous {
        left: 0.5rem;
    }

    .flickity-button {
        width: 24px;
        height: 32px;
    }


    /* Contact */
    .contact-info {
        column-count: 1;
    }


    /* Insperation */
    .insperation-extra {
        width: 100%;
    }

    .insperation-content-wrapper {
        max-width: 100%;
    }


    /* Information */
    .information-temp {
        margin-top: 3.3rem;
    }

    .container-row {
        flex-direction: column;
        width: 100%;
    }

    .container-row::before {
        display: none;
    }

    .information-content-container {
        padding: 2rem 1rem;
        margin: 0 auto;
    }

    .side-menu {
        background-color: var(--grey-0);
        flex: none !important;
        max-width: none;
        padding: 0.75rem 1rem;
        height: auto;
        overflow: hidden;
        border-bottom: 1px solid var(--grey-1);
    }

    .side-menu a {
        color: var(--grey-2);
    }

    .side-menu li {
        padding: 1em 0;
    }

    #info-button {
        font-size: var(--link);
        line-height: 3em;
        margin: 0 !important;
        max-width: none;
    }

    #info-button::after {
        content: '';
        display: block;
        background: url(assets/imgs/expand_more_arrow.png);
        background-size: contain;
        height: 24px;
        width: 24px;
        opacity: 0.6;
        position: absolute;
        right: 0;
        top: 25%;
    }

    .menu-mer-om-meny-container {
        transition: max-height 0.6s cubic-bezier(.37, .66, .42, .99);
        max-height: 0;
        overflow: hidden;
    }


    /* Product Archive */
    .product-list--mobile {
        display: block;
    }

    .product-list--desktop {
        display: none;
    }

    .product-info, .product-details, .product-image-gallery {
        width: 100%;
        position: static;
        display: block;
    }

    .product-details {
        margin: 2em 0;
    }

    .cat-list {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin-left: -0.5rem;
        overflow: auto;
        scroll-snap-type: x proximity;
    }

    .button-filter {
        scroll-snap-align: start;
    }

    .product-archive-hero {
        padding: 33% 0 2rem;
        background: linear-gradient(to bottom, transparent 35%, var(--black) 100%);
    }

    .product-archive-hero .container-thin {
        margin-bottom: 0;
    }

    /* Product Single */
    .product-pdf-container {
        margin-top: 1em;
    }


    .product-pdf-container a img {
        width: 40px;
        height: 40px;
        opacity: 0.8;
        margin-right: 1em;
    }

    .product-main-image-container figure {
        margin-bottom: 0;
    }

    .product-details-extra-image-container {
        margin: 0 -0.25rem;
    }

    .product-details-extra-image-container figure {
        padding-top: calc(16.666% - 0.5rem);
        width: calc(16.666% - 0.5rem);
        margin: 0.5rem 0.25rem;
    }

}

/* Mobile – Landscape down */
@media only screen and (max-width: 414px) {

    .contact-container {
        width: 100%;
    }

    .contact-info-row {
        flex-direction: column;
    }

    .leverantor {
        width: 45%;
        margin: 2.5%;
    }

    /* Product-single */
    .carousel-nav .carousel-cell {
        width: calc(16.66667% - 0.5rem);
        margin-right: 0.5rem;
    }

    .carousel-nav .carousel-cell.is-nav-selected img, .carousel-nav .carousel-cell.is-nav-selected svg {
        padding: 4px;
    }

    /* dots are lines */
    .flickity-page-dots .dot {
        height: 10px;
        width: 10px;
        margin: 6px;
        border-radius: 12px;
        border: 2px solid white;
        cursor: pointer;
    }

    .flickity-page-dots .dot.is-selected {
        background: var(--green-1);
        border: 2px solid var(--green-1);
    }
}

@media screen and (min-width: 769px) {
    .contact-banner-wrapper .CF7-wrapper form {
        flex-wrap: wrap;
    }

    .contact-banner-wrapper .CF7-wrapper form p label {
        width: 100%;
    }

    .contact-banner-wrapper .CF7-wrapper {
        margin-left: 32px;
    }

    .navbar-wrapper {
        padding: .6em 0 !important;
    }
}

@media screen and (min-width: 1800px) {
    .contact-banner-wrapper .CF7-wrapper form {
        flex-wrap: nowrap;
    }
}

.insta-gallery-feed .insta-gallery-item, .qligg-mfp-wrap .insta-gallery-item, .insta-gallery-feed .insta-gallery-image, .qligg-mfp-wrap .insta-gallery-image, .insta-gallery-feed .insta-gallery-actions, .qligg-mfp-wrap .insta-gallery-actions {
    opacity: 1 !important;
}

.insta-gallery-feed {
    overflow-x: hidden;
}

.insta-gallery-spinner {
    display: none !important;
}

.insta-gallery-image-mask-content {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    hyphens: auto;
}

.insta-gallery-image-mask-content a {
    color: #fff;
}

/* Gutenberg blocks */

.alignwide {
    max-width: 1500px;
    margin: 0 auto;
}

.contact-banner-wrapper .CF7-wrapper input, .contact-banner-wrapper .CF7-wrapper select, .hero-section.relative .CF7-wrapper input, .hero-section.relative .CF7-wrapper select {
    height: 40px;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
    .video-play-btn {
       width: 32px;
       height: 32px;
    }
}

@media screen and (min-width: 1200px) {
    .video-play-btn {
       width: 64px;
       height: 64px;
    }
}

.normal-link {
    text-decoration: underline;
}

.CF7-wrapper-page {
    max-width: 870px;
}

@media screen and (min-width: 1800px) {
    .contact-banner-wrapper .CF7-wrapper-page form {
        flex-wrap: wrap;
    }
}

.onsale {
    padding: 10px 24px;
    background: red;
    z-index: 1;
    color: #fff;
    position: absolute;
    border-radius: 0 0 8px;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1000;
    font-size: 26px;
}

.woocommerce-product-gallery__wrapper .wp-post-image {
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width: 769px) {
    .template-product-single .product-list--desktop {
        display: block;
    }
}

.d-flex {
    display: flex !important;
}

.has-text-align-center {
    max-width: 100%;
}
