/**!
 * Shopware Shopseiten CustomPages:
 * - Impressum
 * - Datenschutzerklärung
 * - AGB
 * - Widerrufsrecht
 * - Sitemap (?)
 * - Kontaktformular
 * - Newsletteraboformular
 * @version 0.1.0  11.01.2019
 * @author R. Serradeil, WebMechanic.biz
 */
/*
	body.is--ctl-custom .sidebar-main + .content--wrapper

evtl. das gleiche in marineart.css für:
	body.is--ctl-newsletter 	EIN Newsletter(?)
	body.is--ctl-forms 			das Anmeldeform für Newsletter
	body.is--ctl-sitemap
	body.is--ctl-listing
	body.is--ctl-tellafriend
	body.is--ctl-address
	body.is--ctl-note.is--user
	body.is--ctl-account.is--user
 */

html,body {color:#004A78}

body.is--ctl-custom .sidebar-main + .content--wrapper {margin-left:0}
body.is--ctl-custom .content-main--inner {padding:0 1.875rem}

/* core varies for every viewport, makes page jumpy */
body.is--ctl-custom .custom-page--content {margin-top:0}

/* no breadcrumbs here anyway, hide nav if hamburger menu is gone */
@media screen and (min-width:48em) {
    body.is--ctl-custom .off-canvas {display:none}
}
@media screen and (min-width:64em) {
    section.content-main {box-shadow:0 0 2ex 0.5ex rgba(0,0,0,.65)}
}

body.is--ctl-custom .content--custom {font-size:1rem}
body.is--ctl-custom .content--custom h1,
body.is--ctl-custom .content--custom h2 {font-size:1.618em}
body.is--ctl-custom .content--custom ul {padding-left:1.618ex}
body.is--ctl-custom .paragraph {
    margin-bottom:1rem;
    column-rule:2px solid #ccc;
    gap:1.61em;
}
body.is--ctl-custom .paragraph p,
body.is--ctl-custom .paragraph ul,
body.is--ctl-custom .paragraph ol,
body.is--ctl-custom .paragraph dl {font-size:.9em}
body.is--ctl-custom .paragraph li {margin-bottom:0}

@media screen and (min-width:48em) {
    body.is--ctl-custom .paragraph {column-count:2}
    body.is--ctl-custom .paragraph.short {column-count:1}
    body.is--ctl-custom .paragraph.medium {column-count:2}
    /* Abstand zum sticky menu */
    .content--custom h2:target {margin-top:1em}
}
@media screen and (min-width:64em) {
    body.is--ctl-custom .paragraph {column-count:3}
}

body.is--ctl-custom .content--custom :-webkit-any(p,ol,ul,dl,blockquote) {--fs:1em;margin-bottom:1.275em}
body.is--ctl-custom .content--custom    :-moz-any(p,ol,ul,dl,blockquote) {--fs:1em;margin-bottom:1.275em}
body.is--ctl-custom .content--custom     :matches(p,ol,ul,dl,blockquote) {--fs:1em;margin-bottom:1.275em}

body.is--ctl-custom .content--custom a img,
body.is--ctl-custom .content--custom p[style] {display:inline;font-size:9px;height:auto;line-height:1;opacity:.4 !important}
body.is--ctl-custom .content--custom a + br,
body.is--ctl-custom .content--custom p + br {display:none} /* pre>br bestehen lassen :) */


/* Impressum */
body.is--ctl-custom .ma-impressum .paragraph:nth-of-type(3) {column-count:1}


/* Datenschutzerklärung */
.ma-datenschutz .custom-page--tab-headline {display:none}
.ma-datenschutz dd {-webkit-margin-start:1em;margin-inline-start:1em}
.ma-datenschutz .paragraph:nth-last-of-type(2) {column-count:unset}


/* AGB */
body.is--ctl-custom .ma-agb h1 + h1 {display:initial} /* keep this duplicate headline */
.ma-agb a:link {text-decoration:underline;text-decoration-skip-ink:auto}
body.is--ctl-custom .ma-agb .paragraph:nth-of-type(7) {column-count:unset}
/* more space 4 fat fingers */
@media screen and (max-width:48em) {
    body.is--ctl-custom .ma-agb ol {font-size:1em}
    .ma-agb li {margin-bottom:1ex}
}


/* Widerrufsrecht @see media print below */
article.ma-widerruf .custom-page--tab-headline {display:none}
article.ma-widerruf p {font-size:.95rem}
@media screen and (min-width:48em) {
	.widerrufsformular {page-break-before:always}
	.widerrufsformular .form {font-family:Consolas,"Lucida Console","Droid Sans Mono","Andale Mono",Monaco,"Courier New",monospace;white-space:pre-line}
	.widerrufsformular .form p br {display:none}
}


/* Sitemap (falls das geht) */
body.is--ctl-custom .ma-sitemap {}


/* Kontaktformular */
body.is--ctl-custom .ma-kontaktform {}


/* Newsletteranmeldung */
body.is--ctl-custom .ma-newsletter {}

@media print {
    .ma-agb .custom-page--tab-headline, .ma-agb .toc {display:none}

	.widerrufsbelehrung .paragraph {page-break-inside:avoid; orphans:3; widows:3}
	.widerrufsformular {page-break-before:always}
    .is--ctl-custom .content--custom a,
    .is--ctl-custom .content--custom img {display:none}
}

/* .eof */
