/*
	Design für:					https://vonaussenraumgeben.ch

	Entwickelt von:				Claude Roulet
								https://exquisito.ch

	Version 1:					2019-12-24
	Letzte Änderungen:			2021-06-13

*/



html {
	font-size: calc(1rem + (20 - 15) * (100vw - 320px) / (1680 - 320));
	box-sizing: border-box;
	
	--hBf:			30;
	--bf40:			hsl(var(--hBf), 38%, 40%);
	--bf45:			hsl(var(--hBf), 35%, 45%);
	--bf50:			hsl(var(--hBf), 32%, 50%);
	--bf:			hsl(var(--hBf), 29%, 56%);
	--bf70:			hsl(var(--hBf), 29%, 70%);
	--bf80:			hsl(var(--hBf), 29%, 80%);
	--bf90:			hsl(var(--hBf), 29%, 90%);
	--bf95:			hsl(var(--hBf), 29%, 95%);

	--bfText:		hsl(var(--hBf), 10%, 5%);
	
	--bfGrau30:		hsl(var(--hBf), 10%, 30%);
	--bfGrau40:		hsl(var(--hBf), 10%, 40%);
	--bfGrau90:		hsl(var(--hBf), 10%, 90%);
	--bfGrau95:		hsl(var(--hBf), 10%, 95%);
}

*, *::before, *::after {
	padding: 0;
	margin: 0;
	border: 0 none;
	outline: 0 none;
	background: transparent;	
	box-sizing: inherit;
}

body {
	font-family: urw-form, sans-serif, sans-serif;	/* 300, 400, 600 */
	font-weight: 400;
	-webkit-font-feature-settings: "liga", "clig", "onum";
	font-feature-settings: "liga", "clig", "onum";
}

h1, h2, h3, h4 {
	font-weight: 600;
	text-rendering: optimizeLegibility;
	-webkit-font-kerning: normal;
	font-kerning: normal;
	-webkit-font-feature-settings: "kern", "liga", "clig";
	font-feature-settings: "kern", "liga", "clig";
}

header h1, header p {
	font-weight: 400;
}

strong {
	font-weight: 600;
}

a, abbr {
	text-decoration: none;
}

sup, sub {
	line-height: 0;
}



