:root {
  --bordeaux: #550a21;
}

h3 {
  color: light-dark( var(--bordeaux), var(--roze) );
}
details {
  margin-bottom:.7em;
  cursor: pointer;
}
details ul {
  margin:0;
  padding-left:1.25em;
}
details .details {
/*  margin-left:1em;*/
  background-color: light-dark(#def,#543);
  border-left:solid .5em var(--jb-blauw);
  padding:.5em;
  padding-left:.75em;
}
.details p {
  margin-top:0;
  margin-bottom:.3em;
}
summary b {
  color: var(--jb-blauw-ld);
  font-weight: var(--bold);
}
a.ror {
  color: #666;
}
.mini-ror-icon {
    position: relative;
    top: -.5em;
    left: .15em;
}
.mini-ror-icon svg {
  width:1em;
  height:1em;
}

/* from https://codepen.io/MPDoctor/pen/mpJdYe */
.tabbed {
	overflow-x: hidden; /* so we could easily hide the radio inputs */
	margin: 32px 0;
	padding-bottom: 16px;
	border-bottom: 1px solid #ccc;
}

.tabbed [type="radio"] {
	/* hiding the inputs */
	display: none;
}

.tabs {
	display: flex;
	align-items: stretch;
	list-style: none;
	padding: 0;
	border-bottom: 1px solid #ccc;
}
.tab > label {
	display: block;
	margin-bottom: -1px;
	padding: 12px 15px;
	border: 1px solid #ccc;
	background-color: var(--rpqr-tab-bg);
	color: var(--rpqr-tab-text);
	font-size: 12px; 
	font-weight: var(--bold);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	cursor: pointer;	
	transition: all 0.3s;
  height:100%;
}
/*.tab:hover label {
	border-top-color: #333;
	color: #333;
}
*/
ul li.tab {
  list-style:none;
}

.tab-content h2,
.tab-content {
	display: none;
}
/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked ~ .tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked ~ .tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked ~ .tabs .tab:nth-of-type(5) label,
.tabbed [type="radio"]:nth-of-type(6):checked ~ .tabs .tab:nth-of-type(6) label,
.tabbed [type="radio"]:nth-of-type(7):checked ~ .tabs .tab:nth-of-type(7) label 
{
	border-bottom-color: #fff;
	border-top-color: #B721FF;
	background: var(--rpqr-tab-bg-checked,#fff);
	color: #222;
}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked ~ .tab-content:nth-of-type(4),
.tabbed [type="radio"]:nth-of-type(5):checked ~ .tab-content:nth-of-type(5),
.tabbed [type="radio"]:nth-of-type(6):checked ~ .tab-content:nth-of-type(6),
.tabbed [type="radio"]:nth-of-type(7):checked ~ .tab-content:nth-of-type(7)
{
	display: block;
}

@media (max-width:650px) {
  .tab-content h2
  {
    display:block;
    background-color:var(--rpqr-tab-bg);
    color: var(--rpqr-tab-text);
    padding: .6em 1em;
    margin: 2em -1em 0;
    
  }
  .tab-content {
    display:block;
  }
  .tabs {
    display:none;
  }
  .tabbed {
    margin:0;
    overflow-x:initial;
  }
}