/*the container must be positioned relative:*/
.select-column-phil {
  float:left; 
  color:  #2E6DA4;
  padding: 0px !important;
  height: 15px; 
 
  border: 0px !important; 
  cursor: pointer;
  user-select: none;
}
.select-white-column-phil {
  float:left; 
  color:  white;
  padding: 0px !important;
  height: 15px; 
 
  border: 0px !important; 
  cursor: pointer;
  user-select: none;
}

/* ------------------*/
.custom-select {
  position: relative;
  font-family: Arial;
  width: auto; 
  font-size: 13px; 
}
.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.custom-select-L {
  position: relative;
  font-family: Arial;
  width: auto; 
  font-size: 13px; 
}
.custom-select-L select {
  display: none; /*hide original SELECT element:*/
}

.select-items-phil{/* phil - added*/
  border-top: 0px dashed #9DC2E3; 
  border-bottom: 1px solid gray; 
  border-left: 0px dashed #9DC2E3 !important; 
  border-right: 1px solid gray !important;

  overflow-x: hidden;
  overflow-y: scroll;
  width: auto; /* 160px; */
/*  height: 180px; */
}

.select-items-phil180{/* phil - added*/
  height: 180px;}

.select-items-phil220{/* phil - added*/
  height: 220px;}

.select-items-phil240{/* phil - added*/
  height: 240px;}

.select-items-phil280{/* phil - added*/
  height: 280px;}

.select-items-phil300
{ height: 300px;}

.select-items-phil310
{ height: 310px;}

.select-items-phil330
{ height: 330px;}

 .select-selected {
  background-color: transparent;
  border-radius: 8px;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 12px; 
  right: 8px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-color:  #2E6DA4 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #2E6DA4 transparent;
  top: 5px;
}

.select-notselected:after {
  border-color:  transparent transparent transparent transparent !important;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color:  #2E6DA4;
  padding: 8px 10px; 
  height: 15px; /* select-column-phil */
/*  border: 1px solid transparent; phil - removed 
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;*/
  
  border-top: 1px solid #9DC2E3; 
  border-bottom: 1px solid #9DC2E3; 
  border-left: 1px solid #9DC2E3 ; 
  border-right: 1px solid #9DC2E3;
  border-radius: 6px;
	
  cursor: pointer;
  user-select: none;
}

.select-column-items-phil div {
/*  padding: 8px 10px; */
  height: 15px; /* select-column-phil */
  
  border-top: 1px solid #9DC2E3; 
  border-bottom: 1px solid #9DC2E3; 
  border-left: 1px solid #9DC2E3 ; 
  border-right: 1px solid #9DC2E3;
  border-radius: 6px;
	
  cursor: pointer;
  user-select: none;
}

.select-selected {
  padding: 8px 10px; 
  height: 15px; /* select-column-phil */
  
  border-top: 1px solid #9DC2E3; 
  border-bottom: 1px solid #9DC2E3; 
  border-left: 1px solid #9DC2E3 ; 
  border-right: 1px solid #9DC2E3;
  border-radius: 6px;
	
  cursor: pointer;
  user-select: none;
}

.select-items, .wrapper div {
  position: relative; /* phil: was absolute changed for columns; */
  background-color: #DEEBF5;

  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.select-column-items-phil, .wrapper div {
  position: relative; /* phil: was absolute changed for columns; */
  background-color: #DEEBF5;

  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.same-as-selected {
  background-color:#5C9AD1;
  color: white !important;
}

.same-column-as-selected-phil {
  background-color:#5C9AD1;
  color: white !important;
}

.select-items div:hover {
  background-color: rgba(113, 166, 215, 0.4);
  color: #2E6DA4 !important;
}

.select-column-items-phil div:hover {
  background-color:  #9DC2E3; /* rgba(113, 166, 215, 0.4); */
/*  color: #2E6DA4 !important; */
}
  

.select-column-items-1line-phil div
{  padding: 8px 10px; 
}
.select-column-items-2line-phil div
{  padding: 5px 10px 20px; 
}

.select-width018{ max-width: 18px; width: 18px }
.select-width004{ max-width: 4px; width: 4px }
.select-width020{ max-width: 20px; width: 20px }
.select-width180{ max-width: 180px; width: 180px }
.select-width042{ max-width: 42px; width: 42px }
.select-width130{ max-width: 130px; width: 130px }

/* --------------------------------------------------------*/

@media only screen and (max-width: 650px) /* 320 ok */ 
{
div#container
{
   width: 320px;
}
.custom-select {
  font-size: 9px;
  text-align: center;
}
.custom-select-L {
  font-size: 11px;
  text-align: left;
}
.custom-select-L select {
  display: none; /*hide original SELECT element:*/
}


.select-items div,.select-selected {
  padding: 4px 8px; /* 2px 0px;*/
  height: 14px; 
}	
.select-column-items-1line-phil div{ 
  padding: 4px 4px; /* 2px 0px;*/
}
.select-column-items-2line-phil div{
  padding: 1px 4px 14px; /* 2px 0px 0px;*/
}

.select-items-phil330 /* team players */
{ height: 270px;}

/*.select-selected {
  background-color: red; 
}*/

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 8px; 
  right: 2px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-color:  #2E6DA4 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #2E6DA4 transparent;
  top: 5px;
}

.select-width018{ max-width: 12px; width: 12px }
.select-width004{ max-width: 4px; width: 4px }
.select-width020{ max-width: 10px; width: 10px }
.select-width180{ max-width: 90px; width: 90px; 
    white-space: nowrap; overflow:hidden; text-overflow: ellipsis }
.select-width042{ max-width: 26px; width: 26px }
.select-width130{ max-width: 70px; width: 70px; 
    white-space: nowrap; overflow:hidden; text-overflow: ellipsis;}


}
