/*
Theme Name: VorFrelsers Enfold
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for vorfrelsers.dk. 
Version: 1.0
Author: RoerAskholm
Author URI: https://roeraskholm.dk
Template: enfold
*/

html, #main {
  background: #f9f9f9 
}

.logo a img {
max-height: 100px;
height: 100px;
width: 240px;
margin-top: -10px!important;
}

@media only screen and (max-width: 990px) {
.responsive .logo img {
max-width: 230px !important;
margin-top: 3px!important;
}
.responsive .mobile_slide_out .logo img {
margin-left: -30px!important; }

.av-hamburger {
	padding: 6px 7px 0 0 !important;
	}}
}

.av-main-nav > li > a {
border: none!important;
}

#top .av_seperator_big_border#header .av-main-nav > li > a > .avia-menu-text {
    top: 15px;
    position: relative;
}

#top .av_header_transparency #header_meta {
border-bottom: none;
border-top: none;
border-right: none;
border-left: none;
}

#top .av_header_transparency .social_bookmarks li a {
color: white !important;
}

/* Fjern topbar på mobil */
@media only screen and (max-width: 768px) {
#header_meta { display: none !important; }}

#header_meta {
  background-color: rgba(255,255,255,0)!important;
}


#avia-menu li a {
line-height: 88px !important;
}

/* Kasse omkring "kontakt" */
#menu-item-947 {margin-left: 40px!important;}

#avia-menu #menu-item-947 > a .avia-menu-text {
    border: 2px solid #b54a10;
    padding: 5px 10px;
    border-radius: 4px;
}

#avia-menu #menu-item-947 > a .avia-menu-text:hover {
    background-color: #ffffff;
}

#top .av_header_transparency #avia-menu #menu-item-947 > a .avia-menu-text:hover {
    background-color: #b54a10!important;
}

/* Hovedmenu fjern effekt og ramme */
.avia-menu-fx {
display: none !important;
opacity: 0;
}

#header_main {
border-bottom: none!important;
}

/* Brødkrumme style */
.breadcrumb {
	padding-top:3px!important;
	padding-right: 12px!important;
	float:right!important;
	font-size: 12px!important;
}

/* Bredde på grid-layout */
 #grid-notfull {
    max-width: 1110px;
    display: table;
    margin: 0 auto; 
} 

/* grid-layou mobile */
@media only screen and (max-width: 990px)  {
.responsive #top #wrap_all .av-flex-cells .no_margin .flex_cell_inner {
	padding-top:50px!important;
}
.responsive #top #wrap_all .av-flex-cells .no_margin.av-zero-padding{
	height:150px!important;
	max-height: 150px!important;
	min-height: 150px!important;
	border: 1px solid white!important;
}}

/* Farve effekter på grid */
.avia-link-column {
  background-blend-mode: multiply!important;
 /* -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
 /* filter: grayscale(100%) opacity(50%); */
  box-shadow: inset 0 0 200px rgba(0,0,0,0.3);;
 }

.linje {
  z-index: 2;
  line-height: 0.2em!important;
}

 .avia-link-column:hover {
    background-blend-mode: normal!important;
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
  box-shadow: inset 0 0 200px rgba(0,0,0,0.3);;
}

.page-item.active .page-link {
	border-color: rgb(181,74,16)!important;
}

  /* color-section min-højde */
  #smal{
    min-height: 15px !important;
  }

  /* inline links */
a:hover, a:focus, a:visited, #top .av_inherit_color a {
    text-decoration: none !important;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 1300px;
  }

.mfp-iframe-scaler {
    padding-top: 56.25%;
    min-height: 90vh!important;
}

  /* til toppen */
#scroll-top-link {
  background-color: #b54a10;
  border-color: #b54a10;
  color: white;
}

  /* burgermenu */
#top #av-burger-menu-ul {
    vertical-align: top !important; 
    padding-top: 20% !important;
}

  /* udtalelser mobil */
@media only screen and (max-width: 568px) {
#top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {
	padding: 0px 30px;
}

#top .avia-slider-testimonials.avia-testimonial-wrapper .avia-testimonial-row {
width: 120%;
right: 33px;
}

#top .av-large-testimonial-slider .avia-slideshow-arrows a {
	font-size: 25px;
}

