/* ============================================================
   custom.css  —  NK base styles (ALL domains)
   Consolidated 2026-06-21 (Phase 4c): merged from custom-edit.css (superset)
   + span.value rule. Fonts live in custom-at.css / custom-au.css.
   C5 selector migration: content-* added alongside legacy ce_*/image_container
   (grouped -> works on Contao 5 AND 4.13).
   ============================================================ */
/* PRINT LAYOUT — ans Dateiende verschoben (oben wurde der Block im kombinierten CSS nicht
   geparst — Combine-Parse-Quirk; am Ende, in der „erholten" Parser-Zone, greift er). */

/* body > .page: NUR der echte Seiten-Wrapper bekommt den Footer-Hügel-Background.
   Schutz gegen Klassen-Kollision: ein versehentliches class="page" im Content-Text
   (verschachteltes .page) darf den Hügel NICHT erben (sonst grüner Hügel mitten im Content). */
body > .page {
    background: #ffffff url("/files/tao/img/bottom-slash.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100%;
}

.header-bar {
	zoom: 1;
	border-bottom: 1px solid #dedede;
	font-size: 0.8125em;
	background: linear-gradient(135deg, #006666, #008888);
}

/* Social Icons: Hintergrundfarbe #006666 entfernen */
.header-links.-secondary a:before {
  background: rgba(0,0,0,0.4) !important;
}

.main-content fieldset,
.main-content form,
.main-content p,
.main-content table,
.sidebar p {
    margin-top: .5em;
    margin-bottom: .5em;
}

.main-content h2 {
    color: #808218;
}

.levels .main-content .boxen h2 {
    margin: 0.3em 0;
    padding: 10px 0;
}

/* Diplomseite ohne Intro */
.diplseite .diplintro {
	display:none;
}

.borderless .image_container,
.borderless .content-image {
    padding: 0;
}

.graustufen img {
    filter: grayscale(100%);
}

.waerme img {
	filter: sepia(10%) saturate(120%) brightness(103%);
}



/* Catalog Manager */
.cm_listing.default {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cm_table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 30px;
}

.cm_row {
    display: table-row;
}

.cm_column {
    display: table-cell;
    padding: 8px;
    border: 1px solid #ddd;
}

.cm_row:first-child .cm_column {
    font-weight: bold;
    background-color: #efefef;
    text-align: left;
}

.cm_row:nth-child(even):not(:first-child) .cm_column {
    background-color: #f5f5f5;
}


/** .footer-links {
	float: left;
}**/
.footer-copyright {
	padding-bottom: 80px;
}

/* margin-bottom:0; */

/* 
  margin-top: 0.75em;
  font-size: 1.4em;
} -- makes trouble at Downloads */

.main-content h3 {
    /* margin-top: 1em; */
    color: #808285;
    /* font-size: 16px;*/
    font-weight: 400;
}

.main-content h4 {
    color: #808285;
    font-weight: bold;
}

/* h2.ce_headline {margin-bottom: 0.3em;}*/

.main-content .ce_text ul,
/* h2.ce_headline {margin-bottom: 0.3em;}*/

.main-content .content-text ul,
.main-content .ce_downloads ul,
.main-content .content-downloads ul {
    list-style-type: none;
    padding-left: 3px;
}

.main-content .ce_text ul li,
.main-content .content-text ul li,
.main-content .ce_downloads ul li,
.main-content .content-downloads ul li {
    text-indent: -9px;
    margin-left: 11px;
}

.main-content .ce_text ul li:before,
.main-content .content-text ul li:before,
.main-content .ce_downloads ul li:before,
.main-content .content-downloads ul li:before {
    font: 16px/1 "RockSolid Icons";
    content: "\e00b";
    display: inline-block;
    position: relative;
    margin-right: 1px;

}

/* Downloads OHNE Aufzählungspfeil: das PDF-/Mime-Icon dient bereits als Marker und sieht besser
   aus (User-Entscheid 2026-06-23). Nur Download-Listen; Text-Listen behalten den Pfeil. Indent
   zurücksetzen, damit das Icon links bündig sitzt. */
.main-content .ce_downloads ul li:before,
.main-content .content-downloads ul li:before {
    content: none;
}
.main-content .ce_downloads ul li,
.main-content .content-downloads ul li {
    text-indent: 0;
    margin-left: 0;
}

p.confirmation,
p.information,
p.warning,
div.confirmation,
div.information,
div.warning,
span.confirmation,
span.information,
span.warning {
    margin: 0;
}

p.tl_info {
    background-color: #fbeeb8;
    border: 2px solid;
    border-color: #808218;
    padding: 5px;
}

.displaynone {
    display: none;
}

/* Kurs ausgebucht */
.event-fully-booked {
    background-color: #fbeeb8;
    border: solid 2px #ffeb97;
    padding: 10px;
}

/* Wenn .empty vorhanden ist, verstecke die nachfolgende Tabelle und die Fußnote (Claude) */
.mod_eventlist .empty + table.eventtable,
.mod_eventlist .empty + table.eventtable + div {
    display: none;
}
/* Abstand nach der "keine Termine"-Meldung */
.mod_eventlist .empty {
    margin-bottom: 20px;
}


.placesleft {
    background-color: #fbeeb8;
    border: solid 2px #ffeb97;
    padding: 3px 7px;
}

p.information,
div.information,
span.information {
    color: #006666;
}

div.information {
    background-color: #fafafa;
}

div.information::before {
    background-color: #006566;
}

.button + .courseprice {
	display:none;
}

.button.-tertiary {
	text-shadow: 0 0px 0 #cdcdcd;
}

.alignright {
	text-align: right;
}

.video_container,
.content-youtube {
    max-width: 630px;
    margin: 20px 0; /* = prod .video_container; C5 .content-youtube bekam sonst margin:0 */
}
/*
Youtube Modul Responsive 
.ce_youtube .ytwrapper {
 position: relative;
 width: 100%;
 height: auto;
 padding-bottom: 56.25%;
}
 
.ce_youtube iframe {
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 width: 100%;
 height: 100%;
}
*/

/*
.ce_youtube .yt_wrapper {
  position: relative;
  padding-bottom: 56%;
  padding-top: 0px;
  height: 0px;
  overflow: hidden;
  cursor: pointer
  width: 100%;
}

.ce_youtube .yt_wrapper figure img,.ce_youtube .yt_wrapper iframe,.ce_youtube .yt_wrapper object,.ce_youtube .yt_wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%
}
*/

/* folgt direkt auf information: Bild hinzugefügt in Event-Details (teaser) */
.information + .image_container.float_left,
/*
Youtube Modul Responsive 
.ce_youtube .ytwrapper {
 position: relative;
 width: 100%;
 height: auto;
 padding-bottom: 56.25%;
}
 
.ce_youtube iframe {
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 width: 100%;
 height: 100%;
}
*/

/*
.ce_youtube .yt_wrapper {
  position: relative;
  padding-bottom: 56%;
  padding-top: 0px;
  height: 0px;
  overflow: hidden;
  cursor: pointer
  width: 100%;
}

.ce_youtube .yt_wrapper figure img,.ce_youtube .yt_wrapper iframe,.ce_youtube .yt_wrapper object,.ce_youtube .yt_wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%
}
*/

/* folgt direkt auf information: Bild hinzugefügt in Event-Details (teaser) */
.information + .content-image.float_left {
    margin: 1em 2.84615% 1em 0;
}
.information + .image_container.float_right,
.information + .content-image.float_right {
    margin: 1em 0 1em 2.84615%;
}

/*
.videowrapper {
    position: relative;
    padding-bottom: 56.25%;
    16:9 
    padding-top: 25px;
    height: 0;
}

.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/

.fixedposition {
    position: fixed;
    overflow-y: scroll;
    height: 350px;
    width: 330px;
}

.centered {
    text-align: center;
}

/* Video zentriert Option */
/* 1. Haupt-Wrapper: Zentriert die Überschrift und den Block als Ganzes */
.video-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Zentriert den Text der Überschrift */
}

