/*
Theme Name:     Frogneril
Theme URI:      
Description:    Hello-elementor child theme.
Author:         Me
Author URI:     
Template:       hello-elementor
Version:        0.1.0
*/

.dw-hide{
	display:none !important;
}


/*  POPUP */
.hover-popup {
  position: fixed;           /* posisjoneres i viewport-koordinater */
  left: 0;
  top: 0;
  max-width: 950px;
  min-width:300px;
  background: #F6F6F6;
  color: #333;
  padding: 8px 12px;
  border: 1px #999 solid;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  overflow:visible;
  z-index: 9999;
  transition: opacity 0.15s ease;
  box-shadow : 4px 6px 3px 0px rgba(236, 65, 53, 0.29);
}

/* pil */
.hover-popup::after {
  content: "";
  position: absolute;
  border-width: 6px;
  border-style: solid;
  left: var(--arrow-x, 50%);      /* <-- JS setter denne */
  transform: translateX(-50%);
}

/* når popup er synlig */
.hover-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

/* pil når popup ligger under elementet */
.hover-popup.below::after {
 top: -12px;
  border-color: transparent transparent #333 transparent;
}

/* pil når popup ligger over elementet */
.hover-popup.above::after {
    bottom: -12px;
  border-color: #333 transparent transparent transparent;
}

.dw-card {
  background: var(--dw-white);
  border: var(--dw-border-width) solid var(--dw-border-color);
  border-radius: var(--dw-border-radius);
  box-shadow: var(--dw-shadow-sm);
  overflow: hidden;
}

.dw-card--elevated {
  box-shadow: var(--dw-shadow-lg);
}

.dw-section {
  padding: var(--dw-spacing-lg);
}

.dw-section--sm {
  padding: var(--dw-spacing-md);
}

.dw-section--lg {
  padding: var(--dw-spacing-xl);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.dw-heading {
  font-family: var(--dw-font-family);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--dw-spacing-sm) 0;
  color: var(--dw-black);
}

.dw-heading--xl {
  font-size: var(--dw-font-size-xxl);
  font-weight: 700;
}

.dw-heading--lg {
  font-size: var(--dw-font-size-xl);
}

.dw-heading--md {
  font-size: var(--dw-font-size-large);
}

.dw-heading--sm {
  font-size: var(--dw-font-size-normal);
}

.dw-text {
  font-family: var(--dw-font-family);
  font-size: var(--dw-font-size-normal);
  line-height: 1.5;
  color: var(--dw-darker-gray);
  margin: 0 0 var(--dw-spacing-sm) 0;
}

.dw-text--small {
  font-size: var(--dw-font-size-small);
}

.dw-text--muted {
  color: var(--dw-dark-gray);
}

.dw-text--center {
  text-align: center;
}

/* ==========================================================================
   Buttons (WordPress Admin Style)
   ========================================================================== */

.dw-button {
  display: inline-flex;
  align-items: center;
  gap: var(--dw-spacing-xs);
  padding: var(--dw-spacing-xs) var(--dw-spacing-sm);
  font-family: var(--dw-font-family);
  font-size: var(--dw-font-size-small);
  font-weight: 500;
  text-decoration: none;
  border: var(--dw-border-width) solid transparent;
  border-radius: var(--dw-border-radius);
  cursor: pointer;
  transition: var(--dw-transition);
  white-space: nowrap;
}

.dw-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.dw-button--primary {
  background: var(--dw-primary-color);
  color: var(--dw-white);
  border-color: var(--dw-primary-color);
}

.dw-button--primary:hover {
  background: var(--dw-primary-dark);
  border-color: var(--dw-primary-dark);
  color: var(--dw-white);
}

.dw-button--secondary {
  background: var(--dw-white);
  color: var(--dw-primary-color);
  border-color: var(--dw-primary-color);
}

.dw-button--secondary:hover {
  background: var(--dw-primary-color);
  color: var(--dw-white);
}

.dw-button--success {
  background: var(--dw-success-color);
  color: var(--dw-white);
  border-color: var(--dw-success-color);
}

.dw-button--success:hover {
  background: var(--dw-success-light);
  border-color: var(--dw-success-light);
  color: var(--dw-white);
}

.dw-button--large {
  padding: var(--dw-spacing-sm) var(--dw-spacing-md);
  font-size: var(--dw-font-size-normal);
}

.dw-button--small {
  padding: 6px var(--dw-spacing-xs);
  font-size: 12px;
}

