<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="seasons">
        <control type="group">
            <visible>!isempty(container.folderpath) + container.content(seasons) + !container.content(episodes)</visible>

            <!--fanart-->
            <control type="group">
                <visible>!Substring(Container.folderpath,plugin)</visible>
                <posy>-100</posy>
                <control type="image">
                    <include>dimensionsFullscreen</include>
                    <aspectratio scalediffuse="false">stretch</aspectratio>
                    <texture background="true" fallback="colors/offblack.png" border="0">$INFO[container.art(fanart)]</texture>
                    <colordiffuse>ffffffff</colordiffuse>
                    <animation type="conditional" condition="!controlgroup(9000).hasfocus" loop="true" reversible="false">
                        <effect type="fade" start="0" end="100" time="2000"/>
                        <effect type="zoom" center="auto" start="130" end="100" time="15000"/>
                        <effect type="fade" start="100" end="0" time="1000" delay="14000"/>
                    </animation>
                </control>
                <control type="image">
                    <include>dimensionsFullscreen</include>
                    <texture>vignette.png</texture>
                    <colordiffuse>ffffffff</colordiffuse>
                    <aspectratio>stretch</aspectratio>
                </control>
            </control>

            <control type="group">
                <animation type="Conditional" condition="controlgroup(9000).hasfocus | controlgroup(9002).hasfocus | controlgroup(100).hasfocus">
                    <effect type="fade" start="100" end="0" time="200"/>
                </animation>
                <!--title-->
                <control type="group">
                    <visible>!Substring(Container.folderpath,plugin)</visible>
                    <posx>col-1-begin</posx>
                    <posy>row-2-begin</posy>
                    <control type="label">
                        <posx>0</posx>
                        <posy>11-row</posy>
                        <width>24-col</width>
                        <height>2-row</height>
                        <font>large</font>
                        <textcolor>textActive</textcolor>
                        <shadowcolor>-</shadowcolor>
                        <label>[B]$INFO[container.foldername][/B] [COLOR highlight]$INFO[listitem.genre][/COLOR]</label>
                    </control>
                </control>

                <!--overlay-->
                <control type="image">
                    <visible>!Substring(Container.folderpath,plugin)</visible>
                    <posx>0</posx>
                    <posy>row-15-begin</posy>
                    <width>fullscreenWidth</width>
                    <height>15-row</height>
                    <aspectratio scalediffuse="false">stretch</aspectratio>
                    <texture border="0">colors/white.png</texture>
                    <colordiffuse>background</colordiffuse>
                </control>
                <control type="image">
                    <visible>!Substring(Container.folderpath,plugin)</visible>
                    <posx>0</posx>
                    <posy>row-15-begin</posy>
                    <width>fullscreenWidth</width>
                    <height>6</height>
                    <aspectratio scalediffuse="false">stretch</aspectratio>
                    <texture border="0">colors/white.png</texture>
                    <colordiffuse>highlight</colordiffuse>
                </control>

                <!--content-->
                <control type="panel" id="58">
                    <visible>!isempty(container.folderpath) + !StringCompare(container.foldername,files) + !container.content(episodes) + !Substring(Container.folderpath,plugin) + !container.content(addons)</visible>
                    <posx>col-1-begin</posx>
                    <posy>row-17-begin</posy>
                    <width>1836</width>
                    <height>11-row</height>
                    <onleft>9000</onleft>
                    <onright>58</onright>
                    <orientation>horizontal</orientation>
                    <itemlayout width="4-col" height="391">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>4-col-gutter</width>
                            <height>396</height>
                            <aspectratio>stretch</aspectratio>
                            <texture border="6">DefaultPoster.png</texture>
                            <bordertexture border="6" colordiffuse="overlay">colors/black.png</bordertexture>
                            <bordersize>6</bordersize>
                            <colordiffuse>textboxInactive</colordiffuse>
                        </control>
                        <control type="label">
                            <visible>!controlgroup(9000).hasfocus</visible>
                            <posx>12</posx>
                            <posy>4-row</posy>
                            <width>240</width>
                            <height>2-row</height>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>regularStrong</font>
                            <textcolor>textDisabled</textcolor>
                            <label fallback="31190">$INFO[ListItem.season,$LOCALIZE[31011] ]</label>
                        </control>
                        <control type="label">
                            <visible>!controlgroup(9000).hasfocus</visible>
                            <posx>12</posx>
                            <posy>5-row</posy>
                            <width>240</width>
                            <height>2-row</height>
                            <align>center</align>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>textDisabled</textcolor>
                            <label>$VAR[itemDetail]</label>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>4-col-gutter</width>
                            <height>396</height>
                            <aspectratio>stretch</aspectratio>
                            <texture border="6">$INFO[ListItem.thumb]</texture>
                            <bordertexture border="6" colordiffuse="overlay">colors/black.png</bordertexture>
                            <bordersize>6</bordersize>
                            <colordiffuse>ffffffff</colordiffuse>
                        </control>
                    </itemlayout>
                    <focusedlayout width="4-col" height="391">
                        <control type="group">
                            <include>focusThumb</include>
                            <control type="image">
                                <posx>0</posx>
                                <posy>0</posy>
                                <width>4-col-gutter</width>
                                <height>396</height>
                                <aspectratio aligny="top">scale</aspectratio>
                                <texture fallback="DefaultPoster.png" border="6">$INFO[ListItem.thumb]</texture>
                                <bordertexture border="6" colordiffuse="ffFFFFFF">colors/white.png</bordertexture>
                                <bordersize>6</bordersize>
                                <colordiffuse>ff666666</colordiffuse>
                            </control>
                            <control type="label">
                                <posx>12</posx>
                                <posy>4-row</posy>
                                <width>240</width>
                                <height>2-row</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>regularStrong</font>
                                <textcolor>textActive</textcolor>
                                <label fallback="31190">$INFO[ListItem.season,$LOCALIZE[31011] ]</label>
                            </control>
                            <control type="label">
                                <posx>12</posx>
                                <posy>5-row</posy>
                                <width>240</width>
                                <height>2-row</height>
                                <align>center</align>
                                <aligny>center</aligny>
                                <font>buttonTitle</font>
                                <textcolor>textActive</textcolor>
                                <label>$VAR[itemDetail]</label>
                            </control>
                        </control>
                    </focusedlayout>
                </control>
            </control>
        </control>
    </include>
</includes>