/*!
 * ui-select
 * http://github.com/angular-ui/ui-select
 * Version: 0.18.1 - 2016-07-10T00:18:11.107Z
 * License: MIT
 */

.dropdown-menu {
    border: 1px solid #E13205;
}

/* 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: #1E90FF;
    color: #ffffff;
}

.ui-select-choices-row {
    padding-left: 8px;
}

.btn:hover, .btn-default {
    border-color: #E13205;
}

/* 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);
}*/

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open
.dropdown-toggle.btn-primary {
    background-color: #ffffff;
    color: #000000;
    border-color: #E13205;
}

.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: -2px;
}

/* Fix Bootstrap dropdown position when inside a input-group */
.input-group > .ui-select-bootstrap.dropdown {
  /* Instead of relative */
  position: static;
}

.form-control {
    border: 2px solid #E13205;
    border-radius: 6px;
    color: black;
}

.input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
  border-radius: 4px; /* FIXME hardcoded value :-/ */
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
  border-radius: 4px !important; /* FIXME hardcoded value :-/ */
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.ui-select-bootstrap > .ui-select-match > .btn{
  /* Instead of center because of .btn */
  text-align: left !important;
}

.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: 200px;
  overflow-x: hidden;
  margin-top: -1px;
}

body > .ui-select-bootstrap.open {
  z-index: 1000; /* Standard Bootstrap dropdown z-index */
}

.ui-select-multiple.ui-select-bootstrap {
  min-height: 40px;
  height: auto;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
}


.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
  background-color: transparent !important; /* To prevent double background when disabled */
  border: none;
  outline: none;
  margin-top: 0px;
  display: inline;
  padding: 3px 0px 0px 5px;
}

.ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
    font-size: 26px;
    color: #ffffff;
    padding-top: 2px;
    font-weight: normal;
}

.close {
    text-shadow: none;
    opacity: 1.0;
}

.btn-xs, .btn-group-xs > .btn {
    font-size: inherit;
    padding-top: 0px;
}

.ui-select-multiple.ui-select-bootstrap .ui-select-match-item {
  outline: 0;
  background-color: #E13205;
  color: #ffffff;
  margin: 1px 3px 1px 0;
  padding-top: 1px;
}

.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-bootstrap .ui-select-choices-row>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.ui-select-bootstrap .ui-select-choices-row>a:hover, .ui-select-bootstrap .ui-select-choices-row>a:focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
}

.ui-select-bootstrap .ui-select-choices-row.active>a {
    color: #fff;
    background-color: #ffffff;
    text-decoration: none;
    outline: 0;
}

.ui-select-bootstrap .ui-select-choices-row.disabled>a,
.ui-select-bootstrap .ui-select-choices-row.active.disabled>a {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
}

/* fix hide/show angular animation */
.ui-select-match.ng-hide-add,
.ui-select-search.ng-hide-add {
    display: none !important;
}

.btn-primary {
  color: #000000;
  background-color: white;
  border-color: #E13205;
}

.btn-primary:hover, 
.btn-primary:focus,
.btn-primary:active, 
.btn-primary.active, 
.open 
.dropdown-toggle.btn-primary {
    background-color: white;
    border-color: #E13205;
}
.btn-default:hover, 
.btn-default:focus, 
.btn-default:active, 
.btn-default.active, 
.open 
.dropdown-toggle.btn-default {
    background-color: white;
    border-color: #E13205;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
    cursor: default;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* 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);
}

.filterSearchList input[type="search"] {
    font-size: 1.3125em;
    font-family: 'ICA Text Web Bold';
}

.filterSearchList .ui-select-choice {
    font-size: 18.375px;
    font-family: 'ICA Text Web Bold';
    vertical-align: -webkit-baseline-middle;
}

.jobSearchList li:last-child {
    border-bottom: none;
}
.jobSearchList li:first-child {
    border-bottom: none;
}

.archiveFilter.select:after {
     top: 16px;
}

@-moz-document url-prefix() {
    .archiveFilter.select:after {
        top: 17px;
    }
}

#filterTextBox::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: black;
}

#filterTextBox::-moz-placeholder {
    color: black;
}

#filterTextBox:-ms-input-placeholder {
    color: black;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: black;
}

::-moz-placeholder { /* Firefox 19+ */
    color: black;
}

:-ms-input-placeholder { /* IE 10+ */
    color: black;
}

input::-moz-placeholder { /* Firefox 18- */
    color: black;
}

input[type=search]::-moz-placeholder {
    color: black;
}

/*.filterSearchList .search-form .ss-search {
    top: 10px;
}*/

.form-control:focus {
    border-color: #E13205;
    box-shadow: none;
}

@media (max-width: 767px) {
    .jobsearchblock .archiveFilter.select:after {
        left: inherit;
        right: 25px;
    }
}

.placeholder { color: #000000; }