/* 2. Der Video-Container (figure in 5.3 / video_container in 4.13) */
.video-centered figure,
.video-centered .video_container {
    width: 100%;
    /* WICHTIG: Hier musst du festlegen, wie breit das Video maximal sein darf,
       sonst nimmt es 100% ein und eine Zentrierung ist gar nicht sichtbar */
    max-width: 640px;
    margin: 0 auto !important; /* Zentriert den Block an sich */
}

/* C5: der Container selbst ist .content-youtube (4.13 = .video_container) und erbt aus der
   Basisregel margin:20px 0 = linksbündig. .video-centered muss den Container ZENTRIEREN
   (in 4.13 war das zentrierte Element direkt .video_container). margin:auto auf dem
   Flex-Container zentriert ihn in der Hauptspalte; top/bottom (20px) bleibt erhalten. */
.content-youtube.video-centered {
    margin-left: auto;
    margin-right: auto;
}

/* 3. Videounterschrift zentrieren */
.video-centered figcaption,
.video-centered .caption {
    text-align: center;
    display: block;
    margin-top: 10px;
}

.csstab {
   min-width: 80px;
   display: block;
   float: left;
}

.spacetop {
    padding-top: 5px;
}

.dateleft {
   min-width: 260px;
   display: block;
   float: left;
}
.infolabel {
    font-weight: bold;
}