@media screen {

html {
	height: 100%;
}

body {
	max-width: 1400px;
	height: 100%;
	font-size: 1em;
	line-height: 1.6;
	color: var(--bfText);
	text-align: left;
	padding: 1rem 0 0;
	margin: 0 auto;
	background: #fff;
}

a {
	color: var(--bfText);
	padding: 0 .2em;
	margin: 0 -.2em;
	border-bottom: 2px solid var(--bf);
	-webkit-transition: background .5s ease;
	transition: background .5s ease;
}

a:hover, a:focus, a:active {
	background: var(--bf95);
	outline: 0 none;
}

a:focus {
	outline: thin dotted;
}

h2, h3, h4 {
	font-weight: 400;
	padding: 0;
}

h2 {
	font-size: 1.8rem;
	line-height: 1.25;
	color: var(--bf40);
	margin: 0 0 1.6rem;
}

h3 {
	font-size: 1.4rem;
	line-height: 1.25;
	color: var(--bfText);
	margin: 0 0 .8rem;
}

h4 {
	font-size: 1.2em;
	line-height: 1.25;
	color: var(--bf45);
	margin: 0 0 .6rem;
}

main h2:first-child, article h2:first-child
h2 + h3, h2 + a + h3, h2 + img + h3, main h3:first-child, article h3:first-child,
h3 + h4, h3 + a + h4, h3 + img + h4, main h4:first-child, article h4:first-child {
	padding-top: 0;
}

header a, h2 a, h3 a, h4 a {
	border: 0 none;
}

h2 a:hover, h2 a:focus, h2 a:active,
h3 a:hover, h3 a:focus, h3 a:active,
h4 a:hover, h4 a:focus, h4 a:active { 
	color: hsl(15, 100%, 30%);
	border: 0 none;
}

p, ul, ol, dl {
	margin: 0 0 .5em;
}

ul {
	list-style: none;
}

ol {
	margin: 0 0 .5em 1.2em;
}

dl {
	overflow: hidden;
}

dt {
	float: left;
	display: inline;
}

img {
	line-height: 1;
}

.caps, .dateiformat {
	text-transform: uppercase;
}

abbr, .caps, .dateiformat {
	font-size: .9em;
}

abbr .caps {
	font-size: 1em;
}

abbr[title] {
	border-bottom: 1px dotted #ddd;
	cursor: help;
}

a abbr[title] {
	cursor: pointer;
	border: 0 none;
}

sup, sub {
	font-size: .85em;
}

.eng {
	word-spacing: -.07em;
}

.enger {
	word-spacing: -.14em;
}



/*	Header
––––––––––––––––––––––––– */

header {
	text-align: left;
	padding: 0 3.125%;
}

header h1 {
	display: inline-block;
	font-size: calc(10px + 2vw);
	font-size: 2rem;
	line-height: 1;
	padding: 0;
	margin: 0;
}

header h1::before {
	content: "";
	display: block;
	width: 2rem;
	height: 2rem;
	margin: 0 0 1rem auto;
	background: var(--bf);
}



/*	Nav
––––––––––––––––––––––––– */

nav {
	margin: -2.6rem 0 2rem;
}

nav h2 {
	position: relative;
	width: 100%;
	height: 1.3em;
	cursor: pointer;
	padding: .9em 0;
	margin: 0;
}

nav h2::after {
	content: "";
	display: block;
	position: absolute;
	--linienDicke: .25rem;
	top: calc(50% - calc(2.5 * var(--linienDicke)));
	right: 3.125%;
	width: calc(7.5 * var(--linienDicke));			/* Linienbreite */
	height: var(--linienDicke);						/* Liniendicke, für box-shadow doppelte und vierfache Werte, Gesamthöhe = height × 5 */
	background: var(--bfGrau30);
	box-shadow: 0 calc(2 * var(--linienDicke)) 0 var(--bfGrau30),
				0 calc(4 * var(--linienDicke)) 0 var(--bfGrau30);
}

nav > h2 span {
	position: absolute;
	top: -500em;
	left: -500em;
}

nav ul {
	width: 100%;
	padding: .35em 0;
	margin: 0;
	background: var(--bfGrau95);
	border-top: .35em solid var(--bf80);
	border-bottom: .35em solid var(--bf80);
}

nav li {
	line-height: 1;
	text-align: center;
	margin: 0;
}

nav a, nav span {
	display: inline-block;
	min-width: 25%;
	color: var(--bfText);
	padding: .7em 0;
	margin: .1em auto;
	background: transparent;
	border: 0 none;
}

nav a:hover, nav a:focus, nav a:active {
	background: var(--bf90);
}

nav .aktiv a, nav .aktiv span {
	font-weight: 600;
	color: var(--bf50);
	background: var(--bf90);
}

nav ul {
	display: none;
}



/*	Main
––––––––––––––––––––––––– */

main {
	padding: 0 3.125% 2rem;
	margin: 0;
}

main article {
	margin: 0 0 2rem;
}

main p,
main ul {
	margin: 0 0 1.6em;
}

main ul li {
	position: relative;
	padding: 0 0 0 1.2em;
	margin: 0 0 .5em;
}

main ul li::before {
	content: "";
	display: block;
	width: .4em;
	height: .4em;
	position: absolute;
	left: .07em;
	top: .6em;
	background: var(--bf50);
	border-radius: 50%;
}

.praxis article ul li,
.rechtliches main h2 + ul li,
.informations-legales main h2 + ul li {
	position: static;
	padding: 0;
}

.praxis article ul li::before,
.rechtliches main h2 + ul li::before,
.informations-legales main h2 + ul li::before {
	display: none;
}
main img,
main a.zoom,
main figure {
	display: block;
	max-width: 480px;
	height: auto;
	line-height: 1;
	margin: 0 0 1.6em;
	border: 0 none;
	outline: 0 none;
}

main a.zoom img,
main figure img,
main figure a.zoom {
	width: 100%;
	margin: 0;
}

main a.zoom {
	cursor: zoom-in;
	padding: 0;
}

main figcaption,
.texte main .auszug .mehr,
.texte main .publiziert-in,
.kurse main .auszug .mehr {
	font-size: .85rem;
	color: var(--bfGrau30);
}

main figcaption {
	line-height: 1.4;
	padding: .5rem;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.texte main .autor {
	font-style: italic;
}

.texte .artikelliste p,
.kurse .artikelliste p {
	margin: 0 0 .5rem;
}

.texte .artikelliste ul,
.kurse .artikelliste ul {
	margin: 0;
}

.texte main .auszug .mehr a,
.kurse main .auszug .mehr a {
	color: var(--bfGrau30);
}

.texte main .auszug .mehr a:hover,
.texte main .auszug .mehr a:focus,
.texte main .auszug .mehr a:active,
.kurse main .auszug .mehr a:hover,
.kurse main .auszug .mehr a:focus,
.kurse main .auszug .mehr a:active {
	color: var(--bfText);
}

.texte main .publiziert-in,
blockquote {
	border-top: 1px solid var(--bf45);
	border-bottom: 1px solid var(--bf45);
	padding: .5em;
}

blockquote {
	quotes: "\00AB""\00BB";
	padding: .8em 1em .3em 3em;
	color: var(--bfGrau30);
	margin: 1em 0 1.6em;
}

blockquote::before {
	display: block;
	content: open-quote;
	width: auto;
	height: auto;
	position: relative;
	top: .2em;
	left: -1em;
	font-size: 3em;
	line-height: 0;
	color: var(--bf45);
}

blockquote p {
	margin: 0 0 .5em;
}

.kurse main dl {
	color: var(--bfGrau40);
	padding: 0 0 0 .7em;
	border-left: 2px solid var(--bf);
	margin-top: 1em;
}

.kurse main dt {
	width: 10em;
	float: left;
}

.kurse main dd {
	margin: 0 0 .5em 10em;
}

.praxis article h2 {
	font-size: 1.4rem;
	color: var(--bf40);
	padding: 1rem 0 0;
	margin: 0 0 .8rem;
}

.praxis article:not(.address) h3 {
	font-size: 1.05rem;
	line-height: 1.25;
	font-weight: 600;
	color: var(--bfText);
	margin: 0 0 .6rem;
}

.info {
	display: inline-block;
	padding: .3rem .6rem;
	margin: 0 0 1.6rem -.3rem;
	background: var(--bf95);
}

.paragraphen {
	list-style: none;
	counter-reset: paragraph;
	padding: 0;
	margin: 0 0 .5em;
}

.paragraphen li {
	position: relative;
	counter-increment: paragraph;
	padding: 0 0 .5em 2.6em;
}

.paragraphen li::before {
	position: absolute;
	left: 0;
	content: "§ " counter(paragraph);
	width: 2.3em;
}



/*	Address
––––––––––––––––––––––––– */

.address {
	margin: 0 0 2em;
}

.address h3,
.address h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--bfText);
	padding: 0;
	margin: 0 0 .5em;
}

