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

    <?BODY BEGIN?>
    <!--******* BEGIN MediaPlayer Brushes *******-->
    <SolidColorBrush x:Key="RootleftBorderBrush1" Color="#FF6D899A" />
    <SolidColorBrush x:Key="RootleftBorderBrush2" Color="#FF6D8C9D" />
    <LinearGradientBrush x:Key="Background1" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFB0C0E2" />
        <GradientStop Color="#FFD0D6EE" Offset="0.991" />
    </LinearGradientBrush>
    <Color x:Key="MediaChapterBackgroundActiv">#FF90A8D2</Color>
    <SolidColorBrush x:Key="ChapterOutArrow" Color="#FFE5ECFF" />
    <SolidColorBrush x:Key="ChapterInnerArrow" Color="#FF90A8D2" />
    <SolidColorBrush x:Key="TextBlockForeground" Color="#FF000000" />

    <SolidColorBrush x:Key="ItemOutBorder" Color="#FFFFFFFF" />
    <SolidColorBrush x:Key="ItemOutBackground" Color="#FF002578" />

    <SolidColorBrush x:Key="ItemInnerBorder" Color="#FFC3CFDA" />
    <LinearGradientBrush x:Key="ItemInnerBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#00CFD6E9" />
        <GradientStop Color="#FFCFD6E9" Offset="1" />
    </LinearGradientBrush>

    <Color x:Key="ItemInnerBackgroundMouseOver1">#EFFFFFFF</Color>
    <Color x:Key="ItemInnerBackgroundMouseOver2">#CFFFFFFF</Color>
    <Color x:Key="ItemInnerBackgroundMouseOver3">#BFFFFFFF</Color>
    <Color x:Key="ItemInnerBackgroundMouseOver4">#9FFFFFFF</Color>
    <Color x:Key="ItemInnerBackgroundMouseOver5">#FF2A619A</Color>

    <SolidColorBrush x:Key="BackroundImage" Color="#FFFFFFFF" />
    <SolidColorBrush x:Key="RightBorder" Color="#FFFFFFFF" />
    <SolidColorBrush x:Key="TitleTextBlock" Color="#FF000000" />
    <SolidColorBrush x:Key="DescriptionTextBlock" Color="#CC000000" />

    <SolidColorBrush x:Key="SliderBorder" Color="#FFFFFFFF" />
    <LinearGradientBrush x:Key="MPMPSliderBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7485B2" />
        <GradientStop Color="#FF9CABD1" Offset="1" />
    </LinearGradientBrush>

    <!--Playlist ScrollBar Button-->
    <Color x:Key="PlaylistScrollBarButtonColor">#FF313131</Color>

    <!-- Playlist Button -->
    <SolidColorBrush x:Key="FullscreenButtonStroke" Color="#FF334676" />
    <SolidColorBrush x:Key="PlaylistButtonStroke" Color="#7FFFFFFF" />
    <LinearGradientBrush x:Key="PlaylistButtonFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7C9AEA" Offset="0" />
        <GradientStop Color="#FF5872B5" Offset="0.991" />
        <GradientStop Color="#FF5D75AD" Offset="0.522" />
        <GradientStop Color="#FF3B528B" Offset="0.527" />
    </LinearGradientBrush>
    <SolidColorBrush x:Key="PlaylistScrollBarMouseOver" Color="#FF557E9A" />

    <SolidColorBrush x:Key="BottomButtonPartBorder" Color="#FFFFFFFF" />
    <LinearGradientBrush x:Key="BottomButtonPartBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#EFFFFFFF" />
        <GradientStop Color="#CFFFFFFF" Offset="1" />
        <GradientStop Color="#BFFFFFFF" Offset="0.5" />
        <GradientStop Color="#9FFFFFFF" Offset="0.5" />
    </LinearGradientBrush>

    <Color x:Key="ButtonPartMouseOver">#CCFFFFFF</Color>
    <Color x:Key="ButtonPartMouseOver1">#FF004FFF</Color>

    <Color x:Key="ButtonPartPressed">#76FFFFFF</Color>
    <Color x:Key="ButtonPartPressed1">#A2FFFFFF</Color>
    <Color x:Key="ButtonPartPressed2">#99FFFFFF</Color>
    <Color x:Key="ButtonPartPressed3">#96FFFFFF</Color>

    <SolidColorBrush x:Key="ButtonPartBorderOut" Color="#FFC1C6D6" />
    <SolidColorBrush x:Key="ButtonPartBorderInner" Color="#FFC1C6D6" />
    <SolidColorBrush x:Key="PlayButtonPartBorderInner" Color="#FFABBACF" />
    <SolidColorBrush x:Key="ButtonPartBackgroundInner" Color="#FF002578" />
    <!--end Playlist Button -->

    <SolidColorBrush x:Key="MiddlePartTextForeground" Color="#FFFFFF" />
    <SolidColorBrush x:Key="MiddlePartBorderOut" Color="#FF90A8D2" />
    <SolidColorBrush x:Key="MiddlePartBorderInner" Color="#FFC2CED9" />
    <LinearGradientBrush x:Key="MiddlePartBackgroundInner" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFFFFF" />
        <GradientStop Color="#FFC2CED9" Offset="1" />
    </LinearGradientBrush>

    <SolidColorBrush x:Key="TopPartBorder" Color="#FFC1C6D6" />
    <LinearGradientBrush x:Key="TopPartBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFFFFF" />
        <GradientStop Color="#FFEAEDF6" Offset="1" />
    </LinearGradientBrush>

    <SolidColorBrush x:Key="TimeProgressBarBackground" Color="#FF80ABEA" />

    <!-- Thumb for VolumeSlider -->
    <Color x:Key="VolumeSliderThMouseover">#FFFFFFFF</Color>
    <Color x:Key="VolumeSliderThMouseover1">#33FFFFFF</Color>
    <Color x:Key="VolumeSliderThMouseover2">#FF6792EC</Color>
    <Color x:Key="VolumeSliderThDisabled">#7F7B8BB7</Color>
    <SolidColorBrush x:Key="OutVolumeSliderThFill" Color="#FF4B6DB5" />
    <SolidColorBrush x:Key="OutVolumeSliderThStroke" Color="#FFFFFFFF" />
    <SolidColorBrush x:Key="InnerVolumeSliderThStroke" Color="#FF7B8BB7" />
    <LinearGradientBrush x:Key="InnerVolumeSliderThFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#CCFFFFFF" />
        <GradientStop Color="#33FFFFFF" Offset="1" />
        <GradientStop Color="#7FFFFFFF" Offset="0.522" />
        <GradientStop Color="#26FFFFFF" Offset="0.549" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="TrackBackgroundHorizontal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF6A7EAB" />
        <GradientStop Color="#FFFFFFFF" Offset="1" />
    </LinearGradientBrush>
    <SolidColorBrush x:Key="TrackBackgroundHorizontalStroke" Color="#FFFFFFFF" />
    <SolidColorBrush x:Key="SingleThumbTemplateHorizontal" Color="#FF7790C7" />

    <!--TimeSlider Thumb Style-->
    <Color x:Key="TimeSliderThDisabled">#FF5C5C5C</Color>
    <Color x:Key="TimeSliderThDisabled1">#FFA0A0A0</Color>
    <Color x:Key="TimeSliderThDisabled2">#FFA6A6A6</Color>
    <Color x:Key="TimeSliderThDisabled3">#FFCFCFCF</Color>
    <Color x:Key="TimeSliderThDisabled4">#FFCBCBCB</Color>
    <LinearGradientBrush x:Key="TimeSliderThOutBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7B96CE" />
        <GradientStop Color="#FF586D9C" Offset="1" />
        <GradientStop Color="#FF667DAE" Offset="0.5" />
        <GradientStop Color="#FF3F5177" Offset="0.509" />
    </LinearGradientBrush>
    <SolidColorBrush x:Key="TimeSliderThInnerBackground" Color="#FFA3DAFF" />
    <SolidColorBrush x:Key="HorizontalTimeSliderTemplate" Color="#FFABBACF" />
    <SolidColorBrush x:Key="HorizontalTimeSliderTemplate1" Color="#FF98F6F6" />
    <LinearGradientBrush x:Key="HorizontalTimeSliderSingleThFill" EndPoint="0.5,1"
            StartPoint="0.5,0">
        <GradientStop Color="#FF95D4E9" />
        <GradientStop Color="#FF80ABEA" Offset="1" />
    </LinearGradientBrush>
    <!--******* END MediaPlayer Brushes *******-->

    <!--Time Progress Bar-->
    <ControlTemplate x:Key="TimeProgressBarTemplate" TargetType="telerik:RadProgressBar">
        <Grid>
            <Grid x:Name="HContainer">
                <Grid x:Name="HWrapper">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Border HorizontalAlignment="Stretch" Margin="0" Width="Auto"
                            Grid.Column="0" Height="13" VerticalAlignment="Top"
                            Background="{StaticResource TimeProgressBarBackground}"
                            BorderThickness="0,1,0,1" />
                </Grid>
            </Grid>
        </Grid>
    </ControlTemplate>

    <!--Button Template-->
    <ControlTemplate x:Key="ButtonTemplate" TargetType="ButtonBase">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border1"
                                    Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver1}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed2}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed3}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Disabled" />
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>

            <Border Background="{StaticResource ButtonPartBackgroundInner}"
                    BorderThickness="1,0,0,0" x:Name="border1"
                    BorderBrush="{StaticResource PlayButtonPartBorderInner}">
                <Grid>
                    <Border x:Name="border" Background="{StaticResource BottomButtonPartBackground}"
                            BorderThickness="1,0,0,0"
                            BorderBrush="{StaticResource BottomButtonPartBorder}" />
                    <ContentPresenter />
                </Grid>
            </Border>
        </Grid>
    </ControlTemplate>

    <!--PlayPause Button control template-->
    <ControlTemplate x:Key="PlayButtonTemplate" TargetType="ToggleButton">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver" >
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00E9FF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00E9FF"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard >
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00E9FF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00E9FF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#4C1A66EE"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard >
                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
                <vsm:VisualStateGroup x:Name="CheckStates">
                    <vsm:VisualState x:Name="Checked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="pauseSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="playSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Unchecked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="pauseSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="playSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Border Height="40" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="40">
                <Grid Height="Auto" Width="Auto">
                    <Ellipse Fill="#FF030BA1" Height="40.449" Width="40.449" StrokeThickness="1" Margin="0,0,-0.449000000953674,-0.449000000953674" x:Name="ellipse">
                        <Ellipse.Stroke>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF779CDD"/>
                                <GradientStop Color="#FF40569E" Offset="1"/>
                            </LinearGradientBrush>
                        </Ellipse.Stroke>
                    </Ellipse>
                    <Path Height="16.522" Stretch="Fill" StrokeThickness="1" Data="M38.036591,28.707815 C34.864803,35.355576 28.081079,39.949001 20.224501,39.949001 C12.530595,39.949001 5.8655734,35.543823 2.6140504,29.11808 C1.9427726,27.791485 11.466463,24.286406 20.578211,24.188025 C29.820848,24.088228 38.653992,27.413805 38.036591,28.707815 z" Margin="2.76099991798401,0,3.03999996185303,0.871999979019165" VerticalAlignment="Bottom">
                        <Path.Fill>
                            <RadialGradientBrush GradientOrigin="0.5,1.016">
                                <GradientStop Color="#FF030BA0" Offset="1"/>
                                <GradientStop Color="#00030BA0" Offset="1"/>
                                <GradientStop Color="#FF1330B0" Offset="0.811"/>
                                <GradientStop Color="#FF5DD5F7" Offset="0.086"/>
                                <GradientStop Color="#FF3E90D9" Offset="0.463"/>
                            </RadialGradientBrush>
                        </Path.Fill>
                    </Path>
                    <Ellipse Height="38.496" Width="38.443" StrokeThickness="1" Margin="0.725000023841858,0.632000029087067,0.832000017166138,0.871999979019165">
                        <Ellipse.Stroke>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#00FFFFFF" Offset="0.631"/>
                                <GradientStop Color="#FF5DD3F5" Offset="1"/>
                            </LinearGradientBrush>
                        </Ellipse.Stroke>
                    </Ellipse>
                    <Path Height="21.678" Width="38.443" Stretch="Fill" Data="M38.443001,19.2215 C38.443001,24.662123 28.844955,19.385866 19,19.249794 C9.635479,19.120363 0,24.39662 0,19.2215 C0,8.6057587 8.6057587,0 19.2215,0 C29.837242,0 38.443001,8.6057587 38.443001,19.2215 z" Margin="0.725000023841858,0.632000029087067,0.832000017166138,17.6900005340576" x:Name="path">
                        <Path.Fill>
                            <RadialGradientBrush Center="0.672,0.024" GradientOrigin="0.677,0.496" RadiusX="0.348" RadiusY="0.602">
                                <RadialGradientBrush.RelativeTransform>
                                    <TransformGroup>
                                        <ScaleTransform CenterX="0.60600000619888306" CenterY="0.35100001096725464" ScaleX="1.455" ScaleY="1.455"/>
                                        <SkewTransform CenterX="0.60600000619888306" CenterY="0.35100001096725464"/>
                                        <RotateTransform CenterX="0.60600000619888306" CenterY="0.35100001096725464"/>
                                        <TranslateTransform X="-0.196" Y="0.968"/>
                                    </TransformGroup>
                                </RadialGradientBrush.RelativeTransform>
                                <GradientStop Color="#194CCEE2" Offset="0.258"/>
                                <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                <GradientStop Color="#CCE4F0F2" Offset="0.93"/>
                                <GradientStop Color="#6683E1F0" Offset="0.594"/>
                            </RadialGradientBrush>
                        </Path.Fill>
                    </Path>
                    <Path Height="16.522" Width="34.639" Stretch="Fill" StrokeThickness="1" Data="M38.036591,28.707815 C34.864803,35.355576 28.081079,39.949001 20.224501,39.949001 C12.530595,39.949001 5.8655734,35.543823 2.6140504,29.11808 C1.9427726,27.791485 11.466463,24.286406 20.578211,24.188025 C29.820848,24.088228 38.653992,27.413805 38.036591,28.707815 z" RenderTransformOrigin="0.5,0.5" Margin="2.76099991798401,1.57200002670288,2.59999990463257,0" VerticalAlignment="Top">
                        <Path.Fill>
                            <RadialGradientBrush GradientOrigin="0.5,-0.377">
                                <RadialGradientBrush.RelativeTransform>
                                    <TransformGroup>
                                        <ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.363" ScaleY="1.363"/>
                                        <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                        <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                    </TransformGroup>
                                </RadialGradientBrush.RelativeTransform>
                                <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                <GradientStop Color="#00FFFFFF" Offset="0.70094506882634278"/>
                            </RadialGradientBrush>
                        </Path.Fill>
                        <Path.RenderTransform>
                            <RotateTransform Angle="180"/>
                        </Path.RenderTransform>
                    </Path>
                    <Path Stroke="#FF2F65AE" x:Name="playSymbol" Width="17.667" Stretch="Fill" StrokeThickness="1" Data="M0.5,2.5 C0.5,1.3954304 1.3954304,0.5 2.5,0.5 C2.5,0.5 17.166666,10.583333 17.166666,10.583333 C17.166666,10.583333 2.5,20.25 2.5,20.25 C1.3954304,20.25 0.5,19.35457 0.5,18.25 z" Margin="13.5939998626709,10.2589998245239,8.73900032043457,8.99100017547607">
                        <Path.Fill>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFFFFFFF" Offset="0.42366501688957214"/>
                                <GradientStop Color="#FFC4BEBB" Offset="0.94704186916351318"/>
                            </LinearGradientBrush>
                        </Path.Fill>
                    </Path>
                    <Path Stroke="#FF2F65AD" Margin="12.72,12,13.28,8" VerticalAlignment="Stretch" Data="M1.5,0.50000286 L4.5,0.50000286 C5.0522842,0.50000262 5.5,0.94771761 5.5,1.5000029 L5.5,18.500002 C5.5,19.052288 5.0522833,19.500002 4.5,19.500002 L1.5,19.500002 C0.94771588,19.500002 0.5,19.052288 0.5,18.500002 L0.5,1.5000029 C0.5,0.9477182 0.94771451,0.50000262 1.5,0.50000286 z M9.4999971,0.5 L12.499998,0.5 C13.052282,0.5 13.499998,0.94771528 13.499998,1.5 L13.499998,17.5 C13.499998,18.052286 13.05228,18.5 12.499998,18.5 L9.4999971,18.5 C8.9477148,18.5 8.4999981,18.052286 8.4999971,17.5 L8.4999971,1.5 C8.4999981,0.9477151 8.9477129,0.5 9.4999971,0.5 z" Stretch="Fill" StrokeThickness="1" x:Name="pauseSymbol" Visibility="Collapsed">
                        <Path.Fill>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFFEFEFE" Offset="0.41249999403953552"/>
                                <GradientStop Color="#FFC6C1BE" Offset="0.987500011920929"/>
                            </LinearGradientBrush>
                        </Path.Fill>
                    </Path>
                </Grid>
            </Border>
            <Ellipse Height="Auto" Width="Auto" StrokeThickness="1" Margin="0,0,0,0" Fill="{StaticResource DisabledBrush}" x:Name="DisabledVisual" Stroke="{x:Null}" Visibility="Collapsed"/>
        </Grid>
    </ControlTemplate>

    <!--MuteOnOff Button control template-->
    <ControlTemplate x:Key="MuteButtonTemplate" TargetType="ToggleButton">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver" />
                    <vsm:VisualState x:Name="Pressed" />
                    <vsm:VisualState x:Name="Disabled" />
                </vsm:VisualStateGroup>

                <vsm:VisualStateGroup x:Name="CheckStates">
                    <vsm:VisualState x:Name="Checked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="muteOffSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Unchecked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="muteOffSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Path x:Name="muteOnSymbol" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Stretch="Fill" Data="M3.8331289,3.75 C3.8331289,3.1977153 5.1140265,3 5.6663113,3 L9.0880003,0.5 C9.6402855,0.5 10.088,0.94771522 10.088,1.5 L10.088,8.1450005 C10.088,8.6972857 9.6402855,9.1450005 9.0880003,9.1450005 L5.6663113,6.6450005 C5.1140265,6.6450005 3.8331289,6.4472857 3.8331289,5.8950005 z">
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF020A9E" Offset="0.1428571492433548"/>
                        <GradientStop Color="#FF0D2D6C" Offset="1"/>
                    </LinearGradientBrush>
                </Path.Fill>
                <Path.Stroke>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF6397C8" Offset="0.043478261679410934"/>
                        <GradientStop Color="#FF4F97DB" Offset="0.47826087474823"/>
                        <GradientStop Color="#FF09BEF8" Offset="0.95652174949646"/>
                        <GradientStop Color="#FF0CB4E2" Offset="1"/>
                    </LinearGradientBrush>
                </Path.Stroke>
            </Path>
            <Path x:Name="muteOffSymbol" Height="14" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="14" Data="M13.500009,7 C13.500009,10.58985 10.589859,13.5 7.0000086,13.5 C3.4101579,13.5 0.50000882,10.58985 0.50000882,7 C0.50000882,3.4101491 3.4101579,0.5 7.0000086,0.5 C10.589859,0.5 13.500009,3.4101491 13.500009,7 z M0.5,7.5000005 L13.5,7.5000005" Stretch="Fill" Stroke="#FF05138F" RenderTransformOrigin="0.5,0.5" Margin="-2.75,-1.625,-4.25,-2.375" Visibility="Collapsed">
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform Angle="-45"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Path.RenderTransform>
            </Path>
        </Grid>
    </ControlTemplate>

    <!--Content Only Button Template-->
    <ControlTemplate x:Key="ContentOnlyButton" TargetType="Button">
        <Grid Background="Transparent">
            <ContentPresenter />
        </Grid>
    </ControlTemplate>

    <!--Thumb for VolumeSlider-->
    <ControlTemplate x:Key="VolumeSliderThumbTemplate" TargetType="Thumb">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Disabled" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThMouseover}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThMouseover1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse1"
                                    Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThMouseover2}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.3" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse1"
                                    Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThDisabled}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Ellipse HorizontalAlignment="Center" Margin="0" Width="11"
                    Fill="{StaticResource OutVolumeSliderThFill}" Height="11"
                    VerticalAlignment="Center" Stroke="{StaticResource OutVolumeSliderThStroke}"
                    x:Name="ellipse1" />
            <Ellipse HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch"
                    Width="9" Height="9" Stroke="{StaticResource InnerVolumeSliderThStroke}"
                    Fill="{StaticResource InnerVolumeSliderThFill}" x:Name="ellipse" />
        </Grid>
    </ControlTemplate>

    <!--TimeSlider Thumb Style-->
    <ControlTemplate x:Key="TimeSliderThumbTemplate" TargetType="Thumb">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Disabled" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard >
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF030BA0"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF459EDF"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[2].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.062"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFCDDEF7"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF002864"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFCDDEF7"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF07C8F2"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Pressed" />
                    <vsm:VisualState x:Name="Disabled" />
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Rectangle Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RadiusX="4" RadiusY="4" Width="Auto" RenderTransformOrigin="0.5,0.5" x:Name="rectangle">
                <Rectangle.Stroke>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF012E64" Offset="0.619"/>
                        <GradientStop Color="#FF0DC8E4" Offset="1"/>
                        <GradientStop Color="#FFABCDF5" Offset="0.074"/>
                        <GradientStop Color="#FF2C5A8F" Offset="0.328"/>
                    </LinearGradientBrush>
                </Rectangle.Stroke>
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF040959" Offset="0.91"/>
                        <GradientStop Color="#FF0D7BCC" Offset="0"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
                <Rectangle.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="1"/>
                    </TransformGroup>
                </Rectangle.RenderTransform>
            </Rectangle>
        </Grid>
    </ControlTemplate>

    <!--Volume Slider Style-->
    <Style x:Key="VolumeSliderStyle" TargetType="telerik:RadSlider">
        <Setter Property="Orientation" Value="Horizontal" />
        <Setter Property="IsEnabled" Value="True" />
        <Setter Property="HandlesVisibility" Value="Collapsed" />
        <Setter Property="IsMouseWheelEnabled" Value="True" />
        <Setter Property="Maximum" Value="1" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RadSlider">
                    <Grid x:Name="LayoutRoot">
                        <!--[Horizontal] [Template]-->
                        <Grid x:Name="HorizontalTemplate" MinHeight="0">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="23" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>

                            <!--[Horizontal] [TrackBackground]-->

                            <!--[Horizontal] [SingleThumbTemplate]-->
                            <Rectangle Stroke="#33000000" Fill="#33FFFFFF"  Height="5" HorizontalAlignment="Stretch" VerticalAlignment="Center" RadiusX="2" RadiusY="2" RenderTransformOrigin="0.5,0.5" Width="Auto" Grid.Column="1" Grid.Row="1">
                                <Rectangle.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform ScaleY="1"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>

                            <!--[Horizontal] [SingleThumbTemplate]-->
                            <Grid x:Name="HorizontalSingleThumbTemplate" Grid.Row="1"
									Grid.Column="1">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Rectangle Height="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RadiusX="2" RadiusY="2" Width="Auto" RenderTransformOrigin="0.5,0.5" Grid.Column="0" Margin="1,0,-2,0">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FF040EA0" Offset="0.291"/>
                                            <GradientStop Color="#FF3E8FD8" Offset="1"/>
                                            <GradientStop Color="#FF76A8F2" Offset="0"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                    <Rectangle.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleY="1"/>
                                        </TransformGroup>
                                    </Rectangle.RenderTransform>
                                </Rectangle>
                                <Rectangle x:Name="HorizontalSingleLargeDecrease" Fill="Transparent" />
                                <Thumb x:Name="HorizontalSingleThumb" Width="8" Height="8"
										Grid.Column="1"
										Template="{StaticResource TimeSliderThumbTemplate}" />
                                <Rectangle x:Name="HorizontalSingleLargeIncrease" Grid.Column="2"
										Fill="Transparent" />
                            </Grid>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--TimeSlider Style-->
    <Style x:Key="TimeSliderStyle" TargetType="telerik:RadSlider">
        <Setter Property="Orientation" Value="Horizontal" />
        <Setter Property="IsEnabled" Value="True" />
        <Setter Property="HandlesVisibility" Value="Collapsed" />
        <Setter Property="IsMouseWheelEnabled" Value="True" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RadSlider">
                    <Grid x:Name="LayoutRoot">
                        <Grid.Resources>
                            <!-- Tick Template -->
                            <DataTemplate x:Key="HorizontalTickTemplate">
                                <Grid Height="4" Width="1">
                                    <Rectangle Fill="{StaticResource HorizontalTimeSliderTemplate}"/>
                                </Grid>
                            </DataTemplate>
                        </Grid.Resources>
                        <!--[Horizontal] [Template]-->
                        <Grid x:Name="HorizontalTemplate" MinHeight="0" Height="11">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <!--[Horizontal] [SingleThumbTemplate]-->
                            <Rectangle Stroke="#33000000" Fill="#33FFFFFF"  Height="6" HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" RadiusX="2" RadiusY="2" Grid.Column="1" Grid.Row="1" />

                            <!--[Horizontal] [SingleThumbTemplate]-->
                            <Grid x:Name="HorizontalSingleThumbTemplate" Grid.Row="1"
									Grid.Column="1">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Rectangle Height="6" Margin="0,0,-5,0" VerticalAlignment="Center" RadiusX="2" RadiusY="2" RenderTransformOrigin="0.5,0.5" Width="Auto">
                                    <Rectangle.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleY="1"/>
                                        </TransformGroup>
                                    </Rectangle.RenderTransform>
                                    <Rectangle.Stroke>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FF07C8F2" Offset="1"/>
                                            <GradientStop Color="#FF99F7F7" Offset="0"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Stroke>
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FF030BA0" Offset="0.10383600000000004"/>
                                            <GradientStop Color="#FF459EDF" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <telerik:RadTickBar x:Name="TopTickBar" Grid.ColumnSpan="3"
										VerticalAlignment="Top"
										Template="{StaticResource TickBarTemplate}" Height="11"
										Placement="Top"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />
                                <Rectangle x:Name="HorizontalSingleLargeDecrease" Fill="Transparent" />
                                <Thumb x:Name="HorizontalSingleThumb" Width="17" Height="8"
										Grid.Column="1"
										Template="{StaticResource TimeSliderThumbTemplate}"
										VerticalAlignment="Stretch" />
                                <Rectangle x:Name="HorizontalSingleLargeIncrease" Grid.Column="2"
										Fill="Transparent" />
                            </Grid>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--ScrollBar Template-->
    <ControlTemplate x:Key="ScrollBarTemplate" TargetType="ScrollBar">
        <Grid x:Name="Root">
            <Grid.Resources>
                <ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root" Background="Transparent">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF557E9A" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="35*" />
                            <ColumnDefinition Width="30*" />
                            <ColumnDefinition Width="35*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="25*" />
                            <RowDefinition Height="50*" />
                            <RowDefinition Height="25*" />
                        </Grid.RowDefinitions>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 511.047,352.682L 511.047,342.252L 517.145,347.467L 511.047,352.682 Z ">
                            <Path.Fill>
                                <SolidColorBrush Color="{StaticResource PlaylistScrollBarButtonColor}" x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3"
                                Stroke="#666666" StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF557E9A" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="35*" />
                            <ColumnDefinition Width="30*" />
                            <ColumnDefinition Width="35*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="25*" />
                            <RowDefinition Height="50*" />
                            <RowDefinition Height="25*" />
                        </Grid.RowDefinitions>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 110.692,342.252L 110.692,352.682L 104.594,347.467L 110.692,342.252 Z ">
                            <Path.Fill>
                                <SolidColorBrush Color="{StaticResource PlaylistScrollBarButtonColor}" x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3"
                                Stroke="#666666" StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="VerticalIncrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="#FF557E9A" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 531.107,321.943L 541.537,321.943L 536.322,328.042L 531.107,321.943 Z "
                                Width="10" Height="5">
                            <Path.Fill>
                                <SolidColorBrush Color="#FFFFFFFF" x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="#00000000"
                                Stroke="#666666" StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="VerticalDecrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root" Background="#00000000">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="#FF557E9A" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 541.537,173.589L 531.107,173.589L 536.322,167.49L 541.537,173.589 Z "
                                Width="10" Height="5">
                            <Path.Fill>
                                <SolidColorBrush Color="#FFFFFFFF" x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="#00000000"
                                Stroke="#666666" StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
                    <Grid>
                        <Grid.Resources>
                            <SolidColorBrush x:Key="Background" Color="#FF003255" />
                            <Color x:Key="LinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="LinearBevelLightEndColor">#F4FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkStartColor">#E0FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkEndColor">#B2FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightEndColor">#EAFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkStartColor">#D8FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkEndColor">#4CFFFFFF</Color>
                        </Grid.Resources>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkStartColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="ThumbVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid x:Name="ThumbVisual">
                            <Rectangle Margin="2.5,.5,2.5,.5" x:Name="Background"
                                    Fill="{StaticResource Background}" RadiusX="2.5" RadiusY="2.5" />
                            <Rectangle Margin="2,0,2,0" x:Name="rectangle" Stroke="#FF777777"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightStartColor}"
                                                Offset="0" x:Name="LinearBevelLightStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightEndColor}"
                                                Offset="0.35" x:Name="LinearBevelLightEnd" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkStartColor}"
                                                Offset="0.35" x:Name="LinearBevelDarkStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkEndColor}"
                                                Offset="1" x:Name="LinearBevelDarkEnd" />
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Rectangle Margin="3,1,3,1" Fill="#00000000" Stroke="White"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5" />
                        </Grid>
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
                    <Grid>
                        <Grid.Resources>
                            <SolidColorBrush x:Key="Background" Color="#FF003255" />
                            <Color x:Key="LinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="LinearBevelLightEndColor">#F4FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkStartColor">#E0FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkEndColor">#B2FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightEndColor">#EAFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkStartColor">#D8FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkEndColor">#4CFFFFFF</Color>
                        </Grid.Resources>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkStartColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ThumbVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid x:Name="ThumbVisual">
                            <Rectangle Margin=".5,2.5,.5,2.5" x:Name="Background"
                                    Fill="{StaticResource Background}" RadiusX="2.5" RadiusY="2.5" />
                            <Rectangle Margin="0,2,0,2" x:Name="rectangle" Stroke="#FF777777"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1.11" StartPoint="0.5,-0.11">
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightStartColor}"
                                                Offset="0" x:Name="LinearBevelLightStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightEndColor}"
                                                Offset="0.35" x:Name="LinearBevelLightEnd" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkStartColor}"
                                                Offset="0.35" x:Name="LinearBevelDarkStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkEndColor}"
                                                Offset="1" x:Name="LinearBevelDarkEnd" />
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Rectangle Margin="1,3,1,3" Fill="#00000000" Stroke="White"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5" />
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Grid.Resources>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver" />
                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root"
                                    Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Grid x:Name="HorizontalRoot" Visibility="Collapsed">
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <Rectangle Grid.ColumnSpan="5" Grid.RowSpan="2" Stroke="#FFCCCCCC" RadiusX="1"
                        RadiusY="1">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FFF9FAFA" Offset="0" />
                            <GradientStop Color="#FFEDF1F4" Offset="0.37259" />
                            <GradientStop Color="#FFE2E8EF" Offset="0.372881" />
                            <GradientStop Color="#FFC3C9CD" Offset="1" />
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Rectangle Margin="0,1,1,0" Grid.ColumnSpan="5" Grid.RowSpan="2" Stretch="Fill"
                        Stroke="#FFFFFFFF" StrokeLineJoin="Round" StrokeThickness="1" />
                <Path Margin="3,3,3,0" Grid.ColumnSpan="5" Stretch="Fill"
                        Data="F1 M 523.135,337.329L 99.2482,337.329L 99.2482,346.75C 161.317,350.192 233.785,352.168 311.192,352.168C 388.598,352.168 461.067,350.192 523.135,346.75L 523.135,337.329 Z ">
                    <Path.Fill>
                        <LinearGradientBrush EndPoint="0.5125,1.00202"
                                StartPoint="0.5125,-0.0864589">
                            <GradientStop Color="#B3FFFFFF" Offset="0" />
                            <GradientStop Color="#3CFFFFFF" Offset="1" />
                        </LinearGradientBrush>
                    </Path.Fill>
                </Path>
                <RepeatButton x:Name="HorizontalSmallDecrease" Width="16" IsTabStop="False"
                        Template="{StaticResource HorizontalDecrementTemplate}" Grid.Column="0"
                        Grid.RowSpan="2" Interval="50" />
                <RepeatButton x:Name="HorizontalLargeDecrease" Width="0" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.Column="1"
                        Grid.RowSpan="2" Interval="50" />
                <Thumb MinWidth="10" x:Name="HorizontalThumb" Width="20"
                        Template="{StaticResource HorizontalThumbTemplate}" Grid.Column="2"
                        Grid.RowSpan="2" />
                <RepeatButton x:Name="HorizontalLargeIncrease" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.Column="3"
                        Grid.RowSpan="2" Interval="50" />
                <RepeatButton x:Name="HorizontalSmallIncrease" Width="16" IsTabStop="False"
                        Template="{StaticResource HorizontalIncrementTemplate}" Grid.Column="4"
                        Grid.RowSpan="2" Interval="50" />
            </Grid>
            <Grid x:Name="VerticalRoot" Visibility="Collapsed">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <RepeatButton Height="16" x:Name="VerticalSmallDecrease" IsTabStop="False"
                        Template="{StaticResource VerticalDecrementTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="0" Interval="50" />
                <RepeatButton Height="0" x:Name="VerticalLargeDecrease" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="1" Interval="50" />
                <Thumb Height="20" MinHeight="10" x:Name="VerticalThumb"
                        Template="{StaticResource VerticalThumbTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="2" Opacity="0" />
                <RepeatButton x:Name="VerticalLargeIncrease" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="3" Interval="50" />
                <RepeatButton Height="16" x:Name="VerticalSmallIncrease" IsTabStop="False"
                        Template="{StaticResource VerticalIncrementTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="4" Interval="50" />
            </Grid>
        </Grid>
    </ControlTemplate>

    <ControlTemplate x:Key="ScrollViewerTemplate" TargetType="ScrollViewer">
        <Border BorderBrush="{TemplateBinding BorderBrush}"
                BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1">
            <Grid Background="{TemplateBinding Background}">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <ScrollBar Cursor="Arrow" HorizontalAlignment="Center" x:Name="VerticalScrollBar"
                        Template="{StaticResource ScrollBarTemplate}" Width="30"
                        Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
                        Grid.Column="0" Grid.Row="0" Orientation="Vertical"
                        ViewportSize="{TemplateBinding ViewportHeight}"
                        Maximum="{TemplateBinding ScrollableHeight}" Minimum="0"
                        Value="{TemplateBinding VerticalOffset}" />
                <ScrollContentPresenter Cursor="{TemplateBinding Cursor}" Margin="0,18,0,18"
                        x:Name="ScrollContentPresenter" Grid.Column="0" Grid.Row="0"
                        Content="{TemplateBinding Content}"
                        ContentTemplate="{TemplateBinding ContentTemplate}" />
            </Grid>
        </Border>
    </ControlTemplate>

    <!--PlaylistPresenter-->
    <ControlTemplate x:Key="PlaylistPresenterTemplate" TargetType="player:PlaylistPresenter">
        <Grid Background="{TemplateBinding Background}">
            <ScrollViewer x:Name="PlaylistScrollViewer" Background="{TemplateBinding Background}"
                    Padding="{TemplateBinding Padding}"
                    Template="{StaticResource ScrollViewerTemplate}"
                    HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible"
                    BorderBrush="#00A4A4A4">
                <Border CornerRadius="2,2,2,2" Margin="15,0,15,0">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FFFFFFFF"/>
                            <GradientStop Color="#FFEDF2F8" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                    <ContentPresenter Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}" Height="Auto" Width="Auto" />
                </Border>
            </ScrollViewer>
        </Grid>
    </ControlTemplate>
    <ControlTemplate x:Key="ChapterButtonControlTemplate" TargetType="Button">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="FocusStates">
                    <vsm:VisualState x:Name="Unfocused"/>
                    <vsm:VisualState x:Name="Focused"/>
                </vsm:VisualStateGroup>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFE8F9F9"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.39653670787811279"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFA7CEEB"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.45565858483314514"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF7198BC"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.76351249217987061"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4E98DD"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[4].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.8817562460899353"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[4].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF29A3E9"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[5].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.970439076423645"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[5].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF02C5FC"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[6].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[6].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF44E0FD"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF285FC2"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF020A9E"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.888"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.42"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFEFEFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFC8C3C0"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Normal"/>
                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFDAE4ED"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.098975077271461487"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFA5BCCF"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.39590030908584595"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF5C7A8F"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.47013163566589355"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF375060"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[4].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.721"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[4].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF3B556C"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[5].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[5].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF0E98D8"/>
                            </ColorAnimationUsingKeyFrames>

                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[6].(GradientStop.Offset)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[6].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF0E98D8"/>
                            </ColorAnimationUsingKeyFrames>

                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path"
                                    Storyboard.TargetProperty="Fill" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1"
                                    Storyboard.TargetProperty="Stroke" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#7FFEFEFE" Offset="0.37604707479476929"/>
                                            <GradientStop Color="#7FC8C3C0" Offset="1"/>
                                        </LinearGradientBrush>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="path1"
                                    Storyboard.TargetProperty="Fill" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#7F285FC2"/>
                                            <GradientStop Color="#7F020A9E" Offset="0.89189189672470093"/>
                                        </LinearGradientBrush>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Path Stroke="#33000000" Height="Auto" VerticalAlignment="Stretch" Width="Auto" Stretch="Fill" Data="M2.5,0.5 C15.029,0.5 44.629883,0.5 44.629883,0.5 C44.629883,0.5 43.153835,5.1967692 43.273502,10.032596 C43.393169,14.868422 44.629818,19.326 44.629818,19.326 C44.629818,19.326 15.029,19.326 2.5,19.326 C1.3954304,19.326 0.51435369,14.011962 0.5,9.5583735 C0.48564634,5.104785 1.3954304,0.5 2.5,0.5 z" Margin="0,0,0,0" HorizontalAlignment="Stretch" x:Name="path">
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFE2F1F9" Offset="0.008"/>
                        <GradientStop Color="#FF9ECAE5" Offset="0.15933354198932648"/>
                        <GradientStop Color="#FF9DC1DB" Offset="0.39377763867378235"/>
                        <GradientStop Color="#FF7C9CB1" Offset="0.44688880443573"/>
                        <GradientStop Color="#FF83B2CE" Offset="0.94688880443573"/>
                        <GradientStop Color="#FF82AFCA" Offset="0.88400000333786011"/>
                        <GradientStop Color="#FF81ACC6" Offset="0.82599997520446777"/>
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
            <Path Height="11" HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Width="14.065" RenderTransformOrigin="0.319943109074436,0.5" Data="M11.565001,0.50000018 L12.565001,0.50000018 C13.117285,0.50000018 13.565001,0.94771534 13.565001,1.5000001 L13.565001,9.5 C13.565001,10.052284 13.117285,10.5 12.565001,10.5 L11.565001,10.5 C11.012716,10.5 10.565001,10.052284 10.565001,9.5 L10.565001,1.5000001 C10.565001,0.94771534 11.012716,0.50000018 11.565001,0.50000018 z M1.46,0.5 C1.46,0.5 8.5,5.605485 8.5,5.605485 C8.5,5.605485 1.46,10.5 1.46,10.5 C0.92980671,10.5 0.5,10.046618 0.5,9.4873419 L0.5,1.5126582 C0.5,0.95338219 0.92980689,0.5 1.46,0.5 z" Stretch="Fill" StrokeThickness="1" x:Name="path1">
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="-1"/>
                    </TransformGroup>
                </Path.RenderTransform>
                <Path.Stroke>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF030CA0" Offset="0.938275"/>
                        <GradientStop Color="#FF45A0DF" Offset="0"/>
                    </LinearGradientBrush>
                </Path.Stroke>
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFFEFEFE" Offset="0.38636362552642822"/>
                        <GradientStop Color="#FFCCC7C5" Offset="1"/>
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
        </Grid>
    </ControlTemplate>
    <ControlTemplate x:Key="NextChapterControlTemplate" TargetType="Button">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="FocusStates">
                    <vsm:VisualState x:Name="Unfocused"/>
                    <vsm:VisualState x:Name="Focused"/>
                </vsm:VisualStateGroup>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualState x:Name="MouseOver"/>
                    <vsm:VisualState x:Name="Normal"/>
                    <vsm:VisualState x:Name="Pressed"/>
                    <vsm:VisualState x:Name="Disabled"/>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Path Stroke="#33000000" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Stretch="Fill" Data="M2.5,0.5 C15.029,0.5 44.629883,0.5 44.629883,0.5 C44.629883,0.5 43.153835,5.1967692 43.273502,10.032596 C43.393169,14.868422 44.629818,19.326 44.629818,19.326 C44.629818,19.326 15.029,19.326 2.5,19.326 C1.3954304,19.326 0.51435369,14.011962 0.5,9.5583735 C0.48564634,5.104785 1.3954304,0.5 2.5,0.5 z" RenderTransformOrigin="0.5,0.5">
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="-1"/>
                    </TransformGroup>
                </Path.RenderTransform>
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFE8F9F9"/>
                        <GradientStop Color="#FFA7CEEB" Offset="0.39653670787811279"/>
                        <GradientStop Color="#FF7198BC" Offset="0.45565858483314514"/>
                        <GradientStop Color="#FF4E98DD" Offset="0.76351249217987061"/>
                        <GradientStop Color="#FF29A3E9" Offset="0.8817562460899353"/>
                        <GradientStop Color="#FF02C5FC" Offset="0.970439076423645"/>
                        <GradientStop Color="#FF44E0FD" Offset="1"/>
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
            <Path Height="11" HorizontalAlignment="Center" VerticalAlignment="Center" Width="14" Data="M11.499999,0.5 L12.499999,0.5 C13.052284,0.49999988 13.499999,0.9477154 13.499999,1.5 L13.499999,9.5 C13.499999,10.052284 13.052284,10.5 12.499999,10.5 L11.499999,10.5 C10.947714,10.5 10.499999,10.052284 10.499999,9.5 L10.499999,1.5 C10.499999,0.9477154 10.947714,0.49999988 11.499999,0.5 z M1.46,0.5 C1.46,0.50000095 8.500001,5.6054854 8.5,5.6054854 C8.500001,5.6054854 1.46,10.5 1.46,10.5 C0.92980671,10.5 0.5,10.046618 0.5,9.4873419 L0.5,1.5126581 C0.5,0.95338267 0.92980683,0.50000024 1.46,0.5 z" Stretch="Fill" StrokeThickness="1">
                <Path.Stroke>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFFEFEFE" Offset="0.37604707479476929"/>
                        <GradientStop Color="#FFC8C3C0" Offset="1"/>
                    </LinearGradientBrush>
                </Path.Stroke>
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF285FC2"/>
                        <GradientStop Color="#FF020A9E" Offset="0.89189189672470093"/>
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
        </Grid>
    </ControlTemplate>

    <!--MediaPlayer-->
    <Style TargetType="player:RadMediaPlayer">
        <Setter Property="FontSize" Value="10" />
        <Setter Property="Foreground" Value="#FFFFFFFF" />
        <Setter Property="Volume" Value="0.5" />
        <Setter Property="Background" Value="#FF000000" />
        <Setter Property="EnableFullScreenIcon" Value="False" />
        <Setter Property="Padding" Value="1" />
        <Setter Property="PlaylistPresenterTemplate"
                Value="{StaticResource PlaylistPresenterTemplate}" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="player:RadMediaPlayer">
                    <Grid x:Name="LayoutRoot">
                        <Grid.Triggers>
                            <EventTrigger RoutedEvent="Grid.Loaded">
                                <BeginStoryboard>
                                    <Storyboard>
                                        <DoubleAnimation RepeatBehavior="Forever" From="0" To="360"
                                                Duration="0:0:0.6" Storyboard.TargetName="loadingElements"
                                                Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" />
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                        </Grid.Triggers>

                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard Duration="0">
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisual"
                                    Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>

                            <vsm:VisualStateGroup x:Name="VideoControlsStates">
                                <vsm:VisualState x:Name="VisibleVideoControls">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="BottomPart"
                                                Storyboard.TargetProperty="Opacity" To="1" />
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="HiddenVideoControls">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="BottomPart"
                                                Storyboard.TargetProperty="Opacity" To="0" />
                                        <DoubleAnimation Storyboard.TargetName="grid"
                                                Storyboard.TargetProperty="Opacity" To="0" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="ScreenStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="00:00:0.3" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="NormalScreen" />
                                <vsm:VisualState x:Name="Fullscreen">
                                    <Storyboard >
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle5" Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle6" Storyboard.TargetProperty="(FrameworkElement.Width)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle7" Storyboard.TargetProperty="(FrameworkElement.Width)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle8" Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="border3" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="PlaylistStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="00:00:00.5000000" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="HiddenPlaylist">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="Playlist"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="VisiblePlaylist">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="Playlist"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimation Duration="0:0:0.2"
                                                Storyboard.TargetName="Playlist"
                                                Storyboard.TargetProperty="Opacity" From="0" To="1" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="ChaptersPresenterStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="00:00:00.5000000" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="HiddenChaptersPresenter">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="ChaptersPresenterContainer"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="VisibleChaptersPresenter">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="ChaptersPresenterContainer"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="20" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="BufferingStates">
                                <vsm:VisualState x:Name="VisibleLoading">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="LoadingElement"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="HiddenLoading">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="LoadingElement"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Border BorderBrush="#0C000000" BorderThickness="1,1,1,1" CornerRadius="12,12,12,12" x:Name="border3">
                            <Border BorderBrush="#19000000" BorderThickness="1,1,1,1" CornerRadius="11,11,11,11">
                                <Border BorderBrush="#33000000" BorderThickness="1,1,1,1" CornerRadius="10,10,10,10">
                                    <Border BorderBrush="#4C000000" BorderThickness="1,1,1,1" CornerRadius="9,9,9,9">
                                        <Border BorderBrush="#66000000" BorderThickness="1,1,1,1" CornerRadius="8,8,8,8">
                                            <Border BorderBrush="#7F000000" BorderThickness="1,1,1,1" CornerRadius="7,7,7,7">
                                                <Border BorderThickness="1,1,1,1" CornerRadius="6,6,6,6" Height="Auto" Width="Auto">
                                                    <Border.Background>
                                                        <LinearGradientBrush EndPoint="0.491356224416577,0.974451988955925" StartPoint="0.777113682471078,-0.027352265088688">
                                                            <GradientStop Color="#FF68CADE" Offset="0.209"/>
                                                            <GradientStop Color="#FFE3EEF2" Offset="0.311"/>
                                                            <GradientStop Color="#FF5CCCE8" Offset="0.426"/>
                                                            <GradientStop Color="#FF74B3C0" Offset="0.533"/>
                                                            <GradientStop Color="#FF0C6A7A" Offset="0.652"/>
                                                            <GradientStop Color="#FF018895" Offset="0.75421552036691342"/>
                                                            <GradientStop Color="#FF005084" Offset="1"/>
                                                            <GradientStop Color="#FFC6F5FF" Offset="0.094"/>
                                                        </LinearGradientBrush>
                                                    </Border.Background>
                                                    <Border.BorderBrush>
                                                        <LinearGradientBrush EndPoint="0.933220924036204,0.903735795235198" StartPoint="0.0687608619440813,0.315483972696259">
                                                            <GradientStop Color="#FF00D2FE" Offset="1"/>
                                                            <GradientStop Color="#FFFFFFFF" Offset="0.35294289873343759"/>
                                                        </LinearGradientBrush>
                                                    </Border.BorderBrush>
                                                </Border>
                                            </Border>
                                        </Border>
                                    </Border>
                                </Border>
                            </Border>
                        </Border>
                        <Grid Height="Auto" Width="Auto">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Rectangle Height="28" HorizontalAlignment="Stretch" Margin="8,8,8,0" VerticalAlignment="Stretch" Width="Auto" Grid.Column="0" Grid.Row="0" Fill="#00FFFFFF" Stroke="{x:Null}" Grid.ColumnSpan="3" x:Name="rectangle5"/>
                            <Rectangle Height="Auto" HorizontalAlignment="Stretch" Margin="8,8,0,8" VerticalAlignment="Stretch" Width="7" Fill="#00FFFFFF" Stroke="{x:Null}" Grid.ColumnSpan="1" Grid.RowSpan="3" x:Name="rectangle6"/>
                            <Rectangle Height="Auto" HorizontalAlignment="Stretch" Margin="0,8,8,8" VerticalAlignment="Stretch" Width="7" Fill="#00FFFFFF" Stroke="{x:Null}" Grid.RowSpan="3" Grid.Column="2" x:Name="rectangle7"/>
                            <Rectangle Height="65" HorizontalAlignment="Stretch" Margin="8,0,8,8" VerticalAlignment="Stretch" Width="Auto" Fill="#00FFFFFF" Stroke="{x:Null}" Grid.Column="0" Grid.RowSpan="1" Grid.Row="2" Grid.ColumnSpan="3" x:Name="rectangle8"/>
                            <Grid Background="#FF000000" Margin="0,0,0,0" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="1">
                                <MediaElement x:Name="MediaElement" AutoPlay="True"
										Volume="{TemplateBinding Volume}" Grid.RowSpan="1" />
                                <Grid x:Name="LoadingElement" Visibility="Collapsed">
                                    <Rectangle Fill="Black" Opacity="0.7" />
                                    <Grid RenderTransformOrigin="0.5,0.5" x:Name="loadingElements"
											Width="40" Height="40">
                                        <Grid.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform />
                                                <SkewTransform />
                                                <RotateTransform />
                                                <TranslateTransform />
                                            </TransformGroup>
                                        </Grid.RenderTransform>
                                        <Ellipse Height="10" HorizontalAlignment="Stretch"
												VerticalAlignment="Top" Opacity="1"
												Fill="#FFFF0000" Width="10" />
                                        <Ellipse Height="10" HorizontalAlignment="Right"
												VerticalAlignment="Top" Fill="#FFFF0000"
												Width="10" Opacity="0.125" Margin="0,4,4,0" />
                                        <Ellipse HorizontalAlignment="Right"
												VerticalAlignment="Stretch" Fill="#FFFF0000"
												Width="10" Opacity="0.26" Height="10" />
                                        <Ellipse Height="10" HorizontalAlignment="Right"
												VerticalAlignment="Bottom" Fill="#FFFFFFFF"
												Width="10" Opacity="0.39" Margin="0,0,4,4" />
                                        <Ellipse Height="10" HorizontalAlignment="Stretch"
												VerticalAlignment="Bottom" Fill="#FFFFFFFF"
												Opacity="0.51" Width="10" />
                                        <Ellipse Height="10" HorizontalAlignment="Left"
												VerticalAlignment="Bottom" Fill="#FFFFFFFF"
												Opacity="0.63" Width="10" Margin="4,0,0,4" />
                                        <Ellipse HorizontalAlignment="Left"
												VerticalAlignment="Stretch" Fill="#FFFFFFFF"
												Opacity="0.75" Width="10" Height="10" />
                                        <Ellipse Height="10" HorizontalAlignment="Left"
												VerticalAlignment="Top" Fill="#FFFFFFFF"
												Opacity="0.88" Width="10" Margin="4,4,0,0" />
                                    </Grid>
                                </Grid>
                                <player:PlaylistPresenter
										Template="{TemplateBinding PlaylistPresenterTemplate}"
										Background="{TemplateBinding Background}"
										x:Name="Playlist" Padding="0,20,0,20" Margin="0,0,0,0" VerticalAlignment="Stretch">
                                    <ItemsPresenter Margin="10,0,10,0" />
                                </player:PlaylistPresenter>
                            </Grid>
                        </Grid>
                        <Grid Height="65" HorizontalAlignment="Stretch" Margin="14,0,14,8" VerticalAlignment="Bottom" Width="Auto" x:Name="BottomPart" Background="#00000000">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="10"/>
                                <RowDefinition Height="55"/>
                            </Grid.RowDefinitions>
                            <!-- Maximum="{TemplateBinding MediaElementTotalSeconds}" -->
                            <!-- Maximum="{TemplateBinding MediaElementTotalSeconds}" -->
                            <Grid Opacity="0" x:Name="grid" Grid.RowSpan="2" Margin="-10,-10,-10,-5" Visibility="Collapsed">
                                <Border BorderBrush="#B2000000" BorderThickness="1,1,1,1" CornerRadius="7,7,7,7">
                                    <Border BorderThickness="1,1,1,1" CornerRadius="6,6,6,6" Height="Auto" Width="Auto">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.491356224416577,0.974451988955925" StartPoint="0.777113682471078,-0.027352265088688">
                                                <GradientStop Color="#FF018895" Offset="0"/>
                                                <GradientStop Color="#FF005084" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <Border.BorderBrush>
                                            <LinearGradientBrush EndPoint="0.933220924036204,0.903735795235198" StartPoint="0.0687608619440813,0.315483972696259">
                                                <GradientStop Color="#FF00D2FE" Offset="1"/>
                                                <GradientStop Color="#FFFFFFFF" Offset="0.35294289873343759"/>
                                            </LinearGradientBrush>
                                        </Border.BorderBrush>
                                    </Border>
                                </Border>
                            </Grid>

                            <!-- Maximum="{TemplateBinding MediaElementTotalSeconds}" -->
                            <telerik:RadSlider x:Name="TimeSlider"
									Maximum="{TemplateBinding MediaElementTotalSeconds}"
									TickPlacement="TopLeft"
									Style="{StaticResource TimeSliderStyle}"
									Margin="7,0,7,-1"
									IsMoveToPointEnabled="True" TickFrequency="0" HorizontalAlignment="Stretch" Width="Auto" BorderThickness="0,0,0,0" />
                            <Grid HorizontalAlignment="Stretch" Width="Auto" Grid.Column="0" Grid.Row="1" Grid.RowSpan="1">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="318"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>
								<TextBlock 
									FontSize="{TemplateBinding FontSize}"
									FontFamily="{TemplateBinding FontFamily}"
									Foreground="{TemplateBinding Foreground}"
									HorizontalAlignment="Left" VerticalAlignment="Center"
									Text="{TemplateBinding Title}"
									TextWrapping="Wrap">
									<ToolTipService.ToolTip>
										<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipTitle" />
									</ToolTipService.ToolTip>
								</TextBlock>
                                <Path Fill="#33FFFFFF" Stroke="#33000000"  Height="50.506" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stretch="Fill" Data="M191.25298,0.5 C198.0883,0.49999952 204.27657,3.2705629 208.75598,7.7499886 C209.87584,8.8698387 210.88889,10.096494 211.77855,11.413363 L212.36836,12.500001 L340.5,12.500001 C347.12747,12.499986 352.5,17.872471 352.5,24.500002 L352.5,24.948999 C352.5,31.57638 347.12747,36.949024 340.5,36.948994 L212.94208,36.948994 L211.77855,39.092636 C208.21992,44.360115 202.68701,48.18417 196.24158,49.503109 C194.6302,49.83284 192.96181,50.006001 191.25298,50.006001 C184.41762,50.006001 178.22937,47.235424 173.74997,42.756016 C172.63011,41.636162 171.61705,40.409508 170.7274,39.092636 L169.56387,36.948994 L47.5,36.948994 C40.87252,36.949024 35.5,31.57638 35.5,24.948999 L35.5,24.500002 C35.5,17.872471 40.872543,12.499986 47.5,12.500001 L170.13759,12.500001 L170.7274,11.413363 C174.28604,6.1458778 179.81894,2.3218219 186.26439,1.0028926 C187.87575,0.67316073 189.54414,0.49999988 191.25298,0.5 z" Margin="0,0,0,0" Grid.Column="1" Width="318" />
                                <Grid Margin="0,0,0,0" Grid.Column="1">

                                    <!--Playlist Button-->
                                    <Button x:Name="PlaylistButton"
											Template="{StaticResource ContentOnlyButton}"
											Height="8" FontSize="10" Margin="26,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Width="11">
                                        <Path Stroke="#FF081E81" Fill="#FF06178A"  Height="Auto" Width="Auto" Stretch="Fill" Data="M3.4999998,6.500001 L10.5,6.500001 L10.5,7.500001 L3.4999998,7.500001 L3.4999998,6.500001 z M3.4999998,3.5000005 L10.5,3.5000005 L10.5,4.5000005 L3.4999998,4.5000005 L3.4999998,3.5000005 z M3.4999998,0.5 L10.5,0.5 L10.5,1.5 L3.4999998,1.5 L3.4999998,0.5 z" />
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipPlaylist" />
										</ToolTipService.ToolTip>
                                    </Button>
                                    <Button x:Name="StopButton" Width="10.588"
											Template="{StaticResource ContentOnlyButton}"
											Height="9.645" HorizontalAlignment="Left" Margin="60,0,0,0" VerticalAlignment="Stretch">
                                        <Rectangle Height="Auto" Width="Auto" RadiusX="1" RadiusY="1">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                    <GradientStop Color="#FF020A9E" Offset="0.1428571492433548"/>
                                                    <GradientStop Color="#FF0D2D6C" Offset="1"/>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                            <Rectangle.Stroke>
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                    <GradientStop Color="#FF6397C8" Offset="0.043478261679410934"/>
                                                    <GradientStop Color="#FF4F97DB" Offset="0.47826087474823"/>
                                                    <GradientStop Color="#FF09BEF8" Offset="0.95652174949646"/>
                                                    <GradientStop Color="#FF0CB4E2" Offset="1"/>
                                                </LinearGradientBrush>
                                            </Rectangle.Stroke>
                                        </Rectangle>
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipStop" />
										</ToolTipService.ToolTip>
									</Button>
                                    <Button x:Name="PreviousChapterButton" Width="45.131"
											Template="{StaticResource ChapterButtonControlTemplate}"
											Height="19.826" HorizontalAlignment="Left" Margin="89,0,0,2" VerticalAlignment="Stretch">
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipPreviousChapter" />
										</ToolTipService.ToolTip>
									</Button>
                                    <ToggleButton x:Name="PlayButton" Width="40"
											Template="{StaticResource PlayButtonTemplate}"
											Margin="136,0,0,0" HorizontalAlignment="Left" Height="40" Grid.Column="0" >
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipPlay" />
										</ToolTipService.ToolTip>
									</ToggleButton>
                                    <Button x:Name="NextChapterButton" Width="45.131"
											Template="{StaticResource ChapterButtonControlTemplate}"
											Height="19.826" HorizontalAlignment="Left" Margin="178,0,0,2" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                                        <Button.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="-1"/>
                                            </TransformGroup>
                                        </Button.RenderTransform>
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipNextChapter" />
										</ToolTipService.ToolTip>
                                    </Button>
                                    <ToggleButton x:Name="MuteButton"
											Template="{StaticResource MuteButtonTemplate}"
											Width="7" Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="233,0,0,0">
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipMute" />
										</ToolTipService.ToolTip>
									</ToggleButton>
									<telerik:RadSlider x:Name="VolumeSlider"
											Value="{TemplateBinding Volume}" Minimum="0"
											Maximum="1" LargeChange="0.1"
											SmallChange="0.1"
											Width="53.132"
											Style="{StaticResource VolumeSliderStyle}"
											VerticalAlignment="Center"
											IsMoveToPointEnabled="True" HorizontalAlignment="Left" Margin="248,0,0,0" Height="Auto">
										<ToolTipService.ToolTip>
											<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipVolume" />
										</ToolTipService.ToolTip>
									</telerik:RadSlider>
								</Grid>
                                <StackPanel Width="Auto"
										Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="2">
                                    <!-- Text="{TemplateBinding MediaElementCurrentTime}" -->
                                    <Button x:Name="FullscreenButton"
											Template="{StaticResource ContentOnlyButton}"
											Height="13" FontSize="10"
											Width="20" Margin="0,0,20,0">
                                        <Grid Height="13" Width="20">
                                            <Path Stroke="#FFFFFFFF" Height="4" HorizontalAlignment="Left" VerticalAlignment="Top" Width="4" Data="M0.5,3.0833333 L0.5,0.5 L3.2497108,0.5" Stretch="Fill" />
                                            <Path Stroke="#FFFFFFFF" Height="4" HorizontalAlignment="Right" VerticalAlignment="Top" Width="4" Data="M0.5,3.0833333 L0.5,0.5 L3.2497108,0.5" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
                                                <Path.RenderTransform>
                                                    <RotateTransform Angle="90"/>
                                                </Path.RenderTransform>
                                            </Path>
                                            <Path Stroke="#FFFFFFFF" Height="4" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="4" Data="M0.5,3.0833333 L0.5,0.5 L3.2497108,0.5" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
                                                <Path.RenderTransform>
                                                    <RotateTransform Angle="180"/>
                                                </Path.RenderTransform>
                                            </Path>
                                            <Path Stroke="#FFFFFFFF" Height="4" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="4" Data="M0.5,3.0833333 L0.5,0.5 L3.2497108,0.5" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
                                                <Path.RenderTransform>
                                                    <RotateTransform Angle="270"/>
                                                </Path.RenderTransform>
                                            </Path>
                                            <Border BorderBrush="#FF06178A" Margin="2,2,2,2" x:Name="pressed_Copy3" BorderThickness="1,1,1,1" CornerRadius="0,0,0,0" />
                                        </Grid>
                                    </Button>
                                    <!-- Text="{TemplateBinding MediaElementCurrentTime}" -->
                                    <TextBlock
											Text="{TemplateBinding MediaElementCurrentTime}"
											FontFamily="{TemplateBinding FontFamily}"
											TextWrapping="NoWrap"
											FontSize="{TemplateBinding FontSize}"
											Foreground="{TemplateBinding Foreground}"
											VerticalAlignment="Center" Padding="0,0,2,0" />
                                    <TextBlock Text="/" TextWrapping="NoWrap"
											FontFamily="{TemplateBinding FontFamily}"
											FontSize="{TemplateBinding FontSize}"
											Foreground="{TemplateBinding Foreground}"
											VerticalAlignment="Center"
											telerik:LocalizationManager.ResourceKey="MediaPlayerTimeStatusSeparator" />
                                    <!-- Text="{TemplateBinding MediaElementTotalTime}"  -->
                                    <TextBlock
											Text="{TemplateBinding MediaElementTotalTime}"
											TextWrapping="NoWrap"
											FontFamily="{TemplateBinding FontFamily}"
											FontSize="{TemplateBinding FontSize}"
											Foreground="{TemplateBinding Foreground}"
											VerticalAlignment="Center" Margin="2,0,0,0" />
                                </StackPanel>
                            </Grid>
                        </Grid>
                        <Border x:Name="ChaptersPresenterContainer"
								BorderBrush="{x:Null}"
								Height="0" Margin="17,0,17,77" VerticalAlignment="Bottom">
                            <!--<Border.RenderTransform>
									<TransformGroup>
										<ScaleTransform />
										<SkewTransform />
										<RotateTransform />
										<TranslateTransform />
									</TransformGroup>
								</Border.RenderTransform>-->
                            <Grid>
                                <Border
										Background="{StaticResource MiddlePartBackgroundInner}"
										BorderBrush="{StaticResource MiddlePartBorderInner}"
										BorderThickness="1,1,1,1" CornerRadius="3,3,3,3" />
                                <Grid x:Name="ChaptersPresenter" Margin="13,0,13,0" />
                            </Grid>
                        </Border>
                        <Rectangle Fill="{StaticResource DisabledBrush}" RadiusX="8" RadiusY="8" x:Name="DisabledVisual" Visibility="Collapsed"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <?BODY END?>
</ResourceDictionary>