/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


.ast-container, .ast-container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.astra-advanced-hook-598 {
	display: none;
}

.home #primary .ast-article-single, .toppbilde #primary .ast-article-single{
    padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.toppbilde .ast-container h1.entry-title, .toppbilde .ast-container .ingress{
	display: none;
}

.toppbilde #primary {
    margin: 0 !important;
}

.toppbilde .ast-container #toppbilde{
	display: none;
}

.toppbilde .ast-single-post-featured-section {
	display: none; /*Skjuler fremhevet bilde, hvis toppbilde skal vises*/
}



.kb-advanced-slide-inner h2, .toppbilde_innhold h2{
	 font-size: 53px !important;
	 line-height: 64px !important;
}


/*Karusell*/

.kb-splide .splide__arrow{
	background-color: #542B8C !important;
}

.torader p{
	font-size:21px;
	line-height:1.4
} 

.inline-search-form {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	max-width: 100%;
	align-items: center;
}

.search-form .search-field{
	min-width: 300px;
}

.inline-search-form .search-field {
	flex: 1;
	padding: 8px;
	font-size: 16px;
}

.inline-search-form .search-submit {
	padding: 8px 16px;
	font-size: 16px;
	cursor: pointer;
}

.custom-inline-search-form {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-bottom: 20px;
	max-width: 100%;
}
.custom-inline-search-form input.search-field {
	flex: 1;
	padding: 8px;
	font-size: 16px;
}
.custom-inline-search-form button.search-submit {
	padding: 8px 16px;
	font-size: 16px;
	cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

h1{
	font-size: 38px !important;
	line-height: 49px !important;
}

h2{
	font-size: 27px !important;
	line-height: 34px !important;
}

body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

body{
	font-size: 18px;
	line-height: 26px;
}

p {
    margin-bottom: 1.3em;
}

p:empty {
    display: block;
    min-height: 1em; /* optional: makes it visibly take up space */
}

.wp-block-kadence-advancedbtn .kb-button {
	padding: 12px 30px !important;
} 

.kt-btn-inner-text{
	font-size: 17px !important; 
	line-height: 25px !important;
}


/* Reset native numbering */
.wp-block-list.punktliste {
    counter-reset: punktliste-counter;
    list-style: none;
    padding-left: 0;
}

/* Style each <li> */
.wp-block-list.punktliste li {
    background-color: #E8F0FA;
    padding: 0.75em 1em;
    margin-bottom: 6px;
    border-radius: 4px;
    position: relative;
    padding-left: 2.5em;
}

/* Custom blue number before each <li> */
.wp-block-list.punktliste li::before {
    counter-increment: punktliste-counter;
    content: counter(punktliste-counter) ".";
    color: #126EDB;
    font-weight: bold;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
	font-size: 22px;
}



.ast-custom-header a{
	color: #000;
}

.ast-custom-header a:hover{
	text-decoration: underline;
}


/* Hamburger Styles */
.hamburger {
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 999;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px; 
  margin: 5px 0;
  border-radius: 4px;
  background: #542B8C;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


button.hamburger {
  all: unset;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 999;
}

/* Custom visible focus only on keyboard navigation */
button.hamburger:focus-visible {
  outline: 1px dotted #000;        /* Customize color/thickness */
  outline-offset: 4px;
  border-radius: 4px;
}


/* Megamenu Dropdown */
/*Position absolute*/
#astra_megamenu { 
  display: none;
  position: absolute;
  top: 100%; /* Just below the toggle button */
  right: 0;
  width: 40%;
  z-index: 999;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.05);
}

#astra_megamenu {
  display: none;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Optional: For internal padding/styling */
#astra_megamenu .inner {
  padding: 20px;
  background: #f3f3f3;
}

#astra_megamenu ul.menu > li{
	padding: 10px 0px;  
	border-bottom: 1px solid #000;
}

#astra_megamenu ul.menu li a{
	display: block;
}

.kb-navigation .sub-menu{
	margin-left: 0px !important; 
}