p.externaleventlink {
    clear: both;
    font-weight: bold;
}
span.externaleventlink {
    background-color: yellow;
}

/* Keine h3 Überschrift bei Kursbeschreibung in eventreader */

.mod_eventreader .anker h3:first-child {
    display: none;
}

/* externe Links mit Icon versehen */
.main-content a[target=_blank]:after {
    font: 0.8125em/1 "RockSolid Icons";
    content: "\e151";
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    text-indent: 0;
    display: inline-block;
    position: relative;
    margin-left: 0.25em;
}
.main-content .image_container a[target=_blank]:after,
.main-content .content-image a[target=_blank]:after {
    content: none;
}

/* Formularfelder zweispaltig mit float */

div.float1,
div.float2 {
    float: left;
    clear: none;
}

@media screen and (max-width: 599px) {

    div.float1,
div.float2 {
        width: 50%
    }
}

@media screen and (min-width: 599px) {

    div.float1,
div.float2 {
        width: 37.50%
    }
}

input.float1,
input.float2 {
    width: 100%
}

div.float1 {
    padding-right: 10px;
}

div.float2 {
    padding-left: 10px;
}



/* ELEMENTS */

.downloads-no-border {
    padding: 0;
    margin: .5em 0;
    border: 0;
    text-indent: -1.4em;
}
.downloads-no-border ul li:before {
content: "";
}

.ddate,
.dsize {
    font-size: xx-small;
}

.ce_downloads h2,
.content-downloads h2 {
    color: #efefef;
}

.smalltext {
    font-size: 12px;
}

/* Zurücksymbol bei Button "Zurück" */
.back a:before,
.previous a:before,
.next a:after {
    top: 0;
}

/* Zurück nicht anzeigen vor Anmeldeformular */
.eventend + .back {
    display: none;
} 

/* 3-spaltige boxen deko für Desktop */

.boxen {
    border: 1px solid #b2b9c4;
    background-color: #efefef;
    padding: 0 3%;
}

.boxen h3 {
    color: #006666;
    font-size: 18px;
    margin: 8px 0;
}

.boxen a,
.boxen p,
.boxen li {
    color: #000;
}

#graybg {
    background-color: #f9f9f9;
}

