body {		overflow-x: hidden !important; overflow-wrap: break-word;}
.corp-container { max-width: 1580px; }

body, input, optgroup, select, textarea, label, .archive .taxonomy-description  {   font-size: 20px;   line-height: 1.7; }
button { font-size: 20px; line-height: 1.2em }
h1, h1.entry-title, .archive .page-title {  font-size: 40px; }
h2 {  font-size: 36px; }
h3, h3.entry-title {  font-size: 32px; }
h4 {  font-size: 28px; }
h5 {  font-size: 24px; }
h6 {  font-size: 22px; }
h1, h1.entry-title, h2, h3, h3.entry-title, h4, h5, h6 { line-height: 1.2;}

/* .main-navigation ul { align-items: flex-start;   display: flex; } */
.main-navigation ul li { font-size: 1.0em;  margin: 0 8px; padding: 0; text-transform: none; }
.main-navigation ul li a { line-height: 0.5em;}
.main-navigation ul li a span { font-weight: 300; font-size: 0.5em; }
.single-ferienkurs #menu-item-398 a, .single-experimentiertag #menu-item-437 a, .single-projektleiter-semina #menu-item-584 a { color: #f1471d; }
.single-ferienkurs #rmp-menu-item-398 a, .single-experimentiertag #rmp-menu-item-437 a, .single-projektleiter-semina #rmp-menu-item-584 a { background: #f1471d; color: #fff; }

.site-footer .site-info, .footer-menu .menu li {   font-size: 15px;  }

.padding-2 { padding: 2%; }
.padding-5 { padding: 5%; }
.noshow, .no-results.not-found, .wpcf7 form.sent div.visible-only-if-not-sent { display: none !important; }

.float-image { float: right;  max-width: 50%;		padding: 0 0 40px 40px; }

.rmp-menu-title-image { margin-left: 0 !important; }
.rmp-social-icons-layout-horizontal.rmp-social-icons-align-center .rmp-social-icons-list {    justify-content: flex-start !important;    padding-left: 5% !important;  }


