<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" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
								</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="RadPromptControlTemplate" TargetType="telerik:RadPrompt">
		<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="4" StrokeMiterLimit="2.75" Stroke="#FFB3B3B3" Data="F1 M 10224,10026.7C 10224,10048.8 10206.1,10066.7 10184,10066.7C 10161.9,10066.7 10144,10048.8 10144,10026.7C 10144,10004.6 10161.9,9986.67 10184,9986.67C 10206.1,9986.67 10224,10004.6 10224,10026.7 Z " Margin="0,1,0,-1" />
					<Path Stretch="Fill" Data="F1 M 10144,10026.7C 10144,10048.8 10161.9,10066.7 10184,10066.7L 10184,10066.7C 10206.1,10066.7 10224,10048.8 10224,10026.7L 10224,10026.7C 10224,10004.6 10206.1,9986.67 10184,9986.67L 10184,9986.67C 10161.9,9986.67 10144,10004.6 10144,10026.7 Z " Margin="3.3,3.34,3.368,3.326">
						<Path.Fill>
							<RadialGradientBrush RadiusX="0.618667" RadiusY="0.61864" Center="0.483044,0.5" GradientOrigin="0.483044,0.5">
								<RadialGradientBrush.RelativeTransform>
									<TransformGroup />
								</RadialGradientBrush.RelativeTransform>
								<GradientStop Color="#FF00BAFF" Offset="0" />
								<GradientStop Color="#FF004BA5" Offset="1" />
							</RadialGradientBrush>
						</Path.Fill>
					</Path>
					<Path Stretch="Fill" StrokeThickness="4" StrokeMiterLimit="2.75" Stroke="#FFFFFFFF" Data="F1 M 10224,10026.7C 10224,10048.8 10206.1,10066.7 10184,10066.7C 10161.9,10066.7 10144,10048.8 10144,10026.7C 10144,10004.6 10161.9,9986.67 10184,9986.67C 10206.1,9986.67 10224,10004.6 10224,10026.7 Z " />
					<Path Stretch="Fill" Fill="#FFFFFFFF" Data="F1 M 10178,10044.1C 10178,10041.5 10179.7,10039.7 10182,10039.7C 10184.5,10039.7 10186.1,10041.5 10186.1,10044.1C 10186.1,10046.5 10184.5,10048.3 10182,10048.3C 10179.6,10048.3 10178,10046.5 10178,10044.1 Z M 10179.4,10034.4L 10179.3,10032.6C 10178.9,10028.9 10180.1,10024.8 10183.5,10020.7C 10186.6,10017 10188.4,10014.4 10188.4,10011.3C 10188.4,10007.7 10186.2,10005.4 10181.8,10005.3C 10179.3,10005.3 10176.6,10006.2 10174.9,10007.5L 10173.2,10003.1C 10175.6,10001.5 10179.4,10000.4 10183.1,10000.4C 10191,10000.4 10194.6,10005.3 10194.6,10010.5C 10194.6,10015.2 10191.9,10018.6 10188.6,10022.5C 10185.6,10026.1 10184.5,10029.1 10184.7,10032.7L 10184.9,10034.4L 10179.4,10034.4 Z " Margin="15.365,8.76,15.377,8.759" />
				</Grid>
				<StackPanel Grid.Column="1" VerticalAlignment="Top">
					<ContentControl Margin="0,10,0,0" x:Name="PromptText" Content="{TemplateBinding Content}"/>
					<TextBox x:Name="PromptTextBox" TextWrapping="Wrap" />
				</StackPanel>
			</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" />
						<ColumnDefinition Width="10" />
						<ColumnDefinition Width="80" />
					</Grid.ColumnDefinitions>
					<Button Grid.Column="0" HorizontalAlignment="Center" Margin="0,5,0,0" Content="OK" Name="OK" Style="{StaticResource DefaultButtonStyle}" Height="25" Width="60" />
					<Button Grid.Column="2" HorizontalAlignment="Center" Margin="0,5,0,0" Content="Cancel" x:Name="Cancel" Style="{StaticResource DefaultButtonStyle}" Height="25" Width="80" />
				</Grid>
			</Grid>
		</Grid>
	</ControlTemplate>

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

</ResourceDictionary>