/* open-sans-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 500;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 600;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: url('Fonts/open-sans-v40-greek_greek-ext_latin_latin-ext_symbols-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans condensed */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans Condensed';
    font-weight: 300;
    font-style: normal;
    src: url('Fonts/opensans-condensedlight-webfont.woff2') format('woff2'),
    url('Fonts/opensans-condensedlight-webfont.woff') format('woff');
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans Condensed';
    font-weight: 300;
    font-style: italic;
    src: url('Fonts/opensans-condensedlightitalic-webfont.woff2') format('woff2'),
    url('Fonts/opensans-condensedlightitalic-webfont.woff') format('woff');
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans Condensed';
    font-weight: 500;
    font-style: normal;
    src: url('Fonts/opensans-condensedsemibold-webfont.woff2') format('woff2'),
    url('Fonts/opensans-condensedsemibold-webfont.woff') format('woff');
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans Condensed';
    font-weight: 500;
    font-style: italic;
    src: url('Fonts/opensans-condensedsemibolditalic-webfont.woff2') format('woff2'),
    url('Fonts/opensans-condensedsemibolditalic-webfont.woff') format('woff');
}

:root {
    --color-background: #f5f5f5;
    --color-primary-accent: #24a1c3;
    --color-secondary-accent: #ff9529;
    --color-tertiary-accent: #3cb371;
    --color-text-regular: black;
    --color-text-menu: #222;
    --color-text-menu-light: #444;
    --color-text-menu-lighter: #666;
    --color-text-mobile-menu: #222;
    --color-text-mobile-menu-light: #444;
    --color-page-shadow: #adadad;

    --space-chevron: 1.2rem;

    --text-space-3: .3rem;
    --text-space-6: .6rem;
    --text-space-9: .9rem;
    --text-space-12: 1.2rem;
    --text-space-15: 1.5rem;
    --text-space-18: 1.8rem;
    --text-space-21: 2.1rem;
    --text-space-24: 2.4rem;
    --text-space-27: 2.7rem;
    --text-space-30: 3rem;
    --text-space-35: 3.5rem;
    --text-space-40: 4rem;
}

*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }

::-moz-selection { color: white; background-color: var(--color-primary-accent); text-shadow: none; }
::selection { color: white; background-color: var(--color-primary-accent); text-shadow: none; }

html { box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Open Sans'; font-weight: 300; font-style: normal; line-height: 160%; font-size: 16px; background-color: var(--color-background);
    /* remove blue flashes on Android browsers when cursor is set to pointer: */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    word-break: break-word !important; /* for otherwise unkreakable long words */
}

/* Basic Containers */
.page {
    margin: 0 auto; height: auto; display: flex; flex-direction: column; max-width: 90rem; box-shadow: 0 0 8px var(--color-page-shadow); min-height: 100.1vh; background-color: white;
}
header {
    min-height: 3rem; background-color: white; box-shadow: 0 -3px 8px #adadad; border-bottom: 2px solid var(--color-primary-accent); z-index: 99; display: flex; font-weight: 400; font-family: "Open Sans Condensed", sans-serif;
}
main {
    flex: 1 0 auto; display: flex; flex-direction: row; gap: 0 2rem; justify-content: space-between;
}
.menu {
    min-width: 17rem;
    max-width: 17.8rem;
    margin: 3.3rem 0 2.6rem 1rem;
}
aside {
    min-width: 21rem; max-width: 23.6rem; margin: 0 0 2.2rem 0; padding: 0 .4rem 0 0; line-height: 1.5em; font-size: .98rem; /*flex: 3 1 24%;*/
}
footer {
    background-color: var(--color-primary-accent); font-weight: 500; font-size: .9rem; color: white; padding: 1.5rem 1rem 0 1rem; margin: 0; line-height: 1.3em;
}
#content {
    width: 70rem;
    display: flex;
    gap: 2rem 3.6rem;
    margin-bottom: var(--text-space-35);
}

article {
    width: 46rem;
    margin-bottom: 5rem;
}

/* Header */
.swip-logo {
    background-image: url("./Image/swip-logo-old.png"); background-repeat: no-repeat; background-size: 120px auto; width: 140px; margin: .6rem 0 .7rem 1.9rem;
}
.header_title {
    margin: 1.5rem auto; font-size: 2rem; letter-spacing: 0.02em; color: var(--color-primary-accent); text-transform: uppercase;
}
.balancing-item {
    width: 140px;
    margin: .6rem 0;
    display: none;
}

/* Sidebar */