/* ==========================================================================
   Badges and Status Indicators
   ========================================================================== */

.dw-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px var(--dw-spacing-xs);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 12px;
  white-space: nowrap;
}

.dw-badge--primary {
  background: var(--dw-primary-color);
  color: var(--dw-white);
}

.dw-badge--success {
  background: var(--dw-success-color);
  color: var(--dw-white);
}

.dw-badge--warning {
  background: var(--dw-warning-color);
  color: var(--dw-white);
}

.dw-badge--error {
  background: var(--dw-error-color);
  color: var(--dw-white);
}

.dw-badge--neutral {
  background: var(--dw-gray);
  color: var(--dw-darker-gray);
}

/* Sport-specific badges */
.dw-badge--football {
  background: var(--dw-football-color);
  color: var(--dw-white);
}

.dw-badge--handball {
  background: var(--dw-handball-color);
  color: var(--dw-white);
}

.dw-badge--basketball {
  background: var(--dw-basketball-color);
  color: var(--dw-white);
}

.dw-badge--volleyball {
  background: var(--dw-volleyball-color);
  color: var(--dw-white);
}

.dw-badge--innebandy {
  background: var(--dw-innebandy-color);
  color: var(--dw-white);
}

/* ==========================================================================
   Grid and Layout Utilities
   ========================================================================== */

.dw-grid {
  display: grid;
  gap: var(--dw-spacing-md);
}

.dw-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.dw-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.dw-grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dw-flex {
  display: flex;
  gap: var(--dw-spacing-sm);
}

.dw-flex--center {
  align-items: center;
  justify-content: center;
}

.dw-flex--between {
  align-items: center;
  justify-content: space-between;
}

.dw-flex--wrap {
  flex-wrap: wrap;
}

.dw-flex--column {
  flex-direction: column;
}

/* ==========================================================================
   Match Info Component
   ========================================================================== */

.dw-match-info {
  font-family: var(--dw-font-family);
  max-width: 1000px;
  margin: 0 auto;
}

/* Header */
.dw-match-info__header {
  background: linear-gradient(135deg, var(--dw-primary-color) 0%, var(--dw-primary-dark) 100%);
  color: var(--dw-white);
  padding: var(--dw-spacing-xl) var(--dw-spacing-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dw-match-info__header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.dw-match-info__header-content {
  position: relative;
  z-index: 1;
}

.dw-match-info__title {
  font-size: var(--dw-font-size-xxl);
  font-weight: 700;
  margin: 0 0 var(--dw-spacing-md) 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dw-match-info__badges {
  display: flex;
  justify-content: center;
  gap: var(--dw-spacing-sm);
  flex-wrap: wrap;
}

/* Content */
.dw-match-info__content {
  padding: var(--dw-spacing-xl) var(--dw-spacing-lg);
}

.dw-match-info__grid {
  display: grid;
  gap: var(--dw-spacing-xl);
}

/* Section */
.dw-match-info__section {
  background: var(--dw-light-gray);
  border-radius: var(--dw-border-radius-large);
  padding: var(--dw-spacing-lg);
  border: var(--dw-border-width) solid var(--dw-border-color);
}

.dw-match-info__section-title {
  display: flex;
  align-items: center;
  gap: var(--dw-spacing-xs);
  font-size: var(--dw-font-size-large);
  font-weight: 600;
  color: var(--dw-primary-color);
  margin: 0 0 var(--dw-spacing-md) 0;
}

.dw-match-info__section-icon {
  font-size: var(--dw-font-size-xl);
}

/* Teams Display */
.dw-match-info__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--dw-spacing-md);
  align-items: center;
  margin-bottom: var(--dw-spacing-md);
}

.dw-match-info__team {
  background: var(--dw-white);
  border-radius: var(--dw-border-radius-large);
  padding: var(--dw-spacing-md);
  text-align: center;
  border: 2px solid var(--dw-border-color);
  transition: var(--dw-transition);
}

.dw-match-info__team--frogner {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: var(--dw-primary-color);
  transform: scale(1.02);
}

.dw-match-info__team-name {
  font-size: var(--dw-font-size-large);
  font-weight: 700;
  color: var(--dw-black);
  margin-bottom: var(--dw-spacing-xs);
}

.dw-match-info__team-label {
  font-size: var(--dw-font-size-small);
  color: var(--dw-dark-gray);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.dw-match-info__team-score {
  font-size: 36px;
  font-weight: 800;
  color: var(--dw-primary-color);
  margin-top: var(--dw-spacing-sm);
}

.dw-match-info__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--dw-primary-color), var(--dw-primary-dark));
  color: var(--dw-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--dw-font-size-normal);
  box-shadow: var(--dw-shadow-lg);
}