/* Boxen für Desktop */
@media screen and (min-width: 599px) {

    /* .tao-no-sidebar .rs-column {
  margin-right: 2%;
}
/* .tao-no-sidebar .rs-column.-large-col-3-1 {
  width: 31.66667%;
} */

    .header-navigation {
        background-color: #fafafa;
    }

    .header-navigation-inner {
        height: 96px;
    }

    .main-navigation>ul>li>a {
        font-size: 0.95em; /*.95em;*/
    }

    .sidebar form label {
        display: inline;
    }

    .sidebar form {
        margin: 1em 0 0 .3em;
    }

    .sidebar h1,
    .sidebar h2,
    .sidebar h3,
    .sidebar h4 {
        font-size: 1.1em;
    }

    .ce_page_teaser,
    .ce_teaser {
        cursor: pointer;
    }

    .eventtable td.title {
        font-weight: 500;
    }

    .eventtable table th {
        font-size: 18px;
    }

    .instrcol {
        min-width: 170px;
    }
    .location {
    	max-width: 200px;
    }
}
    /* RESPONSIVE ADJUSTMENTS */
    /* Responsive Event Table */
    
    
@media screen and (max-width: 599px) {
        .instrcol {
            display: none;}
        th.hours, td.hours { 
        	display: none;}
        .infoboxnobreak {
        	clear:both;
        }
    }

@media screen and (min-width: 599px) {
        .instrloc {
            display: none;
        }

        /* Mailchimp Formular im Desktop-Mode begrenzen
        #mc_embed_signup form {
            max-width: 450px;
        } */
    }


    /* GLOBAL ELEMENTS */

    /* Table Shade */
    tr:nth-child(even) {
        background: #efefef;
    }

    tr:nth-child(odd) {
        background: #fff;
    }

    /* other */

    hr,
.headline-hr:before,
.headline-hr:after {
        margin: 1em 0;
    }

    .topline {
        border-top: 1px solid #efefef;
    }

    .textwidth p {
        max-width: 35em;
    }

    .main-content label {
        font-size: 0.95em;
    }

    /* Specific Page Formatting */
    #home-about-nk-international-accreditation ul>li {
        list-style: none;
    }


    /* Custom Class Definitions */

    .nrt-logo img {
        max-width: 12em;
        margin-top: 0.3em;
    }

    .price {
        display: inline;
    }

    .event_int .price {
        display: none;
    }

    .course_desc ul {
        margin-bottom: 0;
    }

    .course_desc h3 {
        margin-top: 1.1em;
    }

    /* ANCHOR NAVIGATION */

    /* Course Descriptions: jump menu layout */

.anchornavi {
  /* font-family: 'News Cycle', sans-serif;
    font-size: 15px;
    clear: none; 
    float: right;
    margin: 1em;*/
    padding: 1em;
    border: solid 1px #ddd;
    /*list-style-type: square;*/
    width: 315px;
}

.floatright {
    float: right;
    margin-left: 10px;
}

/*
aside.sidebar {
    background-color: #fafafa;
    border: 3px solid #191717;
    box-shadow: 5px 5px 0 #f09;
    box-sizing: border-box;
    padding: 20px;
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
}
*/


/* Corrects menu overlay after anchor jump, insert <a class="anker" id="name">
@media screen and (min-width: 899px) {
   #descriptions .ce_headline {
    display: block;
    position: relative;
    top: -50px;
    }  
    #descriptions .ce_headline {
    	display: block;
        position: relative;
    	bottom: 50px;
    }
    #agbs .anker {
    	top: 0px;
    }
*/

    /* Anchornavi am Desktop in der linken Spalte, am Telefon im Hauptartikel */
    .hideondesktop {
        display: none;
    }

    /* alternativ ins CSS feld des Elements eintragen */

    .anker {
        /*margin-top: -45px;
        padding-top: 45px;
      border-top: 45px solid transparent;
      margin-top: -45px;
      -webkit-background-clip: padding-box;
      -moz-background-clip: padding;
      background-clip: padding-box;
    }*/


}

/* Ende Desktop */

@media screen and (max-width: 599px) {

    .anchornavi {
        font-size: 16px;
        max-width: 100%;
    }

}


/* other custom */

.nk_institutes {
    padding: 0;
    margin: 0;
    border: 0;
    text-indent: -1.4em;
}

.nk_institutes ul li:before {
content: "";
margin-left: -7px;
margin-bottom: 0;
}