.kb-nav-dropdown-toggle-btn .kb-nav-arrow-svg {
  width: 32px !important;
  height: 32px !important;
}

.ingress{
	font-size: 21px;
	font-weight: 400;
	line-height: 27px;
	max-width: 992px;
	margin-bottom: 15px;
}

.kb-query-item .ingress, .jet-listing-grid__item .ingress{
	font-size: 18px;
	font-weight: 400;
	line-height: 27px; 
	margin-bottom: 0px;
}

.jet-listing-grid--blocks{
	width: 100%;
}


.home .entry-header{
	display: none;
} 

.home #primary{
	margin-top: 0px !important;
}

.page .entry-header, .post .entry-header {
    margin-bottom: 1.5em;
    max-width: 880px;
    margin-left: 0px;
    margin-right: auto;
}

.my-category-button {
  	background: #000;
    font-weight: bold;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding-top: 12px;
    padding-right: 30px;
    padding-bottom: 14px;
    padding-left: 30px;
	color: #fff;
	/*text-transform: lowercase; */
	font-size: 18px;
}



.my-category-button::first-letter {
  text-transform: uppercase;   /* make only the first letter uppercase */
}




.my-category-button:hover {
  /*background-color: #000;*/
  color: #fff;
}

.frosted .kt-inside-inner-col{ 
  backdrop-filter: blur(5px) !important;
  background-color: rgba(255, 255, 255, 0.2) !important; /* semi-transparent */
  padding: 20px !important;
  border-radius: 10px !important;
  color: #000 !important;
}

.kb-button.knapp-hvit{
	background-color: #fff !important;
	padding: 15px 30px;
	font-size: 18px;
	color: #000;
	border-radius: 5px !important;;
	transition: background-color 0.4s ease, color 0.4s ease;
	margin: 0px 10px 10px 0px;
}

.kb-button.knapp-hvit:hover{
	background-color: #000 !important;
	color: #fff !important;
}

.kb-button.kb-btn-global-outline{
	background-color: transparent !important;
	padding: 15px 30px !important;
	font-size: 18px !important;
	color: #fff !important;
	border-radius: 5px !important;
	border: 1px solid #fff !important;
	transition: background-color 0.4s ease, color 0.4s ease;
	backdrop-filter: blur(10px);
}

.kb-button.kb-btn-global-outline:hover{
	background-color: #000 !important;
	border: 1px solid #000 !important;
}


/*Google*/
.ti-inner {
    background-color: #fff !important;
}


/*Card*/

.img_parent {
  overflow: hidden;
  border-radius: 8px;
}

.card{
	border-radius: 8px;
}


.card .img_parent .kb-img {
  transition: transform 0.3s ease;
}

.card:hover .img_parent .kb-img {
  transform: scale(1.05); 
}

.card .image-is-svg {
  transition: transform 0.3s ease;
  display: inline-block; /* or block, depending on layout */
}

/* On card hover, move arrow to the right */
.card:hover .image-is-svg {
  transform: translateX(10px); /* adjust distance as needed */
}


figcaption{
	font-size: 16px;
}

footer{
	border-top: 1px solid #000;
}

footer a{
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 3px !important;
}

footer a:hover{
	color: #fff;
	text-decoration: underline;
}


.kt-svg-icon-link {
  display: flex;
  align-items: flex-start; /* Align icon and text to top */
}

.kb-svg-icon-wrap {
  display: inline-flex;
  align-self: flex-start; /* Ensures icon aligns at the top within flex */
}


@media only screen and (max-width: 1999px) {
	.ast-plain-container.ast-no-sidebar #primary {
		margin-top: 40px;
		margin-bottom: 0px;
	}
}


@media (min-width: 1201px) {
    .ast-container {
        max-width: 1400px;
    }
}


