#sortTemplate{
width:700px;
}

img{border:none;}
a img{border:none}
a{border:none;}
  .templateBuilder h1,.tplLeft h1,.tplRight h1{
      font-family:"Lucida Grande", Geneva, Arial, Verdana, sans-serif;
      font-size:22px;
      font-weight:normal;
      padding:0;
      margin:0 0 10px 0;
      color:#c41d1d;
  }
  .tplLeft h1,.tplRight h1{
      font-size:15px;
      color:#0091D0;
      font-weight:bold;
      
  }
  
  .tplLeft,.tplRight{
      float:right;
      width:300px;
      padding:5px;
      
/*          background:#f1f1f1;*/
  }
  .tplLeft{
  	float:left;
      margin:0 0 0 0;
       width:280px;
  }
  /********************************************************
 *   CLEAR FLOATING DIVS
 *******************************************************/
.clear:after {
    content:"."; 
        display:block; 
        height:0; 
        clear:both; 
        visibility:hidden;
    }
    .clear {
        display:inline-block;
    }
    .clear {
        display:block;
    }
    * html .clear {
        height:1px;
    }
    
  .templateBuilder ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 0; float:left;width:290px;}
  .templateBuilder #sortable{ padding:5px;min-height:200px;}
  .templateBuilder .emptySortable{
  		background:url(../images/template-images/icon-drop.png) no-repeat 50% 50% #f1f1f1;
  }
  
  .templateBuilder .fillSortable{
  		background:#f1f1f1;
  }
  
  .templateBuilder li { margin: 2px 0 2px 0; padding: 0px; width:290px;}
  .templateBuilder li img{border:1px dotted #ccc}
  .templateBuilder #draggable{margin:0 0 0 0}
  .templateBuilder #draggable li{cursor:move}
  .templateBuilder  li div.close_container{
      position:relative;
      z-index: 99999;
  }
  .templateBuilder  li a.icon-close{
      position:absolute;
      right:0px;
      top:0px;
      border:1px solid #ccc;
      background:url(../images/template-images/icon-close.gif) no-repeat #fff;
      width:16px;
      height:16px;
      z-index:9999;
  }
  .templateBuilder li a.icon-close:hover{
      background-color: #FF8000;
      border:1px solid #121212;
  }
  .ui-state-highlight { 
      border:1px dashed #ccc;
  }
  
#mediaLibrary{
	margin-top:5px;
	border:1px solid #d4d4d4;
	height:400px;
	overflow-y:scroll;
	padding:5px;
}
#mediaLibrary .mItem,#mediaLibrary .mItem-last{
	width:102px;
	height:150px;
	margin:0 9px 9px 0;
	float:left;
	
	padding:2px;
}
#mediaLibrary .mItem .mItemControls,#mediaLibrary .mItem-last .mItemControls{
	
	padding:5px 5px 5px 0;
	text-align:right;
	background:#eee;
	border:1px solid #ccc;
	
}
#mediaLibrary .mItem .mItemControls img,#mediaLibrary .mItem-last .mItemControls img{
	cursor:pointer;	
}

#mediaLibrary .mItemsImage{
	border-right:1px solid #ccc;
	border-top:1px solid #ccc;
	border-left:1px solid #eee;
	border-bottom:1px solid #eee;
	cursor:pointer;
}
#mediaLibrary .mItemsImage:hover{
	background:#f1f1f1;	
}
#mediaLibrary .mItem-last{
	margin:0;	
}

#products table,#layout table{
	height:100%;
}

#products table{
	border-collapse: collapse;
}
#products table td{
	
	border:1px solid #ccc;
}
#products table.inner_prod{
	border-collapse:collapse;
	height:100%;
	
}
#products table.inner_prod td{border:none}


#mceResult table{
	height:100%;
}

#products .product_json{
	display:none;
}
#layout{
	margin:5px 5px 5px 5px;
	width:647px;
	overflow-x:auto;
}
#clearLayout, #liveContent{display:none;}

textarea.tinymce{
	width:650px;
}

#editor_tabs{
/*	border:1px solid red;*/
position:relative;
bottom:-1px;

}
#editor_tabs a{
	display:block;
	float:left;
	height:22px;
	line-height:22px;
	text-decoration:none;
	background:#f0f0ee;
	border:1px solid #ccc;
	margin:0 5px 0 0;
	padding:0 10px 0 10px;
	color:#666;
	text-transform:uppercase;
}
#editor_tabs a.sel{
	border-bottom:1px solid #f0f0ee;
	color:#000;
}


#builder-form{
display:none;
}
#products table{
	height:auto;
}

#pages{
	float:right;
}
#pages a{
	float:left;
	display:block;
	padding:2px 6px 2px 6px;
	margin:0 5px 0 0;
	background:#f1f1f1;
	border:1px solid #ccc;
}

#pages a:hover{
	background:#DEE9F5;
}
#pages a.sel{
	background:#DEE9F5;
}
#loaderImage{
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
	        
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	        border:1px solid #D4D4D4;
}