<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="using:TravelAroundRussia.ViewModels"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		MinHeight="700" MinWidth="1100"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="TravelAroundRussia.Views.MainWindow"
        x:DataType="vm:MainWindowViewModel"
        Icon="/Assets/logo.png"
        Title="Путушествуй по России">

	<Design.DataContext>
		<!-- This only sets the DataContext for the previewer in an IDE,
             to set the actual DataContext for runtime, set the DataContext property in code (look at App.axaml.cs) -->
		<vm:MainWindowViewModel/>
	</Design.DataContext>

	<Window.Styles>
		<Style Selector="TextBlock">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="FontSize" Value="16"/>
			<Setter Property="VerticalAlignment" Value="Center"/>
			<Setter Property="Foreground" Value="#445C93"/>
		</Style>
		<Style Selector="TextBox">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="Width" Value="250"/>
			<Setter Property="Margin" Value="5 0"/>
			<Setter Property="Foreground" Value="#445C93"/>
		</Style>
		<Style Selector="ComboBox">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="Width" Value="250"/>
			<Setter Property="Margin" Value="5 0"/>
			<Setter Property="Foreground" Value="#445C93"/>
		</Style>
		<Style Selector="CheckBox">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="MaxWidth" Value="250"/>
			<Setter Property="Margin" Value="5 0"/>
			<Setter Property="Foreground" Value="#445C93"/>
		</Style>

		<Style Selector="Button.Navigation">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="Margin" Value="10 5"/>
			<Setter Property="MinWidth" Value="50"/>
			<Setter Property="Background" Value="#445C93"/>
			<Setter Property="Foreground" Value="White"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
		</Style>

		<Style Selector="Button.Menu">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="Margin" Value="15 0"/>
			<Setter Property="Width" Value="150"/>
			<Setter Property="Background" Value="#445C93"/>
			<Setter Property="Foreground" Value="White"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
		</Style>

		<Style Selector="Button.Delete">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="Margin" Value="5 0"/>
			<Setter Property="Width" Value="150"/>
			<Setter Property="Background" Value="#E31E24"/>
			<Setter Property="Foreground" Value="White"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
		</Style>

		<Style Selector="Button.Edit">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="Margin" Value="5 0"/>
			<Setter Property="MinWidth" Value="150"/>
			<Setter Property="Background" Value="#BAE3E8"/>
			<Setter Property="Foreground" Value="#445C93"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
		</Style>

		<Style Selector="TextBlock.Header">
			<Setter Property="FontFamily" Value="Comic Sans MS"/>
			<Setter Property="FontSize" Value="20"/>
			<Setter Property="FontWeight" Value="Bold"/>
			<Setter Property="VerticalAlignment" Value="Center"/>
			<Setter Property="Foreground" Value="#445C93"/>
		</Style>
	</Window.Styles>

	<ContentControl Content="{Binding UC}"></ContentControl>

</Window>