.prev-slide:before {
	text-indent: -45px;
}

.next-slide:before {
	text-indent: 45px;
}
}

  /*  footer mobil */
@media only screen and (max-width: 786px) {

#top footer .container {
    display: block;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#top footer .copyright {
    display: block;
    justify-content: center;
	line-height: 1.5em!important;
	text-align: center;
}

#top footer .sub_menu_socket {
    display:none !important;
}}

  /*  ikoner */
.iconbox_left .iconbox_icon {
  border-radius: 4px!important;
  line-height: 26px!important;
}

/* =========================================================
   The Events Calendar Pro – Photo View (Enfold child theme)
   - 2 / 3 / 4 kolonner
   - 1:1 billeder
   - 1rem gap
   - Dato øverst (custom template)
   - Titel → tid → pris
   ========================================================= */

.tribe-common .tribe-common-cta, .tribe-common--breakpoint-medium.tribe-common .tribe-common-b3--min-medium{
  font-size: var(--tec-font-size-2);
}

.tribe-filter-bar-c-pill__pill:hover {
  background-color: #b54a10!important;
  color: #fff!important;
}

/* Container */
.tribe-filter-bar:focus,
.tribe-filter-bar:focus-within {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Knap */
.tribe-filter-bar-c-pill__pill:focus,
.tribe-filter-bar-c-pill__pill:focus-visible,
.tribe-filter-bar-c-pill__pill:active {
  outline: none !important;
  box-shadow: none !important;
}

.tribe-filter-bar-c-pill__pill {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.tribe-filter-bar__action-clear{
  background-color: transparent!important;
  color:var(--enfold-main-color-bg)!important;
}

.tribe-filter-bar__action-clear:hover {
  color: black!important;
}

.tribe-filter-bar.tribe-filter-bar--horizontal, .tribe-filter-bar.tribe-filter-bar--vertical{
  background-color: var(--enfold-main-color-bg)!important;
}

/* ---------------------------------
   TEC spacing overrides (kun Photo)
   --------------------------------- */
.tribe-events-pro-photo {
  --tec-grid-gutter: 1rem;
  --tec-grid-gutter-half: 0.5rem;
  --tec-grid-gutter-half-negative: -0.5rem;
  --tec-spacer-2: 0.5rem;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-l-container {
  padding: 0!important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav{
  padding-bottom: var(--tec-spacer-4);
}

/* ---------------------------------
   Grid: 2 / 3 / 4 kolonner
   --------------------------------- */
.tribe-events-pro-photo .tribe-events-pro-photo__grid {
  display: flex;
  flex-wrap: wrap;
}

/* Mobile – 2 kolonner */
.tribe-events-pro-photo .tribe-events-pro-photo__event {
  width: 50% !important;
}

/* Tablet – 3 kolonner */
@media (min-width: 768px) {
  .tribe-events-pro-photo .tribe-events-pro-photo__event {
    width: 33.3333% !important;
  }
}

/* Desktop – 4 kolonner */
@media (min-width: 1024px) {
  .tribe-events-pro-photo .tribe-events-pro-photo__event {
    width: 25% !important;
  }
}

/* ---------------------------------
   1:1 featured images
   --------------------------------- */
.tribe-events-pro-photo__event-featured-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------
   Fjern TECs interne kolonne-layout
   --------------------------------- */
.tribe-events-pro-photo__event-details-wrapper {
  display: flex !important;
  flex-direction: column !important;
}

.tribe-events-pro-photo__event-details-wrapper > * {
  width: 100% !important;
}

/* ---------------------------------
   Indhold: titel → tid → pris
   --------------------------------- */
.tribe-events-pro-photo__event-details {
  display: block !important;
}

.tribe-events-pro-photo__event-title {
  margin-top: 0.25rem;
}

.tribe-events-pro-photo__event-datetime {
  margin-top: 0.25rem;
}

.tribe-events-pro-photo__event-cost {
  margin-top: 0.25rem;
}


.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button {
  margin-right: 10px!important;
}


@media (max-width: 990px){
.tribe-common .tribe-common-h6 {
font-size: var(--tec-font-size-3)!important;
line-height: var(--tec-font-size-5)!important;
padding-bottom: 4px;
}
.tribe-common .tribe-common-b2 {
  font-size: var(--tec-font-size-1)!important;;
}
}

.tribe-events .tribe-events-c-nav {
  padding-bottom: var(--tec-font-size-5);
}

/* Mindre afstand mellem billede og tekst */
.tribe-events-pro-photo__event-featured-image-wrapper {
  margin-bottom: 0.25rem !important;
}

/* Dato – samme typografi som øvrig metadata */
.tribe-events-pro-photo__event-date {
  font-size: 1.2rem!important;       /* matcher tid/pris */
  font-weight: 600!important;
  font-family: oswald;
  text-transform: uppercase;
  color: #444;               /* samme tone som øvrig meta */
  margin-top: 0;
  margin-bottom: 0.25rem;
  text-align: left;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6 {
  font-size: var(--tec-font-size-5)!important;
}

.tribe-common--breakpoint-medium.tribe-events-pro .tribe-events-pro-photo__event {
  margin-bottom: var(--tec-spacer-5)!important;
}

.tribe-events-pro-photo__event-details {
  margin-top: 0;
}

.tribe-events-series-relationship-single-marker.tribe-common {
  display: none;
}


/* Mindre gap på mobil */
@media (max-width: 767px) {
  
  .responsive #top #wrap_all .container {
    width: 95%;
    max-width: 95%;
  }
  .tribe-events-pro-photo {
    --tec-grid-gutter-small: 0.5rem;
    --tec-grid-gutter-small-half: 0.25rem;
    --tec-grid-gutter-small-negative: -0.25rem;
  }
}
/* Mindre gap i 3-kolonne overlap (TEC medium breakpoint) */
@media (min-width: 768px) and (max-width: 899px) {
  .tribe-events-pro-photo {
    --tec-grid-gutter-medium: 0.75rem;
    --tec-grid-gutter-medium-half: 0.375rem;
    --tec-grid-gutter-medium-negative: -0.375rem;
    --tec-grid-gutter-small: 0.5rem;
    --tec-grid-gutter-small-half: 0.25rem;
    --tec-grid-gutter-small-negative: -0.25rem;
  }
}



/* =========================================================
   SINGLE EVENT – ENFOLD + THE EVENTS CALENDAR PRO
   Vesterbro-inspireret layout (statisk meta)
   ========================================================= */


/* ---------------------------------------------------------
   GRID-CONTAINER
   --------------------------------------------------------- */
#top.tribe-theme-enfold.single-tribe_events
.entry-content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10rem;
}

@media (max-width: 900px) {
  #top.tribe-theme-enfold.single-tribe_events
  .entry-content-wrapper {
    grid-template-columns: 1fr;
  }
}



/* ---------------------------------------------------------
   VENSTRE KOLONNE – hovedindhold
   --------------------------------------------------------- */
#top.tribe-theme-enfold.single-tribe_events
.av-single-event-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* Meta-linje (dato + tid + pris) over titel */
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-schedule {
  order: -1;
  margin-bottom: 0rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  color: #444;
  font-family: inherit !important;
}

#top.tribe-theme-enfold.single-tribe_events
.tribe-events-single-event-description {
  max-width: 640px;
}


/* Lås typografi (forhindrer JS-hop) */
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-schedule,
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-schedule * {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #444 !important;
}

/* Titel */
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-single-event-title {
  font-size: 2.2rem!important;
  line-height: 1.2;
}

@media (max-width: 990px){
.event-hero-title {
  font-size: 26px!important;
}}

/* Featured image – fuld bredde */
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-event-image,
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-event-image img {
  width: 100%;
  max-width: none;
  height: auto;
  margin-top: var(--tec-spacer-6);
}


/* ---------------------------------------------------------
   HØJRE KOLONNE – meta-boks
   --------------------------------------------------------- */
#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar {
  grid-column: 2;
}

.tribe-events-address {
  line-height: 18px!important;
}

.tribe-events-single .tribe-venue {
    font-weight: 600;
}


.single-tribe_events .tribe-events-abbr {
    text-decoration: none !important;
}



#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-desktop {
  border-top: 1px solid;
}

#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-desktop {
  font-size: 0.95rem;
  line-height: 1.45;
}

