.custom-select {
    position: relative;
    /* font-family: Arial; */
    /* background-image: url(data/dropdowntriangle.png) no-repeat right white; */
    border: #f2c885;
    /* display: grid; */
    /* grid-auto-columns: max-content; */
}

.custom-select select {
    display: none; /*hide original SELECT element: */
  }

.select-selected {
  border-radius: 6px;
/* background-color: #f2c885; */
}

  /* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 40%;
    left: 160px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #f2c885 transparent transparent transparent;
  }

  
/* Point the arrow upwards when the select box is open (active): */
.select-selected, .select-arrow-active:after {
    border-color: transparent transparent #f2c885 transparent;
    top: 4px;
  }
  
/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: #fff;
    /* padding: 8px 25px 8px 8px; */
    padding: 4px 20px 4px 10px;
    border: 1px solid;
    text-align: left;
    width: 150px;
    border-color: #666056;
    cursor: pointer;
    background-color: #221d1f;
/*    border-radius: 6px;*/
}

.select-items div{
  background-color:#120e10;
  color:#f2c885;
  border-top: 0px !important;
    border-bottom: 0px !important;
}

.select-items div:last-child{
      border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
    border-bottom: 1px solid #666056 !important;
}

.select-items div:first-child{
      border-top-left-radius: 6px;
  border-top-right-radius: 6px;
    border-top: 1px solid #666056 !important;
}



#year{
  width: 60px;
}
#year::after{
  left: 70px;
}
#year + div > div {
  width: 60px;
}
  
  /* Style items (options): */
  .select-items {
    position: absolute;
    color: #f2c885;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    /* height: 15px; */
    /* display: inline-table; */
    /* display: grid; */
    /* grid-auto-columns: max-content; */
  }
  
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    /* background-color: rgba(0, 0, 0, 0.1); */
  }