.nk_institutes img {
    padding: 0;
}


/* Pdf Download Icon */

.main-content ul li[data-icon]:before {
    color: #9f006e;
}


/** Images **/

/** Images: Padding auf die <figure> (C5: .content-image ist der Wrapper, nicht die
    figure). Frueher .image_container (=figure in 4.13) -> auf Wrapper wuerde es den
    Rahmen-Abstand verdoppeln. (Fix 2026-06-21) **/
.content-image > figure,
.content-gallery figure {
    padding: .4em;
}


.image_container.float_left,
.content-image.float_left {
    float: left;
    margin: .5em 3.25% 1em 0;
}

.image_container.float_left,
.content-image.float_left {
    float: left;
    margin: .5em 3.25% 1em 0;
}

@media screen and (max-width: 599px) {
  .image_container.float_right,
.content-image.float_right {
    /* float: right; */
    margin: .5em 0 1em 0;
}
}

@media screen and (min-width: 599px) {
  .image_container.float_right,
.content-image.float_right {
    float: right;
    margin: .5em 0 1em 3.25%;
}

/* Images */
.tao-no-sidebar .image_container.float_left,
/* Images */
.tao-no-sidebar .content-image.float_left {
    margin: 0.5em 2.84615% 1em 0;
}
.tao-no-sidebar .image_container.float_right,
.tao-no-sidebar .content-image.float_right {
    margin: 0.5em 0 1em 2.84615%;
}

}

#noborder .image_container,
#noborder .content-image {
    padding: 0;
    border: 0;
    display: inline;
}

/* CONTENT SLIDER */

/* Slider-Button */

.slider-control .slider-next,
.slider-control .slider-prev {
    min-width: 6em;
    padding: 0.4em;
    text-align: center;
    border: 1px solid;
    border-color: #ddd;
    outline: none;
    /* entfernt gepunktete Linie nach Klick */
    text-decoration: none;
    display: block;
    background-color: #eee;
}

.slider-control .slider-next:hover,
.slider-control .slider-prev:hover {
    background-color: #efefef;
}

@media screen and (max-width: 780px) {
    .slider-control .slider-menu b {
        font-size: .7em;
    }
}

@media screen and (max-width: 520px) {
    .slider-control .slider-menu b {
        font-size: .5em;
    }
}


/* Search Button */
.main-navigation-search button {
    background-color: #efefef;
}


/** BLOG **/

.layout_latest h2 {
    padding: .1em .3em;
    /* background-color: #efefef;
  border-radius: 5px; */
    border-bottom: 1px solid #ddd;
}

.layout_latest .teaser {
    padding-left: .3em;
}

.layout_latest .more {
    /* width           : 7.5em; --> original getippt, padding nicht zu kombinieren mit width
  padding         : .3em; */
    padding: .3em .5em;
    /* Design-Kontrolle*/
    text-align: center;
    background-color: #efefef;
    border-radius: 4px;
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
}


/* jQuery TOC */

#toc {
    float: right;
    font-size: 10pt;
    width: 200px;
    padding: 10px 10px 10px 20px;
    background: #efefef;
    border: solid 1px #ddd;
    margin: 0 0 10px 15px;
}



/* Events */

/* reginfo calendar extended */
.reginfo {
    display: none;
}

.reginfotext {
    display: none;
}

.calendar td {
    padding: 5px;
    height: 100px;
}

.calendar .head {
    text-align: center;
}

.calendar .label {
    width: 14.25%;
    font-size: 0.75em;
}

.calendar .header {
    font-size: 0.75em;
    background-color: #efefef;
    padding-left: 3px;
}

.calendar .empty .header {
    background-color: #fff;
}

.calendar .today .header {
    background-color: #9f111b;
    color: #fff;
    font-weight: 700;
}

.calendar .event {
    margin: 3px 0;
    line-height: 1.1;
}

.calendar .event a {
    font-size: 1em;
}

.minicalendar .head,
.minicalendar .label,
.minicalendar td {
    text-align: center;
}

