/* Default custom select styles */

div.cs-select {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	text-align: left;
	background: #fff;
	z-index: 100;
	width: 100%;
	max-width: 250px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

div.cs-select:focus {
	outline: none; /* For better accessibility add a style for this in your skin */
}

.cs-select select {
	display: none;
}

.cs-select span {
    display: block;
    width: auto;
    max-width: 100%;
    position: relative;
    cursor: pointer;
    /*padding: 0.5em;*/
    padding: 6px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0090d4;
}

/* Placeholder and selected option */
.cs-select > span {
	padding-right: 3em;
}

.cs-placeholder {
    width: 100%;
    max-width: 100%;
    color: #FFFFFF !important;
    background: #B0B2B3;
}

.cs-select:hover > .cs-placeholder {
    background: #0090d4;
}

.cs-select > span::after,
.cs-select .cs-selected span::after {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cs-select > span::after {
	content: url('/relationship-management/assets/img/arrow_select.png');
    right: 10px;
}

.cs-select .cs-selected span::after {
	/*content: '\2713';*/
    /*margin-left: 1em;*/
}

.cs-selected > span {
    color:#FFFFFF !important;
    background: #80C7EA;
}

.cs-select.cs-active > span::after {
	-webkit-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
}

div.cs-active {
	z-index: 200;
}

/* Options */
.cs-select .cs-options {
	position: absolute;
	overflow: hidden;
	width: inherit;
    max-width: 100%;
    color: #0090d4;
    background: #ECECED;
    /*border: 1px solid #0090d4;*/
	visibility: hidden;
}

.cs-select.cs-active .cs-options {
	visibility: visible;
}

.cs-select ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.cs-select ul span {
	/*padding: 0.5em;*/
    padding: 6px 10px;

}

.cs-select li {
    border-left: 1px solid #0090d4;
    border-right: 1px solid #0090d4;
}

.cs-select li:last-child {
    border-bottom: 1px solid #0090d4;
}

.cs-select li span {
    border-bottom: 1px solid #FFFFFF;
}

.cs-select li:last-child span {
    border-bottom: none;
}

.cs-select li:hover span {
    color: #FFFFFF;
    background: #80C7EA;
}

.cs-select ul li.cs-focus span {
	background-color: #ddd;
}

/* Optgroup and optgroup label */
.cs-select li.cs-optgroup ul {
	padding-left: 1em;
}

.cs-select li.cs-optgroup > span {
	cursor: default;
}
