page = PAGE
page {
    meta {
        viewport = width=device-width, initial-scale=1
        X-UA-Compatible = IE=edge,chrome=1
        X-UA-Compatible.httpEquivalent = 1
        google-site-verification = {$bgm_theme.tracking.googleWebmastertools}
    }
    shortcutIcon = {$page.template.publicRootPath}Images/favicon.ico
    includeCSS {
        style = {$page.template.publicRootPath}Css/style.css
        responsive = {$page.template.publicRootPath}Css/responsive.css
    }
    includeJSFooterlibs {
        modernizr = {$page.template.publicRootPath}JavaScript/vendor/modernizr.min.js
        jquery = {$page.template.publicRootPath}JavaScript/vendor/jquery.js
        jquery.forceOnTop = 1
        general = {$page.template.publicRootPath}JavaScript/general.js
    }

    # Deaktivate Google Optimize but not Google Analytics
    cssInline.85577.10 >
    jsInline.85577.10 >
    jsInline.85577.20.20 >

	# Deactivate Matelso
	jsInline.85577.40 >

    # Deaktivate Piwik
    jsInline.85577.30 >

    10 = FLUIDTEMPLATE
    10 {
        file = EXT:bgm_theme_therapio/Resources/Private/Templates/Pages/Templates/Default.html

        partialRootPath = EXT:bgm_theme_therapio/Resources/Private/Templates/Pages/Partials/
        layoutRootPath = EXT:bgm_theme_therapio/Resources/Private/Templates/Pages/Layouts/

        variables {
            content < styles.content.get
            content {
                select {
                    orderBy = sorting
                    where = colPos=0
                    begin = 1
                    languageField = sys_language_uid
                }
            }
            headercontent < .content
            headercontent.select {
                begin = 0
                max = 1
            }

            navigation < .content
            navigation.select {
                where = colPos=2
                begin = 0
            }
        }
        settings{
            dataPrivacyUid = {$page.dataPrivacyUid}
        }
    }
}

#[PIDinRootline = 602]
[602 in tree.rootLineIds]
    page {
        includeCSS {
            formpage = {$page.template.publicRootPath}Css/formpage.css
        }
        10 {
            variables {
                content {
                    select {
                        begin = 0
                    }
                    stdWrap.wrap (
<div class="left-text-right-form">
	<div class="wrap">
		<div class="left-text">
			<div class="text-title">
				<h2 class="desktop-title">{$page.template.formularseite.header}</h2>
				<h2 class="mobile-title">{$page.template.formularseite.header}</h2>
			</div>
			<div class="text-info">
				<p>{$page.template.formularseite.bodytext}</p>
			</div>
		</div>
		<div class="right-form">
			<div class="right-form-box">
				|
			</div>
		</div>
	</div>
</div>
                    )
                }
                headercontent >
            }
        }
    }
[global]

#accordions for tables on pages datenschutz
#[PIDinRootline = 603]
[603 in tree.rootLineIds]
    page.includeJSFooter {
        tableacc = EXT:bgm_theme_azh/Resources/Public/Js/tableaccodions.js
    }
[global]