/* Full variant */
aside .more a {
    color: var(--color-primary-accent); text-decoration: underline dotted transparent 1.5px; -webkit-text-decoration-color: transparent !important; -webkit-text-decoration-style: dotted !important; font-weight: 500;
}
aside .more a:hover {
    transition: .5s; text-decoration: underline dotted var(--color-primary-accent) 1.5px; -webkit-text-decoration-color: var(--color-primary-accent) !important; -webkit-text-decoration-style: dotted !important;
}
aside h2 {
    font-size: 1.05rem; color: #313131; margin: 1.6rem 0 .9rem 1rem;
}

/* Reduced Variant */
aside.minimal-sidebar {
    margin-top: 2rem;
    letter-spacing: .02em;
    color: #484848;
}
aside.minimal-sidebar h2 {
    margin: 1.6rem 0 .4rem 1rem;
}
aside.minimal-sidebar ul {
    font-family: Open Sans Condensed, sans-serif;
}
aside.minimal-sidebar a {
    font-weight: 400;;
    color: var(--color-primary-accent); text-decoration: underline dotted transparent 1.5px; -webkit-text-decoration-color: transparent !important; -webkit-text-decoration-style: dotted !important; transition: .5s;
}
aside.minimal-sidebar a:hover {
    font-weight: 400;
    color: var(--color-primary-accent); text-decoration: underline dotted var(--color-primary-accent) 1.5px; -webkit-text-decoration-color: var(--color-primary-accent) !important; -webkit-text-decoration-style: dotted !important; transition: .5s;
}

