/* ===============================================
 * Smart Select style
 * ===============================================
 */
.smartselect {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.smartselect button,
.smartselect button:hover,
.smartselect button:active {
	outline: 0;
}

/* select button */
.smartselect > button {
  min-width: 25%;
  width:100%;
}

.smartselect .ss-caret:hover, .smartselect .ss-icon:hover {

}

/* fix .caret.pull-right */
.smartselect .ss-caret.caret.pull-right {
  margin-top: 8px;
  margin-left: 5px;
}
.smartselect > button > .ss-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    opacity: 0;
}

/* hide different levels */
.smartselect .ss-hide.ss-hide-0,
.smartselect .ss-hide.ss-hide-1,
.smartselect .ss-hide.ss-hide-2,
.smartselect .ss-hide.ss-hide-3,
.smartselect .ss-hide.ss-hide-4,
.smartselect .ss-hide.ss-hide-5 {
	display: none;
}

/* level indention */
.smartselect .ss-group > a,
.smartselect .data-level-1.ss-nogrp > a {
	   padding-left: 50px;
    background: #f2f2f2!important;
    border-bottom: solid 1px #8c8c8c;
    padding-top: 6px;
    padding-bottom: 6px;
    display: block;
}
.smartselect .ss-group > a,
.smartselect .data-level-1.ss-nogrp > a:hover{
  /*background: #e5e4e4;*/
}
.smartselect .data-level-1 > a,
.smartselect .data-level-2.ss-nogrp > a {
	padding-left: 70px;
  background: #e1e1e1;
  padding-top: 5px;
  padding-bottom: 5px;
}
.smartselect .data-level-1 > a,
.smartselect .data-level-2.ss-nogrp > a:hover{
  background: #d3d2d2;
  color: transparent!important;
  font-size: inherit!important;
}
.smartselect .data-level-2 > a,
.smartselect .data-level-3.ss-nogrp > a {
	padding-left: 90px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #eeeeee;
  display: block;
}
.smartselect .data-level-3 > a,
.smartselect .data-level-4.ss-nogrp > a {
	padding-left: 110px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #ffffff;
  display: block;
}
.smartselect .data-level-3 > a,
.smartselect .data-level-4.ss-nogrp > a:hover{
   background: #f8f8f8;
}
.smartselect .data-level-4 > a,
.smartselect .data-level-5.ss-nogrp > a {
	padding-left: 130px;
  background: #eeeeee;
  display: block;
}
.smartselect .data-level-5 > a {
	padding-left: 150px;
}

/* select button */
.smartselect .ss-select-label {
	/*font-size: 15px;*/
}

/* optgroup */
.smartselect .ss-group .ss-label {
	/*font-size: 15px;
  font-weight: 600;*/
}
/*
.smartselect .ss-toolbar button {
    margin-bottom: 0 !important;
    margin-top: -1px !important;
}
*/
/* folder open/collapse */
.smartselect .ss-folder {
	font-size: 14px;
	padding-right: 34px;
	/*padding-left: 10px;
	padding-right: 10px;
	margin-left: 15px;*/
}
.smartselect .ss-folder:hover {
	color: red;
	cursor: pointer;
}
.smartselect .open .ss-folder.ss-open,
.smartselect .ss-folder.ss-close {
	display: inline;
    color: #666666;
}
.smartselect .open .ss-folder.ss-close,
.smartselect .ss-folder.ss-open {
	display: none;
}

/* checker */
.smartselect .ss-checker,
.smartselect .ss-checkno {
	width: 20px;
	padding-right: 6px;
	margin-left: -20px;
  color: #6b6b6b;
}

.smartselect .ss-checker,
.smartselect .active .ss-checkno {
  display: none;
}

.smartselect .active .ss-checker,
.smartselect .ss-checkno {
	display: inline;
}

/* toolbar */
.smartselect .ss-toolbar {
    position: absolute;
    z-index: 1100;
    top: 0;
    left: 100%;
    margin-left: 5px;
}

/* show toolbar at left */
.smartselect .ss-toolbar.left {
    left: auto;
    right: 100%;
    margin-right: 3px;
}

.smartselect .ss-label {
    cursor: default !important;
    white-space:initial;
}
.smartselect .ss-label b{
  font-weight: normal;
  font-size: 16px;
}

