
/*
Theme Name: dgsberlin, based on Twenty Sixteen V1.9
Author: muvicom � Fa. Uwe Meurer
Author URI: https://www.muvicom.de/

CSS for mobile
*/


@media ( min-width: 1151px ) {

	:root {
		/* colors */
		
		/* font sizes */
		--desktop-fontsize: 17.5px;
		--desktop-lineheight: 1.41em;
		--desktop-fontsize-small: 15.5px;
		--desktop-lineheight-small: 1.42em;
		--desktop-fontsize-tiny: 14px;
		--desktop-lineheight-tiny: 1.33em;

		--desktop-fontsize-i: 1.02em;
		--desktop-lineheight-i: 1.33em;

		--desktop-fontsize-maintopic-headline: 40px;
		--desktop-lineheight-maintopic-headline: 1.1em; /* 44px */
		--desktop-fontsize-maintopic-subline: 28px;
		--desktop-lineheight-maintopic-subline: 1.21em; /* 34px */

		--desktop-fontsize-medium-headline: 30px;
		--desktop-lineheight-medium-headline: 1.2em; /* 36px */
		--desktop-fontsize-medium-subline: 24px;
		--desktop-lineheight-medium-subline: 1.2em;

		--desktop-fontsize-small-headline: 26px;
		--desktop-lineheight-small-headline: 1.2em;
		--desktop-fontsize-small-subline: 22px;
		--desktop-lineheight-small-subline: 1.2em;
	
		
		/* layout */
		--desktop-top-container-height: 7em;
		--desktop-logo-column: 24%;
		--desktop-content-width: 96%;
		--desktop-content-maxwidth: 110em;
		/*--desktop-content-column-left: 21.5%;*/
		--desktop-box-padding-top: 1em;
		--desktop-box-padding-right: 1.65em;
		--desktop-box-padding-bottom: 1em;
		--desktop-box-padding-left: 1.65em;
		--desktop-content-trans: all 0.4s ease-out;
		--desktop-visual-left-content-column-trans-05: all 0.5s ease-out;
	}
	
	body {
		padding-bottom: 36em;
		font-size: var(--desktop-fontsize);
		line-height: var(--desktop-lineheight);
		background-image: url(../images/hg-struktur.jpg);
		background-repeat: repeat;
		background-attachment: fixed;
	}
	
	i, 
	em,
	.italic,
	.italic * {
		font-size: var(--desktop-fontsize-i);
		line-height: var(--desktop-lineheight-i);
	}
	
	p + p,
	h2 + p,
	.std-margin-top {
		margin-top: 0.6em;
	}
	
	ul + p {
		margin-top: 0.6em;
	}
	
	figcaption {
		margin: 0.3em 1.2em 0em;
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small); 
	}

	.text2col,
	.text3col {
		column-count: 2;
		column-gap: 1.5em;
	}

	.text3col {
		column-count: 3;
	}
	
	.text2col > div + div,
	.text3col > div + div {
		margin-top: 1.3em;
	}
	
	.textcol-nobreak,
	.textcol-nobreak * {
		break-inside: avoid !important;
	}
	
	/**
 	 * .0 - General
 	 */
	#top-container {
		height: var(--desktop-top-container-height);
	}
	
	#logo-navigation-container {
		width: var(--desktop-content-width);
		max-width: var(--desktop-content-maxwidth);
	}
	
	#dgs-logo-container {
		width: var(--desktop-logo-column);
	}
	
	#dgs-logo-container a {
		bottom: 0.5em;
		right: 1em;
	}
	
	#dgs-logo-container img {
		width: 244px;
	}
	
	#site-navigation-container {
		position: relative;
		top: 6px;
		width: calc(100% - var(--desktop-logo-column)); /* 70%; */
		max-width: 72em;
		display: flex;
		justify-content: center;
		/*align-items: flex-end;*/
	}
	
	#content-area {
		position: relative;
		max-width: var(--desktop-content-maxwidth);
		margin: auto;
		padding-top: calc(3em + var(--desktop-top-container-height));
		padding-bottom: 7.5em;
		z-index: 10;
	}
	
	#main-content, 
	.main-content,
	#main-content.show {
		width: var(--desktop-content-width);
		display: flex !important;
		flex-direction: row;
		justify-content: space-between;
	}
	#main-content.mc-noflex {
		display: block !important;
	}

	.main-content {
		width: auto;
	}
	
	#main-content > * + * {
		margin-top: 0;
	}
	
	#main {
		width: 100%;
	}

	.two-columns-contactunder #aside-first,
	.two-columns #aside-first {
		width: 32%; /* 29% */
	}
	
	.two-columns-contactunder #main,
	.two-columns #main {
		width: 66%;	/* 69% */
	}

	.two-columns.aside-thin #aside-first {
		width: 14.5%;
	}
	
	.two-columns.aside-thin #main {
		width: 83.5%;
	}

	.three-columns #aside-first {
		width: 31%; /* 20% */
	}
	
	.three-columns #main {
		width: 66%; /* 44% */
	}
	
	#aside-first-main {
		width: 66%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	
	.three-columns #aside-second {
		width: 32%;
	}
	

	/**
	 * .0 - box standard
	 */
	.box {
		padding: var(--desktop-box-padding-top) var(--desktop-box-padding-right) var(--desktop-box-padding-bottom) var(--desktop-box-padding-left);
	}
	
	.box h1 {
		margin-bottom: 0.6em;
		font-size: var(--desktop-fontsize-medium-headline);
		line-height: var(--desktop-lineheight-medium-headline);
	}

	.box h2 {
		font-size: var(--desktop-fontsize-small-headline);
		line-height: var(--desktop-lineheight-small-headline);
	}

	/**
	 * .0 - Social Media
	 */
	#socialmedia-container {
		top: 0px;
		right: 0px;
		width: 1.75em;
		height: 100%;
		padding-bottom: 0.6em;
		flex-direction: column-reverse;
	}
	
	.socialmedia-icon {
		height: 1.75em;
		margin-top: 0.35em;
	}

	/**
	 * .0 - Footer
	 */
	#foot-container {
		display: flex;
		flex-direction: row;
		z-index: 5;
	}
	
	#foot-container > div:first-child {
		width: 28.5em;
		padding: 1.33em 0 1.6em;
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
	}

	#foot-container img {
		width: 5.33em;
		margin-left: 3.66em;
	}

	#foot-container > div:first-child p {
		margin-left: 5.5em;
	}

	#foot-container > div:nth-child(2) {
		padding: 0.77em 0 0 3em;
		display: flex;
		flex-direction: row;
	}
	
	#foot-illustration {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		display: block;
		z-index: 1;
	}
	
	#foot-illustration img {
		width: 100%;
		max-width: 120em;
		margin-right: auto;
		margin-left: auto;
	}
	
	/**
	 * .0 - Menu
	 */
	 
	/** Main menu **/
	#mobile-navigation-container {
		display: none;
	}
	
	#desktop-navigation-container {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}
	
	#site-menu ul {
		display: flex;
		flex-direction: row;
	}
	
	#site-menu li a {
		padding: 0 0.56em;
		display: block;
		color: var(--std-color-text-mid-grey);
		line-height: 2em;
		font-weight: bold;
		transition: color 0.2s ease-out;
	}
	
	#site-menu li div {
		height: 6px;
		margin: 0 -0.56em;
		opacity: 0;
		background: var(--std-color-orange);
		transition: opacity 0.3s ease-out;
	}
	#site-menu li a:hover div {
		opacity: 0.7;
	}
	#site-menu li.current_page_item a div {
		opacity: 1.0;
	}
	
	#site-menu li.menuitem-color-turquoise div {
		background: var(--std-color-turquoise);
	}
	#site-menu li.menuitem-color-green div {
		background: var(--std-color-green);
	}
	
	/** Global menu (above main menu) **/
	.global-menu {
		padding-right: 0.2em;
	}
	.global-menu li a {
		font-size: 0.78em;
		line-height: 1.1em;
		font-weight: normal;
	}
	
	/** footer menu/sitemap **/
	#foot-container .footmenu-column {
		margin-right: 1.5em;
	}

	.footmenu-column li {
		margin-bottom: 0.2em;
	}
	
	.footmenu-column a {
		color: var(--std-color-text-mid-grey);
		font-weight: normal;
	}

	.footmenu-column li a:hover,
	.footmenu-column li.current-menu-item a {
		color: var(--std-color-text-black);
		font-weight: bold;
	}
	
	/**
 	 * .0 - front page
 	 */
 	/*** topics ***/
	#main-topics-container {
		display: none;
	}
	
	#main-topics-container-desktop {
		width: var(--desktop-content-width);
		margin: auto;
		display: block;
	}
	
	#main-topics-container-desktop > div {
		position: relative;
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	
	.main-topic-content,
	.main-topic-head {
		position: relative;
		width: 32%; /* 31.5% */
		/*max-width: 35.5em;*/
		font-style: italic;
		background-color: var(--std-color-orange);
		cursor: pointer;
	}

	.main-topic-content {
		overflow: hidden;
		z-index: 2;
	}

	.main-topic-content > div {
		position: absolute;
		top: calc(100% + 2.5em);
		width: 100%;
		height: 100%;
		padding: 1.25em 1.5em 1.25em 1.25em;
		box-sizing: border-box;
		color: #ffffff;
		background-color: var(--std-color-orange-dark-alpha);
		z-index: 4;
		transition: var(--std-long-content-trans);
	}
	#main-topics-container-desktop .main-topic-content.selected > div {
		top: 0;
	}
	
	.main-topic-content picture {
		position: relative;
		top: 0;
		left: 0;
		z-index: 3;
	}

	.main-topic-content picture,
	.main-topic-content img {
		width: 100%;
		height: auto;
	}
	
	.main-topic-head {
		color: #ffffff;
		z-index: 5;
	}

	.main-topic-head .triangle {
		position: relative;
		margin-top: -0.6em;
		margin-left: calc(50% - 0.9em);
		z-index: 6;
	}
	
	.main-topic-head header {
		position: relative;
		margin-top: -1.2em;
		padding: 0.6em 1.25em;
		z-index: 7;
	}
	
	.main-topic-head header h1 {
		font-size: var(--desktop-fontsize-maintopic-headline);
		line-height: var(--desktop-lineheight-maintopic-headline);
		font-weight: bold;
		font-style: italic;
	}
	
	.main-topic-head header div {
		font-size: var(--desktop-fontsize-maintopic-subline);
		line-height: var(--desktop-lineheight-maintopic-subline);
		font-style: italic;
	}

	#main-topics-container-desktop > div > :nth-child(2),
	#main-topics-container-desktop > div > :nth-child(2) .triangle {
		background-color: var(--std-color-turquoise);
	}

	#main-topics-container-desktop > div > :nth-child(3),
	#main-topics-container-desktop > div > :nth-child(3) .triangle {
		background-color: var(--std-color-green);
	}

	#main-topics-container-desktop > div > :nth-child(2) > div {
		background-color: var(--std-color-turquoise-dark-alpha);
	}

	#main-topics-container-desktop > div > :nth-child(3) > div {
		background-color: var(--std-color-green-dark-alpha);
	}

	/**
	 * .0 - control / scroll elements
	 */

	/* arrows */
	.scheme-orange .move-selection-arrow:hover {
		background-color: var(--std-color-orange-alpha);
	}
	.scheme-turquoise .move-selection-arrow:hover {
		background-color: var(--std-color-turquoise-alpha);
	}
	.scheme-green .move-selection-arrow:hover {
		background-color: var(--std-color-green-alpha);
	}

	/* scroll bar */
	.move-selection-bar {
		top: 0;
		bottom: auto;
		left: auto;
		right: 0;
		width: auto;
		height: 100%;
	}
	.move-selection-bar div {
		width: 0.5em;
		height: auto;
	}
	.move-selection-bar div:hover,
	.drag .move-selection-bar div {
		width: 0.8em;
		height: auto;
	}
	
	/**
	 * .0 - category selection
	 */
	.category-posts-selection {
		width: var(--desktop-content-width);
	}
	 
	.category-posts-selection article h1 {
		font-size: var(--desktop-fontsize-small-headline);
		line-height: var(--desktop-lineheight-small-headline);
	}
	


	
	/**
	 * .0 - prologue
	 */	
	/*
	.services-prologue-image picture,
	.services-prologue-image figure,
	.services-prologue-image img {
		width: 100%;
	}
	*/
	.prologue {
		margin-bottom: 2em;
		display: flex;
		justify-content: space-between;
	}
	
	.two-columns .prologue .prologue-image,
	.two-columns .prologue .prologue-text {
		width: 48.5%; /* 49% */
	}
	
	.prologue-image + .main-content {
		margin-top: 2em;
	}
	
	
	.prologue-image picture,
	.prologue-image img {
		width: 100%;
	}
	
	figure .image-ontop > div p {
		font-size: var(--desktop-fontsize-medium-headline);
		line-height: var(--desktop-lineheight-medium-headline);
	}
	figure .image-ontop > div p:first-child {
		font-size: var(--desktop-fontsize-medium-subline);
		line-height: var(--desktop-lineheight-medium-subline);
	}
	
	.prologue-text > * {
		padding-right: 1.33em;
		padding-left: 1.33em;
	}
	
	.prologue-text header {
		padding-top: 0.75em;
		padding-bottom: 1em;
	}
	
	.prologue-text h1 {
		font-size: var(--desktop-fontsize-medium-headline);
		line-height: var(--desktop-lineheight-medium-headline);
	}
	
	.scheme-turquoise .prologue-text header {
		background-color: var(--std-color-turquoise);
	}
	.scheme-turquoise .prologue-text .triangle {
		background-color: var(--std-color-turquoise);
	}
	

	/**
	 * .0 - aside box
	 */
	#aside-teaser.grid.gridcols > section {
	    break-inside: avoid;
	}
	
	.teaser .box,
	.contact .box section {
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
	}
	
	.grid.gridcols .box {
		margin-top: 0;
	}

	.grid .box,
	.grid.gridcols .box + .box,
	.teaser .box + .box,
	.contact .box + .box {
		margin-top: 1.7em;
	}
	
	.teaser .box > * > section,
	.contact .box > * > section {
		padding: 0.5em 1.33em;
	}
	
	.teaser .box > * > picture + section,
	.contact .box > * > picture + section {
		padding: 0.5em 0.9em;
	}
	
	.teaser .box h1,
	.contact .box h1 {
		font-size: var(--desktop-fontsize-small-headline);
		line-height: var(--desktop-lineheight-small-headline);
	}

	.teaser .box h2 {
		font-size: var(--desktop-fontsize);
		line-height: var(--desktop-lineheight);
	}


	/**
	 * .0 - contact
	 */
	.box.post-detail .contact,
	.box.post-detail .contact + * {
		margin-top: 0.6em;
	}
	 
	.contact h1 {
		font-size: var(--desktop-fontsize-small-headline);
		line-height: var(--desktop-lineheight-small-headline);
	}
	
	.contact h2 {
		font-size: var(--desktop-fontsize);
		line-height: var(--desktop-lineheight);
	}

	.box.post-detail .contact .box {
		margin: 0 0 0 calc(-1 * var(--desktop-box-padding-left));
		padding: 0;
	}
	.box.post-detail .contact .box + .box {
		margin-top: 1.3em;
	}
	
	.box.post-detail .contact .box > div {
		padding-left: var(--desktop-box-padding-left);
	}

	.contact .box picture {
		padding-left: var(--desktop-box-padding-left);
	}
	
	.box.post-detail .contact .box picture {
		padding-left: 0;
	}
	
	.contact .box div > section {
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
	}


	/**
	 * .0 - aside teaser
	 */
	#aside-teaser > section > header h1 {
		font-size: var(--desktop-fontsize-small-headline);
		line-height: var(--desktop-lineheight-small-headline);
	}

	.teaser .box h1,
	.contact .box h1 {
		font-size: var(--desktop-fontsize);
		line-height: var(--desktop-lineheight);
	}
	
	.teaser-post-selection {
		max-height: 28.8em;
	}
	.grid.gridcols .teaser-post-selection,
	.grid.grid1col .teaser-post-selection,
	.grid.grid2col .teaser-post-selection {
		max-height: none;
		overflow: visible;
		break-inside: avoid;
	}
	.grid.grid1col .teaser-post-selection {
		margin-top: -1.5em;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	

	.teaser .box > section,
	.contact .box > section {
		position: relative;
		padding: 0.4em 1em;
	}

	.horizontal .teaser-post-selection {
		position: relative;
		max-height: initial;
		display: flex;
		overflow: visible;
	}

	.horizontal .teaser-post-selection .box > * > picture img {
		width: 100%;
	}

	.horizontal .teaser-post-selection .box > div {
		width: 14.5em;
		height: 100%;
		display: grid;
		grid-template-areas: "pic"
							 "text";
		grid-template-rows: 14.5em 1fr;
	}
	
	.horizontal .teaser-post-selection .box picture {
		grid-area: pic;
		width: 100%;
	}

	.horizontal .teaser-post-selection .box section {
		grid-area: text;
	}

	.horizontal .teaser-post-selection .box + .box {
		margin-top: 0;
		margin-left: 1.5em;
	}
	
	/**
	 * .0 - aside teaser grid
	 */
	#aside-teaser.grid .teaser-post-selection {
		max-height: none;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#aside-teaser.grid.gridcols .teaser-post-selection {
		display: block;
	}
	
	#aside-teaser.grid.gridcols {
		column-gap: 2em;
	}

	#aside-teaser.grid header + .teaser-post-selection {
		margin-top: -1.5em;
	}
	#aside-teaser.grid.gridcols header + .teaser-post-selection {
		margin-top: 0;
	}

	/**
	 * .0 - widgets
	 */
	.box.info {
		font-size: var(--desktop-fontsize);
		line-height: var(--desktop-lineheight);
	}

	.box.info > header {
		padding: 0.25em 1.25em;
	}
	
	.box.info > div > div,
	.box.info > section {
		padding: 0.7em 1.25em 1em;
		display: block;
	}
	
	.box.info > .beside > div {
		padding: 0.7em 1em 1em 0.5em;
	}
	
	aside .box.info > div {
		background-color: var(--std-color-beige-alpha);
	}

	aside .box.info section * {
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
	}

	.box.info section h1,
	.box.info section h2 {
		font-size: var(--desktop-fontsize-small-subline);
		line-height: var(--desktop-lineheight-small-subline);
	}

	/* offer box */
	.box.info.offer {
		grid-template-areas: "pic head"
							 "pic text";
		grid-template-columns: 1.7fr 3.3fr;
		grid-template-rows: 4.9em 1fr;
	}

	
	/**
	 * .0 - post-detail
	 */
	.box.post-detail .text-fullwidth header {
		margin-right: calc(-1 * var(--desktop-box-padding-right));
		margin-left: calc(-1 * var(--desktop-box-padding-left));
		padding-right: var(--desktop-box-padding-right);
		padding-left: var(--desktop-box-padding-left);
		padding-top: 0.25em;
		padding-bottom: 0.25em;
	}
	
	.box.post-detail > figure,
	.box.post-detail footer {
		margin: 0.5em 0 1.5em calc(-1 * var(--desktop-box-padding-left));
	}
	
	.box.post-detail > figure picture,
	.box.post-detail footer {
		width: calc(100% + var(--desktop-box-padding-right) + var(--desktop-box-padding-left));
	}
	
	.box.post-detail > figure figcaption {
		margin-right: 1.9em;
		margin-left: 1.9em;
	}
	
	.box.post-detail > div figure {
		margin: 0.7em 0 1em;
	}

	.box.post-detail > div img {
		margin: 0.7em 0 0.5em;
	}

	.box.post-detail > div {
		margin-top: 1.5em;
	}

	.box.post-detail h2,
	.box.post-detail h3 {
		font-size: var(--desktop-fontsize-medium-subline);
		line-height: var(--desktop-lineheight-medium-subline);
	}	

	.box.post-detail h1 + h2 {
		margin-top: 0;
	}

	.box.post-detail * + h3 {
		margin-top: 0.6em;
	}
	
	.box.post-detail h3 + h4 {
		margin-top: 0.25em;
	}

	.box.post-detail h4 {
		margin-top: 0.5em;
		font-size: inherit;
		line-height: inherit;
	}
	
	.box.post-detail footer {
		margin-top: 1.8em;
		margin-bottom: calc(-1 * var(--desktop-box-padding-bottom));
		padding: 1.5em var(--desktop-box-padding-right) 1.5em var(--desktop-box-padding-left);
	}

	.box.post-detail footer * {
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
	}

	.box.post-detail footer article + article {
		margin-top: 1.3em;
	}

	.box.post-detail footer {
		display: flex;
	}
	
	.box.post-detail footer > section {
		width: 49%;
	}
	
	.box.post-detail footer > section + section {
		margin-top: 0;
		margin-left: 1.5em;
	}	

	.box.post-detail footer.foot-notices {
		display: block;
	}

	.box footer.foot-notices h1 {
		margin-bottom: 0.1em;
		font-size: var(--desktop-fontsize-medium-subline);
		line-height: var(--desktop-lineheight-medium-subline);
	}
	.box footer.foot-notices h1,
	.box footer.foot-notices h2,
	.box footer.foot-notices h3 {
		color: inherit;
	}


	/**
	 * .0 - course
	 */
	.box.course h1 {
		margin-bottom: 0;
	}
	
	.box.course h2,
	.box.course h3 {
		margin-bottom: 0.1em;
		font-size: var(--desktop-fontsize-medium-subline);
		line-height: var(--desktop-lineheight-medium-subline);
	}

	.box.post-detail.course .text-fullwidth header {
		margin-right: calc(-1 * var(--desktop-box-padding-right));
		margin-left: calc(-1 * var(--desktop-box-padding-left));
		padding-right: var(--desktop-box-padding-right);
		padding-left: var(--desktop-box-padding-left);
		padding-top: 0.25em;
		padding-bottom: 0.25em;
	}

	.box.post-detail.course .course-dates > * {
		margin-top: 0.5em;
	}

	.box.post-detail.course .course-dates a > div:first-child {
		width: 9.5em;
	}
	.box.post-detail.course .course-dates a > div + div {
		margin-left: 0.5em;
	}

	.box.post-detail.course footer {
		display: block;
	}


	/**
	 * .0 - publication
	 */


	

	/**
	 * .0 - article with teaser / teaser-and-details
	 */
	.category-posts {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	
	.category-posts > div {
		width: 48.5%; /*calc(50% - 1.1em);*/
		margin-top: 3.4em;
	}
	
	.category-posts > div + div {
		margin-top: 3.4em;
	}	 
	 
	.teaser-and-details + .teaser-and-details {
		margin-top: 1.7em;
	}

	.teaser-and-details .box.selectable {
		font-size: var(--desktop-fontsize);
		line-height: var(--desktop-lineheight);
	}
	
	.teaser-and-details .box > div > section {
		padding-top: 0.4em;
		padding-bottom: 0;
	}
	.teaser-and-details.selected .box > div > section {
		padding-left: 1.33em;
		padding-right: 1.33em;
	}
	
	.teaser-and-details .box.selectable h1 {
		margin-bottom: 0.1em;
		font-size: var(--desktop-fontsize-small-headline);
		line-height: var(--desktop-lineheight-small-headline);
	}	 
	.teaser-and-details .box.selectable h1.hyphens {
		hyphens: none;
	}
	
	.teaser-and-details .box .teaser-details-container > div {
		padding-top: 0.4em;
	}
	.teaser-and-details.selected .box .teaser-details-container > div {
		margin-top: 0px;
	}

	.teaser-and-details .box .teaser-details-container > div > div {
		padding: 0.7em 1.33em 1em;
	}


	/**
	 * .0 - employee
	 */
	.employee {
		grid-template-areas: 	"header header" 
								"main aside";
		grid-template-columns: 2fr 1fr;
	}
	
	.employee > aside {
		flex-direction: column;
	}
	
	/**
	 * .0 - calendar
	 */
	#calendar.box {
		padding: 0;
	}

	#calendar.box > header {
		padding: var(--desktop-box-padding-top) var(--desktop-box-padding-right) 0.2em calc(7px + var(--desktop-box-padding-left));
	}

	#calendar + section.box {
		padding-left: calc(7px + var(--desktop-box-padding-left));
	}

	.date-overview {
		padding: 0.25em 0;
		flex-direction: row;
	}

	
	/* calendar table head row columns */
	header.date-overview > div {
		color: inherit;
		font-size: inherit;
		line-height: inherit;
		font-weight: bold;
	}

	header.date-overview > div:first-child { 
		padding-left: var(--desktop-box-padding-left);
	}

	header.date-overview > div:last-child { 
		padding-right: 1.15em;
	}
	
	/* calendar table columns */
	.date-overview > div {
		padding-left: 3%;
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
		transition: var(--std-content-trans);
	}

	.date-overview > div:first-child {
		width: 14%;
		padding-left: calc(1.16 * var(--desktop-box-padding-left));
	}
	
	.date-overview > div:nth-child(2) {
		width: 40%;
	}
	.selected .date-overview > div:nth-child(2) {
		opacity: 0;
	}
	
	.date-overview > div:nth-child(3) {
		width: 38%;
		padding-right: 1.33em;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	
	.date-overview > div:nth-child(3) > div:first-child {
		width: 40%;
	}

	.date-overview > div:nth-child(3) > div:nth-child(2) {
		width: 60%;
		text-align: right;
	}

	/**
	 * .0 - order
	 */
	.order-form {
		position: fixed;
		top: 0;
		bottom: 0;
		overflow: hidden;
		transition: var(--std-long-content-trans);
	}
	 
	.order-form > div {
		max-width: var(--desktop-content-maxwidth);
		height: 100%;
		padding-top: calc(3em + var(--desktop-top-container-height));
		box-sizing: border-box;
		transition: var(--std-long-content-trans);
	}
	 
	.order-form .order-content {
		width: var(--desktop-content-width);
		height: 100%;
		margin: auto;
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
	}

	.order-form .order-content > :first-child {
		width: 32%;
	} 
	
	.order-form .order-content > :last-child {
		width: 66%;
		overflow-y: scroll;
		box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
	}
	
	.order-form .order-content-form,
	.order-form .order-content > :last-child > header {
		padding: var(--desktop-box-padding-top) var(--desktop-box-padding-right) 2em calc(7px + var(--desktop-box-padding-left));
	}
	.order-form .order-content > :last-child > header {
		padding-bottom: 0.2em;
	}

	.order-form .order-content > :last-child > header h1 {
		font-size: var(--desktop-fontsize-medium-headline);
		line-height: var(--desktop-lineheight-medium-headline);
	}
	
	.order-form h2,
	.order-form h3 {
		font-size: var(--desktop-fontsize-small-subline);
		line-height: var(--desktop-lineheight-small-subline)
	}
	
	.order-form .order-form-html-course-title {
		margin-top: 0.5em;
		margin-bottom: 0.25em;
		font-size: var(--desktop-fontsize-small-subline);
		line-height: var(--desktop-lineheight-small-headline);
		font-weight: bold;
	}
	
	.order-form .order-form-html-course-description > div,
	.order-form .order-form-html-course-costs > div:first-child {
		display: flex;
	}
	.order-form .order-form-html-course-description > div > div,
	.order-form .order-form-html-course-costs > div > div,
	.order-form .course-to-book-discounts > div > div {
		margin-left: 1.5em;
	}
	.order-form .order-form-html-course-description > div > div:first-child,
	.order-form .order-form-html-course-costs > div > div:first-child,
	.order-form .course-to-book-discounts > div,
	.order-form .course-to-book-discounts > div > div:first-child {
		margin-left: 0 !important;
	}
	
	.order-form .order-form-html-course-costs .costs-notices p {
		margin-top: 0;
	}
	
	.order-form .course-to-book-discounts > div {
		display: flex;
	}
	
	input,
	select,
	textarea {
		padding: 0.26em 0.45em;
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
		border: none;
		border-bottom: 2px solid #d9d5cb;
		background: transparent;
	}
	input:focus,
	select:focus,
	textarea:focus {
		border: none;
		border-bottom: 2px solid #d9d5cb;
	}		
	
	label {
		padding: 0 0 0 0.5em;
		font-size: var(--desktop-fontsize-small);
		line-height: var(--desktop-lineheight-small);
	}

	.order-content-form .form-group {
		display: flex-column;
		flex-direction: column-reverse;
	}
	
	.help-block {
		padding-left: 0.65em;
		font-size: var(--desktop-fontsize-tiny);
		line-height: var(--desktop-lineheight-tiny);
	}
	
	/**
	 * .0 - woocommerce
	 */
	.woocommerce form .form-row label {
		font-size: var(--desktop-fontsize-tiny);
	}

	.woocommerce h2,
	.woocommerce h3 {
		padding: 0 0 0.5em 0.45em;
		font-size: var(--desktop-fontsize-small-subline);
		line-height: var(--desktop-lineheight-small-subline);
	}
} /* min-width: 1151px */



