<container fillParent="1" visible="0">
  <state name="lose" visible="1"/>
	
	
		<container w="640" h="640" x="110" y="1580">
			<state name="loose" visible="1" y="250" easing="back_inout"/>
			<image  x="60" y="0"  w="554" h="1000"  filename="data/gfx/characters/02_old_left.png" />
		</container>	
		

  <container w="640" h="840" parentAlign="center" y="-1080" on_click="restart()">
    <state name="lose" visible="1" y="200" easing="back_inout"/>
    
         
    <image9 x='20' y='0' w="600" h="610" filename="data/gui/composit1.png" corner="20"/>
    
    <text parentAlign="center" y="270" text="Game over" align="center" font="clearsans_medium.ttf" font_size="75" />

    <variant_container fillParent="1" dataSource="mode">
      <container fillParent="1" name="level">
    
        <container x="160" y="360" w="322" h="153">
  
          <button name="1" w="322" h="153" on_click="restart()" >
            <container name="default" w="320" h="145">
              <image filename="data/gui/but_main_sm_d.png"  />
              <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Try Again"/>        
            </container>
            <container name="active" w="320" h="145" >
              <affine_animation x="0" y="0" w="372" h="203" filename="data/themes/christmas/backgrounds/back1/animations/ab0.anim.xml" autoremove="0">
                <image9 x='-30' y='-20' w="372" h="203" filename="data/gui/highlight_button.png" corner="50"/>
              </affine_animation>
              <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163"  />
              <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Try Again"/>          
            </container>
            <container name="pressed" w="320" h="145" x="5" y="5">
              <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163" />
              <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Try Again"/>                  
            </container>
          </button>
      
        </container>
    
        <button x="525" y="15" w="80" h="80"  on_click="toMain()">
          <container name="default" w="80" h="80" >
            <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
            <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
          </container>
		
          <container name="active" w="80" h="80" >
            <image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
            <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
            <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
          </container>
		
          <container name="pressed"  w="80" h="80" x="5" y="5" >
            <image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
            <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
            <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
          </container>
        </button> 
	
      </container>
      
      <container fillParent="1" name="challenge">
    
        <container x="160" y="360" w="322" h="153">
          <button name="1" w="322" h="153" on_click="restart()" >
            <container name="default" w="320" h="145">
              <image filename="data/gui/but_main_sm_d.png"  />
              <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Try Again"/>        
            </container>
            <container name="active" w="320" h="145" >
              <affine_animation x="0" y="0" w="372" h="203" filename="data/themes/christmas/backgrounds/back1/animations/ab0.anim.xml" autoremove="0">
                <image9 x='-30' y='-20' w="372" h="203" filename="data/gui/highlight_button.png" corner="50"/>
              </affine_animation>
              <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163"  />
              <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Try Again"/>          
            </container>
            <container name="pressed" w="320" h="145" x="5" y="5">
              <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163" />
              <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Try Again"/>                  
            </container>
          </button>
        </container>
    
        <button x="525" y="15" w="80" h="80"  on_click="toMain()">
          <container name="default" w="80" h="80" >
            <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
            <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
          </container>
		
          <container name="active" w="80" h="80" >
            <image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
            <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
            <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
          </container>
		
          <container name="pressed"  w="80" h="80" x="5" y="5" >
            <image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
            <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
            <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
          </container>
        </button> 
	
      </container>
      
    </variant_container>
    
    
  </container>
  
</container>