<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="clr-namespace:ForzaUI"
    xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
    mc:Ignorable="d"
	x:Class="ForzaUI.LAM_Countach_23">

    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <Setter Property="Foreground" Value="White"/>
             
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>

        <local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="False" UseMPH="False" UsePsi="False" MaxBoost="13" MinBoost="1" MaxSpeed="107.2" HasAbsLight="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="True" HasGAccelY="True" HasShiftLights="False" HasTextTach="False" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="True" HasTextOdometer="True" HasTextFuel="True" MaxFuel="70" MinGear="-1" MaxGear="7" MaxRpm="10000"/>

        <Storyboard x:Key="Tach">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(ed:Arc.StartAngle)" Storyboard.TargetName="TachWhite">
                <EasingDoubleKeyFrame KeyTime="0" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.85" Value="299"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(ed:Arc.EndAngle)" Storyboard.TargetName="TachWhite">
                <EasingDoubleKeyFrame KeyTime="0" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="311.5"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="360"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="372"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.85" Value="402.5"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21DriverMainNeedle_png">
                <EasingDoubleKeyFrame KeyTime="0" Value="-60.661"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="60.65"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(ed:Arc.StartAngle)" Storyboard.TargetName="TachRed">
                <EasingDoubleKeyFrame KeyTime="0" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.85" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="299"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(ed:Arc.EndAngle)" Storyboard.TargetName="TachRed">
                <EasingDoubleKeyFrame KeyTime="0" Value="299"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="311.5"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="360"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="372"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.85" Value="402.5"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="421"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Start Up Animation">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Start_Up_Mask">
                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="G Accel Horizontal"/>
        <Storyboard x:Key="G Accel Vertical">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Textures_LAM_HuracanTecnica_22_Charge_png">
            	<EasingDoubleKeyFrame KeyTime="0" Value="0.005"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.003"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.554"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.554"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="Textures_LAM_HuracanTecnica_22_Charge_png">
            	<EasingDoubleKeyFrame KeyTime="0" Value="0.552"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.552"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.552"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.552"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Textures_LAM_HuracanTecnica_22_Charge_png">
            	<EasingDoubleKeyFrame KeyTime="0" Value="25.167"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="25.27"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="-0.089"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:1" Value="-0.089"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Textures_LAM_HuracanTecnica_22_Boost_png">
                <EasingDoubleKeyFrame KeyTime="0" Value="0.5525"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0.5525"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.002"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.002"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="Textures_LAM_HuracanTecnica_22_Boost_png">
                <EasingDoubleKeyFrame KeyTime="0" Value="0.5525"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0.5525"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.552"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.552"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Textures_LAM_HuracanTecnica_22_Boost_png">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="-25.292"/>
            	<EasingDoubleKeyFrame KeyTime="0:0:1" Value="-25.292"/>
            </DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Supercap">
        		<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.78"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.78"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Supercap">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="-11.25"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:1" Value="-11.25"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Gear Analog">
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_7_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_6_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.857" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_5_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.714" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.857" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_4_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.571" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.714" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_3_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.429" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.571" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_2_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.286" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.429" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_1_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.143" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.286" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_R_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.143" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_2_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.143" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.286" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_3_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.286" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.429" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_4_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.429" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.571" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_5_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.571" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.714" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_6_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.714" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.857" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_7_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.857" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_N_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.143" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Gear_R_a_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Fuel Gauge">
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LAM_HuracanSTO_21_Fuel_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="FuelFill1">
                <EasingDoubleKeyFrame KeyTime="0" Value="-109"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-250"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="FuelFill2">
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-109"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-206"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="FuelFill3">
                <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="-109"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-162"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="FuelFill4">
                <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="-109"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-117"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Page.Resources>
    <Page.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded" SourceName="LayoutRoot">
            <BeginStoryboard Storyboard="{StaticResource G Accel Horizontal}"/>
            <BeginStoryboard Storyboard="{StaticResource G Accel Vertical}"/>
            <BeginStoryboard Storyboard="{StaticResource Gear Analog}"/>
            <BeginStoryboard Storyboard="{StaticResource Fuel Gauge}"/>
        </EventTrigger>
    </Page.Triggers>


    <Canvas x:Name="LayoutRoot" Background="Transparent" Width="1280" Height="720">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="NightDaySplit">
                <VisualState x:Name="Day"/>
                <VisualState x:Name="Night"/>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        <Rectangle x:Name="Background_Grey" Fill="Black" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Image x:Name="Textures_LAM_HuracanSTO_21DriverMainBG_png" Height="720" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21DriverMainBG.png" Stretch="Fill" Width="1280" RenderTransformOrigin="0.5,0.5" Canvas.Top="-130.338">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleX="0.5525" ScaleY="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <ed:Arc x:Name="TachRed" ArcThickness="1" ArcThicknessUnit="Percent" EndAngle="62" Fill="Red" Height="1260" Canvas.Left="10" Stretch="None" StartAngle="62" Width="1260" RenderTransformOrigin="0.5,0.5" Canvas.Top="-200">
            <ed:Arc.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.5525" ScaleX="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </ed:Arc.RenderTransform>
        </ed:Arc>
        <ed:Arc x:Name="TachWhite" ArcThickness="1" ArcThicknessUnit="Percent" EndAngle="62" Fill="White" Height="1260" Canvas.Left="10" Stretch="None" StartAngle="62" Width="1260" RenderTransformOrigin="0.5,0.5" Canvas.Top="-200">
            <ed:Arc.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.5525" ScaleX="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </ed:Arc.RenderTransform>
        </ed:Arc>
        <Image x:Name="Textures_LAM_HuracanSTO_21DriverMainNeedle_png" Height="122" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21DriverMainNeedle.png" Stretch="Fill" Width="16" RenderTransformOrigin="0.481,5.164" Canvas.Left="632.307" Canvas.Top="-200.004">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.5525" ScaleX="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LAM_HuracanSTO_21DriverMain_png" Height="720" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21DriverMain.png" Stretch="Fill" Width="1280" RenderTransformOrigin="0.5,0.5" Canvas.Top="-130.175">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.5525" ScaleX="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Canvas x:Name="GMeter" Height="3" Canvas.Left="753.875" Canvas.Top="279.25" Width="102.281">
            <Canvas x:Name="Vertical" Height="3" Width="102.281">
                <Canvas x:Name="Horizontal" Height="3" Width="102.281">
                    <Canvas x:Name="EBoost" Height="3" Width="102.281">
                        <Rectangle x:Name="Supercap" Fill="White" Height="3" Canvas.Left="-339.416" Width="102.125" RenderTransformOrigin="0.5,0.5">
                        	<Rectangle.RenderTransform>
                        		<TransformGroup>
                        			<ScaleTransform/>
                        			<SkewTransform/>
                        			<RotateTransform/>
                        			<TranslateTransform/>
                        		</TransformGroup>
                        	</Rectangle.RenderTransform>
                        </Rectangle>


                        <Image x:Name="Textures_LAM_HuracanTecnica_22_Boost_png" Height="6" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanTecnica_22_Boost.png" Stretch="Fill" Width="91.999" RenderTransformOrigin="0.5,0.5" Canvas.Top="-1.55" Canvas.Left="30.626">
                            <Image.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="0.5525" ScaleY="0.5525"/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Image.RenderTransform>
                        </Image>
                        <Image x:Name="Textures_LAM_HuracanTecnica_22_Charge_png" Height="6" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanTecnica_22_Charge.png" Stretch="Fill" Width="91.999" RenderTransformOrigin="0.5,0.5" Canvas.Top="-1.55" Canvas.Left="-20.249">
                            <Image.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="0.5525" ScaleY="0.5525"/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Image.RenderTransform>
                        </Image>


                    </Canvas>
                </Canvas>
            </Canvas>
        </Canvas>
        <Image x:Name="Textures_LAM_HuracanSTO_21DriverMainOverlay_png" Height="104" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21DriverMainOverlay.png" Stretch="Fill" Width="860" RenderTransformOrigin="0.5,0.5" Canvas.Left="210.5" Canvas.Top="220">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleX="0.5525" ScaleY="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Canvas x:Name="Gear" Height="210" Width="236" RenderTransformOrigin="0.5,0.5" Canvas.Top="110" Canvas.Left="521.291">
            <Canvas.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.4" ScaleX="0.4"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Canvas.RenderTransform>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_7_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_7.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_6_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_6.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_5_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_5.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_4_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_4.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_3_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_3.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_2_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_2.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_1_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_1.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_R_png" Height="210" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_R.png" Stretch="Fill" Width="236"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_7_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_7_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_6_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_6_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_5_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_5_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_4_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_4_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_3_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_3_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_2_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_2_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_N_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_N_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
            <Image x:Name="Textures_LAM_HuracanSTO_21_Gear_R_a_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Gear_R_a.png" Stretch="Fill" Width="30" Canvas.Left="223.514" Canvas.Top="85.385"/>
        </Canvas>
        <Canvas x:Name="Right" Height="130" Canvas.Left="970" Canvas.Top="165" Width="165" ClipToBounds="True">
            <Image x:Name="FuelFill1" Height="166.667" Source="game:/media/cars/LAM_Countach_23/UI/Textures/Arc_White.png" Stretch="Fill" Width="166.667" Canvas.Top="53.671" RenderTransformOrigin="1,1" Canvas.Left="33.333">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.27" ScaleY="0.27"/>
                        <SkewTransform/>
                        <RotateTransform Angle="-109"/>
                        <TranslateTransform X="-140" Y="-140"/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
            <Image x:Name="FuelFill2" Height="166.667" Source="game:/media/cars/LAM_Countach_23/UI/Textures/Arc_White.png" Stretch="Fill" Width="166.667" Canvas.Top="53.671" RenderTransformOrigin="1,1" Canvas.Left="33.333">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.27" ScaleY="0.27"/>
                        <SkewTransform/>
                        <RotateTransform Angle="-109"/>
                        <TranslateTransform X="-140" Y="-140"/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
            <Image x:Name="FuelFill3" Height="166.667" Source="game:/media/cars/LAM_Countach_23/UI/Textures/Arc_White.png" Stretch="Fill" Width="166.667" Canvas.Top="53.671" RenderTransformOrigin="1,1" Canvas.Left="33.333">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.27" ScaleY="0.27"/>
                        <SkewTransform/>
                        <RotateTransform Angle="-109"/>
                        <TranslateTransform X="-140" Y="-140"/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
            <Image x:Name="FuelFill4" Height="166.667" Source="game:/media/cars/LAM_Countach_23/UI/Textures/Arc_White.png" Stretch="Fill" Width="166.667" Canvas.Top="53.671" RenderTransformOrigin="1,1" Canvas.Left="33.333">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.27" ScaleY="0.27"/>
                        <SkewTransform/>
                        <RotateTransform Angle="-109"/>
                        <TranslateTransform X="-140" Y="-140"/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>


            <Image x:Name="Textures_LAM_HuracanSTO_21DriverRight_png" Height="300" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21DriverRight.png" Stretch="Fill" Width="300" RenderTransformOrigin="0.5,0.5" Canvas.Left="-90" Canvas.Top="-70">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.5525" ScaleY="0.55"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>


        </Canvas>
        <Canvas x:Name="Left" Height="203.175" Canvas.Left="105" Canvas.Top="96.825" Width="200.25" ClipToBounds="True">
            <Image x:Name="Textures_LAM_HuracanSTO_21DriverLeft_png" Height="300" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21DriverLeft.png" Stretch="Fill" Width="300" RenderTransformOrigin="0.5,0.5">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="0.5525" ScaleX="0.5525"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
        </Canvas>
        <Image x:Name="Textures_LAM_HuracanSTO_21_Fuel_png" Height="30" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21_Fuel.png" Stretch="Fill" Width="30" RenderTransformOrigin="0.5,0.5" Canvas.Top="189.325" Canvas.Left="948">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.765" ScaleX="0.765"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Rectangle x:Name="TachMask" Fill="Black" Height="193.846" Stroke="Black" Width="1280" RenderTransformOrigin="0.5,0.5" Canvas.Top="385.352">
            <Rectangle.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.5525" ScaleX="0.5525"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Rectangle.RenderTransform>
        </Rectangle>
        <Canvas x:Name="Text" Height="94.667" Width="648.601" Canvas.Top="268.625" Canvas.Left="285.355" RenderTransformOrigin="0.5,0.5">
            <Canvas.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.85" ScaleX="0.85"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Canvas.RenderTransform>
            <local:FastTextBlock x:Name="Text_Odometer" Text="{Binding Odometer}" Height="20"   Canvas.Top="42.206" Width="90" FontFamily="Moire" Foreground="White" FontSize="16" TextAlignment="Right" RenderTransformOrigin="0.5,0.5" Canvas.Left="20.392">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform AngleX="-12"/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Fuel"  Text="{Binding FuelText}" Height="20" Canvas.Left="141.672"   Canvas.Top="42.206" Width="59.504" FontFamily="Moire" Foreground="White" FontSize="16" TextAlignment="Right" RenderTransformOrigin="0.5,0.5">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                        <SkewTransform AngleX="-12"/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_External_Temp" Text="{Binding ExternalTemp}" Height="20" Canvas.Left="195.294"   Canvas.Top="69.735" Width="61.809" FontFamily="Moire" Foreground="White" FontSize="20" TextAlignment="Right" RenderTransformOrigin="0.5,0.5">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform AngleX="-12"/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Current_Lap" Text="{Binding CurLapTime}" Height="20" Canvas.Left="115"   Width="126.054" FontFamily="Moire" Foreground="White" FontSize="16" RenderTransformOrigin="0.5,0.5">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform AngleX="-12"/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Speed" Text="{Binding Speed}" Height="58.667" Canvas.Left="541.235"   Canvas.Top="36" Width="107" FontFamily="Moire" Foreground="White" FontSize="48" TextAlignment="Right" RenderTransformOrigin="0.5,0.5">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform AngleX="-12"/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Clock" Text="{Binding Time}" Height="20" Canvas.Left="100"   Canvas.Top="76" Width="59.504" FontFamily="Moire" Foreground="White" FontSize="16" TextAlignment="Right" RenderTransformOrigin="0.5,0.5">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                        <SkewTransform AngleX="-12"/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>


        </Canvas>
        <Image x:Name="Textures_LAM_HuracanSTO_21Center_png" Height="453.26" Source="game:/media/cars/LAM_Countach_23/UI/Textures/LAM_HuracanSTO_21Center.png" Stretch="Fill" Width="289.583" Canvas.Top="341.74" RenderTransformOrigin="0.5,0.5" Canvas.Left="500.417">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="-90"/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Opacity="0" Canvas.Left="-19.5" Canvas.Top="-5.562"/>

        <!-- Storyboard binding controllers -->
        <local:StoryboardController SeekPct="{Binding Fuel}" Target="{StaticResource Fuel Gauge}"/>
        <local:StoryboardController SeekPct="{Binding Tach}" Target="{StaticResource Tach}"/>
        <local:StoryboardController SeekPct="{Binding AnalogGear}" Target="{StaticResource Gear Analog}"/>
        <local:StoryboardController SeekPct="{Binding GAccelX}" Target="{StaticResource G Accel Horizontal}"/>
        <local:StoryboardController SeekPct="{Binding GAccelY}" Target="{StaticResource G Accel Vertical}"/>


    </Canvas>
</Page>