.address p {
	margin: 0 0 .5em;
}

.address [itemprop="streetAddress"] {
	margin: 0;
}

.address [itemprop="telephone"],
.address a[href^="tel"] {
	color: var(--bfText);
	background: transparent;
	border: 0 none;
	cursor: default;
}

.address [itemprop="offers"],
.address [itemprop="addressCountry"],
.address [itemprop="url"] {
	display: none;
}



/*	Social medias
––––––––––––––––––––––––– */

.social-medias {
	line-height: 1;
	margin-bottom: 4vw;
}

.social-medias div {
	width: 22%;
	position: relative;
	left: 66%;
	text-align: center;
	padding: .5em 0;
	margin: 0;
}

.share-facebook,
.share-twitter {
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	margin: 0 .25em;
	-webkit-transition: opacity .3s ease;
	transition: opacity .3s ease;
	border: 0 none;
}

a.share-facebook {
	background: url(/grafiken/icon-facebook.svg) 50% / contain no-repeat;
}

a.share-twitter {
	background: url(/grafiken/icon-twitter.svg) 50% / contain no-repeat;
}

a.share-facebook:hover, .share-facebook:focus, .share-facebook:active,
a.share-twitter:hover, .share-twitter:focus, .share-twitter:active {
	opacity: .5;
}

.share-facebook span,
.share-twitter span {
	position: absolute;
	top: -500em;
	left: -500em;
}



/*	Footer
––––––––––––––––––––––––– */

footer {
	font-size: .9rem;
	line-height: 1.5;
	color: #fff;
	text-align: center;
	padding: .5em 3.125% .75em;
	margin: auto 0 0;
	background: var(--bf);
}

footer a {
	color: #fff;
	border: 0 none;
}

footer a:hover, footer a:focus, footer a:active {
	background: transparent;
	border-bottom: 2px solid #fff;
}

