﻿/* Search panel */
.sl-searchPanel {
    width:350px;
    height:380px;
    border:1px solid #d3d3d3;
    background-color:#f4f4f4;
}

/* Search panel - short */
.sl-searchPanel-short {
    width:350px;
    height:320px;
    border:1px solid #d3d3d3;
    background-color:#f4f4f4;
}

/* DIV containing the search field */
div.sl-searchFieldContainer {
	margin:20px 20px 15px 20px;
}

/* Style the search input field */
.sl-searchField {
	float:left;
	width:225px;
	height:31px;
    line-height:31px;
    text-indent:5px;
	font-family:arial, sans-serif;
	font-size:12px;
	color:#333;
	background:#fff;
	border:solid 1px #d9d9d9;
	border-top:solid 1px #c0c0c0;
	border-right:none;
    padding:0;
}

/* Hide cross-button in IE10 */
.sl-searchField::-ms-clear {
    display:none;
}

/* Style the "X" text button next to the search input field */
.sl-searchCloseLabelContainer {
    display:inline;
    float:left;
	width:31px;
	height:31px;
	margin-right:10px;
	padding:0;
	font-family:"Lucida Sans","Lucida Sans Unicode",sans-serif;
	font-size:22px;
	background:#fff;
	border:solid 1px #d9d9d9;
	border-top:solid 1px #c0c0c0;
    color:#A1B9ED;
	cursor:pointer;
    text-align:center;
}

/* Set the hover state of "X" */
.sl-searchCloseLabelContainer:hover {
	color:#36c;
}

/* "X" label */
.sl-searchCloseLabel {
}

/* Style the search button. Settings of line-height, font-size, text-indent used to hide submit value in IE */
.sl-searchButton {
	cursor:pointer;
	width:31px;
	height:33px;
	line-height:0;
	font-size:0;
	text-indent:-999px;
	color:transparent;
	background:url(../images/search.png) no-repeat #f4f4f4 center;
    _background:url(../images/search.gif) no-repeat #f4f4f4 center; /*For IE6*/
	border-width:0;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
    -ms-border-radius:2px;
    border-radius:2px;
}

/* Style the search button hover state */
.sl-searchButton:hover {
	border:1px solid #d3d3d3;
    *border:0; /*Hides border in IE7 and below*/
}

/* DIV containing the search result */
.sl-searchResultContainer {
    margin:15px 20px 20px 20px;
    width:310px;
    height:290px;
    overflow:auto;
}

/* DIV containing the search result */
.sl-searchResultContainer-short {
    margin:15px 20px 20px 20px;
    width:310px;
    height:230px;
    overflow:auto;
}

/* Tree node */
.sl-searchTree span {   
    padding:2px 3px;
}

/* Non-highlighted tree node */
.sl-searchTree span.sl-searchTreeNode {
    color:#ba1319;
}

/* Highlighted tree node */
.sl-searchTree span.sl-searchTreeNodeHighlighted {
    background-color:#f5821f;
    color:#ffffff;
}

/* Leaf tree node */
.sl-searchTreeLeaf {
}

/* Custom location list */
ul.sl-customLocations {
    list-style:none;
    margin:0;
    padding-left:2px;
}

/* Custom location list item */
ul.sl-customLocations li {
    margin-top:5px;
    padding-left:20px;
    background:url(../images/circleIcon.gif) no-repeat left center;
}

/* First item of the custom location list */
ul.sl-customLocations li.sl-firstCustomLocation {
    margin-top:0;
}

/* Expandable item of the custom location list */
ul.sl-customLocations li.sl-expandableCustomLocation {
    background:url(../images/plusIcon.gif) no-repeat left center;
}

/* Custom location list item link */
.sl-customLocations a {
    margin-left:-20px;
    padding:2px 3px 2px 20px;
    color:#ba1319;
    display:block;
}

/* Selected custom location list item link */
.sl-customLocations a.sl-selectedCustomLocationText {
    color:#ee2e24;
    font-weight:bolder;
}

/* Custom location list item link in different states */
.sl-customLocations a:link {
    text-decoration:none;
}
.sl-customLocations a:visited {
    text-decoration:none;
}
.sl-customLocations a:hover {
    text-decoration:underline;
}
.sl-customLocations a:active {
    text-decoration:underline;
}

/* Recent locations header container */
.sl-recentLocationsHeaderContainer {
    margin:8px 0 0 0;
}

/* Recent locations header text */
.sl-recentLocationsHeaderText {
}

/* Recent location list */
ul.sl-recentLocations {
    list-style:none;
    margin:8px 0 0 0;
    padding-left:2px;
}

/* Recent location list item */
ul.sl-recentLocations li {
    margin-top:5px;
    padding-left:20px;
    background:url(../images/circleIcon.gif) no-repeat left center;
}

/* Recent location list item link */
.sl-recentLocations a {
    margin-left:-20px;
    padding:2px 3px 2px 20px;
    color:#ba1319;
    display:block;
}

/* Recent location list item link in different states */
.sl-recentLocations a:link {
    text-decoration:none;
}
.sl-recentLocations a:visited {
    text-decoration:none;
}
.sl-recentLocations a:hover {
    text-decoration:underline;
}
.sl-recentLocations a:active {
    text-decoration:underline;
}

/* "Search location" handler - hidden field */
.sl-handlerName { 
}

/* Search tag - hidden field */
.sl-searchTag {
}

/* "No records available" text */
.sl-noRecordsAvailable {
    color:#595959;
}

/* Start: Overriden jquery-ui and treeview styles */

/* Autocomplete list item */

.ui-menu {
    border-radius: 6px;
}

.ui-menu .ui-menu-item {
    width:270px;
    cursor: default;
    padding:2px;
}

.ui-menu .ui-menu-item div {
    text-decoration: none;
    display: block;
    padding: 2px .4em;
    line-height: 1.5;
    min-height: 0;
    font-weight: normal;
    
    border-radius: 6px;
    list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
    
}


.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	border: 1px solid #cdd5da;
	background: #f6f6f6 url(images/ui-bg_highlight-hard_100_f6f6f6_1x100.png) 50% 50% repeat-x;
	font-weight: bold;
	color: #111111;
}




/* "Tree" list */
.treeview ul {
    background-color:#f4f4f4;
}



/* End: Overriden jquery-ui and treeview styles */