.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}

#layout-container {
  position: relative;
  width:100%;
}

.component {
	z-index: 950;
}

.tall {
	z-index: 950;
	top: 240px;
	left: 340px;
    height: 40px;
    width: 10px;
}

.wide {
    width: 40px;
    height: 10px;
	padding: 0px;
	z-index: 950;
	top: 240px;
	left: 360px;
}

#my-case-placeholder {
  width: 960px;
  height: 435px;
}

#my-case {
	position: absolute;
/*	top: 400px;
	left: 20px;*/
    top: 0px;
	width: 960px;
	height: 401px;
	z-index: 10;
	border-top:none;
	background: url('/images/case-layout/grid.png') repeat-x 0 0;
}

#info {
	position: absolute;
    top: -35px;
	left: 250px;
	width: 550px;
	height: auto;
	font-family: Helvetica, Verdana, Arial;
	font-size: 12px;
	z-index: 950;
	background-color: #c06000;
	color: #cccccc;
	padding: 8px;
}


#msg-box {
	position: absolute;
	top: 350px;
	left: 500px;
	background-color: red;
	color: white;
	font-size: 12px;
	font-family: Helvetica, Verdana, Arial;
}

.case {
	border: 1px solid #c06000;
}

.case-hover {
	border-color: red;
}

.hover {
	border: 1px solid red;
}


.placed {
	z-index: 3001;
	position: absolute;
	top: 0px;
	left: 0px;
	cursor: move;
	border: 1px dotted #eeeeee;
	padding: 0px;
}

.template {
	cursor: move;
}

.remove-button {
	left: -10px;
	top: -10px;
	position: absolute;
	/*
background-image: url('/images/case-layout/remove_button_icon.png');
	background-position: bottom right;
	background-repeat: no-repeat;
*/
	width: 16px;
	height: 16px;
	cursor: pointer;
	z-index: 3002;
}


#comp-depth {
	width: 50px;
	text-align: right;
}


img#arrow {
	float: right;
	clear: none;
	cursor: pointer;
}

img.circle,img.square, img.triangle, img.pill, img.polygon {
	height: 100%;
	width: 100%;
}

div.square {
    width: 20px;
    height: 20px;
    float:left;
}
div.circle {
    width: 20px;
    height: 20px;
    float:left;
}

div.pill {
    width: 20px;
    height: 20px;
    float:left;
}

div.triangle {
    width: 20px;
    height: 20px;
    float:left;
}

div.polygon {
    width: 40px;
    height: 20px;
    float:left;
}

#comp-label {
	position: absolute;
	top: 270px;
	left: 250px;
	width: 70px;
	border-top: 1px solid #cccccc;
	color: #666666;
	font-family: Helvetica, Verdana, Arial;
	font-size: 10px;
	padding-top: 4px;
}

#div-label {
	position: absolute;
	top: 290px;
	left: 340px;
	width: 60px;
	border-top: 1px solid #cccccc;
	color: #666666;
	font-family: Helvetica, Verdana, Arial;
	font-size: 10px;
	padding-top: 4px;
}

#search-results {
	margin: 10px;
	width: 100%;
	text-align: left;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 13px;
	display: block;
	position: relative;
	float: left;
	overflow-y: auto;
}

#search-results td, #search-results th {
	padding: 5px;
	border-color: #c06000;
	border-width: 1px;
	border-style: solid;
}

#search-results table {
	width: 250px;
	text-align: left;
	border-collapse: collapse;
	margin: 10px;
}

#search-results h1 {
	font-size: 16px;
	font-weight: bold;
}

#search-results a {
	color: #c06000;
/* 	text-decoration: none; */
}

#search-results a:hover {
	text-decoration: underline;
	color: #c06000;
}

#grid-results {
  border: 1px solid #c06000;
  position: relative;
  display: none;
  width: 850px;
  min-height: 170px;
  z-index: 10;
  margin: 21px 15px 10px 15px;
  padding: 10px;
}
#grid-results p {
  margin: 0;
  padding: 0;
}

.layout-table {
  border: 1px solid black;
  margin: 0 0 0 0;
  padding: 0;
  border-spacing: 0;
}
.layout-table td, .layout-table th, .layout-table td, .layout-table th {
  padding: 4px;
  font-size: 11px;
  text-align: left;
}
.layout-table .even {
  background-color: #eeeeee;
}
.layout-table .odd {
}

