/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

@media (min-width:900px) {
	
	#wrapper {
	padding: 20px 30px 30px 30px!important;
	}
	
	.menu-text {
		padding:6px 16px!important;
	}
	
	li.current-menu-item .menu-text {
		background:rgba(255,255,255,0.9)!important;
		border-radius:20px!important;
	}
	
}

@media (max-width:800px) {
	
	#wrapper {
		padding: 20px 10px 10px 10px!important;
	}
	
	.awb-menu_row .menu-text {
		font-family: benton-modern-display-conden, serif!important;
		text-transform:uppercase!important;
		font-size:22px!important;
	}
	
}

@media only screen and (max-device-width: 640px) {
    #content {
        margin-bottom: 0px !important;
    }
}

.messages-wrap {
	display:none!important;
}

.skjul {
	display:none!important;
}

.logo .fusion-image-element {
	position:absolute!important;
	margin-top:-4px!important;
}

.logo .fusion-image-element img {
}

p strong, b {
	font-weight:700!important;
}

.frontpage-hero {
  position: relative;
  overflow: hidden;
}

.frontpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 55, 85, 1) 0%,
    rgba(0, 55, 85, 0) 100%
  );
  pointer-events: none;
  z-index: 9;
}

.frontpage-hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../../wp-content/uploads/path.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 200%;
  pointer-events: none;
  z-index: 10;
}

.home .frontpage-hero .fusion-title-heading span {
	font-family: benton-modern-display-conden, serif!important;
	font-weight: 600!important;
	font-style: italic!important;
	font-size: 1.2em!important;
	/*color:#58bcbe!important;*/
	color:#b4394c!important;
}


/* Sørg for overflow er synligt */
.awb-swiper .swiper-wrapper, .awb-swiper {
  overflow: visible!important;
}

/* Alle slides */
.awb-swiper .swiper-slide {
  transition: transform 0.3s ease;
}

/* Hver anden (lige) – løft op */
.awb-swiper .swiper-slide:nth-child(even) {
  transform: translateY(-80px); /* justér 50–100px */
}

/* Alternativ: hvis du vil skubbe de ulige ned i stedet */
.awb-swiper .swiper-slide:nth-child(odd) {
  transform: translateY(40px);
}

.border .fusion-column-wrapper {
	border-right:1px solid rgba(255,255,255,0.4)!important;
}

@media (max-width:800px) {
	
	.frontpage-hero::after {
		background-image:none!important;
	}
	
	.border .fusion-column-wrapper {
		border-right:0!important;
		border-bottom:1px solid rgba(255,255,255,0.4)!important;
	}
}

/* FILTERING */

ul.fusion-filters {
	padding:14px 0 6px 0!important;
	background:#ffffff!important;
	border:1px solid rgba(135,0,21,0.7)!important;
	border-radius:20px!important;
}

.fusion-filter {
	margin-right:14px!important;
	display: flex;
	gap: .5rem;
	align-items: center;
}

.fusion-filters a[data-filter=".aabningsceremoni"] {
    display: none !important;
}

.fusion-post-cards .fusion-filters li a {
	/*border:1px solid #2ac4f4!important;*/
	background:transparent!important;
	border-radius:14px!important;
	color:#003755!important;
	padding:0px 20px!important;
	font-size:12px!important;
	font-weight:600!important;
	letter-spacing:2px!important;
	text-transform:uppercase!important;
	margin-bottom:10px!important;
}

.fusion-post-cards .fusion-filters li:hover a {
	background:rgba(135,0,21,0.25)!important;
}

.fusion-post-cards .fusion-filters li.fusion-active a {
	border:0px!important;
	background:rgba(135,0,21,0.25)!important;
}


.fusion-filters a[data-filter=".billedkunst"]::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  background: url("../../../wp-content/uploads/ikon-billedkunst.svg") no-repeat center / contain;
  vertical-align: middle;
}

.fusion-filters a[data-filter=".udstilling"]::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  background: url("../../../wp-content/uploads/ikon-udstilling.svg") no-repeat center / contain;
  vertical-align: middle;
}

