body,
.wp-site-blocks {
	display: grid;
    grid-template-areas:
        "header"
		"search"
        "main"
        "footer";
}
header{
	grid-area: header;
}
main {
	grid-area: main;
	padding-top: 0 !important;
	padding-bottom: 100px;
	min-height: 450px;
}
footer {
	grid-area: footer;
}
a {
    color: var(--wp--preset--color--primary);
}
p a {
    /*font-size: 16px;*/
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--wp--preset--color--primary);
}
button,
.wp-block-button > a,
.main-nav > li > a{
    transition: all 0.1s linear;
}
/*
html, body {
    margin: 0;
    height: 100%;
}
*/
.has-primary-background-color {
    background-color: var(--wp--preset--color--primary) !important;
}
.has-global-padding {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
}
.wp-block-group {
    box-sizing: border-box;
}

.woocommerce-breadcrumb,
.yoast-breadcrumbs span {
    font-family: var(--wp--preset--font-family--system-font);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--wp--preset--color--primary);
}

.woocommerce-breadcrumb a,
.yoast-breadcrumbs span span a {
    font-family: var(--wp--preset--font-family--system-font);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.wc-block-breadcrumbs.woocommerce,
.breadcrumb-trail, .yoast-breadcrumbs {
    line-height: 1;
    padding-top: 10px;
    padding-bottom: 20px;
}
.wp-site-blocks {
    padding-top: unset!important;
    padding-bottom: unset!important;
}
.wp-site-blocks > main.wp-block-group {
    padding-top: var(--wp--preset--spacing--1);
    /* padding-bottom: unset!important; */
}

.wp-block-query-title,
.wp-block-post-title{
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 14px;
	margin: 20px 0 20px 0;
	/*margin-block-start: 20px !important;*/
	/*margin-block-end: 7px!important;*/
}
figure.wp-block-post-featured-image {
    max-height: 450px;
    overflow: hidden;
    padding: 30px 0 30px;
    justify-content: center;
    display: flex;
}
.wp-block-search__input{
	text-decoration: unset !important;
    border-radius: 4px !important;
    background: var(--wp--preset--color--bg-light);
    box-shadow: 0 0 13px 0 rgba(119, 130, 167, 0.25) inset !important;
    padding: 14px 22px 14px 22px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    border: none !important;
	margin-right: -14px;
}
.wp-block-search__button.has-icon {
    background-color: var(--wp--preset--color--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 0 4px 4px 0 !important;
    padding: 0px;
}
.wp-element-button{
	width: unset;
}
h1 :where(a), h2 :where(a), h3 :where(a), h4 :where(a), h5 :where(a), h6 :where(a),
h1, h2, h3, h4, h5, h6 {
	color: var(--wp--preset--color--primary);
}
.wp-block-query-title:not(h1) {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
    background-color: var(--wp--preset--color--bg-loop);
	padding-bottom:var(--wp--custom--spacing--large, 2rem);
	margin-bottom:var(--wp--custom--spacing--large, 2rem);
	margin-top: 0 !important;
	display: block;
}
/** 
Search nav buttons
*/
.wp-block-query-pagination {
    margin-top: var(--wp--preset--spacing--2);
	justify-content: center;
    gap: 30px;
}
.wp-block-query-pagination-numbers {
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: var(--wp--preset--color--primary);
    border: 1px solid var(--wp--preset--color--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 18px;
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next{
	width: max-content;
    padding: 0 10px;
}
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover,
.page-numbers:not(.dots):hover {
	background-color: var(--wp--preset--color--bg-loop);

}
span.page-numbers.current {
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--primary);
    font-weight: 400;
    line-height: 89%;
}
/**
 grid screen
 */

@media (max-width:1200px){
	.is-layout-grid.wp-block-post-template.wp-block-post-template-is-layout-grid{
		grid-template-columns: repeat(4, minmax(0, 1fr));
		/*gap: var(--wp--preset--spacing--1);*/
	}
}

@media (max-width:1000px){
	.is-layout-grid.wp-block-post-template.wp-block-post-template-is-layout-grid,
	.wp-container-core-post-template-is-layout-1 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		/*gap: var(--wp--preset--spacing--1);*/
	}
}
@media (max-width:800px){
	.is-layout-grid.wp-block-post-template.wp-block-post-template-is-layout-grid,
	.wp-container-core-post-template-is-layout-1 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		/*gap: var(--wp--preset--spacing--1);*/
	}
}
@media screen and (max-width:400px){
	.is-layout-grid.wp-block-post-template.wp-block-post-template-is-layout-grid,
	.wp-container-core-post-template-is-layout-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		/*gap: var(--wp--preset--spacing--1);*/
	}
}