.dw-match-info__final-score {
  text-align: center;
  background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
  border: 2px solid var(--dw-success-color);
  border-radius: var(--dw-border-radius-large);
  padding: var(--dw-spacing-md);
}

.dw-match-info__final-score-label {
  font-size: var(--dw-font-size-small);
  color: var(--dw-success-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--dw-spacing-xs);
}

.dw-match-info__final-score-value {
  font-size: var(--dw-font-size-xxl);
  font-weight: 800;
  color: #1b5e20;
}

/* Details Grid */
.dw-match-info__details {
  display: grid;
  gap: var(--dw-spacing-md);
}

.dw-match-info__detail {
  background: var(--dw-white);
  border-radius: var(--dw-border-radius);
  padding: var(--dw-spacing-md);
  border-left: 4px solid var(--dw-primary-color);
  box-shadow: var(--dw-shadow-sm);
}

.dw-match-info__detail-label {
  font-size: var(--dw-font-size-small);
  color: var(--dw-dark-gray);
  font-weight: 600;
  margin-bottom: var(--dw-spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dw-match-info__detail-value {
  font-size: var(--dw-font-size-normal);
  color: var(--dw-black);
  font-weight: 500;
  line-height: 1.4;
}

/* Venue Section */
.dw-match-info__venue-info {
  background: var(--dw-white);
  border-radius: var(--dw-border-radius-large);
  padding: var(--dw-spacing-md);
  border: var(--dw-border-width) solid var(--dw-border-color);
  text-align: center;
  margin-bottom: var(--dw-spacing-md);
}

.dw-match-info__venue-name {
  font-size: var(--dw-font-size-xl);
  font-weight: 700;
  color: var(--dw-primary-color);
  margin-bottom: var(--dw-spacing-xs);
}

.dw-match-info__venue-address {
  font-size: var(--dw-font-size-normal);
  color: var(--dw-dark-gray);
  margin-bottom: var(--dw-spacing-md);
  line-height: 1.5;
}

.dw-match-info__venue-actions {
  display: flex;
  justify-content: center;
  gap: var(--dw-spacing-sm);
  flex-wrap: wrap;
}

.dw-match-info__map {
  background: var(--dw-white);
  border-radius: var(--dw-border-radius-large);
  overflow: hidden;
  border: var(--dw-border-width) solid var(--dw-border-color);
  box-shadow: var(--dw-shadow-sm);
}

.dw-match-info__map-container {
  position: relative;
  width: 100%;
  height: 300px;
}

.dw-match-info__map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--dw-border-radius-large);
}

.dw-match-info__map-fallback {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dw-light-gray);
  border-radius: var(--dw-border-radius-large);
  text-align: center;
  color: var(--dw-dark-gray);
}

.dw-match-info__map-placeholder-icon {
  font-size: 48px;
  margin-bottom: var(--dw-spacing-sm);
  opacity: 0.7;
}

.dw-match-info__map-placeholder-title {
  font-size: var(--dw-font-size-large);
  font-weight: 600;
  margin-bottom: 5px;
}

.dw-match-info__map-placeholder-subtitle {
  font-size: var(--dw-font-size-small);
  opacity: 0.8;
}

/* Description */
.dw-match-info__description {
  background: var(--dw-white);
  border-radius: var(--dw-border-radius);
  padding: var(--dw-spacing-md);
  border-left: 4px solid var(--dw-primary-color);
  line-height: 1.6;
  color: var(--dw-darker-gray);
}

.dw-match-info__description p {
  margin-bottom: var(--dw-spacing-sm);
}

.dw-match-info__description p:last-child {
  margin-bottom: 0;
}

/* Error States */
.dw-match-info__error {
  background: #ffebee;
  color: var(--dw-error-color);
  padding: var(--dw-spacing-md);
  border-radius: var(--dw-border-radius);
  border-left: 4px solid var(--dw-error-color);
  margin: var(--dw-spacing-md) 0;
  font-weight: 500;
}

/* TEST */
.fil_box_row{
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-gap:20px;
	}
	