.fusion-filters a[data-filter=".arkitektur"]::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  background: url("../../../wp-content/uploads/ikon-arkitektur.svg") no-repeat center / contain;
  vertical-align: middle;
}

.fusion-filters a[data-filter=".musik"]::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  background: url("../../../wp-content/uploads/ikon-musik.svg") no-repeat center / contain;
  vertical-align: middle;
}

.fusion-filters a[data-filter=".foredrag-fortaelling"]::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  background: url("../../../wp-content/uploads/ikon-speaks.svg") no-repeat center / contain;
  vertical-align: middle;
}

.fusion-filters a[data-filter=".teater"]::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  background: url("../../../wp-content/uploads/ikon-teater.svg") no-repeat center / contain;
  vertical-align: middle;
}


.kategori .awb-dd-params a:nth-of-type(2) {
	/*display: inline-block;
	margin-top: 8px;*/
	display:none!important;
}

@media (min-width:900px) {
	
	.fusion-post-cards .fusion-filters,ul.fusion-filters {
		display: flex !important;
		justify-content: center !important;   /* Centrerer li-knapperne */
		flex-wrap: wrap !important;
	}
	
	.fusion-post-cards .fusion-filters li:first-child {
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	
	/*.fusion-post-cards .fusion-filters li:first-child:before {
		content: "Find din lokale BP-kandidat i:";
		font-size:12px!important;
		margin-right:10px!important;
	}*/

}

@media (max-width:800px) {

	.fusion-post-cards .fusion-filters li a {
		/*border:1px solid #2ac4f4!important;*/
		background:transparent!important;
		border-radius:14px!important;
		color:#003755!important;
		padding:0px 10px!important;
		font-size:8px!important;
		font-weight:600!important;
		letter-spacing:2px!important;
		text-transform:uppercase!important;
		margin-bottom:10px!important;
	}
	
	
	
	/*.fusion-post-cards .fusion-filters li {
		border:0!important;
	}
	
	.fusion-post-cards .fusion-filters,	ul.fusion-filters {
		display:flex!important;
		flex-direction:row!important;
		flex-wrap:wrap!important;
		gap:.5rem!important;
		list-style:none!important;
		margin:0!important;
		padding-left:0!important;
	}

	.fusion-post-cards .fusion-filters li {
		display:inline-flex!important;
		margin:0 6px 6px 0!important;
		float:none!important;
	}

	.fusion-post-cards .fusion-filters li a {
		display:inline-flex!important;
		width:auto!important;
		white-space:nowrap!important;
	}*/
	
	/* 2 kolonner */
  .fusion-post-cards ul.fusion-filters,
  .fusion-post-cards .fusion-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
 /*   padding-left: 0 !important;
    margin: 0 !important;*/
    list-style: none !important;
    justify-content: stretch !important;
  }

  /* nulstil Avada’s li-adfærd */
  .fusion-post-cards ul.fusion-filters > li,
  .fusion-post-cards .fusion-filters > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  /* knappen fylder hele kolonnen og teksten centreret */
  .fusion-post-cards ul.fusion-filters > li > a,
  .fusion-post-cards .fusion-filters > li > a {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
	line-height:1.4!important;
	padding:6px 20px!important;
  }
	
	  .fusion-post-cards ul.fusion-filters,
  .fusion-post-cards .fusion-filters {
    display: grid !important;
    grid-template-columns: 1fr !important; /* <-- kun én kolonne */
    gap: .5rem !important;
  }
	
	ul.fusion-filters {
		padding:20px!important;
		margin-bottom:20px!important;
	}
	
	 .fusion-filters a::before {
    content: none !important;
    display: none !important;
  }
	
}


span.kategori a {
	pointer-events:none!important;
}

li.aabningsceremoni span.kategori a, .begivenhedstype-aabningsceremoni span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/aabningsceremoni"] {
	font-size:11px!important;
	background:#ffffff!important;
	color:#880015!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.aabningsceremoni span.kategori a:before, .begivenhedstype-aabningsceremoni span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/aabningsceremoni"]:before {
	display: none;
	content: none;
}


