@charset "UTF-8";
/*
Theme Name: Tingvoll Dør og Vindu
Theme URI: https://amfikreativ.no;
Author: Amfi Kreativ as
Author URI: https://amfikreativ.no/
Description: Theme by Amfi Kreativ AS.
Requires at least: WordPress 5.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tingvoll
Tags: featured-images
*/


/* logo farge #383e42 , rgba(56,62,66,1)  */

:root {
  --wp--style--block-gap: 4rem;
}

:root :where(.is-layout-flex) {
	gap: 45px;
}

:root :where(.is-layout-flow) > * {
	margin-block-start: 35px;
	margin-block-start: 12px;
	margin-block-end: 0;
}

:root :where(.is-layout-flow) > p {
	margin-block-start: 10px;
	margin-block-end: 0;
}

#content h3.wp-block-heading {
	margin-top: 30px;
}

:root :where(#content) > :first-child h3 {
	margin-top: 0;
}

.wp-block-gallery{
	gap: 25px !important;
}

a{
	color: #0064d0;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	/*font-weight: 700;*/
	font-family: 'Alice', serif;
	line-height: 1.4;
}

div > h2:not(:first-child) {
	margin-top: 50px;
}

.page h3, .page .h3{
	font-size: 25px;
} 

.blog h3, .blog .h3{
	font-size: 25px;
} 

 #content h2{
	color: #653c06;
	/* color: #382c1c; */
	color: #654c43;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-spacer{
	width:100%;
}

.wp-block-heading{
	width: 100%;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 100% !important;
}

figcaption{
	min-width:100%;
}

/* Remove any caption background/gradient on normal Image blocks */
.wp-block-image .wp-element-caption {
	background-color: white !important;
	background-color: transparent !important;
}


.btn{
	height: 39px;
}

.btn-primary{
	background-color: #6f693d;
	border-color: #6f693d;
	color: white !important;
}

.btn-primary:hover{
	background-color: #888150;
	border-color: #888150;	
}

.btn-primary:focus, .btn-primary.focus{
	box-shadow: 0 0 0 0.2rem rgb(128, 100, 0);
}

.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle{
	background-color: #888150;
	border-color: brown;
}

.wp-block-column h2:not(:first-child), .page-content h2:not(:first-child) {
	margin-bottom: 30px;
	margin-top: 30px;
}

/* .page-content:not(.intro) > h2{
	margin-bottom: 50px;
}
.page-content.intro > h2{
	margin-bottom: 10px;
} */

@media(max-width:767px){
	.h1, .h2, .h3, .h5, .h6, h1, h2, h3, h4, h5, h6{
		font-size: 6vw;
	}

	h3{
		font-size: 5vw
	}

	h4{
		font-size: 4.5vw;
	}
}

h1,h2,h3,h4,h5,h6{
	text-rendering: optimizelegibility;
}

body{
	font-family: 'Titillium Web', sans-serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1px;
    font-size:16px;
    font-size:18px;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0;
	margin-block-end: 23px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 30px;
}

ul li::marker {
    color: #bb6348;
}


#content-wrapper{
	overflow:hidden;
	position: relative;
	/*min-height:700px;*/
}

#brodsmuler ul,
#brodsmuler li{
	list-style-type: none;
	display: inline-block;
	text-transform: capitalize;
}

#content{
	background-color: white;
	padding-top: 50px;
	padding-bottom: 2%;
	min-height: 400px;
	clear: both;
	width:100%;
}

#content a{
	border-bottom: 2px solid #d4b183;
}


a:focus{
	text-decoration: none;
	outline-color: red;
	outline-width: 3px;
}

#content a, #articles-repeater a, 
.single-kontakt-container a,
#fakta-container a
#blog-content a{
	color: rgba(3,78,161,1);
	border-bottom: 2px solid #d4b183;	
}

.wp-block-file__button{
	color: white !important;
	border: 0 !important;
}


#content a:hover, 
#articles-repeater a:hover,
.single-kontakt-container a:hover,
#fakta-container a:hover,
#blog-content a{
	text-decoration: none;
	border-bottom: 2px solid #bb6348;
}

a:not(.nav-link, .dropdown-item){
	color: rgba(3,78,161,1);
	/*border-bottom: 2px solid #d4b183;*/
	text-decoration: none;
	outline-color: red;
	outline-width: 3px;
}

