<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="Horizontal_HomeSubMenu">
        <animation effect="fade" time="200" start="100" end="50" reversible="true" condition="![Control.HasFocus(9001)|Control.HasFocus(9002)|Control.HasFocus(9003)]">Conditional</animation>
        <posx>0</posx>
        <posy>870</posy>
        <height>50</height>
        <width>1920</width>
        <onleft>9001</onleft>
        <onright>9001</onright>
        <ondown>9001</ondown>
        <orientation>horizontal</orientation>
        <onup>300</onup>
        <onback>SetFocus(300)</onback>
        <ondown>700</ondown>
        <itemlayout width="640" height="50">
            <control type="label">
                <posx>20</posx>
                <posy>0</posy>
                <height>50</height>
                <width>600</width>
                <align>center</align>
                <aligny>center</aligny>
                <font>SmallButtonFont</font>
                <scroll>false</scroll>
                <label>$INFO[ListItem.Label]</label>
                <textcolor>ListNoFocusColor</textcolor>
            </control>
        </itemlayout>
        <focusedlayout width="640" height="50">
            <control type="label">
                <visible>![Control.HasFocus(9001)|Control.HasFocus(9002)|Control.HasFocus(9003)]</visible>
                <animation effect="fade" time="200" start="0" end="100" reversible="true">Visible</animation>
                <posx>20</posx>
                <posy>0</posy>
                <height>50</height>
                <width>600</width>
                <align>center</align>
                <aligny>center</aligny>
                <font>SmallButtonFont</font>
                <label>$INFO[ListItem.Label]</label>
                <textcolor>ListNoFocusColor</textcolor>
            </control>
            <control type="label">
                <visible>[Control.HasFocus(9001)|Control.HasFocus(9002)|Control.HasFocus(9003)]</visible>
                <animation effect="fade" time="200" start="0" end="100" reversible="true">Visible</animation>
                <posx>20</posx>
                <posy>0</posy>
                <height>50</height>
                <width>600</width>
                <align>center</align>
                <aligny>center</aligny>
                <font>SmallButtonFont</font>
                <label>[B]$INFO[ListItem.Label][/B]</label>
                <textcolor>ListFocusColor</textcolor>
            </control>
        </focusedlayout>
        <content>
            <include condition="Skin.HasSetting(plexbmc)+System.HasAddon(plugin.video.plexbmc)">Plexbmc.Submenu.Items</include>
            <include>skinshortcuts-submenu</include>
        </content>
    </include>
    <include name="Horizontal_Fixed_HomeSubMenu">
        <control type="fixedlist" id="9001">
            <!--<animation effect="slide" start="0,0" end="-320,0" time="0" condition="String.IsEqual(Container(9001).NumItems,2)">conditional</animation>-->
            <focusposition>1</focusposition>
            <movement>0</movement>
            <include>Horizontal_HomeSubMenu</include>
        </control>
    </include>
    <include name="Horizontal_Wrapped_HomeSubMenu">
        <control type="wraplist" id="9001">
            <focusposition>1</focusposition>
            <movement>0</movement>
            <include>Horizontal_HomeSubMenu</include>
        </control>
    </include>
    <include name="Horizontal_HomeMenu">
        <animation effect="fade" time="200" start="100" end="75" reversible="true" condition="![control.hasfocus(300)|control.hasfocus(301)|control.hasfocus(302)]">Conditional</animation>
        <posx>0</posx>
        <posy>539</posy>
        <width>1950</width>
        <height>350</height>
        <onleft>300</onleft>
        <onright>300</onright>
        <ondown>9001</ondown>
        <onup condition="control.isvisible(378432)">7010</onup>
        <onup>9900</onup>
        <pagecontrol>-</pagecontrol>
        <preloaditems>4</preloaditems>
        <scrolltime tween="sine" easing="out">300</scrolltime>
        <orientation>horizontal</orientation>
        <itemlayout height="262" width="381">
            <control type="image">
                <posx>11</posx>
                <posy>9</posy>
                <width>359</width>
                <height>225</height>
                <texture background="true" fallback="special://skin/backgrounds/default/default.jpg">$INFO[ListItem.Icon]</texture>
                <aspectratio scalediffuse="false" aligny="bottom">keep</aspectratio>
                <include>ThumbBorder</include>
                <colordiffuse>UnfocusedIconColor</colordiffuse>
                <fadetime>0</fadetime>
            </control>
            <control type="image">
                <animation effect="rotate" start="0" end="180" center="190,224" reversible="false" condition="true">Conditional</animation>
                <posx>11</posx>
                <posy>9</posy>
                <width>359</width>
                <height>225</height>
                <aspectratio scalediffuse="false" aligny="bottom">keep</aspectratio>
                <texture flipx="true" background="true" diffuse="common/Thumb_Mask.png" fallback="defaultIconBig.png">$INFO[ListItem.Icon]</texture>
                <bordertexture diffuse="common/Thumb_Mask.png" border="27">common/JewelCase.png</bordertexture>
                <bordersize>27</bordersize>
            </control>
        </itemlayout>
        <focusedlayout height="262" width="396">
            <control type="image">
                <posx>3</posx>
                <posy>0</posy>
                <width>390</width>
                <height>243</height>
                <aspectratio scalediffuse="false" aligny="bottom">keep</aspectratio>
                <texture background="true" fallback="special://skin/backgrounds/default/default.jpg">$INFO[ListItem.Icon]</texture>
                <include>ThumbBorderOverlay</include>
                <fadetime>0</fadetime>
            </control>
            <control type="image">
                <animation effect="rotate" start="0" end="180" center="198,233" reversible="false" condition="true">Conditional</animation>
                <posx>3</posx>
                <posy>0</posy>
                <width>390</width>
                <height>243</height>
                <aspectratio scalediffuse="false" aligny="bottom">keep</aspectratio>
                <texture flipx="true" background="true" diffuse="common/Thumb_Mask.png" fallback="defaultIconBig.png">$INFO[ListItem.Icon]</texture>
                <include>ThumbBorderOverlayDiffused</include>
            </control>
        </focusedlayout>
        <content>
            <include condition="Skin.HasSetting(plexbmc)+System.HasAddon(plugin.video.plexbmc)">Plexbmc.Items</include>
            <include>skinshortcuts-mainmenu</include>
        </content>
    </include>
    <include name="Horizontal_Fixed_HomeMenu">
        <control type="fixedlist" id="300">
            <movement>0</movement>
            <focusposition>2</focusposition>
            <include>Horizontal_HomeMenu</include>
        </control>
    </include>
    <include name="Horizontal_Wrapped_HomeMenu">
        <control type="wraplist" id="300">
            <movement>0</movement>
            <focusposition>2</focusposition>
            <include>Horizontal_HomeMenu</include>
        </control>
    </include>
    <include name="Horizontal_Home_Layout">
        <control type="image">
            <animation effect="slide" start="0,0" end="0,-200" time="100" condition="control.isvisible(378432)+!control.isvisible(378433)">conditional</animation>
            <posx>-200</posx>
            <posy>633</posy>
            <width>2320</width>
            <height>467</height>
            <texture>common/HomeGradient.png</texture>
        </control>
        <control type="image">
            <posx>-200</posx>
            <posy>840</posy>
            <width>2320</width>
            <height>467</height>
            <texture>common/BlackDot.png</texture>
        </control>
        <control type="group">
            <animation effect="slide" tween="circle" time="200" start="0,0" end="0,540" reversible="true" condition="control.isvisible(378433)">Conditional</animation>
            <control type="image">
                <visible>control.isvisible(378432)</visible>
                <animation effect="slide" start="0,0" end="0,-334" time="100" condition="control.isvisible(378432)">conditional</animation>
                <include>VisibleFadeEffect</include>
                <posx>0</posx>
                <posy>909</posy>
                <width>1920</width>
                <height>73</height>
                <texture border="3">list/bg_facade_nofocus_top.png</texture>
            </control>
            <control type="image">
                <visible>Integer.IsGreater(Container(9001).NumItems,0)</visible>
                <include>VisibleFadeEffect</include>
                <posx>0</posx>
                <posy>909</posy>
                <width>1920</width>
                <height>73</height>
                <texture border="3">list/bg_facade_nofocus_top.png</texture>
            </control>
            <control type="group">
                <posy>115</posy>
                <!--<animation effect="slide" tween="circle" time="200" start="0,0" end="0,950" reversible="true" condition="[Control.HasFocus(900)|Control.HasFocus(901)|Control.HasFocus(311)|Control.HasFocus(312)|Control.HasFocus(313)|Control.HasFocus(314)|Control.HasFocus(315)|Control.HasFocus(316)|Control.HasFocus(511)|Control.HasFocus(212)|Control.HasFocus(411)|Control.HasFocus(412)|Control.HasFocus(413)|Control.HasFocus(111)|Control.HasFocus(211)|Control.HasFocus(514)|Control.HasFocus(515)|Control.HasFocus(516)|Control.HasFocus(513)|Control.HasFocus(512)]">Conditional</animation>-->
                <include condition="Skin.HasSetting(Fixed_HomeMenu)">Horizontal_Fixed_HomeMenu</include>
                <include condition="!Skin.HasSetting(Fixed_HomeMenu)">Horizontal_Wrapped_HomeMenu</include>
                <control type="button" id="7010">
                    <!--NAVIGATION DUMMY-->
                    <visible>control.isvisible(378432)</visible>
                    <posx>0</posx>
                    <posy>455</posy>
                    <width>1920</width>
                    <height>90</height>
                    <include>HiddenButton</include>
                    <onfocus>SetFocus(701)</onfocus>
                </control>
                <control type="button" id="301">
                    <posx>0</posx>
                    <posy>539</posy>
                    <width>768</width>
                    <height>350</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(300,-1)</onclick>
                </control>
                <control type="button" id="302">
                    <posx>1260</posx>
                    <posy>539</posy>
                    <width>768</width>
                    <height>350</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(300,1)</onclick>
                </control>
                <control type="label">
                    <posx>0</posx>
                    <posy>773</posy>
                    <width>1920</width>
                    <height>100</height>
                    <align>center</align>
                    <font>HomeItemFont</font>
                    <textcolor>MainColor</textcolor>
                    <label>$INFO[Container(300).ListItem.Label]</label>
                </control>
                <include condition="Skin.HasSetting(Fixed_HomeMenu)">Horizontal_Fixed_HomeSubMenu</include>
                <include condition="!Skin.HasSetting(Fixed_HomeMenu)">Horizontal_Wrapped_HomeSubMenu</include>
                <control type="button" id="9002">
                    <posx>0</posx>
                    <posy>845</posy>
                    <width>650</width>
                    <height>100</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(9001,-1)</onclick>
                </control>
                <control type="button" id="9003">
                    <posx>1270</posx>
                    <posy>845</posy>
                    <width>650</width>
                    <height>100</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(9001,1)</onclick>
                </control>
                <control type="fixedlist" id="701">
                    <animation effect="fade" time="200" start="100" end="50" reversible="true" condition="![Control.HasFocus(701)|Control.HasFocus(7019)|Control.HasFocus(7018)]">Conditional</animation>
                    <posx>0</posx>
                    <posy>475</posy>
                    <height>50</height>
                    <width>1920</width>
                    <itemgap>0</itemgap>
                     <align>center</align>
                    <onup condition="control.isvisible(212)+Integer.IsGreater(Container(212).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31961])">212</onup>
                    <onup condition="control.isvisible(311)+Integer.IsGreater(Container(311).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31961])">311</onup>
                    <onup condition="control.isvisible(411)+Integer.IsGreater(Container(411).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31961])">411</onup>
                    <onup condition="control.isvisible(511)+Integer.IsGreater(Container(511).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31961])">511</onup>
                    <onup condition="control.isvisible(900)+Integer.IsGreater(Container(900).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31961])">900</onup>
                    <onup condition="control.isvisible(901)+Integer.IsGreater(Container(901).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31961])">901</onup>
                    <onup condition="control.isvisible(312)+Integer.IsGreater(Container(312).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31011])">312</onup>
                    <onup condition="control.isvisible(412)+Integer.IsGreater(Container(412).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31011])">412</onup>
                    <onup condition="control.isvisible(413)+Integer.IsGreater(Container(413).NumItems,0)+String.IsEqual(Container(701).ListItem.Label,$LOCALIZE[31932])">413</onup>
                    <onup condition="control.isvisible(700011)+Container(701).HasFocus(7001)">700011</onup>
                    <onup condition="control.isvisible(700012)+Container(701).HasFocus(7001)">700012</onup>
                    <onup condition="control.isvisible(700013)+Container(701).HasFocus(7001)">700013</onup>
                    <onup condition="control.isvisible(700014)+Container(701).HasFocus(7001)">700014</onup>
                    <onup condition="control.isvisible(700015)+Container(701).HasFocus(7001)">700015</onup>
                    <onup condition="control.isvisible(700021)+Container(701).HasFocus(7002)">700021</onup>
                    <onup condition="control.isvisible(700022)+Container(701).HasFocus(7002)">700022</onup>
                    <onup condition="control.isvisible(700023)+Container(701).HasFocus(7002)">700023</onup>
                    <onup condition="control.isvisible(700024)+Container(701).HasFocus(7002)">700024</onup>
                    <onup condition="control.isvisible(700025)+Container(701).HasFocus(7002)">700025</onup>
                    <onup condition="control.isvisible(700031)+Container(701).HasFocus(7003)">700031</onup>
                    <onup condition="control.isvisible(700032)+Container(701).HasFocus(7003)">700032</onup>
                    <onup condition="control.isvisible(700033)+Container(701).HasFocus(7003)">700033</onup>
                    <onup condition="control.isvisible(700034)+Container(701).HasFocus(7003)">700034</onup>
                    <onup condition="control.isvisible(700035)+Container(701).HasFocus(7003)">700035</onup>
                    <onup condition="control.isvisible(700041)+Container(701).HasFocus(7004)">700041</onup>
                    <onup condition="control.isvisible(700042)+Container(701).HasFocus(7004)">700042</onup>
                    <onup condition="control.isvisible(700043)+Container(701).HasFocus(7004)">700043</onup>
                    <onup condition="control.isvisible(700044)+Container(701).HasFocus(7004)">700044</onup>
                    <onup condition="control.isvisible(700045)+Container(701).HasFocus(7004)">700045</onup>
                    <onup condition="control.isvisible(700051)+Container(701).HasFocus(7005)">700051</onup>
                    <onup condition="control.isvisible(700052)+Container(701).HasFocus(7005)">700052</onup>
                    <onup condition="control.isvisible(700053)+Container(701).HasFocus(7005)">700053</onup>
                    <onup condition="control.isvisible(700054)+Container(701).HasFocus(7005)">700054</onup>
                    <onup condition="control.isvisible(700055)+Container(701).HasFocus(7005)">700055</onup>
                    <ondown>300</ondown>
                    <focusposition>1</focusposition>
                    <orientation>horizontal</orientation>
                    <pagecontrol>-</pagecontrol>
                    <itemlayout width="640" height="50">
                        <control type="label">
                            <posx>20</posx>
                            <posy>0</posy>
                            <height>50</height>
                            <width>600</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>SmallButtonFont</font>
                            <scroll>false</scroll>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>ListNoFocusColor</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout width="640" height="50">
                        <control type="label">
                            <visible>![Control.HasFocus(701)|Control.HasFocus(7019)|Control.HasFocus(7018)]</visible>
                            <animation effect="fade" time="200" start="0" end="100" reversible="true">Visible</animation>
                            <posx>20</posx>
                            <posy>0</posy>
                            <height>50</height>
                            <width>600</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>SmallButtonFont</font>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>ListNoFocusColor</textcolor>
                        </control>
                        <control type="label">
                            <visible>[Control.HasFocus(701)|Control.HasFocus(7019)|Control.HasFocus(7018)]</visible>
                            <animation effect="fade" time="200" start="0" end="100" reversible="true">Visible</animation>
                            <posx>20</posx>
                            <posy>0</posy>
                            <height>50</height>
                            <width>600</width>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>SmallButtonFont</font>
                            <label>[B]$INFO[ListItem.Label][/B]</label>
                            <textcolor>ListFocusColor</textcolor>
                        </control>
                    </focusedlayout>
                    <include>ShelfIcons</include>
                </control>
                <control type="button" id="7018">
                    <posx>0</posx>
                    <posy>455</posy>
                    <width>650</width>
                    <height>90</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(701,-1)</onclick>
                </control>
                <control type="button" id="7019">
                    <posx>1270</posx>
                    <posy>455</posy>
                    <width>650</width>
                    <height>90</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(701,1)</onclick>
                </control>
            </control>
            <control type="group">
                <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
                <control type="image">
                    <posx>0</posx>
                    <posy>1038</posy>
                    <width>1920</width>
                    <height>44</height>
                    <texture>common/BlackDot.png</texture>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>966</posy>
                    <width>1920</width>
                    <height>73</height>
                    <texture border="3">list/bg_facade_nofocus_top.png</texture>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>1040</posy>
                    <width>1920</width>
                    <height>41</height>
                    <texture border="3">list/bg_facade_focus_white.png</texture>
                </control>
                <control type="rss">
                    <posx>0</posx>
                    <posy>1045</posy>
                    <width>1920</width>
                    <height>40</height>
                    <font>rss</font>
                    <urlset>1</urlset>
                    <font>WindowTitleSubFont</font>
                    <shadowcolor>ShadowColor</shadowcolor>
                    <titlecolor>MainColor</titlecolor>
                    <headlinecolor>AlternateColor</headlinecolor>
                    <textcolor>AlternateColor</textcolor>
                </control>
            </control>
        </control>
        <include>WidgetsCollection</include>
    </include>
</includes>