li.udstilling span.kategori a, .begivenhedstype-udstilling span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/udstilling"] {
	font-size:11px!important;
	background:#5A5955!important;
	color:white!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.udstilling span.kategori a:before, .begivenhedstype-udstilling span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/udstilling"]:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	background-image: url("../../../wp-content/uploads/ikon-udstilling-negativ.svg");
	background-size: contain;
	background-repeat: no-repeat;
}

li.billedkunst span.kategori a, .begivenhedstype-billedkunst span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/billedkunst"] {
	font-size:11px!important;
	background:#5A5955!important;
	color:white!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.billedkunst span.kategori a:before, .begivenhedstype-billedkunst span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/billedkunst"]:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	background-image: url("../../../wp-content/uploads/ikon-billedkunst-negativ.svg");
	background-size: contain;
	background-repeat: no-repeat;
}

li.musik span.kategori a, .begivenhedstype-musik span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/musik"] {
	font-size:11px!important;
	background:#59BCBE!important;
	color:white!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.musik span.kategori a:before, .begivenhedstype-musik span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/musik"]:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	background-image: url("../../../wp-content/uploads/ikon-musik-negativ.svg");
	background-size: contain;
	background-repeat: no-repeat;
}
	
li.foredrag-fortaelling span.kategori a, .begivenhedstype-foredrag-fortaelling span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/foredrag-fortaelling"] {
	font-size:11px!important;
	background:#003755!important;
	color:white!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.foredrag-fortaelling span.kategori a:before, .begivenhedstype-foredrag-fortaelling span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/foredrag-fortaelling"]:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	background-image: url("../../../wp-content/uploads/ikon-speaks-negativ.svg");
	background-size: contain;
	background-repeat: no-repeat;
}

li.teater span.kategori a, .begivenhedstype-teater span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/teater"] {
	font-size:11px!important;
	background:#630C12!important;
	color:white!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.teater span.kategori a:before, .begivenhedstype-teater span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/teater"]:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	background-image: url("../../../wp-content/uploads/ikon-teater-negativ.svg");
	background-size: contain;
	background-repeat: no-repeat;
}

li.arkitektur span.kategori a, .begivenhedstype-arkitektur span.kategori a, .relateret span.kategori a[href*="/begivenhedstype/arkitektur"] {
	font-size:11px!important;
	background:#82886c!important;
	color:white!important;
	padding:6px 15px!important;
	border-radius:20px;
}

li.arkitektur span.kategori a:before, .begivenhedstype-arkitektur span.kategori a:before, .relateret span.kategori a[href*="/begivenhedstype/arkitektur"]:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	background-image: url("../../../wp-content/uploads/ikon-arkitektur-negativ.svg");
	background-size: contain;
	background-repeat: no-repeat;
}


.begivenhed-link p a {
	background:rgba(255,255,255,0.4);
	padding:6px 16px;
	border-radius:20px;
}


.begivenhed-link p a::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	transform: translateY(2px);
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14m-6-6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14m-6-6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center;
	mask-size: contain;
	-webkit-mask-size: contain;
	transition: transform 0.3s ease;
}

.begivenhed-link p a:hover::after {
	transform: translate(4px, 2px);
}


.home .fusion-title-heading span {
	font-family: benton-modern-display-conden, serif!important;
	font-weight: 600!important;
	font-style: italic!important;
	font-size: 1.1em!important;
	color:#880015!important;
}

.single-begivenheder .indhold h2 {
	font-family:"Figtree", sans-serif!important;
	font-size:24px!important;
	font-weight:600!important;
	line-height:1.4!important;
}

@media (max-width:800px) {
	
	.single-begivenheder .begivenhed-hero {
		border-radius:20px 120px 0 0!important;
	}
	
	.single-begivenheder .indhold h2 {
		font-size:22px!important;
	}
	
}

.praktisk .tags a {
	display:block!important;
	padding:0.75em 1em!important;
	font-size:14px!important;
	border:1px solid #003755!important;
	border-radius:4px 4px 20px 4px!important;
	margin-bottom:10px!important;
	color:#003755!important;
	pointer-events: none!important;
	background:#ffffff!important;
}

