<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:System="clr-namespace:System;assembly=mscorlib"
	xmlns:local="clr-namespace:ForzaUI">
	<!-- Resource dictionary entries should be defined here. -->

	<!-- Important note: point size is 1.333(96/72) times larger than pixel size, this is the scaling factor that is applied by blend -->

    <!-- Default FZTextBlock style so that if no color has been set an obvious default will be shown, rather than silently defaulting to transparent. -->
    <Style TargetType="local:FZTextBlock">
        <Setter Property="Color" Value="{StaticResource A_Color_Debug_Default_Text}"/>
    </Style>

	<System:Double x:Key="A_Double_LineAdjust_HorizonA">-0.125</System:Double>
    <System:Double x:Key="A_Double_LineAdjust_HorizonB">-0.125</System:Double>
    <System:Double x:Key="A_Double_LineAdjust_HorizonC">-0.125</System:Double>
	<System:Double x:Key="A_Double_LineAdjust_HorizonD">0</System:Double>

	<!-- BASE TEXT STYLES -->
	<System:Double x:Key="A_Double_FontSize_Minimum">18.667</System:Double>
	<Style x:Key="A_Style_TextBlock_HorizonA" TargetType="TextBlock">
		<Setter Property="FontFamily" Value="Horizon_A"/>
        <Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}"/>
    </Style>

	<Style x:Key="A_Style_TextBlock_HorizonB" TargetType="TextBlock">
		<Setter Property="FontFamily" Value="Horizon_B"/>
		<Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}"/>
	</Style>

	<Style x:Key="A_Style_TextBlock_HorizonC" TargetType="TextBlock">
		<Setter Property="FontFamily" Value="Horizon_C"/>
		<Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}"/>
	</Style>

	<!-- GLOBAL TEXT STYLES -->
	<Style x:Key="A_Style_TextBlock_Title" TargetType="TextBlock" BasedOn="{StaticResource A_Style_TextBlock_HorizonA}" >
		<Setter Property="FontSize" Value="50"/>
	</Style>

	<Style x:Key="A_Style_TextBlock_Heading" TargetType="TextBlock" BasedOn="{StaticResource A_Style_TextBlock_HorizonB}" >
		<Setter Property="FontSize" Value="42"/>
	</Style>
	
	<Style x:Key="A_Style_TextBlock_Heading_Button" TargetType="TextBlock" BasedOn="{StaticResource A_Style_TextBlock_Heading}" >
		<Setter Property="FontSize" Value="50"/>
	</Style>
	
	<Style x:Key="A_Style_TextBlock_SubHeading" TargetType="TextBlock" BasedOn="{StaticResource A_Style_TextBlock_HorizonC}" >
		<Setter Property="FontSize" Value="42"/>
	</Style>	
	
	<Style x:Key="A_Style_TextBlock_SubHeading_Button" TargetType="TextBlock" BasedOn="{StaticResource A_Style_TextBlock_SubHeading}" >
		<Setter Property="FontSize" Value="42"/>
	</Style>

    <!-- BASE TEXT STYLES -->
    <Style x:Key="A_Style_FZTextBlock_HorizonA" TargetType="local:FZTextBlock">
        <Setter Property="FontFamily" Value="Horizon_A"/>
        <Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}"/>
        <Setter Property="LineAdjust" Value="{StaticResource A_Double_LineAdjust_HorizonA}"/>
        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPreset_Glossy}" />
    </Style>

    <Style x:Key="A_Style_FZTextBlock_HorizonB" TargetType="local:FZTextBlock">
        <Setter Property="FontFamily" Value="Horizon_B" />
        <Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}" />
        <Setter Property="LineAdjust" Value="{StaticResource A_Double_LineAdjust_HorizonB}"/>
        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPreset_Glossy}" />
    </Style>

    <Style x:Key="A_Style_FZTextBlock_HorizonC" TargetType="local:FZTextBlock">
        <Setter Property="FontFamily" Value="Horizon_C" />
        <Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}" />
        <Setter Property="LineAdjust" Value="{StaticResource A_Double_LineAdjust_HorizonC}"/>
        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPreset_Glossy}" />
    </Style>

    <Style x:Key="A_Style_FZTextBlock_HorizonD" TargetType="local:FZTextBlock">
        <Setter Property="FontFamily" Value="Horizon_D"/>
        <Setter Property="FontSize" Value="{StaticResource A_Double_FontSize_Minimum}"/>
        <Setter Property="LineAdjust" Value="{StaticResource A_Double_LineAdjust_HorizonD}"/>
        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPreset_Glossy}" />
    </Style>
    
    <!-- GLOBAL TEXT STYLES -->
    <Style x:Key="A_Style_FZTextBlock_Title" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}" >
        <Setter Property="FontSize" Value="50"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Title_Small" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title}" >
        <Setter Property="FontSize" Value="28"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Title_Large" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonB}" >
        <Setter Property="FontSize" Value="78"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Title_Huge" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title}" >
        <Setter Property="FontSize" Value="90"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_SubTitle" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonC}" >
        <Setter Property="FontSize" Value="50"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_SubTitle_Large" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_SubTitle}" >
        <Setter Property="FontSize" Value="78"/>
    </Style>

    <Style x:Key="A_Style_FZTextBlock_Heading" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}" >
        <Setter Property="FontSize" Value="42"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Regular" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" />
    <Style x:Key="A_Style_FZTextBlock_Heading_Huge" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
        <Setter Property="FontSize" Value="55"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Large" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
        <Setter Property="FontSize" Value="50"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Medium" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
        <Setter Property="CapHeight" Value="24"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Small" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
        <Setter Property="FontSize" Value="28"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_ExtraSmall" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
        <Setter Property="FontSize" Value="24"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Minimum" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
        <Setter Property="FontSize" Value="22"/>
    </Style>
    <Style x:Key="A_Style_FZTextBlock_SubHeading" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonC}" >
        <Setter Property="FontSize" Value="42"/>
    </Style>
    
    <Style x:Key="A_Style_FZTextBlock_SubHeading_Huge" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_SubHeading}" >
        <Setter Property="FontSize" Value="55"/>
    </Style>

    <Style x:Key="A_Style_FZTextBlock_Body" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonD}" >
        <Setter Property="FontSize" Value="20"/>
    </Style>
    
    <Style x:Key="A_Style_FZTextBlock_BodyActive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Body}" >
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />
    </Style>   
    
	<Style x:Key="A_Style_FZTextBlock_Body_Minimum" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonD}" />

    <!--Text styles with tighter margins (em-height to baseline)-->
    <Style x:Key="A_Style_FZTextBlock_Body_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Body}" >
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading}" >
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Large_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Large}" >
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Small_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Small}" >
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_ExtraSmall_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_ExtraSmall}" >
    </Style>
    
    <Style x:Key="A_Style_FZTextBlock_Title_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title}" >
    </Style>
    <Style x:Key="A_Style_FZTextBlock_Heading_Minimum_Tight" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Minimum}">
    </Style>
    
    <Style x:Key="A_Style_FZTextBlock_Title_HugeActive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title_Huge}">
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />    
    </Style>    	

    <Style x:Key="A_Style_FZTextBlock_Title_LargeActive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Title_Large}">
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />    
    </Style>

    <Style x:Key="A_Style_FZTextBlock_SubTitle_LargeActive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_SubTitle_Large}">
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />    
    </Style>    	
	
    <Style x:Key="A_Style_FZTextBlock_Heading_SmallActive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Small}">
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />
    </Style>    
    
    <Style x:Key="A_Style_FZTextBlock_Heading_SmallInactive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Small}">
        <Setter Property="Color" Value="{StaticResource A_Color_InactiveHeader_Text}" />
    </Style>
    
    <Style x:Key="A_Style_FZTextBlock_Heading_ExtraSmallInactive" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_Heading_ExtraSmall}">
        <Setter Property="Color" Value="{StaticResource A_Color_InactiveHeader_Text}" />
    </Style>

    <Style x:Key="A_Style_FZTextBlock_HeaderBlock"
           TargetType="local:FZTextBlock"
           BasedOn="{StaticResource A_Style_FZTextBlock_Heading_Medium}" >
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="Margin" Value="24,15" />
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />
    </Style>  

    <Style x:Key="A_Style_FZTextBlock_InfoLabel" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonB}" >
        <Setter Property="Color" Value="{StaticResource A_Color_Header_Text}" />
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="CapHeight" Value="16"/>
    </Style>

    <Style x:Key="A_Style_FZTextBlock_InfoValue" TargetType="local:FZTextBlock" BasedOn="{StaticResource A_Style_FZTextBlock_InfoLabel}">
        <Setter Property="FontFamily" Value="Horizon_A"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="CapHeight" Value="16"/>
    </Style>
    
    <SkewTransform x:Key="A_Transform_Italic" AngleX="-8"/>

</ResourceDictionary>