.nav-link:active, .dropdown-item:active{
	opacity: 0.5;
}

#content-wrapper a:not(.carousel-control, .blog-item):hover{
	border-bottom: 2px solid #bb6348;
}

.navbar-brand{
	padding:0;
}

@media (min-width:1350px){
	.navbar{
		padding:.5rem 0;
	}
}


#masthead{
	display:flex;
	z-index:4;
	background-color: white !important;
	box-shadow: 0 0 7px 0px #383e42;
	position: relative;
	z-index: 999;
}

#masthead li, #masthead a{
	font-family: "Isonorm";
	font-size: 20px;
}

#masthead .nav-item>.nav-link{
	text-decoration: none;
	color: rgb(59,43,25);
	outline-width: 2px;
	outline-color:red;
}

#masthead .nav-item .nav-link:hover{
	color: #383e42;
	text-decoration: none;
	box-sizing: border-box;
}

#menu-toppmeny>.nav-item{
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    background-color: transparent;
    padding: 0px 10px;
}

#menu-toppmeny>.nav-item.active{
	border-bottom:2px solid #A28A00;
}

/* kun toppmeny */
#menu-toppmeny>.nav-item:hover{
	border-bottom:2px solid #383e42;
}

/* aktiv underside dropdown */
.dropdown .current_page_item.active .dropdown-item{
	background-color: #e5e1c3;
}

.dropdown-item:focus, .dropdown-item:hover{
	background-color: #f4f6ea;
}

#breadcrumbs{
	background-color: #f4f6ea;
	padding: 10px 0;
	z-index: 0;
	width:100%;
}

#breadcrumbs a{
	color: #6b5b0e;
}


figcaption{
	font-size: 12px;
}

.permalink:active{
	opacity: 0.3 !important;
}

.permalink:hover{
	opacity: 0.8;
}

.dropdown-menu{
	border-radius: 0;
	min-width:200px;
}


@media (min-width: 1330px){
	.container{
		padding:0;
	}
}

#main-logo{
	background-repeat: no-repeat;
	background-position: center bottom;
	font-size: 24px;
	font-weight: 300;
}

#main-logo:hover{
	opacity: 0.8;
}

#main-logo:active{
	transform: scale(0.95);
}

#logo-image{
	max-width:100px;
	width:100%;
	height:auto;
}


/****** version 2 ************/
#page-title{
	background-color: #382c1c;
	padding: 10px 0;
	margin:0;
	z-index: 2;
}

#page-the-title{
	margin-bottom:0;
	color: white;
	font-weight: 100;
}

/******** global **********/

#blog-content{
	margin: auto;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;

}

.single-post #blog-content h2{
	margin: 30px 0;
}

@media(min-width:768px){
	#blog-content{
		margin-top: 300px;
	}
}


@media(max-width:767px){
	#blog-content{
		margin-top: 170px;
	}
}


#blog h2, #blog h2:hover, #blog .blog-item{
	text-decoration: none;
	color: #5d5346;
	border:0 !important;
}

#blog a img{
	transform: scale(1, 1);
	transition: all 300ms;
}


#blog a:hover img{
	transform: scale(1.1, 1.1);
	transform-origin: center center;
	transition: all 300ms;
	filter: saturate(150%);
}


.blog-item img{
	width:100%;
	height:auto;
}

.home #page-title::after,
.single-produkt #page-the-title::after,
#blog #page-the-title::after,
.single-post #page-the-title::after{
	content: '';
	display: inline-block;
	background-color: white;
	width:30%;
	height:1px;
	position: absolute;
	left:50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.home #page-title, 
.single-produkt #page-title, 
#blog #page-title,
.single-post #page-title {
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	top: 50px;
	width:auto;
	height:auto;
	text-align: center;
	background-color:rgba(56,44,28,0.9);
}

#page-title small{
	color: white;
	text-transform: uppercase;
}

@media (max-width:767px){
	.home #page-title,
	.single-produkt #page-title,
	.single-post #page-title,
	#blog #page-title{
		position: absolute;
		top: 40px;
		padding: 20px 10px 30px 10px;
		max-width:350px;
		width:100%;
	}

	#page-the-title{
		font-size: 5vw;
	}


	.home #page-title::after, 
	.single-produkt #page-the-title::after,
	.single-post #page-the-title::after,
	#blog #page-the-title::after{
		bottom: 20px;
	}
	
	.blog-item-heading{
		font-size: 1.5rem;
	}

}


