#entity-list {
	border: 3px solid #EEE;
	margin-top: 10px;
	overflow-x: scroll;
}

#entity-list th, #entity-list th img {
	vertical-align: bottom;
}

#entity-list tr {
	border-top: 1px solid #BBB;
	background-color: #F9F9F9;
}

#entity-list tr:first-child {
	border-top: none;
}

#entity-list tr.odd {
	background-color: #F0F0F0;
}

#entity-list tr.selected {
	border-top: 1px double #F8F;
	border-bottom: 1px double #F8F;
	background: #FFD;
}

#entity-list tr.invalid {
	color: #F0F;
}

#entity-list tr.deleted {
	color: #F00;
}

#entity-list th {
	background-color: #F0F0F0;
}

#entity-list tr:hover {
	background-color: #FFFEED;
}

#entity-list tr:hover .clickable {
	cursor: pointer;
	background-color: #BFF;
}

#entity-list th div:first-child {
	height: 40px;
	overflow: hidden;
}

#entity-list th {
	padding: 5px;
}

#entity-list th .filter {
	position: relative;
}

#entity-list tr {
	height: 35px !IMPORTANT;
}

#entity-list tr.first {
	border-top: 1px solid #66C;
}

#entity-list .magnifier {
	position: absolute;
	right: 2px;
	bottom: 2px;
	z-index: 1;
	cursor: pointer;
	width: 20px;
	height: 20px;
	display: inline-block;
	background-image: url(../img/search.png);
}

#entity-list th.sorting-asc, #entity-list th.sorting-desc {
	background: #DFF;
}

#entity-list .sorting-asc .magnifier {
	background-image: url(../img/sorting-asc.png);
}

#entity-list .sorting-desc .magnifier {
	transform: scaleY(-1);
	background-image: url(../img/sorting-asc.png);
}

#entity-list .magnifier:hover {
	background-image: url(../img/search-hover.png);
}

#entity-list td div, #entity-list td a, #entity-list td a:visited {
	display: block;
	height: 20px !IMPORTANT;
	overflow: hidden;
	white-space: nowrap;
}

#entity-list th input, #entity-list th select {
	vertical-align: bottom;
	font-weight: normal;
	width: 100%;
	margin: 2px;
	border: 1px solid gray;
	background-color: #FFF;
}

#entity-list td input {
	width: 85%;
	margin-left: 10%;
	text-align: right;
	padding-right: 2px;
}

#entity-list tr button:disabled {
	color: #888;
}

#entity-list {
	color: #555;
	//border: none;
}

#entity-list td, #entity-list th  {
	//border: none;
}

#entity-list button {
	width: 48px;
	height: 24px;
	margin: 3px;
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 40px 20px;
	border: 1px solid #88F;
	border-radius: 5px;
}

#entity-list button:disabled {
	-webkit-filter: grayscale(1) opacity(0.5);
	filter: grayscale(1) opacity(0.5);
}

#entity-list button:focus {
	border-color: #000;
	outline: none;
}

#entity-list .inline {
	overflow: visible;
	padding: 0;
	position: relative;
}

#entity-list .inline > div {
	position: relative;
	width: 100px;
	margin: 0px auto;
	left: 5px;
	bottom: 2px;
}

#entity-list .inline div > * {
	position: absolute;
	background: #FFF;
	height: 20px;
	display: inline-block;
	margin: 0;
	border: 1px solid #888;
}

#entity-list .inline.focused div > * {
	border-color: #00F;
}

#entity-list .inline.error div > * {
	border-color: #F00;
}

#entity-list .inline.saved div > * {
	border-color: green;
}

#entity-list .inline input {
	left: 20px;
	width: 60px;
	z-index: +1;
	font-weight: bold;
	padding-right: 5px;
	outline: 0;
}

#entity-list .inline input:focus {
	color: #C0F;
}

#entity-list .inline button {
	left: 0px;
	width: 30px;
	border-radius: 10px;
	background: #DDD;
}

#entity-list .inline button.increment {
	left: 70px;
}

#entity-list .inline button:before {
	position: absolute;
	bottom: 2px;
	content: "\2715";
	left: 5px;
	color: #C0F;
}

#entity-list .inline button.decrement:before {
	content: "\2796";
}

#entity-list .inline button.increment:before {
	content: "\2795";
	right: 5px;
}

#entity-list .pending {
	color: #BB3333;
}

#entity-list .invalid .inline div > * {
	border-color: #F00;
}

#entity-list .invalid .inline input {
	background: #DDD;
}