.tribe-events-event-categories-label.tribe-events-meta-label, 
.tribe-events-event-categories.tribe-events-meta-value,
.tec-events-pro-series-meta-detail--label,
.tec-events-pro-series-meta-detail--link
{
  display:none;
}

.av-single-event-meta-bar-inner{
padding: 0!important;
border:0!important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown, .tribe-events .tribe-events-c-subscribe-dropdown {
  margin: 0;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button, .tribe-block__events-link .tribe-events-c-subscribe-dropdown__button {
  width: 100%;
}


/* Fjern TEC/Enfold boks-look */
#top.tribe-theme-enfold.single-tribe_events
.tribe-events-single-section {
  border: none;
  padding: 0;
  background: none;
}

/* ---------------------------------------------------------
   Små oprydninger
   --------------------------------------------------------- */
#tribe-events-view-selector-content {
  display: none;
}

.entry-content-wrapper li {
  margin-left: 0!important;
}

/* VIS desktop meta – ellers findes højre kolonne ikke visuelt */
#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-desktop {
  display: block !important;
}


#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-mobile {
  display: none !important;
}

/* FIX: Enfold width/clear ødelægger grid */
#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-desktop {
  width: auto !important;
  max-width: none !important;
  clear: none !important;
  align-self: start;
}

/* ENFOLD: meta-inner bryder grid – begræns den */
#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-inner {
  width: 100% !important;
  max-width: 100% !important;
}