@media (min-width:768px){
	.home #page-title, 
	.single-produkt #page-title,
	.single-post #page-title,
	#blog #page-title{
		position: absolute;
		top: 50px;
		padding: 50px 10px 70px 10px;
		width:430px;
	}

	#page-the-title{
		font-size: 2rem;
	}

	.home #page-title::after, 
	.single-produkt #page-the-title::after,
	.single-post #page-the-title::after,
	#blog #page-the-title::after{
		bottom: 40px;
	}

}




/******* produkter *************/
/******* produkter *************/
/******* produkter *************/
/******* produkter *************/
/******* produkter *************/

.blog-item-image-wrap{
	height: 231px;
}


#masthead{
	height: 91px;
}



.single-produkt #content{
	display:flex;
}

.single-produkt #content-image img{
	width:100%;
	height:auto;
}

@media(min-width: 992px){


	.navbar-expand-lg .navbar-nav .nav-link{
		padding-right: 0;
		padding-left: 0;	
	}
	
	#masthead .navbar{
		z-index:99;
		flex-wrap: wrap;
		justify-content: space-between;
		width:100%;
		max-width: 1300px;
	}

	.nav-item, .nav-item a{
		vertical-align: middle;
		margin:auto;
	}

	#masthead .navbar-nav > .menu-item:hover > .dropdown-menu {
		display: block;
	}

	#menu-toppmeny>.nav-item{
		margin-left:15px;
	}

	.menu-item-home{
		display: none;
	}

	.nav-link{
		height:100%;
		padding: 10px 0 10px 0;
		align-self: center;
	}

	.nav-link.disabled{
		color: #4c4c4c !important;
	}

	.navbar .nav-item a.nav-link{
		font-size:15px;
		text-transform: uppercase;
	}

	.dropdown-menu{
		margin-top:-5px;
	}

	.navbar .nav-item a.nav-link:hover, 
	.navbar .nav-item.active a.nav-link{
		text-decoration: underline;
	}



}

@media(max-width: 991px){

	#menu-toppmeny{
		background-image: linear-gradient(120deg, beige 5%, 80%, #ffffff );
	}

	#navbar-collapse-main{
		position: fixed;
		overflow:scroll;
		top:0;
		left:0;
	}

	#navbar-collapse-main .menu-item{
		margin: 5px 0;
	}

	#navbar-collapse-main, 
	#menu-toppmeny{
		min-height:100vh;
		width:100vw;
		z-index: 50;
	}
	#menu-toppmeny{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.menu-item{
		width:95%;
		text-align: left;
		padding-left:5%;
		padding-right:5%;
		margin:0 auto;
	}

	.nav-link{
		color: #ffffff;
		margin:15px 0;
		padding:0;
		align-self: center;
	}
	.nav-link:hover{
		color: #ffffff;
	}

	.navbar-toggler{
		border: 1px solid rgba(255,255,255,0.2);
		outline:0;
	}

	.navbar-toggler:focus{
		outline:0;
	}

	.navbar-toggler:before{
		content: 'Meny';
		position: absolute;
		transform: rotate(90deg);
		left:-30px;
		top:16px;
		font-size: 12px;
		color: #383e42;
	}

	.nav-link.disabled{
		color: #ffffff;
	}

	.navbar .nav-item a.nav-link{
		font-size:5vw;
		text-transform: uppercase;
	}

	.current-menu-item, .menu-item:active{
		background-color: rgba(255,255,255,0.2);
	}

	.navbar .nav-item.active a.nav-link{
		text-decoration: underline;
	}

	.dropdown-menu .dropdown-item{
		font-size: 5vw;
	}

	.dropdown-menu{
		min-width:100%;
		margin-bottom:15px;
		border:0;
	}

	.dropdown.active .current-menu-item.active a{
	    color: #000;
	}

	.toggle-dropdown{
		z-index: 10;
		color: rgba(0,123,255,1);

		background-color: white;
		font-size: 7vw;
		position: absolute;
		right:3%;
		margin-right:3%;
		display: inline-flex;
		width:50px;
		text-align: center;
		border-radius: 3px;
		
		animation-name: dropAnim;
	 	animation-play-state: running;
		animation-duration: 1s;
		animation-iteration-count: 2;
	}

	.toggle-dropdown:before{
		align-items: center;
		display: inline-flex;	
	}

	@keyframes dropAnim{
		from{
			opacity: 1;
			transform: scale(1);
		}

		50%{
		/*	opacity: 0.7;*/
			transform: scale(0.8);
		}

		to{
			opacity: 1;
			transform: scale(1);
		}
	}

}