.minicalendar .active {
    background: #9f111b;
}

.minicalendar .active a,
.minicalendar .active a:visited {
    color: #fff;
}

.layout_upcoming {
    padding: 1em 0.25em;
    border-bottom: 1px solid #ccc;
}

.layout_upcoming.odd {
    background: #efefef;
}


/** responsive iframe **/

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    /* ratio 16x9 */
    height: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ce_text,
.content-text,
.ce_headline,
.content-headline {
    clear: both;
}

/* Float löschen (und Padding entfernen) */
.clearboth,
.clear {
    clear: both;
}    

/* Float löschen (und Padding entfernen) */


.clearnone,
.teaser {
        clear: none;
    }

.nofiledate .ddate {
     display: none;
}

.ce_downloads a[target=_blank]:after,
.content-downloads a[target=_blank]:after {
    display: none;
}


@media screen and (max-width: 599px) {
.infolabel {
    font-size: 15px !important;
}
.infovalue {
    font-size: 15px !important;
}
}

.buttons-untereinander {
  display: block;
  margin-bottom: 0.5rem;
  width: 400px;
  text-align: left;
}

/* preserved from legacy minified custom.css */
span.value { display: none; }

/* ============================================================
   Phase 4c — C5/Tao-1.6.6 visual fixes (2026-06-21)
   ============================================================ */

/* Logo: Tao 1.6.6 changed the .logo inset to top/bottom 17.5% (main.css:2671)
   -> absolute container only 62.4px tall AND sitting ~12px too low; the logo img
   (height:100% of container) renders 105px. Prod (Tao 1.5.18) used ~5% inset ->
   86.4px container -> 145x86 at y42. Fix the CONTAINER inset to match prod; Tao's
   own `.logo img{height:100%;width:auto}` then fills it correctly (145x86). */
.logo {
    top: 5%;
    bottom: 5%;
}

/* Base line-height: Tao 1.6.6 sets html `font:16px/1.5625` (main.css:102) -> body
   line-height 25px. Prod (Tao 1.5.18) = 1.4 -> 22.4px. Match prod. */
body {
    line-height: 1.4;
}

/* Compact content tables (User-Wunsch 2026-06-21): Tao-Default 0.375em 0.625em
   (= 6px 10px) ist zu luftig. Kompakter; greift auf eventtable + content-Tabellen. */
.main-content table th,
.main-content table td,
.eventtable th,
.eventtable td {
    padding: 3px 8px;
}

/* Bild-Rahmen = prod image_container. Tao 1.6.6 (main.css:4137-4139) gibt
   `.media > figure`/`.content-image > figure`/gallery-figures 0.75em padding,
   border #b2b9c4, radius 2px. Prod = 0.4em / #d6d6d6 / 3px. Zentral angleichen
   (gilt für gefloatete UND nicht-gefloatete Text-Element-Bilder). Standalone
   `.content-image`-figure ist bereits via Recolor gerahmt. */
.main-content .media:not(.no-border) > figure,
.main-content .content-image > figure,
.main-content .content-gallery figure {
    padding: 0.4em;
    border-color: #d6d6d6;
    border-radius: 3px;
}
.main-content .media > figure figcaption,
.main-content .media > figure .caption {
    color: #666666;
}

/* Box-Überschriften: Recolor `.main-content h3{1.2em}` (lädt zuletzt) überschreibt
   gleichspezifische Tao-Box-h3-Größen -> auf homepage icon-boxes h3 16.8 statt 21px.
   Mit `.main-content`-Präfix (höhere Spezifität) auf prod-Wert (1.5em) zurück. */
.main-content .icon-boxes-item h3,
.main-content .counter-boxes-item h3,
.main-content .rotating-boxes-item-content h3,
.main-content .news-list-boxed-item h3 {
    font-size: 1.5em;
}

