<style type="text/css"> 

/* JMA 2015 start */
.jma-top-nav {
     margin-bottom: 20px;
}
.jma-top-nav a {
     margin-right: 15px;
     line-height:2;
}
.jma-p {
     line-height: 1.38;
     margin: 0;
     padding: 0;
     margin-left: 48px;
}
.jma-p-extra-indent {
     line-height: 1.38;
     margin: 0;
     padding: 0;
     margin-left: 96px;
}
.jma-p-less-indent {
     line-height: 1.38;
     margin: 0;
     padding: 0;
     margin-left: 27px;
}
.jma-el-picnic-indent {
     line-height:1.38;
     margin-top:0pt;
     margin-bottom:0pt;
     margin-left: 13px;
}
.jma-a {
     text-decoration: none;
}
.jma-div-big-box-width {
     width: 1010px;
     text-align:center;
}
.jma-div-big-box-height {
     height: 2800px;
     text-align:left;
     padding-left:30px;
     padding-right:20px;
     border:1px solid #ccc;
}
.jma-div-gigs-box {
     float:left;
    /* any subsequent element (like the "El&apos;Picnic 2015" box) will try to flow to the right of it, as long as there is enough horizontal space.*/
     width:500px;
     border:none;
}
.jma-el-picnic-box {
     float: left;
     margin-top: 30px;
     margin-left: 20px;
     width: 160px;
     padding: 10px;
     border: 1px solid #ccc;
}
.clearfix {
     clear: both;
}
/* JMA 2015 end */

/* Sardcode column widths */
.col80 {
     width: 80px;
}
.col100 {
     width: 100px;
}
.col120 {
     width: 120px;
}
.col150 {
     width: 150px;
}
.col300 {
     width: 300px;
}
.col350 {
     width: 350px;
}
.col400 {
     width: 400px;
}
.col600 {
     width: 600px;
}
.col800 {
     width: 800px;
}
.col-3-percent {
     width: 3%;
}
.col-5-percent {
     width: 5%;
}
.col-10-percent {
     width: 10%;
}
.col-15-percent {
     width: 15%;
}
.col-17-percent {
     width: 17%;
}
.col-70-percent {
     width: 70%;
}

/* lists */
.list-space-between {
    display: flex;
    flex-direction: column;
    gap: var(--list-gap, 15px); /* Default to 15px if not overridden */
    margin: 0;  /* Remove default margins for both <ul> and <ol> */
    list-style-position: inside; /* Ensure bullets/numbers stay inside the list */
    margin-bottom: var(--list-bottom-gap, 20px);  /* Ensure gap after the list */
}

.list-space-small-gap {
    --list-gap: 5px; /* Override gap when this class is added */
}

.list-space-large-gap {
    --list-gap: 25px; /* Another example with a larger gap */
}

.list-space-between li {
    list-style: inherit; /* Ensure bullets or numbers remain when using display: flex - add list-style: inside or list-style: disc (for <ul>) and list-style: decimal (for <ol> */
}

ul.list-space-between {
    padding-left: 20px; /* Set proper padding for bullets */
    gap: var(--list-gap, 5px);  /* Slightly smaller gap for <ul> */
}

ol.list-space-between {
    padding-left: 20px;  /* Proper padding for numbers */
}

.list-space-between li > ul,
.list-space-between li > ol {
    margin-top: var(--sublist-gap, 5px); /* Add a gap above sublists */
}

.text-before-list {
    display: inline-block;  /* Makes <i> behave like a block-level element */
    margin-bottom: var(--text-bottom-gap, 10px);  /* Apply gap before the list */
}

.no-bullet-list {
    list-style-type: none;
    padding-left: 20px;
}

/* gap-list start */
.gap-list li {
     margin-bottom: 15px;
}

/*TODO have i an other solution for this? */
.gap-list li > ul { margin-top: 15px; } /*  Adds space before a nested <ul>, ensuring separation from its parent <li> */
 .gap-list li h3 {
     margin: 0;
}
.gap-list li a { /* style the <a> tags inside <li> */
     color: #007bff;
     font-weight: bold;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
}
.gap-list li a:hover {
     color: #0056b3; /* Darker blue on hover */
     text-decoration: underline;
}
/* This can be overwritten, e.g:
   Include in the HTML file:
   <script>
      document.documentElement.style.setProperty('--music-icon', 'url("./images/rte.png")');
   </script>
 */
:root {
    --music-icon: url("./images/yt_play.png");
}
 .gap-list a::after { /* Music icon after the link */
     content: "";
     background-image: var(--music-icon);
     background-size: contain;
     background-repeat: no-repeat; /* o prevent the icon from repeating if the image is smaller than the assigned width or height. */
     display: inline-block;
     width: 16px;
     height: 12px;
     margin-left: 8px;
}

/* Override the --music-icon for specific items with data-type="rte" */
.gap-list[data-type="rte"] a::after {
    --music-icon: url("./images/rte_play.png");  /* Override with RTE icon */
    width: 36px;  /* Size for RTE icon */
}
.gap-list[data-type="flickr"] a::after {
    --music-icon: url("./images/flickr_play.png");  /* Override with flickr icon */
    width: 53px;  /* Size for Flikr icon */
}
.gap-list[data-type="spotify"] a::after {
    --music-icon: url("./images/spotify_play.jpg");  /* Override with Spotify icon */
    width: 36px;  /* Size for Spotify icon */
}
.gap-list a.no-icon::after {
    content: none;  /* Removes the YouTube icon for this specific link */
}

