/*!
 * ui-select
 * http://github.com/angular-ui/ui-select
 * Version: 0.19.8 - 2017-04-18T05:43:43.881Z
 * License: MIT
 */


/* Style when highlighting a search. */
.ui-select-highlight {
  font-weight: bold;
}

.ui-select-offscreen {
  clip: rect(0 0 0 0) !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  outline: 0 !important;
  left: 0px !important;
  top: 0px !important;
}


/*.ui-select-choices-row:hover {
  background-color: #8bc34a;
  color:#ffffff;
}
*/

/* Bootstrap theme */

/* Helper class to show styles when focus 
.btn-default-focus {
  color: #333;
  background-color: #EBEBEB;
  border-color: #ADADAD;
  text-decoration: none;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
*/
.ui-select-bootstrap .ui-select-toggle {
  position: relative;
}

.ui-select-bootstrap .ui-select-toggle > .caret {
  position: absolute;
  height: 10px;
  top: 50%;
  right: 10px;
  margin-top: -4px;
  border-top-color:#ccc;
}

/* Fix Bootstrap dropdown position when inside a input-group */
.input-group > .ui-select-bootstrap.dropdown {
  /* Instead of relative */
  position: static;
}

.input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
  /* border-radius: 4px !important;  FIXME hardcoded value :-/ */
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
  border-radius: 0px !important; /* FIXME hardcoded value :-/ */
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.ui-select-bootstrap .ui-select-search-hidden{
    opacity: 0;
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border:0;
}

.ui-select-bootstrap > .ui-select-match > .btn{
  /* Instead of center because of .btn */
  text-align: left !important;
  padding-top:13px;
  padding-left:18px;
}
/*TTTTTTTT*/
.ui-select-match-text > span {
    width:100%;
	padding-right: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
}

/*TTTTTTTT*/
/**.ui-select-placeholder, .ui-select-match-text {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 40px;
}
*/
.ui-select-bootstrap > .ui-select-match > .caret {
  position: absolute;
  top: 45%;
  right: 15px;
}

/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
.ui-select-bootstrap > .ui-select-choices ,.ui-select-bootstrap > .ui-select-no-choice {
  width: 100%;
  height: auto;
  max-height: 180px;
  overflow-x: hidden;
  /*margin-top: -1px;*/
}
/*.ui-select-choices {
	position: fixed;
	top: auto;
	left: auto;
	width: inherit;
}*/
.input-group_rstd_main > .ui-select-bootstrap > .ui-select-choices , .input-group_rstd_main > .ui-select-bootstrap > .ui-select-no-choice {
  width: calc(100% - 50px);
  height: auto;
  max-height: 300px;
  overflow-x: hidden;
  /*margin-top: -1px;*/
  margin-left:25px;
}

/*.ui-select-choices {
	position: fixed;
	top: auto;
	left: auto;
}
*/	   

/**TTTTTTTT**/

.max_height_small{ max-height: 180px!important; font-size:1rem!important}

body > .ui-select-bootstrap.open {
  z-index: 1000; /* Standard Bootstrap dropdown z-index */
}

.ui-select-multiple.ui-select-bootstrap {
  height: auto;
  padding: 3px 3px 0 3px;
}

.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
  background-color: transparent !important; /* To prevent double background when disabled */
  border: none;
  outline: none;
  height: 1.666666em;
  margin-bottom: 3px;
}

.ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
  font-size: 1.6em;
  line-height: 0.75;
}

.ui-select-multiple.ui-select-bootstrap .ui-select-match-item {
  outline: 0;
  margin: 0 3px 3px 0;
}

.ui-select-multiple .ui-select-match-item {
  position: relative;
}

.ui-select-multiple .ui-select-match-item.dropping .ui-select-match-close {
  pointer-events: none;
}

.ui-select-multiple:hover .ui-select-match-item.dropping-before:before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  margin-right: 2px;
  border-left: 1px solid #428bca;
}