.fil_box_row .fil_box{
	border-radius: 10px;
	overflow:hidden;
	box-shadow:0px 4px 44px 0px rgba(0, 0, 0, 0.1);
}

.fil-box-header{
	background: var(--e-global-color-secondary);
	color: #FFF;
	padding:10px;
}


.fil_page_x_header{
	width:100%;
	display:grid;
	grid-template-columns: 200px 1fr;
	padding-bottom: 20px;
	margin-bottom:20px;
	border-bottom: 5px var(--e-global-color-secondary) solid;
}
.fil_page_x_header *{
	padding:0px;
	margin:0px;
}
.fil_page_x_header .fil_parent_icon_circle{
	margin-left:30px;
  --size: 70px;
	width: var(--size);
  height: var(--size);
  max-height: var(--size);
  display:flex;
  align-items: flex-end;
  justify-content: center;
}
.fil_page_x_header .fil_parent_icon_circle .icon_content{
	 --size: 60px;
	width: var(--size);
  height: var(--size);
  max-height: var(--size);
		background-image: url("/wp-content/uploads/2025/09/Fotball.jpg");
	background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;

}
	.fil_page_x_header .fil_parent_icon_circle.fil_innebandy .icon_content{
		background-image: url("/wp-content/uploads/2025/09/Innebandy.jpg");
	}
	.fil_page_x_header .dw-match-sport{
		text-transform: capitalize;	
	}
	.fil_page_x_header .fil_page_title{
		display: flex;
    align-items: flex-end;
	}
	
.fil-box-card{
	padding:15px;
	display: grid;
	grid-template-columns: 50px 1fr;
	grid-row-gap: 20px;
}
.fil-box-card.fil-widetitle{
		grid-template-columns: 150px 1fr;
}
 .fil-box-card  .fil_teams{
 	display: grid;
	grid-template-columns: 1fr 20px 1fr;
 }
.fil-box-card  .fil-match-time-place{
	display: grid;
	grid-template-columns: 100px 1fr;
	}
	
	.fil-padbox{
		padding:15px;
	}
/*                END */

*,*:focus,*:hover{
    outline:none;
}
.fil_search_date{
	font-size:10px !important;
}
.elementor-shortcode a{
	display:inline-block;
	position:relative;
	z-index:1;
}
nav.e--pointer-underline .elementor-item:after{
	/* :after markering av aktivt menyvalg */
	background: none !important;
}
nav *:focus,*:hover{
    outline:none;
    border: none !Important;
}
nav.elementor-nav-menu--main{
	z-index:2000;
}
.elementor-shortcode{
	z-index:-1;
}
.elementor-location-single .e-con-inner a {
	font-size:inherit !important;
	font-weight:inherit !important;
}
.elementor-location-single  .e-con-inner a:hover{
	border-bottom:0.5px var(--e-global-color-secondary) solid !important;
	color:  var(--e-global-color-secondary) !important;
}

footer  a{
 	color: #FFF !IMPORTANT;
 }
 footer .elementor-nav-menu  a{
 	line-height:normal;
 	padding:5px !important;
 }
h1 {
    font-size: 2.5rem;
}
a.elementor-button span{
	color: var(--e-global-color-secondary) !important;
}
a.elementor-button:hover{
	cursor:pointer;
}
a.elementor-button:hover span{
	
	color: var(--e-global-color-4789b68) !important;
}

.fil_newslist_image img{
	border-radius:10px !important;
}

/* tables */
table.td-nowrap td{
	white-space:nowrap;
}
/* breadcrumbs */
#fil_breadcrumbs_parent{
		height:100%;
}
	#fil_breadcrumbs_parent,
	#fil_breadcrumbs{
		display:block;
	}

	#fil_breadcrumbs {
		position:absolute;
		bottom:0px;
		height: 20px !important;
		max-height: 20px !important;
	}
		#fil_breadcrumbs_inner{
			display:block;
			position:absolute;
			bottom:0px;
			width:100%;
		}
		#fil_breadcrumbs p{
			font-size: 0.8rem;
			float:left;
			display:inline-block;
			text-transform: uppercase;
			margin-block-end:0px;
		}
		
/* Gjelder standard Rank Math-wrap. Prøv én av disse, avhengig av din markup: */
.rank-math-breadcrumb a:first-child,
.rank-math-breadcrumb span:first-child,
#breadcrumbs > a:first-child {
  position: relative;
  display: inline-block;
  padding-left: 0.5em; /* plass til ikon */
  
}