@media only screen and (min-width: 992px) {
    .entry-content > *:not(.alignwide):not(.alignfull) {
        max-width: 880px !important; /*Ønsket maksbredde på innhold, må være mindre enn innholdsbredde satt i Astra -> Tilpass -> Single Page, eller Astra ->  Tilpass ▸ Enkeltinnlegg.*/
        margin-left: 0px !important; /*0px: innhold justeres til venstre, auto: innholdet sentreres*/
        margin-right: auto !important;
    }
	
	.alignwide{
		max-width: 100% !important;
	}
	
	
	.alignfull {
		margin-left: calc(-50vw + 50%) !important;
		margin-right: calc(-50vw + 50%) !important;
		max-width: 100vw !important;
		width: 100vw !important;
	}
	
	
	.site .site-content #primary .ast-article-single, .ast-separate-container .site-content #secondary .widget {
		padding-top: 50px;
		/*padding-left: 30px;
		padding-right: 30px;*/
	}

	
	
	
}







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

	.alignwide{
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 100% !important;
	}
	
	/* Megamenu Dropdown */
	#astra_megamenu { 
	  width: 100%;
	}
	
	.ast-container, .ast-container-fluid {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	
	
}


@media only screen and (max-width: 767px) {
	
	h1{
		font-size: 30px !important;
		line-height: 40px !important;
	}
	
	body, p{
		font-size: 16px !important; 
		line-height: 22px !important;
	}
	
	.kb-advanced-slide-inner h2, .toppbilde_innhold h2{
		 font-size: 53px !important;
		 line-height: 64px !important;
	}
	
	.site .site-content #primary .ast-article-single {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
	
	/*To rad kandence blokk*/
	.wp-block-kadence-rowlayout h2{
		font-size: 21px !important; 
		line-height: 29px !important;
		margin-bottom: 10px;
	}
	
	.wp-block-kadence-rowlayout p{
		font-size: 16px !important; 
		line-height: 22px !important;
	}
	
	.kb-button {
		padding: 10px 20px !important;
	}
	
	.kt-btn-inner-text{
		font-size: 15px !important; 
		line-height: 20px !important;
	}
	
	.with_frm_style input[type=text], .with_frm_style input[type=email], .with_frm_style input[type=number], .with_frm_style input[type=url], .with_frm_style input[type=tel], .with_frm_style input[type=phone], .with_frm_style select, .with_frm_style textarea, .frm_form_fields_style, input::placeholder, textarea::placeholder  { 
		font-size: 16px !important;
		line-height: 22px !important;

	}
	
	.ingress p{
		font-size: 18px !important; 
		line-height: 28px !important;
	}
	
	
	.site .site-content #primary .ast-article-single {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.ast-plain-container.ast-no-sidebar .entry-content > .alignfull, 
	.ast-page-builder-template .ast-no-sidebar .entry-content > .alignfull {
		margin-left: calc(-50vw + 50%);
		margin-right: calc(-50vw + 50%);
		max-width: calc(100vw);
		width: calc(100vw);
	}
	
	
}


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

	.ast-separate-container .entry-content > .alignfull, .ast-separate-container .entry-content[data-ast-blocks-layout] > .alignwide, .ast-plain-container .entry-content[data-ast-blocks-layout] > .alignwide, .ast-plain-container .entry-content .alignfull {
        margin-left: auto;
        margin-right: auto;
    }
	
	.jet-container--content-justify-flex-start {
		justify-content: flex-start;
		width: 100% !important;
	}
	
	
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}


/*
Kadence:
•	Mobile: Screens less than 768 px wide
•	Tablet: Screens 768 px to 1024 px wide. 
•	Desktop: Screens greater than 1024 px wide. 

Astra
•	544px = covers all phones in portrait mode (including older devices).
•	545px–921px = covers nearly all tablets (portrait and landscape).
•	922px+ = treats larger screens as desktop/laptop.

Bootstrap 5 Breakpoints
•	Extra small	xs (implicit)	< 576px	col-12
•	Small	sm	≥ 576px	col-sm-6
•	Medium	md	≥ 768px	col-md-4
•	Large	lg	≥ 992px	col-lg-3
•	Extra large	xl	≥ 1200px	col-xl-2
•	XXL (Extra-extra large)	xxl	≥ 1400px	col-xxl-1


*/



 