/**
Theme Name: Move Up North
Author: VAIA Digital AB
Author URI: https://vaia.se
Description: Tema för moveupnorth.se
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: move-up-north
Template: astra
*/

p {
	font-weight: 300;
}

.site-header .site-primary-header-wrap .ast-builder-grid-row {
	border-radius: 200px;
	background: rgba(255, 255, 255, 0.50);
	box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(20px);
	justify-content: space-between;
	padding: 7px 8px 7px 7px;
	grid-template-columns: auto auto;
	height: 84px;
	max-width: 1300px;
	margin: 0 auto;
	width: 100%;
	-webkit-transition: background-color 500ms linear;
	-ms-transition: background-color 500ms linear;
	transition: background-color 500ms linear;
}
.site-header .site-primary-header-wrap .ast-builder-grid-row:hover {
	background: rgba(255, 255, 255, 0.90);
}
#ast-fixed-header .main-header-bar {
box-shadow: none;
}
.wp-block-navigation.is-horizontal a {
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%; /* 14px */
	letter-spacing: 1.4px;
	text-transform: uppercase;
	border-radius: 200px;
	padding: 12px 28px 13px;
	text-decoration: none;
}
.wp-block-navigation.is-horizontal .current-menu-item a,
.wp-block-navigation.is-horizontal a:hover {
	background: var(--ast-global-color-6);
	font-weight: 800;
}
.wp-block-navigation.is-horizontal ul {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 28px 0 0;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
}

.wp-block-navigation.is-horizontal ul::-webkit-scrollbar {
  display: none;
}

.wp-block-navigation.is-horizontal::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(0,0,0,0.35);
  border-right: 2px solid rgba(0,0,0,0.35);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item .sub-menu .menu-link:hover, 
.ast-theme-transparent-header .main-header-menu .menu-item .sub-menu .menu-link:hover
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, 
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, 
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
	color: var(--ast-global-color-2);
	background-color: var(--ast-global-color-6) !important;
}
.wplng-switcher.title-id.flags-none {
	min-width: unset;
}
.wplng-switcher.theme-light-simple-smooth .switcher-content {
	background: transparent;
	border: none;
}
.wplng-switcher.theme-light-simple-smooth .switcher-content .wplng-language {
	color: var(--ast-global-color-5);
	font-weight: 600;
}
.wplng-switcher.theme-light-simple-smooth .switcher-content .wplng-language:hover {
	background: transparent;
}
.wplng-switcher .switcher-content .wplng-language.current {
	display: none;
}
@media (min-width:768px) {
	.site-header .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-left {
		display: none;
	}
}
body header .main-header-menu:not(#ast-desktop-toggle-menu) {
	gap: 5px;
	margin-left: 33px;
}
body .ast-builder-menu-1 .menu-item > .menu-link,
body .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, 
body .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, 
body .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
	border-radius: 250px;
	font-weight: 600;
	padding: 12px 19px 13px;
}
body .ast-builder-menu-1 .current-page-ancestor > .menu-link {
	color: var(--ast-global-color-2);
	background: var(--ast-global-color-6);
}
.ast-builder-menu-1 .menu-item:hover > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
	border-radius: 250px;
}

.ast-above-header-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
}
.ast-above-header-wrap .ast-site-identity,
.ast-above-header-bar .site-above-header-wrap {
	padding: 0;
}

.site-header .site-primary-header-wrap .site-header-primary-section-right {
	border-radius: 200px;
	background-color: var(--ast-global-color-7);
	padding: 20px 30px 20px 40px;
}
.ast-desktop .ast-primary-header-bar .ast-builder-menu-2 .main-header-menu > .menu-item {
	line-height: unset;
}
h1 em {
	font-size: clamp(60px, 6vw, 80px);
	font-style: normal;
	font-weight: 800;
	line-height: 110%;
}

@media (min-width:800px){
	/* Flytta megamenyn så den hamnar inuti header-containern */
	.ast-mega-menu-enabled .sub-menu,
	#masthead .main-header-menu .menu-item-has-children .astra-megamenu.sub-menu {
  	border-radius: 20px;  /* rundade hörn bara nedtill */
  	box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
  	padding: 30px 30px;
	}
	/* När megamenyn är öppen – ta bort nedre rundning på headern */
	.main-header-menu .menu-item-has-children:hover .ast-container,
	.main-header-menu .menu-item-has-children.focus .ast-container {
	  border-radius: 16px 16px 0 0;
	}
}
@media (max-width:800px){
	.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
		background: rgba(255, 255, 255, 0.95);
	}
	.ast-mobile-popup-inner .ast-mm-custom-content.ast-mm-template-content {
		padding: 20px;
	}
	.ast-mobile-popup-inner button.ast-menu-toggle {
		border: 0;
		box-shadow: none;
	}
}