/* toolbar button icon */
.smartselect .ss-toolbar button {
    padding: 5px;
}

/* inputbox in toolbar */
.smartselect .ss-toolbar li > div {
    padding: 4px 20px 4px 20px;
}

/* alias */
.smartselect .ss-alias .ss-icon {
    margin-right: 10px;
}
.smartselect .ss-alias {
  position: relative;
}
.smartselect .ss-alias .ss-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.smartselect .ss-alias .ss-label {
    padding-right: 30px;
}

/*
 * disabled
 */
.smartselect .dropdown-menu > .disabled > a {
  background-color: transparent;
  text-decoration: line-through;
}

.smartselect .disabled .ss-checker {
  display: none;
}

.smartselect {
	width:45%;
}

.ss-label{
	color:#989a97;
  white-space: normal;
}

.dropdown-toggle span {
	white-space: normal;
    word-break: break-all;
	text-align:left;
	float:left;
}
.ss-folder{
	color:black;
}
.ss-checkno {
	color:black;
}
.dropdown-menu{
	/*padding: 5px 0 5px 4%;*/
	width:100%;
}

.fa-plus-circle{
	padding-right: 27px !important;
}
.fa-minus-circle{
	padding-right: 27px !important;
}
/*my change*/
.smartselect .btn-default, .open > .btn-default.dropdown-toggle{
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    min-height: 38px;
}
}
.smartselect .btn-default:hover{
  border: none;
}
.smartselect > .dropdown-menu{
  margin: -2px 0 0!important;
  padding: 0px 0!important;
}
.smartselect > .dropdown-menu li{
  background: #f2f2f2;
}
.smartselect .btn:hover, .smartselect .btn:focus, .smartselect .btn.focus{
  /*background-image: -webkit-linear-gradient(#ededed, #e7e7e7 90%, #9a9a9a)!important;
  background-image: -o-linear-gradient(#ededed, #e7e7e7 90%, #9a9a9a)!important;
  background-image: linear-gradient(#ededed, #e7e7e7 90%, #9a9a9a)!important;
  background-repeat: no-repeat;*/

}
.smartselect .btn-default.dropdown-toggle{
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    height:42px;
    width: 100%;
 /*background-image: -webkit-linear-gradient(#ededed, #e7e7e7 90%, #9a9a9a)!important;
 background-image: -o-linear-gradient(#ededed, #e7e7e7 90%, #9a9a9a)!important;
 background-image: linear-gradient(#ededed, #e7e7e7 90%, #9a9a9a)!important;
  background-repeat: no-repeat;*/
}
.open > .dropdown-menu{
    position: absolute!important;
    z-index: 999999;
    border: solid 1px #8d8c8e;
    height: 337px;
    overflow: scroll;
    overflow-x: hidden;
}
.form-select_custom{
      overflow: visible;
}
.smartselect > .dropdown-menu li {
    background: #f2f2f2;
    display: inline-block;
    width: 100%;
    font-size: 14px;
    /* height: 60px; */
}
.smartselect{
  width: 100% !important;
}
.dropdown-menu{
  position:relative !important;
}
/*for select div*/
.dropdown-toggle-copy{
  height: auto; padding: 10px; text-align: left;
}
.form-select_custom:after {
  content: '\f0d7 ';
  position: absolute;
  top: 15%;
  /*right: $badge-border-radius; */
  right: 4%;
  color: #999996;
  font-size: 20px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
}

.ie .form-select_custom:after {
  display: none;
}
/*my new changes*/
/*.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open>.dropdown-toggle.btn-default.focus, .open>.dropdown-toggle.btn-default:focus, .open>.dropdown-toggle.btn-default:hover {
    color: #333;
    /*background-color:rgba(1,118,231,0.68);
    background-color:#fff;
    border-color: #8c8c8c;
}*/
.open>.dropdown-toggle.btn-default:hover, .open>.dropdown-toggle.btn-default:focus{
  background:#fff!important;  
}
.btn.active, .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

select.smartselect::-ms-expand {
  display: none;
}
.smartselect:after{
    width: 25px;
    height: 25px;
    content:"\f107";
    font-size: 24px;
    /*color: #007bff;*/
    font-family: FontAwesome;
    right:1%;
    position: absolute;
    top:15%;
    text-align: center;
    pointer-events: none;
    cursor: pointer;
}