.ui-select-multiple:hover .ui-select-match-item.dropping-after:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  margin-left: 2px;
  border-right: 1px solid #428bca;
}
.ui-select-choices-row {
	background-color:#;
	padding:0px 20px;
}
.ui-select-bootstrap .ui-select-choices-row>span {
    cursor: pointer;
    display: block;
    padding: 15px 0px;
    clear: both;
    /*font-weight: 400;*/
    line-height: 0.8;
    color: #000000;
	opacity:.8;
    white-space: nowrap;
	border-bottom: 1px solid #f5f5f5;
	box-shadow: 0px 1px 0px rgba(255,255,255,1);
}

.ui-select-bootstrap .ui-select-choices-row>span:hover, .ui-select-bootstrap .ui-select-choices-row>span:focus, .ui-select-bootstrap .ui-select-choices-row.active>span:hover {
    text-decoration: none;
	background-color: #;
	opacity:1;
}

.ui-select-bootstrap .ui-select-choices-row.active>span {
    color: #000000;
	/*color: #8bc34a;*/
    text-decoration: none;
    outline: 0;
	font-weight: 400;
    opacity:1;
}
.ui-select-bootstrap .ui-select-choices-row > a {
  display: block;
  padding: 8px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

.ui-select-bootstrap .ui-select-choices-row>a:hover,
.ui-select-bootstrap .ui-select-choices-row>a:focus {
  color: #000000;
  text-decoration: none;
  background-color: #;
}

.ui-select-bootstrap .ui-select-choices-row.active > a {
  color: #fff;
  text-decoration: none;
  background-color: #8bc34a;
  outline: 0;
}
/*TTTT*/

.ui-select-bootstrap .ui-select-choices-row.disabled>span,
.ui-select-bootstrap .ui-select-choices-row.active.disabled>span {
    color: #cccccc;
    cursor: not-allowed;
    background-color: #fff;
}
/*TTTT*/
.ui-select-bootstrap .dropdown-header {
  display: block;
  padding: 10px 15px 5px 20px;
  line-height: 1.42857143;
  color: #000000;
  font-weight:600;
  background:#fff;
  border-bottom:0px solid #cccccc;
}
/*.ui-select-bootstrap .dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:4px solid #e4e7ea}

 fix hide/show angular animation */
.ui-select-match.ng-hide-add,
.ui-select-search.ng-hide-add {
    display: none !important;
}

/* Mark invalid Bootstrap */
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
    border-color: #D44950;
}

/* Handle up direction Bootstrap */
.ui-select-container[theme="bootstrap"].direction-up .ui-select-dropdown {
    /*box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);*/
}
/*
.ui-select-bootstrap .ui-select-match-text {
    width: 100%;
    padding-right: 1em;
}
.ui-select-bootstrap .ui-select-match-text span {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}
*/

.ui-select-bootstrap .ui-select-toggle > a.btn {
  position: absolute;
  height: 10px;
  right: 10px;
  margin-top: -2px;
}


/* Spinner */
.ui-select-refreshing.glyphicon {
    position: absolute;
    right: 0;
    padding: 8px 27px;
 }

@-webkit-keyframes ui-select-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes ui-select-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.ui-select-spin {
  -webkit-animation: ui-select-spin 2s infinite linear;
  animation: ui-select-spin 2s infinite linear;
}

.ui-select-refreshing.ng-animate {
  -webkit-animation: none 0s;
}
.ui-select-placeholder{
  color:#c1c1c1;
  /*opacity: .7;*/
  font-style: normal;
  font-weight: 200;
}
.dropdown-menu-text_1{
font-weight:400;
font-size:.75rem
}
@media (min-width:700px){.dropdown-menu{font-size:1rem} .ui-select-bootstrap .dropdown-header{font-size:1rem}}
@media (min-width:1000px){.dropdown-menu{font-size:1rem} .ui-select-bootstrap .dropdown-header{font-size:1rem}}