footer .address {
	margin: 0 0 1em;
}

.index footer ul {
	display: none;
}

footer .address h3,
footer .address h4 {
	color: #fff;
}

footer .address a {
	padding: 0;
	margin: 0;
}

footer .address p,
footer .address [itemprop="telephone"],
footer .address a[href^="tel"] {
	color: #fff;
	margin: 0;
}

footer .address [itemprop="address"] {
	margin: 0 0 .5em;
}

footer .address p:last-of-type {
	margin: 0;
}

}	/* --- Ende @media screen --- */



@media screen and (min-width: 720px) {

html {
	background: var(--bfGrau95);
}

body {
	display: grid;
	grid-template: 1fr auto auto / 45.714% auto;
}

header {
	grid-row: 1 / 2;
	grid-column: 1 / 2;
}

nav {
	grid-row: 1 / 2;
	grid-column: 2 / 3;
}

main {
	grid-row: 2 / 3;
	grid-column: 1 / 3;
}

footer {
	grid-row: 3 / 4;
	grid-column: 1 / 3;
}



/*	Header
––––––––––––––––––––––––– */

header {
	padding: 0 12.5%;
	margin: 0 0 3rem;
}

header h1 {
	display: inline-block;
}

header h1::before {
	width: 2rem;
	height: 2rem;
	margin: 0 0 1rem auto;
}



/*	Nav
––––––––––––––––––––––––– */

nav {
	padding: .5em 10.526% .5em 0;
	margin: 0;
}

nav h2 {
	display: none;
}

nav ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	font-family: urw-form-semi-condensed, sans-serif;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0 none;
}

nav a, nav span {
	color: var(--bfGrau30);
	padding: 0 0 .25em;
	border-bottom: 2px solid var(--bf80);
	background: transparent;
}

nav a:hover, nav a:focus, nav a:active {
	background: transparent;	
	border-color: var(--bf);
}

nav .aktiv a, nav .aktiv span {
	color: var(--bfText);
	background: transparent;
	border-color: var(--bf);
}



/*	Main
––––––––––––––––––––––––– */

main {
	padding: 0 5.714% 2rem 45.714%;
}

main article {
	padding: 0 0 2rem;
}

main img,
main a.zoom,
main figure,
.publiziert-in {
	width: 70.588%;
	float: left;
	margin: .563em 0 2rem -82.353%;
}

main a.zoom img,
main figure img,
main figure a.zoom {
	float: none;
}

main img.vor-h3,
main a.zoom.vor-h3,
main figure.vor-h3 {
	margin-top: 3.1rem;
}

.praxis main img.vor-h3,
.praxis main a.zoom.vor-h3,
.praxis main figure.vor-h3,
.cabinet main img.vor-h3,
.cabinet main a.zoom.vor-h3,
.cabinet main figure.vor-h3 {
	margin-top: 2.3rem;
}




/*	Footer
––––––––––––––––––––––––– */

footer {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: .5em 0 .75em;
}

footer .address {
	width: 40%;
	text-align: right;
	padding: 0;
	margin: 0;
}

footer ul {
	width: 54.286%;
	text-align: left;
	padding: 0;
	margin: 0;
}

footer li {
	margin: 0 0 .5em;
}

.rechtliches footer,
.praxis footer,
.informations-legales footer,
.cabinet footer {
	padding: .5em 0 .75em 45.714%;
}

.rechtliches footer .address,
.rechtliches footer ul,
.informations-legales footer .address,
.informations-legales footer ul {
	width: auto;
	text-align: left;
	padding: 0;
	margin: 0;
}



/*	Clear
––––––––––––––––––––––––– */

main::after {
	content: ""; 
	display: table;
	clear: both;
}

}	/* --- Ende @media screen and (min-width: 720px) --- */



/*	Index
––––––––––––––––––––––––– */

.index {
	display: grid;
	grid-template: auto 1fr auto auto / 1fr;
}

.index header {
    grid-row: 1 / 2;
    text-align: center;
	padding: 3rem 12.5% 5rem;
}

.index header h1 {
	display: inline-block;
	font-size: 2em;
}

.index header h1::before {
	width: 4rem;
	height: 4rem;
	margin: 0 0 3rem auto;
}

.index nav {
    grid-row: 3 / 4;
	margin: auto 0 0;
}

