/*
 * XiVO Web-Interface
 * Copyright (C) 2006-2014  Avencall
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
/*
* Select2 xivo theme
*/

.select2-container--xivo .select2-selection--single {
  background-color: #beddfb;
  border: 1px solid #999;
  border-radius: 0px;
	outline: 0;
	font-size: 8pt;
	height: 18px!important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
  .select2-container--xivo .select2-selection--single:focus {
    border: 1px solid #5897fb; }
  .select2-container--xivo .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 18px; }
  .select2-container--xivo .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-right: 10px; }
  .select2-container--xivo .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--xivo .select2-selection--single .select2-selection__arrow {
		color: black;
    border: none;
    border-left: 0px solid #aaa;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 16px;
    position: absolute;
    top: 1px;
    right: 1px;
		width: 20px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
    .select2-container--xivo .select2-selection--single .select2-selection__arrow b {
      border-color: black transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--xivo[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--xivo[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  border: none;
  border-right: 1px solid #aaa;
  border-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  left: 1px;
  right: auto; }

.select2-container--xivo.select2-container--open .select2-selection--single {
  border: 1px solid #5897fb; }
  .select2-container--xivo.select2-container--open .select2-selection--single .select2-selection__arrow {
    background: transparent;
    border: none; }
    .select2-container--xivo.select2-container--open .select2-selection--single .select2-selection__arrow b {
      border-color: transparent transparent black transparent;
      border-width: 0 4px 5px 4px; }

.select2-container--xivo.select2-container--open.select2-container--above .select2-selection--single {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }

.select2-container--xivo.select2-container--open.select2-container--below .select2-selection--single {
	background-color: #beddfb;	
  border-bottom: none;
  border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }

.select2-container--xivo .select2-selection--multiple {
  background-color: #beddfb;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text;
  outline: 0; }
  .select2-container--xivo .select2-selection--multiple:focus {
    border: 1px solid #5897fb; }
  .select2-container--xivo .select2-selection--multiple .select2-selection__rendered {
    list-style: none;
    margin: 0;
    padding: 0 5px; }
  .select2-container--xivo .select2-selection--multiple .select2-selection__clear {
    display: none; }
  .select2-container--xivo .select2-selection--multiple .select2-selection__choice {
    background-color: #beddfb;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--xivo .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--xivo .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #555; }

.select2-container--xivo[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  float: right; }

.select2-container--xivo[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto; }

.select2-container--xivo[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--xivo.select2-container--open .select2-selection--multiple {
  border: 1px solid #5897fb; }

.select2-container--xivo.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--xivo.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--xivo .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  outline: 0; }

.select2-container--xivo .select2-search--inline .select2-search__field {
  outline: 0;
  box-shadow: none; }

.select2-container--xivo .select2-dropdown {
  background-color: #beddfb;
  border: 1px solid transparent; }

.select2-container--xivo .select2-dropdown--above {
  border-bottom: none; }

.select2-container--xivo .select2-dropdown--below {
  border-top: none; }

.select2-container--xivo .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--xivo .select2-results__option[role=group] {
  padding: 0; }

.select2-container--xivo .select2-results__option[aria-disabled=true] {
  color: grey; }

.select2-container--xivo .select2-results__option--highlighted[aria-selected] {
  background-color: #3875d7;
  color: white; }

.select2-container--xivo .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--xivo.select2-container--open .select2-dropdown {
  border-color: #5897fb; }