@media only screen
and (min-width: 1151px) 
and (max-width: 97em) {

	.text2col {
		column-count: 1;
	}
	
	.text3col {
		column-count: 2;
	}
	
	/**
 	 * .0 - General
 	 */
	/*
	#main-content #main {
		width: 100%;
	}
	*/

	/*
	#main-content.two-columns #aside-first {
		width: 39%;
	}
	
	#main-content.two-columns #main {
		width: 59%;
	}
	*/
	
	.category-posts-selection {
		width: 100%;
	}
	
	/**
	 * .0 - prologue
	 */	
	.prologue {
		flex-direction: column !important;
	}

	.two-columns .prologue .prologue-image,
	.two-columns .prologue .prologue-text {
		width: 100%;
	}

	.two-columns .prologue-image + .prologue-text {
		margin-top: 2em;
	}

	.services > article,
	.category-posts {
		display: block;
	}
	
	.services > article > section,
	.category-posts > div {
		width: 100%;
	}
	
	.services > article > section + section,
	.category-posts > div + div {
		margin-top: 2.2em;
		margin-left: 0;
	}
	
	/**
	 * .0 - aside teaser
	 */
	.box.selectable > * > section {
		padding: 0.4em 0.8em;
	}
	

	/**
	 * .0 - post-detail
	 */
	.box.post-detail footer {
		display: block;
	}
	
	.box.post-detail footer > section + section {
		margin-top: 2.5em;
		margin-left: 0;
		width: auto;
	}


	/**
	 * .0 - widgets
	 */
	/* box info */
	.box.info .beside {
		display: grid;
		grid-template-areas: "pic ." 
							 "text text";
		grid-template-columns: 1fr 1fr;
	}

	.box.info .beside section {
		padding-right: var(--std-box-padding-right);
	}
	
	/* offer box */
	/*
	.box.info.offer {
		grid-template-columns: 2fr 3fr;
	}
	*/
	
	.box.info.offer {
		grid-template-areas: "pic head"
							 "text text";
		grid-template-rows: auto;
	}

	.box.info.offer header {
		padding: 0.25em 1em 0.5em;
	}
	
	.box.info.offer header .triangleClip.down.small {
		top: calc(50% - 0.9em);
		bottom: auto;
		left: -0.89em;
		width: 0.9em;
		height: 1.8em;
		clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
	}

	.box.info.offer figcaption {
		font-size: var(--desktop-fontsize-small);
	}
} /* max-width: 97em */


@media only screen
and (min-width: 1151px) 
and (max-width: 107em) {

	/**
 	 * .0 - front page
 	 */
 	/*** topics ***/
	.main-topic-content {
		padding: 1.25em 1.5em 1.25em 1.25em;
		box-sizing: border-box;
	}

	.main-topic-content > div {
		position: relative;
		width: 100%;
		height: 100%;
		margin: -1.25em -1.5em -1.25em -1.25em;
		padding: inherit;
		box-sizing: content-box;
	}
	
	.main-topic-content picture {
		position: absolute;
	}

	.main-topic-content picture,
	.main-topic-content img {
		width: auto;
		height: 100%;
	}

	
} /* max-width: 107em */