.kursdetails, .detailzeile, .detailinfo { display: flex; flex-flow: row; flex-wrap: wrap; justify-content: space-between;  }
.detailzeile { font-size: 0.9em; padding-bottom: 10px; }
.kursdetails_content { width: 60%; margin-right: 10%; }
.kursdetails_side { width: 30%; }
.detailbox { padding: 5%; background: #f6f6f6; }
/* .detailtabelle { margin-bottom: 30px; } */
.detailtabelle center { font-size: 0.9em; line-height: 1.0em; margin-bottom: 20px; }
.detailzeile span:first-child { width: 40%; line-height: 1.3em; }
.detailzeile span:last-child { width: 50%; line-height: 1.0em; }
.detailzeile span.fullrow { width: 100% !important; text-align: center; padding-top: 30px;}
.detailzeile small { line-height: 1.2; }
.detailinfo span:first-child { width: 60px }
.detailinfo span:last-child { width: calc(100% - 80px); }
.detailinfo.red { font-weight: 700; color: #f1471d; line-height: 1.4em; background: #f6f6f6; padding: 2%; }
.detailinfo.red .fa-solid { font-size: 3.0em; }
.kursdetails button { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; margin-bottom: 30px; }
.kursdetails button, .kursdetails button a, .detailbox button a { color: #fff; width: 100%; text-transform: none; }
.anmeldebutton button { margin-bottom: 0; }
.anmeldebutton { text-align: center; }
.anmeldebutton span { font-size: 0.8em; }

.kursliste { display: flex; flex-flow: row; flex-wrap: wrap; align-items: flex-start; gap: 20px;}
.kursshort {  width: 500px;  max-width: calc(50% - 20px); background: #f6f6f6; }
.home .kursliste { justify-content: space-between; align-items: stretch; }
body:not(.home) .kursliste { justify-content: flex-start; align-items: stretch; }

.archive .taxonomy-description {  margin: 40px 0;   text-align: left; }


.flatpickr-calendar {  z-index: 2147483647 !important; }
.flatpickr-day { background: #c7ea46; color: #454545; }

.flexbox { display: flex; flex-flow: row; flex-wrap: wrap; justify-content: space-evenly; }
.referent { width: 300px; max-width: 100%; background: #f6f6f6; padding: 2%; margin-bottom: 2%; line-height: 1.2em; text-align: center; display: flex;  flex-flow: column; }
.referent h5 { margin: 0; }
.referent a { color: #231f20; }
.referent div small { line-height: 0.8em; }
.vita { width: calc(50% - 40px);}
.refbutton { padding: 2px 10px;  font-size: 0.8em;  background: #ccc;  margin-top: auto;  text-transform: none;  letter-spacing: 0; }
.refbutton a:hover { color: #fff; }

.netzwerk { max-width: 350px;  padding: 2%; margin-bottom: 2%; text-align: center; }
.netzwerk img { height: 100px;   width: auto !important; }
.netzwerk-name { font-size: 0.8em; line-height: 1.0; }

.wps-form {    width: 100%;    margin: 0 auto; }
.wps-form-row {    display: flex;    flex-direction: column;    width: 100%; }
.wps-form-row .wpcf7-form-control {    width: 100%;}
.wps-form-column {    flex: 1;    padding: 0.2rem 0;    width: 100%;}
.wps-form-column p { margin-bottom: 0; }
.wpcf7dtx-text { border: none !important; padding: 0 !important; }
.wps-form-column .teilnahmegebuehr { display: inline-block; width: 70px; }
.wps-form-column .wpcf7dtx-text { font-weight: 900; color: #231f20; }

.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {    flex-grow: inherit;  }


.alignwide {    margin-left  : -20%;    margin-right : -20%;    max-width: 140% }
.alignfull {    margin-left  : calc( -100vw / 2 + 100% / 2 );    margin-right : calc( -100vw / 2 + 100% / 2 );    max-width    : 100vw;    width: 100vw; }
.alignfull img {    width: 100%;}
.alignfull .wp-block-group__inner-container { max-width: 1580px; margin: 0 auto; padding: 2em 15px; }
.alignfull .wp-block-group__inner-container .wp-block-group__inner-container { padding: 0; }




/* Notebook / Desktop */
@media ( min-width: 481px ) { 
    .wps-form-row {        flex-direction: row;    }
    .wps-form-column {        padding: 0.5rem 1rem;    }
}



@media (max-width: 1450px) {
		.main-navigation ul li { font-size: 0.85em;  margin: 0 5px; }
}

@media (max-width: 1200px) {
		.main-navigation ul li { font-size: 0.7em;  margin: 0 2px; }
}

@media (max-width: 1024px) {
		#masthead #mobile-menu-button { display: none !important; }
		.kursdetails_content, .kursdetails_side { width: 100%; margin: 0; }
}

@media (max-width: 768px) {
		body, button, input, optgroup, select, textarea, label, .archive .taxonomy-description  {   font-size: 16px;   }
		h1, h1.entry-title, .archive .page-title {  font-size: 32px; }
		h2 {  font-size: 30px; }
		h3, h3.entry-title {  font-size: 26px; }
		h4 {  font-size: 22px; }
		h5 {  font-size: 20px; }
		h6 {  font-size: 18px; }
		
		.float-image  { float: none; max-width: 100%; padding: 0;}
		
		.comment-navigation .nav-previous, .post-navigation .nav-previous, .posts-navigation .nav-previous {        float: left;        margin-bottom: 0px;    }
		.comment-navigation .nav-next, .post-navigation .nav-next, .posts-navigation .nav-next {        float: right;        text-align: right;    }
		
		#ui-datepicker-div {    position: fixed !important;    top: 50% !important;    left: 50% !important;    transform: translate(-50%, -50%) !important;  }
		
		.vita { width: 100%; margin: 0; }
		.right-on-top { flex-direction: column-reverse !important; }
}

@media (max-width: 500px) {
		.kursshort { max-width: 100%; }
}


@media print {
  .noPrint, .masthead-sentinel, footer, .widget-area, .shariff-wrapper, .post-navigation, form,	button,	#undo, #usercentrics-root, .wp-block-gallery, .wp-block-video  {    display:none !important;  }
	body {		font-size: 11pt;	}
	table {		break-inside: avoid;	}
		header#masthead { position: relative !important; }
		.custom-logo-wrapper img { width: 200px !important; }
		.kursdetails_side img { width: 500px !important; justify-content: center; }
		.veranstaltungsort, .kursdetails_side { break-inside: avoid; break-inside: avoid-page; }
}