.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: transparent;
  border-radius: 1.4063rem;
  color: #014871;
  border: solid 0.0938rem #014871;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: normal;
  height: 2.8125rem;
  line-height: 2.6875rem;
  outline: none;
  padding-left: 1.2813rem;
  padding-right: 3.2813rem;
  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;
  width: auto;
  letter-spacing: .04em;
  min-width: 12.5rem
}
  .nice-select:hover{border-color: #dbdbdb}

  .nice-select:active,
  .nice-select.open,
  .nice-select:focus{border-color: #014871}

  .nice-select:after {
    content: '';
    display: block;
    width: 1.25rem;
    height: .625rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    right: 1.2813rem;
    background-color: currentColor;
    mask-image: url(select-arrow.svg);
    mask-position: center;
    mask-size: 1.25rem .625rem;
    mask-repeat: no-repeat;
    -webkit-mask-image: url(select-arrow.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: 1.25rem .625rem;
    -webkit-mask-repeat: no-repeat
  }
  .nice-select.open{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .nice-select.open:after{transform: translateY(-50%) rotate(180deg)}
  .nice-select.open .list {
    opacity: 1;
    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: #ededed;
    color: #999;
    pointer-events: none
  }
  .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 .list {
    background-color: #fff;
    border-radius: 1.4063rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid #064884;
    box-sizing: border-box;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: -.0938rem;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75);
    -ms-transform: scale(0.75);
    transform: scale(0.75);
    -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;
    width: calc(100% + 0.1875rem)
  }
    .nice-select .list:hover .option:not(:hover){background-color: transparent !important}

  .nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    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{background-color: #f6f6f6}
    .nice-select .option.selected{color: var(--ama-primary100-color)}
    .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}


.ama-mobile-actions-bar .nice-select{
  color: #fff;
  border-color: var(--ama-primary-color);
  background-color: var(--ama-primary-color);
  min-width: 100%;
  height: 2.8125rem;
  padding: 0.3125rem;
  font-size: 0.8125rem;
  line-height: 2.0625rem;
  text-align: center!important
}
  .ama-mobile-actions-bar .nice-select .list{
    top: unset;
    bottom: calc(100% + 2.25rem);
    color: var(--ama-body-color);
    border-top-left-radius: 1.4063rem;
    border-top-right-radius: 1.4063rem;
    border: none;
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.16);
  }
  .ama-mobile-actions-bar .nice-select.open{
    border-bottom-left-radius: 1.4063rem;
    border-bottom-right-radius: 1.4063rem
  }
  .ama-mobile-actions-bar .nice-select:after{display: none!important}