<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows">

	<Style x:Key="DefaultButtonStyle" TargetType="Button">
		<Setter Property="IsEnabled" Value="true" />
		<Setter Property="IsTabStop" Value="true" />
		<Setter Property="MinWidth" Value="5" />
		<Setter Property="MinHeight" Value="5" />
		<Setter Property="Margin" Value="0" />
		<Setter Property="HorizontalContentAlignment" Value="Center" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="Cursor" Value="Arrow" />
		<Setter Property="FontSize" Value="11" />
		<Setter Property="Padding" Value="20 0 20 0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid>
						<vsm:VisualStateManager.VisualStateGroups>
							<vsm:VisualStateGroup x:Name="CommonStates">
								<vsm:VisualState x:Name="Normal" />
								<vsm:VisualState x:Name="MouseOver">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="inner" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#FF00BBFF" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" To="#FFBAE6F6" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" To="#FFBAE6F6" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#FFD5EDF6" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#FFD5EDF6" Duration="0:0:0.1" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Pressed">
									<Storyboard>
										<ColorAnimation Storyboard.TargetName="inner" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#FF467080" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" To="#FF8DABB7" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" To="#FF8DABB7" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#FFA1BAC4" Duration="0:0:0.1" />
										<ColorAnimation Storyboard.TargetName="innerMost" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#FFA1BAC4" Duration="0:0:0.2" />
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Disabled">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="Visibility" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
							</vsm:VisualStateGroup>
							<vsm:VisualStateGroup x:Name="FocusStates">
								<vsm:VisualState x:Name="Focused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility" Duration="0">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</vsm:VisualState>
								<vsm:VisualState x:Name="Unfocused" />
							</vsm:VisualStateGroup>
						</vsm:VisualStateManager.VisualStateGroups>
						<Border x:Name="outer" Background="#FFFFFFFF" CornerRadius="3,3,3,3" BorderThickness="1" BorderBrush="#FFFFFFFF">
							<Border x:Name="inner" CornerRadius="2,2,2,2" BorderThickness="1" BorderBrush="#FF95BCCA">
								<Border x:Name="innerMost" BorderBrush="#00FFFFFF" CornerRadius="1,1,1,1">
									<Border.Background>
										<LinearGradientBrush EndPoint="1.007,0.841" StartPoint="0.029,0.841">
											<GradientStop Color="#FFE2E8EB" Offset="0" />
											<GradientStop Color="#FFE2E8EB" Offset="1" />
											<GradientStop Color="#FFFFFFFF" Offset="0.13" />
											<GradientStop Color="#FFFFFFFF" Offset="0.87" />
										</LinearGradientBrush>
									</Border.Background>
									<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="4,5,4,4" />
								</Border>
							</Border>
						</Border>
						<Rectangle Stroke="#0092CD" StrokeThickness="1" Margin="0" RadiusX="3" RadiusY="3" Fill="Transparent" x:Name="FocusVisual" Visibility="Collapsed" />
						<Rectangle x:Name="DisabledVisual" Visibility="Collapsed" RadiusX="3" RadiusY="3" Fill="#80FFFFFF" IsHitTestVisible="false" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<ControlTemplate x:Key="RadAlertControlTemplate" TargetType="telerik:RadAlert">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="auto" />
				<RowDefinition Height="2" />
				<RowDefinition Height="36" />
			</Grid.RowDefinitions>
			<Grid Grid.Row="0">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>
				<Grid Width="42" Height="42" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,12,12">
					<Path Stretch="Fill" StrokeThickness="5" StrokeLineJoin="Round" Stroke="#34000000" Data="F1 M 30.2128,2.5L 2.5,50.5L 57.9256,50.5L 30.2128,2.5 Z " Margin="0,0,0,1" HorizontalAlignment="Center" VerticalAlignment="Center" />
					<Path Stretch="Fill" StrokeThickness="4" StrokeLineJoin="Round" Stroke="#FFFFFFFF" Data="F1 M 30.2128,2.5L 2.5,50.5L 57.9256,50.5L 30.2128,2.5 Z " Margin="0.5,0.5,0.5,1.5" HorizontalAlignment="Center" VerticalAlignment="Center">
						<Path.Fill>
							<RadialGradientBrush>
								<GradientStop Color="#FFFFF000" Offset="0.026" />
								<GradientStop Color="#FFFFDE00" Offset="1" />
							</RadialGradientBrush>
						</Path.Fill>
					</Path>
					<Path Stretch="Fill" StrokeLineJoin="Round" Stroke="#1A000000" Data="F1 M 30.2128,5.52939L 5.99807,48.6372L 54.4276,48.6372L 30.2128,5.52939 Z " Margin="5.498,5.029,5.498,4.863" HorizontalAlignment="Center" VerticalAlignment="Center" />
					<Path Stretch="Fill" Fill="#FF000000" Data="F1 M 30.6528,34.7639L 30.0128,34.7639C 29.9395,33.5806 29.7028,32.1489 29.3028,30.4689L 28.4978,27.0789C 28.0145,25.0456 27.7728,23.5872 27.7728,22.7039C 27.7728,21.9072 28.0086,21.2647 28.4803,20.7764C 28.952,20.2881 29.5661,20.0439 30.3228,20.0439C 31.0628,20.0439 31.6761,20.2906 32.1628,20.7839C 32.6495,21.2772 32.8928,21.9022 32.8928,22.6589C 32.8928,23.4456 32.6328,24.9189 32.1128,27.0789L 31.2928,30.4689C 30.9995,31.6722 30.7861,33.1039 30.6528,34.7639 Z M 30.3328,37.0039C 31.0395,37.0039 31.6428,37.2531 32.1428,37.7514C 32.6428,38.2497 32.8928,38.8572 32.8928,39.5739C 32.8928,40.2772 32.6428,40.8781 32.1428,41.3764C 31.6428,41.8747 31.0395,42.1239 30.3328,42.1239C 29.6261,42.1239 29.0228,41.8747 28.5228,41.3764C 28.0228,40.8781 27.7728,40.2772 27.7728,39.5739C 27.7728,38.8672 28.0203,38.2622 28.5153,37.7589C 29.0103,37.2556 29.6161,37.0039 30.3328,37.0039 Z " Margin="17,15,17,8" />
				</Grid>
				<ContentControl Margin="0,10,0,0" x:Name="AlertText" Grid.Column="1" Content="{TemplateBinding Content}" />
			</Grid>

			<Grid Height="2" Background="#26000000" Grid.Row="1" Margin="-10,0,-10,0">
				<Rectangle Fill="#FFFFFFFF" VerticalAlignment="Bottom" Height="1" />
			</Grid>

			<Grid Grid.Row="2">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*" />
					<ColumnDefinition Width="200" />
				</Grid.ColumnDefinitions>

				<Grid Grid.Column="1" HorizontalAlignment="Right">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="60" />
					</Grid.ColumnDefinitions>
					<Button Grid.Column="0" HorizontalAlignment="Center" Margin="0,5,0,0" Content="OK" Name="OK" Style="{StaticResource DefaultButtonStyle}" Height="25" Width="60" />
				</Grid>
			</Grid>
		</Grid>
	</ControlTemplate>

	<Style TargetType="telerik:RadAlert">
		<Setter Property="Template" Value="{StaticResource RadAlertControlTemplate}" />
	</Style>

</ResourceDictionary>