/* Skjul synlig tekst, men behold for skjermlesere */
.rank-math-breadcrumb a:first-child,
.rank-math-breadcrumb span:first-child,
#breadcrumbs > a:first-child,

.rank-math-breadcrumb a:first-child:hover,
.rank-math-breadcrumb span:first-child:hover,
#breadcrumbs > a:first-child:hover
 {
  color: transparent;
  text-shadow: none;
  width:1px !Important;
 line-height: 0.7em;
 padding-right: 30px;
}
.rank-math-breadcrumb a,
.rank-math-breadcrumb span.last{
	font-size:0.8em !important;
}
.rank-math-breadcrumb a::after{
	content: "\f101";
  color: #333;
  font-family: "Font Awesome 6 Pro";
  width: 1em;
  height: 1em;
  font-size:0.7em;
  margin-left:10px;
  margin-right:10px;
}

.rank-math-breadcrumb>p{
	margin:0px;
	padding:0px;
	font-size:0.8em;
	text-transform:uppercase;
}
/* Legg inn ikon foran (bruk egen SVG/ikonfont hvis ønskelig) */
.rank-math-breadcrumb a:first-child::before,
.rank-math-breadcrumb span:first-child::before,
#breadcrumbs > a:first-child::before {
  content: "\f015";
  position: absolute;
   color: #333;
  font-family: "Font Awesome 6 Pro";
  left: 0;
  top: 50%;
  width: 1em;
  margin-right:20px;
  height: 1em;

}		
/* end breadcrumbs */


.fil_fp_idrett_box{
	border: 1px #DDD solid;
	border-radius: 10px !important;
	box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.1);
	
}
.fil_fp_idrett_box img{
	max-height:100px;
	height: 100px;
	width:auto;
	
}
.fil_fp_idrett_box h6{
	text-align:center;
}

/** søke styling **/

output .e-search-results .type-page .fil_search_date{
	display:none;
}
output .e-search-results .e-loop-item:not(.type-page) .fil_search_breadcrumbs{
	 display:none; 
}
output .e-search-results .e-flex{
	--widgets-spacing:0px !important;
	--widgets-spacing-row:0px !important;
	--widgets-spacing-column:0px !important;
}

.fil_search_breadcrumbs{
	padding-left:20px;
	font-size: 0.6rem;
	background: #EEE;
	color: #333;
	border: 1px #DDD solid;
	text-transform:uppercase;
}
.fil_search_small{
	font-size: 0.6rem;
	text-transform:uppercase;
	text-align:center;
	background: #EEE;
	border: 1px #DDD solid;
	color: #666;
	position:absolute !Important;
	top:0px;
	left:0px;
	width:100%;
	
}

output .e-search-results .e-loop-item>.e-grid.e-con-boxed,
output .e-search-results .e-loop-item>.e-grid.e-con-boxed .e-con-inner,
output .e-search-results .e-loop-item>.e-grid.e-con-boxed .e-con-inner .e-con-full{
	padding:0px;
}

  #searchSection{
       display: none; 
     position: fixed;
     z-index:1000;
     top: 0px;
     left:0px;
     width:100%;
     height:100%;
     background: rgba(255,255,255,0.7);
  }
   #searchSection search{
   	position:absolute;
   	top: 100px;
 		width:100%;
 		left:0px;  	
   } 
  
  	#searchSection search form {
  		max-width:1140px;
  		margin: 0 auto;
  		border: 1px #DDD solid;
  		border-radius:10px;
  		padding:20px;
  		box-shadow : 4px 6px 3px 0px rgba(236, 65, 53, 0.29);
  		background: #FFF;
  	}
  	search.e-search form input,
  	#searchSection search form input{
  			border: 1px #DDD solid !Important;
  			padding-left:40px !Important;
  	}
  	search.e-search form  input:hover,
  	search.e-search form  input:hover,
  	search.e-searchform  input:focus
  	#searchSection search form input:hover,
  	#searchSection search form input:hover,
  	#searchSection search form input:focus{
  			border: 1px #999 solid !Important;
  			padding-left:40px !Important;
  	}
  		#searchSection.elementor-widget-search .e-search-label>i{
  		 	margin-left:-20px !Important;
  			
  		}
  		
  		
  		/* Skjult som default */
#searchSection.is-hidden { 
	background: rgb(255,255,255,0.2); 
	display: none; 
	}

