<ResourceDictionary
    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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="using:ControlExplorer.View">

    <!-- ********* App Styles ********** -->

    <!-- Application Bar -->

    <SolidColorBrush x:Key="ApplicationBarBackgroundBrush" Color="{StaticResource PhoneChromeColor}" />
    <SolidColorBrush x:Key="ApplicationBarForegroundBrush" Color="{StaticResource PhoneForegroundColor}" />
    <Color x:Key="ApplicationBarBackgroundColor"></Color>
    <Color x:Key="ApplicationBarForegroundColor"></Color>

    <!-- TODOL: Use PhoneSubtleBrush? -->
    <SolidColorBrush x:Key="PageSimpleForeground" Color="{StaticResource PhoneForegroundColor}"/>

    <!-- Header -->

    <Style x:Key="HeaderTitleTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneContrastForegroundBrush}"/>
        <Setter Property="FontSize" Value="26"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="5,0,0,14"/>
    </Style>

    <Style x:Key="HeaderSubTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneContrastForegroundBrush}"/>
        <Setter Property="FontSize" Value="17"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="5 0 0 17"/>
        <Setter Property="Opacity" Value="0.7"/>
    </Style>

    <!-- Pivot -->

    <Style x:Key="PivotHeaderTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
        <Setter Property="FontSize" Value="72"/>
        <Setter Property="FontFamily" Value="Segoe WP Light"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0 10 0 0"/>
    </Style>

    <!-- Body -->

    <Style x:Key="PageTitleTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
        <Setter Property="FontSize" Value="20"/>
        <Setter Property="FontFamily" Value="Segoe WP Semibold"/>
        <Setter Property="Margin" Value="20 20 20 10"/>
    </Style>

    <Style x:Key="PageSubTitleTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
        <Setter Property="FontSize" Value="72"/>
        <Setter Property="FontFamily" Value="Segoe WP SemiLight"/>
        <Setter Property="Margin" Value="0,-10,0,0"/>
    </Style>


    <Style x:Key="PageSimpleTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PageSimpleForeground}"/>
        <Setter Property="FontSize" Value="20"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
    </Style>

    <Style x:Key="PageSmallTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneSubtleColor}"/>
        <Setter Property="FontSize" Value="18.667"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="Margin" Value="0,30,0,0"/>
    </Style>

    <Style x:Key="PageLabelTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PageSimpleForeground}"/>
        <Setter Property="FontSize" Value="32"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
    </Style>
    
    <SolidColorBrush x:Key="PageAccentForeground" Color="{ThemeResource PhoneChromeColor}"/>
        
    <Style x:Key="PageAccentTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PageAccentForeground}"/>
        <Setter Property="FontSize" Value="20"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
    </Style>

    <Style x:Key="PageSimpleHyperlinkButton" TargetType="HyperlinkButton">
        <Setter Property="Foreground" Value="{StaticResource PhoneAccentBrush}"/>
        <Setter Property="FontSize" Value="20"/>
        <Setter Property="FontWeight" Value="Bold"/>
    </Style>

    <Style x:Key="SampleThumbnailBorder" TargetType="Border">
        <Setter Property="BorderBrush" Value="{StaticResource PhoneSubtleBrush}"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
    </Style>

    <Style x:Key="InfoBorder" TargetType="Border">
        <Setter Property="Background" Value="{StaticResource PhoneSemitransparentBrush}"/>
        <Setter Property="Padding" Value="10 5"/>
        <Setter Property="CornerRadius" Value="4"/>
    </Style>

    <Style x:Key="ListBoxSelectedBorder" TargetType="Rectangle">
        <Setter Property="Fill" Value="{StaticResource PhoneAccentColor}"/>
    </Style>

    <Style x:Key="SampleListNameTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
        <Setter Property="FontSize" Value="36"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="FontFamily" Value="Segoe WP"/>
        <Setter Property="Margin" Value="10 0"/>
    </Style>

    <Style x:Key="SampleListDetailTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/>
        <Setter Property="FontSize" Value="18.667"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="FontFamily" Value="Segoe WP"/>
        <Setter Property="Margin" Value="10 0"/>
    </Style>
    
    <Style x:Key="SimpleListBoxTextBlock" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource PageSimpleForeground}"/>
        <Setter Property="FontFamily" Value="Segoe WP SemiLight"/>
        <Setter Property="FontSize" Value="42.667"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
        <Setter Property="Margin" Value="0 10"/>
    </Style>
    
    
</ResourceDictionary>
