﻿/***********************************************************************************
 * Section: General CapitalFinance Rules 
 ***********************************************************************************/
#alv .alv-color1 {
	color: #0055a5 !important;
}

/***********************************************************************************
 * Section: multiple-select
 ***********************************************************************************/
#alv .ms-parent {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

#alv .ms-choice {
	display: block;
	width: 100%;
	height: 26px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #aaa;
	text-align: left;
	white-space: nowrap;
	line-height: 26px;
	color: #444;
	text-decoration: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #fff;
}

#alv .ms-choice.disabled {
	background-color: #f4f4f4;
	background-image: none;
	border: 1px solid #ddd;
	cursor: default;
}

#alv .ms-choice > span {
	position: absolute;
	top: 0;
	left: 0;
	right: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	padding-left: 8px;
}

#alv .ms-choice > span.placeholder {
	color: #999;
}

#alv .ms-choice > div {
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 25px;
	background: url('../images/capitalFinance/multiple-select.png') left top no-repeat;
}

#alv .ms-choice > div.open {
	background: url('../images/capitalFinance/multiple-select.png') left top no-repeat;
}

#alv .ms-drop {
	width: 100%;
	overflow: hidden;
	display: none;
	margin-top: -1px;
	padding: 0;
	position: absolute;
	z-index: 1000;
	background: #fff;
	color: #000;
	border: 1px solid #aaa;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#alv .ms-drop.bottom {
	top: 100%;
	-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}

#alv .ms-drop.top {
	bottom: 100%;
	-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
	box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
}

#alv .ms-search {
	display: inline-block;
	margin: 0;
	min-height: 26px;
	padding: 4px;
	position: relative;
	white-space: nowrap;
	width: 100%;
	z-index: 10000;
}

#alv .ms-search input {
	width: 100%;
	height: auto !important;
	min-height: 24px;
	padding: 0 20px 0 5px;
	margin: 0;
	outline: 0;
	font-family: sans-serif;
	font-size: 1em;
	border: 1px solid #aaa;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: #fff url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px;
	background: url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
	background: url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
	background: url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
	background: url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
	background: url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
	background: url('../images/capitalFinance/multiple-select.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
}

#alv .ms-search, .ms-search input {
	-webkit-box-sizing: border-box;
	-khtml-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

#alv .ms-drop ul {
	overflow: auto;
	margin: 0;
	padding: 5px 8px;
}

#alv .ms-drop ul > li {
	list-style: none;
	display: list-item;
	background-image: none;
	position: static;
}

#alv .ms-drop ul > li .disabled {
	opacity: .35;
	filter: Alpha(Opacity=35);
}

#alv .ms-drop ul > li.multiple {
	display: block;
	float: left;
}

#alv .ms-drop ul > li.group {
	clear: both;
}

#alv .ms-drop ul > li.multiple label {
	width: 100%;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#alv .ms-drop ul > li label {
	font-weight: normal;
	display: block;
	white-space: nowrap;
}

#alv .ms-drop ul > li label.optgroup {
	font-weight: bold;
}

#alv .ms-drop input[type="checkbox"] {
	vertical-align: middle;
}

#alv .ms-drop .ms-no-results {
	display: none;
}

/***********************************************************************************
 * Section: treeview
 ***********************************************************************************/
#alv .treeview, #alv .treeview ul { 
	padding: 0;
	margin: 0;
	list-style: none;
}

#alv .treeview ul {
	background-color: white;
	margin-top: 4px;
}

#alv .treeview .hitarea {
	background: url(../images/capitalFinance/treeview-default.gif) -64px -25px no-repeat;
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}
/* fix for IE6 */
#alv * html .hitarea {
	display: inline;
	float:none;
}

#alv .treeview li { 
	margin: 0;
	padding: 3px 0pt 3px 16px;
	list-style: none outside none;
}

#alv .treeview a.selected {
	background-color: #eee;
}

#alv #treecontrol { margin: 1em 0; display: none; }

#alv .treeview .hover { color: red; cursor: pointer; }

#alv .treeview li { background: url(../images/capitalFinance/treeview-default-line.gif) 0 0 no-repeat; }
#alv .treeview li.collapsable, #alv .treeview li.expandable { background-position: 0 -176px; }

#alv .treeview .expandable-hitarea { background-position: -80px -3px; }

#alv .treeview li.last { background-position: 0 -1766px }
#alv .treeview li.lastCollapsable, #alv .treeview li.lastExpandable { background-image: url(../images/capitalFinance/treeview-default.gif); }  
#alv .treeview li.lastCollapsable { background-position: 0 -111px }
#alv .treeview li.lastExpandable { background-position: -32px -67px }

#alv .treeview div.lastCollapsable-hitarea, #alv .treeview div.lastExpandable-hitarea { background-position: 0; }

#alv .treeview-red li { background-image: url(../images/capitalFinance/treeview-red-line.gif); }
#alv .treeview-red .hitarea, #alv .treeview-red li.lastCollapsable, #alv .treeview-red li.lastExpandable { background-image: url(../images/capitalFinance/treeview-red.gif); } 

#alv .treeview-black li { background-image: url(../images/capitalFinance/treeview-black-line.gif); }
#alv .treeview-black .hitarea, #alv .treeview-black li.lastCollapsable, #alv .treeview-black li.lastExpandable { background-image: url(../images/capitalFinance/treeview-black.gif); }  

#alv .treeview-gray li { background-image: url(../images/capitalFinance/treeview-gray-line.gif); }
#alv .treeview-gray .hitarea, #alv .treeview-gray li.lastCollapsable, #alv .treeview-gray li.lastExpandable { background-image: url(../images/capitalFinance/treeview-gray.gif); } 

#alv .treeview-famfamfam li { background-image: url(../images/capitalFinance/treeview-famfamfam-line.gif); }
#alv .treeview-famfamfam .hitarea, #alv .treeview-famfamfam li.lastCollapsable, #alv .treeview-famfamfam li.lastExpandable { background-image: url(../images/capitalFinance/treeview-famfamfam.gif); } 

#alv .treeview .placeholder {
	background: url(../images/capitalFinance/ajax-loader.gif) 0 0 no-repeat;
	height: 16px;
	width: 16px;
	display: block;
}