/**
 header
 */
.has-base-color.has-text-color.has-link-color {
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}
.has-base-color.has-text-color.has-link-color a {
	color: var(--wp--preset--color--base);
	text-decoration: none;
}
/**
	Whishlist satyle
	________________
*/
.wishlist_products_counter > a:before {
	content: "" !important;
	font-size: 0 !important;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4gPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNyIgaGVpZ2h0PSIyNyIgdmlld0JveD0iMCAwIDI3IDI3IiBmaWxsPSJub25lIj48cGF0aCBkPSJNMTUuNDAwNCAyLjE5OTIySDYuNjAwMzlDNi4wMTY5MSAyLjE5OTIyIDUuNDU3MzQgMi40MzEgNS4wNDQ3NiAyLjg0MzU4QzQuNjMyMTggMy4yNTYxNiA0LjQwMDM5IDMuODE1NzQgNC40MDAzOSA0LjM5OTIyV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0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD48L3N2Zz4K);
	width: 24px;
	height: 24px;
	background-size: 24px 24px;
	display: block !important;
	position: relative;
}
.wishlist_products_counter_text {
	display: none !important;
}
.wishlist_products_counter > a .wishlist_products_counter_number:not(:empty) {
	position: absolute;
	top: -3px;
	right: 0;
	font-size: 8.8px;
	font-weight: 500;
	line-height: 1 !important;
	letter-spacing: -0.176px;
	color: #222;
	width: 15px;
	height: 15px;
	min-height: 15px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: rgb(143, 209, 255);
	border-radius: 50%;
}
.wishlist_products_counter {
	display: flex !important;
	align-items: center;
	height: 28px;
	width: 28px;
	/*min-height: unset !important;*/
	/*min-width: unset !important;*/
}
.wishlist_products_counter > .wishlist_products_counter_wishlist {
	display: none !important;
}

/* AJAX products search */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
	padding: 0 !important;
}
.dgwt-wcas-search-wrapp
	form.dgwt-wcas-search-form
	.dgwt-wcas-sf-wrapp
	input.dgwt-wcas-search-input {
	border-radius: 4px !important;
	background: var(--wp--preset--color--bg-light);
	box-shadow: 0 0 13px 0 rgba(119, 130, 167, 0.25) inset !important;
	padding: 14px 72px 14px 22px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	border: none !important;
}
.dgwt-wcas-search-wrapp
	form.dgwt-wcas-search-form
	.dgwt-wcas-sf-wrapp
	button.dgwt-wcas-search-submit {
	position: absolute;
	right: 0;
	left: unset;
	top: 50%;
	transform: translateY(-50%);
	background-color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 0 4px 4px 0 !important;
}
.dgwt-wcas-search-wrapp
	form.dgwt-wcas-search-form
	.dgwt-wcas-sf-wrapp
	.dgwt-wcas-close {
	right: 30px !important;
}

.wp-block-group.header-main {
	padding-top: 30px;
	padding-bottom: 26px;
}
@media only screen and (max-width: 681px) {
	header .header-main > .wp-block-columns > .wp-block-column:nth-of-type(2) {
		position: absolute;
		top: 112px;
		width: 90%;
	}
	.wp-block-group.header-main {
		padding-bottom: 80px;
	}
	.main-nav li.menu-item{
		width: 100%;
	}
	.main-menu-holder{
		justify-content: left!important;
	}
	figure.menu-item-img{
		position: relative!important;
	}
	ul#menu-main {
		display: none;
	}
	.toggle-maga-menu {
		display: block!important;
	}
	ul#menu-main.visible {
		display: block;
	}
	
	.main-menu-holder{
		justify-content: center;
		display: grid;
	}
	
}

