<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp   "&#160;">
<!ENTITY copy   "&#169;">
]> 
<!-- 
Implementations Skeleton - 05/12/2016

INTERIOR PAGE 
A simple page type.

Contributors: Your Name Here
Last Updated: Enter Date Here
-->
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ou="http://omniupdate.com/XSL/Variables"
				xmlns:fn="http://omniupdate.com/XSL/Functions" xmlns:ouc="http://omniupdate.com/XSL/Variables" xmlns:svg="http://www.w3.org/2000/svg" exclude-result-prefixes="ou xsl xs fn ouc svg">

	<xsl:import href="common-2020.xsl"/>

	<xsl:template name="template-footcode"/>
	<xsl:template name="common-footer"/>
	<xsl:template name="page-content"/>

	<xsl:output method="html" version="4.0" indent="yes" encoding="UTF-8" include-content-type="no" omit-xml-declaration="yes"/>
	<xsl:mode name="copy" on-no-match="shallow-copy" />
	
	<xsl:template match="/document[not($ou:action = 'pub')]">
		<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;</xsl:text>
		<html>
			<head>
				<title>Global Header PCF to Include</title>
				<xsl:if test="$ou:action != 'edt'">
					<xsl:call-template name="common-headcode"/>
				</xsl:if>
			</head>
			<body>
				<xsl:if test="$ou:action = 'edt'">
					<div>					
						<p style="font-size: 15px;">Please navigate to preview mode to see how the header will appear on all pages.</p>
					</div>
				</xsl:if>
				<xsl:call-template name="content"/>

				<main></main>

				<xsl:if test="$ou:action != 'edt'">
					<xsl:copy-of select="ou:include-file('/_resources/includes/footcode-2020.inc')"/>
				</xsl:if>
			</body>
		</html>
	</xsl:template>

	<xsl:template match="/document[($ou:action = 'pub')]">
		<xsl:call-template name="content"/>
	</xsl:template>

	<xsl:template name="content">
			<div class="portal-BarInsert"/>
			<div class="cpe-alert">
				<xsl:copy-of select="ou:include-file('/_resources/includes/alertbar-2020.inc')"/>
			</div>
			<header>
				<xsl:copy-of select="ou:include-file('/_resources/includes/logo-2020.inc')"/>
				<xsl:if test="$ou:action = 'edt'">
				<div style="clear: both;"/>
				</xsl:if>
				<nav>
				<div id="menu-icon" class="menu-closed"><i class="fa fa-bars"></i></div>
				<xsl:apply-templates select="ouc:div[@label='nav']"/>
				</nav>
				<div style="clear: both;"></div>
			</header>
</xsl:template>			
			


</xsl:stylesheet>
