<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="http://firstfloorsoftware.com/ModernUI"
    xmlns:shell="http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell">
    <Style x:Key="ProcessRadioButton" TargetType="{x:Type RadioButton}">
        <Setter Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter Property="Height" Value="60" />
        <Setter Property="Width" Value="150" />
        <Setter Property="Margin" Value="5" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RadioButton}">
                    <Border
                        BorderBrush="Black"
                        BorderThickness="2"
                        CornerRadius="5">
                        <Border
                            x:Name="uxRootGrid"
                            Width="{TemplateBinding Width}"
                            Height="{TemplateBinding Height}"
                            Background="Transparent"
                            BorderBrush="Gray"
                            FocusVisualStyle="{x:Null}"
                            Stylus.IsPressAndHoldEnabled="False">
                            <TextBlock
                                x:Name="uxTextBlock"
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                Text="{TemplateBinding Content}"
                                FontSize="18"
                                FocusVisualStyle="{x:Null}"
                                Foreground="Black"
                                TextAlignment="Center" />
                        </Border>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxRootGrid" Property="Background" Value="LightGray" />
                            <Setter TargetName="uxTextBlock" Property="FontSize" Value="25" />
                        </Trigger>
                        <Trigger Property="IsChecked" Value="true">
                            <Setter TargetName="uxRootGrid" Property="Background" Value="#FF0E6EB8" />
                            <Setter TargetName="uxTextBlock" Property="Foreground" Value="White" />
                            <Setter TargetName="uxTextBlock" Property="FontSize" Value="20" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="uxTopRadioButton" TargetType="{x:Type RadioButton}">
        <Setter Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter Property="Height" Value="65" />
        <Setter Property="Width" Value="200" />
        <Setter Property="Margin" Value="10" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RadioButton}">
                    <Grid
                        x:Name="uxRootGrid"
                        Width="{TemplateBinding Width}"
                        Height="{TemplateBinding Height}"
                        FocusVisualStyle="{x:Null}"
                        Stylus.IsPressAndHoldEnabled="False">
                        <Border
                            x:Name="uxBorder"
                            Width="{TemplateBinding Width}"
                            Height="{TemplateBinding Height}"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Background="White"
                            BorderBrush="Black"
                            BorderThickness="1"
                            CornerRadius="0"
                            FocusVisualStyle="{x:Null}" />
                        <TextBlock
                            x:Name="uxTextBlock"
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            Text="{TemplateBinding Content}"
                            FontSize="20"
                            FocusVisualStyle="{x:Null}"
                            Foreground="Black" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="true">
                            <Setter TargetName="uxBorder" Property="Background" Value="#FF0E6EB8" />
                            <Setter TargetName="uxTextBlock" Property="Foreground" Value="White" />
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxTextBlock" Property="FontSize" Value="21" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxTextBlock" Property="Opacity" Value="0.5" />
                            <Setter TargetName="uxBorder" Property="Background" Value="LightGray" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="uxTexBoxStyle" TargetType="{x:Type TextBox}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBox}">
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true" />
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>