.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;  
}
@media only screen and (min-width: 600px) { 
  .select2-container--open .select2-dropdown--below {
    position: relative;
  }

.select2-container--default .select2-search--dropdown .select2-search__field {   
    position: absolute;
    top: -51px;
    line-height: 38px;        
    background: #ffffff;
    width: calc(100% + 2px);
    left: -1px;
    border: 1px solid #d0cece!important;        
  }

  /*body.night */
  body.night .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #d0cece!important;
    border-color: #555!important;
  }  
} 

@media only screen and (max-width: 600px) { 
  .preventBodyScroll
  {
    overflow: hidden;
  }

  .select2-container--default .select2-search--dropdown .select2-search__field {
    position: unset;       
    line-height: 33px;
    height: 43px;
    border: 1px solid #d0cece!important;
    border-radius: 2px;        
    width: 100%;
  }
  .select2-container--open .select2-dropdown--below, .select2-container--open .select2-dropdown--above{ 
    position: fixed !important;
    top: 10% !important;
    height: auto!important;
    max-height: 50vh;
    left: 30px!important;
    width: calc(100% - 60px)!important;
    background: white;
    padding: 0px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;    
    border: 0px;
    box-shadow: 0px 0px 0px 1000px #00000096;
    padding-bottom: 10px
  }      
  
  .select2-results li{ 
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #00000014;
  }
  .select2-results{ 
    background-color: white;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;        
    max-height: 40vh;
    height: auto;
    overflow: scroll;
  } 
  .select2-search.select2-search--dropdown {
    background-color: white;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-bottom: 20px;
    top: 7px;
    position: relative;
  }
  
  .select2-container .select2-dropdown .select2-results .select2-results__options{ 
    max-height:100%;
    height: auto;
  } 
  
  .select2-close-button {
    position: absolute;
    z-index: 999;
    right: 0px;
    top: -31px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-content: stretch;
    flex-direction: column-reverse;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0px;
  }
  .select2-close-button .ico-times {
    pointer-events: none;
  }

  [class^="ico-"], [class*=" ico-"] {
    font: normal 1em/1 Arial, sans-serif;
    display: inline-block;
  }
  .ico-times::before { 
    content: "\2716"; 
  }
  
  /*body.night */
  body.night .select2-close-button {
    background-color: #282828;
  }

  body.night .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0px!important;
  }
  body.night .select2-results li{       
    border-bottom: 1px solid #ffffff24!important;
  }
  body.night .select2-search.select2-search--dropdown {
    background-color: #282828!important;
    z-index: 1;
    position: relative;
  }
  body.night .select2-results, body.night .select2-dropdown {
    background-color: #282828!important;              
  }
  body.night .select2-dropdown {
    background-color: #282828!important;        
  }
  body.night .select2-container--open .select2-dropdown--below, body.night .select2-container--open .select2-dropdown--above {   
    box-shadow: 0px 0px 0px 1000px #ffffff29;
  }
}

.select2.select2-container {
  width: 100%!important;
}
.select2-container--default .select2-selection--single {
  height: 36px;
}
.select2-container--default .select2-selection--single:active {
  border: 2px solid #1483d7;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
}
@media only screen and (max-width: 600px) {
  .select2-container--default .select2-search--dropdown .select2-search__field {
    padding-left: 8px;
  }
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-width: 5px 6px 0 6px;
  margin-left: -6px
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px;
  width: 36px;
  border-left: 1px solid #aaa;
}