.index nav h2::after {
	left: calc(50% - calc(7.5 * var(--linienDicke) / 2));
}

.index main {
    grid-row: 2 / 3;
	text-align: center;
	padding: 0 3.125%;
	margin: 0;
}

.index main .zitat,
.index main article {
	width: 100%;
	font-size: 1.3rem;
	padding: 0;
	margin: 0;
}

.index main .zitat h2 {
	display: none;
}

.index main .autor {
	font-size: .85rem;
	font-style: italic;
}

.index main .autor a {
	border: 0 none;
}

.index main .autor a:hover,
.index main .autor a:focus,
.index main .autor a:active {
	border-bottom: 2px solid var(--bf);
	outline: 0 none;
}

.index footer {
    grid-row: 4 / 5;
}



/*	error_default
––––––––––––––––––––––––– */

.error_default main article p {
	font-size: 1rem;
	margin: 0 0 .5em;
}



/*	error_503
––––––––––––––––––––––––– */

.error_503 nav h2::after,
.error_503 nav ul {
	display: none;
}



@media screen and (min-width: 720px) {

/*	Index
––––––––––––––––––––––––– */

.index {
	max-width: 1280px;
	grid-template: auto 1fr auto / minmax(288px, 40%) minmax(432px, 60%);
}

.index header {
	grid-row: 2 / 3;
	grid-column: 1 / 2;
	text-align: right;
	padding: 7rem 12.5% 10rem;
}

.index header h1 {
	font-size: 2em;
	line-height: 1;
	padding: 0;
	margin: 0;
}

.index header h1::before {
	width: 4rem;
	height: 4rem;
	margin: 0 0 3rem auto;
}

.index nav {
	grid-row: 1 / 2;
	grid-column: 2 / 3;
	padding: .5em 6.25%;
	margin: 0;
}

.index main {
	grid-row: 2 / 3;
	grid-column: 2 / 3;
	padding: 9rem 6.25% 6rem;
}

.index footer {
	grid-row: 3 / 4;
	grid-column: 1 / 3;
	margin: auto 0 0;
}

.index footer .address {
	text-align: center;
	padding: 0;
	margin: 0 auto;
}



/*	error_default
––––––––––––––––––––––––– */

.error_default main {
	padding-top: 6rem;
}


}	/* --- Ende @media screen and (min-width: 720px) --- */



@media screen and (min-width: 900px) {

.index footer .address {
	width: 35%;
	text-align: right;
	padding: 0;
	margin: 0;
}

}	/* --- Ende @media screen and (min-width: 900px) --- */



@media screen and (min-width: 1280px) {

html, body {
	height: auto;
}

body {
	margin-bottom: 2rem;
}

}	/* --- Ende @media screen and (min-width: 1280px) --- */



@media screen and (min-width: 1400px) {

html, body {
	height: auto;
}

body {
	margin-bottom: 2rem;
}

}	/* --- Ende @media screen and (min-width: 1400px) --- */