.toggle-maga-menu {
	display: none;
	padding: 9px;
	margin-left: 20px;
}

@media (max-width: 1100px) {
	
	.products-toggle-filter{
		display: block!important;
	}
	.wcpf-close{
		display: flex!important;
	}
    .wp-block-column.wcpf-filters{
		visibility: hidden;
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		background-color: var(--wp--preset--color--base);
		padding: 20px 30px 30px !important;
		width: 100%;
		max-width: 258px;
		z-index: 9999999;
		transform: translateX(-100%);
		transition: all 0.25s ease-in-out;
		box-shadow: 4px 0px 14px 0px rgba(0, 0, 0, 0.1);
	}
	.wp-block-column.wcpf-filters.active{
        visibility: visible;
        transform: translateX(0);
    }
}

.products-toggle-filter,
.wcpf-close{
	display: none;
}
.wcpf-close{
	justify-content: flex-end;
}

.wp-block-button__link.wp-element-button{
	padding: 12px 24px;
	width: fit-content;
}
.wp-element-button {
    align-items: center !important;
    border-radius: 2px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    /* height: 35px !important; */
    justify-content: center !important;
    /* padding: 0 !important; */
    text-align: center !important;
    width: 99%;
    border: 1px solid var(--wp--preset--color--primary);
    padding: 5px 0;
    /* margin: 0px; */
}

.main-menu-holder.mm-aligne-items-left{
	justify-content:left;
}
.main-menu-holder.mm-aligne-items-right{
	justify-content:right;
}
.main-menu-holder{
	justify-content: center;
	display: grid;
}
.toggle-maga-menu {
	padding: 9px;
	margin-left: 20px;
}

/**
 SLIDER 
 */
.wp-block-image.is-style-jsc-image-mask img {
    background-size: cover !important;
    height: 100%;
    -webkit-mask-image: url(../images/slider-mask.svg);
	mask-image: url(../images/slider-mask.svg);
	mask-size: cover;
	mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    width: 100%;
}

.wp-block-image.is-style-jsc-image-mask:after {
    content: "";
    background-image: url("../images/slider-border.svg");
    display: block;
    position: absolute;
    bottom: 0;
    left: -30px;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(0);
}
.has-global-padding > .alignfull {
    margin-right: calc(var(--wp--style--root--padding-right) * -1);
    margin-left: calc(var(--wp--style--root--padding-left) * -1);
}
.wp-block-cb-carousel.hero-slider .slick-list .slick-track .wp-block-cb-slide > .wp-block-columns {
    justify-content: space-between;
}
figure.wp-block-image.size-full.is-style-jsc-image-mask {
    position: relative;
}
.wp-block-group.hero-slider-wrapper .wp-block-cb-carousel.hero-slider .slick-list .slick-track .wp-block-cb-slide {
    margin-left: calc((100vw - 1400px) / 2);
    padding: 0 !important;
}
@media only screen and (max-width: 781px) {
    .wp-block-image.is-style-jsc-image-mask:after {
        bottom: -35px;
        left: 0;
        transform: rotate(-90deg);
        height: 100vw;
    }
	.wp-block-image.is-style-jsc-image-mask img {
		-webkit-mask-image: url(../images/slider-mask-down.svg);
		-webkit-mask-position: bottom;
	}
}
/**
 FOOTER
 */
.footer-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.footer-column p,
.footer-column p a,
.footer-menu li{
	/*margin-bottom: 10px;*/
	font-size: 14px !important;
}
.footer-heading{
	font-weight: 600;
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.156), 16px);
	padding-top: 0;
    margin-top: 0;
	margin-bottom: 20px;
}
.hero-slider-wrapper{
	width: 100vw;
}

