
@font-face {
    font-family: archivo;
    src: url(ArchivoBlack-Regular.ttf);
}

body {
    font-family: serif;
    font-size: 11pt;
}



/* ==========================================
   Seitenlayout
   ========================================== */

@page {
    size: A4;
    margin: 25mm 20mm 20mm 20mm;

    @top-left {
        content: "MERCI PROJECT";
        font-family: archivo, sans-serif;
        font-size: 9pt;
        font-weight: 700;
        color: #2f7195;
        vertical-align: middle;
    }

    @top-right {
        content: counter(page);
        font-family: archivo, sans-serif;
        font-size: 9pt;
        color: #555;
        vertical-align: middle;
    }
}

/* Erste Seite ohne zusätzliche Kopfzeile */

@page :first {
    @top-left {
        content: none;
    }

    @top-right {
        content: none;
    }
}
/* Alle Sprachvarianten ausblenden */
.content_de,
.content_en,
.content_fr,
.content_fa {
    display: none !important;
}

/* Ausgewählte Sprache: Blockelemente */
html.lang-de div.content_de,
html.lang-en div.content_en,
html.lang-fr div.content_fr,
html.lang-fa div.content_fa {
    display: block !important;
}

/* Ausgewählte Sprache: Inlineelemente */
html.lang-de span.content_de,
html.lang-en span.content_en,
html.lang-fr span.content_fr,
html.lang-fa span.content_fa {
    display: inline !important;
}

/* Farsi */
html.lang-fa .content_fa {
    direction: rtl;
    text-align: right;
}


    html,
    body,
    main,
    .content {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        overflow: visible !important;
    }




/* Dokumentkopf */

header {
    display: block;
    margin-bottom: 18mm;
    break-after: avoid;
}

header .inner {
    display: block;
}

#navi {
    display: block;
}

#merci {
    font-family: sans-serif;
    font-size: 28pt;
    font-weight: 700;
    letter-spacing: 0.06em;
}


#merci_extend {
    display: none;
}

#project {
    font-family: sans-serif;
    font-size: 25pt;
    letter-spacing: 0.2em;
}

#merci_langtext {
    margin-top: 10mm;
    padding-bottom: 5mm;
    font-family: archivo;
    color:#fefefe;
    font-size: 20pt;
    line-height: 2;
}
#merci_langtext .content_fa {
    padding-right: 15mm;
}



/* ==========================================
   MERCI – Drucklogo, erste Seite
   ========================================== */



header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    height: 42mm !important;
}

header .inner {
    position: relative;
    height: 100%;
}

#navi {
    --s: 40mm;

    position: absolute;
    top: -10mm;
    right: -5mm;

    width: var(--s);
    height: var(--s);

    display: flex;
    justify-content: center;
    align-items: center;
}

/* MERCI-Kreis */

#merci {
    width: calc(var(--s) * 0.75);
    height: calc(var(--s) * 0.75);

    box-sizing: border-box;

    font-family: archivo, sans-serif;
    background: white;

    border-radius: 50%;
    border: calc(var(--s) * 0.05) solid #2f7195;

    color: #2f7195;
    font-size: calc(var(--s) * 0.167);
    font-weight: 900;

    transform: rotate(-12deg);

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 0 1mm rgba(0, 0, 0, 0.29);
}

/* Sprachsymbole */

.lang-marker {
    position: absolute;
    cursor: default;
}

.lang-marker img {
    display: block;
    width: 100%;
    height: auto;
}

/* Keine Markierung der ausgewählten Sprache */

.lang-marker::before,
.lang-marker::after {
    display: none !important;
}

/* Positionen der vier Symbole */

#de {
    top: 55%;
    left: 70%;
    width: 27%;
}

#fr {
    top: 5%;
    left: 53%;
    width: 33%;
}

#en {
    top: 14%;
    right: 65%;
    width: 37%;
}

#fa {
    top: 65%;
    right: 50%;
    width: 33%;
}











/* ==========================================
   MERCI – Drucktypografie
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap');

body {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 11.5pt;
    font-weight: 400;
    line-height: 1.4;
    color: #252525;
}

/* Überschriften H1 und H2 */

h1,
h2 {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 19pt;
    font-weight: 600;
    line-height: 1.2;

    color: #2f7195;

    margin: 9mm 0 4mm 0;

    break-after: avoid;
    break-inside: avoid;
}

h1.headline {
	color:#000;
	font-size:22pt;
	line-height: 2.3;
	Text-align:center;
	letter-spacing: 0.04em;
	font-weight:300;
	padding:1.2cm;

	
}
/* Untergeordnete Überschriften */

h3 {
    font-size: 14pt;
    font-weight: 600;
    line-height: 1.25;

    margin: 7mm 0 3mm 0;

    break-after: avoid;
}

/* Fließtext */

p {
    margin: 0 0 3.5mm 0;
    orphans: 3;
    widows: 3;
    text-align:justify;
}

/* Hervorhebungen */

strong,
b {
    font-weight: 600;
}

/* Listen */

ul,
ol {
    margin: 3mm 0 4mm 0;
    padding-left: 7mm;
}

li {
    margin-bottom: 1.5mm;
}

/* Links */

a {
    color: inherit;
    text-decoration: none;
}



.dialog-toggle, .app-div, .joinproject-sticker, footer {
	display:none;
	}
	
	
.print-a {
	display:block;
}	
	
.print-pagebreak {
    break-before: page;
    page-break-before: always;
}

.print-q {
   font-family: archivo;
    font-weight: 300;
    line-height: 1.2;

    color: #2f7195;
    
    break-after: avoid;
    break-inside: avoid;

}

.imgconatiner {
	display:none;
}

.dialog-offer {
    break-inside: avoid;

}