/* Footer */
#mobile-footer { display: none; min-height: 6.2rem; font-size: .85rem; }
#desktop-footer { min-height: 12.5rem; }
.footer-columns { display: flex; justify-content: space-evenly; gap: 2rem; }
.footer-column { flex-basis: 15%; }
.footer-bottom { flex-basis: 100%; color: #e8e8e8; display: flex; justify-content: flex-end; padding: .75rem; font-size: .9em; }
footer a { color: white; text-decoration: underline dotted transparent 1.5px; -webkit-text-decoration-color: transparent !important; -webkit-text-decoration-style: dotted !important; }
footer a:hover { color: white; text-decoration: underline dotted white 1.5px; -webkit-text-decoration-color: white !important; -webkit-text-decoration-style: solid !important; transition: .5s; }
.footer-column p { text-indent: unset; padding: 0 0 .6em 0; margin: 0; }
footer h5 { font-weight: 600; font-size: .9em; padding: 0 0 1em 0; margin: 0; text-transform: uppercase; letter-spacing: .05em; }


/* MAIN MENU */

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu a { color: black; font-weight: normal; text-decoration: none; }
.menu span { color: black; font-weight: normal; text-decoration: none; }

.menu > ul > li {
    margin-bottom: 0.3rem; /* space between main entries */
}

.menu > ul > li > a,
.menu > ul > li > span,
.menu summary {
    padding-left: var(--space-chevron);
    text-decoration: none;
}


/* Top-level entries */
.menu summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.menu summary a {
    text-decoration: none;
    color: var(--color-text-menu);
    font-weight: 500;
}

/* Chevron before text */
.menu summary::before {
    content: "▸";
    font-size: 1rem;
    color: var(--color-text-menu-light);
    margin-right: 0.75rem;
    transition: transform 0.2s ease;
    position: absolute;
    left: 0;
}

.menu details[open] {
    margin-bottom: .7rem; /* extra space after expanded group */
}

/* Rotate chevron when open */
.menu details[open] summary::before {
    transform: rotate(90deg);
}

/* Submenu */
.menu details ul {
    padding-left: 1.3rem;
    margin-top: .2rem;
    list-style: none;
}

.menu details ul li a,
.menu details ul li span,
.menu details ul li.active
{
    display: block;
    margin: .1rem 0 .1rem 0;
    padding: 0 0 0 1.2rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.menu details ul li a,
.menu details ul li span {
    color: var(--color-text-menu-lighter);
}

/* Hover states */
.menu a:hover {
    color: var(--color-primary-accent);
}

/* Focus-visible for accessibility */
.menu a:focus-visible,
.menu summary:focus-visible {
    outline: none;
    background: rgba(0, 120, 255, 0.12);
    border-radius: 4px;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.menu a.active-child { color: var(--color-primary-accent); font-weight: 500; }
.menu span.active-child { color: var(--color-primary-accent); font-weight: 500; }

.menu .active {
    color: var(--color-primary-accent);
    font-weight: 500;
}

.menu details:has(.active) > summary > a {
    color: var(--color-primary-accent);
    font-weight: 500;
}


/* MOBILE MENU */

/* Off-canvas panel */
.off-canvas {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 800px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease-out;
    z-index: 1002;
    padding: 2rem 0 2rem .5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Hide checkbox */
.mobile-menu-toggle {
    display: none;
}

/* Hamburger button */
.mobile-menu-button {
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    color: var(--color-text-menu-light);
    display: none;
}

/* Backdrop */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

/* Show backdrop when menu is open */
.mobile-menu-toggle:checked ~ .backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Slide in when checked */
.mobile-menu-toggle:checked ~ .off-canvas {
    transform: translateX(0);
}

/* Menu list */
.mobile-menu {
    list-style: none;
    font-size: 1rem;
    color: var(--color-text-mobile-menu);
    width: 100%;
    margin-top: 1rem;
    font-family: "Open Sans", sans-serif;
}

/* Top-level links */
.mobile-menu > li > a,
.mobile-menu > li > span,
.mobile-menu summary {
    display: block;
    padding: .45em 0;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-mobile-menu);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04rem;
}

/* Submenu */
.mobile-menu details[open] {
    margin-bottom: .4em;
}

ul.mobile-menu {
    list-style: none;
    padding: .6rem 0 .6rem 1.1rem;
    margin: 0;
}

.mobile-menu details ul {
    list-style: none;
    padding-left: .95em;
    margin-top: 0;
}

.mobile-menu details ul li a,
.mobile-menu details ul li span,
.mobile-menu details ul li.active
{
    display: block;
    padding: .05em 0 .4em 0;
    font-size: .95em;
    color: var(--color-text-mobile-menu-light);
}

/* Chevron indicator */
.mobile-menu summary {
    position: relative;
    padding-right: 1em;
}

.mobile-menu summary::after {
    content: "";
    position: absolute;
    right: 1.2em;
    top: 0.15em;
    transition: transform 0.2s ease;
    display: inline-block;
    width: 1em;
    height: 2em;

    background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 36'>\
<polygon points='6,6 18,18 6,30' fill='%2324a1c3'/>\
</svg>") no-repeat center / contain;
}


/* Rotate chevron when open */
.mobile-menu details[open] summary::after {
    transform: rotate(90deg) translateY(0) translateX(0);
}

.mobile-menu a,
.mobile-menu span
{
    background: transparent;
    border-radius: 4px;
    padding-right: 1em;
    text-decoration: none;
    color: var(--color-text-mobile-menu);
}

.mobile-menu a:hover,
.mobile-menu span:hover
{
    color: var(--color-primary-accent);
    transition: .5s;
}

/* Focus styles for accessibility */
/* ToDo: This should be reinstated later. Removed for the moment because it yields differing padding results */
/*a:focus,*/
/*summary:focus-visible {*/
/*  outline: none;*/
/*  background: rgba(0, 120, 255, 0.12);*/
/*}*/

/* Active link (top-level or child) */
.mobile-menu a.active {
    font-weight: 400;
    position: relative;
    color: var(--color-text-mobile-menu-light);
}

.mobile-menu a.active:hover {
    color: var(--color-primary-accent);
}

/* Accent bar */
/*.mobile-menu details a.active::before,*/
/*.mobile-menu details li.active::before,*/
.mobile-menu details li.active::before {
    content: "";
    position: absolute;
    left: 1.75em;
    padding: .3em 0;
    height: 1.1em;
    /*top: 0;*/
    /*bottom: .2rem;*/
    width: 3px;
    background: var(--color-primary-accent);
    border-radius: 2px;
}

.close-button {
    position: absolute;
    top: .5rem;
    right: 1rem;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-menu-light);
    padding: 0.25rem;
    border-radius: 4px;
    user-select: none;
}

.close-button:hover,
.close-button:focus-visible {
    background: rgba(0, 120, 255, 0.12);
}


/* CONTENT */


strong { font-weight: 600; }
h1 { background-color: var(--color-primary-accent); color: white; padding: .8rem; margin: 3.85rem 0 var(--text-space-24) 0; display: block; width: 100%; font-weight: 500; font-size: 1.75em; line-height: 135%; }
h2 { margin: var(--text-space-27) 0 var(--text-space-15) 0; font-weight: 600; font-size: 1.35em; color: #313131; }
h3 { margin: var(--text-space-27) 0 var(--text-space-15) 0; font-weight: 600; font-size: 1.15em; }
h4 { margin: var(--text-space-21) 0 var(--text-space-9) 0; font-weight: 400; font-style: italic; font-size: 1.05em; }
h5 { margin: var(--text-space-15) 0 var(--text-space-6) 0; font-weight: 400; font-size: 1rem; }

h1 + h2,
h1 + h3,
h2 + h3,
h2 + h4,
h3 + h4,
h3 + h5,
h4 + h5
{ margin-top: 0 }

h1 + ol,
h2 + ol,
h3 + ol,
h4 + ol,
h5 + ol,
h1 + ul,
h2 + ul,
h3 + ul,
h4 + ul,
h5 + ul
{ padding-top: 0; }

ol + h2,
ul + h2
{ margin-top: var(--text-space-21); }
ol + h3,
ul + h3
{ margin-top: var(--text-space-21); }
ol + h4,
ul + h4
{ margin-top: var(--text-space-15); }
ol + h5,
ul + h5
{ margin-top: var(--text-space-9); }
.card-collection + h3
{ margin-top: var(--text-space-21); }

p { margin: var(--text-space-6) 0 0 0; hyphens: auto; }
p + p { margin: 0; text-indent: var(--text-space-21) }
.regular_text_unindented p + p { margin: 0; text-indent: 0; }
p.vertical_space { margin: var(--text-space-6) 0 0 0; text-indent: 0; }
ul + p { margin: 0; }
ol + p { margin: 0; }
li p { margin: 0; }
ol p { margin: 0; }
li p li { margin: 0; }
ol p li { margin: 0; }
ul { padding: var(--text-space-6) 0 var(--text-space-6) var(--text-space-12); margin: 0 0 0 var(--text-space-9); }
ol { padding:  var(--text-space-6) 0 var(--text-space-6) var(--text-space-12); margin: 0 0 0 var(--text-space-9); }

/*ol:first-child { padding-top: 0; }*/
/*ul:first-child { padding-top: 0; }*/
/*ol:last-child { padding-bottom: 0; }*/
/*ul:last-child { padding-bottom: 0; }*/

ul li ul,
ul li ol,
ol li ul,
ol li ol
{ padding: 0; }




article a { text-underline-offset: .2em; color: var(--color-primary-accent); }
article a { text-decoration: underline dotted transparent 1.5px; -webkit-text-decoration-color: transparent !important; -webkit-text-decoration-style: dotted !important; color: var(--color-primary-accent); font-weight: 600; }
article a:hover { text-decoration: underline dotted var(--color-primary-accent) 1.5px; -webkit-text-decoration-color: var(--color-primary-accent) !important; -webkit-text-decoration-style: dotted !important; transition: .5s; }
sup { font-size: 70%; vertical-align: .27rem; padding: 0 0 0 .1rem; line-height: 100%;}
sub { font-size: 70%; vertical-align: -.2rem; padding: 0 0 0 .1rem; line-height: 100%; }



figure {
    padding: 0;
    margin: .6rem 0 .6rem 0;
}

figcaption {
    margin: .4rem auto 1.2rem auto;
    font-size: 95%;
    text-align: center;
}

figure.w_33 figcaption,
figure.w_50 figcaption
{
    margin: .4rem auto .6rem auto;
}

figure.w_33 {
    float: left;
    width: 30%; /* Remove a bit because of the margin-right */
    clear: left;
    margin-right: 1.4rem;
}

figure.w_50 {
    float: left;
    width: 46%; /* Remove a bit because of the margin-right */
    margin-right: 1.4rem;
}

figure.w_100 {
    width: 100%;
    margin: 1rem 0;
}

figure.w_33 img,
figure.w_50 img,
figure.w_100 img {
    width: 100%;
    height: auto;
    display: block;
}

figure.w_33 video,
figure.w_50 video,
figure.w_100 video {
    width: 100%;
    height: auto;
    display: block;
}

figure.w_33 + p,
figure.w_33 + h1,
figure.w_33 + h2,
figure.w_33 + h3,
figure.w_33 + ul,
figure.w_33 + ol,
figure.w_50 + p,
figure.w_50 + h1,
figure.w_50 + h2,
figure.w_50 + h3,
figure.w_50 + ul,
figure.w_50 + ol {
    margin-top: .1rem;
}

/*.container { display: flex; flex-direction: row; flex-wrap: nowrap; box-shadow: 0 0 8px #adadad; background-color: white; !* row-gap column gap *! }*/
/*.page { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 1.5rem 4.2rem; }*/
/*.content { flex: 2 1 52%; padding: 0 0 4rem 0; }*/

.card-container { display: flex; flex-direction: column; }

.multiple_columns { display: flex; column-gap: .9rem; }
.timetable { margin: 0 0 .9rem 0; }
.timetable_time { flex-basis: 20%; min-width: 8em; text-align: right; } /* intentionally relative to font-size! */
.timetable_content { flex-basis: 80%; }
.column_25 { flex-basis: 25%; }
.column_33 { flex-basis: 33%; }
.column_50 { flex-basis: 50%; }
.column_75 { flex-basis: 75%; }

.timetable_content p:not(:first-child) { margin: .4rem 0 0 0; text-indent: unset; }

.regular_text, .regular_text_unindented { hyphens: auto; margin: 0; }

.accordion { margin: 1.5rem 0 .9rem 0; position:relative; }
.accordion-head { font-weight: 600; font-size: 1.15em; padding-left: 1.75rem; margin-bottom: .3rem; }
.accordion-head:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc. --%3E%3Cpath d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z' fill='%2324a1c3'/%3E%3C/svg%3E");
    float: left;
    width: 12px;
    padding-top: 4px;
    color: var(--color-primary-accent);
    display: block;
    position: absolute;
    top: 0; left: 0;
    cursor: pointer;
}
.accordion-active:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc. --%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z' fill='%2324a1c3'/%3E%3C/svg%3E");
    float: left;
    width: 20px;
    padding-top: 3px;
    color: var(--color-primary-accent);
    display: block;
    position: absolute;
    top: 0; left: 0;
    cursor: pointer;
}
.accordion-body { overflow: hidden; transition: max-height 0.4s ease-out; max-height: 0; padding-left: 1.75rem; }






.rubber { flex: 1 11 auto; align-self: stretch; box-shadow: 0 10px 8px #adadad; background-color: white; margin-top: -10px;}

.card { box-shadow: 0 0 6px #adadad; hyphens: auto; margin: 0 0 1rem 0; font-weight: 300; }
.card a,
.card a:hover {
    text-decoration: none !important;
    font-weight: unset;
}

.card p {
    text-indent: unset;
}

.card a:hover .default, .card a:hover .portrait   { background-color: #afafaf; transition: .5s; }
.default-outline:hover, .portrait-outline:hover { border: 1px solid #afafaf; transition: .5s; }
.card a:hover .badge { background-color: #afafaf; transition: .5s; }
.card a:hover img { filter: grayscale(100%); transition: .5s; }

.default-outline { border: 1px solid var(--color-primary-accent); }
.portrait-outline { border: 1px solid var(--color-secondary-accent); }
.ambassador-outline { border: 1px solid var(--color-tertiary-accent); }
.card-content { display: flex; align-content: space-between; flex-direction: column; min-height: 100%; }
.card-header { padding: .4rem 1rem .6rem 1rem; color: white; font-weight: 500; }
.card .default { background-color: var(--color-primary-accent); }
.card .portrait { background-color: var(--color-secondary-accent); }
.card .ambassador { background-color: var(--color-tertiary-accent); }
.card-body,
.card-body-image
{ font-family: "Open Sans Condensed", sans-serif; letter-spacing: .02em; color: #484848; min-height: 5.3rem; padding: .6rem 1rem 0 1rem; }
.card-body p, .card-text p { margin: 0; }
.card-body-image
{ display: flex; }
.card-footer { margin-top: auto;  font-family: "Open Sans Condensed", sans-serif; letter-spacing: .02em; color: #484848; padding: .6rem 1rem 1rem 1rem; display: flex; justify-content: space-between; }
.card .call-to-action { text-transform: uppercase; letter-spacing: .05em; }
.badge { background-color: var(--color-primary-accent); color: white; padding: 4px 8px 3px 8px; text-align: center; border-radius: 12px; font-size: 90%; white-space: nowrap; }
.badge.portrait { background-color: var(--color-secondary-accent); }
.badge.ambassador { background-color: var(--color-tertiary-accent); }
.additional-info-area {
    display: flex;
    gap: .6rem .5rem; /* vertical horizontal */
    margin: 1.2rem 0 3rem 0;
    flex-wrap: wrap;
}
.publication-date-row {
    margin: .1rem 1rem 0 0;
    width: 100%;
    text-align: end;
}



article .card { flex-basis: 47%; }

.card-image img { max-width: 9rem; height: 5.25rem; margin: .29rem .9rem 0 0; }

.teaser { font-weight: 500; margin: 0 0 .6rem 0; }

article .card-collection {
    display: flex;
    flex-direction: row;
    gap: 1rem 4%;
    flex-wrap: wrap;
}

article .card-collection .card {
    min-width: 48%;
    flex-basis: 48%;
}

.more { font-family: "Open Sans Condensed", sans-serif; text-transform: uppercase; letter-spacing: .03em; margin: .6rem 0 0 var(--text-space-6); }

.dynamic-collection > ul.columns_2 {
    columns: 2;
    column-gap: 1.5em;
}
.dynamic-collection > ul.columns_3 {
    columns: 3;
    column-gap: 1.2em;
}

/* Clear float environment between entries */
.dynamic-collection > div::after {
    content: "";
    display: block;
    clear: both;
}

/* Input field for data table */
.dt-container input {
    font-size: 95%;
    background-color: rgba(36, 161, 195, 0.1);
    border-radius: 3px;
    border: 1px solid var(--color-page-shadow);
    padding: .5rem .6rem;
    color: var(--color-text-menu-light);
    height: 2.2rem;
}

.dt-container input:focus
{
    border-color: var(--color-primary-accent);
    outline: none;               /* remove default blue glow */
    box-shadow: 0 0 0 3px var(--color-primary-accent);
}

.philosopher-table {
    font-size: 90%;
    margin: 2rem 0;
    font-family: "Open Sans Condensed", sans-serif;
}

.philosopher-table th {
    font-weight: 500;
}

table.dataTable tbody tr.dt-hasChild td.dt-control::before {
    border-top: 10px solid var(--color-primary-accent) !important;
    border-top-color: var(--color-primary-accent) !important;
    border-left: 5px solid transparent !important;
    border-left-color: transparent !important;
    border-bottom: 0px solid transparent !important;
    border-bottom-color: transparent !important;
    border-right: 5px solid transparent !important;
    border-right-color: transparent !important;
}


table.dataTable tbody td.dt-control::before {
    display: inline-block;
    box-sizing: border-box;
    content: "";
    border-top: 5px solid transparent !important;
    border-left: 10px solid var(--color-primary-accent) !important;
    border-bottom: 5px solid transparent !important;
    border-right: 0px solid transparent !important;
}

.philosopher-table th,
.philosopher-table td {
    text-align: left;
    vertical-align: top;
    padding: 0 .6rem;
}

.details-box {
    margin-left: 38px;
    line-height: 160%;
}

tr.philosopher-row {
    line-height: 135%;
}

.philosopher-table tr[data-dt-row] {
    /*color: red !important;*/
}

tr.philosopher-row td:nth-child(1) {
    padding-left: 0;
    width: 25px !important;
}

tr.philosopher-row td:nth-child(2) {
    min-width: 7.5em;
}

tr.philosopher-row td:nth-child(3) {
    width: 55%;
}

tr.philosopher-row td:nth-child(3) {
    min-width: 8em;
}


/* FORM*/

.form-row {
    display: flex;
    flex-direction: row;
    margin: 1rem 0;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-row select {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-row .form-col_25 {
    flex-basis: 23%;
    max-width: 23%;
    display: flex;
    flex-direction: column;
}

.form-row .form-col_33 {
    flex-basis: 31%;
    max-width: 31%;
    display: flex;
    flex-direction: column;
}

.form-row .form-col_50 {
    flex-basis: 48%;
    max-width: 48%;
    display: flex;
    flex-direction: column;
}

.form-row .form-col_75 {
    flex-basis: 73%;
    max-width: 73%;
    display: flex;
    flex-direction: column;
}

.form-row .form-col_100 {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
}

.captcha {
    margin: 1.4rem 0 1.4rem 0;
}

.form-row ul {
    list-style: none;
    color: red;
    padding: 0;
    font-size: 95%;
    line-height: 140%;
    margin: .2rem 0 0 2.8rem;
}

.required:after {
    content: '*';
    padding-left: .1rem;
    font-weight: bold;
    color: var(--color-primary-accent);
}

.form-col_25 ul,
.form-col_33 ul,
.form-col_50 ul,
.form-col_75 ul,
.form-col_100 ul {
    margin: .4rem 0 0 .6rem;
}

.form-col_25 ul li,
.form-col_33 ul li,
.form-col_50 ul li,
.form-col_75 ul li,
.form-col_100 ul li {
    display: inline;
}

.form-col_25 ul li + li,
.form-col_33 ul li + li,
.form-col_50 ul li + li,
.form-col_75 ul li + li,
.form-col_100 ul li + li {
    padding-left: .2em;
}

.captcha {
    margin: 1.4rem 0 1.4rem 0;
}

.tags {
    margin: .2rem 0 1.5rem 0;
    columns: 2;
    line-height: 145%;
    gap: 0 1.6rem;
}

.tags .choice-item {
    display: flex;
    gap: 0 1rem;
    align-items: flex-start;
    padding: .3rem 0 .3rem 0;
}

.choice-item input[type="checkbox"] {
    margin: .3em 0 0 0;
    width: 1rem;
}

.choice-item label {
    margin: 0;
}

.small-spacer {
    height: .1rem;
}

label {
    margin: 0 0 .5rem 0;
}

input[type="number"],
input[type="text"],
input[type="email"],
textarea,
select {
    font-size: 95%;
    background-color: rgba(36, 161, 195, 0.1);
    border-radius: 3px;
    border: 1px solid var(--color-page-shadow);
    padding: .5rem .6rem;
    color: var(--color-text-menu-light);
}

input[type="number"],
input[type="text"],
input[type="email"],
select {
    height: 2.2rem;
}

textarea {
    height: 6rem;
}

input[type="number"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus
{
    border-color: var(--color-primary-accent);
    outline: none;               /* remove default blue glow */
    box-shadow: 0 0 0 3px var(--color-primary-accent);
}

input[type="number"]::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder
{
    color: var(--color-text-menu-lighter);
    opacity: .8; /* Firefox fix */
}

input[type="checkbox"] {
    margin: .4rem 0 0 0;
    flex-basis: 6%;
}

input[type="checkbox"]:checked {
    accent-color: var(--color-primary-accent);
}


input[type="checkbox"] + label {
    flex-basis: 94%;
}

.form-row input[type="checkbox"] + label + .help-text {
    margin: -.5rem 0 0 6%;
    text-indent: var(--text-space-21)
}

.form-row .form_no-vertical-space {
    margin: -.5rem 0 .5rem 0;
    padding: 0;
}

.submission button {
    background-color: var(--color-primary-accent);
    border-radius: 2px;
    border: none;
    padding: .2rem .8rem .4rem .8rem;
    color: white;
    font-weight: 500;
    font-size: 1.05rem;
    font-family: "Open Sans", sans-serif;
}

.submission {
    margin: var(--text-space-30);
    text-align: center;
}

.submission button:hover {
    cursor: pointer;
    margin: 0 auto;
}



@media only screen and (max-width: 1460px)
{
    #content {
        gap: 2rem 2.6rem;
    }

    .page {
        max-width: 80.4rem;
    }
    article { width: 38rem; }

    body { font-size: 15px; }

    aside { margin: 0; font-size: .9rem; width: 18.6rem; }
    .card-image img { height: 4.8rem; }

    .menu {
        min-width: 16rem;
        max-width: unset;
    }
}

/*@media only screen and (max-width: 1330px)*/
/*{*/

/*    .card-image img { max-width: 7rem; height: 4.8rem; margin: .25rem .85rem 0 0; }*/
/*    article { max-width: 43rem; }*/
/*    .header_title { font-size: 1.7rem; }*/

/*}*/

@media only screen and (max-width: 1330px)
{
    .page {
        max-width: 66rem;
    }

    article h1 { margin: 2.5rem 0 var(--text-space-24) 0; }
    aside h2 { margin: 1.6rem 0 .9rem 0; font-size: 1.15rem; }
    .more {
        font-size: 1.05rem;
    }
    article, aside { padding: 0; margin: var(--text-space-12); }
    aside { margin-top: 0; }
    article, aside { width: unset; max-width: 42.4rem; }
    aside.minimal-sidebar { display: none; }
    .menu { min-width: 19rem; }
    .card { flex-basis: 49%; }
    .card-image img { max-width: 9rem; height: 5.25rem; margin: .29rem .9rem 0 0; }
    .card-body, .card-text { font-size: 16px; line-height: 145%; }
    #content { flex-direction: column; max-width: 66rem; gap: 0 1rem; }
    aside .card-collection {
        display: flex;
        flex-direction: row;
        gap: 1.2rem 2%;
    }
    body {
        font-size: 17px;
    }

    .down-to-medium { display: none; }
    .balancing-item { display: block; }
}

@media only screen and (max-width: 1060px)
{
    .menu { min-width: 18rem; }
    aside { font-size: .9rem; }
    .card-image img { max-width: 7rem; height: 4.8rem; margin: .25rem .85rem 0 0; }
    .dynamic-collection > ul.columns_2 {
        columns: 1;
    }
    .dynamic-collection > ul.columns_3 {
        columns: 2;
    }
}



@media only screen and (max-width: 990px)
{
    body {
        min-height: 100dvh;
        overflow-x: hidden;
    }
    .page {
        min-height: 100dvh;

    }
    #content {
        /*background-color: blue; */
        margin: var(--text-space-15) auto var(--text-space-30) auto;
        font-size: 20px;
    }

    header { min-height: 3.6rem; position: fixed; top: 0; left: 0; width: 100%;}
    #mobile-footer { display: block; }
    #desktop-footer { display: none; }
    .footer-column { flex-basis: unset; }

    .menu { display: none; }
    .off-canvas { display: block; }
    .mobile-menu-button { display: block; }
    .header_title { font-size: 1.6rem; margin: .8rem auto; }
    article, aside, aside.minimal-sidebar {
        margin: 0 var(--text-space-24);
    }
    aside {
        font-size: 1.15rem;
        max-width: unset;
    }
    aside h2, aside.minimal-sidebar h2 {
        margin: 2.6rem 0 1.3rem 0; font-size: 1.25rem;
    }
    .more {
        font-size: 1.25rem;
    }
    article {
        line-height: 1.6em;
        max-width: unset;
    }
    .swip-logo { visibility: hidden; width: 50px; height: 0; }
    .balancing-item { width: 50px; height: 0; }

    .choice-item input[type="checkbox"] {
        margin: .4em 0 0 0;
    }

    article h1 {
        text-align: center;
    }

    .card-body, .card-text { font-size: 18px; }
    .card-image img { height: 6rem; margin-right: 1.2rem; }
}

@media only screen and (max-width: 920px) {
    aside {
        font-size: 1.05rem;
    }

    .form-row .form-col_33 {
        min-width: 70%;
        flex-basis: 70%;
    }

    textarea {
        height: 8rem;
    }

    .form-row  > * {
        margin-top: 1rem;
    }

    .form-row > label + .help-text {
        margin-top: 0 !important;
    }

    input[type="checkbox"] {
        margin: 1.6rem 0 0 0;
        flex-basis: 12%;
    }

    input[type="checkbox"] + label {
        flex-basis: 88%;
    }

    .form-row input[type="checkbox"] + label + .help-text {
        margin: -.5rem 0 0 12% !important;
    }
}

@media only screen and (max-width: 860px) {
    aside {
        font-size: .95rem;
    }

    .form-row .form-col_50,
    .form-row .form-col_75 {
        /*width: 100%;*/
        flex-basis: 100%;
        max-width: unset;
    }

    .form-row .form-col_25,
    .form-row .form-col_33 {
        /*min-width: 100%;*/
        flex-basis: 100%;
        max-width: unset;
    }

    .tags {
        columns: 1;
    }
}

@media only screen and (max-width: 800px)
{
    .card-body { min-height: 6.1rem; }

    .header_title { font-size: 1.6rem; }

    figure.w_33, figure.w_50 { float: none; width: 100%; margin: 1.2rem auto; }

    .dynamic-collection > ul.columns_3 {
        columns: 1;
    }
}

@media only screen and (max-width: 720px)
{
    aside .card-collection,
    article .card-collection
    {
        flex-direction: column;
    }
    aside {
        font-size: 1.3rem;
        margin: 0 var(--text-space-15);
    }
    article {
        margin: 0 var(--text-space-15);
    }
    .card-image img { height: 5.3rem; margin-right: 1.2rem; }

    .form-row  > :not(:first-child) {
        margin-top: 1.6rem;
    }

    input[type="checkbox"] {
        margin: 2.2rem 0 0 0;
    }

    .form-row select {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: wrap;
    }
}

@media only screen and (max-width: 606px)
{
    #content {
        font-size: 16px;
    }
    .page {
        margin-top: var(--text-space-9);
    }
    article, aside {
        margin: 0 var(--text-space-12);
    }
    article h1 { margin: 1.8rem 0 var(--text-space-21) 0; }

    aside { font-size: 1.1rem; }

    aside .card,
    article .card
    { flex-basis: 100%; }

    aside .card-collection,
    article .card-collection
    { gap: 0; }

    header { min-height: 3rem; }
    .header_title { font-size: 1.3rem; margin: .7rem auto; }

    .multiple_columns { flex-direction: column; }
    .timetable { margin: 0 0 .6rem 0; }
    .timetable_time { flex-basis: 100%; text-align: left; font-weight: 600; }
    .timetable_content { flex-basis: 100%; }
    .timetable_content > p:first-child { margin-top: 0; }

    .choice-item input[type="checkbox"] {
        margin: .3em 0 0 0;
    }

    input[type="checkbox"] {
        margin: 2rem 0 0 0;
    }


}

@media only screen and (max-width: 536px)
{
    article, aside {
        padding: 0;
    }
    aside h2 {
        margin-left: var(--text-space-6);
    }
    .card-image img { max-width: 7em; height: 5.3em; margin: .3em 1rem 0 0; }
}

@media only screen and (max-width: 420px)
{
    aside { font-size: 1rem; }
    .card-image img { max-width: 7em; height: 5.3em; margin: .3em 1rem 0 0; }
}

@media only screen and (max-width: 360px)
{
    .container { padding: 0 .6rem; }
    aside { margin: 0 var(--text-space-6) 2.2rem var(--text-space-6); }
    .card-image img { max-width: 7em; height: 5.3em; margin: .3em 1rem 0 0; }
}

html {
    visibility: visible;
    opacity: 1;
}
