<?if portrait?>
  <define pd_bottomBarHeight="##99" nv_menuWidth="##54"/>
<?endif portrait?>
<?if landscape?>
  <define pd_bottomBarHeight="##70" nv_menuWidth="##54"/>
<?endif landscape?>

  <wnd3d id="overlayNaviPedestrian" unlockTolerance="=##25"/>

<!-- pouzivane materialy a ine definicie -->
  <gradient id="fill.nv.ped.background" colors="FD292e44 E3000000" positions="00 ff"/>
<!--  <gradient id="fill.nv.ped.infobar" colors="E3000000 FD292e44" positions="00 ff"/>
  <gradient id="fill.nv.ped.infobar.shadow" colors="10000000 00000000" positions="00 ff"/> -->
  <gradient id="fill.nv.ped.gradRight" colors="20AFABAF 60AFABAF" positions="00 ff" orientation="horizontal"/>
  <material id="bmp.nv.ped.menu(?)" path="AppNavibar\menu(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="bmp.nv.ped.search(?)" path="AppNavibar\search(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>

  <color id="fill.nv.ped.shape.grayTrans" color="19ffffff"/>
  <color id="fill.nv.ped.shape.white" color="606060"/>
  <color id="fill.nv.ped.stopWatchLine" color="53ababab"/>
  <color id="fill.nv.ped.stopWatchLine2" color="53000000"/>
  <color id="pen.text3D_nieco9" color="FFffffff"/>

  <color id="pen.watch.start" color="ffFFFFFF"/>
  <color id="pen.watch.lap" color="ff94C700"/>
  <color id="pen.watch.end" color="ffFD9000"/>
  <color id="pen.watch.reset" color="ffD30000"/>

  <font id="font.ui3d.ped.14"  name="bold"  nameBorder="NONE" scale="nouser" size="14" leading="14"/>
  <font id="font.ui3d.ped.16"  name="bold"  nameBorder="NONE" scale="nouser" size="16" leading="16"/>
  <font id="font.ui3d.ped.22"  name="bold"  nameBorder="NONE" scale="nouser" size="22" leading="22"/>

<!--  <textStyle id="text.infobarTop" color="pen.text3D_nieco1" colorSel="pen.text3D_nieco1" count="2" font1="font.ui3d.ped.16" font2="font.ui3d.ped.14"/> -->

  <material id="_m.nvp.line.v" path="AppNavibar\line_v.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
  <material id="_m.nvp.line.h" path="AppNavibar\line_h.png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
  <!-- pouzit velku bitmapu -->

<!-- screen -->

<?if portrait?>
	<positionFix id="pos.ped.uncovered" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=##28" relatY1="0" deltaY2="=-##99" relatY2="1"/>
<?endif portrait?>
<?if landscape?>
	<positionFix id="pos.ped.uncovered" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=##28" relatY1="0" deltaY2="=-##70" relatY2="1"/>
<?endif landscape?>

  <button3d id="ui3d.ped.zoomIn" position="pos.ui3d.ped.zoomIn" children="ui3d.common.zoomIn" children_="ui3d.common.zoomIn_"/>
  <button3d id="ui3d.ped.zoomOut" position="pos.ui3d.ped.zoomOut" children="ui3d.common.zoomOut" children_="ui3d.common.zoomOut_"/>
  <button3d id="ui3d.ped.zoomSwap2D" position="pos.ui3d.ped.zoomSwap" children="ui3d.common.zoomSwap2D" children_="ui3d.common.zoomSwap2D_"/>
  <button3d id="ui3d.ped.zoomSwap3D" position="pos.ui3d.ped.zoomSwap" children="ui3d.common.zoomSwap3D" children_="ui3d.common.zoomSwap3D_"/>

  <button3d id="ui3d.ped.zoomIn.lock" position="pos.ui3d.ped.zoomIn.lock" children="ui3d.common.zoomIn" children_="ui3d.common.zoomIn_"/>
  <button3d id="ui3d.ped.zoomOut.lock" position="pos.ui3d.ped.zoomOut.lock" children="ui3d.common.zoomOut" children_="ui3d.common.zoomOut_"/>
  <button3d id="ui3d.ped.zoomSwap2D.lock" position="pos.ui3d.ped.zoomSwap.lock" children="ui3d.common.zoomSwap2D" children_="ui3d.common.zoomSwap2D_"/>
  <button3d id="ui3d.ped.zoomSwap3D.lock" position="pos.ui3d.ped.zoomSwap.lock" children="ui3d.common.zoomSwap3D" children_="ui3d.common.zoomSwap3D_"/>
  <button3d id="ui3d.ped.screenLocked" position="pos.ui3d.ped.screenLock" children="ui3d.common.screenLocked" children_="ui3d.common.screenLocked_"/>
  <button3d id="ui3d.ped.screenUnLocked" position="pos.ui3d.ped.screenLock" children="ui3d.common.screenUnLocked" children_="ui3d.common.screenUnLocked_"/>

<positionFix id="pos.ui3d.ped.zoomContainer" reference="pos.ped.uncovered" deltaX1="=-texWidth('bmp.uiZoomIn')" relatX1="1" deltaX2="0" relatX2="1" deltaY1="=-(texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomOut')+texHeight('bmp.uiZoomSwap2D'))/2" relatY1="0.5" deltaY2="=(texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomOut')+texHeight('bmp.uiZoomSwap2D')+1)/2" relatY2="0.5"/>
<positionFix id="pos.ui3d.ped.zoomIn"   reference="pos.ui3d.ped.zoomContainer" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="=texHeight('bmp.uiZoomIn')" relatY2="0"/>
<positionFix id="pos.ui3d.ped.zoomSwap" reference="pos.ui3d.ped.zoomContainer" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=texHeight('bmp.uiZoomIn')" relatY1="0" deltaY2="=+texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomSwap2D')" relatY2="0"/>
<positionFix id="pos.ui3d.ped.zoomOut"  reference="pos.ui3d.ped.zoomContainer" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomSwap2D')" relatY1="0" deltaY2="0" relatY2="1"/>

<positionFix id="pos.ui3d.ped.zoomContainer.lock" reference="pos.ped.uncovered" deltaX1="=-texWidth('bmp.uiZoomIn')" relatX1="1" deltaX2="0" relatX2="1" deltaY1="=-(texHeight('bmp.uiRotate')+texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomOut')+texHeight('bmp.uiZoomSwap2D'))/2" relatY1="0.5" deltaY2="=(texHeight('bmp.uiRotate')+texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomOut')+texHeight('bmp.uiZoomSwap2D')+1)/2" relatY2="0.5"/>
<positionFix id="pos.ui3d.ped.zoomIn.lock"   reference="pos.ui3d.ped.zoomContainer.lock" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=texHeight('bmp.uiRotate')" relatY1="0" deltaY2="=texHeight('bmp.uiRotate')+texHeight('bmp.uiZoomIn')" relatY2="0"/>
<positionFix id="pos.ui3d.ped.zoomSwap.lock" reference="pos.ui3d.ped.zoomContainer.lock" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=texHeight('bmp.uiRotate')+texHeight('bmp.uiZoomIn')" relatY1="0" deltaY2="=texHeight('bmp.uiRotate')+texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomSwap2D')" relatY2="0"/>
<positionFix id="pos.ui3d.ped.zoomOut.lock"  reference="pos.ui3d.ped.zoomContainer.lock" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=texHeight('bmp.uiRotate')+texHeight('bmp.uiZoomIn')+texHeight('bmp.uiZoomSwap2D')" relatY1="0" deltaY2="0" relatY2="1"/>
<positionFix id="pos.ui3d.ped.screenLock" reference="pos.ui3d.ped.zoomContainer.lock" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="=texHeight('bmp.uiRotate')" relatY2="0"/>



<!-- C3DWnd CBottomBarPed -->

<!-- pomocne a dekoracne shapy -->
<shape3d id="nv.ped.background" material="mat.genTransparentBlend" gradient="fill.nv.ped.background"/>
<shape3d id="nv.ped.shp.vertical" position="pos.nv.ped.shp.vertical" material="_m.nvp.line.v"/>
<shape3d id="nv.ped.shp.vertical2" position="pos.nv.ped.shp.vertical2" material="_m.nvp.line.v"/>
<shape3d id="nv.ped.shp.vertical3" position="pos.nv.ped.shp.vertical3" material="_m.nvp.line.v"/>
<shape3d id="nv.ped.shp.vertical4" position="pos.nv.ped.shp.vertical4" material="_m.nvp.line.v"/>
<shape3d id="nv.ped.shp.vertical5" position="pos.nv.ped.shp.vertical5" material="_m.nvp.line.v"/>
<shape3d id="nv.ped.shp.horizontal" position="pos.nv.ped.shp.horizontal" material="_m.nvp.line.h"/>
<shape3d id="nv.ped.shp.horizontal1" position="pos.nv.ped.shp.horizontal1" material="_m.nvp.line.h"/>
<shape3d id="nv.ped.shp.horizontal2" position="pos.nv.ped.shp.horizontal2" material="_m.nvp.line.h"/>
<gradient id="fill.nv.ped.shp.shadow" colors="00000000 10000000" positions="00 ff"/>

<shape3d id="nv.ped.shp.shadow" position="pos.nv.ped.shp.shadow" material="mat.genTransparentBlend" gradient="fill.nv.ped.shp.shadow"/>
<positionFix id="pos.nv.ped.shp.shadow" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=##-20" relatY1="0" deltaY2="0" relatY2="0"/>


<!-- C3DWnd Menu button -->
<button3d id="nv.ped.btnMenu" position="pos.nv.ped.btnMenu" children="nv.ped.btnMenu.icon" children_="nv.ped.btnMenu.grad, nv.ped.btnMenu.icon"/>
<shape3d id="nv.ped.btnMenu.grad" material="mat.genTransparentBlend" gradient="fill.nv.ped.gradRight"/>
<shape3d id="nv.ped.btnMenu.icon" position="pos.nv.ped.btnMenu.icon" material="bmp.nv.ped.menu" align="center" valign="center"/>
<positionFix id="pos.nv.ped.btnMenu.icon" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>
<!-- /C3DWnd Menu button -->

<!-- C3DWnd Search button -->
<button3d id="nv.ped.btnSearch" position="pos.nv.ped.btnSearch" children="nv.ped.btnSearch.icon" children_="nv.ped.btnMenu.grad, nv.ped.btnSearch.icon"/>
<shape3d id="nv.ped.btnSearch.grad" material="mat.genTransparentBlend" gradient="fill.nv.ped.gradRight"/>
<shape3d id="nv.ped.btnSearch.icon" material="bmp.nv.ped.search" align="center" valign="center"/>
<!-- /C3DWnd Search button -->

<!-- new Watch button -->
<wnd3d id="nv.ped.btnWatch" class="CUIWatchButton" position="pos.nv.ped.btnWatch" children="nv.ped.btnWatch1, nv.ped.btnWatch2, nv.ped.btnWatch3, nv.ped.btnWatch4"/>
<position id="pos.nv.ped.btnWatch" deltaX1="0" relatX1="0" deltaX2="=texWidth('_m.nv.ped.btnWatch1')" relatX2="0" deltaY1="0" relatY1="0.1" deltaY2="=texHeight('_m.nv.ped.btnWatch1')" relatY2="0.1"/>

<button3d id="nv.ped.btnWatch1" position="pos.nv.ped.btnWatch" children="btn.nv.ped.btnWatch1" children_="btn.nv.ped.btnWatch1"/>
<button3d id="nv.ped.btnWatch2" position="pos.nv.ped.btnWatch" children="btn.nv.ped.btnWatch2" children_="btn.nv.ped.btnWatch2"/>
<button3d id="nv.ped.btnWatch3" position="pos.nv.ped.btnWatch" children="btn.nv.ped.btnWatch3" children_="btn.nv.ped.btnWatch3"/>
<button3d id="nv.ped.btnWatch4" position="pos.nv.ped.btnWatch" children="btn.nv.ped.btnWatch4" children_="btn.nv.ped.btnWatch4"/>

<shape3d id="btn.nv.ped.btnWatch1" material="_m.nv.ped.btnWatch1" align="left" valign="center"/>
<shape3d id="btn.nv.ped.btnWatch2" material="_m.nv.ped.btnWatch2" align="left" valign="center"/>
<shape3d id="btn.nv.ped.btnWatch3" material="_m.nv.ped.btnWatch3" align="left" valign="center"/>
<shape3d id="btn.nv.ped.btnWatch4" material="_m.nv.ped.btnWatch4" align="left" valign="center"/>

<material id="_m.nv.ped.btnWatch1(?)" path="AppNavibar\Stopwatch\sw_1(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
<material id="_m.nv.ped.btnWatch2(?)" path="AppNavibar\Stopwatch\sw_2(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
<material id="_m.nv.ped.btnWatch3(?)" path="AppNavibar\Stopwatch\sw_3(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
<material id="_m.nv.ped.btnWatch4(?)" path="AppNavibar\Stopwatch\sw_4(?).png" flags="MfReplaceFunction MfColor MfAoBlendByTexture MfWmClampToEdge MfExpand" groupid="TgIDUI" tc="bmp_expand_only"/>
<!--/new Watch button -->

<!-- C3DWnd CUICompass 2 -->
<color id="_c.nv.ped.compass2.tick" color="b0b0b0"/>
<wnd3d id="nv.ped.compass2" class="CUICompass2" position="pos.nv.ped.compass" clrTicks="_c.nv.ped.compass2.tick"/>
<!-- /C3DWnd CUICompass v2 -->

<!-- C3DWnd CUICompass v1 -->
<wnd3d id="nv.ped.compass1" class="CUICompass" position="pos.nv.ped.compass" materialBottom="bmp.uiCompass1Back" materialTop="bmp.uiCompass1Top" materialClicked="bmp.uiCompass1Clicked" materialDisabled="bmp.uiCompass1Disabled" font="font.light.14" text="_t.compass1"/> 
<!-- C3DWnd CUICompass v1 -->

<!-- C3DWnd CUICompass v3 -->
<wnd3d id="nv.ped.compass3" class="CUICompass3" position="pos.nv.ped.compass" 
  children="nv.compass3.bottom, nv.compass3.ticks, nv.compass3.top, nv.compass3.red" 
  children_="nv.compass3.bottom, nv.compass3.ticks, nv.compass3.top_, nv.compass3.red" 
  disabled="nv.compass3.bottom, nv.compass3.ticks, nv.compass3.top__, nv.compass3.red"/> 
<!-- C3DWnd CUICompass v3 -->


<!-- C3DWnd CUIInfoBox -->
<textStyle id="text.infoboxBlack" color="pen.text3D_nieco4" colorSel="pen.text3D_nieco1" vOffset="0.1875" hOffset="0.1875" count="2" font1="font.ui3d.ped.22" font2="font.ui3d.ped.14"/>

<button3d id="nv.ped.infobox" position="pos.nv.ped.infobox" items="nv.ped.infobox.first, nv.ped.infobox.second, nv.ped.infobox.third, nv.ped.infobox.fourth"/>

<static3d id="nv.ped.infobox.first" position="pos.nv.ped.infobox.first"	align="center" valign="center" color="pen.text3D_nieco1" textstyle="text.infoboxBlack" text=" "/>
<static3d id="nv.ped.infobox.second" position="pos.nv.ped.infobox.second"		align="center" valign="center" color="pen.text3D_nieco1" textstyle="text.infoboxBlack" text=" "/>
<static3d id="nv.ped.infobox.third" position="pos.nv.ped.infobox.third"	align="center" valign="center" color="pen.text3D_nieco1" textstyle="text.infoboxBlack" text=" "/>
<static3d id="nv.ped.infobox.fourth" position="pos.nv.ped.infobox.fourth"		align="center" valign="center" color="pen.text3D_nieco1" textstyle="text.infoboxBlack" text=" "/>

<!-- middle align valign="center" nefunguje, posunieme natvrdo o par pixelov dole -->
<?if portrait?>
  <positionFix id="pos.nv.ped.infobox.first"	deltaX1="=##2" relatX1="0.00" deltaX2="=##-2" relatX2="0.5" deltaY1="=##8" relatY1="0.00" deltaY2="=##-2" relatY2="0.50"/>
  <positionFix id="pos.nv.ped.infobox.second"	deltaX1="=##2" relatX1="0.5" deltaX2="=##-2" relatX2="1.0" deltaY1="=##8" relatY1="0.00" deltaY2="=##-2" relatY2="0.50"/>
  <positionFix id="pos.nv.ped.infobox.third"	deltaX1="=##2" relatX1="0.00" deltaX2="=##-2" relatX2="0.5" deltaY1="0" relatY1="0.50" deltaY2="=##-2" relatY2="1.0"/>
  <positionFix id="pos.nv.ped.infobox.fourth"	deltaX1="=##2" relatX1="0.5" deltaX2="=##-2" relatX2="1.0" deltaY1="0" relatY1="0.50" deltaY2="=##-2" relatY2="1.0"/>
<?endif portrait?>
<?if landscape?>
  <positionFix id="pos.nv.ped.infobox.first"	deltaX1="=##2" relatX1="0.00" deltaX2="=##-2" relatX2="0.25" deltaY1="0" relatY1="0.00" deltaY2="0" relatY2="1.0"/>
  <positionFix id="pos.nv.ped.infobox.second"	deltaX1="=##2" relatX1="0.25" deltaX2="=##-2" relatX2="0.5" deltaY1="0" relatY1="0.00" deltaY2="0" relatY2="1.0"/>
  <positionFix id="pos.nv.ped.infobox.third"	deltaX1="=##2" relatX1="0.5" deltaX2="=##-2" relatX2="0.75" deltaY1="0" relatY1="0.00" deltaY2="0" relatY2="1.0"/>
  <positionFix id="pos.nv.ped.infobox.fourth"	deltaX1="=##2" relatX1="0.75" deltaX2="=##-2" relatX2="1.0" deltaY1="0" relatY1="0.00" deltaY2="0" relatY2="1.0"/>
<?endif landscape?>
<!-- /C3DWnd CUIInfoBox -->

<!-- C3DWnd CUIStopWatch -->
<gradient id="fill.nv.ped.stopWatch" colors="832a2827 83000000" positions="00 ff"/>
<button3d id="nv.ped.stopWatch" position="pos.nv.ped.stopWatch" shapes="nv.ped.stopWatch.rectBound, nv.ped.stopWatch.horizontal, nv.ped.stopWatch.horizontal2" items="nv.ped.stopWatch.grossTime, nv.ped.stopWatch.lapTime, nv.ped.stopWatch.lapText, nv.ped.stopWatch.lapNum"/>
<shape3d id="nv.ped.stopWatch.rectBound" gradient="fill.nv.ped.stopWatch" material="mat.genTransparentBlend" corner="3"/>
<shape3d id="nv.ped.stopWatch.horizontal" position="pos.nv.ped.stopWatch.shp.horizontal" color="fill.nv.ped.stopWatchLine"/>
<shape3d id="nv.ped.stopWatch.horizontal2" position="pos.nv.ped.stopWatch.shp.horizontal2" color="fill.nv.ped.stopWatchLine2"/>

<static3d id="nv.ped.stopWatch.lapText" position="pos.nv.ped.stopWatch.lapText"	align="right" valign="center" color="pen.text3D_nieco1" font="font.icon.16" text=" "/>
<static3d id="nv.ped.stopWatch.lapNum" position="pos.nv.ped.stopWatch.lapNum"		align="left" valign="center" color="pen.text3D_nieco1" font="font.black.14" text=" "/>
<static3d id="nv.ped.stopWatch.lapTime" position="pos.nv.ped.stopWatch.lapTime"	align="center" valign="center" color="pen.text3D_nieco1" font="font.black.22" text=" "/>
<static3d id="nv.ped.stopWatch.grossTime" position="pos.nv.ped.stopWatch.grossTime"	align="center" valign="center" color="pen.text3D_nieco5" font="font.black.14" text=" "/>

<!-- middle align valign="center" nefunguje, posunieme natvrdo o par pixelov dole -->
<positionFix id="pos.nv.ped.stopWatch.lapText"	deltaX1="=##1" relatX1="0.09" deltaX2="=##-1" relatX2="0.14" deltaY1="=##1" relatY1="0.00" deltaY2="=##-1" relatY2="0.5"/>
<positionFix id="pos.nv.ped.stopWatch.lapNum"	deltaX1="=##1" relatX1="0.14" deltaX2="=##-1" relatX2="0.4" deltaY1="=##2" relatY1="0.0" deltaY2="=##-2" relatY2="0.5"/>
<positionFix id="pos.nv.ped.stopWatch.lapTime"	deltaX1="=##2" relatX1="0.0" deltaX2="=##-2" relatX2="1.0" deltaY1="##2" relatY1="0.55" deltaY2="=##-2" relatY2="1.0"/>
<positionFix id="pos.nv.ped.stopWatch.grossTime"	deltaX1="=##2" relatX1="0.35" deltaX2="=##-2" relatX2="1" deltaY1="##2" relatY1="0.08" deltaY2="=##-2" relatY2="0.5"/>
<positionFix id="pos.nv.ped.stopWatch.shp.horizontal"	deltaX1="=##2" relatX1="0" deltaX2="=##-2" relatX2="1" deltaY1="-1" relatY1="0.5" deltaY2="0" relatY2="0.5"/>
<positionFix id="pos.nv.ped.stopWatch.shp.horizontal2"	deltaX1="=##2" relatX1="0" deltaX2="=##-2" relatX2="1" deltaY1="-2" relatY1="0.5" deltaY2="-1" relatY2="0.5"/>
<!-- /C3DWnd CUIStopWatch -->

<!-- C3DWnd CUIStopWatchSmall -->
<button3d id="nv.ped.stopWatchSmall" position="pos.nv.ped.stopWatchSmall" shapes="nv.ped.stopWatch.rectBound" items="nv.ped.stopWatch.grossTimeSmall"/>
<static3d id="nv.ped.stopWatch.grossTimeSmall" position="pos.nv.ped.stopWatch.grossTimeSmall"	align="center" valign="center" color="pen.text3D_nieco1" font="font.black.22" text=" "/>
<positionFix id="pos.nv.ped.stopWatch.grossTimeSmall"	deltaX1="=##2" relatX1="0.0" deltaX2="=##-2" relatX2="1.0" deltaY1="##2" relatY1="0.1" deltaY2="=##-2" relatY2="1.0"/>
<!-- /C3DWnd CUIStopWatchSmall -->

<?if portrait?>
<wnd3d id="nv.ped.bottomBar" position="pos.nv.ped.bottomBar" 
  shapes="nv.ped.background, nv.ped.shp.vertical, nv.ped.shp.vertical2, nv.ped.shp.vertical3, nv.ped.shp.horizontal, nv.ped.shp.horizontal1, nv.ped.shp.horizontal2, nv.ped.shp.shadow"
  compass="nv.ped.compass3"
  topshapes="ui3d.ped.tInfobox"/>

<positionFix id="pos.nv.ped.bottomBar" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=-($pd_bottomBarHeight)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.compass" deltaX1="=##2" relatX1="0" deltaX2="=##-2" relatX2="1" deltaY1="=##2" relatY1="0" deltaY2="=(##-64)+(##-2)" relatY2="1"/>
<positionFix id="pos.nv.ped.compassTemp" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="=(##-64)+(##-2)" relatY2="1"/>
<positionFix id="pos.nv.ped.infobox" deltaX1="0.0" relatX1="=80/320" deltaX2="0.0" relatX2="=240/320" deltaY1="=(##-64)+(##-2)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.btnMenu" deltaX1="0" relatX1="=240/320" deltaX2="0" relatX2="1.0" deltaY1="=(##-64)+(##-2)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.btnSearch" deltaX1="0" relatX1="0" deltaX2="0" relatX2="=80/320" deltaY1="=(##-64)+(##-2)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical" deltaX1="0" relatX1="=80/320" deltaX2="2" relatX2="=80/320" deltaY1="=(##-64)+(##-2)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical2" deltaX1="0" relatX1="=160/320" deltaX2="2" relatX2="=160/320" deltaY1="=(##-64)+(##-2)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical3" deltaX1="0" relatX1="=240/320" deltaX2="2" relatX2="=240/320" deltaY1="=(##-64)+(##-2)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.horizontal" reference="pos.nv.ped.infobox" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0.5" deltaY2="2" relatY2="0.5"/>
<positionFix id="pos.nv.ped.shp.horizontal1" reference="pos.nv.ped.compassTemp" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0" deltaY2="2" relatY2="0"/>
<positionFix id="pos.nv.ped.shp.horizontal2" reference="pos.nv.ped.compassTemp" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="1" deltaY2="2" relatY2="1"/>
<positionFix id="pos.nv.ped.stopWatch" deltaX1="=##2" relatX1="0.30" deltaX2="=##-2" relatX2="0.70" deltaY1="=##52" relatY1="0" deltaY2="=##100" relatY2="0"/>
<positionFix id="pos.nv.ped.stopWatchSmall" deltaX1="=##2" relatX1="0.30" deltaX2="=##-2" relatX2="0.70" deltaY1="=##52" relatY1="0" deltaY2="=##80" relatY2="0"/>
<?endif portrait?>

<?if landscape?>
<wnd3d id="nv.ped.bottomBar" position="pos.nv.ped.bottomBar" 
  shapes="nv.ped.background, nv.ped.shp.vertical,nv.ped.shp.vertical2, nv.ped.shp.vertical3, nv.ped.shp.vertical4, nv.ped.shp.vertical5, nv.ped.shp.horizontal, nv.ped.shp.shadow"
  compass="nv.ped.compass3"
  topshapes="ui3d.ped.tInfobox"/>

<positionFix id="pos.nv.ped.bottomBar" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="=-($pd_bottomBarHeight)" relatY1="1" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.infobox" deltaX1="0.0" relatX1="=60/480" deltaX2="0.0" relatX2="=420/480" deltaY1="=##1" relatY1="0.5" deltaY2="=##-1" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical" deltaX1="0" relatX1="=150/480" deltaX2="2" relatX2="=150/480" deltaY1="0" relatY1="0.5" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical2" deltaX1="0" relatX1="=240/480" deltaX2="2" relatX2="=240/480" deltaY1="0" relatY1="0.5" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical3" deltaX1="0" relatX1="=330/480" deltaX2="2" relatX2="=330/480" deltaY1="0" relatY1="0.5" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical4" deltaX1="0" relatX1="=60/480" deltaX2="2" relatX2="=60/480" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.vertical5" deltaX1="0" relatX1="=420/480" deltaX2="2" relatX2="=420/480" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.shp.horizontal" deltaX1="0" relatX1="=60/480" deltaX2="0" relatX2="=420/480" deltaY1="0" relatY1="0.5" deltaY2="2" relatY2="0.5"/>
<positionFix id="pos.nv.ped.compass" deltaX1="=##2" relatX1="=60/480" deltaX2="=##-2" relatX2="=420/480" deltaY1="=##1" relatY1="0.0" deltaY2="=##-1" relatY2="0.5"/>

<positionFix id="pos.nv.ped.btnMenu" deltaX1="0" relatX1="=420/480" deltaX2="0" relatX2="1.0" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1.0"/>
<positionFix id="pos.nv.ped.btnSearch" deltaX1="0" relatX1="0" deltaX2="0" relatX2="=60/480" deltaY1="=##2" relatY1="0" deltaY2="0" relatY2="1"/>
<positionFix id="pos.nv.ped.stopWatch" deltaX1="=##2" relatX1="0.38" deltaX2="=##-2" relatX2="0.62" deltaY1="=##52" relatY1="0" deltaY2="=##100" relatY2="0"/>
<positionFix id="pos.nv.ped.stopWatchSmall" deltaX1="=##2" relatX1="0.38" deltaX2="=##-2" relatX2="0.63" deltaY1="=##52" relatY1="0" deltaY2="=##80" relatY2="0"/>
<?endif landscape?>

<!--
<wnd3d id="ui3d.ped.infoBar" position="pos.ui3d.ped.infoBar" static="ui3d.ped.infoBar.static" shapes="ui3d.ped.infoBar.background, ui3d.ped.infoBar.shadow"/>
<positionFix id="pos.ui3d.ped.infoBar" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="0.0" deltaY2="=##28" relatY2="0"/>

<shape3d id="ui3d.ped.infoBar.background" material="mat.genTransparentBlend" gradient="fill.nv.ped.infobar"/>
<static3d id="ui3d.ped.infoBar.static" align="center" valign="center" textstyle="text.infobarTop" position="pos.ui3d.ped.infoBar.static"/>

<positionFix id="pos.ui3d.ped.infoBar.static" deltaX1="=##40" relatX1="0" deltaX2="=##-40" relatX2="1" deltaY1="0" relatY1="0" deltaY2="0" relatY2="1"/>

<shape3d id="ui3d.ped.infoBar.shadow" position="pos.ui3d.ped.infoBar.shadow" material="mat.genTransparentBlend" gradient="fill.nv.ped.infobar.shadow"/>
<positionFix id="pos.ui3d.ped.infoBar.shadow" deltaX1="0" relatX1="0" deltaX2="0" relatX2="1" deltaY1="0" relatY1="1" deltaY2="=##24" relatY2="1"/>
-->

<!-- priesvitne buttony -->
<button3d id="ui3d.ped.tInfobox" position="pos.nv.ped.infobox" transparent="true" children="" children_="nv.ped.shp.btnTransparent"/>
<shape3d id="nv.ped.shp.btnTransparent" material="mat.genTransparentBlend" color="fill.nv.ped.shape.grayTrans"/>