/* Valgfritt: litt styling når åpen */
#searchSection.is-open { 
	 background: rgb(150,150,150,0.5);
	 display: block;  
	}
	
#toggleSearchButton	 .fa-search{
	font-size:1.2rem;
	font-weight:bold;
	color: #FFF;
}
#toggleSearchButton	 .fa-search:hover{
	font-size:1.2rem;
	font-weight:bold;
	color: #DDD;
}

h2.wp-block-heading.whiteonred{
	color: #FFF !Important;
	text-transform:uppercase;
	font-style:italic;
	background-color: var( --e-global-color-primary );
	text-align:center;
	width:100%;
}
.fil_sub_topp{

	padding:0px !important;
}
.fil_sub_topp div{
	
	/* padding:0px !important; */
}
.fil_section_header,
.fil_section_header:hover,
.fil_section_header:focus,
.fil_section_header:active{
	background: var(--e-global-color-primary)!important;
	color: #FFF !important;
	margin-top:20px !important;
	/*border-bottom: 5px var(--e-global-color-secondary) solid !important;
	margin-top:20px !important;
	border-top: 2px var(--e-global-color-primary) solid !important;
	*/
	
}

.fil_section_header2,
.fil_section_header2:hover,
.fil_section_header2:focus,
.fil_section_header2:active{
	background: var(--e-global-color-secondary)!important;
	color: #FFF !important;
	margin-top:20px !important;
}
.fil_section_header h2,
.fil_section_header2 h2{
	color: #FFF !important;
	}
.fil_icon_circle,
.fil_icon_circle:hover{
  --size: 70px;                /* endre som du vil */
  width: var(--size);
  height: var(--size);
  max-height: var(--size);
  border: 2px solid red !important;       /* sirkellinje */
  border-radius: 50%;          /* gjør den rund */
  overflow: hidden;            /* klipp bildet inni sirkelen */
  display: inline-block;
  margin-left:3px;
}

.fil_icon_circle>img{
  width: auto;
  height: 60px;
  max-height: 60px;
  overflow:hidden;
  object-fit: contain;           /* fyll sirkelen pent */
  display: block;
  margin:5px auto;
}


.fil_parent_icon_circle,
.fil_parent_icon_circle:hover{
  --size: 50px;                /* endre som du vil */
  width: var(--size);
  height: var(--size);
  max-height: var(--size);
  border: 2px solid red !important;       /* sirkellinje */
  border-radius: 50%;          /* gjør den rund */
  overflow: hidden;            /* klipp bildet inni sirkelen */
  display: inline-block;
}
.fil_parent_icon_circle>.elementor-shortcode{
	text-align:center;
}
img.fil_parent_icon{
  width: auto;
  height: 40px;
  max-height: 40px;
  overflow:hidden;
  object-fit: contain;           /* fyll sirkelen pent */
  display: block;
  margin:5px auto;
}
.page-child.parent-medlemmer .fil_parent_icon_circle ,
.page-child.parent-praktisk-informasjon .fil_parent_icon_circle ,
.page-child.parent-frogner-idrettspark .fil_parent_icon_circle ,
.page-child.parent-frogner-idrettspark .fil_parent_icon_circle img ,
.page-child.parent-om-frogner-il .fil_parent_icon_circle ,
.page-child.parent-om-frogner-il .fil_parent_icon_circle img ,
.fil_icon_circle.noborder,
.fil_parent_icon_circle.noborder,
.fil_parent_icon_circle:has(img[data-source="fallback"]){
	 border: none !important;
	 border-radius:none !important;

}

@media only screen and (max-width: 768px) {
  /* Styles to apply when the screen width is 768px or less */
  #logo_menu_grid{
  	z-index:200;
  }
		#logo_menu_grid>.e-con-inner{
justify-items:normal;
justify-content: normal;

}
   /*.elementor-2143588308 .elementor-element.elementor-element-2c160de9*/
   
#fil_menu_grid{
 	justify-items:flex-end;
 }