/* gap-list end */

/* Admin tables */

.mng-table {
     border-style: solid;
     border-width: thin;
     border-collapse: collapse;
}
.mng-table th, .mng-table td {
     border-style: solid;
     border-width: 2px;
     padding: 5px;
     vertical-align: top;
}
.mng-table th {
     background-color: rgb(10,150,50);
     text-align: left;
}
.mng-table th, .mng-table td {
     width: auto;  /* Adjust column width based on content */
}
.mng-table td a {
     width: 50px;
}
.mng-table.full-width {
    width: 100%;
}

/* Utility */

.hidden { display: none; }

/* Compilation image viewer */

.gallery { display: flex; flex-wrap: wrap; gap: 24px 16px; margin-top: 1em; }
.gallery-item { display: flex; flex-direction: column; align-items: center; width: 110px; }
.gallery-item a { display: block; }
.gallery-item img { width: 100px; height: 100px; object-fit: cover; }
.gallery-item span { font-size: 0.8em; margin-top: 6px; text-align: center; }

#detail-back { margin-bottom: 0.5em; }
.detail-layout { display: flex; align-items: center; gap: 1em; margin-top: 1em; }
#detail-img { max-width: 100%; flex: 1; min-width: 0; }
.detail-arrow { text-align: center; min-width: 80px; flex-shrink: 0; }
.detail-arrow a { display: block; font-size: 1.5em; }
.detail-arrow span { display: block; font-size: 0.75em; margin-top: 0.25em; }
#img-error { color: red; margin-top: 0.5em; }

/* Playlists page player */
.playlist-player { margin: 1em 0 1.5em; }
.playlist-hint { color: #555; font-style: italic; }
.playlist-iframe { width: 100%; max-width: 500px; height: 380px; border: none; border-radius: 12px; display: block; }
.playlist-missing { font-size: 0.75em; color: #b00; font-style: italic; cursor: help; border-bottom: 1px dashed #b00; }

/* Subscribe form */
#subscribeForm { display: flex; gap: 8px; flex-wrap: wrap; max-width: 420px; }
#subEmail { flex: 1; padding: 8px; font-size: 1em; min-width: 0; }
#subscribeForm button { padding: 8px 16px; font-size: 1em; cursor: pointer; }
#subMsg { display: none; margin-top: 8px; }

/* Misc */

th {
     text-align: left; /* By default, <th> elements are styled with text-align: center; font-weight: bold;
 */
}

/* Add underline so titles stand out */
th b {
    text-decoration: underline;
    text-decoration-style: double;
}
tr:has(th:empty) {
    visibility: collapse; /* Hides the row but keeps column widths */
}

.borderless {
     border:0;
     width:100% 
}
.hr-40-percent {
     width: 40%;
     margin-left: 0;
}
.indent {
     padding-left: 30px;
}
h4 + .indent-spaces-rows, p + .indent-spaces-rows {
    margin-top: 0 !important; /* Remove gap above the table */
    padding-top: 0 !important; /* Remove any padding above the table */
}
/* Headings moved up a level so levels are not skipped keep their old look */
h3.as-h4 { font-size: 1em; margin-block: 1.33em; }
h3.as-h5, h4.as-h5 { font-size: 0.83em; margin-block: 1.67em; }
.indent-spaces-rows {
     border-collapse: separate;
     border-spacing: 0 15px; /* Adds 15px vertical space between rows */
     padding-left: 30px;
}

br.clear {
     clear: both; /* This ensures that the element is cleared from both left and right floats, which is the same effect as clear="all".*/
}
.bold {
     font-weight: bold;
}
.underline {
     text-decoration: underline;
}
.bold-underline {
     font-weight: bold;
     text-decoration: underline;
}
.separator {
  list-style: none; /* remove the bullet */
}
.spacer {
  list-style: none; /* remove bullet */
  height: 1em;      /* adjust the space */
}
.dash-line::before {
  content: "----------------------------------------"; /* 50 dashes typed once in CSS */
  font-family: monospace;
  display: block;
}
.combined-list > ol {
  margin-bottom: 0 !important;
}

.combined-list > ul {
  margin-top: 0 !important;
}

/* PLaylist related */

.playlist {
     margin-bottom: 20px;
}
.spotify-embed, .deezer-embed, .soundcloud-embed {
     display: block; /* if added within <li> this ensures it is left aligned */
     border: none;
     border-radius: 12px;
     width: 500px;
     height: 380px;
}
.youtube-embed, .vimeo-embed, .ted-embed {
     border: none;
     border-radius: 12px;
     width: 100%;
     max-width: 560px;
     aspect-ratio: 16 / 9; /* Maintain 16:9 ratio for YouTube */
}
/* Home page: text links to the main pages, under the heading */
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 0 1em;
}
.site-nav a {
    padding: 4px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    color: #0645ad;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav a:hover, .site-nav a:focus {
    background: #e8eefc;
    border-color: #0645ad;
}
.updates-iframe {
    border: none;
    width: 100%;
    display: block;
}
.updates-content {
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
}
.hidden { display: none; }

/* Playlist check report status cells */
.report-ok    { background-color: #d4edda; }
.report-warn  { background-color: #fff3cd; }
.report-error { background-color: #f8d7da; }
</style>