#top.tribe-theme-enfold.single-tribe_events
.entry-content-wrapper > * {
  min-width: 0;
}

#top.tribe-theme-enfold.single-tribe_events .av-single-event-content {
  order: 0!important;
  width: 100%!important;
  margin-left: 0px!important;
}

/* Opløs meta-wrapperen i grid */
#top.tribe-theme-enfold.single-tribe_events
.av-single-event-meta-bar-desktop {
  display: contents;
}


#top.tribe-theme-enfold.single-tribe_events
.tribe-related-events {
  padding-left: 0;
  border-left: none;
}

/* Thumbnail-containeren er klippefeltet */
.tribe-events-single
ul.tribe-related-events li
.tribe-related-events-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Selve billedet fylder containeren */
.tribe-events-single
ul.tribe-related-events li
.tribe-related-events-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


#top #wrap_all h1.mobile-only-events-title {
  display: none;
}

@media (max-width: 900px) {
  #top.tribe-theme-enfold.single-tribe_events
  .entry-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #top.tribe-theme-enfold.single-tribe_events
  .av-single-event-meta-bar {
    grid-column: auto;
  }

  #top #wrap_all h1.mobile-only-events-title {
    display: block;
    margin: 0 0 -3rem;
  }

  #top.tribe-theme-enfold.single-tribe_events
 .av-single-event-meta-bar-desktop {
  padding-top: 20px;
 }

 .tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
  margin: 50px 0;
 }
}


.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button {
  background-color: var(--enfold-main-color-primary)!important;
}


/* =========================================================
   EVENT TICKET + THE EVENTS CALENDAR PRO
   ========================================================= */

.tribe-common-c-btn, .tribe-common-c-btn--small, .tribe-tickets__tickets-buy.tribe-common-c-btn:disabled{
  background-color: var(--enfold-main-color-primary)!important;
}

.tribe-common .tribe-common-c-loader__dot circle {
  fill: #b54a10!important;
}

.tribe-dialog__wrapper.tribe-modal__wrapper--ar {
  margin-block-start: 70px;
}
@media (max-width: 980px){
  .tribe-dialog__wrapper.tribe-modal__wrapper--ar {
    margin-block-start: 250px;
  } 
}

.tribe-common .tribe-common-anchor-alt {
  border-bottom: 2px solid var(--enfold-main-color-primary)!important;
}

.tec-tickets-commerce-checkout-cart__coupons-apply-button {
  padding: 6px 10px 6px var(--tec-spacer-2)!important;
}

.tec-tickets-commerce-checkout-cart__coupons-add-link {
  color: var(--enfold-main-color-primary)!important;
}


.u-color-primary{
  color: #b54a10!important;
}

.u-fill-primary {
  fill: #b54a10!important;
}

.tribe-events-c-small-cta__link, .tribe-common-cta--thin-alt {
  display:none!important;
}

