<Page x:Class="cosifacile.Orders"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:sys="clr-namespace:System;assembly=mscorlib"         
      mc:Ignorable="d" 
      d:DesignHeight="1920" d:DesignWidth="1080"
	Title="Orders" Loaded="Page_Loaded">
    <!--<ScrollViewer  Height="1000" Width="1080" VerticalAlignment="Top">-->
        <Grid Background="White">
            <Grid HorizontalAlignment="Center" VerticalAlignment="Top" Width="1080" Height="200">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="530" />
                    <ColumnDefinition Width="20" />
                    <ColumnDefinition Width="530" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="200" />
                </Grid.RowDefinitions>
                <Image x:Name="imgRP" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Center" Source="images/logo.png" Grid.Column="0" />
                <Image x:Name="imgLogo" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Center" Width="500" Source="images/logo.png" Grid.Column="2" />
            </Grid>
            <ScrollViewer x:Name="itemScroller" HorizontalAlignment="Center" Height="1330" Margin="0,500,0,0" VerticalAlignment="Top" Width="942" VerticalScrollBarVisibility="Auto">
                <Grid>
                    <StackPanel x:Name="rpPanel">

                    </StackPanel>
                    <StackPanel x:Name="othersRpPanel" Visibility="Hidden">

                    </StackPanel>
                </Grid>
            </ScrollViewer>
            <Label FontFamily="Raleway ExtraBold Italic" Foreground="#4EA245" FontSize="36" Margin="0,200,0,1664" HorizontalAlignment="Center">Riepilogo ordini</Label>
        <Grid HorizontalAlignment="Center" Height="100" Margin="0,330,0,0" VerticalAlignment="Top" Width="942">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="600" />
                <ColumnDefinition Width="342" />                
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="100" />
            </Grid.RowDefinitions>
            <Grid HorizontalAlignment="Center" VerticalAlignment="Top" Background="#b7d0a8" Height="100" Width="600">
                <TextBlock x:Name="txtAddress" FontFamily="Raleway SemiBold"  Foreground="#0d553f" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0">Indirizzo Punto Vendita</TextBlock>            </Grid>
            <Grid x:Name="grdRitira" HorizontalAlignment="Center" VerticalAlignment="Top" Background="#0d553f" Height="100" Width="342" Grid.Column="1" MouseUp="grdRitira_MouseUp">
                <Label Content="" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,125,0"
                   FontSize="30" FontFamily="fontawesome" Foreground="#FFFFFF"/>
                <Label FontFamily="Raleway Light" Foreground="#FFFFFF" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="50,0,0,0">RITIRA TUTTI</Label>
            </Grid>
        </Grid>

        <Grid HorizontalAlignment="Center" Height="50" Margin="0,454,0,0" VerticalAlignment="Top" Width="942">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150" />
                    <ColumnDefinition Width="150" />
                    <ColumnDefinition Width="150" />
                    <ColumnDefinition Width="150" />
                    <ColumnDefinition Width="342" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="50" />
                </Grid.RowDefinitions>
                <Grid Grid.Column="0" Background="#b7d0a8" Margin="2,2,2,2">
                <Label FontSize="18" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Raleway Regular" Foreground="#0d553f">Numero Ordine</Label>                    
                </Grid>
                <Grid Grid.Column="1" Background="#b7d0a8" Margin="2,2,2,2">
                    <Label FontSize="18" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Raleway Regular" Foreground="#0d553f">Data Ordine</Label>
                </Grid>
                <Grid Grid.Column="2" Background="#b7d0a8" Margin="2,2,2,2">
                    <Label FontSize="18" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Raleway Regular" Foreground="#0d553f">Orario di ritiro</Label>
                </Grid>
                <Grid Grid.Column="3" Background="#b7d0a8" Margin="2,2,2,2">
                    <Label FontSize="18" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Raleway Regular" Foreground="#0d553f">Totale in €</Label>
                </Grid>
                <Grid Grid.Column="4" Background="#b7d0a8" Margin="2,2,2,2">
                    <Label FontSize="18" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Raleway Regular" Foreground="#0d553f">Stato</Label>
                </Grid>
            </Grid>

        <Grid Width="1000" Height="50" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,40">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50" />
                <ColumnDefinition Width="450" />
                <ColumnDefinition Width="350" />
                <ColumnDefinition Width="150" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="50" />
            </Grid.RowDefinitions>
            <Label x:Name="lblClessidra" Content="" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center"
                   FontSize="30" Grid.Column="0" Grid.Row="0" FontFamily="fontawesome" Foreground="#0D553F"/>
            <Label x:Name="lblTimer" Content="" HorizontalAlignment="left" Margin="0" VerticalAlignment="Center" FontFamily="Arial Regular"
                    Foreground="#0D553F" FontSize="30" Grid.Column="1" Grid.Row="0"/>
            <Label x:Name="lblBack" Content="" HorizontalAlignment="Right" Margin="0" VerticalAlignment="Center"
                   FontSize="30" Grid.Column="2" Grid.Row="0" FontFamily="fontawesome" Foreground="#0D553F" MouseUp="lblBack_MouseUp"/>
            <Label x:Name="lblAnnulla" Content="ANNULLA" HorizontalAlignment="Right" Margin="0" VerticalAlignment="Center" FontFamily="Arial Regular"
                    Foreground="#0D553F" FontSize="30" Grid.Column="3" Grid.Row="0" MouseUp="lblAnnulla_MouseUp"/>
        </Grid>
        <Grid x:Name="grdNotFound" Width="1080" Height="1920" Visibility="Hidden">
            <Grid.Background>
                <SolidColorBrush Opacity="0.5" Color="Black"/>
            </Grid.Background>
            <Border BorderBrush="White" BorderThickness="10,10,10,10" CornerRadius="10,10,10,10" Height="660" Width="990">
                <Grid Background="White">
                    <Image HorizontalAlignment="Center" Source="images/logo_small.png" Width="200" Margin="0,0,0,0" VerticalAlignment="Bottom"/>
                    <Grid x:Name="grdClose" HorizontalAlignment="Right" Height="50" Margin="0,0,0,0" VerticalAlignment="Top" Width="200" MouseUp="grdClose_MouseUp">
                        <Label Content="" FontFamily="fontawesome" FontSize="40" Foreground="Gray" HorizontalAlignment="Right" Margin="0,0,130,0"></Label>
                        <Label Content="CHIUDI" FontFamily="Raleway Light" FontSize="36" Foreground="Gray" HorizontalAlignment="Right"></Label>
                    </Grid>
                    <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" FontFamily="Raleway ExtraBold Italic" Foreground="#0D553f" FontSize="36" Margin="0,0,0,0" TextWrapping="Wrap">Numero ordine <LineBreak/>o NUMERO CARTA FEDELTA'<LineBreak/>NON RICONOSCIUTO.</TextBlock>
                </Grid>
            </Border>
        </Grid>

        <Grid x:Name="grdAccept" Width="1080" Height="1920" Visibility="Hidden">
            <Grid.Background>
                <SolidColorBrush Opacity="0.5" Color="Black"/>
            </Grid.Background>
            <Border BorderBrush="White" BorderThickness="10,10,10,10" CornerRadius="10,10,10,10" Height="660" Width="990">
                <Grid Background="White">
                    <Image HorizontalAlignment="Center" Source="images/logo_small.png" Width="200" Margin="0,0,0,0" VerticalAlignment="Bottom"/>
                    <Grid x:Name="grdCloseAccept" HorizontalAlignment="Right" Height="50" Margin="0,0,0,0" VerticalAlignment="Top" Width="200" MouseUp="grdCloseAccept_MouseUp">
                        <Label Content="" FontFamily="fontawesome" FontSize="40" Foreground="Gray" HorizontalAlignment="Right" Margin="0,0,130,0"></Label>
                        <Label Content="CHIUDI" FontFamily="Raleway Light" FontSize="36" Foreground="Gray" Margin="69,0,0,0"/>
                    </Grid>

                    <TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" TextAlignment="Center" FontFamily="Raleway" Foreground="#0D553f" FontSize="36" Margin="0,100,0,0" TextWrapping="Wrap">CLICCANDO SUL PULSANTE PROCEDI<LineBreak/>ACCETTI TUTTE LE SOSTITUZIONI</TextBlock>
                    <Grid x:Name="grdConfirm" Background="#3b3b3b" MouseUp="grdConfirm_MouseUp" Width="250" Height="100" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,200,0,0">
                        <Label Content="" FontFamily="fontawesome" FontSize="30" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,150,0"></Label>
                        <Label Content="PROCEDI" FontFamily="Raleway Light" FontSize="30" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="40,0,0,0"></Label>
                    </Grid>
                    <TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" TextAlignment="Center" FontFamily="Raleway" Foreground="#0D553f" FontSize="36" Margin="0,350,0,0" TextWrapping="Wrap">CLICCANDO SUL PULSANTE ASSISTENZA<LineBreak/>RICEVERAI SUPPORTO IN FASE DI RITIRO </TextBlock>
                    <Grid x:Name="grdAssistenza" Background="#3b3b3b" MouseUp="grdPickHelp_MouseUp" Width="250" Height="100" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,450,0,0">
                        <Label Content="" FontFamily="fontawesome" FontSize="30" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,170,0"></Label>
                        <Label Content="ASSISTENZA" FontFamily="Raleway Light" FontSize="30" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="40,0,0,0"></Label>
                    </Grid>
                </Grid>
            </Border>
        </Grid>            
            
    </Grid>
    <!--</ScrollViewer>-->
</Page>