#logo_menu_wrap{
    width: 100px !Important;
  /*  margin: 0 auto !Important; */
    margin-top: -110px !Important;
}
#logo_wrap{
    width: 100px;
       margin: 0 auto; 
    margin-top: -100px;
}

 .menu-item > a {
    white-space: nowrap !important; /* hold alt på én linje */
    align-items: center;
  }

  .menu-item > a break {
    display: inline-block;               /* ikke bryt linjen */
    width:0.5em;;
  }
    .menu-item > a .sub-arrow {
    flex: 0 0 auto;
    margin-left: .5em;
    position:absolute;
    right:5px;
    top:5px;
  }
  



		 .fil_icon_circle,
		.fil_icon_circle:hover{
		  --size: 60px;                /* endre som du vil */
		  width: var(--size);
		  height: var(--size);
		  max-height: var(--size);
		}

		.fil_icon_circle>img{
		  height: 50px;
		  max-height: 50px;
		}

	/* 2) Sørg for at header og footer ikke scroller sideveis */
	.site-header, .site-footer {
	  position: sticky;      /* lar dem bli "limt" uten sideveis scroll */
	  left: 0;
	  right: 0;
	  overflow-x: hidden;    /* hvis noe inni forsøker å bli bredere */
	  max-width: 100vw;
	  z-index: 9999;
	}
	.site-header { top: 0; }
	.site-footer { bottom: 0; }

	/* 3) Selve området som kan scrolle horisontalt */
	.scroll-x {
	  overflow-x: auto;                /* aktiver sideveis scroll her */
	  overflow-y: hidden;              /* valgfritt – lås vertikalt om ønskelig */
	  -webkit-overflow-scrolling: touch;
	  scrollbar-width: thin;           /* penere scroll på noen browsere */
	}

	/* 4) Typisk oppsett for “sider” i karusell-stil (valgfritt) */
	.scroll-x > .elementor-container,
	.scroll-x > .e-con {
	  display: flex;
	  flex-wrap: nowrap;               /* alt på én rad */
	}
	.scroll-x .elementor-column,
	.scroll-x .e-con > .e-con-inner,
	.scroll-x .e-con > .elementor-container > .elementor-column {
	  flex: 0 0 100vw;                 /* hver “slide” fyller skjermen i bredden */
	  max-width: 100vw;
	}

	/* 5) Sikkerhetstiltak mot klassisk Elementor-overflow */
	.elementor-section,
	.elementor-container,
	.elementor-column,
	.e-con {
	  box-sizing: border-box;
	  max-width: 100%;
	}


}

@media (min-width: 769px) {
/* La teksten få lov til å bryte selv om <a> ev. er flex */
   .menu-item > a {
    white-space: normal !important;
    flex-wrap: wrap;              /* trygg ift. sub-arrow */
    align-items: center;
  }

  /* Selve linjeskiftet */
  .menu-item > a break {
    display: block;               /* tving line break */
    clear:both;
    width: 100%;
    height: 0;
  }

  /* Sørg for at pilen ikke bryter rart */
   .menu-item > a .sub-arrow {
    flex: 0 0 auto;
    margin-left: 1.5em;
    position:absolute;
    top: 15px;
    right:5px;
  }
}
/*

*/
.elementor-nav-menu__align-start .elementor-nav-menu {
    justify-content: flex-start;
    margin-inline-end: auto;
    align-items: flex-start;
}
.elementor-nav-menu__align-start .elementor-nav-menu>LI{
	border-right:1px #FFF solid;
	height:100%;
	 align-items: flex-start;
}
 
.fil_xmenu_buttons a.elementor-button span{
	color: #FFF !important;
	}
.fil_xmenu_buttons a.elementor-button{
	padding:7px 10px !important;
	margin:0px !important;
	white-space:nowrap;
	}
.fil_idrett_submenu{

}
.fil_idrett_submenu>div{
	width:100%;
}
.fil_idrett_submenu a{
	width:100%;
}
.fil_idrett_submenu a.elementor-button{
	border: 1px #DDD solid;
	background: #EEE;
	display:inline-block;
	width:100%;
	border-radius: 5px;
	padding: 5px 5px;
	text-transform: uppercase;

}
.fil_idrett_submenu a span{
		font-size:0.9em !important;
}


/* ==========================================================================
   Responsive Design (Mobile-First)
   ========================================================================== */

