:root {
  --bleuclair: #009cb8;
  --bleucanard: #1c7f93;
  --bleumarine: #062a77;
  --orange: #fd7e14;
  --blanc: #fff;
}

.nice-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #eaeaea;
    border-radius: 10px;
    border: 2px solid #c0c0c0;
    cursor: pointer;
    display: flex;
    font-weight: normal;
    outline: 0;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    white-space: nowrap;
    appearance: none;
    box-shadow: none;
    color: #000;
    height: 50px;
    width: auto;
    font-size: 15px;
    top: 15px;
    align-items: center;
    margin-bottom: 20px;
}


  .nice-select:hover {
    border-color: var(--bleuclair); }
  
  .nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: var(--bleuclair); }
  
  .nice-select:after {
    border-bottom: 2px solid #a8a8a8;
    border-right: 2px solid #a8a8a8;
    content: '';
    display: block;
    height: 10px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 30px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
            transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 10px; 
  }
  
  .nice-select.open:after {
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg); }
  
  .nice-select.open .list {
    opacity: 1;
    width: 100%;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0); }
  
  .nice-select.disabled {
    border-color: #bcbcbc;
    color: #999;
    pointer-events: none; }
  
    .nice-select.disabled:after {
      border-color: #cccccc; }
    
  .nice-select.wide {
    width: 100%; }
  
    .nice-select.wide .list {
      left: 0 !important;
      right: 0 !important; }
    
  .nice-select.right {
    float: right; }
    .nice-select.right .list {
      left: auto;
      right: 0; }
    
  .nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px; }
    .nice-select.small:after {
      height: 4px;
      width: 4px; }
    
    .nice-select.small .option {
      line-height: 34px;
      min-height: 34px; }
    
  .nice-select .list {
    background-color: var(--blanc);
    border-radius: 5px;
    box-shadow: 0 0 0 2px rgba(68, 68, 68, 0.3);
    box-shadow: 0 0 0 2px var(--bleuclair);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
            transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
        -ms-transform: scale(0.75) translateY(-21px);
            transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9;
    max-height: 350px;   /* hauteur maximale de la dropdown */
    overflow-y: auto;    /* active le scroll vertical */

  }
  
    .nice-select .list:hover .option:not(:hover) {
      background-color: transparent !important; }
    
  .nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 34px;
    list-style: none;
    min-height: 34px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s; }
  
    
    .nice-select .option:hover, 
    .nice-select .option.focus, 
    .nice-select .option.selected.focus,
    .nice-select option.selected {
        background-color: rgba(0, 156, 184, 0.15); 
    }
    

    .nice-select .option.selected {
      font-weight: normal; }
    .nice-select .option.disabled {
      background-color: transparent;
      color: #999;
      cursor: default; }

.no-csspointerevents .nice-select .list {
  display: none; }

.no-csspointerevents .nice-select.open .list {
  display: block; }

  