     ev.preventDefault()
 
   setDraggedEl: (e)->
-    #debugger
     crt = $(e.currentTarget).parents(".tpl-block")[0].cloneNode(true) #.clone()
-    crt.style.backgroundColor = "red";
-    crt.style.position = "absolute"; crt.style.top = "0px"; crt.style.right = "0px";
+    crt.style.backgroundColor = "white";
+    crt.style.position = "absolute";
+    crt.style.border = "1px solid #666";
+    crt.style.boxShadow = "1px 2px 2px #adadad"
+    crt.style.top = "0px";
+    crt.style.right = "0px";
+    crt.style.opacity = 0.9;
     document.body.appendChild(crt);
     e.dataTransfer = e.originalEvent.dataTransfer;
     e.dataTransfer.setDragImage(crt, 0, 0);

  allowDrop: (ev)->
    #console.log("allos drop")
    ev.preventDefault()

  drop: (ev)->
    ev.preventDefault()


    @releaseBeforeItem()

    @displayEmptyBlocks()

  dropBlock: (container, tmpl)->
    #drop on before item or in tpl-container
    if $(".tpl-block.dojoDndItemBefore").length > 0
      container.find(".tpl-block.dojoDndItemBefore").before(tmpl)
      container.find('.mojoMcContainerEmptyMessage').hide()
    else
      container.find(".tpl-container").append(tmpl)
      #container.find('.mojoMcContainerEmptyMessage').hide()

  releaseBeforeItem: ()->
    $(".tpl-block").removeClass("dojoDndItemBefore")