/********* single produkt **********/
/********* single produkt **********/
/********* single produkt **********/

/* .single-produkt .page-content.intro{
	font-family: Alice, 'serif';
} */

/* 
@media (min-width:768px) {
	.single-produkt #content-image, 
	.single-produkt .page-content{
		width:47%;
		overflow: hidden;
	}

	.single-produkt #content{
		display:flex;
		flex-direction: row;
		justify-content: space-between;
	}

	.single-produkt #content-image{
		height:auto;
	}

} */

/* 
@media (max-width:767px){
	
	.single-produkt #page-title{
		top: 50px;
		padding: 40px 10px 50px 10px;
		width:70%;
	}

	.single-produkt #content{
		display:flex;
		flex-direction: column;
	}

	.single-produkt #content-image, 
	.single-produkt .page-content{
		width:100%;
		overflow: hidden;
	}


	.single-produkt #content-image{
		margin-bottom: 30px;
	}

} */



/******* fakta ***********/

/* --- Tabs container layout --- */
#fakta-container .nav-tabs {
  display: flex;
  flex-wrap: nowrap; /* keep your “equal tabs” feel */
  border-bottom: 0;  /* remove BS tabs underline */
  margin-bottom: 0;
}

/* Each <li class="nav-item"> should take equal space */
#fakta-container .nav-tabs .nav-item {
  flex-grow: 1;
}

/* Your divider between tabs */
#fakta-container .nav-tabs .nav-item:not(:first-child) {
  border-left: 2px solid #fff;
}

/* --- Tab trigger styling (Bootstrap 5 uses .nav-link on <button>) --- */
#fakta-container .nav-tabs .nav-link {
  cursor: pointer;

  border: 1px solid transparent;
  border-radius: 0;        /* override BS rounded corners */
  margin: 0;               /* BS sometimes sets margins */
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;

  padding: 10px;
  font-size: 16px;
  font-family: Alice, serif;
  color: #000;

  background-color: #b3a64c;

  /* remove BS focus/active outlines that may look odd with custom design */
  box-shadow: none;
}

/* Active + hover */
#fakta-container .nav-tabs .nav-link.active,
#fakta-container .nav-tabs .nav-link:hover {
  background-color: #4e4c3d;
  color: #fff;
  border-color: transparent;
}

/* Optional: keyboard focus visibility, but styled to match */
#fakta-container .nav-tabs .nav-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -2px;
}

/* --- Tab content box --- */
#fakta-container .tab-content {
  background-color: rgba(0,0,0,0.1);
}

/* Your internal content layout */
#fakta-container .tab-pane .tab-pane-content {
  display: flex;
}

#fakta-container .tab-pane .tab-pane-content-inner {
  margin: auto;
  flex-direction: column;
}

#fakta-container .tab-pane .tab-bilde {
  margin-right: 30px;
}

/* --- Desktop --- */
@media (min-width: 768px) {

  #fakta-container .tab-pane .tab-pane-content {
    flex-direction: row;
  }

  #fakta-container .tab-content {
    padding: 50px;
  }

  #fakta-container .nav-tabs {
    height: 50px;
  }

  #fakta-container .tab-bilde {
    width: 35%;
    align-self: center;
    text-align: center;
  }

  #fakta-container .tab-tekst {
    width: 60%;
  }

  #fakta-container .tab-bilde img {
    align-self: center;
    display: block;
    margin: auto;
  }
}

/* --- Mobile --- */
@media (max-width: 767px) {

  #fakta-container .tab-pane .tab-pane-content {
    flex-direction: column;
    overflow: hidden;
  }

  #fakta-container .tab-bilde img {
    margin-bottom: 20px;
    align-self: center;
  }

  #fakta-container .tab-bilde {
    overflow: hidden;
    width: 100%;
    margin-right: 0; /* important: remove desktop margin on mobile */
  }

  #fakta-container .tab-content {
    padding: 15px;
  }

  #fakta-container .nav-tabs {
    height: auto;
  }
}


