a.UIModal_trigger {
	overflow: hidden;
}
div#UIModal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: -moz-radial-gradient(center 45deg, circle farthest-corner, rgba(127, 127, 127, 0.5) 0%, rgba(100, 100, 100, 0.5) 35%, rgba(50, 50, 50, 0.7) 100%);
	background: rgba(0, 0, 0, .5);
	z-index: 90000;
}
div#UIModal_wrapper {
	border: 1px solid #666;
	width: 800px;
	height: 400px;
	background: #fff;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -200px;
	margin-left: -400px;
	-moz-box-shadow: 0 0 50px rgba(0, 0, 0, .9);
	box-shadow: 0 0 50px rgba(0, 0, 0, .9);
	z-index: 90001;
}
div#UIModal_wrapper.options {
	margin-top: -250px;
	height: 500px;
}
div#UIModal_header {
	padding: 5px 5px 1px;
	border-bottom: 1px solid #999;
	background: -moz-linear-gradient(90deg, #E3E3E3, #F2F2F2);
	background: linear-gradient(90deg, #E3E3E3, #F2F2F2);
	text-align: right;
}
div#UIModal_header h1 {
	font-size: .916em;
	margin: 4px 7px;
	font-weight: bold;
	color: #444;
	display: inline-block;
	float: left;
}
input#UIModal_search {

}
a#UIModal_search_clear {
	margin-left: -26px;
}
a#UIModal_search_clear.hide {
	display: none;
}
#UIModal_view_list,
#UIModal_view_grid {
	float: right;
	height: 15px;
	width: 11px;
	margin-right: -1px;
	background: url(../img/backend_sprite.png) -114px 0px no-repeat, -moz-linear-gradient(90deg, #E3E3E3, #F2F2F2);
	background: url(../img/backend_sprite.png) -114px 0px no-repeat, linear-gradient(0deg, #E3E3E3, #F2F2F2);
}
#UIModal_view_list {
	background-position: -90px 0px;
	border-right: 0;
}
#UIModal_view_list.selected {
	background: url(../img/backend_sprite.png) -90px 0px no-repeat, -moz-linear-gradient(90deg, #ccc, #bbb);
	background: url(../img/backend_sprite.png) -90px 0px no-repeat, linear-gradient(0deg, #ccc, #bbb);
}
#UIModal_view_grid.selected {
	background: url(../img/backend_sprite.png) -114px 0px no-repeat, -moz-linear-gradient(90deg, #ccc, #bbb);
	background: url(../img/backend_sprite.png) -114px 0px no-repeat, linear-gradient(0deg, #ccc, #bbb);
}
div#UIModal_content {
	border-bottom: 1px solid #999;
	height: 321px;
	overflow: auto;
	background-color: #ddd;
	padding: 4px;
}
div#UIModal_options {
	height: 79px;
	padding: 10px 10px 10px 25px;
	border-bottom: 1px solid #999;
	background-color: #eee;
}
div#UIModal_options h4 {
	color: #666;
	font-size: .9em;
	font-weight: bold;
	margin-bottom: 4px;
}
div#UIModal_options input {
	margin: 9px 10px 0 0;
}
div#UIModal_options textarea {
	width: 95%;
}
a#UIModal_closer {
	/*float: right;*/
	/*margin: 5px;*/
}
div#UIModal_footer {
	padding: 5px 1px 0;
	text-align: right;
}

/*------------------------------------------------------------------------
	pagination
*/
#UIModal_content .UITable_pagination {
	margin-bottom: 5px;
}
#UIModal_content .UITable_pagination a {
	border: 0;
	padding: 1px 8px 2px;
	margin-bottom: 3px;
}
#UIModal_content .UITable_pagination li.current a {
	border-top: 1px solid #aaa !important;
	border-bottom: 1px solid #eee !important;
	background-color: #ccc;
	color: #fff;
}

/*------------------------------------------------------------------------
	content
*/
#UIModal_content table.table-list {
	border: 1px solid #bbb;
	color: #888;
	margin-bottom: 0;
}
#UIModal_content table.table-list th {
	background: #eee;
	border-bottom: 0;
}
#UIModal_content table.table-list tr {
	background-color: #fff;
}
#UIModal_content table.table-list tbody td {
	/*border-bottom: 1px solid #eee;*/
}
#UIModal_content table.table-list tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}
#UIModal_content table.table-grid {
	background-color: #fff;
	table-layout: fixed;
	width: 100%;	
}
#UIModal_content table.table-grid tr {
	background-color: #fff;
}
#UIModal_content table.table-grid td {
	border: 1px solid #ddd	;
	padding: 0;
	text-align: center;
	padding: 4px;
}
#UIModal_content table.table-grid td a {
	border-bottom: 0;
}
#UIModal_content table.table-grid td a span {
	font-size: .5em;
	display: none;
}

/*------------------------------------------------------------------------
	value
*/
a.btn.UIModal_label_close {
	margin-left: -5px;
	background: url(../img/backend_sprite.png) -170px 7px no-repeat, -moz-linear-gradient(top, #609E59, #007405);
	background: url(../img/backend_sprite.png) -170px 7px no-repeat, linear-gradient(to bottom, #609E59, #007405);
	border-top-color: #8ebe89;
	border-bottom-color: #002802;
	border-right: 0;
	border-left: 0;
	width: 7px;
	z-index: 9001;
	position: relative;
	overflow: hidden;
}
a.btn.UIModal_label_close:hover {
	border-top-color: #c00;
	background: url(../img/backend_sprite.png) -186px 7px no-repeat, -moz-linear-gradient(top, #900, #800);
	background: url(../img/backend_sprite.png) -186px 7px no-repeat, linear-gradient(to bottom, #900, #800);
}

/*------------------------------------------------------------------------
	loading ...
*/
.UIModal_spinner .spinner-content {
	position: relative;
	top: 50%;
}
.UIModal_spinner .spinner-msg {
	text-align: center;
}
#UIModal_header .UIModal_spinner, 
.UIModal_spinner .spinner-img {
	background: url(../img/UIModal-loader.gif) 0 0 no-repeat;
	width: 13px;
	height: 13px;
	margin: 0 auto;
	display: inline-block;
}
#UIModal_header .UIModal_spinner {
	margin-right: 8px;
	position: relative;
	top: 2px;
}
#UIModal_wrapper .spinner {
	position: absolute;
	opacity: 0.9;
	z-index: 999;
	background: #ddd;
	margin-top: -330px;
}
#UIModal_wrapper .spinner-msg {
	text-align: center;
	font-weight: bold;
}
#UIModal_wrapper .spinner-content {
	position: relative;
	top: 50%;
}
#UIModal_wrapper .spinner-img {
	background: url(../img/ajax-loader.gif) no-repeat;
	width: 24px;
	height: 24px;
	margin: 0 auto;
}