/* Gefloatete Content-Bilder in C5: das Text-Element-Bild rendert als klassenloses
   `.media--right/left > figure` -> bekommt Tao-1.6.6-Defaults aus main.css statt der
   NK-`.image_container`-Werte (prod). Hier auf die prod-Werte zurückgeholt:
   - Breite: Tao `width:37.5% !important` (main.css:4264) -> auto (= Naturgröße, prod)
   - Padding: Tao `0.75em`=12px (main.css:4137) -> 0.4em=6.4px (prod image_container)
   - Margin: Tao `1.5em 0 1.125em 6.25%` (main.css:4265) -> .5em/1em/3.25% (prod)
   main.css bleibt pristine; das ist der NK-Override. Mobile (<600) = Tao-Regel (auto/float:none). */
@media screen and (min-width: 600px) {
    .main-content .media--right > figure,
    .main-content .media--left > figure,
    .main-content .image_container.float_right,
    .main-content .image_container.float_left,
    .main-content .content-image.float_right,
    .main-content .content-image.float_left {
        width: auto !important;
        /* padding/border/radius via central frame rule above (respects .no-border) */
    }
    .main-content .media--right > figure,
    .main-content .image_container.float_right,
    .main-content .content-image.float_right {
        margin: 0.5em 0 1em 3.25%;
    }
    .main-content .media--left > figure,
    .main-content .image_container.float_left,
    .main-content .content-image.float_left {
        margin: 0.5em 3.25% 1em 0;
    }
}

/* nk-anwender Catalog-Tabelle smartphone-tauglich (2026-06-21): <=600px gestapelte Karten
   statt 5-Spalten-Tabelle. Feste Spaltenreihenfolge (Level/Vorname/Nachname/Ort/Land) ->
   Labels via nth-child. Nur AT (deutsch) live. */
