/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* Responsive table css for blog detail page */
:root {
    --bg-table-stripe: #f6f6f5;
    --b-table: #e3e3e2;
    --caption: #242423;
}
table {
    background-color: transparent;
    border-collapse:collapse;
    font-family: Arial, Helvetica, sans-serif
}
th {
    text-align:left
}
.dcf-txt-center {
      text-align: center!important
    }
    .dcf-txt-left {
      text-align: left!important
    }
    .dcf-txt-right {
      text-align: right!important
    }
    
.dcf-table caption {
      color: var(--caption);
      font-size: 1.13em;
      font-weight: 700;
      padding-bottom: .56rem
    }
    .dcf-table thead {
      font-size: .84em
    }
    .dcf-table tbody {
      border-bottom: 1px solid var(--b-table);
      border-top: 1px solid var(--b-table);
      font-size: .84em
    }
    .dcf-table tfoot {
      font-size: .84em
    }
    .dcf-table td, .dcf-table th {
      padding-right: 1.78em
    }
    .dcf-table-bordered, .dcf-table-bordered td, .dcf-table-bordered th {
      border: 1px solid var(--b-table)
    }
    .dcf-table-bordered td, .dcf-table-bordered th, .dcf-table-striped td, .dcf-table-striped th {
      padding-left: 1em;
      padding-right: 1em
    }
    .dcf-table-bordered tr:not(:last-child), .dcf-table-striped tr:not(:last-child) {
      border-bottom: 1px solid var(--b-table)
    }
    .dcf-table-striped tbody tr:nth-of-type(2n) {
      background-color: var(--bg-table-stripe)
    }
    .dcf-table thead td, .dcf-table thead th {
      padding-bottom: .75em;
      vertical-align: bottom
    }
    .dcf-table tbody td, .dcf-table tbody th, .dcf-table tfoot td, .dcf-table tfoot th {
      padding-top: .75em;
      vertical-align: top
    }
    .dcf-table tbody td, .dcf-table tbody th {
      padding-bottom: .75em
    }
    .dcf-table-bordered thead th {
      padding-top: 1.33em
    }
    .dcf-wrapper-table-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      left: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      padding-bottom: 1em;
      position: relative;
      right: 50%;
      width: 100vw
    }
    @media only screen and (max-width:42.09em) {
      .dcf-table-responsive thead {
        clip: rect(0 0 0 0);
        -webkit-clip-path: inset(50%);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
        white-space: nowrap
      }
      .dcf-table-responsive tr {
        display: block
      }
      .dcf-table-responsive td {
        -webkit-column-gap: 3.16vw;
        -moz-column-gap: 3.16vw;
        column-gap: 3.16vw;
        display: grid;
        grid-template-columns: 1fr 2fr;
        text-align: left!important
      }
      .dcf-table-responsive.dcf-table-bordered, .dcf-table-responsive.dcf-table-bordered thead th {
        border-width: 0
      }
      .dcf-table-responsive.dcf-table-bordered tbody td {
        border-top-width: 0
      }
      .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
        padding-bottom: .75em
      }
      .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
        padding-bottom: 0
      }
      .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
        padding-right: 0
      }
      .dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
        border-bottom-width: 0
      }
      .dcf-table-responsive tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        padding-right: 1.78em
      }
    }
.dcf-overflow-x-auto {
      overflow-x: auto!important;
      -webkit-overflow-scrolling: touch
    }

/**********************/



/* ---------------------- */

/* =========================================================
   EVENT FILTERS - CSS CHANGES
   Replace / add to your existing rules.
   ========================================================= */

.event-filters select {
  background: #EFF6FE;
  border: none;
  border-radius: 0;
  padding: 10px 16px;
  height: 47px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0;
  color: #0057B8;
  cursor: pointer;
  opacity: 1;
}

/* First Dropdown - Region */
.event-location-filters select[name="event_region_filter"] {
  width: 196px;
}

/* Second Dropdown - Year */
.event-location-filters select[name="event_year_filter"] {
  width: 133px;
}

/* FIX: the arrow image was requested over http:// (mixed-content warning).
   Use a relative path so it always follows the page protocol. */
.event-location-filters select {
  appearance: none;
  background-image: url("/wp-content/uploads/2026/11/nrk_arrow-dropdown.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 44px; /* keep text clear of the arrow */
}

/* ADD: keyboard focus indicator (was missing) */
.event-filters select:focus-visible,
.event-status-btn:focus-visible {
  outline: 2px solid #0057B8;
  outline-offset: 2px;
}

/* OPTIONAL: inactive Upcoming/Past buttons are #D9D9D9 text on #F2F2F2
   (about 1.3:1 contrast, fails WCAG AA 4.5:1). If the pale look is not
   required by the design, use a darker text colour: */
.event-status-btn:not(.active):not(:hover) {
  color: #5B6770;
}

/* ADD: stack the filters on small screens instead of overflowing */
@media (max-width: 767px) {
  .event-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .event-status-filter,
  .event-location-filters {
    width: 100%;
  }
  .event-status-btn {
    flex: 1;
    width: auto;
  }
  .event-location-filters select[name="event_region_filter"],
  .event-location-filters select[name="event_year_filter"] {
    width: 100%;
    flex: 1;
  }
}
/* -------------------------- */
