<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:FLY.Thick.Base.UI">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Converter/Dictionary_MyConv.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <Style TargetType="TextBlock" x:Key="ItemHeaderStyle">
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Text}"/>
        <Setter Property="Margin" Value="5,0"/>
    </Style>

    <Style TargetType="TextBlock" x:Key="ItemValueStyle">
        <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
        <Setter Property="FontSize" Value="24"/>
        <Setter Property="TextAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Text}"/>
    </Style>

    <Style TargetType="TextBlock" x:Key="ItemValueUnitStyle" BasedOn="{StaticResource Styles.Text.FieldContent.Unit}">
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Text}"/>
    </Style>

    <Style TargetType="TextBlock" x:Key="ItemValueStyle2" BasedOn="{StaticResource ItemValueStyle}">
        <Setter Property="FontSize" Value="12"/>
    </Style>
    <Style TargetType="TextBlock" x:Key="ItemValueUnitStyle2" BasedOn="{StaticResource ItemValueUnitStyle}">
        <Setter Property="FontSize" Value="6"/>
    </Style>

    <SolidColorBrush x:Key="Brushes.IO.ON" Color="{StaticResource MahApps.Colors.ThemeBackground}" />
    <SolidColorBrush x:Key="Brushes.IO.OFF" Color="{StaticResource MahApps.Colors.ThemeForeground}" />



    <Style x:Key="IOStyle" TargetType="Rectangle" >
        <Setter Property="Width"  Value="10" />
        <Setter Property="Height"  Value="12" />
        <Setter Property="Margin"  Value="1" />
    </Style>
    <Style x:Key="IOTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground"  Value="{StaticResource MahApps.Brushes.Accent}" />
        <Setter Property="HorizontalAlignment"  Value="Center" />
        <Setter Property="VerticalAlignment"  Value="Center" />
        <Setter Property="FontSize"  Value="10"/>
    </Style>
    <Style x:Key="IconStyle" TargetType="{x:Type Control}" >
        <Setter Property="Margin" Value="6"/>
        <Setter Property="Height" Value="30"/>
        <Setter Property="Width" Value="30"/>
    </Style>
    <Style x:Key="BtnStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource Styles.Button.Empty}">
        <Setter Property="Margin" Value="2"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Accent}"/>
        <Setter Property="Background" Value="{StaticResource MahApps.Brushes.Text.Validation}"/>
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect BlurRadius="10" RenderingBias="Quality" Color="Black" Direction="270" ShadowDepth="2" Opacity="0.5" />
            </Setter.Value>
        </Setter>
        <Style.Resources>
            <Style TargetType="{x:Type Control}" BasedOn="{StaticResource IconStyle}">
                <Setter Property="Margin" Value="6"/>
                <Setter Property="Height" Value="30"/>
                <Setter Property="Width" Value="30"/>
            </Style>
        </Style.Resources>
    </Style>

</ResourceDictionary>