@media (max-width:1023px){
	.navbar{
		width:100%;
	}
}

.navbar-nav{
	align-items: center;
}

#navbar-collapse-main{
	height:100%;
}

#navbar-collapse-main{
	align-items: stretch;
	transition: height 500ms ease-in-out;
}

.menu-item a{
	font-size: 15px
}

.navbar-toggler{
	z-index:99;
 	background-color: #ccc488;
	width:45px;
	height:45px;
	position: fixed;
	top:21px;
	right:15px;
	padding:0;
}

.navbar-toggler-icon{
	width:100%;
	height:100%;
	padding:10px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	background-image: unset;
}

.nav-icon, .nav-icon:before, .nav-icon:after{
	height:1px;
	width:100%;
	background-color: #fff;
	margin: auto;
	transition: transform 300ms ease-in-out;
}

@media (min-width:980px){
	.container{
		max-width:1300px;
	}
}


/******** FORSIDE **********/
#forside-content{
	overflow: hidden;
	position: relative;
}

#forside-intro{
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 10% 0;
	display: none;
}

#forside-slogan{
	max-width:80%;
	text-align: center;
	color: #382c1c;
	font-weight: 700;
	display: flex;
	justify-content: center;
}

#forside-slogan h2{
	font-family: 'Nunito', sans-serif;
	text-transform: uppercase;
	background-color: white;
	border-radius: 5%;
	max-width:1000px;
	padding: 10px 30px;
}


#forside-content a:not(.carousel-control){
	color: #6f693d;
	position: relative;
}

#forside-content a:not(.carousel-control):hover{
	color: #007bff;
}

#forside-produkter-wrap{
	display: flex;
    height: auto;
	width: 100%;
	clear:both;
	/*background-color: #f4f6ea;*/
	
	background-color: #e0e2d2;
	display:none;
}

.home article{
	width:100%;
	clear:both;
}


.forside-blokk{
	text-decoration: none;
}

.forside-blokk-tittel{
	background-color: white;
	bottom:0;
	margin:0;
	z-index: 4;
}

#forside-introtekst{
	border-top-left-radius: 30px;
	border-bottom-right-radius: 30px;
	border: 1px solid #e8e6e1;
	/*background-color: #dfdcd5;*/
	background-color: #fff;
}

#forside-introtekst .btn{
	float:right;
}


@media(min-width:768px){

	#forside-introtekst{
		column-count: 2;
		column-gap: 50px;
		column-rule-style: solid;
		column-rule-width: 1px;
		column-rule-color: #998810;
		padding: 3%;
		max-width:1000px;
	}

	#forside-produkter-wrap{
		justify-content: center;
		padding: 3% 0;
	}
	
	#forside-produkter{
		display: flex;
		height: auto;
		max-width: 1000px;

		width: 100%;
		/*margin: auto;*/
		justify-content: space-around;
	}

	.forside-blokk{
		width:30%;
		/*	margin-bottom: 30px;*/
	}
	
	.forside-blokk,
	#content-wrapper a.forside-blokk{
		border: 10px solid white;
	}

	.forside-blokk-tittel{
		position: absolute;
		bottom:-20px;
		margin-left: 3%;
		padding: 5px 10px;
		font-size: 30px;
	}

	#forside-slogan h2{
		font-size: 50px;
	}

}
@media (max-width:767px){

	#forside-produkter-wrap{
		padding: 10% 0%;
	}

	#forside-produkter{
		display: flex;
		height: auto;
		width: 100%;
		margin: auto;
		flex-direction: row;
		flex-wrap:wrap;
		justify-content: space-around;
	}
	
	.forside-blokk{
		width:44%;
		position: relative;
		margin-bottom: 30px;
		/*margin-bottom: 30px;*/
	}
	
	.forside-blokk,
	#content-wrapper a.forside-blokk{
		border: 5px solid white;
	}

	.forside-blokk-tittel{
		position: absolute;
		bottom:-20px;
		margin-left: 10px;
		padding: 5px 10px;
		font-size: 5vw;
	}

	#forside-slogan h2{
		font-size: 9vw;
	}

	#forside-introtekst{
		padding: 30px;
		max-width:90%;
	}

}


