-if menu_item
  
  
  
  -menu_item_lang = menu_item.menu_item_langs.find_by_lang_site_id(@lang.id)
  
  -if menu_item_lang.enabled == true and menu_item_lang.visible == true
    -if menu_item.image_file
    
     
      -img_url = menu_item.image_file.file.large.medium.url 
      -if menu_item.image_file and menu_item.image_file.photograph
        -@page_images_credits << menu_item.image_file.photograph
    -css_style = "background-image:url('#{img_url}');background-size:100%;background-size:cover;background-position:center center;display:block;menu_itemn-height:50px;"
    
    .small_thumb
      =link_to @one_voice_host.to_s+menu_item_path(:url => menu_item_lang.url, :lang => @lang.slug), :style => css_style, :data => {:ratio => 1}, :class => "with_ratio" do



        .overlay


        %h4.title
          =menu_item.menu_item_langs.find_by_lang_site_id(@lang.id).name