/* Tablet */
@media (max-width: 768px) {
	.fil_page_x_header {
	    grid-template-columns: 140px 1fr;
	}
	.fil_box_row{
		grid-template-columns: 1fr;
		margin:0px 10px;
	}
	.dw-week-small.dw-event-list.dw-grouped-list .dw-events-grouped {
    flex-direction: column;
  }
	.dw-week-small.dw-event-list.dw-grouped-list .dw-events-grouped .dw-date-group{
		display:flex;
		flex-direction: row;
		column-gap: 20px;
	}
	.hover-popup {
    max-width: 95%;
    margin-left:10px;
    margin-right:10px;
  }
	
  .dw-match-info__header {
    padding: var(--dw-spacing-lg) var(--dw-spacing-md);
  }
  
  .dw-match-info__title {
    font-size: var(--dw-font-size-xl);
  }
  
  .dw-match-info__content {
    padding: var(--dw-spacing-lg) var(--dw-spacing-md);
  }
  
  .dw-match-info__section {
    padding: var(--dw-spacing-md);
  }
  
  .dw-match-info__teams {
    grid-template-columns: 1fr;
    gap: var(--dw-spacing-sm);
  }
  
  .dw-match-info__vs {
    width: 50px;
    height: 50px;
    justify-self: center;
  }
  
  .dw-match-info__team {
    padding: var(--dw-spacing-md);
  }
  
  .dw-match-info__team-name {
    font-size: var(--dw-font-size-large);
  }
  
  .dw-match-info__team-score {
    font-size: 28px;
  }
  
  .dw-match-info__badges {
    flex-direction: column;
    align-items: center;
  }
  
  .dw-match-info__details {
    gap: var(--dw-spacing-sm);
  }
  
  .dw-match-info__detail {
    padding: var(--dw-spacing-sm);
  }
  
  .dw-match-info__venue-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .dw-button {
    width: 200px;
    justify-content: center;
  }
  
  .dw-match-info__map-container {
    height: 250px;
  }
  
  .dw-grid--2,
  .dw-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --dw-spacing-sm: 12px;
    --dw-spacing-md: 20px;
    --dw-spacing-lg: 28px;
    --dw-spacing-xl: 40px;
  }
  
  .dw-match-info__header {
    padding: var(--dw-spacing-md) var(--dw-spacing-sm);
  }
  
  .dw-match-info__title {
    font-size: var(--dw-font-size-large);
  }
  
  .dw-match-info__content {
    padding: var(--dw-spacing-md) var(--dw-spacing-sm);
  }
  
  .dw-match-info__section-title {
    font-size: var(--dw-font-size-large);
  }
  
  .dw-match-info__team-name {
    font-size: var(--dw-font-size-normal);
  }
  
  .dw-match-info__team-score {
    font-size: 24px;
  }
  
  .dw-match-info__final-score-value {
    font-size: 28px;
  }
  
  .dw-container {
    padding: 0 var(--dw-spacing-xs);
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .dw-match-info__venue-actions,
  .dw-match-info__map {
    display: none;
  }
  
  .dw-match-info__header {
    background: var(--dw-white) !important;
    color: var(--dw-black) !important;
  }
  
  .dw-match-info {
    box-shadow: none;
  }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
.dw-button:focus,
.dw-match-info__venue-actions a:focus {
  outline: 2px solid var(--dw-primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --dw-border-width: 2px;
  }
  
  .dw-card {
    border-width: 2px;
  }
}

/* ==========================================================================
   Event Icons (FontAwesome)
   ========================================================================== */

.dw-event-icon {
    display: inline-block !important;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.dw-event-icon i {
    font-size: 14px !important;
    display: inline-block !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 1 !important;
}

/* Icon colors */
.dw-icon-training {
    color: #6c757d !important; /* Gray for training */
}

.dw-icon-home-match {
    color: #28a745 !important; /* Green for home matches */
}

.dw-icon-away-match {
    color: #dc3545 !important; /* Red for away matches */
}

.dw-icon-event {
    color: #007cba !important; /* Blue for other events */
}

/* Calendar specific icon sizing */
.dw-calendar-day .dw-event-icon i {
    font-size: 12px !important;
}

.dw-event-summary .dw-event-icon {
    margin-right: 8px;
    width: 20px;
}

.dw-event-summary .dw-event-icon i {
    font-size: 16px !important;
}

/* List view icon enhancements */
.dw-event-list .dw-event-icon {
    margin-right: 8px;
    min-width: 18px;
    display: inline-block;
}

.dw-event-list .dw-event-icon i {
    font-size: 16px !important;
}

/* Day view icon enhancements */
.dw-event-day .dw-event-icon {
    margin-right: 6px;
    min-width: 16px;
    display: inline-block;
}

.dw-event-day .dw-event-icon i {
    font-size: 15px !important;
}

/* Hover effects for better UX */
.dw-event-item:hover .dw-event-icon i,
.dw-event-summary:hover .dw-event-icon i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}