.forside-blokk-img{
	width:100%;
	height:auto;
}

.forside-blokk-imgwrap{
	overflow: hidden;
}


.forside-blokk:hover .forside-blokk-img{
	transform: scale(1.1);
	transition: all 300ms;
}



/*********** KARUSELL FORSIDE *************/

.carousel-control ion-icon{
	color: white;
}

#toppkarusell-wrap-forside{
	position: relative;
	overflow: hidden;
}

.forside.carousel-item{
	display: block;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

#toppkarusell-wrap-forside,
#toppkarusell{
	min-width:100%;
	height:1px;
}

@media(min-width:992px){
	.forside.carousel-item,#toppkarusell-wrap-forside,
	#toppkarusell, .carousel-inner, #forside-content{
		width:100%;
		height:700px;
		overflow:hidden;
	}
}

.artikkel-carousel,
.artikkel-carousel > .carousel-inner{
	width:100%;
	height:100%;
}

.artikkel-carousel > .carousel-inner .carousel-item img{
	width: 100%;
	height: 500px;
	object-fit: cover;
	display: block;
}


@media(max-width:991px){
	.forside.carousel-item,#toppkarusell-wrap-forside,
	#toppkarusell, #forside-content{
		height:300px;
		/*padding-bottom:45%;*/
	}	
} 

.forside.carousel-item .carousel-img{

	width:100%;
	height:auto;

	top:0;
	right:0;
	bottom:0;
	left:0;
	margin: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover{
	cursor: pointer;
}

.carousel-control-prev:active,
.carousel-control-next:active{
	opacity: 0.7;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon{
	background-color: #d4b183;
	width:50px;
	height:50px;
	border-radius: 50px;
	background-size: 50% auto;
	/* background-image: none; */
	font-size: 50px;
	line-height:100%;
}

.carousel-control-prev,
.carousel-control-next{
	opacity: 1;
}

.indikatorpunkter{
	height:12px;
}

@media (max-width:1023px){
	.indikatorpunkter{
		bottom:5px;
	}
}


@media (min-width:1024px){
	.indikatorpunkter{
		bottom:2%;
	}
}

.indikatorpunkter li{
	background-color: white;
	height:10px;
	border: 1px solid #fff;
	background-clip: border-box;
}

.indikatorpunkter li.active{
	background-color: #ccc488;
}
.indikatorpunkter li:hover{
	background-color: #ccc488;
}

.indikatorpunkter li:active{
	opacity: 0;
}



/*********** karusell forside slutt ************/

@media (min-width: 576px) and (max-width:1300px){
	.container{
		max-width:100%;
	}
}

/************ artikler shortcode *************/
/************ artikler shortcode *************/
/************ artikler shortcode *************/

#articles-intro{
	padding: 30px;
	border-bottom: 1px solid #998810;
	border-top: 1px solid #998810;
	/*background-color: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.05);*/
}

#articles-repeater h2{
	color: #654c43;
}

@media(min-width:768px){

/* 
	.page:not(.home) .article-container:nth-child(odd) .single-article-img{
		order:2;
	}
	
	.page:not(.home) .article-container:nth-child(odd) .single-article-content{
		order:1;
	}


	.home.page .article-container:nth-child(even) .single-article-img{
		order:2;
	}
	
	 .home.page .article-container:nth-child(even) .single-article-content{
		order:1;
	}


	.single-produkt .article-container:nth-child(odd) .single-article-img{
		order:2;
	}
	
	.single-produkt .article-container:nth-child(odd) .single-article-content{
		order:1;
	} */


	.single-article-content{
		margin:auto;
	}
	
	.single-article-content-wrap{
		align-self: center;
	}


}


@media(max-width:767px){
	 .article-container{
		flex-direction: column;
	}
	
	 .article-container .col{
		width: 100%;
	}

	 .single-article-img{
		margin-bottom: 30px;
	}
	
}

.bilde-id{
	width: auto;
	height: auto;
	font-size: 16px;
	position: absolute;
	left: 0;
	top: 0;
	padding: 2px 7px;
	background-color: black;
	color: white;
}

#articles-repeater.bloggvisning {
	display:flex;
	max-width:1300px;
	flex-direction: row;
	flex-flow: wrap;
	margin:auto;
	justify-content: flex-start;
}