@media print {

/*	Nicht drucken
––––––––––––––––––––––––– */

nav, img, .zoom, figure, footer ul {
	display: none !important;
}



/*	Drucken
––––––––––––––––––––––––– */

body {
	font-size: 11pt;
	color: #000;
	line-height: 1.6;
	text-align: left;
	margin: 10mm 10mm 25mm 20mm;
	background: transparent;	
}

h1, h2, h3, h4 {
	font-weight: 400;
	page-break-inside: avoid;
	page-break-after: avoid;
	padding: 10pt 0 0;
	margin: 0 0 5pt;
}

h2 {
	font-size: 16pt;
}

h3 {
	font-size: 14pt;
}

h4 {
	font-size: 12pt;
}

main h2:first-child, article h2:first-child
h2 + h3, h2 + a + h3, h2 + img + h3, main h3:first-child, article h3:first-child,
h3 + h4, h3 + a + h4, h3 + img + h4, main h4:first-child, article h4:first-child {
	padding-top: 0;
}

header {
	margin: 0 0 10mm;
}

header h1 {
	display: inline-block;
	font-size: 18pt;
}

header h1::before {
	content: "";
	display: block;
	width: 36pt;
	height: 36pt;
	margin: 0 0 18pt auto;
	background: var(--bf);
}

article {
	widows: 2;
	orphans: 3;
	margin: 0 0 22pt;
}

p, ul, ol, dl {
	margin-bottom: 6pt;
}

ul, ol {
	padding-left: 5mm;
}

a { 
	color: #000;
}

a::after { 
	content: "";
}

a[href^='http://'], a[href^='https://'] {
	font-weight: 600;
	color: #000;
}

a[href^='http://']::after, a[href^='https://']::after { 
	content: " ("attr(href)")";
	font-size: 10pt;
	font-weight: 400;
	color: #000;
}

a[href^='https://vonaussenraumgeben'] {
	font-size: 11pt;
	font-weight: 400;
	color: #000;
}

a[href^='https://vonaussenraumgeben']::after { 
	content: "";
}

.address {
	page-break-inside: avoid;
}

.address h3,
.address h4 {
	font-size: 11pt;
	font-weight: 600;
	color: #000;
	padding: 0;
	margin: 0 0 6pt;
}

.address p {
	margin: 0 0 6pt;
}

.address [itemprop="streetAddress"] {
	margin: 0;
}

.address [itemprop="telephone"],
.address a[href^="tel"] {
	color: #000;
}

.address [itemprop="offers"],
.address [itemprop="addressCountry"] {
	display: none;
}

.caps, .dateiformat {
	text-transform: uppercase;
}

abbr, .caps, abbr .caps, .dateiformat {
	font-size: 10pt;
}

h3 .caps {
	font-size: 12pt;
}

abbr[title]::after {
	content: " ("attr(title)")";
}

dl {
	margin: 0;
	overflow: hidden;
}

dt {
	width: 12mm;
	float: left;
	display: inline;
}

dd {
	margin: 0 0 5pt 12mm;
}

blockquote {
	display: inline-block;
	quotes: "\00AB""\00BB";
	padding: 7pt 10pt 0 30pt;
	margin: 12pt auto;
	border-top: 1pt solid var(--bf);
	border-bottom: 1pt solid var(--bf);
}

blockquote::before {
	display: block;
	content: open-quote;
	width: auto;
	height: auto;
	position: relative;
	top: 5pt;
	left: -22pt;
	font-size: 33pt;
	line-height: 0;
	color: var(--bf);
}

.eng {
	word-spacing: -1pt;
}

.enger {
	word-spacing: -2pt;
}

}	/* --- Ende @media print --- */



/*	Magnific Popup - v1.1.0 - 2016-02-20 - Copyright (c) 2016 Dmitry Semenov - https://dimsemenov.com/plugins/magnific-popup/ */

.mfp-bg {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1042;
	overflow: hidden;
	position: fixed;
	background: hsla(var(--hBf), 10%, 5%, .95);
}

.mfp-wrap {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1043;
	position: fixed;
	outline: none !important;
	backface-visibility: hidden;
}

.mfp-container {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 0 8px;
	box-sizing: border-box;
}

.mfp-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
	display: none;
}

.mfp-content {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 auto;
	text-align: left;
	z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
	width: 100%;
	cursor: auto;
}

.mfp-ajax-cur {
	cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	cursor: -moz-zoom-out;
	cursor: -webkit-zoom-out;
	cursor: zoom-out;
}