.praktisk .tags a:hover {
	background:rgba(0,55,85,0.4)!important;
	color:#ffffff!important;
}

.praktisk .tags a[href*="/tag/gratis-adgang/"]:before, .praktisk .tags a[href*="/tag/billetsalg/"]:before  {
	content:"\f3ff";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	padding-right:8px;
	color:#630C12;
}

.praktisk .tags a[href*="/tag/familier-med-boern/"]:before {
	content:"\f1ae";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	padding-right:8px;
	color:#630C12;
}

.praktisk .tags a[href*="/tag/for-voksne/"]:before {
	content:"\f007";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	padding-right:8px;
	color:#630C12;
}

.praktisk .tags a[href*="/tag/handicapvenlige-forhold/"]:before {
	content:"\f193";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	padding-right:8px;
	color:#630C12;
}

.praktisk .tags a[href*="/tag/no-danish-required/"]:before {
	content:"\f075";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	padding-right:8px;
	color:#630C12;
}

.fusion-text.tags > p {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

.fusion-text.tags a[href*="/tag/for-voksne/"] {
  order: 1;
}

.fusion-text.tags a[href*="/tag/gratis-adgang/"] {
  order: 2;
}

.fusion-text.tags a[href*="/tag/familier-med-boern/"] {
  order: 3;
}

.fusion-text.tags a[href*="/tag/handicapvenlige-forhold/"] {
  order: 4;
}

.fusion-text.tags a[href*="/tag/no-danish-required/"] {
  order: 5;
}

.awb-swiper-button-prev, .awb-swiper-button-next {
	display:none!important;
}

.fusion-carousel-item-wrapper .fusion-image-wrapper {
	border-radius:10px!important;
}

.fusion-panel {
	border:1px solid rgba(57,88,108,0.4)!important;
	border-radius:8px!important;
	padding:8px 20px!important;
	margin-bottom:20px!important;
	background:#ffffff!important;
}

.fusion-accordian .panel-title a:not(.active).hover .fa-fusion-box, .fusion-accordian .panel-title a:not(.active):hover .fa-fusion-box {
	background-color:rgba(0,0,0,0.3)!important;
}



.awb-image-hotspots-wrapper {
  position: relative;
}

.awb-image-hotspots-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
	 /* Gradient overlay */
  background: linear-gradient(
    to top,
    rgba(57, 88, 108, 0.85) 0%,   /* mørk blå i bunden */
    rgba(57, 88, 108, 0.4) 30%,
    rgba(57, 88, 108, 0.2) 60%,
    rgba(57, 88, 108, 0.2) 100%     /* transparent i toppen */
  );
}

/* Hotspot-linket over overlay */
.awb-image-hotspots-wrapper a.awb-image-hotspot {
  position: absolute;
  z-index: 20 !important;
}

/* Evt. ikon/prik inde i hotspottet */
.awb-image-hotspots-wrapper a.awb-image-hotspot > * {
  position: relative;
  z-index: 21;
}

.awb-image-hotspots-wrapper [class*="hotspot"] {
  z-index: 20 !important;
}

.awb-image-hotspots-wrapper a i {
	transition:0.3s ease all!important;
}

.awb-image-hotspots-wrapper a:hover i {
	transform: scale(1.3)!important; 
	transition:0.3s ease all!important;
}


.slow-spin {
  display: inline-block;
  animation: spin-clockwise 18s linear infinite;
  transform-origin: center center;
}

@keyframes spin-clockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.footer-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../../wp-content/uploads/path.svg");
  background-repeat: no-repeat;
  background-position: 20% 10%;
  background-size: 260%;
  pointer-events: none;
	opacity:0.3;
  z-index: 10;
}

.fusion-footer .fusion-title-heading span {
	font-family: benton-modern-display-conden, serif!important;
	font-weight: 600!important;
	font-style: italic!important;
	font-size: 1.2em!important;
	color:#b4394c!important;
}

.footer-logoer .fusion-imageframe {
	border-radius:6px!important;
}

@media (max-width:800px) {
	
	.footer-logoer {
		border-radius:0 0 10px 80px!important;
	}

	
}



