diff --git a/green_deal/__init__.py b/green_deal/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/green_deal/apps.py b/green_deal/apps.py
new file mode 100644
index 0000000000000000000000000000000000000000..db237524f0380d05ed4128eb4a5d0381072f5762
--- /dev/null
+++ b/green_deal/apps.py
@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class GreenDealConfig(AppConfig):
+    name = "green_deal"
diff --git a/green_deal/migrations/0001_initial.py b/green_deal/migrations/0001_initial.py
new file mode 100644
index 0000000000000000000000000000000000000000..89091dd7204cf6a56b7cd2552db3a51c4c68097b
--- /dev/null
+++ b/green_deal/migrations/0001_initial.py
@@ -0,0 +1,392 @@
+# Generated by Django 3.1.1 on 2020-11-13 08:22
+
+import django.db.models.deletion
+import wagtail.core.blocks
+import wagtail.core.fields
+import wagtailmetadata.models
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    initial = True
+
+    dependencies = [
+        ("wagtailimages", "0022_uploadedimage"),
+        ("wagtailcore", "0052_pagelogentry"),
+    ]
+
+    operations = [
+        migrations.CreateModel(
+            name="GreenDealSubPage",
+            fields=[
+                (
+                    "page_ptr",
+                    models.OneToOneField(
+                        auto_created=True,
+                        on_delete=django.db.models.deletion.CASCADE,
+                        parent_link=True,
+                        primary_key=True,
+                        serialize=False,
+                        to="wagtailcore.page",
+                    ),
+                ),
+                (
+                    "content",
+                    wagtail.core.fields.StreamField(
+                        [
+                            (
+                                "text_2_columns",
+                                wagtail.core.blocks.StructBlock(
+                                    [
+                                        (
+                                            "left_text",
+                                            wagtail.core.blocks.RichTextBlock(
+                                                features=[
+                                                    "h2",
+                                                    "h3",
+                                                    "h4",
+                                                    "h5",
+                                                    "bold",
+                                                    "italic",
+                                                    "ol",
+                                                    "ul",
+                                                    "hr",
+                                                    "link",
+                                                    "document-link",
+                                                    "image",
+                                                ],
+                                                label="levĂ˝ sloupec",
+                                            ),
+                                        ),
+                                        (
+                                            "right_text",
+                                            wagtail.core.blocks.RichTextBlock(
+                                                features=[
+                                                    "h2",
+                                                    "h3",
+                                                    "h4",
+                                                    "h5",
+                                                    "bold",
+                                                    "italic",
+                                                    "ol",
+                                                    "ul",
+                                                    "hr",
+                                                    "link",
+                                                    "document-link",
+                                                    "image",
+                                                ],
+                                                label="pravĂ˝ sloupec",
+                                            ),
+                                        ),
+                                    ]
+                                ),
+                            ),
+                            (
+                                "FAQ_columns",
+                                wagtail.core.blocks.StructBlock(
+                                    [
+                                        (
+                                            "left_text",
+                                            wagtail.core.blocks.RichTextBlock(
+                                                features=[
+                                                    "h2",
+                                                    "h3",
+                                                    "h4",
+                                                    "h5",
+                                                    "bold",
+                                                    "italic",
+                                                    "ol",
+                                                    "ul",
+                                                    "hr",
+                                                    "link",
+                                                    "document-link",
+                                                    "image",
+                                                ],
+                                                label="levĂ˝ sloupec",
+                                            ),
+                                        ),
+                                        (
+                                            "faqs",
+                                            wagtail.core.blocks.ListBlock(
+                                                wagtail.core.blocks.StructBlock(
+                                                    [
+                                                        (
+                                                            "question",
+                                                            wagtail.core.blocks.TextBlock(),
+                                                        ),
+                                                        (
+                                                            "answer",
+                                                            wagtail.core.blocks.RichTextBlock(),
+                                                        ),
+                                                    ]
+                                                ),
+                                                label="faq",
+                                            ),
+                                        ),
+                                    ]
+                                ),
+                            ),
+                            (
+                                "news",
+                                wagtail.core.blocks.ListBlock(
+                                    wagtail.core.blocks.StructBlock(
+                                        [
+                                            ("header", wagtail.core.blocks.CharBlock()),
+                                            (
+                                                "text",
+                                                wagtail.core.blocks.RichTextBlock(
+                                                    features=[
+                                                        "h2",
+                                                        "h3",
+                                                        "h4",
+                                                        "h5",
+                                                        "bold",
+                                                        "italic",
+                                                        "ol",
+                                                        "ul",
+                                                        "hr",
+                                                        "link",
+                                                        "document-link",
+                                                        "image",
+                                                    ]
+                                                ),
+                                            ),
+                                        ]
+                                    ),
+                                    label="aktuality",
+                                ),
+                            ),
+                        ],
+                        blank=True,
+                        verbose_name="obsah stránky",
+                    ),
+                ),
+                (
+                    "search_image",
+                    models.ForeignKey(
+                        blank=True,
+                        null=True,
+                        on_delete=django.db.models.deletion.SET_NULL,
+                        related_name="+",
+                        to="wagtailimages.image",
+                        verbose_name="Search image",
+                    ),
+                ),
+            ],
+            options={
+                "verbose_name": "Podstránka",
+            },
+            bases=(
+                "wagtailcore.page",
+                wagtailmetadata.models.MetadataMixin,
+                models.Model,
+            ),
+        ),
+        migrations.CreateModel(
+            name="GreenDealHomePage",
+            fields=[
+                (
+                    "page_ptr",
+                    models.OneToOneField(
+                        auto_created=True,
+                        on_delete=django.db.models.deletion.CASCADE,
+                        parent_link=True,
+                        primary_key=True,
+                        serialize=False,
+                        to="wagtailcore.page",
+                    ),
+                ),
+                (
+                    "content",
+                    wagtail.core.fields.StreamField(
+                        [
+                            (
+                                "text_2_columns",
+                                wagtail.core.blocks.StructBlock(
+                                    [
+                                        (
+                                            "left_text",
+                                            wagtail.core.blocks.RichTextBlock(
+                                                features=[
+                                                    "h2",
+                                                    "h3",
+                                                    "h4",
+                                                    "h5",
+                                                    "bold",
+                                                    "italic",
+                                                    "ol",
+                                                    "ul",
+                                                    "hr",
+                                                    "link",
+                                                    "document-link",
+                                                    "image",
+                                                ],
+                                                label="levĂ˝ sloupec",
+                                            ),
+                                        ),
+                                        (
+                                            "right_text",
+                                            wagtail.core.blocks.RichTextBlock(
+                                                features=[
+                                                    "h2",
+                                                    "h3",
+                                                    "h4",
+                                                    "h5",
+                                                    "bold",
+                                                    "italic",
+                                                    "ol",
+                                                    "ul",
+                                                    "hr",
+                                                    "link",
+                                                    "document-link",
+                                                    "image",
+                                                ],
+                                                label="pravĂ˝ sloupec",
+                                            ),
+                                        ),
+                                    ]
+                                ),
+                            ),
+                            (
+                                "FAQ_columns",
+                                wagtail.core.blocks.StructBlock(
+                                    [
+                                        (
+                                            "left_text",
+                                            wagtail.core.blocks.RichTextBlock(
+                                                features=[
+                                                    "h2",
+                                                    "h3",
+                                                    "h4",
+                                                    "h5",
+                                                    "bold",
+                                                    "italic",
+                                                    "ol",
+                                                    "ul",
+                                                    "hr",
+                                                    "link",
+                                                    "document-link",
+                                                    "image",
+                                                ],
+                                                label="levĂ˝ sloupec",
+                                            ),
+                                        ),
+                                        (
+                                            "faqs",
+                                            wagtail.core.blocks.ListBlock(
+                                                wagtail.core.blocks.StructBlock(
+                                                    [
+                                                        (
+                                                            "question",
+                                                            wagtail.core.blocks.TextBlock(),
+                                                        ),
+                                                        (
+                                                            "answer",
+                                                            wagtail.core.blocks.RichTextBlock(),
+                                                        ),
+                                                    ]
+                                                ),
+                                                label="faq",
+                                            ),
+                                        ),
+                                    ]
+                                ),
+                            ),
+                            (
+                                "news",
+                                wagtail.core.blocks.ListBlock(
+                                    wagtail.core.blocks.StructBlock(
+                                        [
+                                            ("header", wagtail.core.blocks.CharBlock()),
+                                            (
+                                                "text",
+                                                wagtail.core.blocks.RichTextBlock(
+                                                    features=[
+                                                        "h2",
+                                                        "h3",
+                                                        "h4",
+                                                        "h5",
+                                                        "bold",
+                                                        "italic",
+                                                        "ol",
+                                                        "ul",
+                                                        "hr",
+                                                        "link",
+                                                        "document-link",
+                                                        "image",
+                                                    ]
+                                                ),
+                                            ),
+                                        ]
+                                    ),
+                                    label="aktuality",
+                                ),
+                            ),
+                        ],
+                        blank=True,
+                        verbose_name="obsah stránky",
+                    ),
+                ),
+                (
+                    "matomo_id",
+                    models.IntegerField(
+                        blank=True,
+                        null=True,
+                        verbose_name="Matomo ID pro sledování návštěvnosti",
+                    ),
+                ),
+                (
+                    "top_menu",
+                    wagtail.core.fields.StreamField(
+                        [
+                            (
+                                "item",
+                                wagtail.core.blocks.StructBlock(
+                                    [
+                                        (
+                                            "name",
+                                            wagtail.core.blocks.CharBlock(
+                                                label="název"
+                                            ),
+                                        ),
+                                        (
+                                            "page",
+                                            wagtail.core.blocks.PageChooserBlock(
+                                                label="stránka",
+                                                page_type=[
+                                                    "green_deal.GreenDealHomePage",
+                                                    "green_deal.GreenDealSubPage",
+                                                ],
+                                            ),
+                                        ),
+                                    ]
+                                ),
+                            )
+                        ],
+                        blank=True,
+                        verbose_name="hornĂ­ menu",
+                    ),
+                ),
+                (
+                    "search_image",
+                    models.ForeignKey(
+                        blank=True,
+                        null=True,
+                        on_delete=django.db.models.deletion.SET_NULL,
+                        related_name="+",
+                        to="wagtailimages.image",
+                        verbose_name="Search image",
+                    ),
+                ),
+            ],
+            options={
+                "verbose_name": "Zelená dohoda pro regiony",
+            },
+            bases=(
+                wagtailmetadata.models.MetadataMixin,
+                "wagtailcore.page",
+                models.Model,
+            ),
+        ),
+    ]
diff --git a/green_deal/migrations/__init__.py b/green_deal/migrations/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/green_deal/models.py b/green_deal/models.py
new file mode 100644
index 0000000000000000000000000000000000000000..7b69d9e931a81548bd188d9b54156bb0b7170506
--- /dev/null
+++ b/green_deal/models.py
@@ -0,0 +1,182 @@
+from django.db import models
+from django.utils.translation import gettext_lazy
+from wagtail.admin.edit_handlers import (
+    FieldPanel,
+    HelpPanel,
+    MultiFieldPanel,
+    StreamFieldPanel,
+)
+from wagtail.core import blocks
+from wagtail.core.fields import StreamField
+from wagtail.core.models import Page
+from wagtail.images.edit_handlers import ImageChooserPanel
+from wagtailmetadata.models import MetadataPageMixin
+
+from tuning import help
+
+RICH_TEXT_FEATURES = [
+    "h2",
+    "h3",
+    "h4",
+    "h5",
+    "bold",
+    "italic",
+    "ol",
+    "ul",
+    "hr",
+    "link",
+    "document-link",
+    "image",
+]
+
+
+class MenuItemBlock(blocks.StructBlock):
+    name = blocks.CharBlock(label="název")
+    page = blocks.PageChooserBlock(
+        label="stránka",
+        page_type=["green_deal.GreenDealHomePage", "green_deal.GreenDealSubPage"],
+    )
+
+    class Meta:
+        label = "stránka"
+
+
+class FaqBlock(blocks.StructBlock):
+    question = blocks.TextBlock()
+    answer = blocks.RichTextBlock()
+
+
+class ColumnsTextBlock(blocks.StructBlock):
+    left_text = blocks.RichTextBlock(label="levĂ˝ sloupec", features=RICH_TEXT_FEATURES)
+    right_text = blocks.RichTextBlock(
+        label="pravĂ˝ sloupec", features=RICH_TEXT_FEATURES
+    )
+
+    class Meta:
+        label = "text dva sloupce"
+        icon = "doc-full"
+
+
+class ColumnsFaqBlock(blocks.StructBlock):
+    left_text = blocks.RichTextBlock(label="levĂ˝ sloupec", features=RICH_TEXT_FEATURES)
+    faqs = blocks.ListBlock(FaqBlock(), label="faq")
+
+
+class NewsBlock(blocks.StructBlock):
+    header = blocks.CharBlock()
+    text = blocks.RichTextBlock(features=RICH_TEXT_FEATURES)
+
+
+class GreenDealHomePage(MetadataPageMixin, Page):
+    ### FIELDS
+    content = StreamField(
+        [
+            ("text_2_columns", ColumnsTextBlock()),
+            ("FAQ_columns", ColumnsFaqBlock()),
+            ("news", blocks.ListBlock(NewsBlock(), label="aktuality")),
+        ],
+        verbose_name="obsah stránky",
+        blank=True,
+    )
+    # settings
+    matomo_id = models.IntegerField(
+        "Matomo ID pro sledování návštěvnosti", blank=True, null=True
+    )
+    top_menu = StreamField(
+        [("item", MenuItemBlock())],
+        verbose_name="hornĂ­ menu",
+        blank=True,
+    )
+
+    ### PANELS
+
+    content_panels = Page.content_panels + [
+        StreamFieldPanel("content"),
+    ]
+
+    promote_panels = [
+        MultiFieldPanel(
+            [
+                FieldPanel("seo_title"),
+                FieldPanel("search_description"),
+                ImageChooserPanel("search_image"),
+                HelpPanel(help.build(help.IMPORTANT_TITLE)),
+            ],
+            gettext_lazy("Common page configuration"),
+        ),
+    ]
+
+    settings_panels = [
+        FieldPanel("matomo_id"),
+        StreamFieldPanel("top_menu"),
+    ]
+
+    ### RELATIONS
+
+    subpage_types = [
+        "green_deal.GreenDealSubPage",
+    ]
+
+    ### OTHERS
+
+    class Meta:
+        verbose_name = "Zelená dohoda pro regiony"
+
+    @property
+    def root_page(self):
+        return self
+
+
+class GreenDealSubPage(Page, MetadataPageMixin):
+    ### FIELDS
+    content = StreamField(
+        [
+            ("text_2_columns", ColumnsTextBlock()),
+            ("FAQ_columns", ColumnsFaqBlock()),
+            ("news", blocks.ListBlock(NewsBlock(), label="aktuality")),
+        ],
+        verbose_name="obsah stránky",
+        blank=True,
+    )
+
+    ### PANELS
+
+    content_panels = Page.content_panels + [
+        StreamFieldPanel("content"),
+    ]
+
+    promote_panels = [
+        MultiFieldPanel(
+            [
+                FieldPanel("slug"),
+                FieldPanel("seo_title"),
+                FieldPanel("search_description"),
+                ImageChooserPanel("search_image"),
+                HelpPanel(help.build(help.NO_SEO_TITLE, help.NO_SEARCH_IMAGE)),
+            ],
+            gettext_lazy("Common page configuration"),
+        ),
+    ]
+
+    settings_panels = []
+
+    ### RELATIONS
+
+    parent_page_types = ["green_deal.GreenDealHomePage"]
+    subpage_types = []
+
+    ### OTHERS
+
+    class Meta:
+        verbose_name = "Podstránka"
+
+    @property
+    def root_page(self):
+        if not hasattr(self, "_root_page"):
+            self._root_page = (
+                self.get_ancestors().type(GreenDealHomePage).specific().last()
+            )
+        return self._root_page
+
+    def get_meta_image(self):
+        return self.search_image or self.root_page.get_meta_image()
diff --git a/green_deal/static/green_deal/css/_addon.scss b/green_deal/static/green_deal/css/_addon.scss
new file mode 100644
index 0000000000000000000000000000000000000000..25096e43dee9c5afa28de7c8230c494f1e37fa37
--- /dev/null
+++ b/green_deal/static/green_deal/css/_addon.scss
@@ -0,0 +1,82 @@
+.fxbottom {position: absolute; bottom: -35px; right: 0; width: 85%; max-width: 1600px;}
+.fxbottom img {transform: rotate(180deg);}
+
+/*ul.topmenu li::after {content: "\00a0\00a0|\00a0"}*/
+.head_menu ul.topmenu 			  {position: relative; margin-top: 0px; right: 0; text-align: right; display: block; text-transform: uppercase;}
+.head_menu ul.topmenu li a       { font-size: 130%; color: #000; font-weight: normal; text-decoration: none; padding: 0px;}
+.head_menu ul.topmenu li a:hover {color: #333; @include textshadow(1px,0px,3px,#aaa);}
+.head_menu ul.topmenu .active    {color: #777; }
+.head_menu ul.topmenu li         {display: inline-block; list-style: none; padding: 0; margin: 0; margin-left: 2em;}
+#sticky_menu.sticky    {
+  a.home {color: #fff;}
+  a.home strong {color: #fff;}
+  a.home img {max-width: 100px;}
+  h1 {font-size: 250%;}
+  h1 span {top: 0;}
+  ul.topmenu li a {color: #fff;}
+}
+
+#footer ul.topmenu {}
+#header_top a img {@include saturateimg(1); @include trans();}
+#header_top a:hover img {@include saturateimg(0)}
+
+.tcont {position: relative; padding: 1em 4%; background-color: rgba(0,0,0,0.08); overflow: hidden;}
+.tcont .inner {max-width: $maxwidth; margin: auto;}
+.tcont h2 {text-transform: uppercase; font-weight: 200; font-size: 250%; color: #888;}
+
+.uvod_text {position: relative; top: 30px; width: 70%; float: left; text-align: center; padding-bottom: 5em;}
+.uvod_text h2 {position: relative; font-size: 250%; padding-bottom: 20px;}
+.uvod_text h2 span {position: relative; top: -0.5em; font-weight: 200; font-size: 60%;}
+.uvod_text p {font-size: large;}
+.uvod_foto {position: relative; width: 48%; float: right;}
+.uvod_foto img { }
+.prehled {position: relative; float: right; font-size: 120%; padding-top: 40px; }
+.prehled h3 {position: relative; }
+.harmonogram {width: 40%; float: left;}
+.zdroje {width: 60%; float: right;}
+.item_arrow {position: relative; top: 5px;}
+
+#homepage.content>.inner { padding-bottom: 0;}
+
+div.p {position: relative; padding-bottom: 1em;}
+div.p:nth-child(2n) {width: 56%; padding-left: 4%; float: right; text-align: justify;}
+div.p:nth-child(2n-1) {width: 36%; padding-right: 4%; float: left; text-align: justify; clear: both;}
+div.p ol li {font-size: 100%;}
+div.p img {margin-bottom: 1em;}
+div.p h3 {text-align: left;}
+
+.right_banners {position: relative; float: right; margin-left: 2em;}
+.right_banners a {margin-bottom: 1em;}
+.left_banners {position: relative; float: left; margin-right: 2em;}
+.left_banners a {margin-bottom: 1em;}
+
+.akt h3 {font-size: 150%; font-weight: bold;}
+.akt {padding-bottom: 2em; }
+.img_cont1 {position: relative; display: block; width: 100%; height: 70%; margin-bottom: 1em; max-height: 380px; background: url("../images/table.jpg");
+  /* Create the parallax scrolling effect */
+  background-attachment: fixed; background-position: left;
+  background-repeat: no-repeat;
+  background-size: auto;
+  }
+.refs {position: relative; padding-top: 1em; margin-bottom: 3em; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05);}
+
+.gallery {margin-top: 20px; /*width: 680px;*/}
+#kdo-jsem .gallery {margin-top: 10px; /*width: 680px;*/}
+table.gal 	 {position: relative; float: left; margin: 0px 10px 20px 10px; /*border: 1px solid #6c6c6c;*/}
+table.gal a  {display: block; position: relative; width: 230px; height: 230px; overflow: hidden;}
+
+table.table {width: 100%; border-spacing: 0; margin-bottom: 2em; border-top: 1px dashed #c4e9f2; border-bottom: 1px dashed #c4e9f2;}
+.content table strong {color: #00355f;}
+table.table tr:nth-child(even) {
+    background: #f0fbff;
+}
+table.table td {padding: 10px 1em;}
+table.table tr.border {border-top: 1px dashed #c4e9f2;}
+
+.field {float: left; margin-right: 2em;}
+#footer .social {text-align: right;}
+
+#map	{ float: right; text-align: right;}
+#map span {display: block; background: url("../images/border.png") 0 0 repeat; padding: 9px; padding-bottom: 4px; margin-bottom: 5px;}
+#kontakt form {width: 510px; float: right;}
+#kontakt iframe {float: none;}
diff --git a/green_deal/static/green_deal/css/_responsive.scss b/green_deal/static/green_deal/css/_responsive.scss
new file mode 100644
index 0000000000000000000000000000000000000000..5a9ec3d8c3eab4638eb58d6d6d726f0ae9dba9de
--- /dev/null
+++ b/green_deal/static/green_deal/css/_responsive.scss
@@ -0,0 +1,305 @@
+img, video, canvas {
+  max-width: 100%;
+}
+
+$breakpoints: (
+  'x-large': (max-width: 1600px),
+  'large': (max-width: 1280px),
+  'medium': (max-width: 1050px),
+  'small': (max-width: 850px),
+  'x-small': (max-width: 700px),
+  'xx-small': (max-width: 500px),
+  'xxx-small': (max-width: 430px),
+  'medium-height': (max-height: 850px),
+  'small-height': (max-height: 720px),
+  'x-small-height': (max-height: 650px)
+);
+
+@mixin media($breakpoint) {
+  $raw-query: map-get($breakpoints, $breakpoint);
+
+  @if $raw-query {
+    $query: if(
+      type-of($raw-query) == 'string',
+      unquote($raw-query),
+      inspect($raw-query)
+    );
+
+    @media #{$query} {
+      @content;
+    }
+  } @else {
+    @error 'No value found for `#{$breakpoint}`. '
+         + 'Please make sure it is defined in `$breakpoints` map.';
+  }
+}
+
+@mixin largestate {
+  /*#footer .quarter {width: 30%;}*/
+	#footer .half {width: 40%;}
+  #footer .menu {width: 50%}
+	#footer .mainmenu li {float: none !important; min-height: inherit !important; padding-bottom: 0 !important;}
+	#footer .mainmenu ul {display: none;}
+  .googlemap iframe {width: 100% !important;}
+}
+@mixin mediumstate {
+  #menu .hide {display:none !important}
+  #menu .mainmenu,#menu .mainmenu_menu,#qm0{display:none !important}
+  #responsive_menu       {position: fixed; width: 100%; height: 1px; top: 80px; z-index: 50; overflow: hidden;}
+  #responsive_menu.hide  {display: block !important;}
+  #responsive_menu li    {display: block; padding: 0.5em 0.5em;}
+}
+@mixin smallstate {
+  .quarter {width: 50%; text-align: center; float: none;}
+  .third {width: 100%; text-align: center;}
+  .half {width: 100%;}
+
+  #footer hr    {max-width: 100%;}
+	#footer .quarter {width: 100%;}
+	#footer .half {width: 100%; padding-top: 1em; text-align: center; }
+	#footer .mainmenu {text-align: center;}
+	#footer .mainmenu li {padding: inherit;}
+}
+@mixin xsmallstate {
+  .quarter {width: 100%; text-align: center;}
+  //.third {width: 100%; text-align: center;}
+  //.half {width: 100%;}
+  .twothird {width: 100%; text-align: center;}
+  .pagination span {font-size: small;}
+}
+
+@include media("x-large"){
+  #flags .flag, #responsive_flags .flag {}
+  //#qm0 a {padding: 38px 1.5em;}
+
+  //ADDON
+  #slideshow_text {top: 2em; right: 5%;}
+  #slideshow_text h2 {font-size: 300%;}
+  #slideshow_text p  {font-size: 140%; }
+}
+@include media("large"){
+  @include largestate;
+
+  #header {}
+
+  .mainmenu li, .mainmenu_menu li {padding-right: 0;}
+  .mainmenu li a, .mainmenu_menu li a, #qm0 li a {font-size: 100%;}
+	//h1 {font-size: 250%;}
+	h2 {padding-bottom: 0;}
+	//.kontakt {width: 49%;}
+
+	#slideshow_text    {top: 1em; padding: 1em;}
+	#slideshow h2 {font-size: 180%;}
+  #slideshow_text p {font-size: 110%;}
+
+  //#qm0 a {padding: 38px 1.2em;}
+
+  //ADDON
+
+}
+
+@include media("medium"){
+  @include mediumstate;
+
+  #header {overflow: hidden;}
+
+  #responsive_menu.hide  {display: block !important;}
+  #responsive_menu{
+    //.mainmenu, .mainmenu_menu,  #qm0 {position: relative; top: 0px; left: -60%; width: 40%; /*max-height: 130px;*/ padding: 10px 20px; padding-bottom: 30px;
+    //background-color: rgba(0,0,0,0.8); /*@include boxshadow(10px, -20px, 15px, #888);*/}
+    .mainmenu, .mainmenu_menu,  #qm0 {font-size: 100%; text-align: left;}
+    //.mainmenu li, .mainmenu_menu li, #qm0 li  {display: block; padding: 0.5em 0.5em;}
+    .mainmenu li a, .mainmenu_menu li a, #qm0 li a {float: none; border-bottom: none; font-weight: 400; padding: 0;}
+    .mainmenu li a:hover, .mainmenu_menu li a:hover, #qm0 li a:hover {border-bottom: none; color: $acolor;}
+    .mainmenu li ul {padding-top: 0.5em}
+    .mainmenu li ul li {padding-left: 1em;}
+    .mainmenu li ul li a::before  {content: url("../images/li.png"); padding-right: 5px;}
+    .mainmenu li ul li a {text-transform: none;}
+    button {display: inline-block;}
+  }
+  	.quarter_center.last {margin-right: 10px;}
+	#cont {padding-top: 50px;}
+
+	#header {position: relative; /*overflow: hidden;*/}
+	#header .hide    {display: none !important;}
+	.head_menu {position: absolute; max-width: none; top: 85px; right: -110%; width: 100%; padding: 50px 20px 0; background: #0f3234; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 50%); /*-webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15); -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15); box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);*/}
+	.head_menu ul.topmenu {position: relative; padding-right: 0; padding-bottom: 3em; margin-top: -25px; border: none; height: auto; font-size: 130%; text-align: right;}
+	.head_menu ul.topmenu li   {display: inline-block; float: none; padding-bottom: 1em;}
+	.head_menu ul.topmenu li a {float: none; border-bottom: none; color: #fff; font-size: 100%;}
+	.head_menu ul.topmenu li a:hover {border-bottom: none;}
+	.head_menu button {display: inline-block;}
+
+  #mob_menu_open  {display: inline-block; }
+  #mob_menu_close {display: inline-block; z-index: 100; top: 100px;}
+  .addhtml {display: none;}
+
+  .sticky #mob_menu_open, sticky #mob_menu_close  {right: 4%;}
+  /*.head_menu {top: 114px;}*/
+  .head_menu ul.topmenu {right: 50px;}
+
+	#slideshow_text {}
+	#slideshow_text h3 {font-size: 120%;}
+	#slideshow_text a.button {font-size: 100%; padding: 0.8em 1.5em;}
+  #slideshow_text p {font-size: 100%; line-height: 1.5em;}
+
+	//#header .header_left .social  {display: none;}
+	//#responsive_flags {position: relative; display: block; top: 9px; float: right; margin-right: 30px;}
+	//#menu .social {position: relative; display: block; top: 8px; float: right;}
+	//#header .header_left {width: 250px; float: right; padding-top: 20px;}
+	//#header .header_left .gps {width: 100%; min-width: inherit; padding-bottom: 15px; float: none;}
+	//#header .header_left .phone {width: 100%; min-width: inherit; float: none;}
+
+	.fixed1 {}
+	.fixed1 a.button	{display: block; max-width: 150px; top: 1em; margin: auto;}
+	.fixed1 h2 {font-size: 150%;}
+
+	.akt {text-align: left;}
+	.gallery  {text-align: center;}
+	table.gal {display: inline-block; float: none;}
+
+	#kontakt form {display: block; width: 90%; float: none; }
+	#kontakt iframe {width: 100% !important; margin-top: 20px;}
+
+	#footer .logo img {width: 85%;}
+	#footer .mainmenu {font-size: 110%;}
+	.box {width: 90%; margin-left: 5%;}
+	.boxes h2 {font-size: 90%;}
+	.boxes p  {/*font-size: 70%;*/}
+
+  //ADDON
+  #homepage.content>.inner {padding-top: 0; padding-bottom: 0em;}
+  .uvod_text h2 {font-size: 250%;}
+  .prehled {float: none;}
+  .harmonogram {float: none;}
+  .zdroje {float: none; width: 100%; padding-top: 2em;}
+  .content>.inner {padding: 2em 0;}
+
+}
+@include media("small"){
+  @include smallstate;
+
+  #header {}
+  #header_top .logo_cont {width: 80px; padding-right: 10px;}
+  #header_top .soc {top: 0;}
+	/*body {font-size: medium;}*/
+  //#top {display: none;}
+	//#header a.home {max-width: 50%;}
+  //#header h1 {font-size: 150%;}
+	//#header .header_left {width: 50%; padding-top: 20px;}
+  //#header .title {left: 40%;}
+
+	#slideshow_text    {max-width: 80%;}
+  #slideshow_text p  {font-size: 100%;}
+	#slideshow_text h2 {font-size: 160%;}
+	#slideshow_text a.button {display: none;}
+
+  .contact_form .inner .twothird {width: 100%;}
+
+	//.mainmenu, .mainmenu_menu,  #qm0 {width: 60%; font-size: 85%;}
+
+	.text_blocks h2 {font-size: 140%;}
+	.text_blocks p  {font-size: 110%;}
+
+	.twothird hr.underline {display: none;}
+	h3 {font-size: 130%;}
+  #aktuality_uvod .text {text-align: center !important;}
+  .akt {width: 90%; height: auto;
+    .akt_text {height: auto;}
+    .submit_cont {position: relative; margin: 1em 0; bottom: 0;}
+  }
+
+	.fixed1 h3 {top: 50px; font-size: 200%;}
+	.cat h2 {font-size: 220%; }
+	#footer {
+    .logo {display: none;}
+	  .fright {padding-bottom: 0;}
+    ul {padding-bottom: 2em;}
+    ul li {display: inline-block;}
+    .quarter:nth-child(2) {text-align: center;}
+    .quarter:nth-child(2) ul {direction: ltr;}
+    .quarter:nth-child(2) ul li {margin-right: 0px;}
+    .quarter:nth-child(2) h4 {padding-right: 0px;}
+    .social {text-align: center; float: none; padding-top: 1em;}
+    .social a img {position: relative; float: none;}
+  }
+
+  //ADDON
+  .uvod_foto {display: none;}
+  .uvod_text {width: 100%;}
+  #homepage.content>.inner {padding-bottom: 4em;}
+}
+@include media("x-small"){
+  @include xsmallstate;
+	/*#slider {display: none;}*/
+  #header {}
+
+  #header .title {}
+  #header a.home {font-size: 140%;}
+  #header a.home strong {display: block;}
+  #menu .logo {display: none;}
+  #responsive_menu{
+    .mainmenu, .mainmenu_menu,  #qm0 {width: 100%; left: -115%;}
+  }
+  .head_menu ul.topmenu li a {font-size: 80%;}
+
+	h1 {font-size: 130%; text-align: left;}
+	/*#header a.home {display: block; width: 100%; max-width: 100%; margin: auto; text-align: center}*/
+  .portfolio {width: 100%; margin-bottom: 0;}
+
+	//#header .header_left {display:none;}
+	#slideshow_text {top: 0; }
+  #slideshow_text p  {font-size: 90%;}
+	#slideshow_text h2 {font-size: 130%;}
+	#slideshow_text a.button {}
+	#menu .social {display: none;}
+  #flags {width: 100px;}
+	#flags .flag, #responsive_flags {margin-right: 0;}
+	.fixed1 h2 {font-size: 120%;}
+	/*.akt {width: 90%;}*/
+	.g-recaptcha > div {width: 100% !important;}
+
+	.cats .cat {padding-bottom: 2em;}
+	.akt h4 {font-size: 110%;}
+	//ADDON
+    #mob_menu_open  {}
+
+}
+
+@include media("xx-small"){
+  	a.home {font-size: 25px;}
+	#header {}
+  #header_top .soc {display: none;}
+	.head_menu .topmenu li {padding-bottom: 0.4em;}
+  .head_menu .topmenu li a {@include textshadow(1px,0px,1px,#fff);}
+  .head_menu ul.topmenu li {margin-left: 1em;}
+  .head_menu ul.topmenu li a {font-size: 65%;}
+	/*#mob_menu_open  {right: 25px;}
+	#mob_menu_close {right: 25px;}*/
+	.akt img.f_right {max-width: 90px;}
+	#footer .inner {font-size: small;}
+	#map {display: none;}
+
+  #content .inner {border-top: 0;}
+  #slideshow_text {display: none;}
+  .contact_form .info {text-align: center; float: none;}
+  .home img {max-width: 85%;}
+  .fb, .instagram {display: none;}
+  #footer .inner .quarter:nth-child(2) {display: none}
+  #head_img {margin-bottom: 0;}
+  //ADDON
+
+}
+@include media("xxx-small"){
+  #header {/*height: 100%;*/ padding-bottom: 0%;}
+  //ADDON
+
+}
+@include media("medium-height"){
+  //ADDON
+}
+@include media("small-height"){
+  //ADDON
+}
+@include media("x-small-height"){
+  //ADDON
+}
diff --git a/green_deal/static/green_deal/css/cookieconsent.min.css b/green_deal/static/green_deal/css/cookieconsent.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..8aad9d3ca46e8cf702f9385fe37dee47546932b2
--- /dev/null
+++ b/green_deal/static/green_deal/css/cookieconsent.min.css
@@ -0,0 +1,6 @@
+.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}
+.cc-link,.cc-revoke:hover{text-decoration:underline}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:14px;line-height:1em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-banner .cc-btn:last-child{min-width:140px}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}
+.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-banner{-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{-ms-flex:1;flex:1}.cc-compliance{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-compliance>.cc-btn{-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}
+@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-ms-flex-align:unset;align-items:unset}}
+.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}
+.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}
diff --git a/green_deal/static/green_deal/css/fonts/lg.eot b/green_deal/static/green_deal/css/fonts/lg.eot
new file mode 100644
index 0000000000000000000000000000000000000000..51264c4fda25feadb007e30ab69bf9b0ddfc1cee
Binary files /dev/null and b/green_deal/static/green_deal/css/fonts/lg.eot differ
diff --git a/green_deal/static/green_deal/css/fonts/lg.svg b/green_deal/static/green_deal/css/fonts/lg.svg
new file mode 100644
index 0000000000000000000000000000000000000000..9307b073ad0a26b6974d77113f391e7b4cf517d0
--- /dev/null
+++ b/green_deal/static/green_deal/css/fonts/lg.svg
@@ -0,0 +1,47 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata>
+<json>
+<![CDATA[
+{
+	"fontFamily": "lg",
+	"majorVersion": 1,
+	"minorVersion": 0,
+	"fontURL": "https://github.com/sachinchoolur/lightGallery",
+	"copyright": "sachin",
+	"license": "MLT",
+	"licenseURL": "http://opensource.org/licenses/MIT",
+	"version": "Version 1.0",
+	"fontId": "lg",
+	"psName": "lg",
+	"subFamily": "Regular",
+	"fullName": "lg",
+	"description": "Font generated by IcoMoon."
+}
+]]>
+</json>
+</metadata>
+<defs>
+<font id="lg" horiz-adv-x="1024">
+<font-face units-per-em="1024" ascent="960" descent="-64" />
+<missing-glyph horiz-adv-x="1024" />
+<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
+<glyph unicode="&#xe01a;" glyph-name="pause_circle_outline" data-tags="pause_circle_outline" d="M554 256.667v340h86v-340h-86zM512 84.667q140 0 241 101t101 241-101 241-241 101-241-101-101-241 101-241 241-101zM512 852.667q176 0 301-125t125-301-125-301-301-125-301 125-125 301 125 301 301 125zM384 256.667v340h86v-340h-86z" />
+<glyph unicode="&#xe01d;" glyph-name="play_circle_outline" data-tags="play_circle_outline" d="M512 84.667q140 0 241 101t101 241-101 241-241 101-241-101-101-241 101-241 241-101zM512 852.667q176 0 301-125t125-301-125-301-301-125-301 125-125 301 125 301 301 125zM426 234.667v384l256-192z" />
+<glyph unicode="&#xe033;" glyph-name="stack-2" data-tags="stack-2" d="M384 853.334h426.667q53 0 90.5-37.5t37.5-90.5v-426.667q0-53-37.5-90.5t-90.5-37.5h-426.667q-53 0-90.5 37.5t-37.5 90.5v426.667q0 53 37.5 90.5t90.5 37.5zM170.667 675.334v-547.333q0-17.667 12.5-30.167t30.167-12.5h547.333q-13.333-37.667-46.333-61.5t-74.333-23.833h-426.667q-53 0-90.5 37.5t-37.5 90.5v426.667q0 41.333 23.833 74.333t61.5 46.333zM810.667 768h-426.667q-17.667 0-30.167-12.5t-12.5-30.167v-426.667q0-17.667 12.5-30.167t30.167-12.5h426.667q17.667 0 30.167 12.5t12.5 30.167v426.667q0 17.667-12.5 30.167t-30.167 12.5z" />
+<glyph unicode="&#xe070;" glyph-name="clear" data-tags="clear" d="M810 664.667l-238-238 238-238-60-60-238 238-238-238-60 60 238 238-238 238 60 60 238-238 238 238z" />
+<glyph unicode="&#xe094;" glyph-name="arrow-left" data-tags="arrow-left" d="M426.667 768q17.667 0 30.167-12.5t12.5-30.167q0-18-12.667-30.333l-225.667-225.667h665q17.667 0 30.167-12.5t12.5-30.167-12.5-30.167-30.167-12.5h-665l225.667-225.667q12.667-12.333 12.667-30.333 0-17.667-12.5-30.167t-30.167-12.5q-18 0-30.333 12.333l-298.667 298.667q-12.333 13-12.333 30.333t12.333 30.333l298.667 298.667q12.667 12.333 30.333 12.333z" />
+<glyph unicode="&#xe095;" glyph-name="arrow-right" data-tags="arrow-right" d="M597.333 768q18 0 30.333-12.333l298.667-298.667q12.333-12.333 12.333-30.333t-12.333-30.333l-298.667-298.667q-12.333-12.333-30.333-12.333-18.333 0-30.5 12.167t-12.167 30.5q0 18 12.333 30.333l226 225.667h-665q-17.667 0-30.167 12.5t-12.5 30.167 12.5 30.167 30.167 12.5h665l-226 225.667q-12.333 12.333-12.333 30.333 0 18.333 12.167 30.5t30.5 12.167z" />
+<glyph unicode="&#xe0f2;" glyph-name="vertical_align_bottom" data-tags="vertical_align_bottom" d="M170 128.667h684v-86h-684v86zM682 384.667l-170-172-170 172h128v426h84v-426h128z" />
+<glyph unicode="&#xe1ff;" glyph-name="apps" data-tags="apps" d="M682 84.667v172h172v-172h-172zM682 340.667v172h172v-172h-172zM426 596.667v172h172v-172h-172zM682 768.667h172v-172h-172v172zM426 340.667v172h172v-172h-172zM170 340.667v172h172v-172h-172zM170 84.667v172h172v-172h-172zM426 84.667v172h172v-172h-172zM170 596.667v172h172v-172h-172z" />
+<glyph unicode="&#xe20c;" glyph-name="fullscreen" data-tags="fullscreen" d="M598 724.667h212v-212h-84v128h-128v84zM726 212.667v128h84v-212h-212v84h128zM214 512.667v212h212v-84h-128v-128h-84zM298 340.667v-128h128v-84h-212v212h84z" />
+<glyph unicode="&#xe20d;" glyph-name="fullscreen_exit" data-tags="fullscreen_exit" d="M682 596.667h128v-84h-212v212h84v-128zM598 128.667v212h212v-84h-128v-128h-84zM342 596.667v128h84v-212h-212v84h128zM214 256.667v84h212v-212h-84v128h-128z" />
+<glyph unicode="&#xe311;" glyph-name="zoom_in" data-tags="zoom_in" d="M512 512.667h-86v-86h-42v86h-86v42h86v86h42v-86h86v-42zM406 340.667q80 0 136 56t56 136-56 136-136 56-136-56-56-136 56-136 136-56zM662 340.667l212-212-64-64-212 212v34l-12 12q-76-66-180-66-116 0-197 80t-81 196 81 197 197 81 196-81 80-197q0-104-66-180l12-12h34z" />
+<glyph unicode="&#xe312;" glyph-name="zoom_out" data-tags="zoom_out" d="M298 554.667h214v-42h-214v42zM406 340.667q80 0 136 56t56 136-56 136-136 56-136-56-56-136 56-136 136-56zM662 340.667l212-212-64-64-212 212v34l-12 12q-76-66-180-66-116 0-197 80t-81 196 81 197 197 81 196-81 80-197q0-104-66-180l12-12h34z" />
+<glyph unicode="&#xe80d;" glyph-name="share" data-tags="share" d="M768 252.667c68 0 124-56 124-124s-56-126-124-126-124 58-124 126c0 10 0 20 2 28l-302 176c-24-22-54-34-88-34-70 0-128 58-128 128s58 128 128 128c34 0 64-12 88-34l300 174c-2 10-4 20-4 30 0 70 58 128 128 128s128-58 128-128-58-128-128-128c-34 0-64 14-88 36l-300-176c2-10 4-20 4-30s-2-20-4-30l304-176c22 20 52 32 84 32z" />
+<glyph unicode="&#xe901;" glyph-name="facebook-with-circle" data-tags="facebook-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM628.429 612.659h-73.882c-8.755 0-18.483-11.52-18.483-26.829v-53.35h92.416l-13.978-76.083h-78.438v-228.403h-87.194v228.403h-79.104v76.083h79.104v44.749c0 64.205 44.544 116.378 105.677 116.378h73.882v-80.947z" />
+<glyph unicode="&#xe902;" glyph-name="google-with-circle" data-tags="google+-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM483.686 249.805c-30.874-15.002-64.102-16.589-76.954-16.589-2.458 0-3.84 0-3.84 0s-1.178 0-2.765 0c-20.070 0-119.962 4.608-119.962 95.59 0 89.395 108.8 96.41 142.131 96.41h0.87c-19.251 25.702-15.258 51.61-15.258 51.61-1.69-0.102-4.147-0.205-7.168-0.205-12.544 0-36.762 1.997-57.549 15.411-25.498 16.384-38.4 44.288-38.4 82.893 0 109.107 119.142 113.51 120.32 113.613h118.989v-2.611c0-13.312-23.91-15.923-40.192-18.125-5.53-0.819-16.64-1.894-19.763-3.482 30.157-16.128 35.021-41.421 35.021-79.104 0-42.906-16.794-65.587-34.611-81.51-11.059-9.882-19.712-17.613-19.712-28.006 0-10.189 11.878-20.582 25.702-32.717 22.579-19.917 53.555-47.002 53.555-92.723 0-47.258-20.326-81.050-60.416-100.454zM742.4 460.8h-76.8v-76.8h-51.2v76.8h-76.8v51.2h76.8v76.8h51.2v-76.8h76.8v-51.2zM421.018 401.92c-2.662 0-5.325-0.102-8.038-0.307-22.733-1.69-43.725-10.189-58.88-24.013-15.053-13.619-22.733-30.822-21.658-48.179 2.304-36.403 41.37-57.702 88.832-54.323 46.694 3.379 77.824 30.31 75.571 66.714-2.15 34.202-31.898 60.109-75.827 60.109zM465.766 599.808c-12.39 43.52-32.358 56.422-63.386 56.422-3.328 0-6.707-0.512-9.933-1.382-13.466-3.84-24.166-15.053-30.106-31.744-6.093-16.896-6.451-34.509-1.229-54.579 9.472-35.891 34.97-61.901 60.672-61.901 3.379 0 6.758 0.41 9.933 1.382 28.109 7.885 45.722 50.79 34.048 91.802z" />
+<glyph unicode="&#xe903;" glyph-name="pinterest-with-circle" data-tags="pinterest-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM545.638 344.32c-31.539 2.406-44.749 18.022-69.427 32.973-13.568-71.219-30.157-139.52-79.309-175.206-15.206 107.725 22.221 188.518 39.629 274.381-29.645 49.92 3.533 150.323 66.099 125.645 76.954-30.515-66.662-185.6 29.747-205.005 100.659-20.173 141.773 174.694 79.36 237.978-90.214 91.494-262.502 2.099-241.306-128.87 5.12-32 38.246-41.728 13.21-85.914-57.702 12.8-74.957 58.317-72.704 118.989 3.533 99.328 89.242 168.909 175.155 178.483 108.698 12.083 210.688-39.885 224.819-142.182 15.821-115.405-49.101-240.282-165.274-231.27z" />
+<glyph unicode="&#xe904;" glyph-name="twitter-with-circle" data-tags="twitter-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM711.936 549.683c0.205-4.198 0.256-8.397 0.256-12.493 0-128-97.331-275.507-275.405-275.507-54.682 0-105.574 15.974-148.378 43.52 7.526-0.922 15.258-1.28 23.091-1.28 45.363 0 87.091 15.411 120.218 41.421-42.342 0.819-78.080 28.774-90.419 67.174 5.888-1.075 11.93-1.69 18.176-1.69 8.806 0 17.408 1.178 25.498 3.379-44.288 8.909-77.67 48.026-77.67 94.925v1.178c13.056-7.219 28.006-11.622 43.878-12.134-26.010 17.408-43.059 47.002-43.059 80.64 0 17.715 4.762 34.406 13.107 48.691 47.77-58.573 119.040-97.075 199.526-101.222-1.69 7.117-2.509 14.49-2.509 22.118 0 53.402 43.315 96.819 96.819 96.819 27.802 0 52.992-11.776 70.656-30.618 22.067 4.403 42.752 12.39 61.44 23.501-7.219-22.579-22.528-41.574-42.547-53.606 19.61 2.406 38.246 7.578 55.603 15.309-12.954-19.405-29.389-36.506-48.282-50.125z" />
+</font></defs></svg>
diff --git a/green_deal/static/green_deal/css/fonts/lg.ttf b/green_deal/static/green_deal/css/fonts/lg.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..8ad81996ef9e77235081cad58d7c138c320b4487
Binary files /dev/null and b/green_deal/static/green_deal/css/fonts/lg.ttf differ
diff --git a/green_deal/static/green_deal/css/fonts/lg.woff b/green_deal/static/green_deal/css/fonts/lg.woff
new file mode 100644
index 0000000000000000000000000000000000000000..d98ff6054dee550d713288ed87dc95c9532d0a7f
Binary files /dev/null and b/green_deal/static/green_deal/css/fonts/lg.woff differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/green_deal/static/green_deal/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png
new file mode 100644
index 0000000000000000000000000000000000000000..05b96341d0450777aeb6e5089eb532e01f75efff
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_diagonals-thick_20_666666_40x40.png b/green_deal/static/green_deal/css/images/ui-bg_diagonals-thick_20_666666_40x40.png
new file mode 100644
index 0000000000000000000000000000000000000000..284b2b8585f0ea9f0203bbe185949b5f5ca6da1f
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_diagonals-thick_20_666666_40x40.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_flat_10_000000_40x100.png b/green_deal/static/green_deal/css/images/ui-bg_flat_10_000000_40x100.png
new file mode 100644
index 0000000000000000000000000000000000000000..fdd550fe3476c7918ac65dacb3c6c072bb1d5a21
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_flat_10_000000_40x100.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_glass_100_f6f6f6_1x400.png b/green_deal/static/green_deal/css/images/ui-bg_glass_100_f6f6f6_1x400.png
new file mode 100644
index 0000000000000000000000000000000000000000..177fd83de2f7007d254e190a1564edd6f393cb85
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_glass_100_f6f6f6_1x400.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_glass_100_fdf5ce_1x400.png b/green_deal/static/green_deal/css/images/ui-bg_glass_100_fdf5ce_1x400.png
new file mode 100644
index 0000000000000000000000000000000000000000..96267419b710c1318912d7c3ebb460d573212c5b
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_glass_100_fdf5ce_1x400.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_glass_65_ffffff_1x400.png b/green_deal/static/green_deal/css/images/ui-bg_glass_65_ffffff_1x400.png
new file mode 100644
index 0000000000000000000000000000000000000000..141a2c5c681d0defe4bf86973ebcd716ff95de3d
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_glass_65_ffffff_1x400.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/green_deal/static/green_deal/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png
new file mode 100644
index 0000000000000000000000000000000000000000..a5fc4f166bc847e1fcfe9590410fdefd45f970c6
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/green_deal/static/green_deal/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
new file mode 100644
index 0000000000000000000000000000000000000000..855bb5e41e05455d2f245c2248f4de40abc0ebcb
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/green_deal/static/green_deal/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
new file mode 100644
index 0000000000000000000000000000000000000000..498859a64a4ea9d36126245c996c0e8909cb8958
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-icons_222222_256x240.png b/green_deal/static/green_deal/css/images/ui-icons_222222_256x240.png
new file mode 100644
index 0000000000000000000000000000000000000000..e9c8e16ac5e7f61c843fbac290ce30c5de7e40b6
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-icons_222222_256x240.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-icons_228ef1_256x240.png b/green_deal/static/green_deal/css/images/ui-icons_228ef1_256x240.png
new file mode 100644
index 0000000000000000000000000000000000000000..8d68c543e056482edc5b48a09a73de2636d5580f
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-icons_228ef1_256x240.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-icons_ef8c08_256x240.png b/green_deal/static/green_deal/css/images/ui-icons_ef8c08_256x240.png
new file mode 100644
index 0000000000000000000000000000000000000000..18bbfe8215ac92fa1edd1f21a72bb6b14b4fa39d
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-icons_ef8c08_256x240.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-icons_ffd27a_256x240.png b/green_deal/static/green_deal/css/images/ui-icons_ffd27a_256x240.png
new file mode 100644
index 0000000000000000000000000000000000000000..4435b497eb4f472cbb1bd75616da555f6d49d082
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-icons_ffd27a_256x240.png differ
diff --git a/green_deal/static/green_deal/css/images/ui-icons_ffffff_256x240.png b/green_deal/static/green_deal/css/images/ui-icons_ffffff_256x240.png
new file mode 100644
index 0000000000000000000000000000000000000000..4d66f596e5967a460a37526e2130a55711eeca3c
Binary files /dev/null and b/green_deal/static/green_deal/css/images/ui-icons_ffffff_256x240.png differ
diff --git a/green_deal/static/green_deal/css/nivo-default.css b/green_deal/static/green_deal/css/nivo-default.css
new file mode 100644
index 0000000000000000000000000000000000000000..0fe904dff0fdd0051456bb6543d0e67cbfc5ed02
--- /dev/null
+++ b/green_deal/static/green_deal/css/nivo-default.css
@@ -0,0 +1,94 @@
+/*
+Skin Name: Nivo Slider Default Theme
+Skin URI: http://nivo.dev7studios.com
+Description: The default skin for the Nivo Slider.
+Version: 1.3
+Author: Gilbert Pellegrom
+Author URI: http://dev7studios.com
+Supports Thumbs: true
+*/
+
+.nivoSlider {
+	position:relative;
+	background:#fff url(../images/loading.gif) no-repeat 50% 50%;
+    margin-bottom:10px;
+    /*-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
+    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
+    box-shadow: 0px 1px 5px 0px #4a4a4a;*/
+}
+.nivoSlider img {
+	position:absolute;
+	top:0px;
+	left:0px;
+	display:none;
+}
+.nivoSlider a {
+	border:0;
+	display:block;
+}
+
+.nivo-controlNav {
+	display: none;
+	text-align: center;
+	padding: 20px 0;
+}
+.nivo-controlNav a {
+	display:inline-block;
+	width:22px;
+	height:22px;
+	background:url("../images/bullets.png") no-repeat;
+	text-indent:-9999px;
+	border:0;
+	margin: 0 2px;
+}
+.nivo-controlNav a.active {
+	background-position:0 -22px;
+}
+
+.nivo-directionNav a {
+	display:block;
+	width:30px;
+	height:30px;
+	background:url(../images/arrows.png) no-repeat;
+	text-indent:-9999px;
+	border:0;
+	opacity: 0;
+	-webkit-transition: all 200ms ease-in-out;
+    -moz-transition: all 200ms ease-in-out;
+    -o-transition: all 200ms ease-in-out;
+    transition: all 200ms ease-in-out;
+}
+.theme-default:hover .nivo-directionNav a { opacity: 1; }
+a.nivo-nextNav {
+	background-position:-30px 0;
+	right:15px;
+}
+a.nivo-prevNav {
+	left:15px;
+}
+
+.nivo-caption {
+    font-family: Helvetica, Arial, sans-serif;
+}
+.nivo-caption a {
+    color:#fff;
+    border-bottom:1px dotted #fff;
+}
+.nivo-caption a:hover {
+    color:#fff;
+}
+
+.nivo-controlNav.nivo-thumbs-enabled {
+	width: 100%;
+}
+.nivo-controlNav.nivo-thumbs-enabled a {
+	width: auto;
+	height: auto;
+	background: none;
+	margin-bottom: 5px;
+}
+.nivo-controlNav.nivo-thumbs-enabled img {
+	display: block;
+	width: 120px;
+	height: auto;
+}
diff --git a/green_deal/static/green_deal/css/nivo-default.min.css b/green_deal/static/green_deal/css/nivo-default.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..62f62023aebef11c36e406c4b7fbd94b70304d4f
--- /dev/null
+++ b/green_deal/static/green_deal/css/nivo-default.min.css
@@ -0,0 +1 @@
+.nivoSlider{position:relative;background:#fff url(../images/loading.gif) no-repeat 50% 50%;margin-bottom:10px}.nivoSlider img{position:absolute;top:0;left:0;display:none}.nivoSlider a{border:0;display:block}.nivo-controlNav{display:none;text-align:center;padding:20px 0}.nivo-controlNav a{display:inline-block;width:22px;height:22px;background:url(../images/bullets.png) no-repeat;text-indent:-9999px;border:0;margin:0 2px}.nivo-controlNav a.active{background-position:0 -22px}.nivo-directionNav a{display:block;width:30px;height:30px;background:url(../images/arrows.png) no-repeat;text-indent:-9999px;border:0;opacity:0;-webkit-transition:all 200ms ease-in-out;-moz-transition:all 200ms ease-in-out;-o-transition:all 200ms ease-in-out;transition:all 200ms ease-in-out}.theme-default:hover .nivo-directionNav a{opacity:1}a.nivo-nextNav{background-position:-30px 0;right:15px}a.nivo-prevNav{left:15px}.nivo-caption{font-family:Helvetica,Arial,sans-serif}.nivo-caption a{color:#fff;border-bottom:1px dotted #fff}.nivo-caption a:hover{color:#fff}.nivo-controlNav.nivo-thumbs-enabled{width:100%}.nivo-controlNav.nivo-thumbs-enabled a{width:auto;height:auto;background:0 0;margin-bottom:5px}.nivo-controlNav.nivo-thumbs-enabled img{display:block;width:120px;height:auto}
diff --git a/green_deal/static/green_deal/css/nivo-slider.css b/green_deal/static/green_deal/css/nivo-slider.css
new file mode 100644
index 0000000000000000000000000000000000000000..281c4a6786adcfb14e0f553c765b95cce5901443
--- /dev/null
+++ b/green_deal/static/green_deal/css/nivo-slider.css
@@ -0,0 +1,114 @@
+/*
+ * jQuery Nivo Slider v3.2
+ * http://nivo.dev7studios.com
+ *
+ * Copyright 2012, Dev7studios
+ * Free to use and abuse under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+/* The Nivo Slider styles */
+.nivoSlider {
+	position:relative;
+	width:100%;
+	height:auto;
+	overflow: hidden;
+	/*border-bottom: 5px solid #fff8e4;*/
+}
+.nivoSlider img {
+	position:absolute;
+	top:0px;
+	left:0px;
+	max-width: none;
+}
+.nivo-main-image {
+	display: block !important;
+	position: relative !important;
+	width: 100% !important;
+}
+
+/* If an image is wrapped in a link */
+.nivoSlider a.nivo-imageLink {
+	position:absolute;
+	top:0px;
+	left:0px;
+	width:100%;
+	height:100%;
+	border:0;
+	padding:0;
+	margin:0;
+	z-index:6;
+	display:none;
+	background:white;
+	filter:alpha(opacity=0);
+	opacity:0;
+}
+/* The slices and boxes in the Slider */
+.nivo-slice {
+	display:block;
+	position:absolute;
+	z-index:5;
+	height:100%;
+	top:0;
+}
+.nivo-box {
+	display:block;
+	position:absolute;
+	z-index:5;
+	overflow:hidden;
+}
+.nivo-box img { display:block; }
+
+/* Caption styles */
+.nivo-caption {
+	position:absolute;
+	left:0px;
+	bottom:0px;
+	background:#000;
+	color:#fff;
+	width:100%;
+	z-index:8;
+	padding: 5px 10px;
+	opacity: 0.8;
+	overflow: hidden;
+	display: none;
+	-moz-opacity: 0.8;
+	filter:alpha(opacity=8);
+	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
+	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
+	box-sizing: border-box;         /* Opera/IE 8+ */
+}
+.nivo-caption p {
+	padding:5px;
+	margin:0;
+}
+.nivo-caption a {
+	display:inline !important;
+}
+.nivo-html-caption {
+    display:none;
+}
+/* Direction nav styles (e.g. Next & Prev) */
+.nivo-directionNav a {
+	position:absolute;
+	top:45%;
+	z-index:9;
+	cursor:pointer;
+}
+.nivo-prevNav {
+	left:0px;
+}
+.nivo-nextNav {
+	right:0px;
+}
+/* Control nav styles (e.g. 1,2,3...) */
+.nivo-controlNav {
+	text-align:center;
+	padding: 15px 0;
+}
+.nivo-controlNav a {
+	cursor:pointer;
+}
+.nivo-controlNav a.active {
+	font-weight:bold;
+}
diff --git a/green_deal/static/green_deal/css/nivo-slider.min.css b/green_deal/static/green_deal/css/nivo-slider.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..16aa308b3a62df4db661aa5500c9f059983c5f3a
--- /dev/null
+++ b/green_deal/static/green_deal/css/nivo-slider.min.css
@@ -0,0 +1 @@
+.nivoSlider{position:relative;width:100%;height:auto;overflow:hidden}.nivoSlider img{position:absolute;top:0;left:0;max-width:none}.nivo-main-image{display:block!important;position:relative!important;width:100%!important}.nivoSlider a.nivo-imageLink{position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;z-index:6;display:none;background:#fff;filter:alpha(opacity=0);opacity:0}.nivo-box,.nivo-caption,.nivo-slice{display:block;position:absolute;z-index:5}.nivo-slice{height:100%;top:0}.nivo-box,.nivo-caption{overflow:hidden}.nivo-box img{display:block}.nivo-caption{left:0;bottom:0;background:#000;color:#fff;width:100%;z-index:8;padding:5px 10px;opacity:.8;display:none;-moz-opacity:.8;filter:alpha(opacity=8);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nivo-caption p{padding:5px;margin:0}.nivo-caption a{display:inline!important}.nivo-html-caption{display:none}.nivo-directionNav a{position:absolute;top:45%;z-index:9;cursor:pointer}.nivo-prevNav{left:0}.nivo-nextNav{right:0}.nivo-controlNav{text-align:center;padding:15px 0}.nivo-controlNav a{cursor:pointer}.nivo-controlNav a.active{font-weight:700}
diff --git a/green_deal/static/green_deal/css/print.css b/green_deal/static/green_deal/css/print.css
new file mode 100644
index 0000000000000000000000000000000000000000..12ab2432194eb96a7d4f24580b88d79a3bd3c75a
--- /dev/null
+++ b/green_deal/static/green_deal/css/print.css
@@ -0,0 +1,95 @@
+@charset "utf-8";
+/* CSS Document */
+
+body {background: #fff; color: #000; font-family: Arial, Helvetica, sans-serif; font-size: small; width: 100%; line-height: 20px; min-width: 900px;}
+
+A:link {color: #000; font-weight: bold; text-decoration: underline;}
+A:visited { color: #000; font-weight: bold; text-decoration: underline;}
+A:active { color: #000; font-weight: bold; text-decoration: underline;}
+A:hover { color: #000; font-weight: bold; text-decoration: none;}
+
+
+h1 {font-size: 160%; color: #377bba; font-weight: bold; margin-bottom: 20px; }
+h2               {font-size: 100%; color: #377bba; font-weight: bold; padding: 10px 0;}
+h2 a:link        {text-decoration: underline; font-weight: bold;}
+h3                {font-size: 120%; color: #377bba; font-weight: bold; padding: 5px 0;}
+
+#main   {width: 98%; margin: auto;}
+#header {display: none;}
+#body   {width: 100%; background-color: transparent; margin-bottom: 10px;}
+#menu   {display: none;}
+#footer {width: 100%; background: #cacaca; color: #383838; font-size: 85%;}
+#print_header {width: 799px; height: 100px; margin-bottom: 10px; }
+#print_header img {position: relative; top: 20px; left: 20px;}
+
+.copyright a {font-size: 85%; position: relative; top: 20px;}
+
+#body .inner {padding: 20px 20px 0 20px; background-color: #fff;}
+#body .inner p  {font-size: 110%; padding-bottom: 10px; text-align: justify;}
+#body .inner ul, #body .inner ol {font-size: 110%;}
+#body .inner ul li {list-style-image: url("../images/li_yellow.png"); }
+#body .inner ul, #body .inner ol {padding-bottom: 10px;}
+#body .inner ul li ul, #body .inner ul li ol, #body .inner ol li ul, #body .inner ol li ol {font-size: 100%;}
+
+#nabidka .half img {display: none;}
+
+.table {width: 90%; border: 1px dotted #000; margin-top: 20px; margin-bottom: 20px;padding: 1px;}
+.table a {text-decoration: none;}
+.table tr {height: 30px;}
+.table tr.dark  {background-color: #cacaca;}
+.table tr.light {background-color: #eaeaea;}
+.table tr.first { background-color: #e5eaf2; color: #000; font-size: 110%;}
+.table tr.first td {border: 1px solid #c2c7cc; text-align: center;}
+.table td {border: 0px solid #7f7f7f; padding-left: 5px;}
+.table td.nopad {padding-left: 0px;}
+.table td.center {text-align: center;}
+.ta_right {text-align: right; padding-right: 5px;}
+
+fieldset {margin: 10px 0; border: 2px #e1f3f8 solid; padding: 15px; background-color: #cacaca;}
+legend   {font-size: 110%; font-weight: bold; padding: 0 10px; border: 1px #e1f3f8 solid; color: #fff; background-color: #383838;}
+label       {font-size: 110%; padding-bottom: 2px;}
+input       {border: 1px solid #000; padding: 2px; margin-bottom: 10px;}
+textarea    {border: 1px solid #000; margin-bottom: 10px;}
+input[type="submit"]    {display: block; width: 142px; height: 32px; cursor: pointer;}
+label.short {width: 260px; display: block;}
+input.short {width: 260px;}
+input.mini  {width: 100px;}
+textarea.short {width: 260px; height: 100px;}
+textarea.long  {width: 95%;}
+
+.left_block     {float: left; width: 49%;}
+.right_block     {float: right; width: 49%;}
+.certifikaty li {list-style-image: none; list-style: none;}
+.ochranne-masky-vojenske-om-90 .velikosti {width: 300px; }
+textarea.bydliste   {height: 100px;}
+textarea.dovednosti {height: 60px;}
+textarea.praxe {height: 120px;}
+div.grad {width: 90%; position: relative; background: #cacaca; padding: 5px 10px; margin-bottom: 10px;}
+div.grad_half {width: 50%; position: relative; background: #cacaca; padding: 5px 10px; margin-bottom: 10px;}
+
+hr.cleaner {clear: both; height: 1px; border: none; margin: -1em 0 0 0; visibility: hidden;}
+hr.cleanerie {height: 1px; border: none; margin: -1em 0 0 0; visibility: hidden;}
+
+a.pdf      {list-style: none; background: transparent url("../images/ico_pdf.png") top left no-repeat; padding-left: 25px;}
+.right_img  {float: right; background-color: #fff; margin: 0px 0 15px 20px; padding: 3px; border: 1px solid #000;}
+.left_img   {float: left; background-color: #fff; margin: 0px 20px 15px 0px; padding: 3px; border: 1px solid #000;}
+.img        {background-color: #fff; margin: 10px 0px; padding: 3px; border: 1px solid #000;}
+.mini      {font-size: x-small; line-height: 15px;}
+.half      {width: 50%;}
+.justify   {text-align: justify;}
+.f_right    {float: right;}
+.f_left     {float: left;}
+.red    {color: #264b7a;}
+.yellow {color: #ffdd00;}
+.upper   {text-transform: uppercase;}
+.center  {text-align: center; margin: auto;}
+.left    {text-align: left;}
+.stroke  {border: 1px solid #000;}
+.medium  {font-size: medium;}
+.italic  {font-style: italic;}
+.strong  {font-weight: bold;}
+.clear   {clear: both;}
+.no      {padding: 0px; margin: 0px; }
+.hidden  {visibility: hidden;}
+.display_none {display: none;}
+.black   {background-color: #fff;}
diff --git a/green_deal/static/green_deal/css/print.min.css b/green_deal/static/green_deal/css/print.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..811707a0458f46ab6d80b00c3bc89043609bcaaa
--- /dev/null
+++ b/green_deal/static/green_deal/css/print.min.css
@@ -0,0 +1 @@
+@charset "utf-8";body{background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:small;width:100%;line-height:20px;min-width:900px}A:active,A:hover,A:link,A:visited{color:#000;font-weight:700;text-decoration:underline}A:hover{text-decoration:none}.table,h1{margin-bottom:20px}h1,h2{color:#377bba}h1{font-size:160%}h2{padding:10px 0}h1,h2,h2 a:link,h3{font-weight:700}h2 a:link{text-decoration:underline}h3{font-size:120%;color:#377bba;padding:5px 0}#main{width:98%;margin:auto}#header{display:none}#body{width:100%;background-color:transparent;margin-bottom:10px}#menu,#nabidka .half img{display:none}#footer{width:100%;background:#cacaca;color:#383838;font-size:85%}#print_header{width:799px;height:100px;margin-bottom:10px}#print_header img{position:relative;top:20px;left:20px}.copyright a{font-size:85%;position:relative;top:20px}#body .inner{padding:20px 20px 0;background-color:#fff}#body .inner p{text-align:justify}#body .inner ol,#body .inner p,#body .inner ul{font-size:110%;padding-bottom:10px}#body .inner ul li{list-style-image:url(../images/li_yellow.png)}#body .inner ol li ol,#body .inner ol li ul,#body .inner ul li ol,#body .inner ul li ul,h2{font-size:100%}.table{width:90%;border:1px dotted #000;margin-top:20px;padding:1px}.table a{text-decoration:none}.table tr{height:30px}.table tr.dark,fieldset{background-color:#cacaca}.table tr.light{background-color:#eaeaea}.table tr.first{background-color:#e5eaf2;color:#000;font-size:110%}.table tr.first td{border:1px solid #c2c7cc;text-align:center}.table td{border:0 solid #7f7f7f;padding-left:5px}.table td.nopad{padding-left:0}.table td.center{text-align:center}.ta_right{text-align:right;padding-right:5px}fieldset{margin:10px 0;border:2px #e1f3f8 solid;padding:15px}label,legend{font-size:110%}legend{font-weight:700;padding:0 10px;border:1px #e1f3f8 solid;color:#fff;background-color:#383838}label{padding-bottom:2px}input{padding:2px}input,textarea{border:1px solid #000;margin-bottom:10px}input[type=submit]{display:block;width:142px;height:32px;cursor:pointer}label.short{width:260px;display:block}input.short{width:260px}input.mini{width:100px}textarea.short{width:260px;height:100px}textarea.long{width:95%}.left_block{float:left;width:49%}.right_block{float:right;width:49%}.certifikaty li,a.pdf{list-style:none}.ochranne-masky-vojenske-om-90 .velikosti{width:300px}textarea.bydliste{height:100px}textarea.dovednosti{height:60px}textarea.praxe{height:120px}div.grad,div.grad_half{width:90%;position:relative;background:#cacaca;padding:5px 10px;margin-bottom:10px}div.grad_half{width:50%}hr.cleaner{clear:both}hr.cleaner,hr.cleanerie{height:1px;border:0;margin:-1em 0 0;visibility:hidden}a.pdf{background:url(../images/ico_pdf.png) top left no-repeat;padding-left:25px}.right_img{float:right;margin:0 0 15px 20px}.img,.left_img,.right_img{background-color:#fff;padding:3px;border:1px solid #000}.left_img{float:left;margin:0 20px 15px 0}.img{margin:10px 0}.mini{font-size:x-small;line-height:15px}.half{width:50%}.justify{text-align:justify}.f_right{float:right}.f_left{float:left}.red{color:#264b7a}.yellow{color:#fd0}.upper{text-transform:uppercase}.center{text-align:center;margin:auto}.left{text-align:left}.stroke{border:1px solid #000}.medium{font-size:medium}.italic{font-style:italic}.strong{font-weight:700}.clear{clear:both}.no{padding:0;margin:0}.hidden{visibility:hidden}.display_none{display:none}.black{background-color:#fff}
diff --git a/green_deal/static/green_deal/css/style.css b/green_deal/static/green_deal/css/style.css
new file mode 100644
index 0000000000000000000000000000000000000000..3fe92c9b86f8882de28c2605dfb5c34d2bb3ccbd
--- /dev/null
+++ b/green_deal/static/green_deal/css/style.css
@@ -0,0 +1,2739 @@
+@charset "UTF-8";
+* {
+  margin: 0px 0px 0px 0px;
+  padding: 0px 0px 0px 0px;
+}
+
+fieldset, img, abbr, acronym, object {
+  border: 0;
+}
+
+ul li {
+  margin-left: 20px;
+  list-style-image: url("../images/li.png");
+}
+
+ol {
+  list-style-position: inside;
+}
+
+ol li {
+  color: #fff;
+  background-image: url("../images/olli.png");
+  background-position: 0px;
+  background-repeat: no-repeat;
+  padding: 0.5em 11px;
+}
+
+ol li span {
+  color: #000;
+  padding-left: 1em;
+}
+
+html {
+  height: 100%;
+}
+
+body {
+  width: 100%;
+  height: 100%;
+  background: #fff;
+  color: #000;
+  font-family: "Roboto Condensed", sans-serif;
+  font-size: medium;
+  line-height: 1.3em;
+}
+
+a {
+  color: #000;
+  font-weight: bold;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+a:link {
+  text-decoration: underline;
+}
+a:visited {
+  color: black;
+  text-decoration: none;
+}
+a:active {
+  color: #4d4d4d;
+  text-decoration: none;
+}
+a:hover {
+  color: #4d4d4d;
+  text-decoration: underline;
+}
+
+strong {
+  color: #000;
+}
+
+address {
+  font-style: normal;
+  padding: 0px;
+  line-height: 16px;
+}
+
+h1 {
+  display: inline-block;
+  font-family: "Roboto", sans-serif;
+  font-size: 250%;
+  color: #fff;
+  font-weight: 200;
+  padding: 0em 0;
+  margin: auto;
+  margin: 0em;
+  text-align: left;
+  line-height: 1.2em;
+}
+
+h2 {
+  font-family: "Roboto", sans-serif;
+  font-size: 130%;
+  color: #000;
+  font-weight: bold;
+  padding-bottom: 0em;
+  text-transform: none;
+  text-align: center;
+  line-height: 1.5em;
+  margin: auto;
+  /*font-family: 'Courgette', cursive;*/
+}
+
+h2 a:link {
+  text-decoration: underline;
+  font-weight: bold;
+  text-transform: none;
+}
+
+h2 a:hover {
+  text-decoration: none;
+}
+
+h3 {
+  font-size: 150%;
+  color: #000;
+  /*letter-spacing: 6px;*/
+  font-weight: 900;
+  padding: 5px 0;
+  margin-bottom: 0.2em;
+  text-transform: uppercase;
+  line-height: 1.3em;
+}
+h3 a {
+  color: #000;
+  font-weight: bold;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+h3 a:link {
+  text-decoration: none;
+}
+h3 a:visited {
+  color: black;
+  text-decoration: none;
+}
+h3 a:active {
+  color: #4d4d4d;
+  text-decoration: none;
+}
+h3 a:hover {
+  color: #4d4d4d;
+  text-decoration: none;
+}
+
+h4 {
+  color: #1a1a1a;
+  font-size: 125%;
+  text-decoration: none;
+  font-weight: 900;
+  text-transform: none;
+  padding: 0 0 0.5em 0;
+}
+
+h5 {
+  color: #000;
+  font-size: 83.3333333333%;
+  text-decoration: none;
+  font-weight: bold;
+  text-transform: none;
+  padding: 0.5em 0;
+}
+
+#header {
+  position: relative;
+  width: 100%;
+  height: 150px;
+  background: #fff;
+  z-index: 50;
+  /*overflow: hidden;*/
+  -webkit-box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.2);
+  -moz-box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.2);
+  box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.2);
+}
+
+#header .inner {
+  width: 90%;
+  max-width: 1100px;
+  margin: auto;
+}
+
+#header_top {
+  position: relative;
+  width: 100%;
+  height: 45px;
+  padding: 20px 0;
+  background-color: #212121;
+  z-index: 2;
+}
+
+#header_top .inner {
+  position: relative;
+  /*width: $maxwidth;*/
+  margin: auto;
+  padding-top: 2px;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+
+#header_top .logo_cont {
+  position: relative;
+  float: left;
+  width: 160px;
+  border-right: 1px solid #fff;
+}
+
+#header_top .soc {
+  position: relative;
+  top: 10px;
+}
+
+#header .title {
+  position: relative;
+  top: 0px;
+}
+
+#header_top h1 {
+  position: relative;
+  left: 20px;
+}
+
+#header h1 span {
+  position: relative;
+  top: 25px;
+  left: 0.5em;
+}
+
+#header .logo {
+  max-width: 150px;
+}
+
+a.home {
+  display: block;
+  font-size: 100%;
+  color: #000;
+  font-weight: 400;
+  /*letter-spacing: 3px;*/
+  text-decoration: none;
+}
+
+a.home img {
+  position: relative;
+  float: left;
+}
+
+#flags {
+  position: relative;
+  top: 15px;
+  float: right;
+}
+
+#flags a {
+  position: relative;
+  display: inline-block;
+  width: 44px;
+  height: 44px;
+  margin-left: 0px;
+  text-decoration: none;
+  font-size: 18px;
+  text-transform: uppercase;
+}
+
+#flags svg {
+  position: absolute;
+}
+
+#flags a.active svg path, #flags a:hover svg path {
+  fill: #fff;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+
+#flags a span {
+  position: absolute;
+  top: 10px;
+  left: 5px;
+}
+
+#cont {
+  position: relative;
+  max-width: 1042px;
+  margin: auto;
+  padding-top: 50px;
+  overflow: hidden;
+}
+
+#responsive_flags, #menu .social {
+  display: none;
+}
+
+.head_menu {
+  position: relative;
+  top: 20px;
+  right: 0;
+  max-width: 60%;
+  float: right;
+  z-index: 50;
+}
+
+#mob_menu_open {
+  display: none;
+  position: absolute;
+  float: right;
+  top: 95px;
+  right: 5%;
+  width: 40px;
+  background: none;
+  /*background: url("../images/mob_menu.png");*/
+  border: none;
+  cursor: pointer;
+  transition: 0.5s all ease;
+  outline: 0;
+}
+
+#mob_menu_close {
+  display: none;
+  position: absolute;
+  float: right;
+  top: 95px;
+  left: 5%;
+  width: 40px;
+  background: none;
+  /*background: url("../images/mob_hide_l.png");*/
+  border: none;
+  cursor: pointer;
+  transition: 0.5s all ease;
+  opacity: 0;
+  outline: 0;
+}
+
+.rotate {
+  transform: rotate3d(0, 0, 1, 180deg);
+  -webkit-transform: rotate3d(0, 0, 1, 180deg);
+}
+
+.rotate_back {
+  transform: rotate3d(0, 0, 1, -180deg);
+  -webkit-transform: rotate3d(0, 0, 1, -180deg);
+}
+
+/*
+#sticky_menu.sticky    {
+  width: 100%; max-width: $width; padding-left: 4%; padding-right: 4%; height: 68px; color: #fff; background-color: rgba(darken($acolor,10%),0.95); position: fixed; left: 0; top: 0px; z-index: 99; border-bottom: 1px solid rgba(#fff,0.15); padding-bottom: 10px;
+  @include boxshadow(0,4px,8px,rgba(0,0,0,0.2));
+  #flags a {font-size: 16px;}
+  #flags a span {left: 8px;}
+  .head_menu {top: -45px;}
+}
+*/
+.mainmenu, .mainmenu_menu {
+  position: relative;
+  top: 0px;
+  z-index: 10;
+  max-width: 100%;
+}
+.mainmenu li, .mainmenu_menu li {
+  position: relative;
+  display: inline-block;
+  padding-right: 0.5em;
+  padding-left: 0px;
+  margin: 0;
+  list-style: none;
+}
+.mainmenu li.border, .mainmenu_menu li.border {
+  padding-left: 0em;
+}
+.mainmenu li a, .mainmenu_menu li a {
+  display: block;
+  padding: 0px 0.5em 22px 0.5em;
+  color: #000;
+  font-size: 130%;
+  text-decoration: none;
+  font-weight: bold;
+  text-transform: none;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+.mainmenu li a:hover, .mainmenu_menu li a:hover {
+  color: #000;
+  border-bottom: 3px solid #000;
+  /*background: url("../images/mia.png");*/
+}
+
+#responsive_menu ul {
+  left: -115%;
+  padding: 1em 4%;
+  background: rgba(0, 0, 0, 0.8);
+}
+
+#responsive_menu li.open ul {
+  display: block;
+  /* toto pravidlo musí být první */
+}
+
+#responsive_menu li.close ul {
+  display: none;
+  /* toto pravidlo musí být druhé */
+}
+
+#responsive_menu .mainmenu li a {
+  color: #fff;
+}
+
+#slideshow {
+  /*max-height: 657px;*/
+  position: relative;
+  top: 0px;
+}
+#slideshow h2 {
+  text-align: center;
+  font-size: 350%;
+  color: #fff;
+  text-transform: none;
+  font-weight: 900;
+}
+#slideshow p {
+  display: block;
+  max-width: 580px;
+  font-size: 160%;
+  color: #fff;
+  font-weight: 300;
+  line-height: 1.8em;
+  text-shadow: 0px 2px 2px #000;
+}
+#slideshow a.button {
+  margin-top: 1em;
+  background-color: rgba(255, 255, 255, 0.2);
+  border: 1px solid #fff;
+  font-size: 120%;
+  text-shadow: -1px -1px 4px rgba(0, 0, 0, 0.3);
+  -webkit-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.2);
+  -moz-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.2);
+  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.2);
+}
+#slideshow a.button:hover {
+  background-color: rgba(255, 255, 255, 0.5);
+  color: #fff;
+  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
+  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
+  -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
+  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
+}
+
+#slideshow_text {
+  position: absolute;
+  top: 70px;
+  right: 21%;
+  max-width: 680px;
+  padding: 2em;
+  text-align: center;
+  -webkit-border-radius: 15px;
+  -moz-border-radius: 15px;
+  border-radius: 15px;
+  background-color: rgba(0, 0, 0, 0.5);
+  z-index: 11;
+}
+
+#slider {
+  position: relative;
+  padding-bottom: 43.5%;
+  height: 0;
+  overflow: hidden;
+  transition: 0.5s all ease;
+  margin-bottom: 2em;
+}
+
+/*#slideshow_text {position: absolute; right: 2%; top: 2em; padding: 2em; background: rgba(255,255,255,0.8); -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; z-index:10;}
+#slideshow_text h3 {color: #323946; font-family: 'Roboto', sans-serif; font-size: 200%; text-transform: none;}*/
+/*.content		{position: relative; width: 80%; max-width: 1010px; min-height: 250px; top: 50px; left: 2px; margin: auto; background-color: rgba(255,255,255,0.6); z-index: 20; border: 1px solid #67d9dc; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px;}
+.content > .inner {position: relative; padding: 2.5em 2.5em 2.5em 2.5em; text-align: left; }*/
+#content {
+  min-height: 574px;
+  font-size: 100%;
+}
+#content ul {
+  padding: 10px 0;
+}
+
+.content {
+  position: relative;
+  width: 100%;
+  padding-top: 1em;
+  margin: auto;
+  top: 0em;
+  left: 0px;
+  z-index: 20;
+}
+.content > .inner {
+  position: relative;
+  width: 90%;
+  max-width: 1100px;
+  margin: auto;
+  padding: 3em 0em 3em 0em;
+  text-align: left;
+}
+.content > .inner > .text {
+  font-size: 110%;
+  line-height: 1.5em;
+  margin: auto;
+}
+.content h2 {
+  position: relative;
+  /*display: inline;*/
+  /*background-color: #fff;*/
+}
+.content .inner p {
+  padding-bottom: 20px;
+}
+.content .inner ul li p {
+  padding-bottom: 0;
+}
+.content strong {
+  color: #000;
+}
+.content ul, .content ol {
+  padding-top: 10px;
+  padding-bottom: 20px;
+  font-size: 100%;
+}
+.content ul li ul, .content ol li ol {
+  padding-top: 10px;
+  padding-bottom: 10px;
+}
+
+.fixed1 {
+  background: url("../images/banners/uvod.jpg") center top no-repeat;
+  background-attachment: fixed;
+  height: 300px;
+  margin-bottom: 3em;
+}
+
+.fixed1 .inner {
+  position: relative;
+  width: 90%;
+  max-width: 1100px;
+  margin: auto;
+  text-align: center;
+}
+
+.fixed1 h2 {
+  position: relative;
+  top: 1.9em;
+  padding-bottom: 1.5em;
+  color: #fff;
+  font-size: 320%;
+  font-weight: 200;
+  text-transform: none;
+  text-align: center;
+  text-shadow: 0px 5px 5px #000;
+}
+
+.fixed1 ul li {
+  padding-bottom: 0.5em;
+  color: #fff;
+  font-size: 130%;
+  font-weight: 300;
+}
+
+.fixed1 a.button {
+  position: relative;
+  top: 1.5em;
+  padding: 0.8em 2em;
+  margin: auto;
+  background: #000;
+}
+
+.twothird ul {
+  padding-top: 0;
+}
+
+.twothird ul li {
+  margin-left: 15px;
+}
+
+.text_blocks h2 {
+  font-size: 160%;
+  color: #ff5b0b;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+}
+
+.text_blocks p {
+  color: #7f7f7f;
+  font-size: 120%;
+  font-weight: 300;
+}
+
+.text_blocks .row {
+  margin-bottom: 20px;
+}
+
+.text_blocks .row img {
+  float: left;
+  max-width: 13%;
+}
+
+.text_blocks .row .inner {
+  padding-left: 15%;
+}
+
+.text_blocks a {
+  text-decoration: none;
+  color: #7f7f7f;
+}
+
+.gray_bg {
+  background-color: #eee;
+}
+
+.contact_form {
+  position: relative;
+  margin-top: 0em;
+  margin-bottom: 3em;
+  /*input[type="submit"]:hover {background: none; border: 1px solid #fff;}*/
+}
+.contact_form > .inner {
+  position: relative;
+  max-width: 1200px;
+  width: 90%;
+  margin: auto;
+}
+.contact_form label {
+  display: inline-block;
+  cursor: text;
+  position: relative;
+  top: 2.5em;
+  color: #000;
+  font-size: 90%;
+  font-weight: 400;
+}
+.contact_form input[type=text] {
+  width: 100%;
+  margin-bottom: 0;
+  border-bottom: 1px solid #fff;
+}
+.contact_form textarea {
+  width: 100%;
+  padding-left: 0;
+  border-bottom: 1px solid #fff;
+}
+.contact_form .twothird, .contact_form .half {
+  background-color: #fff;
+  color: #000;
+  -webkit-box-shadow: 3px 3px 15px #888;
+  -moz-box-shadow: 3px 3px 15px #888;
+  box-shadow: 3px 3px 15px #888;
+}
+.contact_form .twothird .inner, .contact_form .half .inner {
+  padding: 2em 1em 2em 2em;
+}
+.contact_form .twothird h3, .contact_form .half h3 {
+  font-size: 110%;
+  color: #000;
+  font-weight: bold;
+}
+.contact_form .twothird h4, .contact_form .half h4 {
+  color: #fff;
+  font-size: 130%;
+  font-weight: 100;
+}
+.contact_form .twothird hr.underline, .contact_form .half hr.underline {
+  display: none;
+  margin: inherit;
+  margin-bottom: 3em;
+}
+.contact_form .twothird p, .contact_form .half p {
+  padding-bottom: 0;
+}
+.contact_form .third {
+  margin-top: 70px;
+  max-height: 600px;
+  overflow-y: scroll;
+}
+.contact_form .third .inner {
+  padding-left: 5em;
+  padding-top: 0em;
+  font-size: x-small;
+}
+.contact_form .third h3 {
+  font-size: 150%;
+  text-transform: uppercase;
+}
+.contact_form .third p {
+  font-size: small;
+}
+.contact_form .g-recaptcha {
+  text-align: center;
+}
+.contact_form .info {
+  font-size: small;
+  text-align: right;
+  line-height: 1.5em;
+  font-weight: 100;
+}
+
+#navigation {
+  position: relative;
+  top: -0.5em;
+  padding-bottom: 1em;
+  margin-bottom: 2em;
+  font-size: medium;
+  border-bottom: 2px solid #7f7f83;
+}
+
+#navigation a {
+  display: inline-block;
+  padding: 3px 1.5em;
+  margin-bottom: 0.5em;
+  border-right: 1px solid #7f7f83;
+  font-size: 120%;
+  font-weight: normal;
+  text-decoration: none;
+  color: #fff;
+}
+
+#navigation a:active, #navigation a:hover {
+  color: #000;
+}
+
+#navigation a:last-child {
+  border-right: none;
+}
+
+#kontakty p {
+  padding-bottom: 0 !important;
+}
+
+#kontakty .half hr.underline {
+  margin: inherit;
+  margin-bottom: 3em;
+}
+
+.kontakt {
+  width: 33%;
+  display: inline-block;
+  margin-bottom: 5px;
+}
+
+.kontakt h4 {
+  color: #329f4d;
+}
+
+.kontakt img {
+  float: left;
+  max-width: 25%;
+  margin-right: 2em;
+  margin-bottom: 2em;
+}
+
+.content a.tel strong {
+  font-weight: normal;
+}
+
+.content a.tel {
+  text-decoration: none;
+}
+
+#uvod .blog_post {
+  padding-top: 5px;
+}
+
+.blog_post {
+  margin-bottom: 2em;
+}
+
+.blog_post h2 {
+  margin-bottom: 0em;
+  padding-bottom: 0;
+  font-size: 120%;
+  color: #d04000;
+  font-weight: bold;
+}
+
+.blog_post h2 a {
+  text-decoration: none;
+  color: #24a3d8;
+}
+
+.blog_post .mainpost {
+  font-size: 85%;
+}
+
+.blog_post .link {
+  font-size: small;
+}
+
+.blog_post .date {
+  padding-bottom: 2em;
+  font-size: small;
+  font-style: italic;
+  line-height: 1em;
+}
+
+.blog_post .button {
+  display: inline-block;
+  width: 95px;
+  height: 26px;
+  margin-top: 10px;
+  padding-left: 10px;
+  background: url("../images/submit.jpg");
+  color: #fff;
+  font-size: 12px;
+  text-decoration: none;
+}
+
+.blog_post .stroke {
+  border: 1px solid #CCC;
+  -moz-border-radius: 6px;
+  -webkit-border-radius: 6px;
+  border-radius: 6px;
+}
+
+.box {
+  width: 31%;
+  float: left;
+  margin-top: 2em;
+  border: 1px solid #ebebeb;
+  -moz-border-radius: 10px;
+  -webkit-border-radius: 10px;
+  border-radius: 10px;
+}
+
+.box .inner {
+  padding: 2em;
+  text-align: center;
+}
+
+.box h3 {
+  font-size: 180%;
+  font-weight: 300;
+  line-height: 1.2em;
+  color: #6b6b6c;
+}
+
+.box .underline {
+  margin-bottom: 3em;
+}
+
+.box.middle {
+  margin-left: 4%;
+  margin-right: 4%;
+}
+
+.block h2 {
+  padding-bottom: 0;
+  margin-bottom: 0;
+}
+
+.block h4 {
+  display: inline;
+}
+
+.block .info {
+  padding-bottom: 2em;
+}
+
+hr.underline {
+  background-color: #000;
+  color: #fff;
+  height: 3px;
+  width: 85px;
+  border: none;
+  margin: auto;
+  margin-bottom: 3em;
+}
+
+/* PAGINATION */
+.pagination {
+  position: relative;
+  width: 100%;
+  height: auto;
+  display: block;
+  text-align: right;
+  margin: 3em auto 4em auto;
+  padding: 0px;
+  text-align: center;
+  color: #787878;
+  font-weight: normal;
+}
+.pagination span {
+  padding: 8px;
+  margin: 0px 3px;
+}
+.pagination .ppage {
+  position: relative;
+  top: 0px;
+  font-size: 150%;
+}
+.pagination .ppage_inactive {
+  position: relative;
+  padding: 0;
+  margin: 0;
+}
+.pagination .ppage {
+  padding: 17px 25px;
+  /*background-color: #f0f1f3; @include rounded(50%); @include boxshadow(0,1px,2px,rgba(0,0,0,0.5));*/
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+.pagination a:hover .ppage {
+  /*background-color: desaturate(scale-color($acolor, $lightness: 80%),50%); @include boxshadow(0,2px,3px,rgba(0,0,0,0.5));*/
+}
+.pagination a {
+  position: relative;
+  text-decoration: none;
+  color: #000;
+}
+.pagination .arrow {
+  border: 0;
+  font-size: 400%;
+  color: #ccc;
+  position: relative;
+  top: 9px;
+}
+.pagination a span.arrow {
+  color: gray;
+  position: relative;
+  top: 9px;
+}
+.pagination svg {
+  position: absolute;
+  width: 45px;
+  height: 50px;
+  top: -17px;
+  left: 12px;
+}
+.pagination svg path {
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+.pagination a:hover svg path {
+  fill: #cccccc;
+}
+
+/*
+table {width: 100%; border-spacing: 0; margin-bottom: 2em; border-top: 1px dashed #c4e9f2; border-bottom: 1px dashed #c4e9f2;}
+.content table strong {color: #00355f;}
+table tr:nth-child(even) {
+    background: #f0fbff;
+}
+table td {padding: 10px 1em;}
+*/
+#footer {
+  position: relative;
+  top: 0px;
+  width: 100%;
+  height: auto;
+  /*overflow: hidden;*/
+  background-color: #000;
+  color: #fff;
+  font-size: 90%;
+  margin-top: 30px;
+}
+#footer > .inner {
+  position: relative;
+  width: 94%;
+  max-width: 1100px;
+  margin: auto;
+  padding: 2em 0;
+}
+#footer .menu {
+  width: 85%;
+  float: left;
+}
+#footer .social {
+  /*width: 15%;*/
+  float: left;
+}
+#footer .eshop {
+  display: inline-block;
+  padding-bottom: 2em;
+  color: #000;
+  font-weight: bold;
+}
+#footer h4 {
+  padding-top: 0;
+  padding-bottom: 0.5em;
+  color: #fff;
+  /*color: $acolor;*/
+  font-size: 140%;
+  font-weight: 900;
+  text-transform: none;
+}
+#footer a {
+  color: inherit;
+  text-decoration: none;
+  text-transform: none;
+  font-weight: normal;
+}
+#footer ul {
+  padding-left: 0px;
+  padding-top: 0;
+}
+#footer ul.mainmenu {
+  position: relative;
+  top: 0em;
+  left: 0;
+  width: auto;
+  background: none;
+  /*#footer ul.mainmenu > li > ul::before {content: url("../images/arrow-down-mini.png"); display: block; padding: 3px 0;}*/
+}
+#footer ul.mainmenu > li {
+  display: block;
+  padding: 0;
+  padding-bottom: 0em;
+}
+#footer ul.mainmenu > li a {
+  padding: 0;
+  border: none;
+  float: none;
+  font-size: medium;
+  font-weight: bold;
+  color: #fff;
+}
+#footer ul.mainmenu > li ul li a {
+  font-size: small;
+  font-weight: 300;
+  color: #838383;
+}
+#footer ul.mainmenu li a:hover {
+  border: none;
+}
+#footer ul.mainmenu > li ul li {
+  display: block;
+}
+#footer strong {
+  color: #fff;
+}
+#footer hr {
+  max-width: 215px;
+  height: 1px;
+  margin-bottom: 1.5em;
+  background-color: #000;
+  border: none;
+}
+#footer .hidden {
+  height: 0px;
+}
+#footer .submit {
+  position: relative;
+  left: -35px;
+  top: 8px;
+  background: url("../images/lupa.png") 50% 0 no-repeat;
+  width: 25px;
+  height: 25px;
+  min-width: inherit;
+  border: 0;
+  padding: 0;
+  margin: 0;
+}
+#footer .search {
+  width: 80%;
+}
+#footer .backlinks {
+  text-align: center;
+  padding: 1em 2em;
+  background-color: #333;
+  font-size: x-small;
+}
+
+.copyright {
+  bottom: 1em;
+  text-align: left;
+  /*padding: 1em 0;*/
+  font-size: 75%;
+  text-transform: uppercase;
+  line-height: 20px;
+}
+
+.copyright a {
+  color: #000;
+  position: relative;
+  font-size: 90%;
+  font-weight: normal;
+  text-transform: uppercase;
+  line-height: 20px;
+}
+
+.fright {
+  width: 20%;
+  float: right;
+  text-align: right;
+  padding-left: 5%;
+  padding-bottom: 4em;
+}
+
+#counter {
+  position: absolute;
+  bottom: 0.5em;
+  margin: auto;
+  font-size: small;
+  text-align: center;
+  color: #000;
+}
+
+.fotogalerie {
+  text-align: center;
+}
+
+.lightbox {
+  position: relative;
+  display: inline-block;
+  /*margin: 0.5em;*/
+  line-height: 0;
+  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
+  -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
+  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
+}
+
+.googlemap iframe {
+  width: 100%;
+  height: 560px;
+}
+
+.map {
+  border: 1px dashed #518d08;
+  padding: 10px;
+  margin-top: 20px;
+}
+
+li.pdf {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+li.wmv {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+li.doc {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+li.jpg {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+li.htm {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+li.tub {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+li.ct {
+  list-style: none;
+  padding-left: 25px;
+  margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+
+/* FORMS */
+fieldset {
+  border: 2px #e1f3f8 solid;
+  padding: 10px;
+  background-color: #fff;
+  margin-bottom: 10px;
+}
+
+.fieldset {
+  background-color: #fff;
+}
+
+legend {
+  font-size: 100%;
+  font-weight: bold;
+  padding: 0 10px;
+  border: 1px #e1f3f8 solid;
+  color: #377bba;
+  background-color: #e1f3f8;
+}
+
+input {
+  margin-bottom: 15px;
+}
+
+input[type=text], input[type=password], textarea {
+  background-color: #f6f6f6;
+  color: #000;
+  padding: 0.6em 10px 0.6em 10px;
+  font-family: "Roboto Condensed", sans-serif;
+  font-size: large;
+  border: 0;
+}
+
+textarea {
+  width: 330px;
+  height: 100px;
+}
+
+input[type=submit] {
+  display: inline-block;
+  min-width: 160px;
+  padding: 0.8em 2em;
+  background-color: #fff;
+  color: #000;
+  border: 1px solid #000;
+  font-size: medium;
+  font-weight: bold;
+  text-transform: none;
+  text-align: center;
+  text-decoration: none;
+  cursor: pointer;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+input[type=submit]:hover {
+  color: #fff;
+  background-color: #000;
+}
+
+a.button {
+  display: inline-block;
+  min-width: 100px;
+  padding: 1em 2em;
+  background-color: #000;
+  color: #fff;
+  border: 1px solid #000;
+  font-size: medium;
+  font-weight: bold;
+  text-transform: none;
+  text-align: center;
+  text-decoration: none;
+  cursor: pointer;
+  -webkit-border-radius: 5px;
+  -moz-border-radius: 5px;
+  border-radius: 5px;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+a.button:hover {
+  color: #000;
+  background-color: #fff;
+}
+
+a.button_m {
+  display: inline-block;
+  min-width: 120px;
+  padding: 0.8em 1em;
+  background-color: #fff7e4;
+  color: #000;
+  border: 1px solid #000;
+  font-size: medium;
+  font-weight: bold;
+  text-transform: none;
+  text-align: center;
+  text-decoration: none;
+  cursor: pointer;
+  -webkit-border-radius: 5px;
+  -moz-border-radius: 5px;
+  border-radius: 5px;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+a.button_m:hover {
+  color: #fff7e4;
+  background-color: #000;
+}
+
+a.button_s {
+  display: inline-block;
+  min-width: 80px;
+  padding: 0.5em 1.5em;
+  background-color: #fff;
+  color: #000;
+  border: 1px solid #000;
+  font-size: small;
+  font-weight: bold;
+  text-transform: none;
+  text-align: center;
+  text-decoration: none;
+  cursor: pointer;
+  -webkit-border-radius: 5px;
+  -moz-border-radius: 5px;
+  border-radius: 5px;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+a.button_s:hover {
+  color: #fff;
+  background-color: #000;
+}
+
+a.promo_button {
+  display: inline-block;
+  min-width: 150px;
+  padding: 0.5em 1em;
+  background-color: #000;
+  color: #fff;
+  border: 1px solid #000;
+  font-size: large;
+  font-weight: 200;
+  text-transform: none;
+  text-align: center;
+  text-decoration: none;
+  cursor: pointer;
+  -webkit-border-radius: 5px;
+  -moz-border-radius: 5px;
+  border-radius: 5px;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+  text-align: right;
+  font-size: 150%;
+  line-height: 1.2em;
+}
+a.promo_button:hover {
+  color: #000;
+  background-color: #fff;
+}
+
+input[type=radio] {
+  margin: 0;
+  padding: 0;
+  margin-right: 10px;
+  border: 0;
+  background: none;
+}
+
+input[type=checkbox] {
+  transform: scale(1.5);
+  margin: 0;
+  padding: 0;
+  margin-right: 10px;
+  border: 0;
+  background: none;
+}
+
+.must {
+  color: red;
+  font-size: 150%;
+}
+
+select {
+  color: #707173;
+  height: 25px;
+  padding-left: 10px;
+  margin-bottom: 10px;
+}
+
+label {
+  font-size: 105%;
+  font-weight: bold;
+  color: #666666;
+  padding-bottom: 2px;
+  display: block;
+}
+
+label.short {
+  width: 260px;
+}
+
+label.long {
+  width: 99%;
+}
+
+label.minimal {
+  width: 100px;
+}
+
+input.short {
+  width: 260px;
+}
+
+input.long {
+  width: 99%;
+}
+
+input.minimal {
+  width: 100px;
+}
+
+.input_cont {
+  float: left;
+  margin-right: 20px;
+}
+
+textarea.short {
+  width: 260px;
+  height: 80px;
+}
+
+textarea.long {
+  width: 99%;
+  height: 80px;
+}
+
+.minfloat {
+  width: 132px;
+  float: left;
+}
+
+a.linkout {
+  color: #fff;
+  position: relative;
+  bottom: 0;
+  left: 0;
+  z-index: 1;
+}
+
+.gdpr {
+  margin-top: 1em;
+}
+.gdpr span {
+  position: relative;
+  top: -3px;
+  font-size: small;
+}
+.gdpr a {
+  color: #000;
+}
+
+/* Change Autocomplete styles in Chrome*/
+input:-webkit-autofill,
+input:-webkit-autofill:hover,
+input:-webkit-autofill:focus input:-webkit-autofill,
+textarea:-webkit-autofill,
+textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
+select:-webkit-autofill,
+select:-webkit-autofill:hover,
+select:-webkit-autofill:focus {
+  background: none;
+  color: #bddfff !important;
+  transition: background-color 5000s ease-in-out 0s;
+}
+
+.msg, .success, .notice, .error {
+  width: 100%;
+  font-weight: bold;
+  padding: 5px 0;
+  text-align: center;
+  margin: auto;
+  font-size: medium;
+  color: white;
+}
+
+.error {
+  border-top: 2px solid #000;
+  border-bottom: 2px solid #000;
+  background: #b20400;
+}
+
+.notice {
+  border-top: 2px solid #a19400;
+  border-bottom: 2px solid #a19400;
+  background: #e6d302;
+}
+
+.success {
+  border-top: 2px solid #0C0;
+  border-bottom: 2px solid #0C0;
+  background: #090;
+}
+
+#error {
+  width: 90%;
+  max-width: 1200px;
+  margin: auto;
+}
+
+#error h1 {
+  color: #b20400;
+}
+
+#error p, #error ul {
+  padding-bottom: 1em;
+}
+
+hr {
+  color: #67b2b7;
+  border: none;
+  border-bottom: 1px solid #67b2b7;
+}
+
+hr.cleaner {
+  clear: both;
+  height: 1px;
+  border: none;
+  margin: -1em 0 0 0;
+  visibility: hidden;
+}
+
+hr.cleanerie {
+  height: 1px;
+  border: none;
+  margin: -1em 0 0 0;
+  visibility: hidden;
+}
+
+.trans {
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+
+.shadow {
+  -webkit-box-shadow: 3px 3px 15px #888;
+  -moz-box-shadow: 3px 3px 15px #888;
+  box-shadow: 3px 3px 15px #888;
+}
+
+.round {
+  -webkit-border-radius: 10px;
+  -moz-border-radius: 10px;
+  border-radius: 10px;
+}
+
+.desaturate {
+  -webkit-filter: grayscale(100%);
+  -moz-filter: grayscale(100%);
+  -ms-filter: grayscale(100%);
+  -o-filter: grayscale(100%);
+  filter: grayscale(100%);
+}
+
+.arrow {
+  border: solid #00523d;
+  border-width: 0 7px 7px 0;
+  display: inline-block;
+  padding: 10px;
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+
+.arrow.right {
+  transform: rotate(-45deg);
+  -webkit-transform: rotate(-45deg);
+}
+
+.arrow.left {
+  transform: rotate(135deg);
+  -webkit-transform: rotate(135deg);
+}
+
+.arrow.up {
+  transform: rotate(-135deg);
+  -webkit-transform: rotate(-135deg);
+}
+
+.arrow.down {
+  transform: rotate(45deg);
+  -webkit-transform: rotate(45deg);
+}
+
+.alpha50 {
+  filter: alpha(opacity=50);
+  opacity: 0.5;
+}
+
+.icon {
+  position: relative;
+  top: 2px;
+}
+
+.img {
+  border: 5px solid #d8ccbd;
+  background-color: #fff;
+  margin-bottom: 20px;
+  margin-right: 0px;
+  -webkit-border-radius: 8px;
+  -moz-border-radius: 8px;
+  border-radius: 8px;
+}
+
+.left_img, .img_left {
+  float: left;
+  margin: 1em 2em 1em 0;
+  /*border: 1px solid #fff;*/
+}
+
+.right_img, .img_right {
+  float: right;
+  margin: 1em 0 1em 2em;
+  /*border: 1px solid #fff;*/
+}
+
+.mini {
+  font-size: x-small;
+  line-height: 15px;
+}
+
+.small {
+  font-size: small;
+  line-height: 13px;
+}
+
+.half {
+  width: 50%;
+  float: left;
+}
+
+.third {
+  width: 33.3333333333%;
+  float: left;
+}
+
+.twothird {
+  width: 66.6666666667%;
+  float: left;
+}
+
+.quarter {
+  width: 25%;
+  float: left;
+}
+
+.threequarters {
+  width: 75%;
+  float: left;
+}
+
+.half .inner, .third .inner, .twothird .inner, .quarter .inner {
+  padding: 2em 2em;
+}
+
+.innerleft, .half .innerleft, .third .innerleft, .twothird .innerleft {
+  padding-right: 2em;
+}
+
+.innerright, .half .innerright, .third .innerright, .twothird .innerright {
+  padding-left: 2em;
+}
+
+p.underline {
+  text-decoration: underline;
+  padding-bottom: 0 !important;
+}
+
+p.underline strong {
+  color: #fff;
+}
+
+.justify {
+  text-align: justify;
+}
+
+.f_right {
+  float: right;
+}
+
+.f_left {
+  float: left;
+}
+
+.red {
+  color: #fe0000;
+}
+
+.white {
+  color: #fff;
+}
+
+h3.white {
+  color: #fff;
+  font-size: 130%;
+}
+
+.blue {
+  color: #0296f0;
+}
+
+.bgblue {
+  background-color: #0296f0;
+}
+
+.green {
+  color: #67b2b7 !important;
+}
+
+.bggreen {
+  background-color: #36af53;
+}
+
+.gray {
+  color: #757575;
+}
+
+.upper {
+  text-transform: uppercase;
+}
+
+.center, .content .center {
+  text-align: center;
+  margin: auto;
+}
+
+.left {
+  text-align: left;
+}
+
+.tright {
+  text-align: right;
+}
+
+.stroke {
+  border: 3px solid #fff;
+}
+
+.medium {
+  font-size: medium;
+}
+
+.italic {
+  font-style: italic;
+}
+
+.strong {
+  font-weight: bold;
+}
+
+.clear {
+  clear: both;
+}
+
+.no {
+  padding: 0px;
+  margin: 0px;
+}
+
+.hidden {
+  visibility: hidden;
+}
+
+.hide {
+  display: none;
+}
+
+.display_none {
+  display: none;
+}
+
+.display_block {
+  display: block;
+}
+
+.ofhide {
+  overflow: hidden;
+}
+
+.overlay {
+  display: none;
+  position: absolute;
+  left: 0;
+}
+
+.gradient {
+  background: -moz-linear-gradient(top, #f6f6f6 1%, #ffffff 100%);
+  /* FF3.6-15 */
+  background: -webkit-linear-gradient(top, #f6f6f6 1%, #ffffff 100%);
+  /* Chrome10-25,Safari5.1-6 */
+  background: linear-gradient(to bottom, #f6f6f6 1%, #ffffff 100%);
+  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f6f6f6", endColorstr="#ffffff",GradientType=0 );
+  /* IE6-9 */
+}
+
+.fxbottom {
+  position: absolute;
+  bottom: -35px;
+  right: 0;
+  width: 85%;
+  max-width: 1600px;
+}
+
+.fxbottom img {
+  transform: rotate(180deg);
+}
+
+/*ul.topmenu li::after {content: "\00a0\00a0|\00a0"}*/
+.head_menu ul.topmenu {
+  position: relative;
+  margin-top: 0px;
+  right: 0;
+  text-align: right;
+  display: block;
+  text-transform: uppercase;
+}
+
+.head_menu ul.topmenu li a {
+  font-size: 130%;
+  color: #000;
+  font-weight: normal;
+  text-decoration: none;
+  padding: 0px;
+}
+
+.head_menu ul.topmenu li a:hover {
+  color: #333;
+  text-shadow: 0px 1px 3px #aaa;
+}
+
+.head_menu ul.topmenu .active {
+  color: #777;
+}
+
+.head_menu ul.topmenu li {
+  display: inline-block;
+  list-style: none;
+  padding: 0;
+  margin: 0;
+  margin-left: 2em;
+}
+
+#sticky_menu.sticky a.home {
+  color: #fff;
+}
+#sticky_menu.sticky a.home strong {
+  color: #fff;
+}
+#sticky_menu.sticky a.home img {
+  max-width: 100px;
+}
+#sticky_menu.sticky h1 {
+  font-size: 250%;
+}
+#sticky_menu.sticky h1 span {
+  top: 0;
+}
+#sticky_menu.sticky ul.topmenu li a {
+  color: #fff;
+}
+
+#header_top a img {
+  filter: gray;
+  /* IE6-9 */
+  -webkit-filter: grayscale(1);
+  /* Google Chrome, Safari 6+ & Opera 15+ */
+  filter: grayscale(1);
+  /* Microsoft Edge and Firefox 35+ */
+  -moz-transition: 0.4s all ease;
+  -webkit-transition: 0.4s all ease;
+}
+
+#header_top a:hover img {
+  filter: gray;
+  /* IE6-9 */
+  -webkit-filter: grayscale(0);
+  /* Google Chrome, Safari 6+ & Opera 15+ */
+  filter: grayscale(0);
+  /* Microsoft Edge and Firefox 35+ */
+}
+
+.tcont {
+  position: relative;
+  padding: 1em 4%;
+  background-color: rgba(0, 0, 0, 0.08);
+  overflow: hidden;
+}
+
+.tcont .inner {
+  max-width: 1100px;
+  margin: auto;
+}
+
+.tcont h2 {
+  text-transform: uppercase;
+  font-weight: 200;
+  font-size: 250%;
+  color: #888;
+}
+
+.uvod_text {
+  position: relative;
+  top: 30px;
+  width: 70%;
+  float: left;
+  text-align: center;
+  padding-bottom: 5em;
+}
+
+.uvod_text h2 {
+  position: relative;
+  font-size: 250%;
+  padding-bottom: 20px;
+}
+
+.uvod_text h2 span {
+  position: relative;
+  top: -0.5em;
+  font-weight: 200;
+  font-size: 60%;
+}
+
+.uvod_text p {
+  font-size: large;
+}
+
+.uvod_foto {
+  position: relative;
+  width: 48%;
+  float: right;
+}
+
+.prehled {
+  position: relative;
+  float: right;
+  font-size: 120%;
+  padding-top: 40px;
+}
+
+.prehled h3 {
+  position: relative;
+}
+
+.harmonogram {
+  width: 40%;
+  float: left;
+}
+
+.zdroje {
+  width: 60%;
+  float: right;
+}
+
+.item_arrow {
+  position: relative;
+  top: 5px;
+}
+
+#homepage.content > .inner {
+  padding-bottom: 0;
+}
+
+div.p {
+  position: relative;
+  padding-bottom: 1em;
+}
+
+div.p:nth-child(2n) {
+  width: 56%;
+  padding-left: 4%;
+  float: right;
+  text-align: justify;
+}
+
+div.p:nth-child(2n-1) {
+  width: 36%;
+  padding-right: 4%;
+  float: left;
+  text-align: justify;
+  clear: both;
+}
+
+div.p ol li {
+  font-size: 100%;
+}
+
+div.p img {
+  margin-bottom: 1em;
+}
+
+div.p h3 {
+  text-align: left;
+}
+
+.right_banners {
+  position: relative;
+  float: right;
+  margin-left: 2em;
+}
+
+.right_banners a {
+  margin-bottom: 1em;
+}
+
+.left_banners {
+  position: relative;
+  float: left;
+  margin-right: 2em;
+}
+
+.left_banners a {
+  margin-bottom: 1em;
+}
+
+.akt h3 {
+  font-size: 150%;
+  font-weight: bold;
+}
+
+.akt {
+  padding-bottom: 2em;
+}
+
+.img_cont1 {
+  position: relative;
+  display: block;
+  width: 100%;
+  height: 70%;
+  margin-bottom: 1em;
+  max-height: 380px;
+  background: url("../images/table.jpg");
+  /* Create the parallax scrolling effect */
+  background-attachment: fixed;
+  background-position: left;
+  background-repeat: no-repeat;
+  background-size: auto;
+}
+
+.refs {
+  position: relative;
+  padding-top: 1em;
+  margin-bottom: 3em;
+  border-top: 1px solid rgba(0, 0, 0, 0.05);
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+}
+
+.gallery {
+  margin-top: 20px;
+  /*width: 680px;*/
+}
+
+#kdo-jsem .gallery {
+  margin-top: 10px;
+  /*width: 680px;*/
+}
+
+table.gal {
+  position: relative;
+  float: left;
+  margin: 0px 10px 20px 10px;
+  /*border: 1px solid #6c6c6c;*/
+}
+
+table.gal a {
+  display: block;
+  position: relative;
+  width: 230px;
+  height: 230px;
+  overflow: hidden;
+}
+
+table.table {
+  width: 100%;
+  border-spacing: 0;
+  margin-bottom: 2em;
+  border-top: 1px dashed #c4e9f2;
+  border-bottom: 1px dashed #c4e9f2;
+}
+
+.content table strong {
+  color: #00355f;
+}
+
+table.table tr:nth-child(even) {
+  background: #f0fbff;
+}
+
+table.table td {
+  padding: 10px 1em;
+}
+
+table.table tr.border {
+  border-top: 1px dashed #c4e9f2;
+}
+
+.field {
+  float: left;
+  margin-right: 2em;
+}
+
+#footer .social {
+  text-align: right;
+}
+
+#map {
+  float: right;
+  text-align: right;
+}
+
+#map span {
+  display: block;
+  background: url("../images/border.png") 0 0 repeat;
+  padding: 9px;
+  padding-bottom: 4px;
+  margin-bottom: 5px;
+}
+
+#kontakt form {
+  width: 510px;
+  float: right;
+}
+
+#kontakt iframe {
+  float: none;
+}
+
+img, video, canvas {
+  max-width: 100%;
+}
+
+@media (max-width: 1600px) {
+  #slideshow_text {
+    top: 2em;
+    right: 5%;
+  }
+
+  #slideshow_text h2 {
+    font-size: 300%;
+  }
+
+  #slideshow_text p {
+    font-size: 140%;
+  }
+}
+@media (max-width: 1280px) {
+  /*#footer .quarter {width: 30%;}*/
+  #footer .half {
+    width: 40%;
+  }
+
+  #footer .menu {
+    width: 50%;
+  }
+
+  #footer .mainmenu li {
+    float: none !important;
+    min-height: inherit !important;
+    padding-bottom: 0 !important;
+  }
+
+  #footer .mainmenu ul {
+    display: none;
+  }
+
+  .googlemap iframe {
+    width: 100% !important;
+  }
+
+  .mainmenu li, .mainmenu_menu li {
+    padding-right: 0;
+  }
+
+  .mainmenu li a, .mainmenu_menu li a, #qm0 li a {
+    font-size: 100%;
+  }
+
+  h2 {
+    padding-bottom: 0;
+  }
+
+  #slideshow_text {
+    top: 1em;
+    padding: 1em;
+  }
+
+  #slideshow h2 {
+    font-size: 180%;
+  }
+
+  #slideshow_text p {
+    font-size: 110%;
+  }
+}
+@media (max-width: 1050px) {
+  #menu .hide {
+    display: none !important;
+  }
+
+  #menu .mainmenu, #menu .mainmenu_menu, #qm0 {
+    display: none !important;
+  }
+
+  #responsive_menu {
+    position: fixed;
+    width: 100%;
+    height: 1px;
+    top: 80px;
+    z-index: 50;
+    overflow: hidden;
+  }
+
+  #responsive_menu.hide {
+    display: block !important;
+  }
+
+  #responsive_menu li {
+    display: block;
+    padding: 0.5em 0.5em;
+  }
+
+  #header {
+    overflow: hidden;
+  }
+
+  #responsive_menu.hide {
+    display: block !important;
+  }
+
+  #responsive_menu .mainmenu, #responsive_menu .mainmenu_menu, #responsive_menu #qm0 {
+    font-size: 100%;
+    text-align: left;
+  }
+  #responsive_menu .mainmenu li a, #responsive_menu .mainmenu_menu li a, #responsive_menu #qm0 li a {
+    float: none;
+    border-bottom: none;
+    font-weight: 400;
+    padding: 0;
+  }
+  #responsive_menu .mainmenu li a:hover, #responsive_menu .mainmenu_menu li a:hover, #responsive_menu #qm0 li a:hover {
+    border-bottom: none;
+    color: #000;
+  }
+  #responsive_menu .mainmenu li ul {
+    padding-top: 0.5em;
+  }
+  #responsive_menu .mainmenu li ul li {
+    padding-left: 1em;
+  }
+  #responsive_menu .mainmenu li ul li a::before {
+    content: url("../images/li.png");
+    padding-right: 5px;
+  }
+  #responsive_menu .mainmenu li ul li a {
+    text-transform: none;
+  }
+  #responsive_menu button {
+    display: inline-block;
+  }
+
+  .quarter_center.last {
+    margin-right: 10px;
+  }
+
+  #cont {
+    padding-top: 50px;
+  }
+
+  #header {
+    position: relative;
+    /*overflow: hidden;*/
+  }
+
+  #header .hide {
+    display: none !important;
+  }
+
+  .head_menu {
+    position: absolute;
+    max-width: none;
+    top: 85px;
+    right: -110%;
+    width: 100%;
+    padding: 50px 20px 0;
+    background: #0f3234;
+    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, black 50%);
+    /*-webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15); -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15); box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);*/
+  }
+
+  .head_menu ul.topmenu {
+    position: relative;
+    padding-right: 0;
+    padding-bottom: 3em;
+    margin-top: -25px;
+    border: none;
+    height: auto;
+    font-size: 130%;
+    text-align: right;
+  }
+
+  .head_menu ul.topmenu li {
+    display: inline-block;
+    float: none;
+    padding-bottom: 1em;
+  }
+
+  .head_menu ul.topmenu li a {
+    float: none;
+    border-bottom: none;
+    color: #fff;
+    font-size: 100%;
+  }
+
+  .head_menu ul.topmenu li a:hover {
+    border-bottom: none;
+  }
+
+  .head_menu button {
+    display: inline-block;
+  }
+
+  #mob_menu_open {
+    display: inline-block;
+  }
+
+  #mob_menu_close {
+    display: inline-block;
+    z-index: 100;
+    top: 100px;
+  }
+
+  .addhtml {
+    display: none;
+  }
+
+  .sticky #mob_menu_open, sticky #mob_menu_close {
+    right: 4%;
+  }
+
+  /*.head_menu {top: 114px;}*/
+  .head_menu ul.topmenu {
+    right: 50px;
+  }
+
+  #slideshow_text h3 {
+    font-size: 120%;
+  }
+
+  #slideshow_text a.button {
+    font-size: 100%;
+    padding: 0.8em 1.5em;
+  }
+
+  #slideshow_text p {
+    font-size: 100%;
+    line-height: 1.5em;
+  }
+
+  .fixed1 a.button {
+    display: block;
+    max-width: 150px;
+    top: 1em;
+    margin: auto;
+  }
+
+  .fixed1 h2 {
+    font-size: 150%;
+  }
+
+  .akt {
+    text-align: left;
+  }
+
+  .gallery {
+    text-align: center;
+  }
+
+  table.gal {
+    display: inline-block;
+    float: none;
+  }
+
+  #kontakt form {
+    display: block;
+    width: 90%;
+    float: none;
+  }
+
+  #kontakt iframe {
+    width: 100% !important;
+    margin-top: 20px;
+  }
+
+  #footer .logo img {
+    width: 85%;
+  }
+
+  #footer .mainmenu {
+    font-size: 110%;
+  }
+
+  .box {
+    width: 90%;
+    margin-left: 5%;
+  }
+
+  .boxes h2 {
+    font-size: 90%;
+  }
+
+  .boxes p {
+    /*font-size: 70%;*/
+  }
+
+  #homepage.content > .inner {
+    padding-top: 0;
+    padding-bottom: 0em;
+  }
+
+  .uvod_text h2 {
+    font-size: 250%;
+  }
+
+  .prehled {
+    float: none;
+  }
+
+  .harmonogram {
+    float: none;
+  }
+
+  .zdroje {
+    float: none;
+    width: 100%;
+    padding-top: 2em;
+  }
+
+  .content > .inner {
+    padding: 2em 0;
+  }
+}
+@media (max-width: 850px) {
+  .quarter {
+    width: 50%;
+    text-align: center;
+    float: none;
+  }
+
+  .third {
+    width: 100%;
+    text-align: center;
+  }
+
+  .half {
+    width: 100%;
+  }
+
+  #footer hr {
+    max-width: 100%;
+  }
+
+  #footer .quarter {
+    width: 100%;
+  }
+
+  #footer .half {
+    width: 100%;
+    padding-top: 1em;
+    text-align: center;
+  }
+
+  #footer .mainmenu {
+    text-align: center;
+  }
+
+  #footer .mainmenu li {
+    padding: inherit;
+  }
+
+  #header_top .logo_cont {
+    width: 80px;
+    padding-right: 10px;
+  }
+
+  #header_top .soc {
+    top: 0;
+  }
+
+  /*body {font-size: medium;}*/
+  #slideshow_text {
+    max-width: 80%;
+  }
+
+  #slideshow_text p {
+    font-size: 100%;
+  }
+
+  #slideshow_text h2 {
+    font-size: 160%;
+  }
+
+  #slideshow_text a.button {
+    display: none;
+  }
+
+  .contact_form .inner .twothird {
+    width: 100%;
+  }
+
+  .text_blocks h2 {
+    font-size: 140%;
+  }
+
+  .text_blocks p {
+    font-size: 110%;
+  }
+
+  .twothird hr.underline {
+    display: none;
+  }
+
+  h3 {
+    font-size: 130%;
+  }
+
+  #aktuality_uvod .text {
+    text-align: center !important;
+  }
+
+  .akt {
+    width: 90%;
+    height: auto;
+  }
+  .akt .akt_text {
+    height: auto;
+  }
+  .akt .submit_cont {
+    position: relative;
+    margin: 1em 0;
+    bottom: 0;
+  }
+
+  .fixed1 h3 {
+    top: 50px;
+    font-size: 200%;
+  }
+
+  .cat h2 {
+    font-size: 220%;
+  }
+
+  #footer .logo {
+    display: none;
+  }
+  #footer .fright {
+    padding-bottom: 0;
+  }
+  #footer ul {
+    padding-bottom: 2em;
+  }
+  #footer ul li {
+    display: inline-block;
+  }
+  #footer .quarter:nth-child(2) {
+    text-align: center;
+  }
+  #footer .quarter:nth-child(2) ul {
+    direction: ltr;
+  }
+  #footer .quarter:nth-child(2) ul li {
+    margin-right: 0px;
+  }
+  #footer .quarter:nth-child(2) h4 {
+    padding-right: 0px;
+  }
+  #footer .social {
+    text-align: center;
+    float: none;
+    padding-top: 1em;
+  }
+  #footer .social a img {
+    position: relative;
+    float: none;
+  }
+
+  .uvod_foto {
+    display: none;
+  }
+
+  .uvod_text {
+    width: 100%;
+  }
+
+  #homepage.content > .inner {
+    padding-bottom: 4em;
+  }
+}
+@media (max-width: 700px) {
+  .quarter {
+    width: 100%;
+    text-align: center;
+  }
+
+  .twothird {
+    width: 100%;
+    text-align: center;
+  }
+
+  .pagination span {
+    font-size: small;
+  }
+
+  /*#slider {display: none;}*/
+  #header a.home {
+    font-size: 140%;
+  }
+
+  #header a.home strong {
+    display: block;
+  }
+
+  #menu .logo {
+    display: none;
+  }
+
+  #responsive_menu .mainmenu, #responsive_menu .mainmenu_menu, #responsive_menu #qm0 {
+    width: 100%;
+    left: -115%;
+  }
+
+  .head_menu ul.topmenu li a {
+    font-size: 80%;
+  }
+
+  h1 {
+    font-size: 130%;
+    text-align: left;
+  }
+
+  /*#header a.home {display: block; width: 100%; max-width: 100%; margin: auto; text-align: center}*/
+  .portfolio {
+    width: 100%;
+    margin-bottom: 0;
+  }
+
+  #slideshow_text {
+    top: 0;
+  }
+
+  #slideshow_text p {
+    font-size: 90%;
+  }
+
+  #slideshow_text h2 {
+    font-size: 130%;
+  }
+
+  #menu .social {
+    display: none;
+  }
+
+  #flags {
+    width: 100px;
+  }
+
+  #flags .flag, #responsive_flags {
+    margin-right: 0;
+  }
+
+  .fixed1 h2 {
+    font-size: 120%;
+  }
+
+  /*.akt {width: 90%;}*/
+  .g-recaptcha > div {
+    width: 100% !important;
+  }
+
+  .cats .cat {
+    padding-bottom: 2em;
+  }
+
+  .akt h4 {
+    font-size: 110%;
+  }
+}
+@media (max-width: 500px) {
+  a.home {
+    font-size: 25px;
+  }
+
+  #header_top .soc {
+    display: none;
+  }
+
+  .head_menu .topmenu li {
+    padding-bottom: 0.4em;
+  }
+
+  .head_menu .topmenu li a {
+    text-shadow: 0px 1px 1px #fff;
+  }
+
+  .head_menu ul.topmenu li {
+    margin-left: 1em;
+  }
+
+  .head_menu ul.topmenu li a {
+    font-size: 65%;
+  }
+
+  /*#mob_menu_open  {right: 25px;}
+  #mob_menu_close {right: 25px;}*/
+  .akt img.f_right {
+    max-width: 90px;
+  }
+
+  #footer .inner {
+    font-size: small;
+  }
+
+  #map {
+    display: none;
+  }
+
+  #content .inner {
+    border-top: 0;
+  }
+
+  #slideshow_text {
+    display: none;
+  }
+
+  .contact_form .info {
+    text-align: center;
+    float: none;
+  }
+
+  .home img {
+    max-width: 85%;
+  }
+
+  .fb, .instagram {
+    display: none;
+  }
+
+  #footer .inner .quarter:nth-child(2) {
+    display: none;
+  }
+
+  #head_img {
+    margin-bottom: 0;
+  }
+}
+@media (max-width: 430px) {
+  #header {
+    /*height: 100%;*/
+    padding-bottom: 0%;
+  }
+}
+
+/*# sourceMappingURL=style.css.map */
diff --git a/green_deal/static/green_deal/css/style.css.map b/green_deal/static/green_deal/css/style.css.map
new file mode 100644
index 0000000000000000000000000000000000000000..51a1be06106a58b882ff085a27dafa679661a855
--- /dev/null
+++ b/green_deal/static/green_deal/css/style.css.map
@@ -0,0 +1 @@
+{"version":3,"sourceRoot":"","sources":["style.scss","_addon.scss","_responsive.scss"],"names":[],"mappings":";AAmFA;EACA;EACA;;;AAGA;EAAuC;;;AACvC;EAAO;EAAmB;;;AAC1B;EAAO;;;AACP;EAAO;EAAa;EAA6C;EAA0B;EAA8B;;;AACzH;EAAY,OAtFH;EAsFmB;;;AAE5B;EAAM;;;AACN;EAAM;EAAa;EAAc,YA3F5B;EA2F4F,OA1FzF;EA0FwG,aA7FzG;EA6F6H;EAAmB;;;AAEvJ;EArCE,OAtDO;EAsDQ;EAzBf;EAAiC;;AA0BjC;EAAS;;AACT;EAAW;EAA4B;;AACvC;EAAU;EAA6B;;AACvC;EAAS;EAA6B;;;AAmCxC;EAAU,OA7FD;;;AA8FT;EAAU;EAAoB;EAAc;;;AAE5C;EAAI;EAAuB,aAnGnB;EAmGwC,WA1FvC;EA0F2D;EAAa;EAAkB;EAAgB;EAAc;EAAa;EAAkB;;;AAChK;EAAkB,aApGV;EAoG+B;EAAiB,OA/F/C;EA+F+D;EAAmB;EAAqB;EAAsB;EAAoB;EAAoB;AAAa;;;AAE3L;EAAkB;EAA4B;EAAmB;;;AAGjE;EAAmB;;;AAEnB;EACE;EAAiB,OAzGV;AAyG0B;EAAyB;EAAkB;EAAgB;EAAsB;EAA2B;;AAC7I;EApDA,OAtDO;EAsDQ;EAzBf;EAAiC;;AA0BjC;EAAS;;AACT;EAAW;EAA4B;;AACvC;EAAU;EAA6B;;AACvC;EAAS;EAA6B;;;AAmDxC;EAAI;EAA4B;EAAwB;EAAsB;EAAkB;EAAsB;;;AACtH;EAAI,OA9GK;EA8GW;EAAwB;EAAsB;EAAkB;EAAsB;;;AAG1G;EAAS;EAAoB;EAAa;EAAe;EAAkB;AAAa;EA3FpF;EACA;EACA;;;AA0FJ;EAAgB,OA9GR;EA8GuB,WA/GpB;EA+G0C;;;AACrD;EAAa;EAAoB;EAAa;EAAc;EAAiB;EAA2B;;;AACxG;EAAoB;AAAoB;EAAsB;EAAc;EAvF1E;EAAiC;;;AAwFnC;EAAwB;EAAoB;EAAa;EAAc;;;AACvE;EAAkB;EAAoB;;;AACtC;EAAgB;EAAoB;;;AACpC;EAAgB;EAAoB;;;AACpC;EAAiB;EAAoB;EAAW;;;AAChD;EAAe;;;AAGf;EAAQ;EAAgB;EAAiB,OA9HjC;EA8HgD;AAAkB;EAAyB;;;AAEnG;EAAY;EAAoB;;;AAEhC;EAAQ;EAAoB;EAAW;;;AACvC;EAAU;EAAoB;EAAuB;EAAa;EAAc;EAAkB;EAAuB;EAAiB;;;AAC1I;EAAY;;;AACZ;EAAmD;EAvGjD;EAAiC;;;AAwGnC;EAAe;EAAoB;EAAW;;;AAE9C;EAAS;EAAoB;EAAmB;EAAc;EAAmB;;;AAEjF;EAAkC;;;AAElC;EAAY;EAAoB;EAAW;EAAU;EAAgB;EAAc;;;AACnF;EAAiB;EAAe;EAAoB;EAAc;EAAW;EAAW;EAAa;AAAkB;EAA+C;EAAc;EAAiB;EAA0B;;;AAC/N;EAAiB;EAAe;EAAoB;EAAc;EAAW;EAAU;EAAa;AAAkB;EAAiD;EAAc;EAAiB;EAA0B;EAAY;;;AAC5O;EAAS;EAAsC;;;AAC/C;EAAc;EAAuC;;;AAErD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA;EACE;EAAoB;EAAU;EAAa;;AAC3C;EAAI;EAAoB;EAAuB;EAAsB;EAAmB;EAAW;;AACnG;EAAY;;AAEZ;EAAM;EAAgB;EAA+B,OAjK/C;EAiK8D;EAAiB;EAAsB;EAAmB;EAnI9H;EAAiC;;AAsIjC;EAAY,OAnKL;EAmKqB;AAA8B;;;AAG5D;EAAqB;EAAa;EAAiB;;;AACnD;EAA6B;AAAgB;;;AAC7C;EAA8B;AAAe;;;AAC7C;EAAiC;;;AAEjC;AACE;EAAuB;EAAoB;;AAE3C;EAAI;EAAoB;EAAiB;EAAa;EAAsB;;AAC5E;EAAI;EAAgB;EAAkB;EAAiB;EAAa;EAAkB;EAjKtF;;AAkKA;EAAU;EAAiB;EAAwC;EAAwB;EAlK3F;EAQE;EACA;EACA;;AA0JA;EAAS;EAAyC;EApKpD;EAQE;EACA;EACA;;;AA6JJ;EAAiB;EAAoB;EAAW;EAAY;EAAkB;EAAc;EA5K1F,uBA4K+H;EA3K/H,oBA2K+H;EA1K/H,eA0K+H;EAAO;EAAmC;;;AAE3K;EAAS;EAAoB;EAAuB;EAAW;EAAkB;EAA0B;;;AAC3G;AAAA;AAGA;AAAA;AAYA;EACE;EAAmB;;AACnB;EAAI;;;AAEN;EAZE;EAAoB;EAAa,aAahB;EAbsC;EAcvD;EAAU;EAAW;;AAbrB;EACE;EAAoB,OA7LhB;EA6L+B,WA9L5B;EA8LkD;EAAc,SAWzE;EAX6F,YAWxE;;AAVnB;EAAS;EAAiB;EAAoB;;AAYhD;EAAM;AAAoB;AAAqB;;AAC/C;EAAU;;AACV;EAAgB;;AAChB;EAAQ,OAjND;;AAkNP;EAAU;EAAmB;EAAsB;;AACnD;EAAsB;EAAmB;;;AAG3C;EAAY;EAAoE;EAA8B;EAAe;;;AAC7H;EAAgB;EAAoB;EAAY,WApNrC;EAoN2D;EAAc;;;AACpF;EAAY;EAAoB;EAAY;EAAuB;EAAa;EAAiB;EAAkB;EAAsB;EA1MvI;;;AA4MF;EAAe;EAAuB;EAAa;EAAiB;;;AACpE;EAAkB;EAAoB;EAAY;EAAoB;EAAc,YA3N3E;;;AA6NT;EAAc;;;AACd;EAAiB;;;AAGjB;EAAiB;EAAiB;EAAgB;EAAmB;;;AACrE;EAAgB;EAAgB;EAAiB;;;AACjD;EAAmB;;;AACnB;EAAuB;EAAa;;;AACpC;EAA0B;;;AAC1B;EAAgB;EAAuB;;;AAEvC;EAAe;;;AACf;EACE;EAAoB;EAAiB;AAKrC;;AAJA;EAAY;EAAoB;EAAmB;EAAY;;AAC/D;EAAO;EAAuB;EAAc;EAAoB;EAAY;EAAa;EAAe;;AACxG;EAAoB;EAAa;EAAkB;;AACnD;EAAU;EAAa;EAAiB;;AAExC;EACE;EAAwB;EA3NxB;EACA;EACA;;AA0NA;EAAQ;;AACR;EAAI;EAAiB;EAAa;;AAClC;EAAI;EAAa;EAAiB;;AAClC;EAAc;EAAe;EAAiB;;AAC9C;EAAG;;AAEL;EACE;EAAkB;EAAmB;;AACrC;EAAQ;EAAmB;EAAkB;;AAC7C;EAAI;EAAiB;;AACrB;EAAI;;AAEN;EAAc;;AACd;EAAO;EAAkB;EAAmB;EAAoB;;;AAElE;EAAa;EAAoB;EAAa;EAAqB;EAAoB;EAAmB;;;AAC1G;EAAe;EAAuB;EAAoB;EAAsB;EAAiC;EAAiB;EAAqB;EAAuB;;;AAC9K;EAA2C,OAnQlC;;;AAoQT;EAA2B;;;AAE3B;EAAa;;;AACb;EAA8B;EAAiB;;;AAC/C;EAAU;EAAY;EAAuB;;;AAC7C;EAAa;;;AACb;EAAc;EAAa;EAAgB;EAAmB;;;AAE9D;EAAuB;;;AACvB;EAAgB;;;AAEhB;EAAkB;;;AAClB;EAAe;;;AACf;EAAe;EAAoB;EAAmB;EAAiB;EAAgB;;;AACvF;EAAiB;EAAuB;;;AACxC;EAAsB;;;AACtB;EAAkB;;;AAClB;EAAkB;EAAqB;EAAkB;EAAoB;;;AAC7E;EAAoB;EAAuB;EAAa;EAAc;EAAkB;EAAoB;EAAyC;EAAa;EAAiB;;;AACnL;EAAoB;EAAwB;EAAyB;EAA4B;;;AAGjG;EAAM;EAAY;EAAa;EAAiB;EAA2B;EAA0B;EAA6B;;;AAClI;EAAa;EAAc;;;AAC3B;EAAS;EAAiB;EAAkB;EAAoB;;;AAChE;EAAiB;;;AACjB;EAAa;EAAiB;;;AAE9B;EAAW;EAAmB;;;AAC9B;EAAW;;;AACX;EAAc;;;AAEd;EAAc,kBApSL;EAoSgC;EAAa;EAAa;EAAa;EAAc;EAAc;;;AAE5G;AACA;EACE;EAAoB;EAAa;EAAc;EAAgB;EAAmB;EAA2B;EAC7G;EAAoB;EAAgB;;AACpC;EAAM;EAAc;;AACpB;EAAQ;EAAoB;EAAU;;AACtC;EAAiB;EAAoB;EAAY;;AACjD;EAAQ;AAAoB;EAhR5B;EAAiC;;AAkRjC;AAAgB;;AAChB;EAAG;EAAoB;EAAuB,OAhTvC;;AAkTP;EAAQ;EAAW;EAAiB;EAAa;EAAoB;;AACrE;EAAc;EAA8D;EAAoB;;AAChG;EAAK;EAAoB;EAAa;EAAc;EAAY;;AAChE;EAxRA;EAAiC;;AAyRjC;EAAkB;;;AAEpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA;EACE;EAAoB;EAAU;EAAa;AAAc;EAAsB;EAAwB;EAAa;EAAgB;;AACpI;EAAa;EAAoB;EAAY,WA/TpC;EA+T0D;EAAc;;AACjF;EAAO;EAAY;;AACnB;AAAS;EAAgB;;AACzB;EAAS;EAAuB;EAAqB,OArU9C;EAqU8D;;AACrE;EAAI;EAAgB;EAAuB,OAxUxC;AAwUoD;EAAoB;EAAiB;EAAkB;;AAC9G;EAAI;EAAgB;EAAuB;EAAsB;;AACjE;EAAO;EAAmB;;AAC1B;EACE;EAAoB;EAAU;EAAS;EAAa;AAEpD;;AADA;EAAU;EAAgB;EAAY;;AAEtC;EAAU;EAAY;EAAc;EAAa;EAAmB;EAAmB;;AACvF;EAAgB;EAAkB;EAAkB;;AACpD;EAAY;;AACZ;EAAc;;AAEhB;EAAQ;;AACR;EAAI;EAAkB;EAAa;EAAsB,kBAnVlD;EAmV6E;;AACpF;EAAS;;AACT;EAAS;EAAoB;EAAa;EAAU;EAAuD;EAAa;EAAc;EAAoB;EAAW;EAAY;;AACjL;EAAS;;AACT;EAAY;EAAoB;EAAkB;EAAwB;;;AAG5E;EAAc;EAAa;AAAkB;EAAoB;EAAgB;EAA2B;;;AAC5G;EAAc;EAAa;EAAoB;EAAgB;EAAqB;EAA2B;;;AAC/G;EAAc;EAAY;EAAc;EAAmB;EAAkB;;;AAC7E;EAAU;EAAoB;EAAe;EAAc;EAAkB;EAAoB;;;AAGjG;EAAc;;;AACd;EAAW;EAAoB;AAAuB;EAAmB;EA3UrE;EACA;EACA;;;AA0UJ;EAAmB;EAAa;;;AAEhC;EAAO;EAA4B;EAAe;;;AAGlD;EArTE;EAAkB;EAAoB;EACtC;;;AAqTF;EAtTE;EAAkB;EAAoB;EACtC;;;AAsTF;EAvTE;EAAkB;EAAoB;EACtC;;;AAuTF;EAxTE;EAAkB;EAAoB;EACtC;;;AAwTF;EAzTE;EAAkB;EAAoB;EACtC;;;AAyTF;EA1TE;EAAkB;EAAoB;EACtC;;;AA0TF;EA3TE;EAAkB;EAAoB;EACtC;;;AA4TF;AACA;EAAU;EAA2B;EAAe;EAAwB;;;AAC5E;EAAW;;;AACX;EAAU;EAAiB;EAAmB;EAAiB;EAA2B;EAAgB;;;AAC1G;EAAa;;;AACb;EApVE;EAA2B;EAAa;EAAgC,aApCnE;EAoCuF;EAAkB;;;AAqVhH;EAAa;EAAc;;;AAE3B;EA/UE;EAAuB,WA+U8B;EA/UR,SA+Uc;EA9U3D,kBA8UwC;EA9UT,OAzCxB;EAyCuC,QA8UuB;EA7UrE,WA6UuF;EA7UjE,aA6UwE;EA7U9C,gBA6UmD;EA7UnB;EAAoB;EACpG;EAdA;EAAiC;;AAiBjC;EAAS,OAyU+B;EAzUX,kBA9CtB;;;AAwXT;EAhVE;EAAuB,WAgV8B;EAhVR,SAgVc;EA/U3D,kBAzCO;EAyCwB,OA+UiB;EA/UF,QA+UqB;EA9UnE,WA8UqF;EA9U/D,aA8UsE;EA9U5C,gBA8UiD;EA9UjB;EAAoB;EACpG;EAlCA,uBAmCyC;EAlCzC,oBAkCyC;EAjCzC,eAiCyC;EAfzC;EAAiC;;AAiBjC;EAAS,OA9CF;EA8CsB,kBA0UmB;;;AAClD;EAjVE;EAAuB,WAiVgC;EAjVV,SAiVgB;EAhV7D,kBAgVuC;EAhVR,OAzCxB;EAyCuC,QAgVyB;EA/UvE,WA+UyF;EA/UnE,aA+U0E;EA/UhD,gBA+UqD;EA/UrB;EAAoB;EACpG;EAlCA,uBAmCyC;EAlCzC,oBAkCyC;EAjCzC,eAiCyC;EAfzC;EAAiC;;AAiBjC;EAAS,OA2U8B;EA3UV,kBA9CtB;;;AA0XT;EAlVE;EAAuB,WAkV6B;EAlVP,SAkVY;EAjVzD,kBAiVuC;EAjVR,OAzCxB;EAyCuC,QAiVuB;EAhVrE,WAgVuF;EAhVjE,aAgVuE;EAhV7C,gBAgVkD;EAhVlB;EAAoB;EACpG;EAlCA,uBAmCyC;EAlCzC,oBAkCyC;EAjCzC,eAiCyC;EAfzC;EAAiC;;AAiBjC;EAAS,OA4U8B;EA5UV,kBA9CtB;;;AA2XT;EAnVE;EAAuB,WAmV8B;EAnVR,SAmVc;EAlV3D,kBAzCO;EAyCwB,OAkViB;EAlVF,QAkVuB;EAjVrE,WAiVuF;EAjVjE,aAiVuE;EAjV7C,gBAiViD;EAjVjB;EAAoB;EACpG;EAlCA,uBAmCyC;EAlCzC,oBAkCyC;EAjCzC,eAiCyC;EAfzC;EAAiC;EA+VT;EAAmB;EAAiB;;AA9U5D;EAAS,OA9CF;EA8CsB,kBA6UmB;;;AAGlD;EAAuB;EAAW;EAAY;EAAoB;EAAW;;;AAC7E;EAA0B;EAAuB;EAAW;EAAY;EAAoB;EAAW;;;AACvG;EAAa;EAAY;;;AACzB;EAAa;EAAgB;EAAc;EAAoB;;;AAE/D;EAAa;EAAiB;EAAmB;EAAgB;EAAqB;;;AACtF;EAAa;;;AACb;EAAa;;;AACb;EAAgB;;;AAChB;EAAa;;;AACb;EAAa;;;AACb;EAAgB;;;AAChB;EAAc;EAAa;;;AAC3B;EAAgB;EAAc;;;AAC9B;EAAgB;EAAY;;;AAC5B;EAAa;EAAc;;;AAC3B;EAAa;EAAa;EAAoB;EAAW;EAAS;;;AAClE;EAAQ;;AACN;EAAO;EAAoB;EAAW;;AACtC;EAAO;;;AAGT;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAUE;EAAkB;EAClB;;;AAGF;EAAQ;EAAa;EAAmB;EAAgB;EAAoB;EAAc;EAAmB;;;AAC7G;EAAsB;EAA4B;EAA+B;;;AACjF;EAAuB;EAA+B;EAAkC;;;AACxF;EAAwB;EAA4B;EAA+B;;;AACnF;EAAQ;EAAY;EAAmB;;;AACvC;EAAW;;;AACX;EAAsB;;;AAEtB;EAAI;EAAgB;EAAc;;;AAClC;EAAY;EAAa;EAAa;EAAc;EAAoB;;;AACxE;EAAc;EAAa;EAAc;EAAoB;;;AAE7D;EAlZE;EAAiC;;;AAmZnC;EA1ZI;EACA;EACA;;;AAyZJ;EAxaE,uBAwawB;EAvaxB,oBAuawB;EAtaxB,eAsawB;;;AAC1B;EApXE;EACA;EACA;EACA;EACA;;;AAiXF;EAAS;EAAuB;EAA2B;EAAuB;EAtZhF;EAAiC;;;AAuZnC;EAAc;EAA2B;;;AACzC;EAAa;EAA2B;;;AACxC;EAAW;EAA4B;;;AACvC;EAAa;EAA0B;;;AACvC;EAAW;EAA2B;;;AACtC;EAAS;EAAoB;;;AAC7B;EAAa;EAA2B;EAAwB;EAAqB;EAjbnF,uBADsB;EAEtB,oBAFsB;EAGtB,eAHsB;;;AAmbxB;EAAwB;EAAa;AAAuB;;;AAC5D;EAAyB;EAAc;AAAuB;;;AAC9D;EAAY;EAAoB;;;AAChC;EAAY;EAAkB;;;AAC9B;EAAY;EAAkB;;;AAC9B;EAAU;EAAkB;;;AAC5B;EAAa;EAAsB;;;AACnC;EAAa;EAAkB;;;AAC/B;EAAmB;EAAsB;;;AACzC;EAAgE;;;AAChE;EAAuE;;;AACvE;EAA2E;;;AAC3E;EAAa;EAA4B;;;AACzC;EAAoB;;;AACpB;EAAY;;;AACZ;EAAa;;;AACb;EAAa;;;AACb;EAAS;;;AACT;EAAS;;;AACT;EAAU;EAAa;;;AACvB;EAAS;;;AACT;EAAS;;;AACT;EAAS;;;AACT;EAAW;;;AACX;EAAQ;;;AACR;EAAU;;;AACV;EAA4B;EAAoB;;;AAChD;EAAU;;;AACV;EAAU;;;AACV;EAAU;;;AACV;EAAU;;;AACV;EAAU;;;AACV;EAAU;;;AACV;EAAU;;;AACV;EAAU;EAAc;;;AACxB;EAAU;;;AACV;EAAU;;;AACV;EAAe;;;AACf;EAAgB;;;AAChB;EAAS;;;AACT;EAAU;EAAe;EAAoB;;;AAC7C;EAAW;AAAiE;EAC5E;AAAmE;EACnE;AAAiE;EACjE;AAAqH;;;AC7erH;EAAW;EAAoB;EAAe;EAAU;EAAY;;;AACpE;EAAe;;;AAEf;AACA;EAA4B;EAAoB;EAAiB;EAAU;EAAmB;EAAgB;;;AAC9G;EAAmC;EAAiB;EAAa;EAAqB;EAAuB;;;AAC7G;EAAkC;EDchC;;;ACbF;EAAkC;;;AAClC;EAAkC;EAAuB;EAAkB;EAAY;EAAW;;;AAEhG;EAAQ;;AACR;EAAe;;AACf;EAAY;;AACZ;EAAI;;AACJ;EAAS;;AACT;EAAiB;;;AAInB;EDsBE;AAAc;EACd;AAAoC;EACpC;AAA4B;EAR5B;EAAiC;;;ACfnC;EDqBE;AAAc;EACd;AAAoC;EACpC;AAA4B;;;ACrB9B;EAAQ;EAAoB;EAAiB;EAAoC;;;AACjF;EAAe,WDdJ;ECc0B;;;AACrC;EAAW;EAA2B;EAAkB;EAAiB;;;AAEzE;EAAY;EAAoB;EAAW;EAAY;EAAa;EAAoB;;;AACxF;EAAe;EAAoB;EAAiB;;;AACpD;EAAoB;EAAoB;EAAa;EAAkB;;;AACvE;EAAc;;;AACd;EAAY;EAAoB;EAAY;;;AAE5C;EAAU;EAAoB;EAAc;EAAiB;;;AAC7D;EAAa;;;AACb;EAAc;EAAY;;;AAC1B;EAAS;EAAY;;;AACrB;EAAa;EAAoB;;;AAEjC;EAA2B;;;AAE3B;EAAO;EAAoB;;;AAC3B;EAAqB;EAAY;EAAkB;EAAc;;;AACjE;EAAuB;EAAY;EAAmB;EAAa;EAAqB;;;AACxF;EAAa;;;AACb;EAAW;;;AACX;EAAU;;;AAEV;EAAgB;EAAoB;EAAc;;;AAClD;EAAkB;;;AAClB;EAAe;EAAoB;EAAa;;;AAChD;EAAiB;;;AAEjB;EAAS;EAAiB;;;AAC1B;EAAM;;;AACN;EAAY;EAAoB;EAAgB;EAAa;EAAa;EAAoB;EAAmB;AAC/G;EACA;EAA8B;EAC9B;EACA;;;AAEF;EAAO;EAAoB;EAAkB;EAAoB;EAAwC;;;AAEzG;EAAU;AAAkB;;;AAC5B;EAAoB;AAAkB;;;AACtC;EAAa;EAAoB;EAAa;AAA4B;;;AAC1E;EAAc;EAAgB;EAAoB;EAAc;EAAe;;;AAE/E;EAAa;EAAa;EAAmB;EAAoB;EAAgC;;;AACjG;EAAuB;;;AACvB;EACI;;;AAEJ;EAAgB;;;AAChB;EAAuB;;;AAEvB;EAAQ;EAAa;;;AACrB;EAAiB;;;AAEjB;EAAO;EAAc;;;AACrB;EAAW;EAAgB;EAAoD;EAAc;EAAqB;;;AAClH;EAAe;EAAc;;;AAC7B;EAAiB;;;ACjFjB;EACE;;;AA0BE;EAgDF;IAAiB;IAAU;;;EAC3B;IAAoB;;;EACpB;IAAoB;;;AAlDlB;AAUF;EACD;IAAe;;;EACd;IAAe;;;EAChB;IAAsB;IAAwB;IAAgC;;;EAC9E;IAAsB;;;EACrB;IAAmB;;;EA0CnB;IAAiC;;;EACjC;IAAgD;;;EAEjD;IAAI;;;EAGJ;IAAoB;IAAU;;;EAC9B;IAAe;;;EACd;IAAmB;;;AAjEjB;EAkBF;IAAa;;;EACb;IAA0C;;;EAC1C;IAAwB;IAAiB;IAAa;IAAa;IAAW;IAAa;;;EAC3F;IAAwB;;;EACxB;IAAwB;IAAgB;;;EAsDxC;IAAS;;;EAET;IAAwB;;;EAItB;IAAkC;IAAiB;;EAEnD;IAAgD;IAAa;IAAqB;IAAkB;;EACpG;IAAkE;IAAqB,OF1GlF;;EE2GL;IAAiB;;EACjB;IAAoB;;EACpB;IAA+B;IAAkC;;EACjE;IAAsB;;EACtB;IAAQ;;;EAET;IAAsB;;;EACxB;IAAO;;;EAEP;IAAS;AAAoB;;;EAC7B;IAAkB;;;EAClB;IAAY;IAAoB;IAAiB;IAAW;IAAc;IAAa;IAAsB;IAAqB;AAA+E;;;EACjN;IAAuB;IAAoB;IAAkB;IAAqB;IAAmB;IAAc;IAAc;IAAiB;;;EAClJ;IAA4B;IAAuB;IAAa;;;EAChE;IAA4B;IAAa;IAAqB;IAAa;;;EAC3E;IAAkC;;;EAClC;IAAmB;;;EAElB;IAAiB;;;EACjB;IAAiB;IAAuB;IAAc;;;EACtD;IAAU;;;EAEV;IAAiD;;;AACjD;EACA;IAAuB;;;EAGxB;IAAoB;;;EACpB;IAA0B;IAAiB;;;EAC1C;IAAmB;IAAiB;;;EAUrC;IAAkB;IAAgB;IAAkB;IAAU;;;EAC9D;IAAY;;;EAEZ;IAAM;;;EACN;IAAW;;;EACX;IAAW;IAAuB;;;EAElC;IAAe;IAAgB;IAAY;;;EAC3C;IAAiB;IAAwB;;;EAEzC;IAAmB;;;EACnB;IAAmB;;;EACnB;IAAM;IAAY;;;EAClB;IAAW;;;EACX;AAAW;;;EAGV;IAA0B;IAAgB;;;EAC1C;IAAe;;;EACf;IAAU;;;EACV;IAAc;;;EACd;IAAS;IAAa;IAAa;;;EACnC;IAAiB;;;AAnJf;EAyBF;IAAU;IAAY;IAAoB;;;EAC1C;IAAQ;IAAa;;;EACrB;IAAO;;;EAEP;IAAe;;;EAChB;IAAkB;;;EAClB;IAAe;IAAa;IAAkB;;;EAC9C;IAAmB;;;EACnB;IAAsB;;;EAyHrB;IAAwB;IAAa;;;EACrC;IAAkB;;;AACnB;EAOA;IAAoB;;;EACnB;IAAoB;;;EACrB;IAAoB;;;EACpB;IAA0B;;;EAEzB;IAAgC;;;EAIjC;IAAiB;;;EACjB;IAAiB;;;EAEjB;IAAwB;;;EACxB;IAAI;;;EACH;IAAuB;;;EACvB;IAAM;IAAY;;EAChB;IAAW;;EACX;IAAc;IAAoB;IAAe;;;EAGpD;IAAY;IAAW;;;EACvB;IAAS;;;EAEN;IAAO;;EACR;IAAS;;EACR;IAAI;;EACJ;IAAO;;EACP;IAAuB;;EACvB;IAA0B;;EAC1B;IAA6B;;EAC7B;IAA0B;;EAC1B;IAAS;IAAoB;IAAa;;EAC1C;IAAe;IAAoB;;;EAIrC;IAAY;;;EACZ;IAAY;;;EACZ;IAA0B;;;AAzMxB;EAoCF;IAAU;IAAa;;;EAGvB;IAAW;IAAa;;;EACxB;IAAkB;;;AAqKnB;EAIC;IAAgB;;;EAChB;IAAuB;;;EACvB;IAAa;;;EAEX;IAAkC;IAAa;;;EAEjD;IAA4B;;;EAE7B;IAAI;IAAiB;;;AACrB;EACC;IAAY;IAAa;;;EAG1B;IAAiB;;;EAChB;IAAoB;;;EACrB;IAAoB;;;EAEpB;IAAe;;;EACd;IAAQ;;;EACT;IAAiC;;;EACjC;IAAY;;;AACZ;EACA;IAAoB;;;EAEpB;IAAY;;;EACZ;IAAS;;;AA1ON;EAiPD;IAAQ;;;EAET;IAAkB;;;EACnB;IAAwB;;;EACvB;IF5PA;;;EE6PA;IAA0B;;;EAC1B;IAA4B;;;AAC7B;AAAA;EAEA;IAAkB;;;EAClB;IAAgB;;;EAChB;IAAM;;;EAEL;IAAiB;;;EACjB;IAAiB;;;EACjB;IAAqB;IAAoB;;;EACzC;IAAW;;;EACX;IAAiB;;;EACjB;IAAsC;;;EACtC;IAAW;;;AApQT;EAyQF;AAAS;IAAkB","file":"style.css"}
diff --git a/green_deal/static/green_deal/css/style.min.css b/green_deal/static/green_deal/css/style.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..06ab9671e5316795405ef5e4f19ec311d5133720
--- /dev/null
+++ b/green_deal/static/green_deal/css/style.min.css
@@ -0,0 +1 @@
+@charset "UTF-8";*,h1{margin:0;padding:0}#footer ul.mainmenu li a:hover,abbr,acronym,img,object{border:0}ul li{margin-left:20px;list-style-image:url(../images/li.png)}ol{list-style-position:inside}ol li{color:#fff;background-image:url(../images/olli.png);background-position:0;background-repeat:no-repeat;padding:.5em 11px}ol li span{color:#000;padding-left:1em}body,html{height:100%}body{width:100%;background:#fff;font-family:"Roboto Condensed",sans-serif;font-size:medium;line-height:1.3em}a,h3 a{font-weight:700;-moz-transition:.4s all ease;-webkit-transition:.4s all ease}a:link{text-decoration:underline}a:active,a:hover,a:visited{color:#000;text-decoration:none}a:active,a:hover{color:#4d4d4d}a:hover{text-decoration:underline}.content strong,a,body,h3 a,strong{color:#000}address{font-style:normal;padding:0;line-height:16px}h1{display:inline-block;font-family:"Roboto",sans-serif;font-size:250%;font-weight:200;text-align:left;line-height:1.2em}.content>.inner>.text,h2{line-height:1.5em;margin:auto}h2,h2 a:link{font-weight:700;text-transform:none}h2{font-family:"Roboto",sans-serif;font-size:130%;color:#000;padding-bottom:0;text-align:center}h2 a:link{text-decoration:underline}h2 a:hover,h3 a:link,h3 a:visited{text-decoration:none}h3,h4{font-weight:900}h3{font-size:150%;color:#000;padding:5px 0;margin-bottom:.2em;text-transform:uppercase;line-height:1.3em}h3 a:visited{color:#000}h3 a:active,h3 a:hover{color:#4d4d4d;text-decoration:none}h4{color:#1a1a1a;font-size:125%;padding:0 0 .5em}#slideshow h2,h4,h5{text-transform:none}a.home,h4,h5{text-decoration:none}a.home,h5{color:#000}h5{font-size:83.3333333333%;font-weight:700;padding:.5em 0}#header,#header_top{position:relative;width:100%}#header{height:150px;background:#fff;z-index:50;-webkit-box-shadow:2px 0 3px rgba(0,0,0,.2);-moz-box-shadow:2px 0 3px rgba(0,0,0,.2);box-shadow:2px 0 3px rgba(0,0,0,.2)}#header .inner,.content>.inner{width:90%;max-width:1100px;margin:auto}#header_top{height:45px;padding:20px 0;background-color:#212121;z-index:2}#flags a.active svg path,#flags a:hover svg path,#header_top .inner,.mainmenu li a,.mainmenu_menu li a{-moz-transition:.4s all ease;-webkit-transition:.4s all ease}#header_top .inner{position:relative;margin:auto;padding-top:2px}#header_top .logo_cont{position:relative;float:left;width:160px;border-right:1px solid #fff}#header .title,#header_top .soc{position:relative;top:10px}#header .title{top:0}#header_top h1{left:20px}#header h1 span{top:25px;left:.5em}#header .logo{max-width:150px}a.home{font-size:100%;font-weight:400}a.home img{float:left}#flags,.head_menu{position:relative;top:15px;float:right}#cont,#flags a,#header h1 span,#header_top h1,a.home img{position:relative}#flags a{display:inline-block;width:44px;height:44px;margin-left:0;text-decoration:none;font-size:18px;text-transform:uppercase}#flags a span,#flags svg{position:absolute}#flags a.active svg path,#flags a:hover svg path{fill:#fff}#flags a span{top:10px;left:5px}#cont{max-width:1042px;margin:auto;padding-top:50px;overflow:hidden}#menu .social,#responsive_flags{display:none}.head_menu{top:20px;right:0;max-width:60%;z-index:50}#mob_menu_close,#mob_menu_open{display:none;position:absolute;float:right;top:95px;width:40px;background:0 0;border:0;cursor:pointer;transition:.5s all ease;outline:0}#mob_menu_open{right:5%}#mob_menu_close{left:5%;opacity:0}.rotate{transform:rotate3d(0,0,1,180deg);-webkit-transform:rotate3d(0,0,1,180deg)}.rotate_back{transform:rotate3d(0,0,1,-180deg);-webkit-transform:rotate3d(0,0,1,-180deg)}.mainmenu,.mainmenu_menu{position:relative;top:0;z-index:10;max-width:100%}.mainmenu li,.mainmenu_menu li{position:relative;display:inline-block;padding-right:.5em;padding-left:0;margin:0;list-style:none}.mainmenu li.border,.mainmenu_menu li.border{padding-left:0}.mainmenu li a,.mainmenu_menu li a{display:block;padding:0 .5em 22px;color:#000;font-size:130%;text-decoration:none;font-weight:700;text-transform:none}.mainmenu li a:hover,.mainmenu_menu li a:hover{color:#000;border-bottom:3px solid #000}#responsive_menu ul{left:-115%;padding:1em 4%;background:rgba(0,0,0,.8)}#footer ul.mainmenu>li ul li,#responsive_menu li.open ul,#slideshow p,a.home{display:block}#responsive_menu li.close ul{display:none}#footer strong,#responsive_menu .mainmenu li a,h1,p.underline strong{color:#fff}#slideshow{position:relative;top:0}#slideshow h2{text-align:center;font-size:350%;color:#fff;font-weight:900}#slideshow p{max-width:580px;font-size:160%;color:#fff;font-weight:300;line-height:1.8em;text-shadow:0 2px 2px #000}#slideshow a.button{margin-top:1em;background-color:rgba(255,255,255,.2);border:1px solid #fff;font-size:120%;text-shadow:-1px -1px 4px rgba(0,0,0,.3);-webkit-box-shadow:-2px -2px 5px rgba(0,0,0,.2);-moz-box-shadow:-2px -2px 5px rgba(0,0,0,.2);box-shadow:-2px -2px 5px rgba(0,0,0,.2)}#slideshow a.button:hover{background-color:rgba(255,255,255,.5);color:#fff;text-shadow:0 0 2px rgba(0,0,0,.3);-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);-moz-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}#slideshow_text{position:absolute;top:70px;right:21%;max-width:680px;padding:2em;text-align:center;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;background-color:rgba(0,0,0,.5);z-index:11}#slider{position:relative;padding-bottom:43.5%;height:0;overflow:hidden;transition:.5s all ease;margin-bottom:2em}#content{min-height:574px;font-size:100%}#content ul{padding:10px 0}.content{width:100%;padding-top:1em;margin:auto;top:0;left:0;z-index:20}.content>.inner{padding:3em 0;text-align:left}.content>.inner>.text{font-size:110%}#navigation,.content,.content h2,.content>.inner,.fixed1 a.button{position:relative}.content .inner p{padding-bottom:20px}#homepage.content>.inner,.contact_form .half p,.contact_form .twothird p,.content .inner ul li p{padding-bottom:0}.content ol,.content ul{padding-top:10px;padding-bottom:20px;font-size:100%}.content ol li ol,.content ul li ul{padding-top:10px;padding-bottom:10px}.fixed1{background:url(../images/banners/uvod.jpg) center top no-repeat;background-attachment:fixed;height:300px;margin-bottom:3em}.fixed1 .inner,.fixed1 h2{position:relative;text-align:center}.fixed1 .inner{width:90%;max-width:1100px;margin:auto}.fixed1 h2{top:1.9em;padding-bottom:1.5em;color:#fff;font-size:320%;font-weight:200;text-transform:none;text-shadow:0 5px 5px #000}.fixed1 ul li{padding-bottom:.5em;color:#fff;font-size:130%;font-weight:300}.fixed1 a.button{top:1.5em;padding:.8em 2em;margin:auto;background:#000}.twothird ul{padding-top:0}.twothird ul li{margin-left:15px}.text_blocks h2{font-size:160%;color:#ff5b0b;font-weight:700;margin-bottom:.5em}.text_blocks p{color:#7f7f7f;font-size:120%;font-weight:300}.text_blocks .row{margin-bottom:20px}.text_blocks .row img{float:left;max-width:13%}.text_blocks .row .inner{padding-left:15%}.text_blocks a{text-decoration:none;color:#7f7f7f}.gray_bg{background-color:#eee}.contact_form{position:relative;margin-top:0;margin-bottom:3em}.contact_form>.inner{position:relative;max-width:1200px;width:90%;margin:auto}#navigation a,.contact_form label{display:inline-block;font-weight:400}.contact_form label{cursor:text;position:relative;top:2.5em;color:#000;font-size:90%}.contact_form input[type=text]{width:100%;margin-bottom:0;border-bottom:1px solid #fff}.contact_form textarea{width:100%;padding-left:0;border-bottom:1px solid #fff}.contact_form .half,.contact_form .twothird{background-color:#fff;color:#000;-webkit-box-shadow:3px 3px 15px #888;-moz-box-shadow:3px 3px 15px #888;box-shadow:3px 3px 15px #888}.contact_form .half .inner,.contact_form .twothird .inner{padding:2em 1em 2em 2em}.contact_form .half h3,.contact_form .twothird h3{font-size:110%;color:#000;font-weight:700}.contact_form .half h4,.contact_form .twothird h4{color:#fff;font-size:130%;font-weight:100}.contact_form .half hr.underline,.contact_form .twothird hr.underline{display:none;margin:inherit;margin-bottom:3em}.contact_form .third{margin-top:70px;max-height:600px;overflow-y:scroll}.contact_form .third .inner{padding-left:5em;padding-top:0;font-size:x-small}.contact_form .third h3{font-size:150%;text-transform:uppercase}.contact_form .third p{font-size:small}.contact_form .g-recaptcha{text-align:center}.contact_form .info{font-size:small;text-align:right;line-height:1.5em;font-weight:100}#navigation{top:-.5em;padding-bottom:1em;margin-bottom:2em;font-size:medium;border-bottom:2px solid #7f7f83}#navigation a{padding:3px 1.5em;margin-bottom:.5em;border-right:1px solid #7f7f83;font-size:120%;text-decoration:none;color:#fff}#navigation a:active,#navigation a:hover{color:#000}#navigation a:last-child{border-right:none}#kontakty p{padding-bottom:0!important}#kontakty .half hr.underline{margin:inherit;margin-bottom:3em}.kontakt{width:33%;display:inline-block;margin-bottom:5px}.kontakt h4{color:#329f4d}.kontakt img{float:left;max-width:25%;margin-right:2em}.content a.tel strong{font-weight:400}.content a.tel{text-decoration:none}#uvod .blog_post{padding-top:5px}.blog_post,.kontakt img{margin-bottom:2em}.blog_post h2{font-size:120%;color:#d04000;font-weight:700}#footer a,.blog_post h2 a,.pagination a{text-decoration:none;color:#24a3d8}.blog_post .mainpost{font-size:85%}.blog_post .link{font-size:small}.blog_post .date{padding-bottom:2em;font-size:small;font-style:italic;line-height:1em}.blog_post .button{display:inline-block;width:95px;height:26px;margin-top:10px;padding-left:10px;background:url(../images/submit.jpg);color:#fff;font-size:12px;text-decoration:none}.blog_post .stroke{border:1px solid #ccc;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}.box{width:31%;float:left;margin-top:2em;border:1px solid #ebebeb;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.box .inner{padding:2em;text-align:center}.box h3{font-size:180%;font-weight:300;line-height:1.2em;color:#6b6b6c}.box .underline{margin-bottom:3em}.box.middle{margin-left:4%;margin-right:4%}.block h2,.blog_post h2{padding-bottom:0;margin-bottom:0}.block h4{display:inline}.block .info{padding-bottom:2em}hr.underline{color:#fff;height:3px;width:85px;border:0;margin:auto auto 3em}.pagination{position:relative;width:100%;height:auto;margin:3em auto 4em;text-align:center;color:#787878;font-weight:400}.pagination span{padding:8px;margin:0 3px}.gdpr span,.pagination .ppage{position:relative;top:0;font-size:150%}#footer>.inner,.pagination .ppage_inactive{position:relative;padding:0;margin:0}.pagination .ppage{padding:17px 25px;-moz-transition:.4s all ease;-webkit-transition:.4s all ease}.pagination a{position:relative;color:#000}.pagination .arrow{border:0;font-size:400%;color:#ccc;position:relative;top:9px}.pagination a span.arrow{color:gray;position:relative;top:9px}.pagination svg{position:absolute;width:45px;height:50px;top:-17px;left:12px}.pagination svg path{-moz-transition:.4s all ease;-webkit-transition:.4s all ease}.pagination a:hover svg path{fill:#ccc}#footer,#footer hr,hr.underline{background-color:#000}#footer{position:relative;top:0;width:100%;height:auto;color:#fff;font-size:90%;margin-top:30px}#footer>.inner{width:94%;max-width:1100px;margin:auto;padding:2em 0}#footer .menu{width:85%;float:left}#footer .social{float:left}#footer .eshop{display:inline-block;padding-bottom:2em;color:#000;font-weight:700}#footer h4{padding-top:0;padding-bottom:.5em;color:#fff;font-size:140%;font-weight:900;text-transform:none}#footer a{color:inherit;text-transform:none;font-weight:400}#footer ul{padding-left:0;padding-top:0}#footer ul.mainmenu{position:relative;top:0;left:0;width:auto;background:0 0}#footer ul.mainmenu>li,.pagination{display:block;padding:0}#footer ul.mainmenu>li a{padding:0;border:0;float:none;font-size:medium;font-weight:700;color:#fff}#footer ul.mainmenu>li ul li a{font-size:small;font-weight:300;color:#838383}#footer hr{max-width:215px;height:1px;margin-bottom:1.5em;border:0}#footer .hidden{height:0}#footer .submit{position:relative;left:-35px;top:8px;background:url(../images/lupa.png) 50% 0 no-repeat;width:25px;height:25px;min-width:inherit;border:0;padding:0;margin:0}#footer .search{width:80%}#footer .backlinks{text-align:center;padding:1em 2em;background-color:#333;font-size:x-small}.copyright,.copyright a{text-transform:uppercase;line-height:20px}.copyright{bottom:1em;text-align:left;font-size:75%}.copyright a{color:#000;position:relative;font-size:90%;font-weight:400}.fright{width:20%;float:right;text-align:right;padding-left:5%;padding-bottom:4em}#counter{position:absolute;bottom:.5em;margin:auto;font-size:small;color:#000}#counter,.fotogalerie{text-align:center}.lightbox{position:relative;display:inline-block;line-height:0;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.googlemap iframe{width:100%;height:560px}.map{border:1px dashed #518d08;padding:10px;margin-top:20px}li.ct,li.doc,li.htm,li.jpg,li.pdf,li.tub,li.wmv{list-style:none;padding-left:25px;margin-left:0;background:url(../images/$filename.png) 0 50% no-repeat}fieldset,select{margin-bottom:10px}fieldset{border:2px #e1f3f8 solid;padding:10px}.fieldset,fieldset{background-color:#fff}label,legend{font-weight:700}legend{font-size:100%;padding:0 10px;border:1px #e1f3f8 solid;color:#377bba;background-color:#e1f3f8}input{margin-bottom:15px}input[type=password],input[type=text],textarea{background-color:#f6f6f6;color:#000;padding:.6em 10px;font-family:"Roboto Condensed",sans-serif;font-size:large;border:0}textarea{width:330px;height:100px}input[type=submit]{display:inline-block;min-width:160px;padding:.8em 2em;border:1px solid #000;font-size:medium;font-weight:700;text-transform:none;text-align:center;text-decoration:none;cursor:pointer;-moz-transition:.4s all ease;-webkit-transition:.4s all ease}a.button,a.button_m,a.button_s,input[type=submit]:hover{color:#fff;background-color:#000}a.button,a.button_m,a.button_s{display:inline-block;min-width:100px;padding:1em 2em;border:1px solid #000;font-size:medium;font-weight:700;text-transform:none;text-align:center;text-decoration:none;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-moz-transition:.4s all ease;-webkit-transition:.4s all ease}a.button:hover,input[type=submit]{color:#000;background-color:#fff}a.button_m,a.button_s{min-width:120px;padding:.8em 1em;background-color:#fff7e4;color:#000}a.button_m:hover{color:#fff7e4;background-color:#000}a.button_s{min-width:80px;padding:.5em 1.5em;background-color:#fff;font-size:small}a.button_s:hover,a.promo_button{color:#fff;background-color:#000}a.promo_button{display:inline-block;min-width:150px;padding:.5em 1em;border:1px solid #000;font-weight:200;text-transform:none;text-decoration:none;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-moz-transition:.4s all ease;-webkit-transition:.4s all ease;text-align:right;font-size:150%;line-height:1.2em}a.promo_button:hover{color:#000;background-color:#fff}input[type=checkbox],input[type=radio]{padding:0;margin:0 10px 0 0;border:0;background:0 0}input[type=checkbox]{transform:scale(1.5)}.must{color:red;font-size:150%}select{color:#707173;height:25px;padding-left:10px}label{font-size:105%;color:#666;padding-bottom:2px;display:block}input.short,label.short{width:260px}input.long,label.long{width:99%}input.minimal,label.minimal{width:100px}.input_cont{float:left;margin-right:20px}textarea.short{width:260px;height:80px}textarea.long{width:99%;height:80px}.minfloat{width:132px;float:left}a.linkout{color:#fff;position:relative;bottom:0;left:0;z-index:1}.gdpr{margin-top:1em}.gdpr span{top:-3px;font-size:small}.gdpr a{color:#000}input:-webkit-autofill,input:-webkit-autofill:focus input:-webkit-autofill,input:-webkit-autofill:hover,select:-webkit-autofill,select:-webkit-autofill:focus,select:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus{background:0 0;color:#bddfff!important;transition:background-color 5000s ease-in-out 0s}.error,.msg,.notice,.success{width:100%;font-weight:700;padding:5px 0;text-align:center;margin:auto;font-size:medium;color:#fff}.error{border-top:2px solid #000;border-bottom:2px solid #000;background:#b20400}.notice{border-top:2px solid #a19400;border-bottom:2px solid #a19400;background:#e6d302}.success{border-top:2px solid #0c0;border-bottom:2px solid #0c0;background:#090}#error{width:90%;max-width:1200px;margin:auto}#error h1{color:#b20400}#error p,#error ul{padding-bottom:1em}hr{color:#67b2b7;border:0;border-bottom:1px solid #67b2b7}hr.cleaner{clear:both}hr.cleaner,hr.cleanerie{height:1px;border:0;margin:-1em 0 0;visibility:hidden}.trans{-moz-transition:.4s all ease;-webkit-transition:.4s all ease}.shadow{-webkit-box-shadow:3px 3px 15px #888;-moz-box-shadow:3px 3px 15px #888;box-shadow:3px 3px 15px #888}.round{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.desaturate{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%)}#header_top a img,.arrow{-moz-transition:.4s all ease;-webkit-transition:.4s all ease}.arrow{border:solid #00523d;border-width:0 7px 7px 0;display:inline-block;padding:10px}.arrow.right{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.arrow.left{transform:rotate(135deg);-webkit-transform:rotate(135deg)}.arrow.up{transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.arrow.down{transform:rotate(45deg);-webkit-transform:rotate(45deg)}.alpha50{filter:alpha(opacity=50);opacity:.5}.icon{position:relative;top:2px}.img{border:5px solid #d8ccbd;background-color:#fff;margin-bottom:20px;margin-right:0;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.img_left,.left_img{float:left;margin:1em 2em 1em 0}.img_right,.right_img{float:right;margin:1em 0 1em 2em}.mini{font-size:x-small;line-height:15px}.small{font-size:small;line-height:13px}.half,.third{width:50%;float:left}.third{width:33.3333333333%}.quarter,.twothird{width:66.6666666667%;float:left}.quarter{width:25%}.threequarters{width:75%;float:left}.half .inner,.quarter .inner,.third .inner,.twothird .inner{padding:2em}.half .innerleft,.innerleft,.third .innerleft,.twothird .innerleft{padding-right:2em}.half .innerright,.innerright,.third .innerright,.twothird .innerright{padding-left:2em}p.underline{text-decoration:underline;padding-bottom:0!important}.justify{text-align:justify}.f_right{float:right}.f_left{float:left}.red{color:#fe0000}#sticky_menu.sticky a.home,#sticky_menu.sticky a.home strong,#sticky_menu.sticky ul.topmenu li a,.white,h3.white{color:#fff}h3.white{font-size:130%}.blue{color:#0296f0}.bgblue{background-color:#0296f0}.green{color:#67b2b7!important}.bggreen{background-color:#36af53}.gray{color:#757575}.head_menu ul.topmenu,.upper{text-transform:uppercase}.center,.content .center{text-align:center;margin:auto}.left,div.p h3{text-align:left}.tright{text-align:right}.stroke{border:3px solid #fff}.medium{font-size:medium}.italic{font-style:italic}.strong{font-weight:700}.clear{clear:both}.no{padding:0;margin:0}.hidden{visibility:hidden}.display_none,.hide{display:none}.display_block{display:block}.ofhide{overflow:hidden}.overlay{display:none;position:absolute;left:0}.gradient{background:-moz-linear-gradient(top,#f6f6f6 1%,#fff 100%);background:-webkit-linear-gradient(top,#f6f6f6 1%,#fff 100%);background:linear-gradient(to bottom,#f6f6f6 1%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr="#f6f6f6", endColorstr="#ffffff",GradientType=0 )}.fxbottom{position:absolute;bottom:-35px;right:0;width:85%;max-width:1600px}.fxbottom img{transform:rotate(180deg)}.head_menu ul.topmenu{position:relative;margin-top:0;right:0;text-align:right;display:block}.head_menu ul.topmenu li a{font-size:130%;color:#000;font-weight:400;text-decoration:none;padding:0}.head_menu ul.topmenu li a:hover{color:#333;text-shadow:0 1px 3px #aaa}.head_menu ul.topmenu .active{color:#777}.head_menu ul.topmenu li{display:inline-block;list-style:none;padding:0;margin:0 0 0 2em}#sticky_menu.sticky a.home img{max-width:100px}#sticky_menu.sticky h1,.tcont h2{font-size:250%}#sticky_menu.sticky h1 span{top:0}#header_top a img{filter:gray;-webkit-filter:grayscale(1);filter:grayscale(1)}#header_top a:hover img{filter:gray;-webkit-filter:grayscale(0);filter:grayscale(0)}.tcont{position:relative;padding:1em 4%;background-color:rgba(0,0,0,.08);overflow:hidden}.tcont .inner{max-width:1100px;margin:auto}.tcont h2{text-transform:uppercase;font-weight:200;color:#888}.uvod_text{position:relative;top:30px;width:70%;float:left;text-align:center;padding-bottom:5em}.uvod_text h2{position:relative;font-size:250%;padding-bottom:20px}.uvod_text h2 span{position:relative;top:-.5em;font-weight:200;font-size:60%}.uvod_text p{font-size:large}.uvod_foto{position:relative;width:48%;float:right}.prehled{float:right;font-size:120%;padding-top:40px}.prehled,.prehled h3,div.p{position:relative}.harmonogram{width:40%;float:left}.zdroje{width:60%;float:right}.item_arrow{position:relative;top:5px}div.p{padding-bottom:1em}div.p:nth-child(2n){width:56%;padding-left:4%;float:right;text-align:justify}div.p:nth-child(2n-1){width:36%;padding-right:4%;float:left;text-align:justify;clear:both}div.p ol li{font-size:100%}.left_banners a,.right_banners a,div.p img{margin-bottom:1em}.right_banners{position:relative;float:right;margin-left:2em}.left_banners{position:relative;float:left;margin-right:2em}.akt h3{font-size:150%;font-weight:700}.akt{padding-bottom:2em}.img_cont1,table.gal a{display:block;position:relative}.img_cont1{width:100%;height:70%;margin-bottom:1em;max-height:380px;background:url(../images/table.jpg);background-attachment:fixed;background-position:left;background-repeat:no-repeat;background-size:auto}.refs,table.gal{position:relative}.refs{padding-top:1em;margin-bottom:3em;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.gallery{margin-top:20px}#kdo-jsem .gallery{margin-top:10px}table.gal{float:left;margin:0 10px 20px}table.gal a{width:230px;height:230px;overflow:hidden}table.table{width:100%;border-spacing:0;margin-bottom:2em;border-top:1px dashed #c4e9f2;border-bottom:1px dashed #c4e9f2}.content table strong{color:#00355f}table.table tr:nth-child(even){background:#f0fbff}table.table td{padding:10px 1em}table.table tr.border{border-top:1px dashed #c4e9f2}.field{float:left;margin-right:2em}#footer .social,#map{text-align:right}#map{float:right}#map span{display:block;background:url(../images/border.png) 0 0;padding:9px 9px 4px;margin-bottom:5px}#kontakt form{width:510px;float:right}#kontakt iframe{float:none}canvas,img,video{max-width:100%}@media (max-width:1600px){#slideshow_text{top:2em;right:5%}#slideshow_text h2{font-size:300%}#slideshow_text p{font-size:140%}}@media (max-width:1280px){#footer .half{width:40%}#footer .menu{width:50%}#footer .mainmenu li{float:none!important;min-height:inherit!important;padding-bottom:0!important}#footer .mainmenu ul{display:none}.googlemap iframe{width:100%!important}.mainmenu li,.mainmenu_menu li{padding-right:0}#qm0 li a,.mainmenu li a,.mainmenu_menu li a{font-size:100%}h2{padding-bottom:0}#slideshow_text{top:1em;padding:1em}#slideshow h2{font-size:180%}#slideshow_text p{font-size:110%}}@media (max-width:1050px){#menu .hide,#menu .mainmenu,#menu .mainmenu_menu,#qm0{display:none!important}#responsive_menu{position:fixed;width:100%;height:1px;top:80px;z-index:50;overflow:hidden}#responsive_menu.hide{display:block!important}#responsive_menu li{display:block;padding:.5em}#header{overflow:hidden}#responsive_menu #qm0,#responsive_menu .mainmenu,#responsive_menu .mainmenu_menu{font-size:100%;text-align:left}#responsive_menu #qm0 li a,#responsive_menu .mainmenu li a,#responsive_menu .mainmenu_menu li a{float:none;border-bottom:none;font-weight:400;padding:0}#responsive_menu #qm0 li a:hover,#responsive_menu .mainmenu li a:hover,#responsive_menu .mainmenu_menu li a:hover{border-bottom:none;color:#000}#responsive_menu .mainmenu li ul{padding-top:.5em}#responsive_menu .mainmenu li ul li{padding-left:1em}#responsive_menu .mainmenu li ul li a::before{content:url(../images/li.png);padding-right:5px}#responsive_menu .mainmenu li ul li a{text-transform:none}#responsive_menu button,.head_menu button{display:inline-block}.quarter_center.last{margin-right:10px}#cont{padding-top:50px}#header{position:relative}#header .hide{display:none!important}.head_menu{position:absolute;max-width:none;top:85px;right:-110%;width:100%;padding:50px 20px 0;background:#0f3234;background:linear-gradient(90deg,rgba(255,255,255,0) 0,#000 50%)}.head_menu ul.topmenu{position:relative;padding-right:0;padding-bottom:3em;margin-top:-25px;border:0;height:auto;font-size:130%;text-align:right;right:50px}.head_menu ul.topmenu li{display:inline-block;float:none;padding-bottom:1em}.head_menu ul.topmenu li a{float:none;border-bottom:none;color:#fff;font-size:100%}.head_menu ul.topmenu li a:hover{border-bottom:none}#mob_menu_open{display:inline-block}#mob_menu_close{z-index:100;top:100px}.addhtml{display:none}.sticky #mob_menu_open,sticky #mob_menu_close{right:4%}#slideshow_text h3{font-size:120%}#slideshow_text a.button{font-size:100%;padding:.8em 1.5em}#slideshow_text p{font-size:100%;line-height:1.5em}.fixed1 a.button{display:block;max-width:150px;top:1em;margin:auto}.fixed1 h2{font-size:150%}.akt{text-align:left}.gallery{text-align:center}#mob_menu_close,table.gal{display:inline-block}#kontakt form{display:block;width:90%;float:none}#kontakt iframe{width:100%!important;margin-top:20px}#footer .logo img{width:85%}#footer .mainmenu{font-size:110%}.box{width:90%;margin-left:5%}.boxes h2{font-size:90%}#homepage.content>.inner{padding-top:0;padding-bottom:0}.uvod_text h2{font-size:250%}.harmonogram,.prehled,.zdroje,table.gal{float:none}.zdroje{width:100%;padding-top:2em}.content>.inner{padding:2em 0}}@media (max-width:850px){.quarter{width:50%;float:none}.quarter,.third{text-align:center}#footer .quarter,.contact_form .inner .twothird,.half,.third{width:100%}#footer hr{max-width:100%}#footer .half{width:100%;padding-top:1em}#footer .half,#footer .mainmenu{text-align:center}#footer .mainmenu li{padding:inherit}#header_top .logo_cont{width:80px;padding-right:10px}#header_top .soc{top:0}#slideshow_text{max-width:80%}#slideshow_text p{font-size:100%}#slideshow_text h2{font-size:160%}#slideshow_text a.button,.twothird hr.underline{display:none}.text_blocks h2{font-size:140%}.text_blocks p{font-size:110%}h3{font-size:130%}#aktuality_uvod .text{text-align:center!important}.akt{width:90%}.akt,.akt .akt_text{height:auto}.akt .submit_cont{position:relative;margin:1em 0;bottom:0}.fixed1 h3{top:50px;font-size:200%}.cat h2{font-size:220%}#footer .logo,.uvod_foto{display:none}#footer .fright{padding-bottom:0}#footer ul{padding-bottom:2em}#footer ul li{display:inline-block}#footer .quarter:nth-child(2){text-align:center}#footer .quarter:nth-child(2) ul{direction:ltr}#footer .quarter:nth-child(2) ul li{margin-right:0}#footer .quarter:nth-child(2) h4{padding-right:0}#footer .social{text-align:center;float:none;padding-top:1em}#footer .social a img{position:relative;float:none}.uvod_text{width:100%}#homepage.content>.inner{padding-bottom:4em}}@media (max-width:700px){.quarter,.twothird{width:100%;text-align:center}.pagination span{font-size:small}#header a.home{font-size:140%}#header a.home strong{display:block}#menu .logo{display:none}#responsive_menu #qm0,#responsive_menu .mainmenu,#responsive_menu .mainmenu_menu{width:100%;left:-115%}.head_menu ul.topmenu li a{font-size:80%}h1{text-align:left}.portfolio{width:100%;margin-bottom:0}#slideshow_text{top:0}#slideshow_text p{font-size:90%}#slideshow_text h2,h1{font-size:130%}#menu .social{display:none}#flags{width:100px}#flags .flag,#responsive_flags{margin-right:0}.fixed1 h2{font-size:120%}.g-recaptcha>div{width:100%!important}.cats .cat{padding-bottom:2em}.akt h4{font-size:110%}}@media (max-width:500px){a.home{font-size:25px}#header_top .soc,#map,#slideshow_text,.fb,.instagram{display:none}.head_menu .topmenu li{padding-bottom:.4em}.head_menu .topmenu li a{text-shadow:0 1px 1px #fff}.head_menu ul.topmenu li{margin-left:1em}.head_menu ul.topmenu li a{font-size:65%}.akt img.f_right{max-width:90px}#footer .inner{font-size:small}#content .inner{border-top:0}.contact_form .info{text-align:center;float:none}.home img{max-width:85%}#footer .inner .quarter:nth-child(2){display:none}#head_img{margin-bottom:0}}@media (max-width:430px){#header{padding-bottom:0}}
diff --git a/green_deal/static/green_deal/css/style.scss b/green_deal/static/green_deal/css/style.scss
new file mode 100644
index 0000000000000000000000000000000000000000..2266ebcc50ddcd1dca81e533794757435e4c4ea4
--- /dev/null
+++ b/green_deal/static/green_deal/css/style.scss
@@ -0,0 +1,498 @@
+@charset "utf-8";
+
+$font: 'Roboto Condensed', sans-serif;
+$tfont: 'Roboto', sans-serif;
+$bg: #fff;
+$color: #000;
+$acolor: #000;
+$bcolor: #555;
+$tcolor: #000;
+$maxwidth: 1100px;
+$width: 90%;
+$full: 100%;
+$h1size: 250%;
+
+@mixin rounded($radius: 8px) {
+  -webkit-border-radius: $radius;
+  -moz-border-radius: $radius;
+  border-radius: $radius;
+}
+@mixin textshadow($top: 1px, $left: 0px, $blur: 0, $color: rgba(0,0,0,0.5)) {
+  text-shadow: $left $top $blur $color;
+}
+@mixin boxshadow($top: 1px, $left: 0px, $blur: 5px, $color: rgba(0,0,0,0.5), $inset: false) {
+  @if $inset {
+    -webkit-box-shadow:inset $top $left $blur $color;
+    -moz-box-shadow:inset $top $left $blur $color;
+    box-shadow:inset $top $left $blur $color;
+  } @else {
+    -webkit-box-shadow: $top $left $blur $color;
+    -moz-box-shadow: $top $left $blur $color;
+    box-shadow: $top $left $blur $color;
+  }
+}
+
+@mixin trans ($time: .4s){
+  -moz-transition: $time all ease; -webkit-transition: $time all ease;
+}
+@mixin textinput (){
+  background-color: #f6f6f6; color: #000; padding: 0.6em 10px 0.6em 10px; font-family: $font; font-size: large; border: 0;
+}
+@mixin saturateimg ($amount){
+  filter: gray; /* IE6-9 */
+  -webkit-filter: grayscale($amount); /* Google Chrome, Safari 6+ & Opera 15+ */
+  filter: grayscale($amount); /* Microsoft Edge and Firefox 35+ */
+}
+@mixin button($background: #333, $color: #fff, $minwidth: 80px, $paddingxy: 1em 2em, $border: 0, $fontsize: large, $fontweight: bold, $texttransform: none, $isrounded: false) {
+  display: inline-block; min-width: $minwidth; padding: $paddingxy;
+  background-color: $background; color: $color; border: $border;
+  font-size: $fontsize; font-weight: $fontweight; text-transform: $texttransform; text-align: center; text-decoration: none;
+  cursor: pointer;
+  @if $isrounded == true {@include rounded(5px);}
+  @include trans;
+  &:hover {color: $background; background-color: $color;}
+}
+
+@mixin filetype($filename){
+  list-style: none; padding-left: 25px; margin-left: 0;
+  background: url("../images/$filename.png") 0 50% no-repeat;
+}
+@mixin ahref($color,$underline: true,$bold: true){
+  color: $color; font-weight: if($bold == true,bold,inherit);
+  &:link { text-decoration: if($underline == true, underline, none);}
+  &:visited {color: darken($color, 20%); text-decoration: none;}
+  &:active {color: lighten($color, 30%); text-decoration: none;}
+  &:hover {color: lighten($color, 30%); text-decoration: if($underline == true, underline, none);}
+  @include trans;
+}
+@mixin filter($filter-type,$filter-amount) {
+  -webkit-filter: unquote($filter-type+unquote('(#{$filter-amount})'));
+  -moz-filter: unquote($filter-type+unquote('(#{$filter-amount})'));
+  -ms-filter: unquote($filter-type+unquote('(#{$filter-amount})'));
+  -o-filter: unquote($filter-type+unquote('(#{$filter-amount})'));
+  filter: unquote($filter-type+unquote('(#{$filter-amount})'));
+}
+
+/// Mixin printing a linear-gradient
+@mixin linear-gradient($direction : 180deg, $color-stops...) {
+  background: nth(nth($color-stops, 1), 1);
+  background: -webkit-linear-gradient(legacy-direction($direction), $color-stops);
+  background: linear-gradient($direction, $color-stops);
+}
+//a.button_m {@include button(#fff7e4,$acolor,120px,1em 1em,1px solid $acolor,medium,bold,none,true); }
+
+* {
+margin: 0px 0px 0px 0px;
+padding: 0px 0px 0px 0px;
+}
+
+fieldset, img, abbr, acronym, object { border: 0; }
+ul li {margin-left: 20px; list-style-image: url("../images/li.png");}
+ol    {list-style-position: inside;}
+ol li {color: #fff; background-image: url("../images/olli.png"); background-position: 0px; background-repeat: no-repeat; padding: 0.5em 11px;}
+ol li span {color: $acolor; padding-left: 1em;}
+
+html {height: 100%;}
+body {width: 100%; height: 100%; background: $bg/* url("../images/bg.jpg") center 0 no-repeat*/; color: $color; font-family: $font; font-size: medium; line-height: 1.3em; }
+
+a {@include ahref($acolor);}
+
+strong   {color:  $acolor;}
+address  {font-style: normal; padding: 0px; line-height: 16px;}
+
+h1 {display: inline-block; font-family: $tfont; font-size: $h1size; color: #fff; font-weight: 200; padding: 0em 0; margin: auto; margin: 0em; text-align: left; line-height: 1.2em;}
+h2               {font-family: $tfont; font-size: 130%; color: $tcolor; font-weight: bold; padding-bottom: 0em; text-transform: none; text-align: center; line-height: 1.5em; margin: auto;/*font-family: 'Courgette', cursive;*/}
+
+h2 a:link        {text-decoration: underline; font-weight: bold; text-transform: none; }
+h2 a:active      { }
+h2 a:visited     { }
+h2 a:hover       { text-decoration: none;}
+
+h3 {
+  font-size: 150%; color: $acolor; /*letter-spacing: 6px;*/ font-weight: 900; padding: 5px 0; margin-bottom: 0.2em; text-transform: uppercase; line-height: 1.3em;
+  a {@include ahref($acolor,false);}
+}
+
+h4 {color: lighten($acolor,10); font-size: $h1size / 2; text-decoration:none; font-weight: 900; text-transform: none; padding: 0 0 0.5em 0}
+h5 {color: $acolor; font-size: $h1size / 3; text-decoration:none; font-weight:bold; text-transform: none; padding: 0.5em 0}
+h6 {}
+
+#header {position: relative; width: 100%; height: 150px; background: #fff; z-index: 50; /*overflow: hidden;*/ @include boxshadow(2px,0px,3px,rgba(0,0,0,0.2));}
+#header .inner {width: $width; max-width: $maxwidth; margin: auto;}
+#header_top {position: relative; width: 100%; height: 45px; padding: 20px 0; background-color: #212121; z-index: 2;}
+#header_top .inner {position: relative; /*width: $maxwidth;*/ margin: auto; padding-top: 2px; @include trans();}
+#header_top .logo_cont {position: relative; float: left; width: 160px; border-right: 1px solid #fff;}
+#header_top .soc {position: relative; top: 10px;}
+#header .title {position: relative; top: 0px;  }
+#header_top h1 {position: relative; left: 20px;}
+#header h1 span {position: relative; top: 25px; left: 0.5em;}
+#header .logo {max-width: 150px;}
+
+
+a.home {display: block; font-size: 100%; color: $color; font-weight: 400; /*letter-spacing: 3px;*/ text-decoration: none;}
+a.home strong {}
+a.home img {position: relative; float: left;}
+
+#flags {position: relative; top: 15px; float: right;}
+#flags a {position: relative; display: inline-block; width: 44px; height: 44px; margin-left: 0px; text-decoration: none; font-size: 18px; text-transform: uppercase;}
+#flags svg {position: absolute;}
+#flags a.active svg path, #flags a:hover svg path {fill: #fff; @include trans;}
+#flags a span {position: absolute; top: 10px; left: 5px;}
+
+#cont 		{position: relative; max-width: 1042px; margin: auto; padding-top: 50px; overflow: hidden;}
+
+#responsive_flags, #menu .social {display: none;}
+
+.head_menu {position: relative; top: 20px; right: 0; max-width: 60%; float: right; z-index: 50;}
+#mob_menu_open  {display: none; position: absolute; float: right; top: 95px; right: 5%; width: 40px; background: none; /*background: url("../images/mob_menu.png");*/ border: none; cursor: pointer; transition: .5s all ease; outline:0;}
+#mob_menu_close {display: none; position: absolute; float: right; top: 95px; left: 5%; width: 40px; background: none; /*background: url("../images/mob_hide_l.png");*/ border: none; cursor: pointer; transition: .5s all ease; opacity: 0; outline:0;}
+.rotate {transform: rotate3d(0, 0, 1, 180deg); -webkit-transform: rotate3d(0, 0, 1, 180deg); }
+.rotate_back {transform: rotate3d(0, 0, 1, -180deg); -webkit-transform: rotate3d(0, 0, 1, -180deg);}
+
+/*
+#sticky_menu.sticky    {
+  width: 100%; max-width: $width; padding-left: 4%; padding-right: 4%; height: 68px; color: #fff; background-color: rgba(darken($acolor,10%),0.95); position: fixed; left: 0; top: 0px; z-index: 99; border-bottom: 1px solid rgba(#fff,0.15); padding-bottom: 10px;
+  @include boxshadow(0,4px,8px,rgba(0,0,0,0.2));
+  #flags a {font-size: 16px;}
+  #flags a span {left: 8px;}
+  .head_menu {top: -45px;}
+}
+*/
+
+.mainmenu, .mainmenu_menu 		{
+  position: relative; top: 0px; z-index: 10; max-width: 100%;
+  li {position: relative; display: inline-block; padding-right: 0.5em; padding-left: 0px; margin: 0; list-style: none; }
+  li.border { padding-left: 0em;}
+  li a.active {}
+  li a {display: block; padding: 0px 0.5em 22px 0.5em; color: $color; font-size: 130%; text-decoration:none; font-weight: bold; text-transform: none;
+  @include trans();}
+  li a span {}
+  li a:hover {color: $acolor; border-bottom: 3px solid #000;/*background: url("../images/mia.png");*/ }
+}
+
+#responsive_menu ul {left: -115%; padding: 1em 4%; background: rgba(0,0,0,0.8);}
+#responsive_menu li.open ul {display: block; /* toto pravidlo musí být první */ }
+#responsive_menu li.close ul {display: none; /* toto pravidlo musí být druhé */ }
+#responsive_menu .mainmenu li a {color: #fff;}
+
+#slideshow    {
+  /*max-height: 657px;*/ position: relative; top: 0px;
+  //.inner {position: absolute; top: 0; max-width: $maxwidth; width: 90%; height: auto; margin: auto; text-align: left; z-index: 10;}
+  h2 {text-align: center; font-size: 350%; color: #fff; text-transform: none; font-weight: 900; }
+  p  {display: block; max-width: 580px; font-size: 160%; color: #fff; font-weight: 300; line-height: 1.8em; @include textshadow(2px,0px,2px,#000);}
+  a.button {margin-top: 1em; background-color:rgba(255,255,255,0.2); border: 1px solid #fff; font-size: 120%;
+    @include textshadow(-1px,-1px,4px,rgba(0,0,0,0.3)); @include boxshadow(-2px,-2px,5px,rgba(0,0,0,0.2));
+    &:hover {background-color: rgba(255,255,255,0.5); color: #fff; @include textshadow(0px,0px,2px,rgba(0,0,0,0.3)); @include boxshadow(0px,0px,4px,rgba(0,0,0,0.2));}
+  }
+}
+#slideshow_text {position: absolute; top: 70px; right: 21%; max-width: 680px; padding: 2em; text-align: center; @include rounded(15px); background-color: rgba(0,0,0,0.5); z-index: 11;}
+
+#slider {position: relative; padding-bottom: 43.5%; height: 0; overflow: hidden; transition: .5s all ease; margin-bottom: 2em;}
+/*#slideshow_text {position: absolute; right: 2%; top: 2em; padding: 2em; background: rgba(255,255,255,0.8); -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; z-index:10;}
+#slideshow_text h3 {color: #323946; font-family: 'Roboto', sans-serif; font-size: 200%; text-transform: none;}*/
+
+/*.content		{position: relative; width: 80%; max-width: 1010px; min-height: 250px; top: 50px; left: 2px; margin: auto; background-color: rgba(255,255,255,0.6); z-index: 20; border: 1px solid #67d9dc; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px;}
+.content > .inner {position: relative; padding: 2.5em 2.5em 2.5em 2.5em; text-align: left; }*/
+
+@mixin content($padtop: 4em, $talign: left, $padinner...){
+  position: relative; width: 100%; padding-top: $padtop; margin: auto;
+  > .inner {
+    position: relative; width: $width; max-width: $maxwidth; margin: auto; padding: $padinner; text-align: $talign;
+    > .text {font-size: 110%; line-height: 1.5em; margin: auto;}
+  }
+
+  //min-height: 400px;
+}
+#content {
+  min-height: 574px; font-size: 100%;
+  ul {padding: 10px 0;}
+}
+.content {
+  @include content(1em,left,3em 0em 3em 0em);
+  top: 0em; left: 0px; z-index: 20;
+  & h2 {position: relative; /*display: inline;*/ /*background-color: #fff;*/}
+  .inner p {padding-bottom: 20px; }
+  .inner ul li p {padding-bottom: 0;}
+  strong {color: $acolor;}
+  ul, ol   {padding-top: 10px; padding-bottom: 20px; font-size: 100%;}
+  ul li ul, ol li ol   {padding-top: 10px; padding-bottom: 10px;}
+}
+
+.fixed1    {background: url("../images/banners/uvod.jpg") center top no-repeat; background-attachment: fixed; height: 300px; margin-bottom: 3em;}
+.fixed1 .inner {position: relative; width: 90%; max-width: $maxwidth; margin: auto; text-align: center;}
+.fixed1 h2 {position: relative; top: 1.9em; padding-bottom: 1.5em; color: #fff; font-size: 320%; font-weight: 200; text-transform: none; text-align: center;
+  @include textshadow(5px,0px,5px,#000);}
+.fixed1 ul li {padding-bottom: 0.5em; color: #fff; font-size: 130%; font-weight: 300;}
+.fixed1 a.button {position: relative; top: 1.5em; padding: 0.8em 2em; margin: auto; background: $acolor;}
+
+.twothird ul {padding-top: 0;}
+.twothird ul li {margin-left: 15px;}
+
+
+.text_blocks h2 {font-size: 160%; color: #ff5b0b; font-weight: bold; margin-bottom: 0.5em;}
+.text_blocks p {color: #7f7f7f; font-size: 120%; font-weight: 300;}
+.text_blocks .row {margin-bottom: 20px;}
+.text_blocks .row img {float: left; max-width: 13%;}
+.text_blocks .row .inner {padding-left: 15%;}
+.text_blocks a {text-decoration: none; color: #7f7f7f;}
+
+.gray_bg      {background-color: #eee;}
+.contact_form {
+  position: relative; margin-top: 0em; margin-bottom: 3em;
+  & > .inner {position: relative; max-width: 1200px; width: 90%; margin: auto;}
+  label {display: inline-block; cursor: text; position: relative; top: 2.5em; color: #000; font-size:90%; font-weight: 400;}
+  input[type="text"] {width: 100%; margin-bottom: 0; border-bottom: 1px solid #fff;}
+  textarea {width: 100%; padding-left: 0; border-bottom: 1px solid #fff;}
+  /*input[type="submit"]:hover {background: none; border: 1px solid #fff;}*/
+  .twothird,.half {
+    background-color: #fff; color: #000; @include boxshadow(3px, 3px, 15px, #888);
+    .inner {padding: 2em 1em 2em 2em;}
+    h3 {font-size: 110%; color: #000; font-weight: bold;}
+    h4 {color: #fff; font-size: 130%; font-weight: 100;}
+    hr.underline {display: none; margin: inherit; margin-bottom: 3em;}
+    p {padding-bottom: 0;}
+  }
+  .third {
+    margin-top: 70px; max-height: 600px; overflow-y: scroll;
+    .inner {padding-left: 5em; padding-top: 0em; font-size: x-small;}
+    h3 {font-size: 150%; text-transform: uppercase;}
+    p  {font-size: small;}
+  }
+  .g-recaptcha {text-align: center;}
+  .info {font-size: small; text-align: right; line-height: 1.5em; font-weight: 100;}
+}
+#navigation {position: relative; top: -0.5em; padding-bottom: 1em; margin-bottom: 2em; font-size: medium; border-bottom: 2px solid #7f7f83;}
+#navigation a {display: inline-block; padding: 3px 1.5em; margin-bottom: 0.5em; border-right: 1px solid #7f7f83; font-size: 120%; font-weight: normal; text-decoration: none; color: #fff;}
+#navigation a:active, #navigation a:hover {color: $acolor;}
+#navigation a:last-child  {border-right: none;}
+
+#kontakty p {padding-bottom: 0 !important;}
+#kontakty .half hr.underline {margin: inherit; margin-bottom: 3em;}
+.kontakt {width: 33%; display: inline-block; margin-bottom: 5px;}
+.kontakt h4 {color: #329f4d;}
+.kontakt img {float: left; max-width: 25%; margin-right: 2em; margin-bottom: 2em;}
+
+.content a.tel strong {font-weight: normal; }
+.content a.tel {text-decoration: none;}
+
+#uvod .blog_post {padding-top: 5px;}
+.blog_post    {margin-bottom: 2em;}
+.blog_post h2 {margin-bottom: 0em; padding-bottom: 0; font-size: 120%; color: #d04000; font-weight: bold;}
+.blog_post h2 a {text-decoration: none; color: #24a3d8;}
+.blog_post .mainpost {font-size: 85%;}
+.blog_post .link {font-size: small;}
+.blog_post .date {padding-bottom: 2em; font-size: small; font-style: italic; line-height: 1em;}
+.blog_post .button {display: inline-block; width: 95px; height: 26px; margin-top: 10px; padding-left: 10px; background: url("../images/submit.jpg"); color: #fff; font-size: 12px; text-decoration: none;}
+.blog_post .stroke {border: 1px solid #CCC; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;}
+.img_detail {}
+
+.box {width: 31%; float: left; margin-top: 2em; border: 1px solid #ebebeb; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;}
+.box .inner {padding: 2em; text-align: center;}
+.box h3 {font-size: 180%; font-weight: 300; line-height: 1.2em; color: #6b6b6c;}
+.box .underline {margin-bottom: 3em;}
+.box.middle {margin-left: 4%; margin-right: 4%; }
+
+.block h2 {padding-bottom: 0; margin-bottom: 0;}
+.block h4 {display: inline; }
+.block .info {padding-bottom: 2em;}
+
+hr.underline {background-color: $acolor; color: #fff; height: 3px; width: 85px; border: none; margin: auto; margin-bottom: 3em;}
+
+/* PAGINATION */
+.pagination {
+  position: relative; width: 100%; height: auto; display: block; text-align: right; margin: 3em auto 4em auto; padding: 0px;
+  text-align: center; color: #787878; font-weight: normal;
+  span {padding: 8px; margin: 0px 3px; }
+  .ppage {position: relative; top: 0px; font-size: 150%;}
+  .ppage_inactive {position: relative; padding: 0; margin: 0;}
+  .ppage {padding: 17px 25px; /*background-color: #f0f1f3; @include rounded(50%); @include boxshadow(0,1px,2px,rgba(0,0,0,0.5));*/
+  @include trans();}
+  a:hover .ppage {/*background-color: desaturate(scale-color($acolor, $lightness: 80%),50%); @include boxshadow(0,2px,3px,rgba(0,0,0,0.5));*/}
+  a {position: relative; text-decoration: none; color: $acolor;}
+  //a:hover span.ppage {color: #fff; background-color: #333333;}
+  .arrow {border: 0; font-size: 400%; color: #ccc; position: relative; top: 9px;}
+  a span.arrow {color: desaturate(scale-color($acolor, $lightness: 50%),50%); position: relative; top: 9px;}
+  svg {position: absolute; width: 45px; height: 50px; top: -17px; left: 12px; }
+  svg path {@include trans();}
+  a:hover svg path {fill: desaturate(scale-color($acolor, $lightness: 80%),50%);}
+}
+/*
+table {width: 100%; border-spacing: 0; margin-bottom: 2em; border-top: 1px dashed #c4e9f2; border-bottom: 1px dashed #c4e9f2;}
+.content table strong {color: #00355f;}
+table tr:nth-child(even) {
+    background: #f0fbff;
+}
+table td {padding: 10px 1em;}
+*/
+#footer		   {
+  position: relative; top: 0px; width: 100%; height: auto; /*overflow: hidden;*/ background-color: #000; color: #fff; font-size: 90%; margin-top: 30px;
+  & > .inner 	{position: relative; width: 94%; max-width: $maxwidth; margin: auto; padding: 2em 0; }
+  .menu {width: 85%; float: left;}
+  .social {/*width: 15%;*/ float: left;}
+  .eshop  {display: inline-block; padding-bottom: 2em; color: $acolor; font-weight: bold;}
+  h4 {padding-top: 0; padding-bottom: 0.5em; color: $bg; /*color: $acolor;*/ font-size: 140%; font-weight: 900; text-transform: none;}
+  a  {color: inherit; text-decoration: none; text-transform: none; font-weight: normal;}
+  ul 			{padding-left: 0px; padding-top: 0;}
+  ul.mainmenu {
+    position: relative; top: 0em; left: 0; width: auto; background: none;
+    & > li 	 {display: block; padding: 0; padding-bottom: 0em; }
+    /*#footer ul.mainmenu > li > ul::before {content: url("../images/arrow-down-mini.png"); display: block; padding: 3px 0;}*/
+    & > li a {padding: 0; border: none; float: none; font-size: medium; font-weight: bold; color: #fff; }
+    & > li ul li a {font-size: small; font-weight: 300; color: #838383; }
+    li a:hover {border: none;}
+    & > li ul li {display: block;}
+  }
+  strong {color: #fff;}
+  hr {max-width: 215px; height: 1px; margin-bottom: 1.5em; background-color: $acolor; border: none;}
+  .hidden {height: 0px;}
+  .submit {position: relative; left: -35px; top: 8px; background: url("../images/lupa.png") 50% 0 no-repeat; width: 25px; height: 25px; min-width: inherit; border: 0; padding: 0; margin: 0; }
+  .search {width: 80%;}
+  .backlinks {text-align: center; padding: 1em 2em; background-color: #333; font-size: x-small;}
+}
+
+.copyright   {bottom: 1em; text-align: left; /*padding: 1em 0;*/ font-size: 75%; text-transform: uppercase; line-height: 20px;}
+.copyright a {color: #000; position: relative; font-size: 90%; font-weight: normal; text-transform: uppercase; line-height: 20px;}
+.fright      {width: 20%; float: right; text-align: right; padding-left: 5%; padding-bottom: 4em;}
+#counter {position: absolute; bottom: 0.5em; margin: auto; font-size: small; text-align: center; color: #000;}
+
+
+.fotogalerie {text-align: center;}
+.lightbox {position: relative; display: inline-block; /*margin: 0.5em;*/ line-height: 0; @include boxshadow(0px,5px,10px,rgba(0,0,0,0.2));}
+.googlemap iframe {width: 100%; height: 560px;}
+//.googlemap iframe {width: $maxwidth; height: 300px;}
+.map 	{border: 1px dashed #518d08; padding: 10px; margin-top: 20px;}
+
+// FILETYPES
+li.pdf		{@include filetype(pdf);}
+li.wmv		{@include filetype(wmv);}
+li.doc		{@include filetype(doc);}
+li.jpg		{@include filetype(jpg);}
+li.htm		{@include filetype(htm);}
+li.tub		{@include filetype(tub);}
+li.ct		{@include filetype(ct);}
+
+/* FORMS */
+fieldset {border: 2px #e1f3f8 solid; padding: 10px; background-color: #fff; margin-bottom: 10px;}
+.fieldset {background-color: #fff;}
+legend   {font-size: 100%; font-weight: bold; padding: 0 10px; border: 1px #e1f3f8 solid; color: #377bba; background-color: #e1f3f8;}
+input       {margin-bottom: 15px;}
+input[type="text"], input[type="password"], textarea {@include textinput; }
+textarea    {width: 330px; height: 100px; }
+
+input[type="submit"]    { @include button(#fff,$acolor,160px,0.8em 2em,1px solid $acolor,medium,bold,none,false); }
+a.button                { @include button($acolor,#fff,100px,1em 2em,1px solid $acolor,medium,bold,none,true); }
+a.button_m              {@include button(#fff7e4,$acolor,120px,0.8em 1em,1px solid $acolor,medium,bold,none,true); }
+a.button_s              {@include button(#fff,$acolor,80px,0.5em 1.5em,1px solid $acolor,small,bold,none,true); }
+a.promo_button          { @include button($acolor,#fff,150px,0.5em 1em,1px solid $acolor,large,200,none,true);
+                          text-align: right; font-size: 150%; line-height: 1.2em;}
+
+input[type="radio"]  { margin: 0; padding: 0; margin-right: 10px; border: 0; background: none;}
+input[type="checkbox"]  { transform: scale(1.5); margin: 0; padding: 0; margin-right: 10px; border: 0; background: none;}
+.must       {color: red; font-size: 150%;}
+select      {color: #707173; height: 25px; padding-left: 10px; margin-bottom: 10px;}
+
+label       {font-size: 105%; font-weight: bold; color: #666666; padding-bottom: 2px; display: block;}
+label.short {width: 260px;}
+label.long  {width: 99%;}
+label.minimal  {width: 100px;}
+input.short {width: 260px;}
+input.long  {width: 99%;}
+input.minimal  {width: 100px; }
+.input_cont  {float: left; margin-right: 20px;}
+textarea.short {width: 260px; height: 80px;}
+textarea.long  {width: 99%; height: 80px;}
+.minfloat   {width: 132px; float: left;}
+a.linkout   {color: #fff; position: relative; bottom: 0; left: 0; z-index: 1;}
+.gdpr { margin-top: 1em;
+  span  {position: relative; top: -3px; font-size: small;}
+  a     {color: #000;}
+}
+
+/* Change Autocomplete styles in Chrome*/
+input:-webkit-autofill,
+input:-webkit-autofill:hover,
+input:-webkit-autofill:focus
+input:-webkit-autofill,
+textarea:-webkit-autofill,
+textarea:-webkit-autofill:hover
+textarea:-webkit-autofill:focus,
+select:-webkit-autofill,
+select:-webkit-autofill:hover,
+select:-webkit-autofill:focus {
+  background: none; color: #bddfff !important;
+  transition: background-color 5000s ease-in-out 0s;
+}
+
+.msg   {width: 100%; font-weight: bold; padding: 5px 0; text-align: center; margin: auto; font-size: medium; color: white;}
+.error {@extend .msg; border-top: 2px solid #000; border-bottom: 2px solid #000; background: #b20400; }
+.notice {@extend .msg; border-top: 2px solid #a19400; border-bottom: 2px solid #a19400; background: #e6d302; }
+.success {@extend .msg; border-top: 2px solid #0C0; border-bottom: 2px solid #0C0; background: #090; }
+#error {width: 90%; max-width: 1200px; margin: auto;}
+#error h1 {color: #b20400;}
+#error p, #error ul  {padding-bottom: 1em;}
+
+hr {color: #67b2b7; border: none; border-bottom: 1px solid #67b2b7; }
+hr.cleaner {clear: both; height: 1px; border: none; margin: -1em 0 0 0; visibility: hidden;}
+hr.cleanerie {height: 1px; border: none; margin: -1em 0 0 0; visibility: hidden;}
+
+.trans  {@include trans;}
+.shadow {@include boxshadow(3px, 3px, 15px, #888);}
+.round  {@include rounded(10px)}
+.desaturate {@include filter(grayscale,100%)}
+.arrow  {border: solid #00523d; border-width: 0 7px 7px 0; display: inline-block; padding: 10px; @include trans;}
+.arrow.right {transform: rotate(-45deg); -webkit-transform: rotate(-45deg);}
+.arrow.left {transform: rotate(135deg); -webkit-transform: rotate(135deg);}
+.arrow.up {transform: rotate(-135deg); -webkit-transform: rotate(-135deg);}
+.arrow.down {transform: rotate(45deg); -webkit-transform: rotate(45deg);}
+.alpha50  {filter: alpha(opacity=50);	opacity: 0.5;}
+.icon 		{position: relative; top: 2px;}
+.img        {border: 5px solid #d8ccbd; background-color: #fff; margin-bottom: 20px; margin-right: 0px; @include rounded;}
+.left_img, .img_left   {float: left; margin: 1em 2em 1em 0; /*border: 1px solid #fff;*/}
+.right_img, .img_right  {float: right; margin: 1em 0 1em 2em; /*border: 1px solid #fff;*/}
+.mini      {font-size: x-small; line-height: 15px;}
+.small     {font-size: small; line-height: 13px;}
+.half      {width: $full / 2; float: left;}
+.third  	{width: $full / 3; float: left;}
+.twothird   {width: $full / 3 * 2; float: left;}
+.quarter    {width: $full / 4; float: left;}
+.threequarters    {width: $full / 4 * 3; float: left;}
+.half .inner, .third .inner, .twothird .inner, .quarter .inner {padding: 2em 2em;}
+.innerleft, .half .innerleft, .third .innerleft, .twothird .innerleft {padding-right: 2em;}
+.innerright, .half .innerright, .third .innerright, .twothird .innerright {padding-left: 2em;}
+p.underline {text-decoration: underline; padding-bottom: 0 !important;}
+p.underline strong {color: #fff;}
+.justify   {text-align: justify;}
+.f_right    {float: right;}
+.f_left     {float: left;}
+.red    {color: #fe0000;}
+.white  {color: #fff;}
+h3.white {color: #fff; font-size: 130%;}
+.blue   {color: #0296f0;}
+.bgblue {background-color: #0296f0;}
+.green  {color: #67b2b7 !important;}
+.bggreen  {background-color: #36af53;}
+.gray 	{color: #757575;}
+.upper   {text-transform: uppercase;}
+.center, .content .center  {text-align: center; margin: auto;}
+.left    {text-align: left;}
+.tright  {text-align: right;}
+.stroke  {border: 3px solid #fff;}
+.medium  {font-size: medium;}
+.italic  {font-style: italic;}
+.strong  {font-weight: bold;}
+.clear   {clear: both;}
+.no      {padding: 0px; margin: 0px; }
+.hidden  {visibility: hidden;}
+.hide    {display: none;}
+.display_none {display: none;}
+.display_block {display: block;}
+.ofhide {overflow: hidden;}
+.overlay {display: none; position: absolute; left: 0;}
+.gradient {background: -moz-linear-gradient(top, #f6f6f6 1%, #ffffff 100%); /* FF3.6-15 */
+background: -webkit-linear-gradient(top, #f6f6f6 1%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
+background: linear-gradient(to bottom, #f6f6f6 1%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
+filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */}
+
+//@import 'qm';
+@import 'addon';
+@import 'responsive';
diff --git a/green_deal/static/green_deal/css/styleie.css b/green_deal/static/green_deal/css/styleie.css
new file mode 100644
index 0000000000000000000000000000000000000000..07ffb657a455b20d081c20759e684b0643483680
--- /dev/null
+++ b/green_deal/static/green_deal/css/styleie.css
@@ -0,0 +1,2 @@
+@charset "utf-8";
+#qm0 > li {position: static !important;}
diff --git a/green_deal/static/green_deal/css/styleie.min.css b/green_deal/static/green_deal/css/styleie.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..df5c1e9644c0c0241d4c383b91f006947fdebcce
--- /dev/null
+++ b/green_deal/static/green_deal/css/styleie.min.css
@@ -0,0 +1 @@
+@charset "utf-8";#qm0>li{position:static!important}
diff --git a/green_deal/static/green_deal/css/tabs-slideshow.css b/green_deal/static/green_deal/css/tabs-slideshow.css
new file mode 100644
index 0000000000000000000000000000000000000000..7e8e10a0e274019d282f8a0c7632818d04e2fb40
--- /dev/null
+++ b/green_deal/static/green_deal/css/tabs-slideshow.css
@@ -0,0 +1,92 @@
+
+/* container for slides */
+.images {
+    position:absolute;
+	top: 160px;
+	left: 10px;
+	width:920px;
+    height:220px;
+
+    cursor:pointer;
+	color: #fff;
+	overflow: hidden;
+}
+
+/* single slide */
+.images div {
+    display:none;
+    position:absolute;
+    top:0;
+    left:0;
+	height:200px;
+    margin:7px;
+    font-size:12px;
+}
+.images .text 	{display: block; position: absolute; left: 25px; top: 40px; width: 420px; height: 180px;}
+.images img		{position: absolute; left: 472px; top: 8px; width: 418px; height: 172px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;}
+/* header */
+.images h3 {
+    font-size: medium;
+    font-weight: bold;
+    margin:0 0 5px 0;
+    color:#fff;
+	padding-left: 20px;
+}
+.images h3.slide1 {background: url("../images/h3s1.png") 0 50% no-repeat;}
+.images h3.slide2 {background: url("../images/h3s2.png") 0 50% no-repeat;}
+.images h3.slide3 {background: url("../images/h3s3.png") 0 50% no-repeat;}
+.images h3.slide4 {background: url("../images/h3s4.png") 0 50% no-repeat;}
+.images h3.slide5 {background: url("../images/h3s5.png") 0 50% no-repeat;}
+
+/* tabs (those little circles below slides) */
+.slidetabs {
+    position: absolute;
+	bottom: 72px; left: 810px;
+}
+
+/* single tab */
+.slidetabs a {
+    width:10px;
+    height:11px;
+    float:left;
+    margin:5px;
+    display:block;
+    font-size:1px;
+}
+.slidetabs a.s1 {background:url(../images/navs1.png) 0 0 no-repeat;}
+.slidetabs a.s2 {background:url(../images/navs2.png) 0 0 no-repeat;}
+.slidetabs a.s3 {background:url(../images/navs3.png) 0 0 no-repeat;}
+.slidetabs a.s4 {background:url(../images/navs4.png) 0 0 no-repeat;}
+.slidetabs a.s5 {background:url(../images/navs5.png) 0 0 no-repeat;}
+
+/* mouseover state */
+.slidetabs a:hover {
+    background-position:0 0px;
+}
+
+/* active state (current page state) */
+.slidetabs a.current {
+    background-position:0 0px;
+}
+
+
+/* prev and next buttons */
+.forward, .backward {
+position: absolute; display: none;
+}
+
+/* next */
+.forward { background-position: 0 -30px; clear:right; }
+.forward:hover { background-position:-30px -30px; }
+.forward:active	{ background-position:-60px -30px; }
+
+
+/* prev */
+.backward:hover	{ background-position:-30px 0; }
+.backward:active { background-position:-60px 0; }
+
+/* disabled navigational button. is not needed when tabs are
+   configured with rotate: true */
+.disabled {
+    visibility:hidden !important;
+}
diff --git a/green_deal/static/green_deal/css/tabs-slideshow.min.css b/green_deal/static/green_deal/css/tabs-slideshow.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..c3b783e9a96e9280fc167dc828b061fa30ef93eb
--- /dev/null
+++ b/green_deal/static/green_deal/css/tabs-slideshow.min.css
@@ -0,0 +1 @@
+.images{position:absolute;top:160px;left:10px;width:920px;height:220px;cursor:pointer;color:#fff;overflow:hidden}.images div{display:none;position:absolute;top:0;left:0;height:200px;margin:7px;font-size:12px}.images .text{display:block;position:absolute;left:25px;top:40px;width:420px;height:180px}.images img{position:absolute;left:472px;top:8px;width:418px;height:172px;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}.images h3{font-size:medium;font-weight:700;margin:0 0 5px;color:#fff;padding-left:20px}.images h3.slide1{background:url(../images/h3s1.png) 0 50% no-repeat}.images h3.slide2{background:url(../images/h3s2.png) 0 50% no-repeat}.images h3.slide3{background:url(../images/h3s3.png) 0 50% no-repeat}.images h3.slide4{background:url(../images/h3s4.png) 0 50% no-repeat}.images h3.slide5{background:url(../images/h3s5.png) 0 50% no-repeat}.slidetabs{position:absolute;bottom:72px;left:810px}.slidetabs a{width:10px;height:11px;float:left;margin:5px;display:block;font-size:1px}.slidetabs a.s1{background:url(../images/navs1.png) 0 0 no-repeat}.slidetabs a.s2{background:url(../images/navs2.png) 0 0 no-repeat}.slidetabs a.s3{background:url(../images/navs3.png) 0 0 no-repeat}.slidetabs a.s4{background:url(../images/navs4.png) 0 0 no-repeat}.slidetabs a.s5{background:url(../images/navs5.png) 0 0 no-repeat}.slidetabs a.current,.slidetabs a:hover{background-position:0 0}.backward,.forward{position:absolute;display:none}.forward{background-position:0 -30px;clear:right}.forward:hover{background-position:-30px -30px}.forward:active{background-position:-60px -30px}.backward:hover{background-position:-30px 0}.backward:active{background-position:-60px 0}.disabled{visibility:hidden!important}
diff --git a/green_deal/static/green_deal/images/arrow-down-black.png b/green_deal/static/green_deal/images/arrow-down-black.png
new file mode 100644
index 0000000000000000000000000000000000000000..e69f62f68e069b8e983eec7dfe06f94072de2f01
Binary files /dev/null and b/green_deal/static/green_deal/images/arrow-down-black.png differ
diff --git a/green_deal/static/green_deal/images/arrow-slidedown.svg b/green_deal/static/green_deal/images/arrow-slidedown.svg
new file mode 100644
index 0000000000000000000000000000000000000000..47f4e9da613d4faa5a340fa598cfe90f38d1af31
--- /dev/null
+++ b/green_deal/static/green_deal/images/arrow-slidedown.svg
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
+   sodipodi:docname="arrow-slidedown.svg"
+   xml:space="preserve"
+   style="enable-background:new 0 0 284.929 284.929;"
+   viewBox="0 0 284.929 284.929"
+   height="284.929px"
+   width="284.929px"
+   y="0px"
+   x="0px"
+   id="Capa_1"
+   version="1.1"><metadata
+   id="metadata41"><rdf:RDF><cc:Work
+       rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+         rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+   id="defs39" /><sodipodi:namedview
+   inkscape:current-layer="Capa_1"
+   inkscape:window-maximized="0"
+   inkscape:window-y="66"
+   inkscape:window-x="2143"
+   inkscape:cy="52.823913"
+   inkscape:cx="164.08861"
+   inkscape:zoom="3.1235853"
+   showgrid="false"
+   id="namedview37"
+   inkscape:window-height="838"
+   inkscape:window-width="1661"
+   inkscape:pageshadow="2"
+   inkscape:pageopacity="0"
+   guidetolerance="10"
+   gridtolerance="10"
+   objecttolerance="10"
+   borderopacity="1"
+   bordercolor="#666666"
+   pagecolor="#ffffff" />
+<g
+   transform="matrix(0.03146072,0,0,0.03146072,0.64028986,-1.0727228)"
+   id="g4">
+	<path
+   id="path2"
+   d="M 282.082,76.511 267.808,62.238 c -1.902,-1.906 -4.093,-2.856 -6.57,-2.856 -2.471,0 -4.661,0.95 -6.563,2.856 L 142.466,174.441 30.262,62.241 c -1.903,-1.906 -4.093,-2.856 -6.567,-2.856 -2.475,0 -4.665,0.95 -6.567,2.856 L 2.856,76.515 C 0.95,78.417 0,80.607 0,83.082 c 0,2.473 0.953,4.663 2.856,6.565 l 133.043,133.046 c 1.902,1.903 4.093,2.854 6.567,2.854 2.474,0 4.661,-0.951 6.562,-2.854 L 282.082,89.647 c 1.902,-1.903 2.847,-4.093 2.847,-6.565 0,-2.475 -0.945,-4.665 -2.847,-6.571 z" />
+</g>
+<g
+   id="g6">
+</g>
+<g
+   id="g8">
+</g>
+<g
+   id="g10">
+</g>
+<g
+   id="g12">
+</g>
+<g
+   id="g14">
+</g>
+<g
+   id="g16">
+</g>
+<g
+   id="g18">
+</g>
+<g
+   id="g20">
+</g>
+<g
+   id="g22">
+</g>
+<g
+   id="g24">
+</g>
+<g
+   id="g26">
+</g>
+<g
+   id="g28">
+</g>
+<g
+   id="g30">
+</g>
+<g
+   id="g32">
+</g>
+<g
+   id="g34">
+</g>
+</svg>
diff --git a/green_deal/static/green_deal/images/blank.gif b/green_deal/static/green_deal/images/blank.gif
new file mode 100644
index 0000000000000000000000000000000000000000..1d11fa9ada9e93505b3d736acb204083f45d5fbf
Binary files /dev/null and b/green_deal/static/green_deal/images/blank.gif differ
diff --git a/green_deal/static/green_deal/images/closelabel.gif b/green_deal/static/green_deal/images/closelabel.gif
new file mode 100644
index 0000000000000000000000000000000000000000..960f838a9284713cb957cd67cdc3e19205dd3ab6
Binary files /dev/null and b/green_deal/static/green_deal/images/closelabel.gif differ
diff --git a/green_deal/static/green_deal/images/cross.png b/green_deal/static/green_deal/images/cross.png
new file mode 100644
index 0000000000000000000000000000000000000000..bc4a8a1b3cd791a863333c104850f6c3a6327dae
Binary files /dev/null and b/green_deal/static/green_deal/images/cross.png differ
diff --git a/green_deal/static/green_deal/images/cz.png b/green_deal/static/green_deal/images/cz.png
new file mode 100644
index 0000000000000000000000000000000000000000..f2f87b068348ad87610ab94901333f6d13a46f85
Binary files /dev/null and b/green_deal/static/green_deal/images/cz.png differ
diff --git a/green_deal/static/green_deal/images/de.png b/green_deal/static/green_deal/images/de.png
new file mode 100644
index 0000000000000000000000000000000000000000..d30ee661f3a608dd12e5d3723818204e80bb951a
Binary files /dev/null and b/green_deal/static/green_deal/images/de.png differ
diff --git a/green_deal/static/green_deal/images/emails.png b/green_deal/static/green_deal/images/emails.png
new file mode 100644
index 0000000000000000000000000000000000000000..bfadf69547ed52ea0fe2c4853fc20f0b5a5bec50
Binary files /dev/null and b/green_deal/static/green_deal/images/emails.png differ
diff --git a/green_deal/static/green_deal/images/en.png b/green_deal/static/green_deal/images/en.png
new file mode 100644
index 0000000000000000000000000000000000000000..5c651d23d7dd20670c86d27c1b94d529a94fb1e4
Binary files /dev/null and b/green_deal/static/green_deal/images/en.png differ
diff --git a/green_deal/static/green_deal/images/fbs.png b/green_deal/static/green_deal/images/fbs.png
new file mode 100644
index 0000000000000000000000000000000000000000..bbe4360dd72669fa3bcbb855a1d419faa434427b
Binary files /dev/null and b/green_deal/static/green_deal/images/fbs.png differ
diff --git a/green_deal/static/green_deal/images/greenefa.svg b/green_deal/static/green_deal/images/greenefa.svg
new file mode 100644
index 0000000000000000000000000000000000000000..db0eb3e3eed6173961347e4c92b2081e7a35c200
--- /dev/null
+++ b/green_deal/static/green_deal/images/greenefa.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160.889 31.458"><defs><style>.cls-1{fill:#008200;}.cls-2{fill:#00b400;}.cls-3{fill:#ffbe00;}</style></defs><title>GreensEFA_RGB_Web_EN</title><g id="EN"><path class="cls-1" d="M74.593,28.765h.327a.157.157,0,0,0,.117-.046.161.161,0,0,0,.046-.117V26.637a1.1,1.1,0,0,1,.27-.79.944.944,0,0,1,.723-.288.892.892,0,0,1,.708.284,1.164,1.164,0,0,1,.249.794V28.6a.161.161,0,0,0,.046.117.157.157,0,0,0,.117.046h.326a.156.156,0,0,0,.163-.163V26.6a1.707,1.707,0,0,0-.375-1.153,1.323,1.323,0,0,0-1.057-.436,1.548,1.548,0,0,0-.7.142,1.514,1.514,0,0,0-.492.405v-.312a.169.169,0,0,0-.042-.121.163.163,0,0,0-.121-.043h-.306a.156.156,0,0,0-.162.164V28.6a.156.156,0,0,0,.045.117.158.158,0,0,0,.117.046m6.993,0h.482a.147.147,0,0,0,.114-.046.166.166,0,0,0,.042-.117v-.234a.169.169,0,0,0-.042-.118.154.154,0,0,0-.114-.045h-.432a.438.438,0,0,1-.4-.185,1.029,1.029,0,0,1-.117-.545V25.624H82a.166.166,0,0,0,.118-.044.141.141,0,0,0,.045-.112v-.227A.156.156,0,0,0,82,25.077h-.879V23.893a.161.161,0,0,0-.046-.117.157.157,0,0,0-.117-.046h-.312a.147.147,0,0,0-.114.046.166.166,0,0,0-.042.117v1.184h-.56a.147.147,0,0,0-.114.046.164.164,0,0,0-.042.118v.227a.146.146,0,0,0,.042.112.153.153,0,0,0,.114.044h.56v1.9q0,1.242,1.1,1.242m1.433,0h.326a.159.159,0,0,0,.163-.163V26.637a1.1,1.1,0,0,1,.27-.79.942.942,0,0,1,.722-.288.907.907,0,0,1,.717.284,1.169,1.169,0,0,1,.248.794V28.6a.159.159,0,0,0,.163.163h.334a.159.159,0,0,0,.163-.163V26.6a1.7,1.7,0,0,0-.38-1.153,1.332,1.332,0,0,0-1.06-.436,1.563,1.563,0,0,0-.691.138,1.4,1.4,0,0,0-.486.4V23.893a.171.171,0,0,0-.042-.121.168.168,0,0,0-.121-.042h-.326a.167.167,0,0,0-.118.042.156.156,0,0,0-.045.121V28.6a.156.156,0,0,0,.163.163m5.524.071a1.914,1.914,0,0,0,.8-.16,1.564,1.564,0,0,0,.543-.379.627.627,0,0,0,.192-.376.11.11,0,0,0-.047-.092.178.178,0,0,0-.109-.036h-.312a.288.288,0,0,0-.121.018.4.4,0,0,0-.1.1,1.134,1.134,0,0,1-.315.273,1,1,0,0,1-.542.131.845.845,0,0,1-.7-.326,1.309,1.309,0,0,1-.284-.787v-.064h2.461a.162.162,0,0,0,.117-.046.157.157,0,0,0,.046-.117v-.127a2,2,0,0,0-.429-1.348,1.71,1.71,0,0,0-2.366-.043,1.857,1.857,0,0,0-.475,1.22l-.006.234.006.241a1.857,1.857,0,0,0,.475,1.23,1.532,1.532,0,0,0,1.157.451m-.986-2.177v-.022a1.212,1.212,0,0,1,.262-.808.9.9,0,0,1,.724-.312.908.908,0,0,1,.723.312,1.194,1.194,0,0,1,.269.808v.022Zm5.219,2.106h3.405a.186.186,0,0,0,.131-.05.167.167,0,0,0,.053-.127v-.7a.181.181,0,0,0-.184-.183h-2.3v-.923h2.084a.181.181,0,0,0,.185-.184V25.95a.181.181,0,0,0-.185-.185H93.883v-.9h2.24a.186.186,0,0,0,.132-.049.167.167,0,0,0,.053-.128v-.7a.176.176,0,0,0-.053-.131.181.181,0,0,0-.132-.053H92.776a.167.167,0,0,0-.127.053.186.186,0,0,0-.05.131v4.6a.181.181,0,0,0,.177.177m5.567.071a1.344,1.344,0,0,0,1.177-.518v.27a.164.164,0,0,0,.054.127.184.184,0,0,0,.131.05h.866a.167.167,0,0,0,.127-.053.18.18,0,0,0,.05-.124V25.255a.174.174,0,0,0-.05-.128.172.172,0,0,0-.127-.05h-.937a.184.184,0,0,0-.131.05.165.165,0,0,0-.053.128V27.19a.688.688,0,0,1-.16.486.57.57,0,0,1-.443.174c-.392,0-.589-.219-.589-.66V25.255a.169.169,0,0,0-.053-.128.186.186,0,0,0-.131-.05H97.13a.18.18,0,0,0-.124.05.169.169,0,0,0-.053.128v1.979a1.693,1.693,0,0,0,.383,1.184,1.3,1.3,0,0,0,1.007.418m3.32-.071h.936a.182.182,0,0,0,.13-.05.164.164,0,0,0,.054-.127V26.8a.606.606,0,0,1,.152-.441.583.583,0,0,1,.436-.156h.717a.167.167,0,0,0,.128-.053.174.174,0,0,0,.049-.124v-.772a.173.173,0,0,0-.049-.128.176.176,0,0,0-.128-.05h-.32a1.479,1.479,0,0,0-.592.117,1.384,1.384,0,0,0-.464.337v-.269a.181.181,0,0,0-.184-.185h-.865a.173.173,0,0,0-.129.053.186.186,0,0,0-.049.132v3.326a.172.172,0,0,0,.054.124.17.17,0,0,0,.124.053m4.766.071a2.034,2.034,0,0,0,1.372-.415,1.612,1.612,0,0,0,.521-1.181c.009-.123.014-.229.014-.318s0-.2-.014-.32a1.586,1.586,0,0,0-.536-1.173,2.391,2.391,0,0,0-2.716,0,1.586,1.586,0,0,0-.536,1.173c0,.062-.006.168-.006.32s0,.257.006.318a1.612,1.612,0,0,0,.521,1.181,2.036,2.036,0,0,0,1.374.415m0-.893a.514.514,0,0,1-.433-.182.992.992,0,0,1-.164-.556l-.006-.283.006-.285a1,1,0,0,1,.164-.553.6.6,0,0,1,.865,0,1,1,0,0,1,.163.553c0,.048.007.142.007.285s0,.235-.007.283a.992.992,0,0,1-.163.556.516.516,0,0,1-.432.182m2.694,2.17h.915a.171.171,0,0,0,.177-.178V28.368a1.188,1.188,0,0,0,1.028.468,1.38,1.38,0,0,0,1.078-.439,1.836,1.836,0,0,0,.426-1.207c0-.066.007-.156.007-.268s0-.2-.007-.263a1.846,1.846,0,0,0-.422-1.224,1.4,1.4,0,0,0-1.082-.429,1.3,1.3,0,0,0-1.1.5v-.255a.173.173,0,0,0-.049-.128.176.176,0,0,0-.128-.05h-.844a.189.189,0,0,0-.132.05.169.169,0,0,0-.053.128v4.68a.169.169,0,0,0,.053.128.189.189,0,0,0,.132.05m1.71-2.263a.556.556,0,0,1-.451-.18.753.753,0,0,1-.167-.459c0-.06-.006-.148-.006-.262s0-.208.006-.269a.864.864,0,0,1,.163-.493.639.639,0,0,1,.912-.007.98.98,0,0,1,.159.521c0,.048.008.121.008.221s0,.172-.008.219a.98.98,0,0,1-.159.521.528.528,0,0,1-.457.188m4.261.986a2.33,2.33,0,0,0,.947-.177,1.67,1.67,0,0,0,.61-.426.725.725,0,0,0,.209-.433.122.122,0,0,0-.045-.1.162.162,0,0,0-.111-.039h-.928a.307.307,0,0,0-.124.018.338.338,0,0,0-.1.088.98.98,0,0,1-.2.174.5.5,0,0,1-.272.068.473.473,0,0,1-.405-.2.9.9,0,0,1-.149-.514v-.043h2.248a.183.183,0,0,0,.185-.183V26.9a2.185,2.185,0,0,0-.21-.974,1.547,1.547,0,0,0-.63-.674,2.035,2.035,0,0,0-1.033-.245,1.853,1.853,0,0,0-1.34.476,1.832,1.832,0,0,0-.525,1.319v.219a1.805,1.805,0,0,0,.511,1.351,1.911,1.911,0,0,0,1.361.465m-.567-2.3v-.015a.853.853,0,0,1,.145-.529.5.5,0,0,1,.415-.188.506.506,0,0,1,.419.188.835.835,0,0,1,.149.529v.015Zm4.113,2.3a1.478,1.478,0,0,0,.66-.138,1.138,1.138,0,0,0,.433-.359v.249a.181.181,0,0,0,.177.177h.872a.169.169,0,0,0,.128-.053.18.18,0,0,0,.05-.124V26.439a1.348,1.348,0,0,0-.426-1.047,1.9,1.9,0,0,0-1.305-.386,2.244,2.244,0,0,0-.929.171,1.416,1.416,0,0,0-.56.408.779.779,0,0,0-.192.428.132.132,0,0,0,.039.111.161.161,0,0,0,.117.045h.822a.082.082,0,0,0,.071-.05.823.823,0,0,0,.164-.113,1.345,1.345,0,0,1,.216-.149.517.517,0,0,1,.238-.05.465.465,0,0,1,.362.121.576.576,0,0,1,.106.383V26.4l-.88.135a2.464,2.464,0,0,0-1.1.415.935.935,0,0,0-.4.783.974.974,0,0,0,.174.561,1.184,1.184,0,0,0,.481.4,1.6,1.6,0,0,0,.685.145m.354-.837a.573.573,0,0,1-.343-.1.308.308,0,0,1-.138-.263c0-.208.2-.349.595-.426l.589-.1V27.2a.832.832,0,0,1-.2.595.666.666,0,0,1-.508.206m2.844.766h.944a.167.167,0,0,0,.127-.053.175.175,0,0,0,.05-.124V26.652a.68.68,0,0,1,.163-.486.584.584,0,0,1,.447-.174.564.564,0,0,1,.444.17.713.713,0,0,1,.152.49v1.936a.167.167,0,0,0,.053.127.186.186,0,0,0,.131.05h.944a.167.167,0,0,0,.127-.053.18.18,0,0,0,.05-.124V26.609a1.934,1.934,0,0,0-.182-.873,1.264,1.264,0,0,0-.495-.545,1.4,1.4,0,0,0-.721-.185,1.613,1.613,0,0,0-.691.142,1.407,1.407,0,0,0-.493.376v-.269a.173.173,0,0,0-.049-.128.176.176,0,0,0-.128-.05h-.873a.18.18,0,0,0-.124.05.169.169,0,0,0-.053.128v3.333a.181.181,0,0,0,.177.177m6.008,0h1.021a.168.168,0,0,0,.127-.053.183.183,0,0,0,.049-.124V27.055h.81a2.33,2.33,0,0,0,1.446-.4,1.425,1.425,0,0,0,.525-1.209,1.476,1.476,0,0,0-.525-1.227,2.264,2.264,0,0,0-1.446-.418h-2.007a.171.171,0,0,0-.129.053.185.185,0,0,0-.049.131v4.6a.181.181,0,0,0,.178.177m1.177-2.723v-1.22h.8a.6.6,0,0,1,.47.17.646.646,0,0,1,.154.447.577.577,0,0,1-.169.45.646.646,0,0,1-.455.153Zm4.34,2.794a1.476,1.476,0,0,0,.659-.138,1.145,1.145,0,0,0,.433-.359v.249a.175.175,0,0,0,.053.124.171.171,0,0,0,.124.053h.872a.165.165,0,0,0,.127-.053.18.18,0,0,0,.05-.124V26.439a1.347,1.347,0,0,0-.425-1.047,1.9,1.9,0,0,0-1.306-.386,2.236,2.236,0,0,0-.928.171,1.424,1.424,0,0,0-.56.408.769.769,0,0,0-.191.428.125.125,0,0,0,.038.111.162.162,0,0,0,.118.045h.822a.082.082,0,0,0,.071-.05.79.79,0,0,0,.162-.113,1.306,1.306,0,0,1,.217-.149.514.514,0,0,1,.238-.05.468.468,0,0,1,.362.121.571.571,0,0,1,.106.383V26.4l-.879.135a2.473,2.473,0,0,0-1.1.415.939.939,0,0,0-.4.783.981.981,0,0,0,.173.561,1.191,1.191,0,0,0,.483.4,1.6,1.6,0,0,0,.685.145m.354-.837a.576.576,0,0,1-.344-.1.31.31,0,0,1-.138-.263c0-.208.2-.349.6-.426l.588-.1V27.2a.832.832,0,0,1-.2.595.664.664,0,0,1-.507.206m2.844.766h.936a.19.19,0,0,0,.132-.05.167.167,0,0,0,.053-.127V26.8a.614.614,0,0,1,.151-.441.585.585,0,0,1,.437-.156h.716a.167.167,0,0,0,.128-.053.174.174,0,0,0,.049-.124v-.772a.173.173,0,0,0-.049-.128.176.176,0,0,0-.128-.05h-.318a1.476,1.476,0,0,0-.593.117,1.365,1.365,0,0,0-.464.337v-.269a.183.183,0,0,0-.185-.185h-.865a.167.167,0,0,0-.127.053.183.183,0,0,0-.05.132v3.326a.181.181,0,0,0,.177.177m3.2,0h.887a.167.167,0,0,0,.127-.053.18.18,0,0,0,.05-.124V23.907a.17.17,0,0,0-.177-.177h-.887a.188.188,0,0,0-.131.049.165.165,0,0,0-.053.128v4.681a.163.163,0,0,0,.053.127.184.184,0,0,0,.131.05m1.979-4.2h.886a.181.181,0,0,0,.185-.185v-.659a.179.179,0,0,0-.053-.131.181.181,0,0,0-.132-.053h-.886a.17.17,0,0,0-.124.053.179.179,0,0,0-.053.131v.659a.184.184,0,0,0,.05.132.167.167,0,0,0,.127.053m0,4.2h.886a.187.187,0,0,0,.132-.05.167.167,0,0,0,.053-.127V25.255a.169.169,0,0,0-.053-.128.187.187,0,0,0-.132-.05h-.886a.175.175,0,0,0-.124.05.169.169,0,0,0-.053.128v3.333a.175.175,0,0,0,.053.124.17.17,0,0,0,.124.053m2.922.071a1.481,1.481,0,0,0,.66-.138,1.149,1.149,0,0,0,.432-.359v.249a.172.172,0,0,0,.054.124.169.169,0,0,0,.123.053h.872a.17.17,0,0,0,.128-.053.179.179,0,0,0,.049-.124V26.439a1.346,1.346,0,0,0-.424-1.047,1.906,1.906,0,0,0-1.306-.386,2.241,2.241,0,0,0-.929.171,1.412,1.412,0,0,0-.559.408.772.772,0,0,0-.192.428.129.129,0,0,0,.039.111.161.161,0,0,0,.117.045h.822a.082.082,0,0,0,.071-.05.793.793,0,0,0,.163-.113,1.266,1.266,0,0,1,.217-.149.512.512,0,0,1,.238-.05.466.466,0,0,1,.361.121.571.571,0,0,1,.107.383V26.4l-.88.135a2.469,2.469,0,0,0-1.1.415.937.937,0,0,0-.4.783.982.982,0,0,0,.174.561,1.187,1.187,0,0,0,.482.4,1.6,1.6,0,0,0,.685.145m.354-.837a.576.576,0,0,1-.344-.1.31.31,0,0,1-.138-.263c0-.208.2-.349.6-.426l.588-.1V27.2a.827.827,0,0,1-.2.595.663.663,0,0,1-.507.206m2.844.766h.894a.17.17,0,0,0,.128-.053.179.179,0,0,0,.049-.124V26.616a.672.672,0,0,1,.142-.471.471.471,0,0,1,.362-.153.478.478,0,0,1,.368.153.683.683,0,0,1,.142.478v1.965a.167.167,0,0,0,.053.127.187.187,0,0,0,.132.05h.872a.169.169,0,0,0,.128-.053.183.183,0,0,0,.049-.124V26.623a.7.7,0,0,1,.138-.478.463.463,0,0,1,.359-.153.474.474,0,0,1,.371.153.693.693,0,0,1,.139.478v1.965a.164.164,0,0,0,.054.127.182.182,0,0,0,.13.05h.872a.171.171,0,0,0,.129-.053.18.18,0,0,0,.05-.124V26.574a1.669,1.669,0,0,0-.366-1.174,1.235,1.235,0,0,0-.947-.394,1.319,1.319,0,0,0-.653.171,1.29,1.29,0,0,0-.474.439,1.08,1.08,0,0,0-1.072-.61,1.293,1.293,0,0,0-.609.142,1.445,1.445,0,0,0-.44.347v-.24a.173.173,0,0,0-.049-.128.178.178,0,0,0-.129-.05h-.822a.178.178,0,0,0-.124.05.169.169,0,0,0-.053.128v3.333a.181.181,0,0,0,.177.177m7.993.071a2.333,2.333,0,0,0,.947-.177,1.67,1.67,0,0,0,.61-.426.725.725,0,0,0,.209-.433.118.118,0,0,0-.047-.1.159.159,0,0,0-.109-.039h-.93a.321.321,0,0,0-.124.018.392.392,0,0,0-.1.088.92.92,0,0,1-.194.174.5.5,0,0,1-.274.068.47.47,0,0,1-.4-.2.9.9,0,0,1-.149-.514v-.043h2.249a.173.173,0,0,0,.13-.053.17.17,0,0,0,.054-.13V26.9a2.185,2.185,0,0,0-.21-.974,1.549,1.549,0,0,0-.631-.674,2.025,2.025,0,0,0-1.031-.245,1.854,1.854,0,0,0-1.341.476,1.828,1.828,0,0,0-.525,1.319v.219a1.805,1.805,0,0,0,.511,1.351,1.915,1.915,0,0,0,1.362.465m-.568-2.3v-.015a.847.847,0,0,1,.146-.529.493.493,0,0,1,.415-.188.5.5,0,0,1,.418.188.835.835,0,0,1,.149.529v.015Zm3.177,2.226h.944a.167.167,0,0,0,.127-.053.18.18,0,0,0,.05-.124V26.652a.676.676,0,0,1,.164-.486.579.579,0,0,1,.446-.174.563.563,0,0,1,.443.17.709.709,0,0,1,.153.49v1.936a.167.167,0,0,0,.053.127.184.184,0,0,0,.131.05h.944a.167.167,0,0,0,.127-.053.18.18,0,0,0,.05-.124V26.609a1.934,1.934,0,0,0-.182-.873,1.254,1.254,0,0,0-.5-.545,1.4,1.4,0,0,0-.72-.185,1.62,1.62,0,0,0-.692.142,1.394,1.394,0,0,0-.492.376v-.269a.174.174,0,0,0-.05-.128.172.172,0,0,0-.127-.05h-.873a.176.176,0,0,0-.124.05.169.169,0,0,0-.053.128v3.333a.175.175,0,0,0,.053.124.171.171,0,0,0,.124.053m6.234,0h.674a.167.167,0,0,0,.127-.053.18.18,0,0,0,.05-.124v-.653a.182.182,0,0,0-.05-.13.165.165,0,0,0-.127-.055h-.56a.345.345,0,0,1-.3-.127.65.65,0,0,1-.091-.376v-1.2h.886a.189.189,0,0,0,.132-.05.167.167,0,0,0,.053-.127v-.61a.169.169,0,0,0-.053-.128.189.189,0,0,0-.132-.05h-.886v-1.17a.174.174,0,0,0-.05-.128.177.177,0,0,0-.128-.049h-.871a.185.185,0,0,0-.126.049.169.169,0,0,0-.053.128v1.17h-.56a.174.174,0,0,0-.123.05.166.166,0,0,0-.054.128v.61a.172.172,0,0,0,.054.124.169.169,0,0,0,.123.053h.56v1.312q0,1.412,1.5,1.411" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M92.5,21.58a2.991,2.991,0,0,1-1.076-2.357q-.012-.309-.012-1.018c0-.481,0-.827.012-1.041a2.8,2.8,0,0,1,1.087-2.259,4.505,4.505,0,0,1,2.768-.772,5.743,5.743,0,0,1,2.06.343,3.235,3.235,0,0,1,1.372.927,2.086,2.086,0,0,1,.5,1.28.253.253,0,0,1-.252.252H96.433a.4.4,0,0,1-.331-.126c-.008-.014-.043-.062-.1-.142a.769.769,0,0,0-.28-.212,1,1,0,0,0-.441-.092.788.788,0,0,0-.881.859c-.007.206-.012.526-.012.961s0,.762.012.983q.034.974.927.972a1.158,1.158,0,0,0,.714-.194.721.721,0,0,0,.257-.617v-.012h-.537a.3.3,0,0,1-.218-.092.3.3,0,0,1-.09-.217V17.735a.3.3,0,0,1,.09-.216.3.3,0,0,1,.218-.091H98.9a.313.313,0,0,1,.309.307v1.488a2.911,2.911,0,0,1-.5,1.716,3.039,3.039,0,0,1-1.384,1.07,5.43,5.43,0,0,1-2.053.36A4.395,4.395,0,0,1,92.5,21.58" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M103.618,17.587a.479.479,0,0,0,.39-.165.637.637,0,0,0,.137-.418.748.748,0,0,0-.132-.44.447.447,0,0,0-.4-.188h-.834v1.211Zm-3.6,4.576a.291.291,0,0,1-.09-.217v-7.39a.294.294,0,0,1,.09-.218.3.3,0,0,1,.218-.09h3.385a4.027,4.027,0,0,1,2.575.738,2.465,2.465,0,0,1,.926,2.041,2.54,2.54,0,0,1-.332,1.309,2.724,2.724,0,0,1-.9.933l1.407,2.608a.284.284,0,0,1,.034.125.254.254,0,0,1-.251.253h-2.345a.506.506,0,0,1-.325-.1.531.531,0,0,1-.167-.211l-.983-2.186h-.469v2.186a.314.314,0,0,1-.309.309h-2.242a.293.293,0,0,1-.218-.092" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M107.956,22.163a.3.3,0,0,1-.091-.217v-7.39a.309.309,0,0,1,.309-.308h5.866a.311.311,0,0,1,.31.308V16.17a.312.312,0,0,1-.31.308h-3.431V17.2h3.18a.312.312,0,0,1,.309.309V19a.293.293,0,0,1-.092.217.3.3,0,0,1-.217.091h-3.18v.721h3.524a.3.3,0,0,1,.217.092.292.292,0,0,1,.091.217v1.613a.312.312,0,0,1-.308.309h-5.959a.293.293,0,0,1-.218-.092" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M115.426,22.163a.292.292,0,0,1-.091-.217v-7.39a.3.3,0,0,1,.091-.218.3.3,0,0,1,.218-.09h5.867a.311.311,0,0,1,.31.308V16.17a.3.3,0,0,1-.092.217.3.3,0,0,1-.218.091h-3.432V17.2h3.181a.311.311,0,0,1,.308.309V19a.292.292,0,0,1-.091.217.3.3,0,0,1-.217.091h-3.181v.721H121.6a.3.3,0,0,1,.217.092.291.291,0,0,1,.09.217v1.613a.311.311,0,0,1-.307.309h-5.96a.3.3,0,0,1-.218-.092" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M123.055,22.163a.291.291,0,0,1-.09-.217v-7.39a.294.294,0,0,1,.09-.218.3.3,0,0,1,.218-.09h1.807a.5.5,0,0,1,.469.263l1.934,3.168V14.556a.307.307,0,0,1,.307-.308h2.072a.3.3,0,0,1,.217.09.3.3,0,0,1,.091.218v7.39a.3.3,0,0,1-.091.217.293.293,0,0,1-.217.092h-1.807a.481.481,0,0,1-.3-.08.744.744,0,0,1-.171-.184l-1.934-2.917v2.872a.3.3,0,0,1-.091.217.294.294,0,0,1-.217.092h-2.071a.3.3,0,0,1-.218-.092" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M132.4,22.037a2.863,2.863,0,0,1-1.264-.886,2.094,2.094,0,0,1-.446-1.219.241.241,0,0,1,.074-.177.247.247,0,0,1,.178-.075h2.172a.679.679,0,0,1,.258.041,1.047,1.047,0,0,1,.235.154,1.312,1.312,0,0,0,.846.263,1.859,1.859,0,0,0,.623-.086c.156-.057.235-.135.235-.235,0-.137-.1-.241-.309-.314a6.91,6.91,0,0,0-1.167-.222q-2.949-.39-2.951-2.517a2.255,2.255,0,0,1,.44-1.367,2.848,2.848,0,0,1,1.231-.932,4.657,4.657,0,0,1,1.818-.332,4.551,4.551,0,0,1,1.887.366,3.241,3.241,0,0,1,1.247.921,1.9,1.9,0,0,1,.457,1.081.24.24,0,0,1-.074.177.229.229,0,0,1-.166.074h-2.287a.641.641,0,0,1-.252-.04.8.8,0,0,1-.206-.142.894.894,0,0,0-.606-.206c-.366,0-.549.106-.549.32,0,.114.089.21.269.286a4.32,4.32,0,0,0,1,.206,7.035,7.035,0,0,1,1.836.446,2.143,2.143,0,0,1,1.007.794,2.313,2.313,0,0,1,.314,1.253,2.21,2.21,0,0,1-.492,1.424,3.132,3.132,0,0,1-1.356.944,5.41,5.41,0,0,1-1.95.332,5.614,5.614,0,0,1-2.053-.332" transform="translate(-4.663 -5.249)"/><path class="cls-1" d="M143.508,22.163a.3.3,0,0,1-.091-.217v-7.39a.309.309,0,0,1,.309-.308h5.867a.311.311,0,0,1,.31.308V16.17a.3.3,0,0,1-.092.217.3.3,0,0,1-.218.091h-3.431V17.2h3.18a.312.312,0,0,1,.309.309V19a.293.293,0,0,1-.092.217.3.3,0,0,1-.217.091h-3.18v.721h3.524a.3.3,0,0,1,.217.092.292.292,0,0,1,.091.217v1.613a.312.312,0,0,1-.308.309h-5.96a.3.3,0,0,1-.218-.092" transform="translate(-4.663 -5.249)"/><path class="cls-1" d="M150.978,22.163a.291.291,0,0,1-.09-.217v-7.39a.294.294,0,0,1,.09-.218.3.3,0,0,1,.218-.09h5.765a.311.311,0,0,1,.309.308V16.3a.311.311,0,0,1-.309.308h-3.272v.847h3.043a.314.314,0,0,1,.309.31v1.726a.312.312,0,0,1-.309.309h-3.043v2.151a.312.312,0,0,1-.308.309H151.2a.3.3,0,0,1-.218-.092" transform="translate(-4.663 -5.249)"/><path class="cls-1" d="M160.588,18.983h1.293l-.652-2.128Zm-3.6,3.2a.24.24,0,0,1-.074-.177.248.248,0,0,1,.011-.081l2.552-7.3a.581.581,0,0,1,.17-.263.494.494,0,0,1,.343-.115h2.483a.5.5,0,0,1,.343.115.594.594,0,0,1,.172.263l2.55,7.3a.248.248,0,0,1,.011.081.253.253,0,0,1-.251.251h-2.116a.424.424,0,0,1-.446-.285l-.274-.755h-2.46l-.274.755a.426.426,0,0,1-.446.285h-2.117a.24.24,0,0,1-.177-.074" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M72.908,22.143a.243.243,0,0,1-.072-.181V15.456H70.713a.252.252,0,0,1-.183-.072.247.247,0,0,1-.072-.182v-.429a.26.26,0,0,1,.072-.193.252.252,0,0,1,.183-.072H76a.242.242,0,0,1,.187.072.27.27,0,0,1,.067.193V15.2a.246.246,0,0,1-.254.254H73.883v6.506a.234.234,0,0,1-.078.181.266.266,0,0,1-.187.072h-.529a.245.245,0,0,1-.181-.072" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M77.485,22.027a.256.256,0,0,1-.067-.182V14.656a.266.266,0,0,1,.067-.192.226.226,0,0,1,.175-.072h.529a.26.26,0,0,1,.193.072.256.256,0,0,1,.071.192v3.061h3.832V14.656a.253.253,0,0,1,.072-.192.242.242,0,0,1,.181-.072h.528a.248.248,0,0,1,.264.264v7.189a.239.239,0,0,1-.076.182.271.271,0,0,1-.188.072h-.528a.246.246,0,0,1-.253-.254v-3.17H78.453v3.17a.237.237,0,0,1-.077.182.27.27,0,0,1-.187.072H77.66a.229.229,0,0,1-.175-.072" transform="translate(-4.663 -5.249)"/><path class="cls-2" d="M85.323,22.027a.26.26,0,0,1-.066-.182V14.656a.27.27,0,0,1,.066-.192.23.23,0,0,1,.177-.072h4.524a.248.248,0,0,1,.264.264v.4a.231.231,0,0,1-.072.177.268.268,0,0,1-.192.066H86.27V17.75h3.513a.246.246,0,0,1,.264.263v.376a.245.245,0,0,1-.072.181.261.261,0,0,1-.192.072H86.27v2.543h3.842a.26.26,0,0,1,.193.072.253.253,0,0,1,.072.192v.4a.241.241,0,0,1-.078.182.268.268,0,0,1-.187.072H85.5a.233.233,0,0,1-.177-.072" transform="translate(-4.663 -5.249)"/><path class="cls-1" d="M139.16,22.1a.652.652,0,0,1-.593-.922l2.967-6.522a.652.652,0,0,1,1.188.54l-2.969,6.522a.654.654,0,0,1-.593.382" transform="translate(-4.663 -5.249)"/><path class="cls-1" d="M72.679,24.337a.158.158,0,0,1-.046-.117v-.369a.168.168,0,0,1,.046-.12.151.151,0,0,1,.117-.05h.418a.166.166,0,0,1,.121.05.163.163,0,0,1,.049.12v.369a.153.153,0,0,1-.049.117.171.171,0,0,1-.121.046H72.8A.155.155,0,0,1,72.679,24.337Zm.057,4.382a.159.159,0,0,1-.047-.117V25.241a.159.159,0,0,1,.047-.117.154.154,0,0,1,.116-.046h.312a.156.156,0,0,1,.163.163V28.6a.156.156,0,0,1-.163.163h-.312A.154.154,0,0,1,72.736,28.719Z" transform="translate(-4.663 -5.249)"/></g><g id="BM"><path class="cls-1" d="M58.257,22.325l-1.095.887.462-1.292-.97-.756h1.254l.349-1.117.385,1.117h1.289L58.9,21.92l.46,1.292ZM57.59,29.1l-1.106-.887-1.1.887L55.85,27.8l-.97-.755h1.254l.35-1.117.384,1.117h1.289l-1.029.755ZM52.968,13.3l.461,1.292-1.106-.886-1.095.886L51.69,13.3l-.97-.756h1.254l.349-1.117.384,1.117H54ZM53.2,32.2l-1.106-.888L51,32.2l.461-1.293-.97-.755h1.254l.35-1.117.384,1.117h1.289l-1.028.755ZM50,27.378H43.612V25.745h4.324v-3.2H43.572V21h4.364v-3.18c0,.018-4.424,0-4.424,0V16.307H50Zm-1.97,6.139-1.1-.886-1.095.886.462-1.292-.971-.755h1.255l.349-1.117.384,1.117H48.6l-1.03.755Zm-5.356-1.268-1.106-.887-1.1.887.461-1.292-.97-.755h1.254l.35-1.117L41.95,30.2h1.289l-1.028.755Zm-1.845-19.8.349-1.117.385,1.117h1.29l-1.03.755.461,1.292-1.106-.887-1.094.887.461-1.292-.97-.755Zm-2.279,16.6-1.105-.887-1.095.887.461-1.292L35.839,27h1.254l.35-1.117L37.827,27h1.29l-1.03.756Zm-4.085-7.38h1.254l.349-1.118.384,1.118h1.29l-1.03.755.462,1.293-1.106-.887-1.1.887.462-1.293Zm2.2-5.63.349-1.117.385,1.117h1.289l-1.03.756.462,1.292L37.008,17.2l-1.1.887.462-1.292-.971-.756Zm9.85-5.368.349-1.117.385,1.117h1.29l-1.03.756.461,1.292-1.106-.886-1.094.886.461-1.292-.97-.756Zm9.928,5.372.349-1.117.385,1.117H58.46l-1.029.756.461,1.292L56.786,17.2l-1.095.887.462-1.292-.97-.756Zm-9.355-8.01c-8.042,0-14.562,6.086-14.562,13.592s6.52,13.593,14.562,13.593,14.561-6.085,14.561-13.593S55.124,8.033,47.082,8.033" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M24.881,5.716h0s-.18.254-.458.678-.655,1.018-1.042,1.7a21.556,21.556,0,0,0-1.117,2.235,9.466,9.466,0,0,0-.682,2.282,3.741,3.741,0,0,0,.137,1.762,2.818,2.818,0,0,0,.684,1.083,3.044,3.044,0,0,0,.758.546,2.217,2.217,0,0,0,.36.15s.168-.134.427-.382a10.612,10.612,0,0,0,.966-1.058,9.049,9.049,0,0,0,1.035-1.6,6.283,6.283,0,0,0,.629-2.013,6.115,6.115,0,0,0-.114-2.068,8.1,8.1,0,0,0-.6-1.715A9,9,0,0,0,25.2,6.148a5.043,5.043,0,0,0-.316-.432" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M12.123,21.632l-.013,0H12.1l-.012,0-.014,0c-.82.13-1.677.316-2.506.521s-1.629.432-2.334.642-1.314.4-1.763.548-.735.238-.795.246h-.01v0a3.614,3.614,0,0,0,.568.424,12.124,12.124,0,0,0,1.517.852,10.513,10.513,0,0,0,2.159.758,7.008,7.008,0,0,0,2.493.14h.01l.01,0h.01l.01,0,.02,0,.019,0,.019,0,.018,0A7.7,7.7,0,0,0,12.7,25.5a8.16,8.16,0,0,0,1.053-.4,8.734,8.734,0,0,0,.911-.487c.279-.171.533-.346.761-.519s.431-.342.607-.5.323-.3.444-.424.211-.223.273-.294.095-.11.1-.11h0a1.2,1.2,0,0,0-.266-.255,3.861,3.861,0,0,0-.842-.493,5.478,5.478,0,0,0-1.47-.4,7.958,7.958,0,0,0-2.149.018" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M34.36,16.451l-.033,0-.034.005-.033,0-.033.006a7.693,7.693,0,0,0-2.253.684A8.914,8.914,0,0,0,30.3,18.2a9.445,9.445,0,0,0-1.045.958c-.239.254-.365.419-.371.42a1.4,1.4,0,0,0,.277.264,4.127,4.127,0,0,0,.873.522,5.687,5.687,0,0,0,1.516.438,8.1,8.1,0,0,0,2.207.009,23.773,23.773,0,0,0,2.547-.522c.836-.215,1.637-.457,2.338-.684s1.3-.441,1.736-.6.7-.26.739-.265h0a3.855,3.855,0,0,0-.583-.447A12.618,12.618,0,0,0,39,17.4a10.593,10.593,0,0,0-2.169-.794,6.8,6.8,0,0,0-2.473-.158" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M8.242,16.446h0v0Zm0,0c.013.029.114.261.3.608a11.907,11.907,0,0,0,.806,1.3,8.957,8.957,0,0,0,1.3,1.464,5.64,5.64,0,0,0,1.767,1.1,4.749,4.749,0,0,0,.656.194,5.148,5.148,0,0,0,.655.1,5.533,5.533,0,0,0,.642.014,5.931,5.931,0,0,0,.62-.053c.212-.028.418-.066.617-.111s.389-.1.57-.152.353-.115.513-.176.309-.122.445-.182.259-.118.367-.171.2-.1.276-.145.135-.075.175-.1l.063-.037a2.145,2.145,0,0,0-.019-.4,3.31,3.31,0,0,0-.249-.914,3.063,3.063,0,0,0-.763-1.056,3.853,3.853,0,0,0-1.557-.819,15.258,15.258,0,0,0-2.252-.339c-.792-.067-1.6-.1-2.319-.108s-1.363,0-1.828,0a4.633,4.633,0,0,1-.778-.017" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M15.61,10.305s-.049.242-.1.636a14.312,14.312,0,0,0-.129,1.552,9.951,9.951,0,0,0,.119,1.943,4.9,4.9,0,0,0,.644,1.808,3,3,0,0,0,.967.959,3.7,3.7,0,0,0,1.145.455,5.075,5.075,0,0,0,1.094.118,5.932,5.932,0,0,0,.817-.051c.049-.006.093-.013.132-.019l.1-.018.062-.012.021-.006a4.584,4.584,0,0,0,.235-.445,6.417,6.417,0,0,0,.413-1.128,4.591,4.591,0,0,0,.156-1.5,3.112,3.112,0,0,0-.535-1.562A4.845,4.845,0,0,0,19.362,11.8a10.264,10.264,0,0,0-1.7-.837c-.557-.217-1.071-.375-1.444-.482s-.607-.162-.606-.173" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M37.359,10.517c-.386.052-.807.124-1.247.221a13.791,13.791,0,0,0-1.364.374,11.5,11.5,0,0,0-1.393.562,9.14,9.14,0,0,0-1.335.784A10.076,10.076,0,0,0,30.145,14.1a8.789,8.789,0,0,0-1.1,1.543,7.155,7.155,0,0,0-.521,1.146,3.711,3.711,0,0,0-.132.449.758.758,0,0,0,.122.017c.079.008.2.017.346.021s.335,0,.548-.006.455-.03.722-.066.54-.085.84-.153a9.932,9.932,0,0,0,.956-.27,10.516,10.516,0,0,0,1.048-.415,11.506,11.506,0,0,0,1.117-.592,14.887,14.887,0,0,0,2.161-1.625A22.121,22.121,0,0,0,37.981,12.4c.49-.55.882-1.041,1.152-1.395s.417-.573.417-.576-.054-.022-.159-.029-.259-.012-.452-.009-.428.013-.7.032-.564.05-.885.094" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M33.647,5.249c-.018,0-.293.178-.725.486s-1.024.749-1.676,1.284A26.613,26.613,0,0,0,29.208,8.87,15.076,15.076,0,0,0,27.4,11.052a7.813,7.813,0,0,0-1,2.039,5.086,5.086,0,0,0-.243,1.549,3.675,3.675,0,0,0,.138.985,1.931,1.931,0,0,0,.132.346s.192-.065.508-.205a11.239,11.239,0,0,0,1.266-.664A11.341,11.341,0,0,0,29.83,13.9a10.117,10.117,0,0,0,1.625-1.833,11.3,11.3,0,0,0,1.181-2.291,15.787,15.787,0,0,0,.659-2.2c.15-.67.238-1.248.288-1.66s.064-.656.065-.657h0Z" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M22.211,26.2h0s-.172.133-.437.375a10.739,10.739,0,0,0-.987,1.035,8.908,8.908,0,0,0-1.062,1.574,6.1,6.1,0,0,0-.657,1.988,5.821,5.821,0,0,0,.108,2.079,8.347,8.347,0,0,0,.627,1.766,10.113,10.113,0,0,0,.7,1.226c.2.294.335.46.335.46s.192-.245.482-.658.678-1,1.079-1.668a19.332,19.332,0,0,0,1.145-2.215,8.694,8.694,0,0,0,.679-2.3,3.882,3.882,0,0,0-.161-1.8,3.035,3.035,0,0,0-.708-1.122,3.24,3.24,0,0,0-.777-.575,2.263,2.263,0,0,0-.369-.162" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M15.493,25.1c-.257.034-.537.082-.835.148s-.616.151-.948.257-.681.234-1.042.39a11.989,11.989,0,0,0-1.111.549A17.617,17.617,0,0,0,9.322,27.96c-.688.541-1.31,1.1-1.832,1.6s-.946.944-1.239,1.264-.456.515-.457.516.078.03.225.044.363.026.632.029.592,0,.953-.024.764-.056,1.191-.113c.368-.05.755-.115,1.151-.2s.8-.191,1.209-.319a10.769,10.769,0,0,0,1.215-.463,9.035,9.035,0,0,0,1.164-.629,9.758,9.758,0,0,0,1.935-1.548,8.331,8.331,0,0,0,1.145-1.487,6.987,6.987,0,0,0,.547-1.118,4.177,4.177,0,0,0,.142-.445.845.845,0,0,0-.128-.019c-.082-.009-.205-.018-.361-.022s-.348,0-.57.007-.473.032-.751.07m1.81-.036Z" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M19.269,26.319s-.195.062-.516.2a11.781,11.781,0,0,0-1.289.634,11.968,11.968,0,0,0-1.68,1.153,10.38,10.38,0,0,0-1.691,1.749,10.948,10.948,0,0,0-1.265,2.188,15.071,15.071,0,0,0-.739,2.114,16.07,16.07,0,0,0-.345,1.6c-.065.4-.086.634-.085.637h0a7.31,7.31,0,0,0,.783-.438c.458-.277,1.081-.678,1.765-1.169a23.589,23.589,0,0,0,2.133-1.716,13.4,13.4,0,0,0,1.886-2.083,7.491,7.491,0,0,0,1.046-1.994,4.844,4.844,0,0,0,.26-1.534,3.541,3.541,0,0,0-.132-.985,1.944,1.944,0,0,0-.132-.349" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M30.738,21.266q-.312.042-.6.109c-.194.043-.379.094-.556.148s-.342.111-.5.169-.3.119-.431.177-.25.113-.354.165-.194.1-.268.139l-.171.1a.619.619,0,0,1-.066.036,2.375,2.375,0,0,0,.027.41,3.493,3.493,0,0,0,.273.947,3.4,3.4,0,0,0,.808,1.114,4.314,4.314,0,0,0,1.627.912,16.366,16.366,0,0,0,2.337.459c.822.109,1.654.179,2.4.226s1.41.072,1.893.09a5.5,5.5,0,0,1,.808.053c-.016-.032-.133-.288-.344-.674a14.468,14.468,0,0,0-.9-1.438,10.623,10.623,0,0,0-1.4-1.619,6.091,6.091,0,0,0-1.854-1.218,5,5,0,0,0-.7-.221,5.156,5.156,0,0,0-.7-.113,5.734,5.734,0,0,0-.678-.021,5.975,5.975,0,0,0-.65.054m7.228,5.25h0v0h0" transform="translate(-4.663 -5.249)"/><path class="cls-3" d="M25.563,24.668c-.032,0-.061.008-.086.013l-.063.01-.039.007-.014,0s-.1.168-.235.449a6.346,6.346,0,0,0-.41,1.137,4.6,4.6,0,0,0-.14,1.528,3.318,3.318,0,0,0,.577,1.621,5.629,5.629,0,0,0,1.464,1.352,12.465,12.465,0,0,0,1.809.987c.592.268,1.139.473,1.538.615s.648.22.647.233.044-.253.085-.668a15.709,15.709,0,0,0,.075-1.64,11.116,11.116,0,0,0-.2-2.06,5.607,5.607,0,0,0-.729-1.932,3.421,3.421,0,0,0-1.085-1.074,4.071,4.071,0,0,0-1.251-.5,5.454,5.454,0,0,0-1.153-.126,5.748,5.748,0,0,0-.793.048" transform="translate(-4.663 -5.249)"/></g></svg>
diff --git a/green_deal/static/green_deal/images/jpg.png b/green_deal/static/green_deal/images/jpg.png
new file mode 100644
index 0000000000000000000000000000000000000000..389ffc3b5ccaa5015212cbbda215758d062e8ad3
Binary files /dev/null and b/green_deal/static/green_deal/images/jpg.png differ
diff --git a/green_deal/static/green_deal/images/li.png b/green_deal/static/green_deal/images/li.png
new file mode 100644
index 0000000000000000000000000000000000000000..012d02858ed5db6dfe8c36976a25a54fe899d172
Binary files /dev/null and b/green_deal/static/green_deal/images/li.png differ
diff --git a/green_deal/static/green_deal/images/linkedins.png b/green_deal/static/green_deal/images/linkedins.png
new file mode 100644
index 0000000000000000000000000000000000000000..e81a43933016fd0bf93929af5fec940a808c3118
Binary files /dev/null and b/green_deal/static/green_deal/images/linkedins.png differ
diff --git a/green_deal/static/green_deal/images/loading.gif b/green_deal/static/green_deal/images/loading.gif
new file mode 100644
index 0000000000000000000000000000000000000000..f864d5fd38b7466c76b5a36dc0e3e9455c0126e2
Binary files /dev/null and b/green_deal/static/green_deal/images/loading.gif differ
diff --git a/green_deal/static/green_deal/images/logo_napis-300x85.png b/green_deal/static/green_deal/images/logo_napis-300x85.png
new file mode 100644
index 0000000000000000000000000000000000000000..46a9607f9bdf2ad54101a1d4aba9def6e08d5f36
Binary files /dev/null and b/green_deal/static/green_deal/images/logo_napis-300x85.png differ
diff --git a/green_deal/static/green_deal/images/logo_napis.png b/green_deal/static/green_deal/images/logo_napis.png
new file mode 100644
index 0000000000000000000000000000000000000000..46a48b763c9a154dff1a60b0c235a0c60b5a9c26
Binary files /dev/null and b/green_deal/static/green_deal/images/logo_napis.png differ
diff --git a/green_deal/static/green_deal/images/logo_napis_white.svg b/green_deal/static/green_deal/images/logo_napis_white.svg
new file mode 100644
index 0000000000000000000000000000000000000000..83b05f5a89ce78c11f27ab279834728454e6fd93
--- /dev/null
+++ b/green_deal/static/green_deal/images/logo_napis_white.svg
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg id="Vrstva_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 172 55.2">
+  <style>
+    .st0{clip-path:url(#SVGID_2_);fill:#FFFFFF;} .st1{fill:#FFFFFF;} .st2{clip-path:url(#SVGID_4_);fill:#FFFFFF;} .st3{clip-path:url(#SVGID_6_);fill:#FFFFFF;} .st4{clip-path:url(#SVGID_8_);fill:#FFFFFF;} .st5{clip-path:url(#SVGID_10_);fill:#FFFFFF;}
+  </style>
+  <defs>
+    <path id="SVGID_1_" d="M2.7 4.4H168v46.7H2.7z"/>
+  </defs>
+  <clipPath id="SVGID_2_">
+    <use xlink:href="#SVGID_1_" overflow="visible"/>
+  </clipPath>
+  <path class="st0" d="M24.7 7.2c-5.9 0-11.4 2.3-15.5 6.4-4.2 4.1-6.5 9.7-6.5 15.5C2.7 35 5 40.5 9.1 44.7c4.2 4.1 9.7 6.4 15.5 6.4 5.9 0 11.4-2.3 15.5-6.4 4.2-4.1 6.4-9.7 6.4-15.5 0-5.9-2.3-11.4-6.4-15.5-4-4.3-9.5-6.5-15.4-6.5m0 41.8c-11 0-19.9-8.9-19.9-19.9 0-11 8.9-19.9 19.9-19.9 11 0 19.9 8.9 19.9 19.9 0 11-8.9 19.9-19.9 19.9"/>
+  <path class="st0" d="M18.1 16.1V13h-1.9v3.6c-1.3.4-2.1.8-1.9 1.1.4-.1 1.1-.2 1.9-.1V36c-2 3.8.9 9.7.9 9.7s-2.1-6.3 2.6-9.3c4.3-2.7 19.3-1.5 19.2-9.9-.1-11.9-13.9-11.9-20.8-10.4m6.1 11.6c-.7 3.2-4.1 4.8-6.2 6.2V17.8c3.5.8 7.6 3.5 6.2 9.9M59.9 9.6c-1.8 0-3.4.1-5 .3v16.4h4.4v-5.2c.4 0 .9.1 1.5.1 2.2 0 3.9-.5 5.1-1.6 1.2-1 1.7-2.6 1.7-4.6 0-3.5-2.5-5.4-7.7-5.4m2.8 7.7c-.5.5-1.3.7-2.3.7-.4 0-.7 0-1-.1v-4.8c.3-.1.7-.1 1-.1 2 0 3.1.8 3.1 2.4 0 .8-.3 1.5-.8 1.9"/>
+  <path class="st1" d="M69.7 9.8h5v16.5h-5z"/>
+  <defs>
+    <path id="SVGID_3_" d="M2.7 4.4H168v46.7H2.7z"/>
+  </defs>
+  <clipPath id="SVGID_4_">
+    <use xlink:href="#SVGID_3_" overflow="visible"/>
+  </clipPath>
+  <path class="st2" d="M86.4 26.4H91l-1.6-4.5c-.3-.7-.6-1.3-.9-1.7-.3-.4-.7-.7-1.1-1 .9-.3 1.7-.9 2.3-1.7.6-.8.9-1.7.9-2.7 0-3.4-2.3-5.1-6.8-5.1-2 0-3.9.1-5.9.3v16.4h4.4v-5.8h1c.4 0 .8.1 1 .3.3.2.5.6.6 1.1l1.5 4.4zm-2.8-9.1h-1.2v-4.2c.3-.1.8-.1 1.2-.1 1.7 0 2.5.7 2.5 2.2 0 .7-.2 1.2-.7 1.6-.4.3-1 .5-1.8.5"/>
+  <path class="st1" d="M97.5 23.2h4.6l.8 3.2h4.8l-5.4-16.6h-4.8L92 26.4h4.7l.8-3.2zm2.3-9.5l1.5 6.1h-3l1.5-6.1zM104.4 4.4h-5l-2.3 4.1h3.7zM111.9 26.4h4.6V13.6h4.5V9.8h-13.6v3.8h4.5z"/>
+  <defs>
+    <path id="SVGID_5_" d="M2.7 4.4H168v46.7H2.7z"/>
+  </defs>
+  <clipPath id="SVGID_6_">
+    <use xlink:href="#SVGID_5_" overflow="visible"/>
+  </clipPath>
+  <path class="st3" d="M128.3 23.1c-.8 0-1.6-.2-2.5-.5-.9-.3-1.7-.7-2.5-1.2l-1 3.5c.7.5 1.6.9 2.7 1.2 1.1.3 2.1.5 3.1.5 2.3 0 4-.4 5.2-1.3 1.1-.9 1.7-2.1 1.7-3.8 0-1.4-.5-2.5-1.5-3.4-1-.9-2.6-1.6-5-2.3-1-.3-1.5-.7-1.5-1.4 0-.4.2-.7.5-1 .4-.2.9-.4 1.6-.4 1.6 0 3.1.4 4.7 1.1l.8-3.5c-1.5-.8-3.4-1.1-5.7-1.1-2.1 0-3.7.4-4.9 1.3-1.2.9-1.7 2.1-1.7 3.6 0 1.4.5 2.5 1.4 3.4.9.9 2.5 1.7 4.7 2.3 1.2.3 1.8.8 1.8 1.5.1 1-.6 1.5-1.9 1.5"/>
+  <path class="st1" d="M151.5 9.8h-5.3l-4.2 7.1h-.1V9.8h-4.5v16.6h4.5v-7.7h.1l4.5 7.7h5.2l-5.5-8.6zM164.8 4.4h-5l-2.3 4.1h3.6zM162.6 9.8h-4.8l-5.4 16.5h4.7l.8-3.2h4.6l.8 3.2h4.8l-5.5-16.5zm-3.9 10l1.5-6.1 1.5 6.1h-3z"/>
+  <g>
+    <defs>
+      <path id="SVGID_7_" d="M2.7 4.4H168v46.7H2.7z"/>
+    </defs>
+    <clipPath id="SVGID_8_">
+      <use xlink:href="#SVGID_7_" overflow="visible"/>
+    </clipPath>
+    <path class="st4" d="M60.6 38.2c-1-.3-1.5-.7-1.5-1.4 0-.4.2-.7.5-1 .4-.2.9-.4 1.6-.4 1.6 0 3.1.4 4.7 1.1l.8-3.5c-1.5-.8-3.4-1.1-5.7-1.1-2.1 0-3.7.4-4.9 1.3-1.2.9-1.7 2.1-1.7 3.6 0 1.4.5 2.5 1.4 3.4.9.9 2.5 1.7 4.7 2.3 1.2.3 1.8.8 1.8 1.5 0 1-.7 1.5-2 1.5-.8 0-1.6-.1-2.5-.5-.9-.3-1.7-.7-2.5-1.2l-1 3.5c.7.5 1.6.9 2.7 1.2 1.1.3 2.1.5 3.1.5 2.3 0 4-.4 5.2-1.3 1.1-.9 1.7-2.1 1.7-3.8 0-1.4-.5-2.5-1.5-3.4-.8-.9-2.5-1.6-4.9-2.3"/>
+  </g>
+  <path class="st1" d="M68.5 36H73v12.8h4.6V36h4.5v-3.8H68.5z"/>
+  <g>
+    <defs>
+      <path id="SVGID_9_" d="M2.7 4.4H168v46.7H2.7z"/>
+    </defs>
+    <clipPath id="SVGID_10_">
+      <use xlink:href="#SVGID_9_" overflow="visible"/>
+    </clipPath>
+    <path class="st5" d="M95.2 42.5c-.3-.4-.7-.7-1.1-1 .9-.3 1.7-.9 2.3-1.7.6-.8.9-1.7.9-2.7 0-3.4-2.3-5.1-6.8-5.1-2 0-3.9.1-5.9.3v16.4H89V43h1c.4 0 .8.1 1 .3.3.2.5.6.6 1.1l1.4 4.3h4.6L96 44.2c-.2-.7-.5-1.3-.8-1.7M92 39.1c-.4.4-1.1.6-1.8.6H89v-4.2c.3-.1.8-.1 1.2-.1 1.7 0 2.5.7 2.5 2.2 0 .6-.2 1.1-.7 1.5"/>
+  </g>
+  <path class="st1" d="M104.3 32.2l-5.4 16.5h4.7l.7-3.2h4.6l.8 3.2h4.8L109 32.2h-4.7zm.8 10l1.5-6.1 1.5 6.1h-3zM125.8 41.3h-.1l-4.9-9.1h-4.5v16.6h4.5v-9.1l5 9.1h4.4V32.2h-4.4zM137.5 32.2L132 48.8h4.7l.8-3.2h4.6l.8 3.2h4.8l-5.4-16.5h-4.8zm.8 10l1.5-6.1 1.5 6.1h-3z"/>
+</svg>
diff --git a/green_deal/static/green_deal/images/lupa.png b/green_deal/static/green_deal/images/lupa.png
new file mode 100644
index 0000000000000000000000000000000000000000..33f27d112aea875043fbdd574765d75b5d9c0a62
Binary files /dev/null and b/green_deal/static/green_deal/images/lupa.png differ
diff --git a/green_deal/static/green_deal/images/mob_hide_l.png b/green_deal/static/green_deal/images/mob_hide_l.png
new file mode 100644
index 0000000000000000000000000000000000000000..e6cad727cb4130b5fbc1f44c68dc2d84f1c6cea6
Binary files /dev/null and b/green_deal/static/green_deal/images/mob_hide_l.png differ
diff --git a/green_deal/static/green_deal/images/mob_hide_l.svg b/green_deal/static/green_deal/images/mob_hide_l.svg
new file mode 100644
index 0000000000000000000000000000000000000000..b992f627ae595b37eab75b95b9743f182d497e2d
--- /dev/null
+++ b/green_deal/static/green_deal/images/mob_hide_l.svg
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="10.43159mm"
+   height="8.4796019mm"
+   viewBox="0 0 10.43159 8.4796019"
+   version="1.1"
+   id="svg8"
+   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
+   sodipodi:docname="mob_hide_l.svg">
+  <defs
+     id="defs2" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="11.2"
+     inkscape:cx="12.120674"
+     inkscape:cy="5.5003336"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer5"
+     showgrid="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1057"
+     inkscape:window-x="1912"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata5">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:groupmode="layer"
+     id="layer5"
+     inkscape:label="Vrstva 5"
+     transform="translate(-102.03995,-81.577619)">
+    <path
+       style="fill:#ffffff;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 112.47154,86.490883 -0.18899,0.07087 -7.1626,-0.01216 c 0.8165,0.811602 2.4445,2.302331 2.4445,2.302331 l -1.18319,1.205297 -4.34131,-4.367336 4.57755,-4.112266 1.07232,1.190438 -2.56987,2.199072 v 0 0 l 7.20985,-0.01178 0.14174,0.165365 z"
+       id="path4723"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cccccccccccccc" />
+  </g>
+</svg>
diff --git a/green_deal/static/green_deal/images/mob_hide_r.png b/green_deal/static/green_deal/images/mob_hide_r.png
new file mode 100644
index 0000000000000000000000000000000000000000..9165033a3fe1779f1c81e3d76d22f365129a8adb
Binary files /dev/null and b/green_deal/static/green_deal/images/mob_hide_r.png differ
diff --git a/green_deal/static/green_deal/images/mob_menu.png b/green_deal/static/green_deal/images/mob_menu.png
new file mode 100644
index 0000000000000000000000000000000000000000..ddeada9b106fcbef7c5338c2f988ee96dd70d645
Binary files /dev/null and b/green_deal/static/green_deal/images/mob_menu.png differ
diff --git a/green_deal/static/green_deal/images/mob_menu.svg b/green_deal/static/green_deal/images/mob_menu.svg
new file mode 100644
index 0000000000000000000000000000000000000000..9a88c6e6ab9f76a3403e6dbfe4035c0e746ee172
--- /dev/null
+++ b/green_deal/static/green_deal/images/mob_menu.svg
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="59mm"
+   height="33mm"
+   viewBox="0 0 59 33"
+   version="1.1"
+   id="svg4563"
+   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
+   sodipodi:docname="mob_menu.svg">
+  <defs
+     id="defs4557" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="-495.64678"
+     inkscape:cy="-37.63778"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1057"
+     inkscape:window-x="1912"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata4560">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Vrstva 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-72.553568,-105.875)">
+    <g
+       id="g4558"
+       transform="translate(70.553568,99.875004)"
+       style="display:inline;fill:#ffffff">
+      <path
+         inkscape:connector-curvature="0"
+         id="path4552"
+         d="m 7.125,34.625 c 0.083333,-0.25 0.25,-0.416667 0.5,-0.5 C 7.875,34.041667 8.1666667,34 8.5,34 h 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.5 v 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 h -0.5 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 C 7.6162541,38.978832 7.0069585,38.826478 7,37.5 v -1 -1 c 0,-0.333333 0.041667,-0.625 0.125,-0.875"
+         style="fill:#ffffff;fill-opacity:1"
+         sodipodi:nodetypes="cssccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccsc" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path4550"
+         d="M 2.125,20.625 Q 2.25,20.25 2.625,20.125 3,20 3.5,20 q 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 H 61 v 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 h -0.5 q -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 Q 9,25 8.5,25 8,25 7.5,25 7,25 6.5,25 6,25 5.5,25 5,25 4.5,25 4,25 3.5,25 3,25 2.625,24.875 2.25,24.75 2.125,24.375 2,24 2,23.5 2,23 2,22.5 2,22 2,21.5 2,21 2.125,20.625"
+         style="fill:#ffffff;fill-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path4548"
+         d="M 7.125,6.625 Q 7.25,6.25 7.625,6.125 8,6 8.5,6 q 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 0.5,0 1,0 H 61 V 6.5 7 7.5 8 8.5 9 9.5 10 10.5 11 h -0.5 q -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 -0.5,0 -1,0 Q 9,11 8.5,11 8,11 7.625,10.875 7.25,10.75 7.125,10.375 7,10 7,9.5 7,9 7,8.5 7,8 7,7.5 7,7 7.125,6.625"
+         style="fill:#ffffff;fill-opacity:1" />
+    </g>
+  </g>
+</svg>
diff --git a/green_deal/static/green_deal/images/nextlabel.gif b/green_deal/static/green_deal/images/nextlabel.gif
new file mode 100644
index 0000000000000000000000000000000000000000..58a09d57321c40b318d456828604ea80996fe055
Binary files /dev/null and b/green_deal/static/green_deal/images/nextlabel.gif differ
diff --git a/green_deal/static/green_deal/images/olli.png b/green_deal/static/green_deal/images/olli.png
new file mode 100644
index 0000000000000000000000000000000000000000..6b8da8385d44e9a75998d849b71c3937e141f843
Binary files /dev/null and b/green_deal/static/green_deal/images/olli.png differ
diff --git a/green_deal/static/green_deal/images/overlay.png b/green_deal/static/green_deal/images/overlay.png
new file mode 100644
index 0000000000000000000000000000000000000000..f6530c3bb0105bc111448de770f64944841f0a20
Binary files /dev/null and b/green_deal/static/green_deal/images/overlay.png differ
diff --git a/green_deal/static/green_deal/images/overlays/01.png b/green_deal/static/green_deal/images/overlays/01.png
new file mode 100644
index 0000000000000000000000000000000000000000..f9b60ee7a822c34a1bf51eb8c160a979ae93b4c4
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/01.png differ
diff --git a/green_deal/static/green_deal/images/overlays/02.png b/green_deal/static/green_deal/images/overlays/02.png
new file mode 100644
index 0000000000000000000000000000000000000000..acce7a66641066ea78a42ee1c7413f0c96d34fa7
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/02.png differ
diff --git a/green_deal/static/green_deal/images/overlays/03.png b/green_deal/static/green_deal/images/overlays/03.png
new file mode 100644
index 0000000000000000000000000000000000000000..c11a355bff424b3ada453ae8df709e666d4ffae2
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/03.png differ
diff --git a/green_deal/static/green_deal/images/overlays/04.png b/green_deal/static/green_deal/images/overlays/04.png
new file mode 100644
index 0000000000000000000000000000000000000000..89b8533804900289604db2a8ed0167c2fa84fc67
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/04.png differ
diff --git a/green_deal/static/green_deal/images/overlays/05.png b/green_deal/static/green_deal/images/overlays/05.png
new file mode 100644
index 0000000000000000000000000000000000000000..082bda8cdf0cd641ec2e8d11643022ebbd5ed1e7
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/05.png differ
diff --git a/green_deal/static/green_deal/images/overlays/06.png b/green_deal/static/green_deal/images/overlays/06.png
new file mode 100644
index 0000000000000000000000000000000000000000..9c9006a2dc4b73d84210b85ed11059b1bf6455cb
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/06.png differ
diff --git a/green_deal/static/green_deal/images/overlays/07.png b/green_deal/static/green_deal/images/overlays/07.png
new file mode 100644
index 0000000000000000000000000000000000000000..218be609a7b6b999f80a9f6fa6098e1748e59a62
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/07.png differ
diff --git a/green_deal/static/green_deal/images/overlays/08.png b/green_deal/static/green_deal/images/overlays/08.png
new file mode 100644
index 0000000000000000000000000000000000000000..1b9dffc9f19c1d42716f99aba7fc592227287b3d
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/08.png differ
diff --git a/green_deal/static/green_deal/images/overlays/09.png b/green_deal/static/green_deal/images/overlays/09.png
new file mode 100644
index 0000000000000000000000000000000000000000..b9ed2ff1726071e9907395fcc30ffaf21e1efc50
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/09.png differ
diff --git a/green_deal/static/green_deal/images/overlays/10.png b/green_deal/static/green_deal/images/overlays/10.png
new file mode 100644
index 0000000000000000000000000000000000000000..5f1443caaa0aadf7c3095cefc83be7a081871a59
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/10.png differ
diff --git a/green_deal/static/green_deal/images/overlays/11.png b/green_deal/static/green_deal/images/overlays/11.png
new file mode 100644
index 0000000000000000000000000000000000000000..39a75c6de240158263034e5e4109183f5400e35d
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/11.png differ
diff --git a/green_deal/static/green_deal/images/overlays/12.png b/green_deal/static/green_deal/images/overlays/12.png
new file mode 100644
index 0000000000000000000000000000000000000000..c9fd71d6fc4bd839baffd6a776ed837f8a9ca7c7
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/12.png differ
diff --git a/green_deal/static/green_deal/images/overlays/13.png b/green_deal/static/green_deal/images/overlays/13.png
new file mode 100644
index 0000000000000000000000000000000000000000..66bf79cbacd6afe4b36690378743ccc4c004f8da
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/13.png differ
diff --git a/green_deal/static/green_deal/images/overlays/14.png b/green_deal/static/green_deal/images/overlays/14.png
new file mode 100644
index 0000000000000000000000000000000000000000..2d4fcbfa2d0dd7b85e3d113a04c00ae9301b10e2
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/14.png differ
diff --git a/green_deal/static/green_deal/images/overlays/15.png b/green_deal/static/green_deal/images/overlays/15.png
new file mode 100644
index 0000000000000000000000000000000000000000..b9ed2ff1726071e9907395fcc30ffaf21e1efc50
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/15.png differ
diff --git a/green_deal/static/green_deal/images/overlays/16.png b/green_deal/static/green_deal/images/overlays/16.png
new file mode 100644
index 0000000000000000000000000000000000000000..2aadb4ec490fcbb056aedf0dcc23e81461525526
Binary files /dev/null and b/green_deal/static/green_deal/images/overlays/16.png differ
diff --git a/green_deal/static/green_deal/images/pdf.png b/green_deal/static/green_deal/images/pdf.png
new file mode 100644
index 0000000000000000000000000000000000000000..820c501c3452df117d652884ef6c47daceaae882
Binary files /dev/null and b/green_deal/static/green_deal/images/pdf.png differ
diff --git a/green_deal/static/green_deal/images/prevlabel.gif b/green_deal/static/green_deal/images/prevlabel.gif
new file mode 100644
index 0000000000000000000000000000000000000000..07bfe0d9dd4bbc7942ceaf847533c710b589a9da
Binary files /dev/null and b/green_deal/static/green_deal/images/prevlabel.gif differ
diff --git a/green_deal/static/green_deal/images/ru.png b/green_deal/static/green_deal/images/ru.png
new file mode 100644
index 0000000000000000000000000000000000000000..73033edc6f557d625e7fc0ba2ecfe16d25654ada
Binary files /dev/null and b/green_deal/static/green_deal/images/ru.png differ
diff --git a/green_deal/static/green_deal/images/twitters.png b/green_deal/static/green_deal/images/twitters.png
new file mode 100644
index 0000000000000000000000000000000000000000..43854a5cee172f2a743a3bbd053c40311d3f706a
Binary files /dev/null and b/green_deal/static/green_deal/images/twitters.png differ
diff --git a/green_deal/static/green_deal/images/wmv.png b/green_deal/static/green_deal/images/wmv.png
new file mode 100644
index 0000000000000000000000000000000000000000..5ca004bacd67ad656f4d4b20e0132f33e616209d
Binary files /dev/null and b/green_deal/static/green_deal/images/wmv.png differ
diff --git a/green_deal/static/green_deal/js/fx.js b/green_deal/static/green_deal/js/fx.js
new file mode 100644
index 0000000000000000000000000000000000000000..1e8f8b9572c78c193ac91fe180fe3af0739c62e3
--- /dev/null
+++ b/green_deal/static/green_deal/js/fx.js
@@ -0,0 +1,269 @@
+// JavaScript Document
+// addon
+$(document).ready(function()
+{
+  // only small screens
+
+    $('.zdroje .item').click(function(e) {
+      var el = $(this).find('div.hide');
+      if(el.is(':hidden')) el.slideDown(); else el.slideUp();
+    });
+
+});
+
+// PARALAX
+$(window).scroll(function() {
+  var scrolled = $(window).scrollTop()
+  $('.parallax').each(function(index, element) {
+    var initY = $(this).offset().top
+    var height = $(this).height()
+    var endY  = initY + $(this).height()
+
+    // Check if the element is in the viewport.
+    var visible = isInViewport(this)
+    if(visible) {
+      var diff = scrolled - initY
+      var ratio = Math.round((diff / height) * 100)
+      $(this).css('background-position','left ' + parseInt(-(ratio * 1.5)) + 'px')
+    }
+  })
+})
+
+//// SMOOTH SCROLLING TO ANCHOR
+$(window).on('load', function()
+{
+	var pos = location.href.lastIndexOf("#");
+	if(pos > 0){
+		var aid = location.href.substring(pos+1); //console.log(aid);
+		if(aid && aid.length !== 0){
+			var ael = $('#'+aid); //alert(ael.offset().top);
+			$('body').animate({scrollTop: (ael.offset().top - 80)},'slow');
+			$("#"+aid+" a.readmore").trigger( "click" );
+		}
+	}
+	$("#qm0 ul a").click(function(e) {
+		var url = $(this).attr("href");
+		var view = url.substr(url.lastIndexOf('/') + 1);
+		view = view.split('#')[0]; //console.log('view:'+view);
+		var thisview = location.pathname.substr(location.pathname.lastIndexOf('/') + 1);
+		thisview = thisview.split('#')[0]; //console.log('thisview:'+thisview);
+		if(view.indexOf(thisview) > 0)
+			e.preventDefault();
+		//var aid = window.location.hash.substr(1);
+		var aid = url.substring(url.indexOf("#")+1); //alert(aid);
+		if(aid && aid.length !== 0){
+			var ael = $('#'+aid); //alert(ael.offset().top);
+			$('body').animate({scrollTop: (ael.offset().top - 80)},'slow');
+			$("#"+aid+" a.readmore").trigger( "click" );
+		}
+	});
+	$("#anchorlist a").click(function(e) {//console.log('scroll');
+		e.preventDefault();
+		var aid = $(this).attr('href');
+		var ael = $(aid);
+		$('body').animate({scrollTop: (ael.offset().top - 80)},'slow');
+	});
+});
+//////// add anchor on mobile
+$(document).ready(function()
+{
+  // only small screens
+  if($(window).width() <= 700){
+    $('.head_menu .topmenu li a').each(function(){
+      var oldUrl = $(this).attr("href"); // Get current url
+      var newUrl = oldUrl + "#content"; // Create new url
+      $(this).attr("href", newUrl);
+    });
+  }
+});
+/////////////////////
+///// INCREMENT EFFECT
+/*
+$(document).ready(function()
+{
+  var number = 0;
+  var target = $('.js_counter_up').text();
+  var counter = setInterval(function() {
+      console.log(target);
+      $('.js_counter_up').text(number);
+      if (number >= target) clearInterval(counter);
+      number++;
+  }, 30);
+
+});
+*/
+//Kontaktni formular
+$(document).ready(function()
+{
+  $('#kontakt label').on('click', function(){
+    $(this).animate({top: '0.5em', fontSize: '75%'}, 300, 'swing');
+  });
+  $('#kontakt input:text, #kontakt textarea').on('focusout', function(){
+    if($(this).val() == '') $(this).prev().animate({top: '2.5em', fontSize: '90%'}, 300, 'swing');
+  }).on('click', function(){
+    $(this).prev().animate({top: '0.5em', fontSize: '75%'}, 300, 'swing');
+  });
+
+});
+
+// STICKY NAV
+var scr = 0;
+$(window).scroll(function() {
+    if ($(this).scrollTop() > 250 && $( window ).width() > 100){
+		if(scr == 0) {$('#sticky_menu').addClass("sticky"); $('#sticky_menu').css('top', '-65px'); scr = 1; $('#sticky_menu').stop().animate({top:'0px'},400, "easeOutCirc", function(){$("#sticky_menu").removeAttr("style");}); }
+        else $('#sticky_menu').addClass("sticky");
+
+    }
+    else{
+        $('#sticky_menu').removeClass("sticky");
+		    scr = 0;
+    }
+});
+
+// MENU FROM ANCHORS
+function getNavigation()
+{
+	$('.navi').each(function() {
+		var scrollto = $(this);
+		var html = $.parseHTML('<a href="javascript:void(0)" class="alink">' + $(this).children(':first').text() + '</a>');
+		$('#navigation').append(html);
+		$(html).click(function(){
+			$('body').animate({scrollTop: (scrollto.offset().top - 80)},'slow');
+		});
+    });
+}
+
+//// READ MORE
+$(document).ready(function()
+{
+	$("#historie a.readmore, #history a.readmore").click(function(event) {
+		event.preventDefault();
+		var el = $(this).prev();
+		var img = $(this).parent().find('img');
+		var h = el.prop('scrollHeight'); //console.log(img);
+		var hei = ""+h+"px";
+		if( el.height() > 53){
+			el.animate({height: "53px"}, 500);
+			//img.css("max-height","190px");
+			if(lang == 'cz') $(this).text('Podrobnosti');
+			if(lang == 'en') $(this).text('Read more');
+		}
+		else{
+			el.animate({height: hei}, 500);
+			//img.css("max-height","inherit");
+			if(lang == 'cz') $(this).text('Zavřít');
+			if(lang == 'en') $(this).text('Close');
+		}
+	});
+
+	$("#aktuality-all a.readmore").click(function(event) {
+		event.preventDefault();
+		var el = $(this).prev();
+		var h = el.prop('scrollHeight'); //console.log(img);
+		var hei = ""+h+"px";
+		if( el.height() > 54){
+			el.animate({height: "54px"}, 500);
+			$(this).toggleClass('readmore readmoreup');
+			if(lang == 'cz') $(this).text('VĂ­ce');
+			if(lang == 'en') $(this).text('Read more');
+		}
+		else{
+			el.animate({height: hei}, 500);
+			$(this).toggleClass('readmore readmoreup');
+			//img.css("max-height","inherit");
+			if(lang == 'cz') $(this).text('Zavřít');
+			if(lang == 'en') $(this).text('Close');
+		}
+	});
+
+});
+// SCROLL UP
+$(document).ready(function(){
+	var bt = '';
+	if(lang == 'cz') bt = 'Nahoru';
+	if(lang == 'en') bt = 'Up';
+	var el = $('<a href="javascript: void(0);" class="scrollup">'+bt+'</a>');
+	$('.sekce').append(el);
+
+	$("a.scrollup").click(function() {
+	  $("html, body").animate({ scrollTop: 0 }, "slow");
+	  return false;
+	});
+
+});
+// LAZY LOADING
+$(document).ready(function()
+{
+  $('#statisticke-udaje').Lazy({
+    beforeLoad: function(element) {
+      $('.statsLeft').hide();
+      $('.middle').hide();
+      $('.statsRight').hide();
+    },
+    statsLoader: function(element,response){
+      var number = 0;
+      var target = $('.js_counter').text();
+      var counter = setInterval(function() {
+          console.log(target);
+          $('.js_counter').text(number);
+          if (number >= target) clearInterval(counter);
+          number++;
+      }, 50);
+
+      setTimeout(function() {
+            //element.show('fade',1200);
+            $('.statsLeft').show('slide',1200);
+            $('.middle').show('fade',1500);
+            $('.statsRight').show('slide',{direction:'right'},1200);
+            response(true);
+        }, 100);
+    }
+  });
+
+  $('#galerie_cont').Lazy();
+
+});
+/*
+$(document).ready(function()
+{
+	//$('#promo').slideDown('slow');
+	$('#promo').animate({
+      top: '70'
+    }, 1000, 'swing');
+});
+*/
+//// SMOOTH SCROLLING TO ANCHOR
+$(window).on('load', function()
+{
+	var pos = location.href.lastIndexOf("#");
+	if(pos > 0){
+		var aid = location.href.substring(pos+1); //console.log(aid);
+		if(aid && aid.length !== 0){
+			var ael = $('#'+aid); //alert(ael.offset().top);
+			$('body').animate({scrollTop: (ael.offset().top - 80)},'slow');
+			$("#"+aid+" a.readmore").trigger( "click" );
+		}
+	}
+	$("#qm0 ul a, .mainmenu a").click(function(e) {
+		var url = $(this).attr("href");
+		var view = url.substr(url.lastIndexOf('/') + 1);
+		view = view.split('#')[0]; //console.log('view:'+view);
+		var thisview = location.pathname.substr(location.pathname.lastIndexOf('/') + 1);
+		thisview = thisview.split('#')[0]; //console.log('thisview:'+thisview);
+		if(view.indexOf(thisview) > 0)
+			e.preventDefault();
+		//var aid = window.location.hash.substr(1);
+		var aid = url.substring(url.indexOf("#")+1); //alert(aid);
+		if(aid && aid.length !== 0){
+			var ael = $('#'+aid); //alert(ael.offset().top);
+			$('body').animate({scrollTop: (ael.offset().top - 80)},'slow');
+			$("#"+aid+" a.readmore").trigger( "click" );
+		}
+	});
+	$("#anchorlist a").click(function(e) {//console.log('scroll');
+		e.preventDefault();
+		var aid = $(this).attr('href');
+		var ael = $(aid);
+		$('body').animate({scrollTop: (ael.offset().top - 80)},'slow');
+	});
+});
diff --git a/green_deal/static/green_deal/js/jquery.cookie.js b/green_deal/static/green_deal/js/jquery.cookie.js
new file mode 100644
index 0000000000000000000000000000000000000000..c7f3a59b512830ac531c12f94724e51cb26fc4c2
--- /dev/null
+++ b/green_deal/static/green_deal/js/jquery.cookie.js
@@ -0,0 +1,117 @@
+/*!
+ * jQuery Cookie Plugin v1.4.1
+ * https://github.com/carhartl/jquery-cookie
+ *
+ * Copyright 2013 Klaus Hartl
+ * Released under the MIT license
+ */
+(function (factory) {
+	if (typeof define === 'function' && define.amd) {
+		// AMD
+		define(['jquery'], factory);
+	} else if (typeof exports === 'object') {
+		// CommonJS
+		factory(require('jquery'));
+	} else {
+		// Browser globals
+		factory(jQuery);
+	}
+}(function ($) {
+
+	var pluses = /\+/g;
+
+	function encode(s) {
+		return config.raw ? s : encodeURIComponent(s);
+	}
+
+	function decode(s) {
+		return config.raw ? s : decodeURIComponent(s);
+	}
+
+	function stringifyCookieValue(value) {
+		return encode(config.json ? JSON.stringify(value) : String(value));
+	}
+
+	function parseCookieValue(s) {
+		if (s.indexOf('"') === 0) {
+			// This is a quoted cookie as according to RFC2068, unescape...
+			s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
+		}
+
+		try {
+			// Replace server-side written pluses with spaces.
+			// If we can't decode the cookie, ignore it, it's unusable.
+			// If we can't parse the cookie, ignore it, it's unusable.
+			s = decodeURIComponent(s.replace(pluses, ' '));
+			return config.json ? JSON.parse(s) : s;
+		} catch(e) {}
+	}
+
+	function read(s, converter) {
+		var value = config.raw ? s : parseCookieValue(s);
+		return $.isFunction(converter) ? converter(value) : value;
+	}
+
+	var config = $.cookie = function (key, value, options) {
+
+		// Write
+
+		if (value !== undefined && !$.isFunction(value)) {
+			options = $.extend({}, config.defaults, options);
+
+			if (typeof options.expires === 'number') {
+				var days = options.expires, t = options.expires = new Date();
+				t.setTime(+t + days * 864e+5);
+			}
+
+			return (document.cookie = [
+				encode(key), '=', stringifyCookieValue(value),
+				options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
+				options.path    ? '; path=' + options.path : '',
+				options.domain  ? '; domain=' + options.domain : '',
+				options.secure  ? '; secure' : ''
+			].join(''));
+		}
+
+		// Read
+
+		var result = key ? undefined : {};
+
+		// To prevent the for loop in the first place assign an empty array
+		// in case there are no cookies at all. Also prevents odd result when
+		// calling $.cookie().
+		var cookies = document.cookie ? document.cookie.split('; ') : [];
+
+		for (var i = 0, l = cookies.length; i < l; i++) {
+			var parts = cookies[i].split('=');
+			var name = decode(parts.shift());
+			var cookie = parts.join('=');
+
+			if (key && key === name) {
+				// If second argument (value) is a function it's a converter...
+				result = read(cookie, value);
+				break;
+			}
+
+			// Prevent storing a cookie that we couldn't decode.
+			if (!key && (cookie = read(cookie)) !== undefined) {
+				result[name] = cookie;
+			}
+		}
+
+		return result;
+	};
+
+	config.defaults = {};
+
+	$.removeCookie = function (key, options) {
+		if ($.cookie(key) === undefined) {
+			return false;
+		}
+
+		// Must not alter options, thus extending a fresh object...
+		$.cookie(key, '', $.extend({}, options, { expires: -1 }));
+		return !$.cookie(key);
+	};
+
+}));
diff --git a/green_deal/static/green_deal/js/jquery.jcarousellite.min.js b/green_deal/static/green_deal/js/jquery.jcarousellite.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..f35b7fd22eac01e51ed63e0db44092dd6a6b6456
--- /dev/null
+++ b/green_deal/static/green_deal/js/jquery.jcarousellite.min.js
@@ -0,0 +1,8 @@
+/*!
+ * jCarouselLite - v1.1 - 2014-09-28
+ * http://www.gmarwaha.com/jquery/jcarousellite/
+ * Copyright (c) 2014 Ganeshji Marwaha
+ * Licensed MIT (https://github.com/ganeshmax/jcarousellite/blob/master/LICENSE)
+*/
+
+!function(a){a.jCarouselLite={version:"1.1"},a.fn.jCarouselLite=function(b){return b=a.extend({},a.fn.jCarouselLite.options,b||{}),this.each(function(){function c(a){return n||(clearTimeout(A),z=a,b.beforeStart&&b.beforeStart.call(this,i()),b.circular?j(a):k(a),m({start:function(){n=!0},done:function(){b.afterEnd&&b.afterEnd.call(this,i()),b.auto&&h(),n=!1}}),b.circular||l()),!1}function d(){if(n=!1,o=b.vertical?"top":"left",p=b.vertical?"height":"width",q=B.find(">ul"),r=q.find(">li"),x=r.size(),w=x<b.visible?x:b.visible,b.circular){var c=r.slice(x-w).clone(),d=r.slice(0,w).clone();q.prepend(c).append(d),b.start+=w}s=a("li",q),y=s.size(),z=b.start}function e(){B.css("visibility","visible"),s.css({overflow:"hidden","float":b.vertical?"none":"left"}),q.css({margin:"0",padding:"0",position:"relative","list-style":"none","z-index":"1"}),B.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"}),!b.circular&&b.btnPrev&&0==b.start&&a(b.btnPrev).addClass("disabled")}function f(){t=b.vertical?s.outerHeight(!0):s.outerWidth(!0),u=t*y,v=t*w,s.css({width:s.width(),height:s.height()}),q.css(p,u+"px").css(o,-(z*t)),B.css(p,v+"px")}function g(){b.btnPrev&&a(b.btnPrev).click(function(){return c(z-b.scroll)}),b.btnNext&&a(b.btnNext).click(function(){return c(z+b.scroll)}),b.btnGo&&a.each(b.btnGo,function(d,e){a(e).click(function(){return c(b.circular?w+d:d)})}),b.mouseWheel&&B.mousewheel&&B.mousewheel(function(a,d){return c(d>0?z-b.scroll:z+b.scroll)}),b.auto&&h()}function h(){A=setTimeout(function(){c(z+b.scroll)},b.auto)}function i(){return s.slice(z).slice(0,w)}function j(a){var c;a<=b.start-w-1?(c=a+x+b.scroll,q.css(o,-(c*t)+"px"),z=c-b.scroll):a>=y-w+1&&(c=a-x-b.scroll,q.css(o,-(c*t)+"px"),z=c+b.scroll)}function k(a){0>a?z=0:a>y-w&&(z=y-w)}function l(){a(b.btnPrev+","+b.btnNext).removeClass("disabled"),a(z-b.scroll<0&&b.btnPrev||z+b.scroll>y-w&&b.btnNext||[]).addClass("disabled")}function m(c){n=!0,q.animate("left"==o?{left:-(z*t)}:{top:-(z*t)},a.extend({duration:b.speed,easing:b.easing},c))}var n,o,p,q,r,s,t,u,v,w,x,y,z,A,B=a(this);d(),e(),f(),g()})},a.fn.jCarouselLite.options={btnPrev:null,btnNext:null,btnGo:null,mouseWheel:!1,auto:null,speed:200,easing:null,vertical:!1,circular:!0,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null}}(jQuery);
diff --git a/green_deal/static/green_deal/js/jquery.lazy.min.js b/green_deal/static/green_deal/js/jquery.lazy.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..04c78fcb0fb646ce76e33117af83c1f5d00de8dc
--- /dev/null
+++ b/green_deal/static/green_deal/js/jquery.lazy.min.js
@@ -0,0 +1,2 @@
+/*! jQuery & Zepto Lazy v1.7.7 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2017 Daniel 'Eisbehr' Kern */
+!function(t,e){"use strict";function r(r,a,i,u,l){function f(){L=t.devicePixelRatio>1,i=c(i),a.delay>=0&&setTimeout(function(){s(!0)},a.delay),(a.delay<0||a.combined)&&(u.e=v(a.throttle,function(t){"resize"===t.type&&(w=B=-1),s(t.all)}),u.a=function(t){t=c(t),i.push.apply(i,t)},u.g=function(){return i=n(i).filter(function(){return!n(this).data(a.loadedName)})},u.f=function(t){for(var e=0;e<t.length;e++){var r=i.filter(function(){return this===t[e]});r.length&&s(!1,r)}},s(),n(a.appendScroll).on("scroll."+l+" resize."+l,u.e))}function c(t){var i=a.defaultImage,o=a.placeholder,u=a.imageBase,l=a.srcsetAttribute,f=a.loaderAttribute,c=a._f||{};t=n(t).filter(function(){var t=n(this),r=m(this);return!t.data(a.handledName)&&(t.attr(a.attribute)||t.attr(l)||t.attr(f)||c[r]!==e)}).data("plugin_"+a.name,r);for(var s=0,d=t.length;s<d;s++){var A=n(t[s]),g=m(t[s]),h=A.attr(a.imageBaseAttribute)||u;g===N&&h&&A.attr(l)&&A.attr(l,b(A.attr(l),h)),c[g]===e||A.attr(f)||A.attr(f,c[g]),g===N&&i&&!A.attr(E)?A.attr(E,i):g===N||!o||A.css(O)&&"none"!==A.css(O)||A.css(O,"url('"+o+"')")}return t}function s(t,e){if(!i.length)return void(a.autoDestroy&&r.destroy());for(var o=e||i,u=!1,l=a.imageBase||"",f=a.srcsetAttribute,c=a.handledName,s=0;s<o.length;s++)if(t||e||A(o[s])){var g=n(o[s]),h=m(o[s]),b=g.attr(a.attribute),v=g.attr(a.imageBaseAttribute)||l,p=g.attr(a.loaderAttribute);g.data(c)||a.visibleOnly&&!g.is(":visible")||!((b||g.attr(f))&&(h===N&&(v+b!==g.attr(E)||g.attr(f)!==g.attr(F))||h!==N&&v+b!==g.css(O))||p)||(u=!0,g.data(c,!0),d(g,h,v,p))}u&&(i=n(i).filter(function(){return!n(this).data(c)}))}function d(t,e,r,i){++z;var o=function(){y("onError",t),p(),o=n.noop};y("beforeLoad",t);var u=a.attribute,l=a.srcsetAttribute,f=a.sizesAttribute,c=a.retinaAttribute,s=a.removeAttribute,d=a.loadedName,A=t.attr(c);if(i){var g=function(){s&&t.removeAttr(a.loaderAttribute),t.data(d,!0),y(T,t),setTimeout(p,1),g=n.noop};t.off(I).one(I,o).one(D,g),y(i,t,function(e){e?(t.off(D),g()):(t.off(I),o())})||t.trigger(I)}else{var h=n(new Image);h.one(I,o).one(D,function(){t.hide(),e===N?t.attr(C,h.attr(C)).attr(F,h.attr(F)).attr(E,h.attr(E)):t.css(O,"url('"+h.attr(E)+"')"),t[a.effect](a.effectTime),s&&(t.removeAttr(u+" "+l+" "+c+" "+a.imageBaseAttribute),f!==C&&t.removeAttr(f)),t.data(d,!0),y(T,t),h.remove(),p()});var m=(L&&A?A:t.attr(u))||"";h.attr(C,t.attr(f)).attr(F,t.attr(l)).attr(E,m?r+m:null),h.complete&&h.trigger(D)}}function A(t){var e=t.getBoundingClientRect(),r=a.scrollDirection,n=a.threshold,i=h()+n>e.top&&-n<e.bottom,o=g()+n>e.left&&-n<e.right;return"vertical"===r?i:"horizontal"===r?o:i&&o}function g(){return w>=0?w:w=n(t).width()}function h(){return B>=0?B:B=n(t).height()}function m(t){return t.tagName.toLowerCase()}function b(t,e){if(e){var r=t.split(",");t="";for(var a=0,n=r.length;a<n;a++)t+=e+r[a].trim()+(a!==n-1?",":"")}return t}function v(t,e){var n,i=0;return function(o,u){function l(){i=+new Date,e.call(r,o)}var f=+new Date-i;n&&clearTimeout(n),f>t||!a.enableThrottle||u?l():n=setTimeout(l,t-f)}}function p(){--z,i.length||z||y("onFinishedAll")}function y(t,e,n){return!!(t=a[t])&&(t.apply(r,[].slice.call(arguments,1)),!0)}var z=0,w=-1,B=-1,L=!1,T="afterLoad",D="load",I="error",N="img",E="src",F="srcset",C="sizes",O="background-image";"event"===a.bind||o?f():n(t).on(D+"."+l,f)}function a(a,o){var u=this,l=n.extend({},u.config,o),f={},c=l.name+"-"+ ++i;return u.config=function(t,r){return r===e?l[t]:(l[t]=r,u)},u.addItems=function(t){return f.a&&f.a("string"===n.type(t)?n(t):t),u},u.getItems=function(){return f.g?f.g():{}},u.update=function(t){return f.e&&f.e({},!t),u},u.force=function(t){return f.f&&f.f("string"===n.type(t)?n(t):t),u},u.loadAll=function(){return f.e&&f.e({all:!0},!0),u},u.destroy=function(){return n(l.appendScroll).off("."+c,f.e),n(t).off("."+c),f={},e},r(u,l,a,f,c),l.chainable?a:u}var n=t.jQuery||t.Zepto,i=0,o=!1;n.fn.Lazy=n.fn.lazy=function(t){return new a(this,t)},n.Lazy=n.lazy=function(t,r,i){if(n.isFunction(r)&&(i=r,r=[]),n.isFunction(i)){t=n.isArray(t)?t:[t],r=n.isArray(r)?r:[r];for(var o=a.prototype.config,u=o._f||(o._f={}),l=0,f=t.length;l<f;l++)(o[t[l]]===e||n.isFunction(o[t[l]]))&&(o[t[l]]=i);for(var c=0,s=r.length;c<s;c++)u[r[c]]=t[0]}},a.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},n(t).on("load",function(){o=!0})}(window);
diff --git a/green_deal/static/green_deal/js/jquery.min.js b/green_deal/static/green_deal/js/jquery.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..4d9b3a258759c53e7bc66b6fc554c51e2434437c
--- /dev/null
+++ b/green_deal/static/green_deal/js/jquery.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w});
diff --git a/green_deal/static/green_deal/js/jquery.nivo.slider.pack.js b/green_deal/static/green_deal/js/jquery.nivo.slider.pack.js
new file mode 100644
index 0000000000000000000000000000000000000000..039f3cfb2f7a71a7963a3ac94e61c5e657aafb74
--- /dev/null
+++ b/green_deal/static/green_deal/js/jquery.nivo.slider.pack.js
@@ -0,0 +1,10 @@
+/*
+ * jQuery Nivo Slider v3.2
+ * http://nivo.dev7studios.com
+ *
+ * Copyright 2012, Dev7studios
+ * Free to use and abuse under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+(function(e){var t=function(t,n){var r=e.extend({},e.fn.nivoSlider.defaults,n);var i={currentSlide:0,currentImage:"",totalSlides:0,running:false,paused:false,stop:false,controlNavEl:false};var s=e(t);s.data("nivo:vars",i).addClass("nivoSlider");var o=s.children();o.each(function(){var t=e(this);var n="";if(!t.is("img")){if(t.is("a")){t.addClass("nivo-imageLink");n=t}t=t.find("img:first")}var r=r===0?t.attr("width"):t.width(),s=s===0?t.attr("height"):t.height();if(n!==""){n.css("display","none")}t.css("display","none");i.totalSlides++});if(r.randomStart){r.startSlide=Math.floor(Math.random()*i.totalSlides)}if(r.startSlide>0){if(r.startSlide>=i.totalSlides){r.startSlide=i.totalSlides-1}i.currentSlide=r.startSlide}if(e(o[i.currentSlide]).is("img")){i.currentImage=e(o[i.currentSlide])}else{i.currentImage=e(o[i.currentSlide]).find("img:first")}if(e(o[i.currentSlide]).is("a")){e(o[i.currentSlide]).css("display","block")}var u=e("<img/>").addClass("nivo-main-image");u.attr("src",i.currentImage.attr("src")).show();s.append(u);e(window).resize(function(){s.children("img").width(s.width());u.attr("src",i.currentImage.attr("src"));u.stop().height("auto");e(".nivo-slice").remove();e(".nivo-box").remove()});s.append(e('<div class="nivo-caption"></div>'));var a=function(t){var n=e(".nivo-caption",s);if(i.currentImage.attr("title")!=""&&i.currentImage.attr("title")!=undefined){var r=i.currentImage.attr("title");if(r.substr(0,1)=="#")r=e(r).html();if(n.css("display")=="block"){setTimeout(function(){n.html(r)},t.animSpeed)}else{n.html(r);n.stop().fadeIn(t.animSpeed)}}else{n.stop().fadeOut(t.animSpeed)}};a(r);var f=0;if(!r.manualAdvance&&o.length>1){f=setInterval(function(){d(s,o,r,false)},r.pauseTime)}if(r.directionNav){s.append('<div class="nivo-directionNav"><a class="nivo-prevNav">'+r.prevText+'</a><a class="nivo-nextNav">'+r.nextText+"</a></div>");e(s).on("click","a.nivo-prevNav",function(){if(i.running){return false}clearInterval(f);f="";i.currentSlide-=2;d(s,o,r,"prev")});e(s).on("click","a.nivo-nextNav",function(){if(i.running){return false}clearInterval(f);f="";d(s,o,r,"next")})}if(r.controlNav){i.controlNavEl=e('<div class="nivo-controlNav"></div>');s.after(i.controlNavEl);for(var l=0;l<o.length;l++){if(r.controlNavThumbs){i.controlNavEl.addClass("nivo-thumbs-enabled");var c=o.eq(l);if(!c.is("img")){c=c.find("img:first")}if(c.attr("data-thumb"))i.controlNavEl.append('<a class="nivo-control" rel="'+l+'"><img src="'+c.attr("data-thumb")+'" alt="" /></a>')}else{i.controlNavEl.append('<a class="nivo-control" rel="'+l+'">'+(l+1)+"</a>")}}e("a:eq("+i.currentSlide+")",i.controlNavEl).addClass("active");e("a",i.controlNavEl).bind("click",function(){if(i.running)return false;if(e(this).hasClass("active"))return false;clearInterval(f);f="";u.attr("src",i.currentImage.attr("src"));i.currentSlide=e(this).attr("rel")-1;d(s,o,r,"control")})}if(r.pauseOnHover){s.hover(function(){i.paused=true;clearInterval(f);f=""},function(){i.paused=false;if(f===""&&!r.manualAdvance){f=setInterval(function(){d(s,o,r,false)},r.pauseTime)}})}s.bind("nivo:animFinished",function(){u.attr("src",i.currentImage.attr("src"));i.running=false;e(o).each(function(){if(e(this).is("a")){e(this).css("display","none")}});if(e(o[i.currentSlide]).is("a")){e(o[i.currentSlide]).css("display","block")}if(f===""&&!i.paused&&!r.manualAdvance){f=setInterval(function(){d(s,o,r,false)},r.pauseTime)}r.afterChange.call(this)});var h=function(t,n,r){if(e(r.currentImage).parent().is("a"))e(r.currentImage).parent().css("display","block");e('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility","hidden").show();var i=e('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").parent().is("a")?e('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").parent().height():e('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").height();for(var s=0;s<n.slices;s++){var o=Math.round(t.width()/n.slices);if(s===n.slices-1){t.append(e('<div class="nivo-slice" name="'+s+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block !important; top:0; left:-"+(o+s*o-o)+'px;" /></div>').css({left:o*s+"px",width:t.width()-o*s+"px",height:i+"px",opacity:"0",overflow:"hidden"}))}else{t.append(e('<div class="nivo-slice" name="'+s+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block !important; top:0; left:-"+(o+s*o-o)+'px;" /></div>').css({left:o*s+"px",width:o+"px",height:i+"px",opacity:"0",overflow:"hidden"}))}}e(".nivo-slice",t).height(i);u.stop().animate({height:e(r.currentImage).height()},n.animSpeed)};var p=function(t,n,r){if(e(r.currentImage).parent().is("a"))e(r.currentImage).parent().css("display","block");e('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility","hidden").show();var i=Math.round(t.width()/n.boxCols),s=Math.round(e('img[src="'+r.currentImage.attr("src")+'"]',t).not(".nivo-main-image,.nivo-control img").height()/n.boxRows);for(var o=0;o<n.boxRows;o++){for(var a=0;a<n.boxCols;a++){if(a===n.boxCols-1){t.append(e('<div class="nivo-box" name="'+a+'" rel="'+o+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block; top:-"+s*o+"px; left:-"+i*a+'px;" /></div>').css({opacity:0,left:i*a+"px",top:s*o+"px",width:t.width()-i*a+"px"}));e('.nivo-box[name="'+a+'"]',t).height(e('.nivo-box[name="'+a+'"] img',t).height()+"px")}else{t.append(e('<div class="nivo-box" name="'+a+'" rel="'+o+'"><img src="'+r.currentImage.attr("src")+'" style="position:absolute; width:'+t.width()+"px; height:auto; display:block; top:-"+s*o+"px; left:-"+i*a+'px;" /></div>').css({opacity:0,left:i*a+"px",top:s*o+"px",width:i+"px"}));e('.nivo-box[name="'+a+'"]',t).height(e('.nivo-box[name="'+a+'"] img',t).height()+"px")}}}u.stop().animate({height:e(r.currentImage).height()},n.animSpeed)};var d=function(t,n,r,i){var s=t.data("nivo:vars");if(s&&s.currentSlide===s.totalSlides-1){r.lastSlide.call(this)}if((!s||s.stop)&&!i){return false}r.beforeChange.call(this);if(!i){u.attr("src",s.currentImage.attr("src"))}else{if(i==="prev"){u.attr("src",s.currentImage.attr("src"))}if(i==="next"){u.attr("src",s.currentImage.attr("src"))}}s.currentSlide++;if(s.currentSlide===s.totalSlides){s.currentSlide=0;r.slideshowEnd.call(this)}if(s.currentSlide<0){s.currentSlide=s.totalSlides-1}if(e(n[s.currentSlide]).is("img")){s.currentImage=e(n[s.currentSlide])}else{s.currentImage=e(n[s.currentSlide]).find("img:first")}if(r.controlNav){e("a",s.controlNavEl).removeClass("active");e("a:eq("+s.currentSlide+")",s.controlNavEl).addClass("active")}a(r);e(".nivo-slice",t).remove();e(".nivo-box",t).remove();var o=r.effect,f="";if(r.effect==="random"){f=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse");o=f[Math.floor(Math.random()*(f.length+1))];if(o===undefined){o="fade"}}if(r.effect.indexOf(",")!==-1){f=r.effect.split(",");o=f[Math.floor(Math.random()*f.length)];if(o===undefined){o="fade"}}if(s.currentImage.attr("data-transition")){o=s.currentImage.attr("data-transition")}s.running=true;var l=0,c=0,d="",m="",g="",y="";if(o==="sliceDown"||o==="sliceDownRight"||o==="sliceDownLeft"){h(t,r,s);l=0;c=0;d=e(".nivo-slice",t);if(o==="sliceDownLeft"){d=e(".nivo-slice",t)._reverse()}d.each(function(){var n=e(this);n.css({top:"0px"});if(c===r.slices-1){setTimeout(function(){n.animate({opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l)}else{setTimeout(function(){n.animate({opacity:"1.0"},r.animSpeed)},100+l)}l+=50;c++})}else if(o==="sliceUp"||o==="sliceUpRight"||o==="sliceUpLeft"){h(t,r,s);l=0;c=0;d=e(".nivo-slice",t);if(o==="sliceUpLeft"){d=e(".nivo-slice",t)._reverse()}d.each(function(){var n=e(this);n.css({bottom:"0px"});if(c===r.slices-1){setTimeout(function(){n.animate({opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l)}else{setTimeout(function(){n.animate({opacity:"1.0"},r.animSpeed)},100+l)}l+=50;c++})}else if(o==="sliceUpDown"||o==="sliceUpDownRight"||o==="sliceUpDownLeft"){h(t,r,s);l=0;c=0;var b=0;d=e(".nivo-slice",t);if(o==="sliceUpDownLeft"){d=e(".nivo-slice",t)._reverse()}d.each(function(){var n=e(this);if(c===0){n.css("top","0px");c++}else{n.css("bottom","0px");c=0}if(b===r.slices-1){setTimeout(function(){n.animate({opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l)}else{setTimeout(function(){n.animate({opacity:"1.0"},r.animSpeed)},100+l)}l+=50;b++})}else if(o==="fold"){h(t,r,s);l=0;c=0;e(".nivo-slice",t).each(function(){var n=e(this);var i=n.width();n.css({top:"0px",width:"0px"});if(c===r.slices-1){setTimeout(function(){n.animate({width:i,opacity:"1.0"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l)}else{setTimeout(function(){n.animate({width:i,opacity:"1.0"},r.animSpeed)},100+l)}l+=50;c++})}else if(o==="fade"){h(t,r,s);m=e(".nivo-slice:first",t);m.css({width:t.width()+"px"});m.animate({opacity:"1.0"},r.animSpeed*2,"",function(){t.trigger("nivo:animFinished")})}else if(o==="slideInRight"){h(t,r,s);m=e(".nivo-slice:first",t);m.css({width:"0px",opacity:"1"});m.animate({width:t.width()+"px"},r.animSpeed*2,"",function(){t.trigger("nivo:animFinished")})}else if(o==="slideInLeft"){h(t,r,s);m=e(".nivo-slice:first",t);m.css({width:"0px",opacity:"1",left:"",right:"0px"});m.animate({width:t.width()+"px"},r.animSpeed*2,"",function(){m.css({left:"0px",right:""});t.trigger("nivo:animFinished")})}else if(o==="boxRandom"){p(t,r,s);g=r.boxCols*r.boxRows;c=0;l=0;y=v(e(".nivo-box",t));y.each(function(){var n=e(this);if(c===g-1){setTimeout(function(){n.animate({opacity:"1"},r.animSpeed,"",function(){t.trigger("nivo:animFinished")})},100+l)}else{setTimeout(function(){n.animate({opacity:"1"},r.animSpeed)},100+l)}l+=20;c++})}else if(o==="boxRain"||o==="boxRainReverse"||o==="boxRainGrow"||o==="boxRainGrowReverse"){p(t,r,s);g=r.boxCols*r.boxRows;c=0;l=0;var w=0;var E=0;var S=[];S[w]=[];y=e(".nivo-box",t);if(o==="boxRainReverse"||o==="boxRainGrowReverse"){y=e(".nivo-box",t)._reverse()}y.each(function(){S[w][E]=e(this);E++;if(E===r.boxCols){w++;E=0;S[w]=[]}});for(var x=0;x<r.boxCols*2;x++){var T=x;for(var N=0;N<r.boxRows;N++){if(T>=0&&T<r.boxCols){(function(n,i,s,u,a){var f=e(S[n][i]);var l=f.width();var c=f.height();if(o==="boxRainGrow"||o==="boxRainGrowReverse"){f.width(0).height(0)}if(u===a-1){setTimeout(function(){f.animate({opacity:"1",width:l,height:c},r.animSpeed/1.3,"",function(){t.trigger("nivo:animFinished")})},100+s)}else{setTimeout(function(){f.animate({opacity:"1",width:l,height:c},r.animSpeed/1.3)},100+s)}})(N,T,l,c,g);c++}T--}l+=100}}};var v=function(e){for(var t,n,r=e.length;r;t=parseInt(Math.random()*r,10),n=e[--r],e[r]=e[t],e[t]=n);return e};var m=function(e){if(this.console&&typeof console.log!=="undefined"){console.log(e)}};this.stop=function(){if(!e(t).data("nivo:vars").stop){e(t).data("nivo:vars").stop=true;m("Stop Slider")}};this.start=function(){if(e(t).data("nivo:vars").stop){e(t).data("nivo:vars").stop=false;m("Start Slider")}};r.afterLoad.call(this);return this};e.fn.nivoSlider=function(n){return this.each(function(r,i){var s=e(this);if(s.data("nivoslider")){return s.data("nivoslider")}var o=new t(this,n);s.data("nivoslider",o)})};e.fn.nivoSlider.defaults={effect:"random",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,directionNav:true,controlNav:true,controlNavThumbs:false,pauseOnHover:true,manualAdvance:false,prevText:"Prev",nextText:"Next",randomStart:false,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};e.fn._reverse=[].reverse})(jQuery)
diff --git a/green_deal/static/green_deal/js/main.js b/green_deal/static/green_deal/js/main.js
new file mode 100644
index 0000000000000000000000000000000000000000..8a766c89ddff4083682e93672b20c08e3d0a3ffd
--- /dev/null
+++ b/green_deal/static/green_deal/js/main.js
@@ -0,0 +1,338 @@
+// JavaScript Document
+// addon
+
+
+/////////////////////
+function validate(){
+  var notice = '';
+	if(!$('#souhlas').is(':checked') ) {
+    if (lang == null){
+      notice = 'Musíte potvrdit souhlas se zpracováním osobních údajů!';
+    }
+    else{
+      switch(lang)
+      {
+      case 'cz': notice = 'Musíte potvrdit souhlas se zpracováním osobních údajů!'; break;
+      case 'en': notice = 'You must agree with processing of your personal data!'; break;
+      case 'de': notice = 'Sie müssen der Verarbeitung Ihrer persönlichen Daten zustimmen!'; break;
+      default:   notice = 'Musíte potvrdit souhlas se zpracováním osobních údajů!'; break;
+      }
+    }
+    $('#souhlas').focus();
+	}
+	if(notice != '') { alert (notice); return false;}
+	else return true;
+}
+// RESPONSIVE MENU
+$(document).ready(function()
+{
+	$('#mob_menu_open').click(function() {
+		var x = $(this);
+		$(this).addClass('rotate');
+		$(this).animate({ opacity: 0 }, 250);
+		$('#mob_menu_close').removeClass('hide').addClass('rotate_back').animate({ opacity: 1 }, 150);
+		setTimeout(function(){x.addClass('hide').removeClass('rotate').css('opacity',1)},250);
+
+		$('.head_menu').animate({ right: '-5%' }, 500);
+	});
+	$('#mob_menu_close').click(function() {
+		var x = $(this);
+		$(this).removeClass('rotate_back');
+		$(this).animate({ opacity: 0 }, 250);
+		$('#mob_menu_open').removeClass('hide').removeClass('rotate').animate({ opacity: 1 }, 250);
+		setTimeout(function(){x.addClass('hide').removeClass('rotate_back').css('opacity',1)},250);
+
+		$('.head_menu').animate({ right: '-110%' }, 500);
+	});
+
+  // only small screens
+  /*if($(window).width() <= 600){
+    // show menu on swipe to left
+    $('#header').swipeDetector()
+    .on("swipeLeft.sd swipeRight.sd", function(event) {
+      //swipeLeft.sd swipeRight.sd swipeUp.sd swipeDown.sd
+      if (event.type === "swipeLeft") {
+        var x = $('#mob_menu_open');
+    		x.addClass('rotate');
+    		x.animate({ opacity: 0 }, 250);
+    		$('#mob_menu_close').removeClass('hide').addClass('rotate_back').animate({ opacity: 1 }, 150);
+    		setTimeout(function(){x.addClass('hide').removeClass('rotate').css('opacity',1)},250);
+
+    		$('.head_menu').animate({ right: '-4%' }, 500);
+      }
+      if (event.type === "swipeRight") {
+        var x = $('#mob_menu_close');
+        x.removeClass('rotate_back');
+        x.animate({ opacity: 0 }, 250);
+        $('#mob_menu_open').removeClass('hide').removeClass('rotate').animate({ opacity: 1 }, 250);
+        setTimeout(function(){x.addClass('hide').removeClass('rotate_back').css('opacity',1)},250);
+
+        $('.head_menu').animate({ right: '-104%' }, 500);
+      }
+    });
+  }*/
+});
+/*
+$(document).ready(function()
+{
+	$('#mob_menu_open').click(function() {
+		var x = $(this);
+		x.addClass('rotate');
+		x.animate({ opacity: 0 }, 250);
+		$('#mob_menu_close').removeClass('hide').addClass('rotate_back').animate({ opacity: 1 }, 150);
+		setTimeout(function(){x.addClass('hide').removeClass('rotate').css('opacity',1)},250);
+
+		if ($( window ).width() < 3650){
+			$('#responsive_menu').css('height','auto').removeClass('hide');
+			$('#responsive_menu .mainmenu').animate({ left: '0%' }, 500);
+		}
+		else
+			$('#responsive_menu .mainmenu').animate({ left: '0%' }, 500);
+	});
+	$('#mob_menu_close').click(function() {
+		var x = $(this);
+		x.removeClass('rotate_back');
+		x.animate({ opacity: 0 }, 250);
+		$('#mob_menu_open').removeClass('hide').removeClass('rotate').animate({ opacity: 1 }, 250);
+		setTimeout(function(){x.addClass('hide').removeClass('rotate_back').css('opacity',1)},250);
+    if ($( window ).width() > 3650){
+		    $('#responsive_menu .mainmenu').animate({ left: '-60%' }, 500, function(){$('#responsive_menu').addClass('hide'); });
+    }
+    else $('#responsive_menu .mainmenu').animate({ left: '-115%' }, 500, function(){$('#responsive_menu').css('height','1px').addClass('hide'); });
+	});
+	if ($( window ).width() < 1100){
+		$('#qm0 li').click(function(event) {
+			event.preventDefault();
+			$(this).find('ul').first().css('left','0');
+		});
+		$('#qm0 li a').dblclick(function() {
+			window.location.href = $(this).attr('href');
+		});
+	}
+
+});
+*/
+////////////////////////// POPUPS
+function popup(id) {
+	var popupBox = $(id);
+	//Fade in the Popup and add close button
+	$(popupBox).fadeIn(300);
+	//Set the center alignment padding + border
+	var popMargTop = ($(popupBox).height() + 24) / 2;
+	var popMargLeft = ($(popupBox).width() + 24) / 2;
+	$(popupBox).css({
+		'margin-top' : -popMargTop,
+		'margin-left' : -popMargLeft
+	});
+	// Add the mask to body
+	$('body').append('<div id="mask"></div>');
+	$('#mask').fadeIn(300);
+	return false;
+};
+function popup_cart() {
+	$('#cart_content').fadeIn(300);
+	return false;
+};
+$(function() {
+	$(document.body).on('click', '#mask', function() {
+	  $('#mask , .popup').fadeOut(300 , function() {
+		$('#mask').remove();
+	});
+	return false;
+	});
+	$(document.body).on('click', '#intro', function() {
+	  $('#mask , .popup').fadeOut(300 , function() {
+		$('#mask').remove();
+	});
+	return false;
+	});
+	// When clicking on the button close or the mask layer the popup closed
+	$(document.body).on('click', 'a.close', function() {
+	  $('#mask , .popup').fadeOut(300 , function() {
+		$('#mask').remove();
+	});
+	return false;
+	});
+
+	$(document.body).on('click', 'a.cart_close',function() {
+	  $('#cart_content').fadeOut(300 , function() {
+	});
+	return false;
+	});
+});
+
+function toggleContent(name,n) {
+	var i,t='',el = document.getElementById(name);
+	if (!el.origCont) el.origCont = el.innerHTML;
+
+	for (i=0;i<n;i++) t += el.origCont;
+	el.innerHTML = t;
+}
+function makeSafe ( kde )
+{
+  var co = new Array ("- "," ","+",",","á","ä","č","ď","ň","é","ě","í","ĺ","ľ","Ł","ó","ô","ő","ö","ŕ","š","ť","ú","ů","ű","ü","ý","ř","ž","Á","Ä","Č","Ď","É","Ě","Í","Ĺ","Ľ","Ň","Ó","Ô","Ł","Ö","Ŕ","Ř","Š","Ť","Ú","Ů","Ű","Ü","Ý","Ł","Ž");
+  var cim = new Array("","-","-","","a","a","c","d","n","e","e","i","l","l","n","o","o","o","o","r","s","t","u","u","u","u","y","r","z","a","a","c","d","e","e","i","l","l","n","o","o","o","o","r","r","s","t","u","u","u","u","y","r","z");
+  var safe = str_replace(co, cim, kde);
+  safe = safe.toLowerCase();
+  safe = safe.trim();
+  return safe;
+}
+function str_replace (search, replace, subject, count) {
+    // http://kevin.vanzonneveld.net
+    // +   bugfixed by: Oleg Eremeev
+    // %          note 1: The count parameter must be passed as a string in order
+    // %          note 1:  to find a global variable in which the result will be given
+    // *     example 1: str_replace(' ', '.', 'Kevin van Zonneveld');
+    // *     returns 1: 'Kevin.van.Zonneveld'
+    // *     example 2: str_replace(['{name}', 'l'], ['hello', 'm'], '{name}, lars');
+    // *     returns 2: 'hemmo, mars'
+
+    var i = 0, j = 0, temp = '', repl = '', sl = 0, fl = 0,
+            f = [].concat(search),
+            r = [].concat(replace),
+            s = subject,
+            ra = r instanceof Array, sa = s instanceof Array;
+    s = [].concat(s);
+    if (count) {
+        this.window[count] = 0;
+    }
+
+    for (i=0, sl=s.length; i < sl; i++) {
+        if (s[i] === '') {
+            continue;
+        }
+        for (j=0, fl=f.length; j < fl; j++) {
+            temp = s[i]+'';
+            repl = ra ? (r[j] !== undefined ? r[j] : '') : r[0];
+            s[i] = (temp).split(f[j]).join(repl);
+            if (count && s[i] !== temp) {
+                this.window[count] += (temp.length-s[i].length)/f[j].length;}
+        }
+    }
+    return sa ? s : s[0];
+}
+function closeAllExcept(e){
+	var menu = document.getElementById('menu');
+	var lis = menu.getElementsByTagName('li');
+	var isLong = '';
+	for(i=0; i<lis.length; i++){
+		if (lis[i] != e){
+			if (lis[i].className.search(/long/) > -1) isLong = ' long';
+			if (lis[i].className.search(/open/) > -1) lis[i].className = "close"+isLong;
+			if (lis[i].className.search('open') > -1) alert(lis[i].id);
+		}
+	}
+}
+function closeAll(){
+	var menu = document.getElementById('menu');
+	var lis = menu.getElementsByTagName('li');
+	var isLong = '';
+	for(i=0; i<lis.length; i++){
+		if (lis[i].className.search(/long/) > 0) isLong = ' long';
+		if (lis[i].className.search(/open/) > 0) lis[i].className = "close"+isLong;
+	}
+	document.cookie = 'menu=0; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/';
+}
+
+function menu_switch(e,ev) {//alert(e.parentNode.parentNode.id);
+	if(e.nodeName == 'LI'){
+		var d = new Date();
+		d.setTime(d.getTime()+(15*60*1000));
+		var trida; var ext = '';
+		trida = e.className;
+		arr = trida.split(' ');
+		trida = arr[0];
+		for (i=1; i<arr.length; i++){
+			ext += ' '+arr[i];
+		}
+		// disable bubbling
+		if (window.event) {
+			ev.cancelBubble = true;
+		}
+		else {
+			ev.stopPropagation();
+		}
+
+		if ((trida=="close" || trida=="open")) {
+   	  		e.className = (trida=="open") ? "close"+ext : "open"+ext;
+			if (trida == "close") {document.cookie = 'menu='+e.id+'; expires='+d.toUTCString()+'; path=/'; }
+			else document.cookie = 'menu='+e.id+'; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/';
+			closeAllExcept(e);
+			return false;
+  		}
+	}
+	else
+	return true;
+}
+
+function readCookie(name) {
+	var nameEQ = name + "=";
+	var ca = document.cookie.split(';');
+	for(var i=0;i < ca.length;i++) {
+		var c = ca[i];
+		while (c.charAt(0)==' ') c = c.substring(1,c.length);
+		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
+	}
+	return null;
+}
+function setCookie(name,val,hours) {
+	var d = new Date();
+	d.setTime(d.getTime()+(hours*60*1000));
+	if (hours)
+		document.cookie = name+'='+val+'; expires='+d.toUTCString()+'; path=/';
+	else
+		document.cookie = name+'='+val+'; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/';
+	return false;
+}
+
+function onBlur(el) {
+    if (el.value == '') {
+        el.value = el.defaultValue;
+    }
+}
+function onFocus(el) {
+    if (el.value == el.defaultValue) {
+        el.value = '';
+    }
+}
+function isInViewport(node) {
+  var rect = node.getBoundingClientRect()
+  return (
+    (rect.height > 0 || rect.width > 0) &&
+    rect.bottom >= 0 &&
+    rect.right >= 0 &&
+    rect.top <= (window.innerHeight || document.documentElement.clientHeight) &&
+    rect.left <= (window.innerWidth || document.documentElement.clientWidth)
+  )
+}
+/*window.onload = function() {
+	if($.cookie('popState') != 'shown' && ($('#intro .introimg').length || $('#intro .introimg')[0].length)){
+        popup('#intro');
+		var date = new Date();
+		var minutes = 15;
+		date.setTime(date.getTime() + (minutes * 60 * 1000));
+        $.cookie('popState', 'shown', { expires: date});
+    }
+	//document.cookie = "popState=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
+};*/
+
+
+//////////////////////////////////// AJAX
+
+function send_xmlhttprequest(state_change, method, url, content, headers) {
+    var xmlhttp = (XMLHttpRequest ? new XMLHttpRequest : (ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : false));
+    if (!xmlhttp) {
+        return false;
+    }
+    xmlhttp.open(method, url);
+    xmlhttp.onreadystatechange = function () {
+        state_change(xmlhttp);
+    };
+    if (headers) {
+        for (var key in headers) {
+            xmlhttp.setRequestHeader(key, headers[key]);
+        }
+    }
+    xmlhttp.send(content);
+    return true;
+}
diff --git a/green_deal/static/green_deal/js/swipe-detect.js b/green_deal/static/green_deal/js/swipe-detect.js
new file mode 100644
index 0000000000000000000000000000000000000000..b5b832d624b866af78819e768e02b8b6c69f7659
--- /dev/null
+++ b/green_deal/static/green_deal/js/swipe-detect.js
@@ -0,0 +1,95 @@
+// Demo http://codepen.io/AlexEmashev/pen/BKgQdx
+(function ($) {
+  $.fn.swipeDetector = function (options) {
+    // States: 0 - no swipe, 1 - swipe started, 2 - swipe released
+    var swipeState = 0;
+    // Coordinates when swipe started
+    var startX = 0;
+    var startY = 0;
+    // Distance of swipe
+    var pixelOffsetX = 0;
+    var pixelOffsetY = 0;
+    // Target element which should detect swipes.
+    var swipeTarget = this;
+    var defaultSettings = {
+      // Amount of pixels, when swipe don't count.
+      swipeThreshold: 70,
+      // Flag that indicates that plugin should react only on touch events.
+      // Not on mouse events too.
+      useOnlyTouch: false
+    };
+
+    // Initializer
+    (function init() {
+      options = $.extend(defaultSettings, options);
+      // Support touch and mouse as well.
+      swipeTarget.on('mousedown touchstart', swipeStart);
+      $('html').on('mouseup touchend', swipeEnd);
+      $('html').on('mousemove touchmove', swiping);
+    })();
+
+    function swipeStart(event) {
+      if (options.useOnlyTouch && !event.originalEvent.touches)
+        return;
+
+      if (event.originalEvent.touches)
+        event = event.originalEvent.touches[0];
+
+      if (swipeState === 0) {
+        swipeState = 1;
+        startX = event.clientX;
+        startY = event.clientY;
+      }
+    }
+
+    function swipeEnd(event) {
+      if (swipeState === 2) {
+        swipeState = 0;
+
+        if (Math.abs(pixelOffsetX) > Math.abs(pixelOffsetY) &&
+           Math.abs(pixelOffsetX) > options.swipeThreshold) { // Horizontal Swipe
+          if (pixelOffsetX < 0) {
+            swipeTarget.trigger($.Event('swipeLeft.sd'));
+            console.log('Left');
+          } else {
+            swipeTarget.trigger($.Event('swipeRight.sd'));
+            console.log('Right');
+          }
+        } else if (Math.abs(pixelOffsetY) > options.swipeThreshold) { // Vertical swipe
+          if (pixelOffsetY < 0) {
+            swipeTarget.trigger($.Event('swipeUp.sd'));
+            console.log('Up');
+          } else {
+            swipeTarget.trigger($.Event('swipeDown.sd'));
+            console.log('Down');
+          }
+        }
+      }
+    }
+
+    function swiping(event) {
+      // If swipe don't occuring, do nothing.
+      if (swipeState !== 1)
+        return;
+
+
+      if (event.originalEvent.touches) {
+        event = event.originalEvent.touches[0];
+      }
+
+      var swipeOffsetX = event.clientX - startX;
+      var swipeOffsetY = event.clientY - startY;
+
+      if ((Math.abs(swipeOffsetX) > options.swipeThreshold) ||
+          (Math.abs(swipeOffsetY) > options.swipeThreshold)) {
+        swipeState = 2;
+        pixelOffsetX = swipeOffsetX;
+        pixelOffsetY = swipeOffsetY;
+        console.log(pixelOffsetX);
+      }
+    }
+
+    return swipeTarget; // Return element available for chaining.
+  }
+
+}(jQuery));
diff --git a/green_deal/static/green_deal/vendor/css/jquery-ui.min.css b/green_deal/static/green_deal/vendor/css/jquery-ui.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..5b57b44b880985e5b5064a8f4c457f76b4c8e149
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/css/jquery-ui.min.css
@@ -0,0 +1,6 @@
+/*! jQuery UI - v1.12.1 - 2016-09-14
+* http://jqueryui.com
+* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
+* To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6
+* Copyright jQuery Foundation and other contributors; Licensed MIT */
+.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-state-active,.ui-menu .ui-state-focus{margin:-1px}.ui-button,.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button:active,.ui-button:hover,.ui-button:link,.ui-button:visited{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}button.ui-button::-moz-focus-inner,input.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus,.ui-controlgroup>.ui-controlgroup-item:focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc(100% - 2.4em)}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:0}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:0}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-next-hover,.ui-datepicker .ui-datepicker-prev-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td a,.ui-datepicker td span{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-multi .ui-datepicker-group,.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw,.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:700;line-height:1.5;padding:2px .4em;margin:.5em 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:0;background:0 0;color:inherit;padding:.222em 0;vertical-align:middle;margin:.2em 2em .2em .4em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a,.ui-widget-header a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:700}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400;color:#454545}.ui-button{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400}html .ui-button.ui-state-disabled:active,html .ui-button.ui-state-disabled:hover{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400;color:#454545}.ui-button,.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button{color:#454545;text-decoration:none}.ui-button:focus,.ui-button:hover,.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #ccc;background:#ededed;font-weight:400;color:#2b2b2b}.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,a.ui-button:focus,a.ui-button:hover{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-button.ui-state-active:hover,.ui-button:active,.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active{border:1px solid #003eff;background:#007fff;font-weight:400;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error a,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error a,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon,.ui-widget-header .ui-icon{background-image:url(../../node_modules/jquery-ui-dist/images/ui-icons_444444_256x240.png)}.ui-button:focus .ui-icon,.ui-button:hover .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(../../node_modules/jquery-ui-dist/images/ui-icons_555555_256x240.png)}.ui-button:active .ui-icon,.ui-state-active .ui-icon{background-image:url(../../node_modules/jquery-ui-dist/images/ui-icons_ffffff_256x240.png)}.ui-button .ui-state-highlight.ui-icon,.ui-state-highlight .ui-icon{background-image:url(../../node_modules/jquery-ui-dist/images/ui-icons_777620_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(../../node_modules/jquery-ui-dist/images/ui-icons_cc0000_256x240.png)}.ui-button .ui-icon{background-image:url(../../node_modules/jquery-ui-dist/images/ui-icons_777777_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-first,.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-left,.ui-corner-tl,.ui-corner-top{border-top-left-radius:3px}.ui-corner-all,.ui-corner-right,.ui-corner-top,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bl,.ui-corner-bottom,.ui-corner-left{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-br,.ui-corner-right{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.003;filter:Alpha(Opacity=.3)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
diff --git a/green_deal/static/green_deal/vendor/css/lightgallery.min.css b/green_deal/static/green_deal/vendor/css/lightgallery.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..944ecacd55d1b6b8f709ee0dbef13effa54c57bb
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/css/lightgallery.min.css
@@ -0,0 +1,4 @@
+/*! lightgallery - v1.6.8 - 2018-03-10
+* http://sachinchoolur.github.io/lightGallery/
+* Copyright (c) 2018 Sachin N; Licensed GPLv3 */
+@-webkit-keyframes lg-right-end{0%,to{left:0}50%{left:-30px}}@-moz-keyframes lg-right-end{0%,to{left:0}50%{left:-30px}}@-ms-keyframes lg-right-end{0%,to{left:0}50%{left:-30px}}@keyframes lg-right-end{0%,to{left:0}50%{left:-30px}}@-webkit-keyframes lg-left-end{0%,to{left:0}50%{left:30px}}@-moz-keyframes lg-left-end{0%,to{left:0}50%{left:30px}}@-ms-keyframes lg-left-end{0%,to{left:0}50%{left:30px}}@keyframes lg-left-end{0%,to{left:0}50%{left:30px}}@font-face{font-family:'lg';src:url(../../node_modules/lightgallery/dist/fonts/lg.eot?n1z373);src:url(../../node_modules/lightgallery/dist/fonts/lg.eot?#iefixn1z373) format("embedded-opentype"),url(../../node_modules/lightgallery/dist/fonts/lg.woff?n1z373) format("woff"),url(../../node_modules/lightgallery/dist/fonts/lg.ttf?n1z373) format("truetype"),url(../../node_modules/lightgallery/dist/fonts/lg.svg?n1z373#lg) format("svg");font-weight:400;font-style:normal}.lg-icon{font-family:'lg';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lg-actions .lg-next,.lg-actions .lg-prev{background-color:rgba(0,0,0,.45);border-radius:2px;color:#999;cursor:pointer;display:block;font-size:22px;margin-top:-10px;padding:8px 10px 9px;position:absolute;top:50%;z-index:1080;border:0;outline:0}.lg-actions .lg-next.disabled,.lg-actions .lg-prev.disabled{pointer-events:none;opacity:.5}.lg-actions .lg-next:hover,.lg-actions .lg-prev:hover{color:#fff}.lg-actions .lg-next{right:20px}.lg-actions .lg-next:before{content:"\e095"}.lg-actions .lg-prev{left:20px}.lg-actions .lg-prev:after{content:"\e094"}.lg-outer.lg-right-end .lg-object{-webkit-animation:lg-right-end .3s;-o-animation:lg-right-end .3s;animation:lg-right-end .3s;position:relative}.lg-outer.lg-left-end .lg-object{-webkit-animation:lg-left-end .3s;-o-animation:lg-left-end .3s;animation:lg-left-end .3s;position:relative}.lg-sub-html,.lg-toolbar{background-color:rgba(0,0,0,.45);left:0}.lg-toolbar{z-index:1082;position:absolute;top:0;width:100%}.lg-toolbar .lg-icon{color:#999;cursor:pointer;float:right;font-size:24px;height:47px;line-height:27px;padding:10px 0;text-align:center;width:50px;text-decoration:none!important;outline:medium;-webkit-transition:color .2s linear;-o-transition:color .2s linear;transition:color .2s linear}.lg-toolbar .lg-icon:hover{color:#fff}.lg-toolbar .lg-close:after{content:"\e070"}.lg-toolbar .lg-download:after{content:"\e0f2"}.lg-sub-html{bottom:0;color:#eee;font-size:16px;padding:10px 40px;position:fixed;right:0;text-align:center;z-index:1080}.lg-sub-html h4{margin:0;font-size:13px;font-weight:700}.lg-sub-html p{font-size:12px;margin:5px 0 0}#lg-counter{color:#999;display:inline-block;font-size:16px;padding-left:20px;padding-top:12px;vertical-align:middle}.lg-next,.lg-prev,.lg-toolbar{opacity:1;-webkit-transition:-webkit-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;-moz-transition:-moz-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;-o-transition:-o-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;transition:transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear}.lg-hide-items .lg-prev{opacity:0;-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.lg-hide-items .lg-next{opacity:0;-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.lg-hide-items .lg-toolbar{opacity:0;-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object{-webkit-transform:scale3d(.5,.5,.5);transform:scale3d(.5,.5,.5);opacity:0;-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-moz-transition:-moz-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-o-transition:-o-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;transition:transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);opacity:1}.lg-outer .lg-thumb-outer{background-color:#0d0a0a;bottom:0;position:absolute;width:100%;z-index:1080;max-height:350px;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1) 0s;transition:transform .25s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item,.lg-outer.lg-grab img.lg-object{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer .lg-thumb-outer.lg-grabbing .lg-thumb-item,.lg-outer.lg-grabbing img.lg-object{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg-thumb-outer.lg-dragging .lg-thumb{-webkit-transition-duration:0s!important;transition-duration:0s!important}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap,.lg-outer.lg-thumb-open .lg-thumb-outer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-thumb{padding:10px 0;height:100%;margin-bottom:-5px}.lg-outer .lg-thumb-item{cursor:pointer;float:left;overflow:hidden;height:100%;border:2px solid #fff;border-radius:4px;margin-bottom:5px}@media (min-width:1025px){.lg-outer .lg-thumb-item{-webkit-transition:border-color .25s ease;-o-transition:border-color .25s ease;transition:border-color .25s ease}}.lg-outer .lg-thumb-item.active,.lg-outer .lg-thumb-item:hover{border-color:#a90707}.lg-outer .lg-thumb-item img{width:100%;height:100%;object-fit:cover}.lg-outer.lg-has-thumb .lg-item{padding-bottom:120px}.lg-outer.lg-can-toggle .lg-item{padding-bottom:0}.lg-outer.lg-pull-caption-up .lg-sub-html{-webkit-transition:bottom .25s ease;-o-transition:bottom .25s ease;transition:bottom .25s ease}.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html{bottom:100px}.lg-outer .lg-toogle-thumb{background-color:#0d0a0a;border-radius:2px 2px 0 0;color:#999;cursor:pointer;font-size:24px;height:39px;line-height:27px;padding:5px 0;position:absolute;right:20px;text-align:center;top:-39px;width:50px}.lg-outer .lg-toogle-thumb:after{content:"\e1ff"}.lg-outer .lg-toogle-thumb:hover{color:#fff}.lg-outer .lg-video-cont{display:inline-block;vertical-align:middle;max-width:1140px;max-height:100%;width:100%;padding:0 5px}.lg-outer .lg-video{width:100%;height:0;padding-bottom:56.25%;overflow:hidden;position:relative}.lg-outer .lg-video .lg-object{display:inline-block;position:absolute;top:0;left:0;width:100%!important;height:100%!important}.lg-outer .lg-video .lg-video-play{width:84px;height:59px;position:absolute;left:50%;top:50%;margin-left:-42px;margin-top:-30px;z-index:1080;cursor:pointer}.lg-outer .lg-has-iframe .lg-video{-webkit-overflow-scrolling:touch;overflow:auto}.lg-outer .lg-has-vimeo .lg-video-play{background:url(../../node_modules/lightgallery/dist/img/vimeo-play.png) no-repeat 0 0}.lg-outer .lg-has-vimeo:hover .lg-video-play{background:url(../../node_modules/lightgallery/dist/img/vimeo-play.png) no-repeat 0 -58px}.lg-outer .lg-has-html5 .lg-video-play{background:url(../../node_modules/lightgallery/dist/img/video-play.png) no-repeat 0 0;height:64px;margin-left:-32px;margin-top:-32px;width:64px;opacity:.8}.lg-outer .lg-has-html5:hover .lg-video-play{opacity:1}.lg-outer .lg-has-youtube .lg-video-play{background:url(../../node_modules/lightgallery/dist/img/youtube-play.png) no-repeat 0 0}.lg-outer .lg-has-youtube:hover .lg-video-play{background:url(../../node_modules/lightgallery/dist/img/youtube-play.png) no-repeat 0 -60px}.lg-outer .lg-video-object{width:100%!important;height:100%!important;position:absolute;top:0;left:0}.lg-outer .lg-has-video .lg-video-object{visibility:hidden}.lg-outer .lg-has-video.lg-video-playing .lg-object,.lg-outer .lg-has-video.lg-video-playing .lg-video-play{display:none}.lg-outer .lg-has-video.lg-video-playing .lg-video-object{visibility:visible}.lg-progress-bar{background-color:#333;height:5px;left:0;position:absolute;top:0;width:100%;z-index:1083;opacity:0;-webkit-transition:opacity .08s ease 0s;-moz-transition:opacity .08s ease 0s;-o-transition:opacity .08s ease 0s;transition:opacity .08s ease 0s}.lg-progress-bar .lg-progress{background-color:#a90707;height:5px;width:0}.lg-progress-bar.lg-start .lg-progress{width:100%}.lg-show-autoplay .lg-progress-bar{opacity:1}.lg-autoplay-button:after{content:"\e01d"}.lg-show-autoplay .lg-autoplay-button:after{content:"\e01a"}.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-image,.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition-duration:0s;transition-duration:0s}.lg-outer.lg-use-transition-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:-webkit-transform .3s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .3s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .3s cubic-bezier(0,0,.25,1) 0s;transition:transform .3s cubic-bezier(0,0,.25,1) 0s}.lg-outer.lg-use-left-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;-moz-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;-o-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-moz-transition:-moz-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-o-transition:-o-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;transition:transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}#lg-zoom-in:after{content:"\e311"}#lg-actual-size{font-size:20px}#lg-actual-size:after{content:"\e033"}#lg-zoom-out{opacity:.5;pointer-events:none}#lg-zoom-out:after{content:"\e312"}.lg-zoomed #lg-zoom-out{opacity:1;pointer-events:auto}.lg-outer .lg-pager-outer{bottom:60px;left:0;position:absolute;right:0;text-align:center;z-index:1080;height:10px}.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont{overflow:visible}.lg-outer .lg-pager-cont{cursor:pointer;display:inline-block;overflow:hidden;position:relative;vertical-align:top;margin:0 5px}.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-pager-cont.lg-pager-active .lg-pager{box-shadow:0 0 0 2px #fff inset}.lg-outer .lg-pager-thumb-cont{background-color:#fff;color:#fff;bottom:100%;height:83px;left:0;margin-bottom:20px;margin-left:-60px;opacity:0;padding:5px;position:absolute;width:120px;border-radius:3px;-webkit-transition:opacity .15s ease 0s,-webkit-transform .15s ease 0s;-moz-transition:opacity .15s ease 0s,-moz-transform .15s ease 0s;-o-transition:opacity .15s ease 0s,-o-transform .15s ease 0s;transition:opacity .15s ease 0s,transform .15s ease 0s;-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}.lg-outer .lg-pager-thumb-cont img{width:100%;height:100%}.lg-outer .lg-pager{background-color:rgba(255,255,255,.5);border-radius:50%;box-shadow:0 0 0 8px rgba(255,255,255,.7) inset;display:block;height:12px;-webkit-transition:box-shadow .3s ease 0s;-o-transition:box-shadow .3s ease 0s;transition:box-shadow .3s ease 0s;width:12px}.lg-outer .lg-pager:focus,.lg-outer .lg-pager:hover{box-shadow:0 0 0 8px #fff inset}.lg-outer .lg-caret{border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px dashed;bottom:-10px;display:inline-block;height:0;left:50%;margin-left:-5px;position:absolute;vertical-align:middle;width:0}.lg-fullscreen:after{content:"\e20c"}.lg-fullscreen-on .lg-fullscreen:after{content:"\e20d"}.lg-outer #lg-dropdown-overlay{background-color:rgba(0,0,0,.25);bottom:0;cursor:default;left:0;position:fixed;right:0;top:0;z-index:1081;opacity:0;visibility:hidden;-webkit-transition:visibility 0s linear .18s,opacity .18s linear 0s;-o-transition:visibility 0s linear .18s,opacity .18s linear 0s;transition:visibility 0s linear .18s,opacity .18s linear 0s}.lg-outer.lg-dropdown-active #lg-dropdown-overlay,.lg-outer.lg-dropdown-active .lg-dropdown{-webkit-transition-delay:0s;transition-delay:0s;-moz-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;visibility:visible}.lg-outer.lg-dropdown-active #lg-share{color:#fff}.lg-outer .lg-dropdown{background-color:#fff;border-radius:2px;font-size:14px;list-style-type:none;margin:0;padding:10px 0;position:absolute;right:0;text-align:left;top:50px;opacity:0;visibility:hidden;-moz-transform:translate3d(0,5px,0);-o-transform:translate3d(0,5px,0);-ms-transform:translate3d(0,5px,0);-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0);-webkit-transition:-webkit-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;-moz-transition:-moz-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;-o-transition:-o-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;transition:transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s}.lg-outer .lg-dropdown:after{content:"";display:block;height:0;width:0;position:absolute;border:8px solid transparent;border-bottom-color:#fff;right:16px;top:-16px}.lg-outer .lg-dropdown>li:last-child{margin-bottom:0}.lg-outer .lg-dropdown>li:hover .lg-icon,.lg-outer .lg-dropdown>li:hover a{color:#333}.lg-outer .lg-dropdown a{color:#333;display:block;white-space:pre;padding:4px 12px;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px}.lg-outer .lg-dropdown a:hover{background-color:rgba(0,0,0,.07)}.lg-outer .lg-dropdown .lg-dropdown-text{display:inline-block;line-height:1;margin-top:-3px;vertical-align:middle}.lg-outer .lg-dropdown .lg-icon{color:#333;display:inline-block;float:none;font-size:20px;height:auto;line-height:1;margin-right:8px;padding:0;vertical-align:middle;width:auto}.lg-outer #lg-share{position:relative}.lg-outer #lg-share:after{content:"\e80d"}.lg-outer #lg-share-facebook .lg-icon{color:#3b5998}.lg-outer #lg-share-facebook .lg-icon:after{content:"\e901"}.lg-outer #lg-share-twitter .lg-icon{color:#00aced}.lg-outer #lg-share-twitter .lg-icon:after{content:"\e904"}.lg-outer #lg-share-googleplus .lg-icon{color:#dd4b39}.lg-outer #lg-share-googleplus .lg-icon:after{content:"\e902"}.lg-outer #lg-share-pinterest .lg-icon{color:#cb2027}.lg-outer #lg-share-pinterest .lg-icon:after{content:"\e903"}.lg-group:after{content:"";display:table;clear:both}.lg-outer{width:100%;height:100%;position:fixed;top:0;left:0;z-index:1050;text-align:left;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.lg-outer.lg-visible{opacity:1}.lg-outer.lg-css3 .lg-item.lg-current,.lg-outer.lg-css3 .lg-item.lg-next-slide,.lg-outer.lg-css3 .lg-item.lg-prev-slide{-webkit-transition-duration:inherit!important;transition-duration:inherit!important;-webkit-transition-timing-function:inherit!important;transition-timing-function:inherit!important}.lg-outer.lg-css3.lg-dragging .lg-item.lg-current,.lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide,.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide{-webkit-transition-duration:0s!important;transition-duration:0s!important;opacity:1}.lg-outer .lg{height:100%;width:100%;position:relative;overflow:hidden;margin-left:auto;margin-right:auto;max-width:100%;max-height:100%}.lg-outer .lg-inner{width:100%;height:100%;position:absolute;left:0;top:0;white-space:nowrap}.lg-outer .lg-item{background:url(../../node_modules/lightgallery/dist/img/loading.gif) no-repeat center center;display:none!important}.lg-outer.lg-css .lg-current,.lg-outer.lg-css3 .lg-current,.lg-outer.lg-css3 .lg-next-slide,.lg-outer.lg-css3 .lg-prev-slide{display:inline-block!important}.lg-outer .lg-img-wrap,.lg-outer .lg-item{text-align:center;position:absolute;width:100%;height:100%}.lg-outer .lg-img-wrap{display:inline-block;padding:0 5px;left:0;right:0;top:0;bottom:0}.lg-outer .lg-img-wrap:before,.lg-outer .lg-item:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}.lg-outer .lg-item.lg-complete{background-image:none}.lg-outer .lg-item.lg-current{z-index:1060}.lg-outer .lg-image{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%;width:auto!important;height:auto!important}.lg-backdrop,.lg-outer.lg-show-after-load .lg-item .lg-object,.lg-outer.lg-show-after-load .lg-item .lg-video-play{opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer .lg-empty-html,.lg-outer.lg-hide-download #lg-download{display:none}.lg-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1040;background-color:#000}.lg-backdrop.in,.lg-css3.lg-fade .lg-item.lg-current,.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object,.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play{opacity:1}.lg-css3.lg-no-trans .lg-current,.lg-css3.lg-no-trans .lg-next-slide,.lg-css3.lg-no-trans .lg-prev-slide{-webkit-transition:none 0s ease 0s!important;-moz-transition:none 0s ease 0s!important;-o-transition:none 0s ease 0s!important;transition:none 0s ease 0s!important}.lg-css3.lg-use-css3 .lg-item,.lg-css3.lg-use-left .lg-item{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-css3.lg-fade .lg-item.lg-current,.lg-css3.lg-fade .lg-item.lg-next-slide,.lg-css3.lg-fade .lg-item.lg-prev-slide{-webkit-transition:opacity .1s ease 0s;-moz-transition:opacity .1s ease 0s;-o-transition:opacity .1s ease 0s;transition:opacity .1s ease 0s}.lg-css3.lg-fade .lg-item,.lg-css3.lg-slide.lg-use-css3 .lg-item{opacity:0}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transition:-webkit-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:-moz-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:-o-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-left .lg-item{opacity:0;position:absolute;left:0}.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{left:-100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide{left:100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current{left:0;opacity:1}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current,.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{-webkit-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s}
diff --git a/green_deal/static/green_deal/vendor/css/vegas.min.css b/green_deal/static/green_deal/vendor/css/vegas.min.css
new file mode 100644
index 0000000000000000000000000000000000000000..8814e3c9c92ecd2c289a8b26c7e2a755b98c08d8
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/css/vegas.min.css
@@ -0,0 +1 @@
+@-webkit-keyframes kenburns{0%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes kenburns{0%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes kenburnsDownLeft{0%{-webkit-transform:scale(1.5) translate(10%,-10%);transform:scale(1.5) translate(10%,-10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsDownLeft{0%{-webkit-transform:scale(1.5) translate(10%,-10%);transform:scale(1.5) translate(10%,-10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsDownRight{0%{-webkit-transform:scale(1.5) translate(-10%,-10%);transform:scale(1.5) translate(-10%,-10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsDownRight{0%{-webkit-transform:scale(1.5) translate(-10%,-10%);transform:scale(1.5) translate(-10%,-10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsDown{0%{-webkit-transform:scale(1.5) translate(0,-10%);transform:scale(1.5) translate(0,-10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsDown{0%{-webkit-transform:scale(1.5) translate(0,-10%);transform:scale(1.5) translate(0,-10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsLeft{0%{-webkit-transform:scale(1.5) translate(10%,0);transform:scale(1.5) translate(10%,0)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsLeft{0%{-webkit-transform:scale(1.5) translate(10%,0);transform:scale(1.5) translate(10%,0)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsRight{0%{-webkit-transform:scale(1.5) translate(-10%,0);transform:scale(1.5) translate(-10%,0)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsRight{0%{-webkit-transform:scale(1.5) translate(-10%,0);transform:scale(1.5) translate(-10%,0)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsUpLeft{0%{-webkit-transform:scale(1.5) translate(10%,10%);transform:scale(1.5) translate(10%,10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsUpLeft{0%{-webkit-transform:scale(1.5) translate(10%,10%);transform:scale(1.5) translate(10%,10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsUpRight{0%{-webkit-transform:scale(1.5) translate(-10%,10%);transform:scale(1.5) translate(-10%,10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsUpRight{0%{-webkit-transform:scale(1.5) translate(-10%,10%);transform:scale(1.5) translate(-10%,10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@-webkit-keyframes kenburnsUp{0%{-webkit-transform:scale(1.5) translate(0,10%);transform:scale(1.5) translate(0,10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}@keyframes kenburnsUp{0%{-webkit-transform:scale(1.5) translate(0,10%);transform:scale(1.5) translate(0,10%)}to{-webkit-transform:scale(1) translate(0,0);transform:scale(1) translate(0,0)}}.vegas-overlay,.vegas-wrapper{top:0;bottom:0;padding:0;margin:0}.vegas-overlay,.vegas-slide,.vegas-slide-inner,.vegas-timer,.vegas-wrapper{position:absolute;left:0;right:0;overflow:hidden;border:0}.vegas-timer{padding:0;margin:0}.vegas-slide,.vegas-slide-inner{top:0;bottom:0}.vegas-overlay{opacity:.5;background:url(../../node_modules/vegas/dist/overlays/02.png) center center}.vegas-timer{top:auto;bottom:0;height:2px}.vegas-timer-progress{width:0%;height:100%;background:#fff;-webkit-transition:width ease-out;transition:width ease-out}.vegas-timer-running .vegas-timer-progress{width:100%}.vegas-slide,.vegas-slide-inner{margin:0;padding:0;background:center center no-repeat;-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform,opacity}body .vegas-container{overflow:hidden!important;position:relative}.vegas-video{min-width:100%;min-height:100%;width:auto;height:auto}body.vegas-container{overflow:auto;position:static;z-index:-2}body.vegas-container>.vegas-overlay,body.vegas-container>.vegas-slide,body.vegas-container>.vegas-timer{position:fixed;z-index:-1}:root body.vegas-container>.vegas-overlay,:root body.vegas-container>.vegas-slide,_::full-page-media,_:future{bottom:-76px}.vegas-transition-blur,.vegas-transition-blur2{opacity:0;-webkit-filter:blur(32px);filter:blur(32px)}.vegas-transition-blur-in,.vegas-transition-blur2-in{opacity:1;-webkit-filter:blur(0);filter:blur(0)}.vegas-transition-blur2-out{opacity:0}.vegas-transition-burn,.vegas-transition-burn2{opacity:0;-webkit-filter:contrast(1000%) saturate(1000%);filter:contrast(1000%) saturate(1000%)}.vegas-transition-burn-in,.vegas-transition-burn2-in{opacity:1;-webkit-filter:contrast(100%) saturate(100%);filter:contrast(100%) saturate(100%)}.vegas-transition-burn2-out{opacity:0;-webkit-filter:contrast(1000%) saturate(1000%);filter:contrast(1000%) saturate(1000%)}.vegas-transition-fade,.vegas-transition-fade2{opacity:0}.vegas-transition-fade-in,.vegas-transition-fade2-in{opacity:1}.vegas-transition-fade2-out{opacity:0}.vegas-transition-flash,.vegas-transition-flash2{opacity:0;-webkit-filter:brightness(25);filter:brightness(25)}.vegas-transition-flash-in,.vegas-transition-flash2-in{opacity:1;-webkit-filter:brightness(1);filter:brightness(1)}.vegas-transition-flash2-out{opacity:0;-webkit-filter:brightness(25);filter:brightness(25)}.vegas-transition-negative,.vegas-transition-negative2{opacity:0;-webkit-filter:invert(100%);filter:invert(100%)}.vegas-transition-negative-in,.vegas-transition-negative2-in{opacity:1;-webkit-filter:invert(0);filter:invert(0)}.vegas-transition-negative2-out{opacity:0;-webkit-filter:invert(100%);filter:invert(100%)}.vegas-transition-slideDown,.vegas-transition-slideDown2{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.vegas-transition-slideDown-in,.vegas-transition-slideDown2-in{-webkit-transform:translateY(0);transform:translateY(0)}.vegas-transition-slideDown2-out{-webkit-transform:translateY(100%);transform:translateY(100%)}.vegas-transition-slideLeft,.vegas-transition-slideLeft2{-webkit-transform:translateX(100%);transform:translateX(100%)}.vegas-transition-slideLeft-in,.vegas-transition-slideLeft2-in{-webkit-transform:translateX(0);transform:translateX(0)}.vegas-transition-slideLeft2-out,.vegas-transition-slideRight,.vegas-transition-slideRight2{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.vegas-transition-slideRight-in,.vegas-transition-slideRight2-in{-webkit-transform:translateX(0);transform:translateX(0)}.vegas-transition-slideRight2-out{-webkit-transform:translateX(100%);transform:translateX(100%)}.vegas-transition-slideUp,.vegas-transition-slideUp2{-webkit-transform:translateY(100%);transform:translateY(100%)}.vegas-transition-slideUp-in,.vegas-transition-slideUp2-in{-webkit-transform:translateY(0);transform:translateY(0)}.vegas-transition-slideUp2-out{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.vegas-transition-swirlLeft,.vegas-transition-swirlLeft2{-webkit-transform:scale(2) rotate(35deg);transform:scale(2) rotate(35deg);opacity:0}.vegas-transition-swirlLeft-in,.vegas-transition-swirlLeft2-in{-webkit-transform:scale(1) rotate(0deg);transform:scale(1) rotate(0deg);opacity:1}.vegas-transition-swirlLeft2-out,.vegas-transition-swirlRight,.vegas-transition-swirlRight2{-webkit-transform:scale(2) rotate(-35deg);transform:scale(2) rotate(-35deg);opacity:0}.vegas-transition-swirlRight-in,.vegas-transition-swirlRight2-in{-webkit-transform:scale(1) rotate(0deg);transform:scale(1) rotate(0deg);opacity:1}.vegas-transition-swirlRight2-out{-webkit-transform:scale(2) rotate(35deg);transform:scale(2) rotate(35deg);opacity:0}.vegas-transition-zoomIn,.vegas-transition-zoomIn2{-webkit-transform:scale(0);transform:scale(0);opacity:0}.vegas-transition-zoomIn-in,.vegas-transition-zoomIn2-in{-webkit-transform:scale(1);transform:scale(1);opacity:1}.vegas-transition-zoomIn2-out,.vegas-transition-zoomOut,.vegas-transition-zoomOut2{-webkit-transform:scale(2);transform:scale(2);opacity:0}.vegas-transition-zoomOut-in,.vegas-transition-zoomOut2-in{-webkit-transform:scale(1);transform:scale(1);opacity:1}.vegas-transition-zoomOut2-out{-webkit-transform:scale(0);transform:scale(0);opacity:0}.vegas-animation-kenburns{-webkit-animation:kenburns ease-out;animation:kenburns ease-out}.vegas-animation-kenburnsDownLeft{-webkit-animation:kenburnsDownLeft ease-out;animation:kenburnsDownLeft ease-out}.vegas-animation-kenburnsDownRight{-webkit-animation:kenburnsDownRight ease-out;animation:kenburnsDownRight ease-out}.vegas-animation-kenburnsDown{-webkit-animation:kenburnsDown ease-out;animation:kenburnsDown ease-out}.vegas-animation-kenburnsLeft{-webkit-animation:kenburnsLeft ease-out;animation:kenburnsLeft ease-out}.vegas-animation-kenburnsRight{-webkit-animation:kenburnsRight ease-out;animation:kenburnsRight ease-out}.vegas-animation-kenburnsUpLeft{-webkit-animation:kenburnsUpLeft ease-out;animation:kenburnsUpLeft ease-out}.vegas-animation-kenburnsUpRight{-webkit-animation:kenburnsUpRight ease-out;animation:kenburnsUpRight ease-out}.vegas-animation-kenburnsUp{-webkit-animation:kenburnsUp ease-out;animation:kenburnsUp ease-out}
diff --git a/green_deal/static/green_deal/vendor/js/cookieconsent.min.js b/green_deal/static/green_deal/vendor/js/cookieconsent.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..85371a1f5c8904e4cab048e2a31de523f39d8609
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/cookieconsent.min.js
@@ -0,0 +1 @@
+!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var i=" ";return 1===e.nodeType&&(i+e.className+i).replace(/[\n\t]/g,i).indexOf(i+t+i)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var i=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(i,"")},interpolateString:function(e,t){var i=/{{([a-z][a-z0-9\-_]*)}}/gi;return e.replace(i,function(e){return t(arguments[1])||""})},getCookie:function(e){var t="; "+document.cookie,i=t.split("; "+e+"=");return 2!=i.length?void 0:i.pop().split(";").shift()},setCookie:function(e,t,i,n,o){var s=new Date;s.setDate(s.getDate()+(i||365));var r=[e+"="+t,"expires="+s.toUTCString(),"path="+(o||"/")];n&&r.push("domain="+n),document.cookie=r.join(";")},deepExtend:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(i in e&&this.isPlainObject(e[i])&&this.isPlainObject(t[i])?this.deepExtend(e[i],t[i]):e[i]=t[i]);return e},throttle:function(e,t){var i=!1;return function(){i||(e.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(e){var t,i,n,o=0;if(0===e.length)return o;for(t=0,n=e.length;t<n;++t)i=e.charCodeAt(t),o=(o<<5)-o+i,o|=0;return o},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){e=this.normaliseHex(e);var t=parseInt(e.substr(0,2),16),i=parseInt(e.substr(2,2),16),n=parseInt(e.substr(4,2),16),o=(299*t+587*i+114*n)/1e3;return o>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),i=38,n=(t>>16)+i,o=(t>>8&255)+i,s=(255&t)+i,r=(16777216+65536*(n<255?n<1?0:n:255)+256*(o<255?o<1?0:o:255)+(s<255?s<1?0:s:255)).toString(16).slice(1);return"#"+r},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var i in t)if(t.hasOwnProperty(i)&&"undefined"!=typeof e.style[i+"ransition"])return t[i];return""}(),e.hasTransition=!!e.transitionEnd;var i=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){function n(){this.initialise.apply(this,arguments)}function o(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function s(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function r(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var i=Object.keys(e.status),n=this.getStatus(),o=i.indexOf(n)>=0;return o&&t(n),o}function a(){var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function c(){var e=this.options,i="top"==e.position||"bottom"==e.position?"banner":"floating";t.isMobile()&&(i="floating");var n=["cc-"+i,"cc-type-"+e.type,"cc-theme-"+e.theme];e["static"]&&n.push("cc-static"),n.push.apply(n,a.call(this));p.call(this,this.options.palette);return this.customStyleSelector&&n.push(this.customStyleSelector),n}function l(){var e={},i=this.options;i.showLink||(i.elements.link="",i.elements.messagelink=i.elements.message),Object.keys(i.elements).forEach(function(n){e[n]=t.interpolateString(i.elements[n],function(e){var t=i.content[e];return e&&"string"==typeof t&&t.length?t:""})});var n=i.compliance[i.type];n||(n=i.compliance.info),e.compliance=t.interpolateString(n,function(t){return e[t]});var o=i.layouts[i.layout];return o||(o=i.layouts.basic),t.interpolateString(o,function(t){return e[t]})}function u(i){var n=this.options,o=document.createElement("div"),s=n.container&&1===n.container.nodeType?n.container:document.body;o.innerHTML=i;var r=o.children[0];return r.style.display="none",t.hasClass(r,"cc-window")&&e.hasTransition&&t.addClass(r,"cc-invisible"),this.onButtonClick=h.bind(this),r.addEventListener("click",this.onButtonClick),n.autoAttach&&(s.firstChild?s.insertBefore(r,s.firstChild):s.appendChild(r)),r}function h(n){var o=n.target;if(t.hasClass(o,"cc-btn")){var s=o.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),r=s&&s[1]||!1;r&&(this.setStatus(r),this.close(!0))}t.hasClass(o,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(o,"cc-revoke")&&this.revokeChoice()}function p(e){var i=t.hash(JSON.stringify(e)),n="cc-color-override-"+i,o=t.isPlainObject(e);return this.customStyleSelector=o?n:null,o&&d(i,e,"."+n),o}function d(i,n,o){if(e.customStyles[i])return void++e.customStyles[i].references;var s={},r=n.popup,a=n.button,c=n.highlight;r&&(r.text=r.text?r.text:t.getContrast(r.background),r.link=r.link?r.link:r.text,s[o+".cc-window"]=["color: "+r.text,"background-color: "+r.background],s[o+".cc-revoke"]=["color: "+r.text,"background-color: "+r.background],s[o+" .cc-link,"+o+" .cc-link:active,"+o+" .cc-link:visited"]=["color: "+r.link],a&&(a.text=a.text?a.text:t.getContrast(a.background),a.border=a.border?a.border:"transparent",s[o+" .cc-btn"]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background],"transparent"!=a.background&&(s[o+" .cc-btn:hover, "+o+" .cc-btn:focus"]=["background-color: "+v(a.background)]),c?(c.text=c.text?c.text:t.getContrast(c.background),c.border=c.border?c.border:"transparent",s[o+" .cc-highlight .cc-btn:first-child"]=["color: "+c.text,"border-color: "+c.border,"background-color: "+c.background]):s[o+" .cc-highlight .cc-btn:first-child"]=["color: "+r.text]));var l=document.createElement("style");document.head.appendChild(l),e.customStyles[i]={references:1,element:l.sheet};var u=-1;for(var h in s)s.hasOwnProperty(h)&&l.sheet.insertRule(h+"{"+s[h].join(";")+"}",++u)}function v(e){return e=t.normaliseHex(e),"000000"==e?"#222":t.getLuminance(e)}function f(i){if(t.isPlainObject(i)){var n=t.hash(JSON.stringify(i)),o=e.customStyles[n];if(o&&!--o.references){var s=o.element.ownerNode;s&&s.parentNode&&s.parentNode.removeChild(s),e.customStyles[n]=null}}}function m(e,t){for(var i=0,n=e.length;i<n;++i){var o=e[i];if(o instanceof RegExp&&o.test(t)||"string"==typeof o&&o.length&&o===t)return!0}return!1}function b(){var t=this.setStatus.bind(this),i=this.options.dismissOnTimeout;"number"==typeof i&&i>=0&&(this.dismissTimeout=window.setTimeout(function(){t(e.status.dismiss)},Math.floor(i)));var n=this.options.dismissOnScroll;if("number"==typeof n&&n>=0){var o=function(i){window.pageYOffset>Math.floor(n)&&(t(e.status.dismiss),window.removeEventListener("scroll",o),this.onWindowScroll=null)};this.onWindowScroll=o,window.addEventListener("scroll",o)}}function y(){if("info"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var e=a.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var i=this.options.revokeBtn.replace("{{classes}}",e.join(" "));this.revokeBtn=u.call(this,i);var n=this.revokeBtn;if(this.options.animateRevokable){var o=t.throttle(function(e){var i=!1,o=20,s=window.innerHeight-20;t.hasClass(n,"cc-top")&&e.clientY<o&&(i=!0),t.hasClass(n,"cc-bottom")&&e.clientY>s&&(i=!0),i?t.hasClass(n,"cc-active")||t.addClass(n,"cc-active"):t.hasClass(n,"cc-active")&&t.removeClass(n,"cc-active")},200);this.onMouseMove=o,window.addEventListener("mousemove",o)}}}var g={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"http://cookiesandyou.com",close:"&#x274c;"},elements:{header:'<span class="cc-header">{{header}}</span>&nbsp;',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="_blank">{{link}}</a></span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role=button tabindex="0"  class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" target="_blank">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}"><!--googleoff: all-->{{children}}<!--googleon: all--></div>',revokeBtn:'<div class="cc-revoke {{classes}}">Cookie Policy</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{dismiss}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{dismiss}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block","static":!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return n.prototype.initialise=function(e){this.options&&this.destroy(),t.deepExtend(this.options={},g),t.isPlainObject(e)&&t.deepExtend(this.options,e),r.call(this)&&(this.options.enabled=!1),m(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),m(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var i=this.options.window.replace("{{classes}}",c.call(this).join(" ")).replace("{{children}}",l.call(this)),n=this.options.overrideHTML;if("string"==typeof n&&n.length&&(i=n),this.options["static"]){var o=u.call(this,'<div class="cc-grower">'+i+"</div>");o.style.display="",this.element=o.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=u.call(this,i);b.call(this),y.call(this),this.options.autoOpen&&this.autoOpen()},n.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,f(this.options.palette),this.options=null},n.prototype.open=function(t){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},n.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},n.prototype.fadeIn=function(){var i=this.element;if(e.hasTransition&&i&&(this.afterTransition&&s.call(this,i),t.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options["static"]){var n=this.element.clientHeight;this.element.parentNode.style.maxHeight=n+"px"}var r=20;this.openingTimeout=setTimeout(o.bind(this,i),r)}},n.prototype.fadeOut=function(){var i=this.element;e.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,i)),t.hasClass(i,"cc-invisible")||(this.options["static"]&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=s.bind(this,i),i.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(i,"cc-invisible")))},n.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},n.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},n.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},n.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},n.prototype.hasConsented=function(t){var i=this.getStatus();return i==e.status.allow||i==e.status.dismiss},n.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled&&this.open()},n.prototype.setStatus=function(i){var n=this.options.cookie,o=t.getCookie(n.name),s=Object.keys(e.status).indexOf(o)>=0;Object.keys(e.status).indexOf(i)>=0?(t.setCookie(n.name,i,n.expiryDays,n.domain,n.path),this.options.onStatusChange.call(this,i,s)):this.clearStatus()},n.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},n.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},n}(),e.Location=function(){function e(e){t.deepExtend(this.options={},s),t.isPlainObject(e)&&t.deepExtend(this.options,e),this.currentServiceIndex=-1}function i(e,t,i){var n,o=document.createElement("script");o.type="text/"+(e.type||"javascript"),o.src=e.src||e,o.async=!1,o.onreadystatechange=o.onload=function(){var e=o.readyState;clearTimeout(n),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),n=setTimeout(function(){t.done=!0,t(),o.onreadystatechange=o.onload=null},i)}function n(e,t,i,n,o){var s=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(s.open(n?"POST":"GET",e,1),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(o))for(var r=0,a=o.length;r<a;++r){var c=o[r].split(":",2);s.setRequestHeader(c[0].replace(/^\s+|\s+$/g,""),c[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(s.onreadystatechange=function(){s.readyState>3&&t(s)}),s.send(n)}function o(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}var s={timeout:5e3,services:["freegeoip","ipinfo","maxmind"],serviceDefinitions:{freegeoip:function(){return{url:"//freegeoip.net/json/?callback={callback}",isScript:!0,callback:function(e,t){try{var i=JSON.parse(t);return i.error?o(i):{code:i.country_code}}catch(n){return o({error:"Invalid response ("+n+")"})}}}},ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var i=JSON.parse(t);return i.error?o(i):{code:i.country}}catch(n){return o({error:"Invalid response ("+n+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var i=JSON.parse(t);return"ERROR"==i.statusCode?o({error:i.statusMessage}):{code:i.countryCode}}catch(n){return o({error:"Invalid response ("+n+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){return window.geoip2?void geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(i){e(o(i))}},function(t){e(o(t))}):void e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return e.prototype.getNextService=function(){var e;do e=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex<this.options.services.length&&!e);return e},e.prototype.getServiceByIdx=function(e){var i=this.options.services[e];if("function"==typeof i){var n=i();return n.name&&t.deepExtend(n,this.options.serviceDefinitions[n.name](n)),n}return"string"==typeof i?this.options.serviceDefinitions[i]():t.isPlainObject(i)?this.options.serviceDefinitions[i.name](i):null},e.prototype.locate=function(e,t){var i=this.getNextService();return i?(this.callbackComplete=e,this.callbackError=t,void this.runService(i,this.runNextServiceOnError.bind(this))):void t(new Error("No services to run"))},e.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(i,n){if("callback"===n){var o="callback"+Date.now();return window[o]=function(t){e.__JSONP_DATA=JSON.stringify(t)},o}if(n in t.interpolateUrl)return t.interpolateUrl[n]})},e.prototype.runService=function(e,t){var o=this;if(e&&e.url&&e.callback){var s=e.isScript?i:n,r=this.setupUrl(e);s(r,function(i){var n=i?i.responseText:"";e.__JSONP_DATA&&(n=e.__JSONP_DATA,delete e.__JSONP_DATA),o.runServiceCallback.call(o,t,e,n)},this.options.timeout,e.data,e.headers)}},e.prototype.runServiceCallback=function(e,t,i){var n=this,o=function(t){s||n.onServiceResult.call(n,e,t)},s=t.callback(o,i);s&&this.onServiceResult.call(this,e,s)},e.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},e.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var i=this.getNextService();i?this.runService(i,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},e.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e():t.isPlainObject(e)?e:{}},e.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},e.prototype.logError=function(e){var t=this.currentServiceIndex,i=this.getServiceByIdx(t);console.error("The service["+t+"] ("+i.url+") responded with the following error",e)},e}(),e.Law=function(){function e(e){this.initialise.apply(this,arguments)}var i={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","SI","ES","SE","GB","UK"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return e.prototype.initialise=function(e){t.deepExtend(this.options={},i),t.isPlainObject(e)&&t.deepExtend(this.options,e)},e.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},e.prototype.applyLaw=function(e,t){var i=this.get(t);return i.hasLaw||(e.enabled=!1),this.options.regionalLaw&&(i.revokable&&(e.revokable=!0),i.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},e}(),e.initialise=function(t,i,n){var o=new e.Law(t.law);i||(i=function(){}),n||(n=function(){}),e.getCountryCode(t,function(n){delete t.law,delete t.location,n.code&&(t=o.applyLaw(t,n.code)),i(new e.Popup(t))},function(i){delete t.law,delete t.location,n(i,new e.Popup(t))})},e.getCountryCode=function(t,i,n){if(t.law&&t.law.countryCode)return void i({code:t.law.countryCode});if(t.location){var o=new e.Location(t.location);return void o.locate(function(e){i(e||{})},n)}i({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{});
diff --git a/green_deal/static/green_deal/vendor/js/jquery-ui.min.js b/green_deal/static/green_deal/vendor/js/jquery-ui.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..862a649869db80cb6c8cd6d48f63ee0b56169a2c
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/jquery-ui.min.js
@@ -0,0 +1,13 @@
+/*! jQuery UI - v1.12.1 - 2016-09-14
+* http://jqueryui.com
+* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
+* Copyright jQuery Foundation and other contributors; Licensed MIT */
+
+(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e=t.css("visibility");"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}function i(t){for(var e,i;t.length&&t[0]!==document;){if(e=t.css("position"),("absolute"===e||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}function s(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=n(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,o)}function o(){t.datepicker._isDisabledDatepicker(m.inline?m.dpDiv.parent()[0]:m.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function a(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}function r(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.ui=t.ui||{},t.ui.version="1.12.1";var h=0,l=Array.prototype.slice;t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},h=e.split(".")[0];e=e.split(".")[1];var l=h+"-"+e;return s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][l.toLowerCase()]=function(e){return!!t.data(e,l)},t[h]=t[h]||{},n=t[h][e],o=t[h][e]=function(t,e){return this._createWidget?(arguments.length&&this._createWidget(t,e),void 0):new o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isFunction(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void 0):(r[e]=s,void 0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:h,widgetName:e,widgetFullName:l}),n?(t.each(n._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var i,s,n=l.call(arguments,1),o=0,a=n.length;a>o;o++)for(i in n[o])s=n[o][i],n[o].hasOwnProperty(i)&&void 0!==s&&(e[i]=t.isPlainObject(s)?t.isPlainObject(e[i])?t.widget.extend({},e[i],s):t.widget.extend({},s):s);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(n){var o="string"==typeof n,a=l.call(arguments,1),r=this;return o?this.length||"instance"!==n?this.each(function(){var i,o=t.data(this,s);return"instance"===n?(r=o,!1):o?t.isFunction(o[n])&&"_"!==n.charAt(0)?(i=o[n].apply(o,a),i!==o&&void 0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+n+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+n+"'")}):r=void 0:(a.length&&(n=t.widget.extend.apply(null,[n].concat(a))),this.each(function(){var e=t.data(this,s);e?(e.option(n||{}),e._init&&e._init()):t.data(this,s,new i(n,this))})),r}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType,o=!s&&!n;return{element:i,isWindow:s,isDocument:n,offset:o?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(n){if(!n||!n.of)return d.apply(this,arguments);n=t.extend({},n);var u,p,f,g,m,_,v=t(n.of),b=t.position.getWithinInfo(n.within),y=t.position.getScrollInfo(b),w=(n.collision||"flip").split(" "),k={};return _=s(v),v[0].preventDefault&&(n.at="left top"),p=_.width,f=_.height,g=_.offset,m=t.extend({},g),t.each(["my","at"],function(){var t,e,i=(n[this]||"").split(" ");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):h.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=h.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),k[this]=[t?t[0]:0,e?e[0]:0],n[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===n.at[0]?m.left+=p:"center"===n.at[0]&&(m.left+=p/2),"bottom"===n.at[1]?m.top+=f:"center"===n.at[1]&&(m.top+=f/2),u=e(k.at,p,f),m.left+=u[0],m.top+=u[1],this.each(function(){var s,r,h=t(this),l=h.outerWidth(),c=h.outerHeight(),d=i(this,"marginLeft"),_=i(this,"marginTop"),x=l+d+i(this,"marginRight")+y.width,C=c+_+i(this,"marginBottom")+y.height,D=t.extend({},m),I=e(k.my,h.outerWidth(),h.outerHeight());"right"===n.my[0]?D.left-=l:"center"===n.my[0]&&(D.left-=l/2),"bottom"===n.my[1]?D.top-=c:"center"===n.my[1]&&(D.top-=c/2),D.left+=I[0],D.top+=I[1],s={marginLeft:d,marginTop:_},t.each(["left","top"],function(e,i){t.ui.position[w[e]]&&t.ui.position[w[e]][i](D,{targetWidth:p,targetHeight:f,elemWidth:l,elemHeight:c,collisionPosition:s,collisionWidth:x,collisionHeight:C,offset:[u[0]+I[0],u[1]+I[1]],my:n.my,at:n.at,within:b,elem:h})}),n.using&&(r=function(t){var e=g.left-D.left,i=e+p-l,s=g.top-D.top,r=s+f-c,u={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:h,left:D.left,top:D.top,width:l,height:c},horizontal:0>i?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-h,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});var c="ui-effects-",u="ui-effects-style",d="ui-effects-animated",p=t;t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("<p>")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inArray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(s,n,o),h=Math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[Math.round(255*n(r,a,e+1/3)),Math.round(255*n(r,a,e)),Math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parseFloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},o=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(p),function(){function e(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function i(e,i){var s,o,a={};for(s in i)o=i[s],e[s]!==o&&(n[s]||(t.fx.step[s]||!isNaN(parseFloat(o)))&&(a[s]=o));return a}var s=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(p.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(n,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addBack():a;l=l.map(function(){var i=t(this);return{el:i,start:e(this)}}),o=function(){t.each(s,function(t,e){n[e]&&a[e+"Class"](n[e])})},o(),l=l.map(function(){return this.end=e(this.el[0]),this.diff=i(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,o){return s?t.effects.animateClass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(i,s,n,o,a){return"boolean"==typeof s||void 0===s?n?t.effects.animateClass.call(this,s?{add:i}:{remove:i},n,o,a):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:i},s,n,o)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,o){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function e(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function i(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}function s(t,e){var i=e.outerWidth(),s=e.outerHeight(),n=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,o=n.exec(t)||["",0,i,s,0];return{top:parseFloat(o[1])||0,right:"auto"===o[2]?i:parseFloat(o[2]),bottom:"auto"===o[3]?s:parseFloat(o[3]),left:parseFloat(o[4])||0}}t.expr&&t.expr.filters&&t.expr.filters.animated&&(t.expr.filters.animated=function(e){return function(i){return!!t(i).data(d)||e(i)}}(t.expr.filters.animated)),t.uiBackCompat!==!1&&t.extend(t.effects,{save:function(t,e){for(var i=0,s=e.length;s>i;i++)null!==e[i]&&t.data(c+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,s=0,n=e.length;n>s;s++)null!==e[s]&&(i=t.data(c+e[s]),t.css(e[s],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).trigger("focus"),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus")),e}}),t.extend(t.effects,{version:"1.12.1",define:function(e,i,s){return s||(s=i,i="effect"),t.effects.effect[e]=s,t.effects.effect[e].mode=i,s},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var s="horizontal"!==i?(e||100)/100:1,n="vertical"!==i?(e||100)/100:1;return{height:t.height()*n,width:t.width()*s,outerHeight:t.outerHeight()*n,outerWidth:t.outerWidth()*s}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var s=t.queue();e>1&&s.splice.apply(s,[1,0].concat(s.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data(u,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(u)||"",t.removeData(u)},mode:function(t,e){var i=t.is(":hidden");return"toggle"===e&&(e=i?"show":"hide"),(i?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createPlaceholder:function(e){var i,s=e.css("position"),n=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(s)&&(s="absolute",i=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),"float":e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(c+"placeholder",i)),e.css({position:s,left:n.left,top:n.top}),i},removePlaceholder:function(t){var e=c+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function i(e){function i(){r.removeData(d),t.effects.cleanUp(r),"hide"===s.mode&&r.hide(),a()}function a(){t.isFunction(h)&&h.call(r[0]),t.isFunction(e)&&e()}var r=t(this);s.mode=c.shift(),t.uiBackCompat===!1||o?"none"===s.mode?(r[l](),a()):n.call(r[0],s,i):(r.is(":hidden")?"hide"===l:"show"===l)?(r[l](),a()):n.call(r[0],s,a)}var s=e.apply(this,arguments),n=t.effects.effect[s.effect],o=n.mode,a=s.queue,r=a||"fx",h=s.complete,l=s.mode,c=[],u=function(e){var i=t(this),s=t.effects.mode(i,l)||o;i.data(d,!0),c.push(s),o&&("show"===s||s===o&&"hide"===s)&&i.show(),o&&"none"===s||t.effects.saveStyle(i),t.isFunction(e)&&e()};return t.fx.off||!n?l?this[l](s.duration,h):this.each(function(){h&&h.call(this)}):a===!1?this.each(u).each(i):this.queue(r,u).queue(r,i)},show:function(t){return function(s){if(i(s))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="show",this.effect.call(this,n)
+}}(t.fn.show),hide:function(t){return function(s){if(i(s))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(t.fn.hide),toggle:function(t){return function(s){if(i(s)||"boolean"==typeof s)return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):s(this.css("clip"),this)},transfer:function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrollTop():0,h=o?a.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),t.isFunction(i)&&i()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=s(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}();var f=t.effects;t.effects.define("blind","hide",function(e,i){var s={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=t(this),o=e.direction||"up",a=n.cssClip(),r={clip:t.extend({},a)},h=t.effects.createPlaceholder(n);r.clip[s[o][0]]=r.clip[s[o][1]],"show"===e.mode&&(n.cssClip(r.clip),h&&h.css(t.effects.clipToBox(r)),r.clip=a),h&&h.animate(t.effects.clipToBox(r),e.duration,e.easing),n.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("bounce",function(e,i){var s,n,o,a=t(this),r=e.mode,h="hide"===r,l="show"===r,c=e.direction||"up",u=e.distance,d=e.times||5,p=2*d+(l||h?1:0),f=e.duration/p,g=e.easing,m="up"===c||"down"===c?"top":"left",_="up"===c||"left"===c,v=0,b=a.queue().length;for(t.effects.createPlaceholder(a),o=a.css(m),u||(u=a["top"===m?"outerHeight":"outerWidth"]()/3),l&&(n={opacity:1},n[m]=o,a.css("opacity",0).css(m,_?2*-u:2*u).animate(n,f,g)),h&&(u/=Math.pow(2,d-1)),n={},n[m]=o;d>v;v++)s={},s[m]=(_?"-=":"+=")+u,a.animate(s,f,g).animate(n,f,g),u=h?2*u:u/2;h&&(s={opacity:0},s[m]=(_?"-=":"+=")+u,a.animate(s,f,g)),a.queue(i),t.effects.unshift(a,b,p+1)}),t.effects.define("clip","hide",function(e,i){var s,n={},o=t(this),a=e.direction||"vertical",r="both"===a,h=r||"horizontal"===a,l=r||"vertical"===a;s=o.cssClip(),n.clip={top:l?(s.bottom-s.top)/2:s.top,right:h?(s.right-s.left)/2:s.right,bottom:l?(s.bottom-s.top)/2:s.bottom,left:h?(s.right-s.left)/2:s.left},t.effects.createPlaceholder(o),"show"===e.mode&&(o.cssClip(n.clip),n.clip=s),o.animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("drop","hide",function(e,i){var s,n=t(this),o=e.mode,a="show"===o,r=e.direction||"left",h="up"===r||"down"===r?"top":"left",l="up"===r||"left"===r?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};t.effects.createPlaceholder(n),s=e.distance||n["top"===h?"outerHeight":"outerWidth"](!0)/2,u[h]=l+s,a&&(n.css(u),u[h]=c+s,u.opacity=1),n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("explode","hide",function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=e.mode,g="show"===f,m=p.show().css("visibility","hidden").offset(),_=Math.ceil(p.outerWidth()/d),v=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*v,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*_,l=a-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-a*_,top:-o*v}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:_,height:v,left:r+(g?l*_:0),top:h+(g?c*v:0),opacity:g?0:1}).animate({left:r+(g?0:l*_),top:h+(g?0:c*v),opacity:g?1:0},e.duration||500,e.easing,s)}),t.effects.define("fade","toggle",function(e,i){var s="show"===e.mode;t(this).css("opacity",s?0:1).animate({opacity:s?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("fold","hide",function(e,i){var s=t(this),n=e.mode,o="show"===n,a="hide"===n,r=e.size||15,h=/([0-9]+)%/.exec(r),l=!!e.horizFirst,c=l?["right","bottom"]:["bottom","right"],u=e.duration/2,d=t.effects.createPlaceholder(s),p=s.cssClip(),f={clip:t.extend({},p)},g={clip:t.extend({},p)},m=[p[c[0]],p[c[1]]],_=s.queue().length;h&&(r=parseInt(h[1],10)/100*m[a?0:1]),f.clip[c[0]]=r,g.clip[c[0]]=r,g.clip[c[1]]=0,o&&(s.cssClip(g.clip),d&&d.css(t.effects.clipToBox(g)),g.clip=p),s.queue(function(i){d&&d.animate(t.effects.clipToBox(f),u,e.easing).animate(t.effects.clipToBox(g),u,e.easing),i()}).animate(f,u,e.easing).animate(g,u,e.easing).queue(i),t.effects.unshift(s,_,4)}),t.effects.define("highlight","show",function(e,i){var s=t(this),n={backgroundColor:s.css("backgroundColor")};"hide"===e.mode&&(n.opacity=0),t.effects.saveStyle(s),s.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("size",function(e,i){var s,n,o,a=t(this),r=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],l=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],c=e.mode,u="effect"!==c,d=e.scale||"both",p=e.origin||["middle","center"],f=a.css("position"),g=a.position(),m=t.effects.scaledDimensions(a),_=e.from||m,v=e.to||t.effects.scaledDimensions(a,0);t.effects.createPlaceholder(a),"show"===c&&(o=_,_=v,v=o),n={from:{y:_.height/m.height,x:_.width/m.width},to:{y:v.height/m.height,x:v.width/m.width}},("box"===d||"both"===d)&&(n.from.y!==n.to.y&&(_=t.effects.setTransition(a,h,n.from.y,_),v=t.effects.setTransition(a,h,n.to.y,v)),n.from.x!==n.to.x&&(_=t.effects.setTransition(a,l,n.from.x,_),v=t.effects.setTransition(a,l,n.to.x,v))),("content"===d||"both"===d)&&n.from.y!==n.to.y&&(_=t.effects.setTransition(a,r,n.from.y,_),v=t.effects.setTransition(a,r,n.to.y,v)),p&&(s=t.effects.getBaseline(p,m),_.top=(m.outerHeight-_.outerHeight)*s.y+g.top,_.left=(m.outerWidth-_.outerWidth)*s.x+g.left,v.top=(m.outerHeight-v.outerHeight)*s.y+g.top,v.left=(m.outerWidth-v.outerWidth)*s.x+g.left),a.css(_),("content"===d||"both"===d)&&(h=h.concat(["marginTop","marginBottom"]).concat(r),l=l.concat(["marginLeft","marginRight"]),a.find("*[width]").each(function(){var i=t(this),s=t.effects.scaledDimensions(i),o={height:s.height*n.from.y,width:s.width*n.from.x,outerHeight:s.outerHeight*n.from.y,outerWidth:s.outerWidth*n.from.x},a={height:s.height*n.to.y,width:s.width*n.to.x,outerHeight:s.height*n.to.y,outerWidth:s.width*n.to.x};n.from.y!==n.to.y&&(o=t.effects.setTransition(i,h,n.from.y,o),a=t.effects.setTransition(i,h,n.to.y,a)),n.from.x!==n.to.x&&(o=t.effects.setTransition(i,l,n.from.x,o),a=t.effects.setTransition(i,l,n.to.x,a)),u&&t.effects.saveStyle(i),i.css(o),i.animate(a,e.duration,e.easing,function(){u&&t.effects.restoreStyle(i)})})),a.animate(v,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=a.offset();0===v.opacity&&a.css("opacity",_.opacity),u||(a.css("position","static"===f?"relative":f).offset(e),t.effects.saveStyle(a)),i()}})}),t.effects.define("scale",function(e,i){var s=t(this),n=e.mode,o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==n?0:100),a=t.extend(!0,{from:t.effects.scaledDimensions(s),to:t.effects.scaledDimensions(s,o,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),t.effects.effect.size.call(this,a,i)}),t.effects.define("puff","hide",function(e,i){var s=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,s,i)}),t.effects.define("pulsate","show",function(e,i){var s=t(this),n=e.mode,o="show"===n,a="hide"===n,r=o||a,h=2*(e.times||5)+(r?1:0),l=e.duration/h,c=0,u=1,d=s.queue().length;for((o||!s.is(":visible"))&&(s.css("opacity",0).show(),c=1);h>u;u++)s.animate({opacity:c},l,e.easing),c=1-c;s.animate({opacity:c},l,e.easing),s.queue(i),t.effects.unshift(s,d,h+1)}),t.effects.define("shake",function(e,i){var s=1,n=t(this),o=e.direction||"left",a=e.distance||20,r=e.times||3,h=2*r+1,l=Math.round(e.duration/h),c="up"===o||"down"===o?"top":"left",u="up"===o||"left"===o,d={},p={},f={},g=n.queue().length;for(t.effects.createPlaceholder(n),d[c]=(u?"-=":"+=")+a,p[c]=(u?"+=":"-=")+2*a,f[c]=(u?"-=":"+=")+2*a,n.animate(d,l,e.easing);r>s;s++)n.animate(p,l,e.easing).animate(f,l,e.easing);n.animate(p,l,e.easing).animate(d,l/2,e.easing).queue(i),t.effects.unshift(n,g,h+1)}),t.effects.define("slide","show",function(e,i){var s,n,o=t(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},r=e.mode,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u=e.distance||o["top"===l?"outerHeight":"outerWidth"](!0),d={};t.effects.createPlaceholder(o),s=o.cssClip(),n=o.position()[l],d[l]=(c?-1:1)*u+n,d.clip=o.cssClip(),d.clip[a[h][1]]=d.clip[a[h][0]],"show"===r&&(o.cssClip(d.clip),o.css(l,d[l]),d.clip=s,d[l]=n),o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:i})});var f;t.uiBackCompat!==!1&&(f=t.effects.define("transfer",function(e,i){t(this).transfer(e,i)})),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,i,s=this.options.icons;s&&(e=t("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+s.header),e.prependTo(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeClass(i,s.header)._addClass(i,null,s.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),void 0):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),void 0)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:o=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[s-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),t(o).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,i=this.options,s=i.heightStyle,n=this.element.parent();this.active=this._findActive(i.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),i=e.uniqueId().attr("id"),s=e.next(),n=s.uniqueId().attr("id");e.attr("aria-controls",n),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===s?(e=n.height(),this.element.siblings(":visible").each(function(){var i=t(this),s=i.css("position");"absolute"!==s&&"fixed"!==s&&(e-=i.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===s&&(e=0,this.headers.next().each(function(){var i=t(this).is(":visible");i||t(this).show(),e=Math.max(e,t(this).css("height","").height()),i||t(this).hide()}).height(e))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i,s,n=this.options,o=this.active,a=t(e.currentTarget),r=a[0]===o[0],h=r&&n.collapsible,l=h?t():a.next(),c=o.next(),u={oldHeader:o,oldPanel:c,newHeader:h?t():a,newPanel:l};e.preventDefault(),r&&!n.collapsible||this._trigger("beforeActivate",e,u)===!1||(n.active=h?!1:this.headers.index(a),this.active=r?t():a,this._toggle(u),this._removeClass(o,"ui-accordion-header-active","ui-state-active"),n.icons&&(i=o.children(".ui-accordion-header-icon"),this._removeClass(i,null,n.icons.activeHeader)._addClass(i,null,n.icons.header)),r||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),n.icons&&(s=a.children(".ui-accordion-header-icon"),this._removeClass(s,null,n.icons.header)._addClass(s,null,n.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-hidden":"true"}),s.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&s.length?s.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){var s,n,o,a=this,r=0,h=t.css("box-sizing"),l=t.length&&(!e.length||t.index()<e.index()),c=this.options.animate||{},u=l&&c.down||c,d=function(){a._toggleComplete(i)};return"number"==typeof u&&(o=u),"string"==typeof u&&(n=u),n=n||u.easing||c.easing,o=o||u.duration||c.duration,e.length?t.length?(s=t.show().outerHeight(),e.animate(this.hideProps,{duration:o,easing:n,step:function(t,e){e.now=Math.round(t)}}),t.hide().animate(this.showProps,{duration:o,easing:n,complete:d,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?"content-box"===h&&(r+=i.now):"content"!==a.options.heightStyle&&(i.now=Math.round(s-e.outerHeight()-r),r=0)}}),void 0):e.animate(this.hideProps,o,n,d):t.animate(this.showProps,o,n,d)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var i=t(e.target),s=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&s.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var i=t(e.target).closest(".ui-menu-item"),s=t(e.currentTarget);i[0]===s[0]&&(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,s))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){var i=!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]));i&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),i=e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),i.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,s,n,o,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,s=this.previousFilter||"",o=!1,n=e.keyCode>=96&&105>=e.keyCode?""+(e.keyCode-96):String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),n===s?o=!0:n=s+n,i=this._filterMenuItems(n),i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i,i.length||(n=String.fromCharCode(e.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(e,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,s,n,o,a=this,r=this.options.icons.submenu,h=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),s=h.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),s=t("<span>").data("ui-menu-submenu-caret",!0);a._addClass(s,"ui-menu-icon","ui-icon "+r),i.attr("aria-haspopup","true").prepend(s),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(s,"ui-menu","ui-widget ui-widget-content ui-front"),e=h.add(this.element),i=e.find(this.options.items),i.not(".ui-menu-item").each(function(){var e=t(this);a._isDivider(e)&&a._addClass(e,"ui-menu-divider","ui-widget-content")}),n=i.not(".ui-menu-item, .ui-menu-divider"),o=n.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,s,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.outerHeight(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())),void 0):(this.next(e),void 0)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items).first())),void 0):(this.next(e),void 0)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)},_filterMenuItems:function(e){var i=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),s=RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return s.test(t.trim(t(this).children(".ui-menu-item-wrapper").text()))})}}),t.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;
+this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,void 0;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),void 0;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),void 0):(this._searchTimeout(t),void 0)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(clearTimeout(this.searching),this.close(t),this._change(t),void 0)}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,i){var s,n;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),void 0):(n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),s=i.item.attr("aria-label")||n.value,s&&t.trim(s).length&&(this.liveRegion.children().hide(),t("<div>").text(s).appendTo(this.liveRegion)),void 0)},menuselect:function(e,i){var s=i.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=s})),!1!==this._trigger("select",e,{item:s})&&this._value(s.value),this.term=this._value(),this.close(e),this.selectedItem=s}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),s=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;(!e||e&&!i&&!s)&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var s=this;t.each(i,function(t,i){s._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<div>").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[t](e),void 0):(this.search(null,e),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("<div>").text(i).appendTo(this.liveRegion))}}),t.ui.autocomplete;var g=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,function(s,n){var o,a={};return n?"controlgroupLabel"===s?(o=e.element.find(n),o.each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),e._addClass(o,null,"ui-widget ui-widget-content ui-state-default"),i=i.concat(o.get()),void 0):(t.fn[s]&&(a=e["_"+s+"Options"]?e["_"+s+"Options"]("middle"):{classes:{}},e.element.find(n).each(function(){var n=t(this),o=n[s]("instance"),r=t.widget.extend({},a);if("button"!==s||!n.parent(".ui-spinner").length){o||(o=n[s]()[s]("instance")),o&&(r.classes=e._resolveClassesValues(r.classes,o)),n[s](r);var h=n[s]("widget");t.data(h[0],"ui-controlgroup-data",o?o:n[s]("instance")),i.push(h[0])}})),void 0):void 0}),this.childWidgets=t(t.unique(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var i=t(this),s=i.data("ui-controlgroup-data");s&&s[e]&&s[e]()})},_updateCornerClass:function(t,e){var i="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",s=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,i),this._addClass(t,null,s)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,s={classes:{}};return s.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],s},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var s={};return t.each(e,function(n){var o=i.options.classes[n]||"";o=t.trim(o.replace(g,"")),s[n]=(o+" "+e[n]).replace(/\s+/g," ")}),s},_setOption:function(t,e){return"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t?(this._callChildMethod(e?"disable":"enable"),void 0):(this.refresh(),void 0)},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,s){var n=e[s]().data("ui-controlgroup-data");if(n&&i["_"+n.widgetName+"Options"]){var o=i["_"+n.widgetName+"Options"](1===e.length?"only":s);o.classes=i._resolveClassesValues(o.classes,n),n.element[n.widgetName](o)}else i._updateCornerClass(e[s](),s)}),this._callChildMethod("refresh"))}}),t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,s=this,n=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){s.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(n.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(n.disabled=e),n},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e,i=this.element[0].name,s="input[name='"+t.ui.escapeSelector(i)+"']";return i?(e=this.form.length?t(this.form[0].elements).filter(s):t(s).filter(function(){return 0===t(this).form().length}),e.not(this.element)):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){return"label"!==t||e?(this._super(t,e),"disabled"===t?(this._toggleClass(this.label,null,"ui-state-disabled",e),this.element[0].disabled=e,void 0):(this.refresh(),void 0)):void 0},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio,t.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),t=this.element[0].disabled,null!=t&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,i){var s="iconPosition"!==e,n=s?this.options.iconPosition:i,o="top"===n||"bottom"===n;this.icon?s&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),s&&this._addClass(this.icon,null,i),this._attachIcon(n),o?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(n))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=void 0===t.showLabel?this.options.showLabel:t.showLabel,i=void 0===t.icon?this.options.icon:t.icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.blur())},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),t.uiBackCompat!==!1&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){return"text"===t?(this._super("showLabel",e),void 0):("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments),void 0)}}),t.fn.button=function(e){return function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?e.apply(this,arguments):(t.ui.checkboxradio||t.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}}(t.fn.button),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),t.ui.button,t.extend(t.ui,{datepicker:{version:"1.12.1"}});var m;t.extend(s.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return a(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var s,n,o;s=e.nodeName.toLowerCase(),n="div"===s||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),o=this._newInst(t(e),n),o.settings=t.extend({},i||{}),"input"===s?this._connectDatepicker(e,o):n&&this._inlineDatepicker(e,o)},_newInst:function(e,i){var s=e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:s,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var s=t(e);i.append=t([]),i.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var s,n,o,a=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t("<span class='"+this._appendClass+"'>"+a+"</span>"),e[r?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&e.on("focus",this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:o,alt:n,title:n}):t("<button type='button'></button>").addClass(this._triggerClass).html(o?t("<img/>").attr({src:o,alt:n,title:n}):n)),e[r?"before":"after"](i.trigger),i.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,n,o){var r,h,l,c,u,d=this._dialogInst;return d||(this.uuid+=1,r="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+r+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),d=this._dialogInst=this._newInst(this._dialogInput,!1),d.settings={},t.data(this._dialogInput[0],"datepicker",d)),a(d.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(d,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(h=document.documentElement.clientWidth,l=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+c,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),d.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",d),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty(),m===n&&(m=null))},_enableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,i,s){var n,o,r,h,l=this._getInst(e);return 2===arguments.length&&"string"==typeof i?"defaults"===i?t.extend({},t.datepicker._defaults):l?"all"===i?t.extend({},l.settings):this._get(l,i):null:(n=i||{},"string"==typeof i&&(n={},n[i]=s),l&&(this._curInst===l&&this._hideDatepicker(),o=this._getDateDatepicker(e,!0),r=this._getMinMaxDate(l,"min"),h=this._getMinMaxDate(l,"max"),a(l.settings,n),null!==r&&void 0!==n.dateFormat&&void 0===n.minDate&&(l.settings.minDate=this._formatDate(l,r)),null!==h&&void 0!==n.dateFormat&&void 0===n.maxDate&&(l.settings.maxDate=this._formatDate(l,h)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),l),this._autoSize(l),this._setDate(l,o),this._updateAlternate(l),this._updateDatepicker(l)),void 0)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,o=t.datepicker._getInst(e.target),a=!0,r=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv),n[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,n[0]),i=t.datepicker._get(o,"onSelect"),i?(s=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[s,o])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,s,n=t.datepicker._getInst(e.target);return t.datepicker._get(n,"constrainInput")?(i=t.datepicker._possibleChars(t.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||" ">s||!i||i.indexOf(s)>-1):void 0},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var s,n,o,r,h,l,c;s=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==s&&(t.datepicker._curInst.dpDiv.stop(!0,!0),s&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),n=t.datepicker._get(s,"beforeShow"),o=n?n.apply(e,[e,s]):{},o!==!1&&(a(s.settings,o),s.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(s),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),r=!1,t(e).parents().each(function(){return r|="fixed"===t(this).css("position"),!r}),h={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(s),h=t.datepicker._checkOffset(s,h,r),s.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":r?"fixed":"absolute",display:"none",left:h.left+"px",top:h.top+"px"}),s.inline||(l=t.datepicker._get(s,"showAnim"),c=t.datepicker._get(s,"duration"),s.dpDiv.css("z-index",i(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?s.dpDiv.show(l,t.datepicker._get(s,"showOptions"),c):s.dpDiv[l||"show"](l?c:null),t.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),t.datepicker._curInst=s))
+}},_updateDatepicker:function(e){this.maxRows=4,m=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var i,s=this._getNumberOfMonths(e),n=s[1],a=17,r=e.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&o.apply(r.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-a:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+o>l&&l>o?Math.abs(o+r):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,o,a=this._curInst;!a||e&&a!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),s=this._get(a,"duration"),n=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,"showOptions"),s,n):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,o=this._get(a,"onClose"),o&&o.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,i+("M"===s?this._get(o,"showCurrentAtPos"):0),s),this._updateDatepicker(o))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),o=this._getInst(n[0]);o["selected"+("M"===s?"Month":"Year")]=o["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(e,i,s,n){var o,a=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||(o=this._getInst(a[0]),o.selectedDay=o.currentDay=t("a",n).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=s,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),o=this._getInst(n[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),s=this._get(o,"onSelect"),s?s.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(o).val(n))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,s){if(null==e||null==i)throw"Invalid arguments";if(i="object"==typeof i?""+i:i+"",""===i)return null;var n,o,a,r,h=0,l=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),u=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,d=(s?s.dayNames:null)||this._defaults.dayNames,p=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,_=-1,v=-1,b=!1,y=function(t){var i=e.length>n+1&&e.charAt(n+1)===t;return i&&n++,i},w=function(t){var e=y(t),s="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n="y"===t?s:1,o=RegExp("^\\d{"+n+","+s+"}"),a=i.substring(h).match(o);if(!a)throw"Missing number at position "+h;return h+=a[0].length,parseInt(a[0],10)},k=function(e,s,n){var o=-1,a=t.map(y(e)?n:s,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(a,function(t,e){var s=e[1];return i.substr(h,s.length).toLowerCase()===s.toLowerCase()?(o=e[0],h+=s.length,!1):void 0}),-1!==o)return o+1;throw"Unknown name at position "+h},x=function(){if(i.charAt(h)!==e.charAt(n))throw"Unexpected literal at position "+h;h++};for(n=0;e.length>n;n++)if(b)"'"!==e.charAt(n)||y("'")?x():b=!1;else switch(e.charAt(n)){case"d":_=w("d");break;case"D":k("D",u,d);break;case"o":v=w("o");break;case"m":m=w("m");break;case"M":m=k("M",p,f);break;case"y":g=w("y");break;case"@":r=new Date(w("@")),g=r.getFullYear(),m=r.getMonth()+1,_=r.getDate();break;case"!":r=new Date((w("!")-this._ticksTo1970)/1e4),g=r.getFullYear(),m=r.getMonth()+1,_=r.getDate();break;case"'":y("'")?x():b=!0;break;default:x()}if(i.length>h&&(a=i.substr(h),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c>=g?0:-100)),v>-1)for(m=1,_=v;;){if(o=this._getDaysInMonth(g,m-1),o>=_)break;m++,_-=o}if(r=this._daylightSavingAdjust(new Date(g,m-1,_)),r.getFullYear()!==g||r.getMonth()+1!==m||r.getDate()!==_)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},l=function(t,e,i){var s=""+e;if(h(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return h(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||h("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=l("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,o);break;case"o":u+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=l("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),a,r);break;case"y":u+=h("y")?e.getFullYear():(10>e.getFullYear()%100?"0":"")+e.getFullYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(r){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},o=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),a=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}l=h.exec(i)}return new Date(o,a,r)},a=null==i||""===i?s:"string"==typeof i?o(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return a=a&&"Invalid Date"==""+a?s:a,a&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(s,-i,"M")},next:function(){t.datepicker._adjustDate(s,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(s)},selectDay:function(){return t.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,a,r,h,l,c,u,d,p,f,g,m,_,v,b,y,w,k,x,C,D,I,T,P,M,S,H,z,O,A,N,W,E,F,L,R=new Date,B=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),Y=this._get(t,"isRTL"),j=this._get(t,"showButtonPanel"),q=this._get(t,"hideIfNoPrevNext"),K=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),V=this._get(t,"showCurrentAtPos"),$=this._get(t,"stepMonths"),X=1!==U[0]||1!==U[1],G=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-V,te=t.drawYear;if(0>Z&&(Z+=12,te--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=Q&&Q>e?Q:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-$,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":q?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",n=this._get(t,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+$,1)),this._getFormatConfig(t)):n,o=this._canAdjustMonth(t,1,te,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>":q?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?G:B,a=K?this.formatDate(a,r,this._getFormatConfig(t)):a,h=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",l=j?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?h:"")+(this._isInRange(t,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(Y?"":h)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),_=this._get(t,"showOtherMonths"),v=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;U[0]>k;k++){for(x="",this.maxRows=4,C=0;U[1]>C;C++){if(D=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),I=" ui-corner-all",T="",X){if(T+="<div class='ui-datepicker-group",U[1]>1)switch(C){case 0:T+=" ui-datepicker-group-first",I=" ui-corner-"+(Y?"right":"left");break;case U[1]-1:T+=" ui-datepicker-group-last",I=" ui-corner-"+(Y?"left":"right");break;default:T+=" ui-datepicker-group-middle",I=""}T+="'>"}for(T+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+I+"'>"+(/all|left/.test(I)&&0===k?Y?o:s:"")+(/all|right/.test(I)&&0===k?Y?s:o:"")+this._generateMonthYearHeader(t,Z,te,Q,J,k>0||C>0,f,g)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",P=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;7>w;w++)M=(w+c)%7,P+="<th scope='col'"+((w+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+d[M]+"'>"+p[M]+"</span></th>";for(T+=P+"</tr></thead><tbody>",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),H=(this._getFirstDayOfMonth(te,Z)-c+7)%7,z=Math.ceil((H+S)/7),O=X?this.maxRows>z?this.maxRows:z:z,this.maxRows=O,A=this._daylightSavingAdjust(new Date(te,Z,1-H)),N=0;O>N;N++){for(T+="<tr>",W=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(A)+"</td>":"",w=0;7>w;w++)E=m?m.apply(t.input?t.input[0]:null,[A]):[!0,""],F=A.getMonth()!==Z,L=F&&!v||!E[0]||Q&&Q>A||J&&A>J,W+="<td class='"+((w+c+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(A.getTime()===D.getTime()&&Z===t.selectedMonth&&t._keyEvent||b.getTime()===A.getTime()&&b.getTime()===D.getTime()?" "+this._dayOverClass:"")+(L?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!_?"":" "+E[1]+(A.getTime()===G.getTime()?" "+this._currentClass:"")+(A.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(F&&!_||!E[2]?"":" title='"+E[2].replace(/'/g,"&#39;")+"'")+(L?"":" data-handler='selectDay' data-event='click' data-month='"+A.getMonth()+"' data-year='"+A.getFullYear()+"'")+">"+(F&&!_?"&#xa0;":L?"<span class='ui-state-default'>"+A.getDate()+"</span>":"<a class='ui-state-default"+(A.getTime()===B.getTime()?" ui-state-highlight":"")+(A.getTime()===G.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+"' href='#'>"+A.getDate()+"</a>")+"</td>",A.setDate(A.getDate()+1),A=this._daylightSavingAdjust(A);T+=W+"</tr>"}Z++,Z>11&&(Z=0,te++),T+="</tbody></table>"+(X?"</div>"+(U[0]>0&&C===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),x+=T}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g,m=this._get(t,"changeMonth"),_=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",y="";if(o||!m)y+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;12>c;c++)(!h||c>=s.getMonth())&&(!l||n.getMonth()>=c)&&(y+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+r[c]+"</option>");y+="</select>"}if(v||(b+=y+(!o&&m&&_?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",o||!_)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";g>=f;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),v&&(b+=(!o&&m&&_?"":"&#xa0;")+y),b+="</div>"},_adjustInstDate:function(t,e,i){var s=t.selectedYear+("Y"===i?e:0),n=t.selectedMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new s,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1",t.datepicker,t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var _=!1;t(document).on("mouseup",function(){_=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!_){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,n="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),_=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,_=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")},t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void 0):(this._removeHandleClassName(),this._mouseDestroy(),void 0)},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(this._blurActiveElement(e),this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]),s=t(e.target);s.closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper),n=s?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}
+},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options,o=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):"document"===n.containment?(this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):n.containment.constructor===Array?(this.containment=n.containment,void 0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i),void 0):(this.containment=null,void 0)},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s,n,o,a=this.options,r=this._isRootNode(this.scrollParent[0]),h=t.pageX,l=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(h=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(l=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(h=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(l=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,h=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(h=this.originalPageX),"x"===a.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,s){var n=t.extend({},i,{item:s.element});s.sortables=[],t(s.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,n))})},stop:function(e,i,s){var n=t.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,t.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(e,i,s){t.each(s.sortables,function(){var n=!1,o=this;o.positionAbs=s.positionAbs,o.helperProportions=s.helperProportions,o.offset.click=s.offset.click,o._intersectsWith(o.containerCache)&&(n=!0,t.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&t.contains(o.element[0],this.element[0])&&(n=!1),n})),n?(o.isOver||(o.isOver=1,s._parent=i.helper.parent(),o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},e.target=o.currentItem[0],o._mouseCapture(e,!0),o._mouseStart(e,!0,!0),o.offset.click.top=s.offset.click.top,o.offset.click.left=s.offset.click.left,o.offset.parent.left-=s.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=s.offset.parent.top-o.offset.parent.top,s._trigger("toSortable",e),s.dropped=o.element,t.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,o.fromOutside=s),o.currentItem&&(o._mouseDrag(e),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",e,o._uiHash(o)),o._mouseStop(e,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(e),i.position=s._generatePosition(e,!0),s._trigger("fromSortable",e),s.dropped=!1,t.each(s.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,s){var n=t("body"),o=s.options;n.css("cursor")&&(o._cursor=n.css("cursor")),n.css("cursor",o.cursor)},stop:function(e,i,s){var n=s.options;n._cursor&&t("body").css("cursor",n._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("opacity")&&(o._opacity=n.css("opacity")),n.css("opacity",o.opacity)},stop:function(e,i,s){var n=s.options;n._opacity&&t(i.helper).css("opacity",n._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,s){var n=s.options,o=!1,a=s.scrollParentNotHidden[0],r=s.document[0];a!==r&&"HTML"!==a.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+a.offsetHeight-e.pageY<n.scrollSensitivity?a.scrollTop=o=a.scrollTop+n.scrollSpeed:e.pageY-s.overflowOffset.top<n.scrollSensitivity&&(a.scrollTop=o=a.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(s.overflowOffset.left+a.offsetWidth-e.pageX<n.scrollSensitivity?a.scrollLeft=o=a.scrollLeft+n.scrollSpeed:e.pageX-s.overflowOffset.left<n.scrollSensitivity&&(a.scrollLeft=o=a.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-t(r).scrollTop()<n.scrollSensitivity?o=t(r).scrollTop(t(r).scrollTop()-n.scrollSpeed):t(window).height()-(e.pageY-t(r).scrollTop())<n.scrollSensitivity&&(o=t(r).scrollTop(t(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-t(r).scrollLeft()<n.scrollSensitivity?o=t(r).scrollLeft(t(r).scrollLeft()-n.scrollSpeed):t(window).width()-(e.pageX-t(r).scrollLeft())<n.scrollSensitivity&&(o=t(r).scrollLeft(t(r).scrollLeft()+n.scrollSpeed)))),o!==!1&&t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(s,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,s){var n=s.options;s.snapElements=[],t(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=t(this),i=e.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})})},drag:function(e,i,s){var n,o,a,r,h,l,c,u,d,p,f=s.options,g=f.snapTolerance,m=i.offset.left,_=m+s.helperProportions.width,v=i.offset.top,b=v+s.helperProportions.height;for(d=s.snapElements.length-1;d>=0;d--)h=s.snapElements[d].left-s.margins.left,l=h+s.snapElements[d].width,c=s.snapElements[d].top-s.margins.top,u=c+s.snapElements[d].height,h-g>_||m>l+g||c-g>b||v>u+g||!t.contains(s.snapElements[d].item.ownerDocument,s.snapElements[d].item)?(s.snapElements[d].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(n=g>=Math.abs(c-b),o=g>=Math.abs(u-v),a=g>=Math.abs(h-_),r=g>=Math.abs(l-m),n&&(i.position.top=s._convertPositionTo("relative",{top:c-s.helperProportions.height,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h-s.helperProportions.width}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l}).left)),p=n||o||a||r,"outer"!==f.snapMode&&(n=g>=Math.abs(c-v),o=g>=Math.abs(u-b),a=g>=Math.abs(h-m),r=g>=Math.abs(l-_),n&&(i.position.top=s._convertPositionTo("relative",{top:c,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u-s.helperProportions.height,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left)),!s.snapElements[d].snapping&&(n||o||a||r||p)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=n||o||a||r||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,s){var n,o=s.options,a=t.makeArray(t(o.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});a.length&&(n=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each(function(e){t(this).css("zIndex",n+e)}),this.css("zIndex",n+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("zIndex")&&(o._zIndex=n.css("zIndex")),n.css("zIndex",o.zIndex)},stop:function(e,i,s){var n=s.options;n._zIndex&&t(i.helper).css("zIndex",n._zIndex)}}),t.ui.draggable,t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("<div>"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,n=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,g=s.maxWidth&&p>s.maxWidth,m=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),g&&(p-=l),m&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable,t.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog
+},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,i){var s=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),o=Math.max.apply(null,n);return o>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",o+1),s=!0),s&&!i&&this._trigger("focus",e),s},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),void 0):(this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"),void 0)},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_keepFocus:function(e){function i(){var e=t.ui.safeActiveElement(this.document[0]),i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),void 0;if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){n.trigger("focus")}),e.preventDefault()):(this._delay(function(){s.trigger("focus")}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this._removeClass(this.uiDialog,"ui-dialog-buttons"),void 0):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,o={icon:s.icon,iconPosition:s.iconPosition,showLabel:s.showLabel,icons:s.icons,text:s.text},delete s.click,delete s.icon,delete s.iconPosition,delete s.showLabel,delete s.icons,"boolean"==typeof s.text&&delete s.text,t("<button></button>",s).button(o).appendTo(e.uiButtonSet).on("click",function(){n.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),void 0)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){i._addClass(t(this),"ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){var a=o.offset.left-i.document.scrollLeft(),r=o.offset.top-i.document.scrollTop();s.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" "+"top"+(r>=0?"+":"")+r,of:i.window},i._removeClass(t(this),"ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){i._addClass(t(this),"ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){var a=i.uiDialog.offset(),r=a.left-i.document.scrollLeft(),h=a.top-i.document.scrollTop();s.height=i.uiDialog.height(),s.width=i.uiDialog.width(),s.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" "+"top"+(h>=0?"+":"")+h,of:i.window},i._removeClass(t(this),"ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);-1!==i&&e.splice(i,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var i=this,s=!1,n={};t.each(e,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(s=!0),t in i.resizableRelatedOptions&&(n[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(e,i){var s,n,o=this.uiDialog;"disabled"!==e&&(this._super(e,i),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&(s=o.is(":data(ui-draggable)"),s&&!i&&o.draggable("destroy"),!s&&i&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&(n=o.is(":data(ui-resizable)"),n&&!i&&o.resizable("destroy"),n&&"string"==typeof i&&o.resizable("option","handles",i),n||i===!1||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=!0;this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),t.ui.dialog,t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,s=i.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(s)?s:function(t){return t.is(s)},this.proportions=function(){return arguments.length?(e=arguments[0],void 0):e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(i.scope),i.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;t.length>e;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if("accept"===e)this.accept=t.isFunction(i)?i:function(t){return t.is(i)};else if("scope"===e){var s=t.ui.ddmanager.droppables[this.options.scope];this._splice(s),this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");return i.options.greedy&&!i.options.disabled&&i.options.scope===s.options.scope&&i.accept.call(i.element[0],s.currentItem||s.element)&&v(s,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,e)?(n=!0,!1):void 0}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var v=t.ui.intersect=function(){function t(t,e,i){return t>=e&&e+i>t}return function(e,i,s,n){if(!i.offset)return!1;var o=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,r=o+e.helperProportions.width,h=a+e.helperProportions.height,l=i.offset.left,c=i.offset.top,u=l+i.proportions().width,d=c+i.proportions().height;switch(s){case"fit":return o>=l&&u>=r&&a>=c&&d>=h;case"intersect":return o+e.helperProportions.width/2>l&&u>r-e.helperProportions.width/2&&a+e.helperProportions.height/2>c&&d>h-e.helperProportions.height/2;case"pointer":return t(n.pageY,c,i.proportions().height)&&t(n.pageX,l,i.proportions().width);case"touch":return(a>=c&&d>=a||h>=c&&d>=h||c>a&&h>d)&&(o>=l&&u>=o||r>=l&&u>=r||l>o&&r>u);default:return!1}}}();t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions().height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions({width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight}))}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&v(e,this,this.options.tolerance,i)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=v(e,this,this.options.tolerance,i),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===n}),o.length&&(s=t(o[0]).droppable("instance"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}},t.uiBackCompat!==!1&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),t.ui.droppable,t.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),void 0)},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(i.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),t.widget("ui.selectable",t.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e.elementPos=t(e.element[0]).offset(),e.selectees=t(e.options.filter,e.element[0]),e._addClass(e.selectees,"ui-selectee"),e.selectees.each(function(){var i=t(this),s=i.offset(),n={left:s.left-e.elementPos.left,top:s.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:i,left:n.left,top:n.top,right:n.left+i.outerWidth(),bottom:n.top+i.outerHeight(),startselected:!1,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(i._removeClass(s.$element,"ui-selected"),s.selected=!1,i._addClass(s.$element,"ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),i._removeClass(n.$element,s?"ui-unselecting":"ui-selected")._addClass(n.$element,s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):void 0}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1,c={};i&&i.element!==s.element[0]&&(c.left=i.left+s.elementPos.left,c.right=i.right+s.elementPos.left,c.top=i.top+s.elementPos.top,c.bottom=i.bottom+s.elementPos.top,"touch"===n.tolerance?l=!(c.left>r||o>c.right||c.top>h||a>c.bottom):"fit"===n.tolerance&&(l=c.left>o&&r>c.right&&c.top>a&&h>c.bottom),l?(i.selected&&(s._removeClass(i.$element,"ui-selected"),i.selected=!1),i.unselecting&&(s._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1),i.selecting||(s._addClass(i.$element,"ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(s._removeClass(i.$element,"ui-selecting"),i.selecting=!1,s._addClass(i.$element,"ui-selected"),i.selected=!0):(s._removeClass(i.$element,"ui-selecting"),i.selecting=!1,i.startselected&&(s._addClass(i.$element,"ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(s._removeClass(i.$element,"ui-selected"),i.selected=!1,s._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");i._removeClass(s.$element,"ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");i._removeClass(s.$element,"ui-selecting")._addClass(s.$element,"ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var e,i=this,s=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=t("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(s).appendTo(this.button),this.options.width!==!1&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){i._rendered||i._refreshMenu()})},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,i){t.preventDefault(),e._setSelection(),e._select(i.item.data("ui-selectmenu-item"),t)},focus:function(t,i){var s=i.item.data("ui-selectmenu-item");null!=e.focusIndex&&s.index!==e.focusIndex&&(e._trigger("focus",t,{item:s}),e.isOpen||e._select(s,t)),e.focusIndex=s.index,e.button.attr("aria-activedescendant",e.menuItems.eq(s.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var i=t("<span>");return this._setText(i,e.label),this._addClass(i,"ui-selectmenu-text"),i},_renderMenu:function(e,i){var s=this,n="";t.each(i,function(i,o){var a;o.optgroup!==n&&(a=t("<li>",{text:o.optgroup}),s._addClass(a,"ui-selectmenu-optgroup","ui-menu-divider"+(o.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),a.appendTo(e),n=o.optgroup),s._renderItemData(e,o)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,i){var s=t("<li>"),n=t("<div>",{title:i.element.attr("title")});return i.disabled&&this._addClass(s,null,"ui-state-disabled"),this._setText(n,i.label),s.append(n).appendTo(e)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var i,s,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),s="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](n).eq(-1):i[t+"All"](n).eq(0),s.length&&this.menuInstance.focus(e,s)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?(t=window.getSelection(),t.removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection(),t.rangeCount&&(this.range=t.getRangeAt(0))):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(e){var i=!0;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),i=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),i=!1}i&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var i=this.button.find("span.ui-icon");this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;return t===!1?(this.button.css("width",""),void 0):(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t),void 0)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var i=this,s=[];e.each(function(e,n){s.push(i._parseOption(t(n),e))}),this.items=s},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1
+},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle"),o="<span tabindex='0'></span>",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),("min"===e.range||"max"===e.range)&&this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,o,a,r,h,l,c=this,u=this.options;return u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_uiHash:function(t,e,i){var s={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(s.value=void 0!==e?e:this.values(t),s.values=i||this.values()),s},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var s,n,o=this.value(),a=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&this.options.range===!0&&(i=0===e?Math.min(n,i):Math.max(n,i)),a[e]=i),i!==o&&(s=this._trigger("slide",t,this._uiHash(e,i,a)),s!==!1&&(this._hasMultipleValues()?this.values(e,i):this.value(i)))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),void 0):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),void 0;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,i),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(i),this.handles.css("horizontal"===i?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=n-1;s>=0;s--)this._change(null,s);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step,s=Math.round((t-e)/i)*i;t=s+e,t>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this._hasMultipleValues()?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},r.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},r.animate))},_handleEvents:{keydown:function(e){var i,s,n,o,a=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),i=this._start(e,a),i===!1))return}switch(o=this.options.step,s=n=this._hasMultipleValues()?this.values(a):this.value(),e.keyCode){case t.ui.keyCode.HOME:n=this._valueMin();break;case t.ui.keyCode.END:n=this._valueMax();break;case t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(s+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(s-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(s===this._valueMax())return;n=this._trimAlignValue(s+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(s===this._valueMin())return;n=this._trimAlignValue(s-o)}this._slide(e,a,n)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&e+i>t},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):void 0}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-this.document.scrollTop()<a.scrollSensitivity?r=this.document.scrollTop(this.document.scrollTop()-a.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<a.scrollSensitivity&&(r=this.document.scrollTop(this.document.scrollTop()+a.scrollSpeed)),e.pageX-this.document.scrollLeft()<a.scrollSensitivity?r=this.document.scrollLeft(this.document.scrollLeft()-a.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<a.scrollSensitivity&&(r=this.document.scrollLeft(this.document.scrollLeft()+a.scrollSpeed))),r!==!1&&t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||s+l>r&&h>s+l,d="y"===this.options.axis||e+c>o&&a>e+c,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var e,i,s="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),n="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),o=s&&n;return o?(e=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1)):!1},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),s=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection();return this.floating&&n?"right"===n&&i||"left"===n&&!i:s&&("down"===s&&e||"up"===s&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function i(){r.push(this)}var s,n,o,a,r=[],h=[],l=this._connectWith();if(l&&e)for(s=l.length-1;s>=0;s--)for(o=t(l[s],this.document[0]),n=o.length-1;n>=0;n--)a=t.data(o[n],this.widgetFullName),a&&a!==this&&!a.options.disabled&&h.push([t.isFunction(a.options.items)?a.options.items.call(a.element):t(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);for(h.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),s=h.length-1;s>=0;s--)h[s][0].each(i);return t(r)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i],this.document[0]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.floating=this.items.length?"x"===this.options.axis||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t("<"+s+">",e.document[0]);return e._addClass(n,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(n,"ui-sortable-helper"),"tbody"===s?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(n)):"tr"===s?e._createTrPlaceholder(e.currentItem,n):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var s=this;e.children().each(function(){t("<td>&#160;</td>",s.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(e){var i,s,n,o,a,r,h,l,c,u,d=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(n=1e4,o=null,c=d.floating||this._isFloating(this.currentItem),a=c?"left":"top",r=c?"width":"height",u=c?"pageX":"pageY",s=this.items.length-1;s>=0;s--)t.contains(this.containers[p].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(h=this.items[s].item.offset()[a],l=!1,e[u]-h>this.items[s][r]/2&&(l=!0),n>Math.abs(e[u]-h)&&(n=Math.abs(e[u]-h),o=this.items[s],this.direction=l?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1),void 0;o?this._rearrange(e,o,null,!0):this._rearrange(e,null,this.containers[p].element,!0),this._trigger("change",e,this._uiHash()),this.containers[p]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===n.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===n.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;
+this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){function i(t,e,i){return function(s){i._trigger(t,s,e._uiHash(e))}}this.reverting=!1;var s,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)("auto"===this._storedCSS[s]||"static"===this._storedCSS[s])&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),s=this.containers.length-1;s>=0;s--)e||n.push(i("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(n.push(i("out",this,this.containers[s])),this.containers[s].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(s=0;n.length>s;s++)n[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}}),t.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);null!=n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var e=this.element[0]===t.ui.safeActiveElement(this.document[0]);e||(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i,s,n;return"culture"===t||"numberFormat"===t?(i=this._parse(this.element.val()),this.options[t]=e,this.element.val(this._format(i)),void 0):(("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(s=this.buttons.first().find(".ui-icon"),this._removeClass(s,null,this.options.icons.up),this._addClass(s,null,e.up),n=this.buttons.last().find(".ui-icon"),this._removeClass(n,null,this.options.icons.down),this._addClass(n,null,e.down)),this._super(t,e),void 0)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:r(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null===t?!1:t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:r(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:r(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:r(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:r(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(r(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),t.uiBackCompat!==!1&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),t.ui.spinner,t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var t=/#.*$/;return function(e){var i,s;i=e.href.replace(t,""),s=location.href.replace(t,"");try{i=decodeURIComponent(i)}catch(n){}try{s=decodeURIComponent(s)}catch(n){}return e.hash.length>1&&i===s}}(),_create:function(){var e=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,s=location.hash.substring(1);return null===e&&(s&&this.tabs.each(function(i,n){return t(n).attr("aria-controls")===s?(e=i,!1):void 0}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===e||-1===e)&&(e=this.tabs.length?0:!1)),e!==!1&&(e=this.tabs.index(this.tabs.eq(e)),-1===e&&(e=i?!1:0)),!i&&e===!1&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),s=this.tabs.index(i),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:s++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:n=!1,s--;break;case t.ui.keyCode.END:s=this.anchors.length-1;break;case t.ui.keyCode.HOME:s=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),this._activate(s),void 0;case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),this._activate(s===this.options.active?!1:s),void 0;default:return}e.preventDefault(),clearTimeout(this.activating),s=this._focusNextTab(s,n),e.ctrlKey||e.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(s).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",s)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){return"active"===t?(this._activate(e),void 0):(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e),void 0)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,i=this.tabs,s=this.anchors,n=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(i,s){var n,o,a,r=t(s).uniqueId().attr("id"),h=t(s).closest("li"),l=h.attr("aria-controls");e._isLocal(s)?(n=s.hash,a=n.substring(1),o=e.element.find(e._sanitizeSelector(n))):(a=h.attr("aria-controls")||t({}).uniqueId()[0].id,n="#"+a,o=e.element.find(n),o.length||(o=e._createPanel(a),o.insertAfter(e.panels[i-1]||e.tablist)),o.attr("aria-live","polite")),o.length&&(e.panels=e.panels.add(o)),l&&h.data("ui-tabs-aria-controls",l),h.attr({"aria-controls":a,"aria-labelledby":r}),o.attr("aria-labelledby",r)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(s.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var i,s,n;for(t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),n=0;s=this.tabs[n];n++)i=t(s),e===!0||-1!==t.inArray(n,e)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,e===!0)},_setupEvents:function(e){var i={};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){o._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){o._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),n()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r.hide(),n()),r.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var i=this.options.disabled;i!==!1&&(void 0===e?i=!1:(e=this._getIndex(e),i=t.isArray(i)?t.map(i,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,i){return i!==e?i:null})),this._setOptionDisabled(i))},disable:function(e){var i=this.options.disabled;if(i!==!0){if(void 0===e)i=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,i))return;i=t.isArray(i)?t.merge([e],i).sort():[e]}this._setOptionDisabled(i)}},load:function(e,i){e=this._getIndex(e);var s=this,n=this.tabs.eq(e),o=n.find(".ui-tabs-anchor"),a=this._getPanelForTab(n),r={tab:n,panel:a},h=function(t,e){"abort"===e&&s.panels.stop(!1,!0),s._removeClass(n,"ui-tabs-loading"),a.removeAttr("aria-busy"),t===s.xhr&&delete s.xhr};this._isLocal(o[0])||(this.xhr=t.ajax(this._ajaxSettings(o,i,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(n,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(t,e,n){setTimeout(function(){a.html(t),s._trigger("load",i,r),h(n,e)},1)}).fail(function(t,e){setTimeout(function(){h(t,e)},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),t.uiBackCompat!==!1&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs,t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var s=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s.element[0],e.close(n,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);return e.is("[title]")?e.data("ui-tooltip-title",e.attr("title")).removeAttr("title"):void 0}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._registerCloseHandlers(e,s),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s||s.nodeType||s.jquery?this._open(e,t,s):(i=s.call(t[0],function(i){n._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=o),this._open(e,t,i))})}),i&&this._open(e,t,i),void 0)},_open:function(e,i,s){function n(t){l.of=t,a.is(":hidden")||a.position(l)}var o,a,r,h,l=t.extend({},this.options.position);if(s){if(o=this._find(i))return o.tooltip.find(".ui-tooltip-content").html(s),void 0;i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),o=this._tooltip(i),a=o.tooltip,this._addDescribedBy(i,a.attr("id")),a.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),h=t("<div>").html(a.find(".ui-tooltip-content").html()),h.removeAttr("name").find("[name]").removeAttr("name"),h.removeAttr("id").find("[id]").removeAttr("id"),h.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n(e)):a.position(t.extend({of:i},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){a.is(":visible")&&(n(l.of),clearInterval(r))},t.fx.interval)),this._trigger("open",e,{tooltip:a})}},_registerCloseHandlers:function(e,i){var s={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var s=t.Event(e);s.currentTarget=i[0],this.close(s,!0)}}};i[0]!==this.element[0]&&(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),e&&"mouseover"!==e.type||(s.mouseleave="close"),e&&"focusin"!==e.type||(s.focusout="close"),this._on(!0,i,s)},close:function(e){var i,s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);return o?(i=o.tooltip,o.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),o.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:i}),o.hiding||(o.closing=!1)),void 0):(n.removeData("ui-tooltip-open"),void 0)},_tooltip:function(e){var i=t("<div>").attr("role","tooltip"),s=t("<div>").appendTo(i),n=i.uniqueId().attr("id");return this._addClass(s,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur"),o=s.element;n.target=n.currentTarget=o[0],e.close(n,!0),t("#"+i).remove(),o.data("ui-tooltip-title")&&(o.attr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),t.uiBackCompat!==!1&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),t.ui.tooltip});
diff --git a/green_deal/static/green_deal/vendor/js/jquery.mousewheel.min.js b/green_deal/static/green_deal/vendor/js/jquery.mousewheel.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..df494ab6d00e46690a0ec0a54c1c360cc17b50cd
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/jquery.mousewheel.min.js
@@ -0,0 +1,8 @@
+/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh)
+ * Licensed under the MIT License (LICENSE.txt).
+ *
+ * Version: 3.1.12
+ *
+ * Requires: jQuery 1.2.2+
+ */
+!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});
diff --git a/green_deal/static/green_deal/vendor/js/lg-fullscreen.min.js b/green_deal/static/green_deal/vendor/js/lg-fullscreen.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..a7e201c62e6c6bd7cbadfa850cf7c87a0de89c43
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/lg-fullscreen.min.js
@@ -0,0 +1,4 @@
+/*! lg-fullscreen - v1.0.1 - 2016-09-30
+* http://sachinchoolur.github.io/lightGallery
+* Copyright (c) 2016 Sachin N; Licensed GPLv3 */
+!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){!function(){"use strict";var b={fullScreen:!0},c=function(c){return this.core=a(c).data("lightGallery"),this.$el=a(c),this.core.s=a.extend({},b,this.core.s),this.init(),this};c.prototype.init=function(){var a="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;a='<span class="lg-fullscreen lg-icon"></span>',this.core.$outer.find(".lg-toolbar").append(a),this.fullScreen()}},c.prototype.requestFullscreen=function(){var a=document.documentElement;a.requestFullscreen?a.requestFullscreen():a.msRequestFullscreen?a.msRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen()},c.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},c.prototype.fullScreen=function(){var b=this;a(document).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",function(){b.core.$outer.toggleClass("lg-fullscreen-on")}),this.core.$outer.find(".lg-fullscreen").on("click.lg",function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?b.exitFullscreen():b.requestFullscreen()})},c.prototype.destroy=function(){this.exitFullscreen(),a(document).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg")},a.fn.lightGallery.modules.fullscreen=c}()});
diff --git a/green_deal/static/green_deal/vendor/js/lg-thumbnail.min.js b/green_deal/static/green_deal/vendor/js/lg-thumbnail.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..1a6a8cdac6fda13a6e3140e9ab6735387d8406a8
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/lg-thumbnail.min.js
@@ -0,0 +1,4 @@
+/*! lg-thumbnail - v1.1.0 - 2017-08-08
+* http://sachinchoolur.github.io/lightGallery
+* Copyright (c) 2017 Sachin N; Licensed GPLv3 */
+!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){!function(){"use strict";var b={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},c=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},b,this.core.s),this.$el=a(c),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.core.s.animateThumb&&(this.core.s.thumbHeight="100%"),this.left=0,this.init(),this};c.prototype.init=function(){var a=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout(function(){a.core.$outer.addClass("lg-thumb-open")},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb&&this.core.doCss()?(this.core.s.enableThumbDrag&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},c.prototype.build=function(){function b(a,b,c){var g,h=d.core.isVideo(a,c)||{},i="";h.youtube||h.vimeo||h.dailymotion?h.youtube?g=d.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+h.youtube[1]+"/"+d.core.s.youtubeThumbSize+".jpg":b:h.vimeo?d.core.s.loadVimeoThumbnail?(g="//i.vimeocdn.com/video/error_"+f+".jpg",i=h.vimeo[1]):g=b:h.dailymotion&&(g=d.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+h.dailymotion[1]:b):g=b,e+='<div data-vimeo-id="'+i+'" class="lg-thumb-item" style="width:'+d.core.s.thumbWidth+"px; height: "+d.core.s.thumbHeight+"; margin-right: "+d.core.s.thumbMargin+'px"><img src="'+g+'" /></div>',i=""}var c,d=this,e="",f="",g='<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>';switch(this.core.s.vimeoThumbSize){case"thumbnail_large":f="640";break;case"thumbnail_medium":f="200x150";break;case"thumbnail_small":f="100x75"}if(d.core.$outer.addClass("lg-has-thumb"),d.core.$outer.find(".lg").append(g),d.$thumbOuter=d.core.$outer.find(".lg-thumb-outer"),d.thumbOuterWidth=d.$thumbOuter.width(),d.core.s.animateThumb&&d.core.$outer.find(".lg-thumb").css({width:d.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&d.$thumbOuter.css("height",d.core.s.thumbContHeight+"px"),d.core.s.dynamic)for(var h=0;h<d.core.s.dynamicEl.length;h++)b(d.core.s.dynamicEl[h].src,d.core.s.dynamicEl[h].thumb,h);else d.core.$items.each(function(c){d.core.s.exThumbImage?b(a(this).attr("href")||a(this).attr("data-src"),a(this).attr(d.core.s.exThumbImage),c):b(a(this).attr("href")||a(this).attr("data-src"),a(this).find("img").attr("src"),c)});d.core.$outer.find(".lg-thumb").html(e),c=d.core.$outer.find(".lg-thumb-item"),c.each(function(){var b=a(this),c=b.attr("data-vimeo-id");c&&a.getJSON("//www.vimeo.com/api/v2/video/"+c+".json?callback=?",{format:"json"},function(a){b.find("img").attr("src",a[0][d.core.s.vimeoThumbSize])})}),c.eq(d.core.index).addClass("active"),d.core.$el.on("onBeforeSlide.lg.tm",function(){c.removeClass("active"),c.eq(d.core.index).addClass("active")}),c.on("click.lg touchend.lg",function(){var b=a(this);setTimeout(function(){(d.thumbClickable&&!d.core.lgBusy||!d.core.doCss())&&(d.core.index=b.index(),d.core.slide(d.core.index,!1,!0,!1))},50)}),d.core.$el.on("onBeforeSlide.lg.tm",function(){d.animateThumb(d.core.index)}),a(window).on("resize.lg.thumb orientationchange.lg.thumb",function(){setTimeout(function(){d.animateThumb(d.core.index),d.thumbOuterWidth=d.$thumbOuter.width()},200)})},c.prototype.setTranslate=function(a){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+a+"px, 0px, 0px)"})},c.prototype.animateThumb=function(a){var b=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){var c;switch(this.core.s.currentPagerPosition){case"left":c=0;break;case"middle":c=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case"right":c=this.thumbOuterWidth-this.core.s.thumbWidth}this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*a-1-c,this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(b.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||b.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||b.css("left",-this.left+"px"),this.setTranslate(this.left)}},c.prototype.enableThumbDrag=function(){var b=this,c=0,d=0,e=!1,f=!1,g=0;b.$thumbOuter.addClass("lg-grab"),b.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(a){b.thumbTotalWidth>b.thumbOuterWidth&&(a.preventDefault(),c=a.pageX,e=!0,b.core.$outer.scrollLeft+=1,b.core.$outer.scrollLeft-=1,b.thumbClickable=!1,b.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))}),a(window).on("mousemove.lg.thumb",function(a){e&&(g=b.left,f=!0,d=a.pageX,b.$thumbOuter.addClass("lg-dragging"),g-=d-c,g>b.thumbTotalWidth-b.thumbOuterWidth&&(g=b.thumbTotalWidth-b.thumbOuterWidth),g<0&&(g=0),b.setTranslate(g))}),a(window).on("mouseup.lg.thumb",function(){f?(f=!1,b.$thumbOuter.removeClass("lg-dragging"),b.left=g,Math.abs(d-c)<b.core.s.swipeThreshold&&(b.thumbClickable=!0)):b.thumbClickable=!0,e&&(e=!1,b.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"))})},c.prototype.enableThumbSwipe=function(){var a=this,b=0,c=0,d=!1,e=0;a.core.$outer.find(".lg-thumb").on("touchstart.lg",function(c){a.thumbTotalWidth>a.thumbOuterWidth&&(c.preventDefault(),b=c.originalEvent.targetTouches[0].pageX,a.thumbClickable=!1)}),a.core.$outer.find(".lg-thumb").on("touchmove.lg",function(f){a.thumbTotalWidth>a.thumbOuterWidth&&(f.preventDefault(),c=f.originalEvent.targetTouches[0].pageX,d=!0,a.$thumbOuter.addClass("lg-dragging"),e=a.left,e-=c-b,e>a.thumbTotalWidth-a.thumbOuterWidth&&(e=a.thumbTotalWidth-a.thumbOuterWidth),e<0&&(e=0),a.setTranslate(e))}),a.core.$outer.find(".lg-thumb").on("touchend.lg",function(){a.thumbTotalWidth>a.thumbOuterWidth&&d?(d=!1,a.$thumbOuter.removeClass("lg-dragging"),Math.abs(c-b)<a.core.s.swipeThreshold&&(a.thumbClickable=!0),a.left=e):a.thumbClickable=!0})},c.prototype.toogle=function(){var a=this;a.core.s.toogleThumb&&(a.core.$outer.addClass("lg-can-toggle"),a.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"></span>'),a.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){a.core.$outer.toggleClass("lg-thumb-open")}))},c.prototype.thumbkeyPress=function(){var b=this;a(window).on("keydown.lg.thumb",function(a){38===a.keyCode?(a.preventDefault(),b.core.$outer.addClass("lg-thumb-open")):40===a.keyCode&&(a.preventDefault(),b.core.$outer.removeClass("lg-thumb-open"))})},c.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(a(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},a.fn.lightGallery.modules.Thumbnail=c}()});
diff --git a/green_deal/static/green_deal/vendor/js/lg-video.min.js b/green_deal/static/green_deal/vendor/js/lg-video.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..6622e8f564685995ed349ca38db29bfc6a8cb945
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/lg-video.min.js
@@ -0,0 +1,4 @@
+/*! lg-video - v1.2.1 - 2018-03-08
+* http://sachinchoolur.github.io/lightGallery
+* Copyright (c) 2018 Sachin N; Licensed GPLv3 */
+!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(a,b,c,d){var e=this;if(e.core.$slide.eq(b).find(".lg-video").append(e.loadVideo(c,"lg-object",!0,b,d)),d)if(e.core.s.videojs)try{videojs(e.core.$slide.eq(b).find(".lg-html5").get(0),e.core.s.videojsOptions,function(){!e.videoLoaded&&e.core.s.autoplayFirstVideo&&this.play()})}catch(a){console.error("Make sure you have included videojs")}else!e.videoLoaded&&e.core.s.autoplayFirstVideo&&e.core.$slide.eq(b).find(".lg-html5").get(0).play()}function c(a,b){var c=this.core.$slide.eq(b).find(".lg-video-cont");c.hasClass("lg-has-iframe")||(c.css("max-width",this.core.s.videoMaxWidth),this.videoLoaded=!0)}function d(b,c,d){var e=this,f=e.core.$slide.eq(c),g=f.find(".lg-youtube").get(0),h=f.find(".lg-vimeo").get(0),i=f.find(".lg-dailymotion").get(0),j=f.find(".lg-vk").get(0),k=f.find(".lg-html5").get(0);if(g)g.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(h)try{$f(h).api("pause")}catch(a){console.error("Make sure you have included froogaloop2 js")}else if(i)i.contentWindow.postMessage("pause","*");else if(k)if(e.core.s.videojs)try{videojs(k).pause()}catch(a){console.error("Make sure you have included videojs")}else k.pause();j&&a(j).attr("src",a(j).attr("src").replace("&autoplay","&noplay"));var l;l=e.core.s.dynamic?e.core.s.dynamicEl[d].src:e.core.$items.eq(d).attr("href")||e.core.$items.eq(d).attr("data-src");var m=e.core.isVideo(l,d)||{};(m.youtube||m.vimeo||m.dailymotion||m.vk)&&e.core.$outer.addClass("lg-hide-download")}var e={videoMaxWidth:"855px",autoplayFirstVideo:!0,youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},f=function(b){return this.core=a(b).data("lightGallery"),this.$el=a(b),this.core.s=a.extend({},e,this.core.s),this.videoLoaded=!1,this.init(),this};f.prototype.init=function(){var e=this;e.core.$el.on("hasVideo.lg.tm",b.bind(this)),e.core.$el.on("onAferAppendSlide.lg.tm",c.bind(this)),e.core.doCss()&&e.core.$items.length>1&&(e.core.s.enableSwipe||e.core.s.enableDrag)?e.core.$el.on("onSlideClick.lg.tm",function(){var a=e.core.$slide.eq(e.core.index);e.loadVideoOnclick(a)}):e.core.$slide.on("click.lg",function(){e.loadVideoOnclick(a(this))}),e.core.$el.on("onBeforeSlide.lg.tm",d.bind(this)),e.core.$el.on("onAfterSlide.lg.tm",function(a,b){e.core.$slide.eq(b).removeClass("lg-video-playing")})},f.prototype.loadVideo=function(b,c,d,e,f){var g="",h=1,i="",j=this.core.isVideo(b,e)||{};if(d&&(h=this.videoLoaded?0:this.core.s.autoplayFirstVideo?1:0),j.youtube)i="?wmode=opaque&autoplay="+h+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(i=i+"&"+a.param(this.core.s.youtubePlayerParams)),g='<iframe class="lg-video-object lg-youtube '+c+'" width="560" height="315" src="//www.youtube.com/embed/'+j.youtube[1]+i+'" frameborder="0" allowfullscreen></iframe>';else if(j.vimeo)i="?autoplay="+h+"&api=1",this.core.s.vimeoPlayerParams&&(i=i+"&"+a.param(this.core.s.vimeoPlayerParams)),g='<iframe class="lg-video-object lg-vimeo '+c+'" width="560" height="315"  src="//player.vimeo.com/video/'+j.vimeo[1]+i+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(j.dailymotion)i="?wmode=opaque&autoplay="+h+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(i=i+"&"+a.param(this.core.s.dailymotionPlayerParams)),g='<iframe class="lg-video-object lg-dailymotion '+c+'" width="560" height="315" src="//www.dailymotion.com/embed/video/'+j.dailymotion[1]+i+'" frameborder="0" allowfullscreen></iframe>';else if(j.html5){var k=f.substring(0,1);"."!==k&&"#"!==k||(f=a(f).html()),g=f}else j.vk&&(i="&autoplay="+h,this.core.s.vkPlayerParams&&(i=i+"&"+a.param(this.core.s.vkPlayerParams)),g='<iframe class="lg-video-object lg-vk '+c+'" width="560" height="315" src="//vk.com/video_ext.php?'+j.vk[1]+i+'" frameborder="0" allowfullscreen></iframe>');return g},f.prototype.loadVideoOnclick=function(a){var b=this;if(a.find(".lg-object").hasClass("lg-has-poster")&&a.find(".lg-object").is(":visible"))if(a.hasClass("lg-has-video")){var c=a.find(".lg-youtube").get(0),d=a.find(".lg-vimeo").get(0),e=a.find(".lg-dailymotion").get(0),f=a.find(".lg-html5").get(0);if(c)c.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(d)try{$f(d).api("play")}catch(a){console.error("Make sure you have included froogaloop2 js")}else if(e)e.contentWindow.postMessage("play","*");else if(f)if(b.core.s.videojs)try{videojs(f).play()}catch(a){console.error("Make sure you have included videojs")}else f.play();a.addClass("lg-video-playing")}else{a.addClass("lg-video-playing lg-has-video");var g,h,i=function(c,d){if(a.find(".lg-video").append(b.loadVideo(c,"",!1,b.core.index,d)),d)if(b.core.s.videojs)try{videojs(b.core.$slide.eq(b.core.index).find(".lg-html5").get(0),b.core.s.videojsOptions,function(){this.play()})}catch(a){console.error("Make sure you have included videojs")}else b.core.$slide.eq(b.core.index).find(".lg-html5").get(0).play()};b.core.s.dynamic?(g=b.core.s.dynamicEl[b.core.index].src,h=b.core.s.dynamicEl[b.core.index].html,i(g,h)):(g=b.core.$items.eq(b.core.index).attr("href")||b.core.$items.eq(b.core.index).attr("data-src"),h=b.core.$items.eq(b.core.index).attr("data-html"),i(g,h));var j=a.find(".lg-object");a.find(".lg-video").append(j),a.find(".lg-video-object").hasClass("lg-html5")||(a.removeClass("lg-complete"),a.find(".lg-video-object").on("load.lg error.lg",function(){a.addClass("lg-complete")}))}},f.prototype.destroy=function(){this.videoLoaded=!1},a.fn.lightGallery.modules.video=f}()});
diff --git a/green_deal/static/green_deal/vendor/js/lightgallery.min.js b/green_deal/static/green_deal/vendor/js/lightgallery.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..65f884faaec70fe77cd23f1408a149a279ac2cef
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/lightgallery.min.js
@@ -0,0 +1,4 @@
+/*! lightgallery - v1.6.8 - 2018-03-10
+* http://sachinchoolur.github.io/lightGallery/
+* Copyright (c) 2018 Sachin N; Licensed GPLv3 */
+!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(b,d){if(this.el=b,this.$el=a(b),this.s=a.extend({},c,d),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=a(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(a(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var c={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};b.prototype.init=function(){var b=this;b.s.preload>b.$items.length&&(b.s.preload=b.$items.length);var c=window.location.hash;c.indexOf("lg="+this.s.galleryId)>0&&(b.index=parseInt(c.split("&slide=")[1],10),a("body").addClass("lg-from-hash"),a("body").hasClass("lg-on")||(setTimeout(function(){b.build(b.index)}),a("body").addClass("lg-on"))),b.s.dynamic?(b.$el.trigger("onBeforeOpen.lg"),b.index=b.s.index||0,a("body").hasClass("lg-on")||setTimeout(function(){b.build(b.index),a("body").addClass("lg-on")})):b.$items.on("click.lgcustom",function(c){try{c.preventDefault(),c.preventDefault()}catch(a){c.returnValue=!1}b.$el.trigger("onBeforeOpen.lg"),b.index=b.s.index||b.$items.index(this),a("body").hasClass("lg-on")||(b.build(b.index),a("body").addClass("lg-on"))})},b.prototype.build=function(b){var c=this;c.structure(),a.each(a.fn.lightGallery.modules,function(b){c.modules[b]=new a.fn.lightGallery.modules[b](c.el)}),c.slide(b,!1,!1,!1),c.s.keyPress&&c.keyPress(),c.$items.length>1?(c.arrow(),setTimeout(function(){c.enableDrag(),c.enableSwipe()},50),c.s.mousewheel&&c.mousewheel()):c.$slide.on("click.lg",function(){c.$el.trigger("onSlideClick.lg")}),c.counter(),c.closeGallery(),c.$el.trigger("onAfterOpen.lg"),c.$outer.on("mousemove.lg click.lg touchstart.lg",function(){c.$outer.removeClass("lg-hide-items"),clearTimeout(c.hideBartimeout),c.hideBartimeout=setTimeout(function(){c.$outer.addClass("lg-hide-items")},c.s.hideBarsDelay)}),c.$outer.trigger("mousemove.lg")},b.prototype.structure=function(){var b,c="",d="",e=0,f="",g=this;for(a("body").append('<div class="lg-backdrop"></div>'),a(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),e=0;e<this.$items.length;e++)c+='<div class="lg-item"></div>';if(this.s.controls&&this.$items.length>1&&(d='<div class="lg-actions"><button class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(f='<div class="lg-sub-html"></div>'),b='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+c+'</div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"></span></div>'+d+f+"</div></div>",a("body").append(b),this.$outer=a(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),g.setTop(),a(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){g.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()){var h=this.$outer.find(".lg-inner");h.css("transition-timing-function",this.s.cssEasing),h.css("transition-duration",this.s.speed+"ms")}setTimeout(function(){a(".lg-backdrop").addClass("in")}),setTimeout(function(){g.$outer.addClass("lg-visible")},this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=a(window).scrollTop()},b.prototype.setTop=function(){if("100%"!==this.s.height){var b=a(window).height(),c=(b-parseInt(this.s.height,10))/2,d=this.$outer.find(".lg");b>=parseInt(this.s.height,10)?d.css("top",c+"px"):d.css("top","0px")}},b.prototype.doCss=function(){return!!function(){var a=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],b=document.documentElement,c=0;for(c=0;c<a.length;c++)if(a[c]in b.style)return!0}()},b.prototype.isVideo=function(a,b){var c;if(c=this.s.dynamic?this.s.dynamicEl[b].html:this.$items.eq(b).attr("data-html"),!a)return c?{html5:!0}:(console.error("lightGallery :- data-src is not pvovided on slide item "+(b+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);var d=a.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),e=a.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),f=a.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),g=a.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return d?{youtube:d}:e?{vimeo:e}:f?{dailymotion:f}:g?{vk:g}:void 0},b.prototype.counter=function(){this.s.counter&&a(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.$items.length+"</span></div>")},b.prototype.addHtml=function(b){var c,d,e=null;if(this.s.dynamic?this.s.dynamicEl[b].subHtmlUrl?c=this.s.dynamicEl[b].subHtmlUrl:e=this.s.dynamicEl[b].subHtml:(d=this.$items.eq(b),d.attr("data-sub-html-url")?c=d.attr("data-sub-html-url"):(e=d.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!e&&(e=d.attr("title")||d.find("img").first().attr("alt")))),!c)if(void 0!==e&&null!==e){var f=e.substring(0,1);"."!==f&&"#"!==f||(e=this.s.subHtmlSelectorRelative&&!this.s.dynamic?d.find(e).html():a(e).html())}else e="";".lg-sub-html"===this.s.appendSubHtmlTo?c?this.$outer.find(this.s.appendSubHtmlTo).load(c):this.$outer.find(this.s.appendSubHtmlTo).html(e):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(e),void 0!==e&&null!==e&&(""===e?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[b])},b.prototype.preload=function(a){var b=1,c=1;for(b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadContent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(a-c<0);c++)this.loadContent(a-c,!1,0)},b.prototype.loadContent=function(b,c,d){var e,f,g,h,i,j,k=this,l=!1,m=function(b){for(var c=[],d=[],e=0;e<b.length;e++){var g=b[e].split(" ");""===g[0]&&g.splice(0,1),d.push(g[0]),c.push(g[1])}for(var h=a(window).width(),i=0;i<c.length;i++)if(parseInt(c[i],10)>h){f=d[i];break}};if(k.s.dynamic){if(k.s.dynamicEl[b].poster&&(l=!0,g=k.s.dynamicEl[b].poster),j=k.s.dynamicEl[b].html,f=k.s.dynamicEl[b].src,k.s.dynamicEl[b].responsive){m(k.s.dynamicEl[b].responsive.split(","))}h=k.s.dynamicEl[b].srcset,i=k.s.dynamicEl[b].sizes}else{if(k.$items.eq(b).attr("data-poster")&&(l=!0,g=k.$items.eq(b).attr("data-poster")),j=k.$items.eq(b).attr("data-html"),f=k.$items.eq(b).attr("href")||k.$items.eq(b).attr("data-src"),k.$items.eq(b).attr("data-responsive")){m(k.$items.eq(b).attr("data-responsive").split(","))}h=k.$items.eq(b).attr("data-srcset"),i=k.$items.eq(b).attr("data-sizes")}var n=!1;k.s.dynamic?k.s.dynamicEl[b].iframe&&(n=!0):"true"===k.$items.eq(b).attr("data-iframe")&&(n=!0);var o=k.isVideo(f,b);if(!k.$slide.eq(b).hasClass("lg-loaded")){if(n)k.$slide.eq(b).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+k.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+f+'"  allowfullscreen="true"></iframe></div></div>');else if(l){var p="";p=o&&o.youtube?"lg-has-youtube":o&&o.vimeo?"lg-has-vimeo":"lg-has-html5",k.$slide.eq(b).prepend('<div class="lg-video-cont '+p+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+g+'" /></div></div>')}else o?(k.$slide.eq(b).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>'),k.$el.trigger("hasVideo.lg",[b,f,j])):k.$slide.eq(b).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+f+'" /></div>');if(k.$el.trigger("onAferAppendSlide.lg",[b]),e=k.$slide.eq(b).find(".lg-object"),i&&e.attr("sizes",i),h){e.attr("srcset",h);try{picturefill({elements:[e[0]]})}catch(a){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&k.addHtml(b),k.$slide.eq(b).addClass("lg-loaded")}k.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){var c=0;d&&!a("body").hasClass("lg-from-hash")&&(c=d),setTimeout(function(){k.$slide.eq(b).addClass("lg-complete"),k.$el.trigger("onSlideItemLoad.lg",[b,d||0])},c)}),o&&o.html5&&!l&&k.$slide.eq(b).addClass("lg-complete"),!0===c&&(k.$slide.eq(b).hasClass("lg-complete")?k.preload(b):k.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){k.preload(b)}))},b.prototype.slide=function(b,c,d,e){var f=this.$outer.find(".lg-current").index(),g=this;if(!g.lGalleryOn||f!==b){var h=this.$slide.length,i=g.lGalleryOn?this.s.speed:0;if(!g.lgBusy){if(this.s.download){var j;j=g.s.dynamic?!1!==g.s.dynamicEl[b].downloadUrl&&(g.s.dynamicEl[b].downloadUrl||g.s.dynamicEl[b].src):"false"!==g.$items.eq(b).attr("data-download-url")&&(g.$items.eq(b).attr("data-download-url")||g.$items.eq(b).attr("href")||g.$items.eq(b).attr("data-src")),j?(a("#lg-download").attr("href",j),g.$outer.removeClass("lg-hide-download")):g.$outer.addClass("lg-hide-download")}if(this.$el.trigger("onBeforeSlide.lg",[f,b,c,d]),g.lgBusy=!0,clearTimeout(g.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){g.addHtml(b)},i),this.arrowDisable(b),e||(b<f?e="prev":b>f&&(e="next")),c){this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide");var k,l;h>2?(k=b-1,l=b+1,0===b&&f===h-1?(l=0,k=h-1):b===h-1&&0===f&&(l=0,k=h-1)):(k=0,l=1),"prev"===e?g.$slide.eq(l).addClass("lg-next-slide"):g.$slide.eq(k).addClass("lg-prev-slide"),g.$slide.eq(b).addClass("lg-current")}else g.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===e?(this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(f).addClass("lg-next-slide")):(this.$slide.eq(b).addClass("lg-next-slide"),this.$slide.eq(f).addClass("lg-prev-slide")),setTimeout(function(){g.$slide.removeClass("lg-current"),g.$slide.eq(b).addClass("lg-current"),g.$outer.removeClass("lg-no-trans")},50);g.lGalleryOn?(setTimeout(function(){g.loadContent(b,!0,0)},this.s.speed+50),setTimeout(function(){g.lgBusy=!1,g.$el.trigger("onAfterSlide.lg",[f,b,c,d])},this.s.speed)):(g.loadContent(b,!0,g.s.backdropDuration),g.lgBusy=!1,g.$el.trigger("onAfterSlide.lg",[f,b,c,d])),g.lGalleryOn=!0,this.s.counter&&a("#lg-counter-current").text(b+1)}g.index=b}},b.prototype.goToNextSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index+1<b.$slide.length?(b.index++,b.$el.trigger("onBeforeNextSlide.lg",[b.index]),b.slide(b.index,a,!1,"next")):c?(b.index=0,b.$el.trigger("onBeforeNextSlide.lg",[b.index]),b.slide(b.index,a,!1,"next")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass("lg-right-end"),setTimeout(function(){b.$outer.removeClass("lg-right-end")},400)))},b.prototype.goToPrevSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index>0?(b.index--,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):c?(b.index=b.$items.length-1,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass("lg-left-end"),setTimeout(function(){b.$outer.removeClass("lg-left-end")},400)))},b.prototype.keyPress=function(){var b=this;this.$items.length>1&&a(window).on("keyup.lg",function(a){b.$items.length>1&&(37===a.keyCode&&(a.preventDefault(),b.goToPrevSlide()),39===a.keyCode&&(a.preventDefault(),b.goToNextSlide()))}),a(window).on("keydown.lg",function(a){!0===b.s.escKey&&27===a.keyCode&&(a.preventDefault(),b.$outer.hasClass("lg-thumb-open")?b.$outer.removeClass("lg-thumb-open"):b.destroy())})},b.prototype.arrow=function(){var a=this;this.$outer.find(".lg-prev").on("click.lg",function(){a.goToPrevSlide()}),this.$outer.find(".lg-next").on("click.lg",function(){a.goToNextSlide()})},b.prototype.arrowDisable=function(a){!this.s.loop&&this.s.hideControlOnEnd&&(a+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),a>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))},b.prototype.setTranslate=function(a,b,c){this.s.useLeft?a.css("left",b):a.css({transform:"translate3d("+b+"px, "+c+"px, 0px)"})},b.prototype.touchMove=function(b,c){var d=c-b;Math.abs(d)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),d,0),this.setTranslate(a(".lg-prev-slide"),-this.$slide.eq(this.index).width()+d,0),this.setTranslate(a(".lg-next-slide"),this.$slide.eq(this.index).width()+d,0))},b.prototype.touchEnd=function(a){var b=this;"lg-slide"!==b.s.mode&&b.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){b.$outer.removeClass("lg-dragging"),a<0&&Math.abs(a)>b.s.swipeThreshold?b.goToNextSlide(!0):a>0&&Math.abs(a)>b.s.swipeThreshold?b.goToPrevSlide(!0):Math.abs(a)<5&&b.$el.trigger("onSlideClick.lg"),b.$slide.removeAttr("style")}),setTimeout(function(){b.$outer.hasClass("lg-dragging")||"lg-slide"===b.s.mode||b.$outer.removeClass("lg-slide")},b.s.speed+100)},b.prototype.enableSwipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableSwipe&&a.doCss()&&(a.$slide.on("touchstart.lg",function(c){a.$outer.hasClass("lg-zoomed")||a.lgBusy||(c.preventDefault(),a.manageSwipeClass(),b=c.originalEvent.targetTouches[0].pageX)}),a.$slide.on("touchmove.lg",function(e){a.$outer.hasClass("lg-zoomed")||(e.preventDefault(),c=e.originalEvent.targetTouches[0].pageX,a.touchMove(b,c),d=!0)}),a.$slide.on("touchend.lg",function(){a.$outer.hasClass("lg-zoomed")||(d?(d=!1,a.touchEnd(c-b)):a.$el.trigger("onSlideClick.lg"))}))},b.prototype.enableDrag=function(){var b=this,c=0,d=0,e=!1,f=!1;b.s.enableDrag&&b.doCss()&&(b.$outer.on("mousedown.lg",function(d){b.$outer.hasClass("lg-zoomed")||b.lgBusy||a(d.target).text()||(d.preventDefault(),b.manageSwipeClass(),c=d.pageX,e=!0,b.$outer.scrollLeft+=1,b.$outer.scrollLeft-=1,b.$outer.removeClass("lg-grab").addClass("lg-grabbing"),b.$el.trigger("onDragstart.lg"))}),a(window).on("mousemove.lg",function(a){e&&(f=!0,d=a.pageX,b.touchMove(c,d),b.$el.trigger("onDragmove.lg"))}),a(window).on("mouseup.lg",function(g){f?(f=!1,b.touchEnd(d-c),b.$el.trigger("onDragend.lg")):(a(g.target).hasClass("lg-object")||a(g.target).hasClass("lg-video-play"))&&b.$el.trigger("onSlideClick.lg"),e&&(e=!1,b.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},b.prototype.manageSwipeClass=function(){var a=this.index+1,b=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?b=this.$slide.length-1:this.index===this.$slide.length-1&&(a=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),b>-1&&this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(a).addClass("lg-next-slide")},b.prototype.mousewheel=function(){var a=this;a.$outer.on("mousewheel.lg",function(b){b.deltaY&&(b.deltaY>0?a.goToPrevSlide():a.goToNextSlide(),b.preventDefault())})},b.prototype.closeGallery=function(){var b=this,c=!1;this.$outer.find(".lg-close").on("click.lg",function(){b.destroy()}),b.s.closable&&(b.$outer.on("mousedown.lg",function(b){c=!!(a(b.target).is(".lg-outer")||a(b.target).is(".lg-item ")||a(b.target).is(".lg-img-wrap"))}),b.$outer.on("mousemove.lg",function(){c=!1}),b.$outer.on("mouseup.lg",function(d){(a(d.target).is(".lg-outer")||a(d.target).is(".lg-item ")||a(d.target).is(".lg-img-wrap")&&c)&&(b.$outer.hasClass("lg-dragging")||b.destroy())}))},b.prototype.destroy=function(b){var c=this;b||(c.$el.trigger("onBeforeClose.lg"),a(window).scrollTop(c.prevScrollTop)),b&&(c.s.dynamic||this.$items.off("click.lg click.lgcustom"),a.removeData(c.el,"lightGallery")),this.$el.off(".lg.tm"),a.each(a.fn.lightGallery.modules,function(a){c.modules[a]&&c.modules[a].destroy()}),this.lGalleryOn=!1,clearTimeout(c.hideBartimeout),this.hideBartimeout=!1,a(window).off(".lg"),a("body").removeClass("lg-on lg-from-hash"),c.$outer&&c.$outer.removeClass("lg-visible"),a(".lg-backdrop").removeClass("in"),setTimeout(function(){c.$outer&&c.$outer.remove(),a(".lg-backdrop").remove(),b||c.$el.trigger("onCloseAfter.lg")},c.s.backdropDuration+50)},a.fn.lightGallery=function(c){return this.each(function(){if(a.data(this,"lightGallery"))try{a(this).data("lightGallery").init()}catch(a){console.error("lightGallery has not initiated properly")}else a.data(this,"lightGallery",new b(this,c))})},a.fn.lightGallery.modules={}}()});
diff --git a/green_deal/static/green_deal/vendor/js/vegas.min.js b/green_deal/static/green_deal/vendor/js/vegas.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..47f6021471f4b4a1548d6fc0524cf834f87a05e1
--- /dev/null
+++ b/green_deal/static/green_deal/vendor/js/vegas.min.js
@@ -0,0 +1,2 @@
+!function(t){"use strict";var s={slide:0,delay:5e3,loop:!0,preload:!1,preloadImage:!1,preloadVideo:!1,timer:!0,overlay:!1,autoplay:!0,shuffle:!1,cover:!0,color:null,align:"center",valign:"center",firstTransition:null,firstTransitionDuration:null,transition:"fade",transitionDuration:1e3,transitionRegister:[],animation:null,animationDuration:"auto",animationRegister:[],slidesToKeep:1,init:function(){},play:function(){},pause:function(){},walk:function(){},slides:[]},i={},e=function(i,e){this.elmt=i,this.settings=t.extend({},s,t.vegas.defaults,e),this.slide=this.settings.slide,this.total=this.settings.slides.length,this.noshow=this.total<2,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=t(i),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],this.settings.transitionRegister instanceof Array==!1&&(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array==!1&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:t.vegas.isVideoCompatible()},this.settings.shuffle===!0&&this.shuffle(),this._init()};e.prototype={_init:function(){var s,i,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,a=this.settings.overlay,r=this;this._preload(),n||(this.$elmt.css("height",this.$elmt.css("height")),s=t('<div class="vegas-wrapper">').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||s.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(s),this.elmt.innerHTML=""),o&&this.support.transition&&(e=t('<div class="vegas-timer"><div class="vegas-timer-progress">'),this.$timer=e,this.$elmt.prepend(e)),a&&(i=t('<div class="vegas-overlay">'),"string"==typeof a&&i.css("background-image","url("+a+")"),this.$overlay=i,this.$elmt.prepend(i)),this.$elmt.addClass("vegas-container"),n||this.$elmt.append(s),setTimeout(function(){r.trigger("init"),r._goto(r.slide),r.settings.autoplay&&r.trigger("play")},1)},_preload:function(){var t,s;for(s=0;s<this.settings.slides.length;s++)(this.settings.preload||this.settings.preloadImages)&&this.settings.slides[s].src&&(t=new Image,t.src=this.settings.slides[s].src),(this.settings.preload||this.settings.preloadVideos)&&this.support.video&&this.settings.slides[s].video&&(this.settings.slides[s].video instanceof Array?this._video(this.settings.slides[s].video):this._video(this.settings.slides[s].video.src))},_random:function(t){return t[Math.floor(Math.random()*t.length)]},_slideShow:function(){var t=this;this.total>1&&!this.ended&&!this.paused&&!this.noshow&&(this.timeout=setTimeout(function(){t.next()},this._options("delay")))},_timer:function(t){var s=this;clearTimeout(this.timeout),this.$timer&&(this.$timer.removeClass("vegas-timer-running").find("div").css("transition-duration","0ms"),this.ended||this.paused||this.noshow||t&&setTimeout(function(){s.$timer.addClass("vegas-timer-running").find("div").css("transition-duration",s._options("delay")-100+"ms")},100))},_video:function(t){var s,e,n=t.toString();return i[n]?i[n]:(t instanceof Array==!1&&(t=[t]),s=document.createElement("video"),s.preload=!0,t.forEach(function(t){e=document.createElement("source"),e.src=t,s.appendChild(e)}),i[n]=s,s)},_fadeOutSound:function(t,s){var i=this,e=s/10,n=t.volume-.09;n>0?(t.volume=n,setTimeout(function(){i._fadeOutSound(t,s)},e)):t.pause()},_fadeInSound:function(t,s){var i=this,e=s/10,n=t.volume+.09;n<1&&(t.volume=n,setTimeout(function(){i._fadeInSound(t,s)},e))},_options:function(t,s){return void 0===s&&(s=this.slide),void 0!==this.settings.slides[s][t]?this.settings.slides[s][t]:this.settings[t]},_goto:function(s){function i(){f._timer(!0),setTimeout(function(){y&&(f.support.transition?(h.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-out"),h.each(function(){var t=h.find("video").get(0);t&&(t.volume=1,f._fadeOutSound(t,_))}),e.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-in")):e.fadeIn(_));for(var t=0;t<h.length-f.settings.slidesToKeep;t++)h.eq(t).remove();f.trigger("walk"),f._slideShow()},100)}"undefined"==typeof this.settings.slides[s]&&(s=0),this.slide=s;var e,n,o,a,r,h=this.$elmt.children(".vegas-slide"),d=this.settings.slides[s].src,l=this.settings.slides[s].video,g=this._options("delay"),u=this._options("align"),c=this._options("valign"),p=this._options("cover"),m=this._options("color")||this.$elmt.css("background-color"),f=this,v=h.length,y=this._options("transition"),_=this._options("transitionDuration"),w=this._options("animation"),b=this._options("animationDuration");this.settings.firstTransition&&this.first&&(y=this.settings.firstTransition||y),this.settings.firstTransitionDuration&&this.first&&(_=this.settings.firstTransitionDuration||_),this.first&&(this.first=!1),"repeat"!==p&&(p===!0?p="cover":p===!1&&(p="contain")),("random"===y||y instanceof Array)&&(y=y instanceof Array?this._random(y):this._random(this.transitions)),("random"===w||w instanceof Array)&&(w=w instanceof Array?this._random(w):this._random(this.animations)),("auto"===_||_>g)&&(_=g),"auto"===b&&(b=g),e=t('<div class="vegas-slide"></div>'),this.support.transition&&y&&e.addClass("vegas-transition-"+y),this.support.video&&l?(a=l instanceof Array?this._video(l):this._video(l.src),a.loop=void 0===l.loop||l.loop,a.muted=void 0===l.mute||l.mute,a.muted===!1?(a.volume=0,this._fadeInSound(a,_)):a.pause(),o=t(a).addClass("vegas-video").css("background-color",m),this.support.objectFit?o.css("object-position",u+" "+c).css("object-fit",p).css("width","100%").css("height","100%"):"contain"===p&&o.css("width","100%").css("height","100%"),e.append(o)):(r=new Image,n=t('<div class="vegas-slide-inner"></div>').css("background-image",'url("'+d+'")').css("background-color",m).css("background-position",u+" "+c),"repeat"===p?n.css("background-repeat","repeat"):n.css("background-size",p),this.support.transition&&w&&n.addClass("vegas-animation-"+w).css("animation-duration",b+"ms"),e.append(n)),this.support.transition||e.css("display","none"),v?h.eq(v-1).after(e):this.$elmt.prepend(e),h.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),y&&(this.className+=" vegas-transition-"+y,this.className+=" vegas-transition-"+y+"-in")}),f._timer(!1),a?(4===a.readyState&&(a.currentTime=0),a.play(),i()):(r.src=d,r.complete?i():r.onload=i)},_end:function(){this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var t,s,i=this.total-1;i>0;i--)s=Math.floor(Math.random()*(i+1)),t=this.settings.slides[i],this.settings.slides[i]=this.settings.slides[s],this.settings.slides[s]=t},play:function(){this.paused&&(this.paused=!1,this.next(),this.trigger("play"))},pause:function(){this._timer(!1),this.paused=!0,this.trigger("pause")},toggle:function(){this.paused?this.play():this.pause()},playing:function(){return!this.paused&&!this.noshow},current:function(t){return t?{slide:this.slide,data:this.settings.slides[this.slide]}:this.slide},jump:function(t){t<0||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,this.slide<0){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(t){var s=[];s="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,s),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,s)},options:function(i,e){var n=this.settings.slides.slice();if("object"==typeof i)this.settings=t.extend({},s,t.vegas.defaults,i);else{if("string"!=typeof i)return this.settings;if(void 0===e)return this.settings[i];this.settings[i]=e}this.settings.slides!==n&&(this.total=this.settings.slides.length,this.noshow=this.total<2,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},t.fn.vegas=function(t){var s,i=arguments,n=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var e=this._vegas;if(!e)throw new Error("No Vegas applied to this element.");"function"==typeof e[t]&&"_"!==t[0]?s=e[t].apply(e,[].slice.call(i,1)):n=!0}),n)throw new Error('No method "'+t+'" in Vegas.');return void 0!==s?s:this}},t.vegas={},t.vegas.defaults=s,t.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto);
+//# sourceMappingURL=vegas.min.js.map
diff --git a/green_deal/templates/green_deal/base.html b/green_deal/templates/green_deal/base.html
new file mode 100644
index 0000000000000000000000000000000000000000..bd9df124991dcddb18ee22c7975cf43c8f598db3
--- /dev/null
+++ b/green_deal/templates/green_deal/base.html
@@ -0,0 +1,176 @@
+{% load wagtailcore_tags %}
+{% load static %}
+{% load wagtailmetadata_tags %}
+<!DOCTYPE html>
+<html lang="cs-cz">
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <meta name="theme-color" content="#000"/>
+  {% meta_tags %}
+  {% if settings.MAJAK_ENV == "test" %}
+    <meta name="robots" content="noindex, nofollow">
+  {% endif %}
+
+  <!-- Favicon -->
+  {% include "shared/favicon_snippet.html" %}
+
+  <!-- Styles -->
+  <link rel="stylesheet" href="{% static 'green_deal/css/style.min.css' %}" type="text/css" media="screen">
+  <!--[if IE]> <link rel="stylesheet" href="{% static 'green_deal/css/styleie.css' %}" type="text/css" media="print"> <![endif]-->
+
+  <link rel="stylesheet" href="{% static 'green_deal/css/print.css' %}" type="text/css" media="print">
+
+
+  <link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900&subset=latin,latin-ext'
+        rel='stylesheet' type='text/css'>
+  <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap"
+        rel="stylesheet">
+
+  <script type="text/javascript" src="{% static 'green_deal/js/jquery.min.js' %}"></script>
+  <script type="text/javascript" src="{% static 'green_deal/js/jquery.lazy.min.js' %}"></script>
+  <script type="text/javascript" src="{% static 'green_deal/js/swipe-detect.js' %}"></script>
+  <script src="{% static 'green_deal/js/main.js' %}" type="text/javascript"></script>
+  <script src="{% static 'green_deal/js/fx.js' %}" type="text/javascript" async></script>
+
+  <!-- VEGAS -->
+  <link rel="stylesheet" href="{% static 'green_deal/vendor/css/vegas.min.css' %}" type="text/css"
+        media="screen"/>
+  <script type="text/javascript" src="{% static 'green_deal/vendor/js/vegas.min.js' %}"></script>
+
+  <!-- LIGHTBOX -->
+  <link href="{% static 'green_deal/vendor/css/lightgallery.min.css' %}" rel="stylesheet"
+        media="screen">
+  <script type="text/javascript"
+          src="{% static 'green_deal/vendor/js/lightgallery.min.js' %}"></script>
+
+  <title>Zelená dohoda pro regiony | Česká pirátská strana</title>
+
+  {% if page.root_page.matomo_id %}
+    {% include "shared/matomo_snippet.html" with matomo_id=page.root_page.matomo_id %}
+  {% endif %}
+
+</head>
+<body>
+<div id="header">
+  <div id="header_top">
+    <div class="inner">
+      <div class="logo_cont"><img src="{% static 'green_deal/images/logo_napis_white.svg' %}"
+                                  style="max-width: 140px;"/></div>
+      <h1>{{ page.root_page.title }}</h1>
+      <div class="f_right soc">
+        <a href="https://twitter.com/vonpecka" target="_blank"><img
+          src="{% static 'green_deal/images/twitters.png' %}"/></a>&nbsp;
+      </div>
+    </div>
+  </div>
+  <div class="inner" id="sticky_menu">
+    <div class="title">
+    </div>
+
+    <button id="mob_menu_open" class=""><img src="{% static 'green_deal/images/mob_menu.png' %}" alt="&#9776;"
+                                             style="width: 100%;"></button>
+    <button id="mob_menu_close" class="hide"><img src="{% static 'green_deal/images/mob_hide_l.png' %}" alt="<-">
+    </button>
+
+    <div class="head_menu">
+      <ul class="topmenu">
+        {% for item in page.root_page.top_menu %}
+          <li><a href="{% pageurl item.value.page %}"><span>{{ item.value.name }}</span></a></li>
+        {% endfor %}
+        <hr class="cleaner">
+      </ul>
+      <hr class="cleaner">
+    </div>
+  </div>
+</div>
+
+<div id="content">
+  <div class="inner">
+    {% block content %}
+    {% endblock %}
+
+  </div>
+  <hr class="cleaner"/>
+</div>
+
+<div id="footer">
+  <div class="inner">
+    <div class="quarter logo">
+      {#      <p class="copyright">#}
+      {#        © 2020 <a href="http://www.greendeal.cz" target="_blank">greendeal.cz</a><br>All Rights Reserved<br>#}
+      {#        <a href="http://www.ghostshape.com" target="_blank">tvorba eshopů a www stránek</a><br/><br/>#}
+      {#      </p>#}
+      <!--<img src="images/logo.png" class="center" >-->
+    </div>
+    <div class="quarter">
+      <h4>Navigace</h4>
+      <hr>
+      <ul class="topmenu">
+        {% for item in page.root_page.top_menu %}
+          <li><a href="{% pageurl item.value.page %}"><span>{{ item.value.name }}</span></a></li>
+        {% endfor %}
+      </ul>
+    </div>
+    <div class="quarter">
+      <h4>Kontakt</h4>
+      <hr>
+      email: <a
+      href="mailto:&#105;&#110;&#102;&#111;&#64;&#103;&#114;&#101;&#101;&#110;&#100;&#101;&#97;&#108;"><strong>&#105;&#110;&#102;&#111;&#64;&#103;&#114;&#101;&#101;&#110;&#100;&#101;&#97;&#108;</strong></a><br>
+      <br>
+    </div>
+    <div class="quarter social">
+      <a href="https://twitter.com/vonpecka" target="_blank"><img src="{% static 'green_deal/images/twitters.png' %}"/></a>&nbsp;
+    </div>
+    <hr class="cleaner">
+  </div>
+</div>
+
+
+<!-- ////// -->
+<script type="text/javascript" src="{% static 'green_deal/vendor/js/jquery-ui.min.js' %}"></script>
+<script type="text/javascript" src="{% static 'green_deal/js/jquery.cookie.js' %}" async></script>
+<script type="text/javascript" src="{% static 'green_deal/js/jquery.jcarousellite.min.js' %}" async></script>
+
+<script type="text/javascript" src="{% static 'green_deal/vendor/js/cookieconsent.min.js' %}"></script>
+
+<!-- lightgallery plugins -->
+<script type="text/javascript" src="{% static 'green_deal/vendor/js/jquery.mousewheel.min.js' %}" async></script>
+<script type="text/javascript" src="{% static 'green_deal/vendor/js/lg-thumbnail.min.js' %}" async></script>
+<script type="text/javascript" src="{% static 'green_deal/vendor/js/lg-fullscreen.min.js' %}" async></script>
+<script type="text/javascript" src="{% static 'green_deal/vendor/js/lg-video.min.js' %}" async></script>
+
+<link rel="stylesheet" href="{% static 'green_deal/vendor/css/jquery-ui.min.css' %}" type="text/css" media="screen">
+<link rel="stylesheet" href="{% static 'green_deal/css/cookieconsent.min.css' %}" media="screen">
+
+<script type="text/javascript">
+    window.addEventListener("load", function () {
+        window.cookieconsent_options = {
+            "message": "Pokud budete pokračovat v prohlížení stránek, souhlasíte s podmínkami používání cookies.",
+            "dismiss": "SouhlasĂ­m",
+            "learnMore": "vĂ­ce informacĂ­",
+            "link": "http://www.google.com/policies/technologies/cookies/",
+            "theme": "light-bottom"
+        };
+        window.cookieconsent.initialise({
+            "palette": {
+                "popup": {
+                    "background": "#222", text: '#858585'
+                },
+                "button": {
+                    "background": "#00b3dd"
+                }
+            },
+            "theme": "edgeless",
+            "content": {
+                "message": "Tyto stránky používají cookies. Pokud budete pokračovat v prohlížení stránek, souhlasíte s podmínkami používání cookies.",
+                "dismiss": "SouhlasĂ­m",
+                "learnMore": "vĂ­ce informacĂ­",
+                "link": ""
+            }
+        })
+    });
+</script>
+
+</body>
+</html>
diff --git a/green_deal/templates/green_deal/content_section.html b/green_deal/templates/green_deal/content_section.html
new file mode 100644
index 0000000000000000000000000000000000000000..e01448883eb94ca8a36f08172838cb843eccf981
--- /dev/null
+++ b/green_deal/templates/green_deal/content_section.html
@@ -0,0 +1,53 @@
+{% load static %}
+{% load wagtailcore_tags %}
+
+{% for block in page.content %}
+  <div class="content {% if forloop.counter|divisibleby:2 %} gray_bg {% endif %}">
+    <div class="inner">
+
+      {% if block.block_type == "text_2_columns" %}
+        <div class="uvod_text">
+          {{ block.value.left_text|richtext }}
+        </div>
+        <div class="prehled">
+          {{ block.value.right_text|richtext }}
+        </div>
+        <hr class="cleaner">
+      {% endif %}
+
+      {% if block.block_type == "FAQ_columns" %}
+        <div class="text">
+          <div class="harmonogram">
+            {{ block.value.left_text|richtext }}
+          </div>
+          <div class="zdroje">
+            {% for faq in block.value.faqs %}
+              <div class="item" id="item{{ forloop.counter0 }}">
+                <a href="javascript: void(0)" class="item_arrow f_right"><img
+                  src="{% static 'green_deal/images/arrow-down-black.png' %}"></a>
+                <h3><a href="javascript: void(0)">{{ faq.question }}</a></h3>
+                <div class="item_text hide">
+                  <p>{{ faq.answer|richtext }}</p>
+                </div>
+              </div>
+            {% endfor %}
+          </div>
+        </div>
+        <br/>
+        <hr class="cleaner">
+      {% endif %}
+
+      {% if block.block_type == "news" %}
+        {% for new in block.value %}
+          <div class="akt">
+            <div class="inner">
+              <h3>{{ new.header }}</h3>
+              {{ new.text|richtext }}
+            </div>
+          </div>
+        {% endfor %}
+      {% endif %}
+
+    </div>
+  </div>
+{% endfor %}
diff --git a/green_deal/templates/green_deal/green_deal_home_page.html b/green_deal/templates/green_deal/green_deal_home_page.html
new file mode 100644
index 0000000000000000000000000000000000000000..0196259b267be60131d62e5af210e836a30c4f53
--- /dev/null
+++ b/green_deal/templates/green_deal/green_deal_home_page.html
@@ -0,0 +1,6 @@
+{% extends 'green_deal/base.html' %}
+{% load static %}
+
+{% block content %}
+  {% include 'green_deal/content_section.html' %}
+{% endblock %}
diff --git a/green_deal/templates/green_deal/green_deal_sub_page.html b/green_deal/templates/green_deal/green_deal_sub_page.html
new file mode 100644
index 0000000000000000000000000000000000000000..0196259b267be60131d62e5af210e836a30c4f53
--- /dev/null
+++ b/green_deal/templates/green_deal/green_deal_sub_page.html
@@ -0,0 +1,6 @@
+{% extends 'green_deal/base.html' %}
+{% load static %}
+
+{% block content %}
+  {% include 'green_deal/content_section.html' %}
+{% endblock %}
diff --git a/majak/settings/base.py b/majak/settings/base.py
index e164547ba8bb6231398bf7be378a0df10f4ed7cb..404367f9aa5f346c1a480ef365c5ff8a6fc26074 100644
--- a/majak/settings/base.py
+++ b/majak/settings/base.py
@@ -47,6 +47,7 @@ INSTALLED_APPS = [
     "tuning",
     "search",
     "regulace_konopi",
+    "green_deal",
     "wagtail.contrib.forms",
     "wagtail.contrib.redirects",
     "wagtail.contrib.modeladmin",