.mfp-zoom {
	cursor: pointer;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
	cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.mfp-loading.mfp-figure {
	display: none;
}

.mfp-hide {
	display: none !important;
}

.mfp-preloader {
	color: #CCC;
	position: absolute;
	top: 50%;
	width: auto;
	text-align: center;
	margin-top: -0.8em;
	left: 8px;
	right: 8px;
	z-index: 1044;
}
.mfp-preloader a {
	color: #CCC;
}

.mfp-preloader a:hover {
	color: #FFF;
}

.mfp-s-ready .mfp-preloader {
	display: none;
}

.mfp-s-error .mfp-content {
	display: none;
}

button.mfp-close,
button.mfp-arrow {
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	display: block;
	outline: none;
	padding: 0;
	z-index: 1046;
	box-shadow: none;
	touch-action: manipulation;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.mfp-close {
	width: 44px;
	height: 44px;
	line-height: 44px;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	text-align: center;
	opacity: 0.65;
	padding: 0 0 18px 10px;
	color: #FFF;
	font-style: normal;
	font-size: 28px;
	font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
	opacity: 1;
}

.mfp-close:active {
	top: 1px;
}

.mfp-close-btn-in .mfp-close {
	color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
	color: #FFF;
	right: -6px;
	text-align: right;
	padding-right: 6px;
	width: 100%;
}

.mfp-counter {
	position: absolute;
	top: 0;
	right: 0;
	color: #CCC;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
}

.mfp-arrow {
	position: absolute;
	opacity: 0.65;
	margin: 0;
	top: 50%;
	margin-top: -55px;
	padding: 0;
	width: 90px;
	height: 110px;
	-webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
	margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
	opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 35px;
	margin-left: 35px;
	border: medium inset transparent;
}

.mfp-arrow:after {
	border-top-width: 13px;
	border-bottom-width: 13px;
	top: 8px;
}

.mfp-arrow:before {
	border-top-width: 21px;
	border-bottom-width: 21px;
	opacity: 0.7;
}

.mfp-arrow-left {
	left: 0;
}

.mfp-arrow-left:after {
	border-right: 17px solid #FFF;
	margin-left: 31px;
}

.mfp-arrow-left:before {
	margin-left: 25px;
	border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
	right: 0;
}

.mfp-arrow-right:after {
	border-left: 17px solid #FFF;
	margin-left: 39px;
}

.mfp-arrow-right:before {
	border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
	padding-top: 40px;
	padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
	line-height: 0;
	width: 100%;
	max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
	top: -40px;
}

.mfp-iframe-scaler {
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: #000;
}

/* Main image in popup */

img.mfp-img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	line-height: 0;
	box-sizing: border-box;
	padding: 40px 0 40px;
	margin: 0 auto;
}

/* The shadow behind the image */

.mfp-figure {
	line-height: 0;
}

.mfp-figure:after {
	content: '';
	position: absolute;
	left: 0;
	top: 40px;
	bottom: 40px;
	display: block;
	right: 0;
	width: auto;
	height: auto;
	z-index: -1;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: #444;
}

.mfp-figure small {
	color: #BDBDBD;
	display: block;
	font-size: 12px;
	line-height: 14px;
}

.mfp-figure figure {
	margin: 0;
}

.mfp-bottom-bar {
	margin-top: -36px;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	cursor: auto;
}

.mfp-title {
	text-align: left;
	line-height: 18px;
	color: #F3F3F3;
	word-wrap: break-word;
	padding-right: 36px;
}

.mfp-image-holder .mfp-content {
	max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
	cursor: pointer;
}



@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {

/*	Remove all paddings around the image on small screen */


.mfp-img-mobile .mfp-image-holder {
	padding-left: 0;
	padding-right: 0;
}

.mfp-img-mobile img.mfp-img {
	padding: 0;
}

.mfp-img-mobile .mfp-figure:after {
	top: 0;
	bottom: 0;
}

.mfp-img-mobile .mfp-figure small {
	display: inline;
	margin-left: 5px;
}

.mfp-img-mobile .mfp-bottom-bar {
	background: rgba(0, 0, 0, 0.6);
	bottom: 0;
	margin: 0;
	top: auto;
	padding: 3px 5px;
	position: fixed;
	box-sizing: border-box;
}

.mfp-img-mobile .mfp-bottom-bar:empty {
	padding: 0;
}

.mfp-img-mobile .mfp-counter {
	right: 5px;
	top: 3px;
}

.mfp-img-mobile .mfp-close {
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	line-height: 35px;
	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	text-align: center;
	padding: 0;
}

}



@media all and (max-width: 900px) {

.mfp-arrow {
	-webkit-transform: scale(0.75);
	transform: scale(0.75);
}

.mfp-arrow-left {
	-webkit-transform-origin: 0;
	transform-origin: 0;
}

.mfp-arrow-right {
	-webkit-transform-origin: 100%;
	transform-origin: 100%;
}

.mfp-container {
	padding-left: 6px;
	padding-right: 6px;
}

}



/*	CR: Änderung an Magnific Popup */

.mfp-iframe-holder .mfp-content {
    max-width: 960px;
}

.mfp-title, .mfp-counter {
	font-size: .875em;
	line-height: 1.3;
	color: #f3f3f3;
}

.mfp-title {
	word-wrap: normal;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
	padding-right: 6em;
	padding-left: .5em;
}

.mfp-title h2, .mfp-title p {
	display: inline;
	font-size: 1em;
	color: #fff;
}

.mfp-counter {
	right: 0;
	top: 0;
	padding-right: .5em;
}

/* --- Ende Magnific Popup --- */