@media (min-width:768px){
	#articles-repeater.bloggvisning .article-container{
		flex-direction: column;
		background-color: #f8f8f8;
		border: 1px solid rgba(0,0,0,0.05);
		margin: 20px auto !important;
		align-self: stretch;
	}

	.bloggvisning .single-kontakt-header{
		font-size: 1rem;
	}

	.bloggvisning .single-article-content{
		margin-top: 30px;
	}

}

#articles-repeater .bloggvisning .article-container{
	background-color: #f8f8f8;
	background-color: #f8f8f8;
	border: 1px solid rgba(0,0,0,0.05);
}


@media (max-width:767px){

	.bloggvisning .single-kontakt-header{
		font-size: 3.5vw;
	}

	.bloggvisning .single-article-tekst{
		margin-bottom: 0 !important;
	}

	.bloggvisning .single-article-content{
		
	}

}


.bloggvisning .single-article-img{
	margin-bottom: 0;
}


.bloggvisning .article-container .col{

}

  #articles-repeater .artikkelvisning:nth-child(even) 
  .single-article-img {
    order: 2;
  }

  #articles-repeater .artikkelvisning:nth-child(even) 
  .single-article-content {
    order: 1;
  }





/********** kontakter shortcode *************/
.single-kontakt-container{
	display: flex;
	/*border: 1px solid #d0d0d0;*/
	border-top: 1px solid #d0d0d0;
	border-bottom: 1px solid #d0d0d0;
	align-items: stretch;
	overflow: hidden;
	padding:0;
}

.single-kontakt-header{
	margin-bottom: 10px;
	letter-spacing: 0px;
	font-family: 'Alice', serif;
}

.single-kontakt-img img{
	border-radius: 100%;
	margin: auto;
	object-position: center center;
}

.single-kontakt-content{
	/*background-color: #e6e5dc;*/
	width:100%;
}

.single-kontakt-content p{
	margin-bottom: 5px;
}


@media (min-width:992px){
	
	.single-kontakt-tekst{
		border-right: 1px solid #d0d0d0;
	}
}

@media (min-width:768px){
	.single-kontakt-container{
		flex-direction: row;
		justify-content: flex-start;

		padding-left:0;
		padding-right:0;

		width: 100%;
		max-width:1300px;
		margin-right: auto;
		margin-left: auto;

	}

	.single-kontakt-content{
		padding: 30px;
		margin: auto;
	}

}

@media( min-width:550px) and (max-width:767px){

	.single-kontakt-img{
		width:100%;
		/*height:1px;
		padding-bottom: 100%;*/
		display: block;
	}
	.single-kontakt-content{
		padding: 20px 0;
		margin: auto;
	}


	.single-kontakt-buttons{
		margin-top: 30px;
	}

}


@media( max-width:550px){
	.single-kontakt-container{
		flex-direction: column;
		width:320px;
	}

	.single-kontakt-content{
		padding: 20px 0;
		margin: auto;
	}

	.single-kontakt-buttons{
		margin-top: 30px;
	}

}


#kontaktinfo-wrap input{
	height:40px;
}
#kontaktinfo-wrap input,
#kontaktinfo-wrap textarea{
	border: 1px solid #A28A00;
}


@media (min-width: 992px){
	.wpcf7{
		height: 673px;
	}
}

#kontaktinfo-wrap .wpcf7-submit{
	width:100% !important;
}

#kontaktinfo-wrap label{
	color: grey;
	font-weight: bold;
}

#kontaktinfo-wrap .wpcf7-submit{
	outline:none !important;
	background-color: #a28a00;
	color: white;
	padding: 10px 0;
	height:45px;
}

#kontaktinfo-wrap .wpcf7-submit:hover{
	opacity: 0.8 !important;
}

#kontaktinfo-wrap .wpcf7-submit:active{
	opacity: 0.3 !important;
}

#kontaktinfo-wrap label, 
#kontaktinfo-wrap span, 
#kontaktinfo-wrap input, 
#kontaktinfo-wrap textarea{
	width:100%;
}

#kontaktinfo-wrap .ajax-loader{
	background-repeat: no-repeat;

}

:root :where(.wp-block-image figcaption) {
	font-size: 16px !important;
}

.acf-map{
	width: 100%;
	height: 400px;
	border: 1px solid #cecece;
}


/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