/**
	ANSATTE
*/
.single-ansatte main.wp-block-group .ansatte-single {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: var(--wp--preset--spacing--2);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.07);
    border-radius: 12px 0 0 12px;
}
.single-ansatte main.wp-block-group .ansatte-single .image-wrapper {
    flex-basis: 33.33%;
    border-radius: 12px 0 0 12px;
    position: relative;
}
.single-ansatte main.wp-block-group .ansatte-single .image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 12px 0 0 12px;
}
.single-ansatte main.wp-block-group .ansatte-single .image-wrapper span.ansatte-sted {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.42px;
    text-transform: uppercase;
    color: var(--wp--preset--color--bg-dark);
    padding: 6px 10px;
    background-color: var(--wp--preset--color--secondary);
    border-radius: 2px;
    position: absolute;
    left: 20px;
    bottom: 20px;
}
.single-ansatte main.wp-block-group .ansatte-single .ansatte-info-wrapper {
    padding: 20px 16px 32px 16px;
    background-color: var(--wp--preset--color--bg-loop);
    border-left: 3px solid var(--wp--preset--color--secondary);
    box-sizing: border-box;
    flex-grow: 1;
    flex-basis: 66.66%;
    border-radius: 0 12px 12px 0;
}
.single-ansatte main.wp-block-group .ansatte-single .ansatte-info-wrapper span.ansatte-title {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--wp--preset--color--bg-dark);
    margin-bottom: 13px;
    display: block;
}
.single-ansatte main.wp-block-group .ansatte-single .ansatte-info-wrapper p.ansatte-department {
    margin-bottom: 13px;
    font-weight: 400;
}
body.single-ansatte main.wp-block-group .ansatte-single .ansatte-info-wrapper p.ansatte-department {
    margin-bottom: 13px;
    /* font-weight: 400; */
}
body.single-ansatte main.wp-block-group .ansatte-single .ansatte-info-wrapper p {
    font-size: 16px;
    /* font-weight: 400; */
    line-height: 1.5;
    /* color: var(--wp--preset--color--bg-dark); */
}
body.single-ansatte main.wp-block-group .ansatte-single .ansatte-info-wrapper p:not(.ansatte-department) {
    margin-bottom: 3px;
}


@media only screen and (max-width: 600px) {
    body.post-type-archive-ansatte .wp-block-query ul.wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.wc-block-product .wc-block-components-product-image{
	background-color: white;
}
.tinv-wishlist.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button{
	display: none;
}

/**
 brosjyrer
 */

.post-type-archive-brosjyrer .wp-block-query ul.wp-block-post-template {
    -moz-column-gap: 32px;
    column-gap: 32px;
    row-gap: 14px;
}
/*
.post-type-archive-brosjyrer .wp-block-query ul.wp-block-post-template li {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 0;
    box-shadow: unset;
    padding: 14px 0;
    border-bottom: 1px solid #DDD;
}
*/
.post-type-archive-brosjyrer .wp-block-query ul.wp-block-post-template li .wp-block-post-featured-image {
    display: flex;
    flex-basis: 65px;
    /* width: 52px; */
    /* max-width: 60px; */
    min-width: 65px;
    height: 70px;
    max-height: 70px;
    border: none;
    margin: 0;
    min-height: unset;
}

.post-type-archive-brosjyrer .wp-block-query ul.wp-block-post-template li .wp-block-post-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wp--preset--color--black);
    margin: 0;
    padding: 0;
}
body.post-type-archive-brosjyrer .wp-block-query ul.wp-block-post-template li .wp-block-post-featured-image a img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 0;
}

span.taxonomy-term-link {
    display: inline-flex;
    /* float: left; */
    width: fit-content;
    background-color: var(--wp--preset--color--bg-light);
    margin-bottom: 5px;
    font-size: 14px;
    text-decoration: none;
	border-radius: 5px;
}
span.taxonomy-term-link.selected,
span.taxonomy-term-link:hover{
	background-color: var(--wp--preset--color--primary);
}
span.taxonomy-term-link a {
    text-decoration: none;
	color: var(--wp--preset--color--primary);
	padding: 5px;
}

span.taxonomy-term-link.selected a,
span.taxonomy-term-link:hover a {
	color: white;
}
.terms-menu {
    margin-bottom: 50px;
}
.wp-block-query.is-layout-flow.wp-block-query-is-layout-flow {
    padding-top: 35px;
}
/**
 lightbox
 */
.lightbox-image {
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 300px;
    max-width: 500px;
    background-color: #fff;
}
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.brosjyr-file-link > h3 > i{
	margin-right: 5px;
}