.widget {
	margin: 10px;
}

.ui-widget-header {
	font-weight: bold;
	font-size: 12px;
	letter-spacing: 1px;
	padding: 0 10px;
	height: 29px;
	vertical-align: middle;
}

.ui-widget-header img {
	margin-top: 5px;
}

.ui-widget-header span {
	line-height: 29px;		
}

.widget-title {
	float: left;
	height: 100%;
}

.widget-buttons {
	float: right;
	height: 100%;
	width: 60px;
}

.widget-button {
	cursor:pointer;
	float:right;
	height:100%;
	width:20px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.minimize {
	background-image: url(../images/buttons/minimize.png);
}

.maximize {
    background-image: url("../images/buttons/maximize.png");
}

.widget-button.close {
    background-image: url("../images/buttons/close.png");
}

.widget-edit {
	display: inline;
	float: right;
	line-height: 25px;
}

.widget-settings {
	display: none;
	background-color: #f3f3f3;
	background-position: bottom;
	background-repeat: repeat-x;
	color: black;
	padding: 1em;
	border: 1px solid #aaa;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #999;
}

ul.widget-tabs {
	background-image: url(../images/gradients/widget-grad.png);
	background-color: #fff;
	background-position: bottom;
	background-repeat: repeat-x;
	list-style: none;
	border-bottom: 1px solid #aaa;
	padding: 3px 5px 3px 6px;
	color: #3f3f3f;
	cursor: default;
}

ul.widget-tabs>li.active {
	background-image: url(../images/gradients/widget-grad-inv.png);
	background-color: #efefef;
	background-position: top;
	background-repeat: repeat-x;
	border: 1px solid #aaa;
}

ul.widget-tabs>li {
	padding: 0;
	margin: 0 5px 0 0;
	font-weight: bold;
	border: 1px solid transparent;
	vertical-align: middle;
	border-top-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-webkit-border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	-moz-border-radius-bottomleft: 3px;
	-webkit-border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

ul.widget-tabs>li .tab-label {
	padding: 3px 20px 3px 20px;
	height: 16px;
	line-height: 16px;
	background-repeat: no-repeat;
	background-position: 2px 3px;
}

ul.widget-tabs>li.loading .tab-label {
	background-image: url(../images/ajax-loader.gif);
}

ul.widget-tabs>li.error .tab-label {
	background-image: url(../images/exclamation.png);
}

ul.widget-tabs>li:hover {
	border: 1px solid #bbb;
}

ul.widget-tabs>li.active:hover {
	border: 1px solid #999;
}

ul.widget-tabs>li.right:hover {
	border:1px solid transparent;
}

ul.widget-tabs>li.right.active:hover {
	border:1px solid transparent;
}

.widget-settings span {
	display: block;
	padding: 0.5ex;
	margin-right: 1ex;
	font-weight: bold;
}

.widget-settings input[type=submit] {
	clear: left;
	float: right;
}

.widget-content {
	display: none;
	background: white;
	padding: 1em;
	border-top: 1px solid #ddd;
}

.widget-content.first {
	display: block;	
}

.widget-body {
	border: 1px solid #aaa;	
}

.widget-center {
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.search-result {
	display: none;
	overflow: hidden;
	background-color: #FFF;
	border: 1px solid #ccc;
	min-width: 103px;
}

.search-result .ui-state-active {
	font-weight: normal;
}

.scrollable .items { 
    /* this cannot be too large */ 
    height:20000em; 
    position:absolute;
    width: 100%;
}

.scrollable { 
    /* required settings */ 
    position:relative; 
    overflow:hidden; 
    height:300px; 
}

.scrollable .item {
	height: 19px; 
	line-height: 19px; 
	overflow: hidden;
	cursor: pointer;
	border-bottom: 1px solid #ccc;
}

.search-result div.fakerow>div {
	margin-right: 10px;
	overflow: hidden;
}

.search-window .person-id {
	width: 144px;
	margin-left: 3px;
	margin-right: 1ex;
}

.search-window .first-name {
	width: 146px;
	margin-right: 1ex;
}

.search-window .last-name {
	width: 148px;
	margin-right: 1ex;
}

.search-window .email {
	margin-right: 0 !important;
	overflow: visible !important;
}

.search-window .hidden {
	display: none;
}

.person_visa_inte{
	padding: 4px;
}

.empty_search_result{
	float: left; 
	margin-right: .3em;
}

.search-result .heading {
	height: 25px;
	line-height: 25px;
	border-bottom: 1px solid #ccc;
	background-image: url(../images/gradients/widget-grad.png);
	background-position: 0 3px;
	background-repeat: repeat-x;
	background-color: #fff;
	font-weight: bold;
	overflow: hidden;
}

.search-window {
	/*background-image: url(../images/gradients/large-grad.png);*/
	/*background-color: #f0f0f0;*/
	/*background-position: top;*/
	/*background-repeat: repeat-x;*/
	padding: 0.3em 1em;
	/*border-bottom: 1px solid #ddd;*/
}

.search-window h2 img {
	vertical-align: middle;
}

.search-window .input-block {
	line-height: 20px;
	padding: 2px 0 0 0;
}

.search-window .search-form {
	margin-top: 10px;
	margin-bottom: 5px;
}

.search-result-selected {
	font-weight: bold;
	display: block;
	padding-top: 1em;
	font-size: 1.2em;
}

.search-result-selected span {
	padding-right: 1ex;
}

.prototypeTitle span {
	padding-right: 1ex;
}

.widget-footer {
	clear: both;
}

.widget-header > * {
	line-height: 25px;
	float: left;
	margin-left: 1em;
}

.widget-footer > * {
	line-height: 25px;
	float: right;
	margin-right: 1em;
}

.widget-filter {
	margin-left: 1em;
}

.clearfix, .widget-header, .input-row, .controls-block {
    *zoom: 1;
}

.clearfix:after, .widget-header:after, .input-row:after, .controls-block:after {
    clear: both;
    content: "";
    display: table;
}

.separator {
	border-bottom: 1px solid #A6C9E2;
	margin: 1em 0;
}

.input-row {
	margin: 4px 0 4px 10px;
	clear: left;
}

.input-row > * {
	float: left;
	min-height: 2em;
	line-height: 2em;
}

.input-row > label {
	width: 120px;
	display: inline-block;
}

.ui-autocomplete {
	max-height: 255px;
	overflow-y: auto;
}

img.loader {
  display: none;
  position: relative; 
}

.input-row .loader {
	top: 3px;
	float: right;
}

.widget-footer .loader, .button-container .loader, .submit-loader .loader {
  top: 5px;
}

.controls-block {
	width: 320px;
	float: left;
}

.highlightContainer {
	padding: .5em;
	margin-bottom: 1em;
}

.highlightContainer span {
	float: left;
	margin-right: .3em;
}

.sort-header th {
	text-align: left;
	cursor: pointer;
	line-height: 15px;
}
 
.sort-header th .label {
	margin-right: 3px;
}

.sort-header th.sorting .icon,
.sort-header th.sorting_asc .icon,
.sort-header th.sorting_desc .icon {
	float:right;
	min-height: 15px;
	height: 15px;
	width: 15px;
	background-image: url(redmond/images/ui-icons_6da8d5_256x240.png);
	background-repeat: no-repeat;
	margin-right: 0;
}

.sort-header th.sorting_asc .icon:hover,
.sort-header th.sorting_desc .icon:hover {
	background-image: url(redmond/images/ui-icons_2e83ff_256x240.png);
}

.sort-header th.sorting .icon {
	background-position: -128px 0px;
}

.sort-header th.sorting_asc .icon {
	background-position: 0px 0px;
}

.sort-header th.sorting_desc .icon {
	background-position: -64px 0px;
}