@media(max-width:991px){

	#kontaktinfo-wrap{
		flex-direction: column;
	}
	#kontaktinfo-wrap .col{
		width:100%;
	}
}

.wpcf7-validation-errors{
	background-color: red;
	color: white;
	border: 0px !important;
	margin:0 !important;
	height:40px;
}
/********* FOOTER ***********/



.page ion-icon[name="mail"], 
.page ion-icon[name="call"], 
footer ion-icon[name="mail"], 
footer ion-icon[name="call"] {
	margin-right: 5px;
}

footer .some-link{
	display: inline-block;
	padding: 0 5px;

}
footer .some-link:hover{
	background-color: white;
}

footer .some-link span{
	width:100%;
	clear:both;
	display: block;;
}

footer .row{
	margin-left: 0px;
	margin-right: 0px;
}

#sub-footer{
	margin-top:30px;
}

footer img{
	max-width:200px;
}

footer .some-link ion-icon{
	font-size: 50px;
	height: 50px;
	width: 50px;
}

@media(max-width:767px){
	footer{
		text-align:center;
	}

	#amfikreativ{
		text-align: center;
		margin:30px 0 0 0;
	}

	footer .telefon-link{
		padding:5px 10px;
		border: 1px solid black;
		margin:10px 0;
		display: inline-block;
		border-radius: 5px;
		height: 36px;
	}

	footer .col{
		margin-bottom: 30px;
	}

}


@media(min-width:1350px){
	.footer-content .col{
		padding-left:0;
		padding-right:0;
	}
}


.footer-content.container{
	padding-left:0;
	padding-right:0;
}

footer{
	height:auto;
	background-color: #f4f6ea;
	color: black;
}

footer .footer-link{
	padding-bottom:0px;
	border-bottom: 2px solid #d8b576;
	display: inline-block;
}

footer .footer-link:hover{
	border-bottom: 2px solid #bb6348;

}

footer .telefon-link, 
footer .footer-link{
	color: #000;
	font-weight: 300;
}

footer .footer-link:hover{
	text-decoration: none;
}

footer p{
	margin:0 0 10px 0;
}

#colophon-bottom{
	padding: 5% 0 2% 0;
}

#amfikreativ{
	color: black;
	font-size: 10px;
	padding:80px 0 45px 0;
	text-align: center;
	height: 95px;
}

#amfikreativ a{
	text-decoration: underline;
	color: #5f3e04;
}

#amfikreativ a:hover{
	text-decoration: none;
}

.aligncenter{
	display: block;
	margin:0 auto;
	text-align: center;
}


/* Pagination container */
.navigation.pagination {
	display: flex;
	justify-content: center;
	margin: 3rem 0;
	width: 100%;
}

/* Links wrapper */
.navigation.pagination .nav-links {
	display: flex;
	gap: 0.5rem;
}

/* Base pagination buttons */
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;

	background-color: transparent;
	border: 2px solid #6f693d;
	border-radius: 999px;

	color: #6f693d;
	text-decoration: none;
	font-weight: 500;

	transition: all 0.2s ease-in-out;
}

/* Hover / focus */
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus {
	background-color: #6f693d;
	color: #fff;
}

/* Current page */
.navigation.pagination .page-numbers.current {
	background-color: #6f693d;
	color: #fff;
	pointer-events: none;
}

/* Next / Prev buttons */
.navigation.pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev {
	padding: 0 18px;
}

.blog-scroll-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	color: #6f693d;
}

.blog-scroll-spinner {
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(111, 105, 61, 0.2);
	border-top-color: #6f693d;
	border-radius: 50%;
	animation: blog-scroll-spin 0.7s linear infinite;
}

.blog-scroll-spinner[hidden] {
	display: none;
}

.blog-scroll-message {
	font-weight: 600;
}

.blog-scroll-sentinel {
	width: 100%;
	height: 1px;
}

#blog-post-grid.is-loading {
	opacity: 0.96;
}

@keyframes blog-scroll-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.rotate-180{
	transform: rotate(180deg);
}

.video-responsive {
  max-width: 100%;
}

.video-responsive .wp-video,
.video-responsive .wp-video-shortcode,
.video-responsive video,
.video-responsive .mejs-container {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

@supports (aspect-ratio: 16 / 9) {
  .video-responsive .wp-video,
  .video-responsive .wp-video-shortcode {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .video-responsive video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
}