@media screen and (max-width: 600px) {
    .cm_table { display: block; }
    .cm_table .cm_row { display: block; border: 1px solid #ddd; border-radius: 4px;
        margin-bottom: 12px; padding: 6px 12px; background: #fff; }
    .cm_table .cm_row:first-child { display: none; }
    .cm_table .cm_row:nth-child(even):not(:first-child) .cm_column { background: none; }
    .cm_table .cm_column { display: block; border: none; padding: 3px 0; }
    .cm_table .cm_column::before { font-weight: bold; color: #006666; margin-right: .4em; }
    .cm_table .cm_column:nth-child(1)::before { content: "Level:"; }
    .cm_table .cm_column:nth-child(2)::before { content: "Vorname:"; }
    .cm_table .cm_column:nth-child(3)::before { content: "Nachname:"; }
    .cm_table .cm_column:nth-child(4)::before { content: "Ort:"; }
    .cm_table .cm_column:nth-child(5)::before { content: "Land:"; }
}

/* ===== nk-anwender Seite: kompaktes Suchformular + Tabellen-Filter/Sort (2026-06-21) ===== */
/* Kompaktes Suchformular (gescoped via cssID nk-anwender-search) */
.nk-anwender-search { max-width: 720px; }
.nk-anwender-search .formbody {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; align-items: end;
}
.nk-anwender-search .widget { margin: 0 !important; float: none !important; width: auto !important; }
.nk-anwender-search .widget-select.select:not(.float1):not(.float2),  /* Level (volle Breite) */
.nk-anwender-search .widget-submit { grid-column: 1 / -1; }
.nk-anwender-search .widget-submit { justify-self: start; margin-top: 2px !important; }
.nk-anwender-search .widget label { display: block; margin: 0 0 3px; font-size: .9em; font-weight: 600; color: #444; }
.nk-anwender-search .widget input.text,
.nk-anwender-search .widget select { width: 100%; box-sizing: border-box; }
.nk-anwender-search .widget-submit button { width: auto; }

/* Live-Filter-Toolbar über der Tabelle */
.cm-toolbar { margin: 10px 0 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cm-filter { flex: 1 1 280px; max-width: 420px; padding: 8px 12px; border: 1px solid #d6d6d6;
    border-radius: 4px; font-size: 1em; box-sizing: border-box; }
.cm-filter:focus { outline: none; border-color: #009a9a; box-shadow: 0 0 0 2px rgba(0,154,154,.15); }
.cm-count { color: #717c8e; font-size: .9em; white-space: nowrap; }

/* Sortierbare Spaltenköpfe (Desktop) */
.cm_table .cm-head .cm_column { cursor: pointer; user-select: none; }
.cm_table .cm-head .cm_column:hover { color: #006666; }
.cm_table .cm-head .cm_column[data-sortdir]::after { content: " \25B2"; font-size: .7em; color: #009a9a; }
.cm_table .cm-head .cm_column[data-sortdir="desc"]::after { content: " \25BC"; }

/* Mobile: Filter-Toolbar bleibt; Kopfzeile ist (via vorhandener Regel) ausgeblendet */
@media screen and (max-width: 600px) {
    .cm-toolbar { flex-direction: column; align-items: stretch; }
    .cm-filter { flex: none; width: 100%; max-width: none; } /* sonst wird flex-basis zur Hoehe */
}

/* nk-anwender Map: Container vor Consent nicht 400px leer reservieren (Höhe kommt per JS beim Laden).
   Der Consent-Button steht kompakt; nach Klick expandiert die Map. (2026-06-21) */
.map-view.gmap { margin: 6px 0 18px; }
.map-view.gmap > button { display: inline-block; }

/* ============================================================================
   Form-Dropdowns ans Feld-Design angleichen (2026-06-23, User-Wunsch, GLOBAL/custom).
   Die <select> waren nativ/ungestylt (grau #efefef, dünner #767676-Rand, 26px hoch, eckig) und
   passten nicht zu den Text-/Textarea-Feldern. Die Tao/Recolor-Regeln stylen nur input+textarea,
   NICHT select. Hier select angleichen: 1px #d6d6d6 / radius 4px / weiß / gleiche Höhe+Padding wie
   Textfelder; eigener Dropdown-Pfeil, da appearance:none den nativen entfernt. Gilt alle Bäume. */
.widget select,
.widget-select select,
.main-content form select,
select.select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: 0.875em;        /* = Textfeld (0.875 × 17px-Kontext = 14.875px), nicht der native 17px */
    line-height: normal;
    color: inherit;
    box-sizing: border-box;    /* Breite kommt aus Tao main.css .main-content select{width:75%} (+ Mobile 100%) */
    margin: 0;
    padding: 12.75px 40px 12.75px 20px;   /* vertikal = Textfeld (-> 46px hoch); rechts Platz fuer Pfeil */
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    background-color: #fff;
    /* eigener Chevron-Pfeil (SVG inline), grau passend zum Theme */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666666' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    cursor: pointer;
}
/* Kein eigener Teal-Fokusrand (war als „grünes Artefakt" sichtbar) — Select fokussiert wie die
   Textfelder (Browser-Default). IE/Edge-Legacy: nativen Pfeil ausblenden (appearance greift dort nicht) */
.widget select::-ms-expand,
select.select::-ms-expand { display: none; }

/* ===== PRINT LAYOUT (ans Dateiende verschoben, s.o.) ===== */
@media print {

    .aside,
    .centered-wrapper,
    .fixed-note,
    .fixed-note-closed,
    .footer,
    .footer-top-link,
    .header,
    .header-bar,
    .header-navigation,
    .header-navigation-inner,
    .sidebar,
    .tagline,
    .tagline-inner,
    #__replain_widget,
    #nk-launcher,
    #nk-panel {
        display: none !important;
    }

    .main-content {
        width: 100%;
        margin-top: 0;
    }

    /* Druck kompakter/übersichtlicher: kleinere Schrift + engere Tabellen + kleinere Überschriften */
    p,
    ul,
    li,
    td,
    th {
        font-size: 10px;
        line-height: 1.25;
    }

    .main-content h1 { font-size: 17px; }
    .main-content h2 { font-size: 13px; margin: .4em 0 .2em; }
    .main-content h3 { font-size: 11px; margin: .3em 0 .15em; }

    .main-content table th,
    .main-content table td,
    .eventtable th,
    .eventtable td {
        padding: 2px 6px;
    }
}
