/**
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
*/

#content a, .site-footer a {
  color: #1A73E8 !important;
  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: #116EDB;
  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%; 
  width: 100%;	/* bredden på megamenyen 
  right: 0; 	/*festet til høyre side når breden er satt til mindre enn 100%;*/
  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;
}


/*Søkefelt*/
.inline-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-search-form label {
    flex: 1;
    margin: 0;
}

.inline-search-form .search-field {
    width: 100%;
    box-sizing: border-box;
}

.inline-search-form .search-submit {
    white-space: nowrap;
}

