/*********************************
Author : Techhysahil
Link : http://techhysahil.com
*********************************/
.select2 {
--light-color: #598AFA;
--dark-color: #2044AB;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
  background: black;
  border:1px solid #2044AB;
  outline: 0;
}

.select2-container--flat .select2-container--focus .select2-selection--multiple {
  border: 1px solid pink;
}
.select2-container--flat .select2-results__option--highlighted[aria-selected] {
  background: #598AFA !important;
  color: #ffffff;
}
.select2-container--flat .select2-results__option[aria-selected=true] {

  background: black;
  color: #ffffff;
}

.select2-container--flat .select2-selection--single {
  border-radius: 0px;
}

/*.select2-container--flat span.select2-search input {
  height: 30px !important;
}*/

.select2-container .select2-choice {
  border: 2px solid #598AFA;
  height: 20px;
  border-radius: 0px;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  text-indent: 1px;
  box-shadow: none;
  background-image: none;
}
.select2-container .select2-choice div {
  border-left: 2px solid #598AFA;
  border-radius: 0 4px 4px 0;
  background-clip: padding-box;
}
.select2-container .select2-choice .select2-arrow {
  border: 0px;
  border-radius: 0px;
  background: transparent;
  background-image: none;
}
.select2-container *:focus {
  outline: 0px;
}
.select2-container.select2-drop-above .select2-choice {
  border-bottom-color: #598AFA;
  border-radius: 0px;
}

.select2-drop {
  margin-top: -2px;
  border: 2px solid #598AFA;
  border-top: 0;
  border-radius: 0px !important;
  border-radius: 0 0 6px 6px;
  box-shadow: none;
}
.select2-drop.select2-drop-above {
  margin-top: 2px;
  border-top: 2px solid #598AFA;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: none;
}

.select2-search {
  display: none;
  margin-top: 3px;
}


.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
  border: 2px solid #598AFA;
  outline: none;
  box-shadow: none;
}

.select2-dropdown-open .select2-choice {
  box-shadow: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.select2-dropdown-open .select2-choice .select2-choice div {
  background: transparent;
  border-left: none;
  filter: none;
}

.select2-results {
  padding: 0 0 0 0px;
  margin: 4px 0px 0px 0;
}
.select2-results .select2-highlighted {
  background: var(--dark-color);
  color: #fff;
  border-radius: 0px;
}

.select2-container-multi .select2-choices {
  height: auto !important;
  height: 1%;
  border: 2px solid #598AFA;
}
.select2-container-multi.select2-container-active .select2-choices {
  border: 2px solid #598AFA;
  border-radius: 6px;
  box-shadow: none;
}


/****** Multiple SCSS *******/
.select2-container--flat .select2-selection--multiple {
  border: 1px solid var(--dark-color);
  padding: 2px 4px;
}
.select2-container--flat .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--dark-color);
  cursor: pointer;
}
.select2-container--flat .select2-selection--multiple .select2-selection__rendered {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0 5px;
  width: 100%;
}
.select2-container--flat .select2-selection--multiple .select2-selection__choice {
  position: relative;
  background-color: var(--dark-color);
  color: #fff;
  border: 1px solid var(--dark-color);
  border-radius: 10px;
  padding: 2px 5px;
  cursor: default;
  margin-right: 5px;
  margin-block: 2px;
  width: max-content;
  display: inline-block;
}

.select2-container--flat .select2-selection--multiple .select2-selection__choice__remove {
  order: 1;
  position:relative;
  color: var(--dark-color);
  margin-right: 6px;
  margin-left: 6px;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: -4px;
  left: -3px;
}

.select2-container--flat .select2-selection--multiple .select2-selection__choice__remove span{
 position: absolute;
 top:50%;
 left: 50%;
 transform: translate(-50%,-50%);
}