/*[RESPONSIVE-MOUSE]***************************************************************************************************/
/**[DIALOGS] **********************************************************************************************************/
/*(SEE POPUPS)*/
/**[DIALOG] ***********************************************************************************************************/
dialog.tool > footer.dialog-footer,
dialog.tool > header.dialog-header,
dialog.popover > footer.dialog-footer,
dialog.popover > header.dialog-header,
dialog.select > footer.dialog-footer,
dialog.select > header.dialog-header {
  display: none !important;
}

/*[POPOPVER]***********************************************************************************************************/

/**[POPUP] ************************************************************************************************************/

/**[MENU] *************************************************************************************************************/

/**[PICKER] ***********************************************************************************************************/
/**[DATEPICKER] *******************************************************************************************************/
/**[TIMEPICKER] *******************************************************************************************************/
/**[COLORPICKER] ******************************************************************************************************/
dialog.picker {
  width: var(--inputWidth);
  min-width: var(--inputWidth);
  padding: 4px;
  margin-top: 4px;
}

/**[PICKER END] *******************************************************************************************************/

/*[POPOPVER] END*******************************************************************************************************/

/*[SELECT]*************************************************************************************************************/
/* lookup, selectlist, dropdown*/
dialog.select {
  bottom: auto;

  min-width: 22rem;

  cursor: auto;

  background-color: var(--popoverBackground);
  border: var(--popoverBorderWidth) solid var(--popoverBorderColor);
  border-radius: var(--popoverBorderRadius);
  padding: var(--popoverBorderRadius) 0;
}

dialog.select > section {
  padding: 0;
  min-height: 40px; /*//to allow room for spinner/messages
*/}

dialog.select > section.searching:empty::after {
  background-position: right center;
}

/**[LOOKUP] ***********************************************************************************************************/
dialog.select.lookup {
  width: var(--inputWidth);
  min-width: var(--inputWidth);
  max-width: var(--inputWidth);
  height: auto; /*//!important;
*/  bottom: auto;

  cursor: auto;

  background-color: var(--popoverBackground);
  border: 1px solid var(--popoverBorderColor);
  border-radius: var(--popoverBorderRadius);
  padding: var(--popoverBorderRadius) 0;
}

dialog.select.lookup > section.dialog-content {
  position: relative;
  width: 100%;
  max-height: 40rem;
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--textColor);
  padding-left: 0;
  padding-right: 0;
}

dialog.select.lookup > header.dialog-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px;
  padding-left: 24px;
  padding-right: 24px;
}

dialog.select.lookup > footer.dialog-footer {
  position: absolute;
  bottom: 0;
  background-color: var(--white);
}

/**[LOOKUP] END********************************************************************************************************/

/**[TAGLIST] ******************************************************************************************************/
dialog.select.selectlist {
  width: auto !important;
  height: auto !important;
  bottom: auto;
  min-width: 22rem;
  cursor: auto;
  background-color: var(--popoverBackground);
  border: 1px solid var(--popoverBorderColor);
  border-radius: var(--popoverBorderRadius);
  padding: var(--popoverBorderRadius) 0;
}

dialog.select.selectlist > section.dialog-content {
  width: 100%;
  max-height: 40rem;
  overflow: auto;
  position: relative;
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--textColor);
}

dialog.select.selectlist > footer.dialog-footer {
  background-color: var(--blue);
  display: flex !important;
  height: 42px;
  position: relative;

}

/*[TAGLIST] END********************************************************************************************************/

/*[DROPDOWN] **********************************************************************************************************/
dialog.select.dropdown {
  width: auto !important;
  height: auto !important;
  bottom: auto;
  min-width: 22rem;

  cursor: auto;

  background-color: var(--popoverBackground);
  border: none;
  border-radius: var(--popoverBorderRadius);
  padding: var(--popoverBorderRadius) 0;
}

/*[DROPDOWN] END*******************************************************************************************************/

/*[SELECT] END*********************************************************************************************************/

/*[NOTIFICATIONS] *****************************************************************************************************/
/*[MODAL-MESSAGE] *****************************************************************************************************/
/*[CONFIRM] ***********************************************************************************************************/
/*[ALERT] *************************************************************************************************************/
/*[BUSY/PROGRESS] *****************************************************************************************************/

/*[NOTIFICATIONS] END**************************************************************************************************/

/*[DIALOG] END*********************************************************************************************************/

/*[CONTROL SPECIFIC LISTS] ********************************************************************************************/
/*[SEARCH LIST] *****************************************************************************************************/
/*IS THIS ACTUALLY IN USE ????*/
.search-list {
  width: 100%;
  line-height: 4rem;
  border: 1px solid grey;
  background-color: White;

}

.search-list > li {
  border-bottom: 1px solid grey;
  padding-left: 5px;
}

.filter-hidden {
  display: none !important;
}

.add-hidden {
  display: none !important;
}

/*[SEARCH BOX] ********************************************************************************************************/
.search-header {
  background-color: #6B6A5C;
  padding: 1rem;
}

.search-box {
  display: block;
  width: 100%;
  color: #333;
  background: #fff;
  border: solid 1px #d9d9d9;
  vertical-align: middle;
}

.search-input {
  overflow: hidden;
}

.search-box input, .search-box input:focus {
  border: none;
  box-shadow: none;
  -webkit-appearance: none;
  border-right: 1px solid #d9d9d9;
  border-radius: 0;
  height: 2.7rem;
}

.x {
  display: none;
  font-size: 1.8rem;
  color: #A1B9ED;
  cursor: pointer;
  border-right: 1px solid #d9d9d9;
  padding-bottom: .3rem;
  padding-right: .8rem;
  float: right;
}

.x:hover {
  color: #36c;
}

.invisible, .invisible:hover {
  color: rgba(0, 0, 0, 0);
}

.search-options {
  float: right;
  width: auto;
  border: none;
}

/*[SEARCH BOX] END*****************************************************************************************************/
/*[SEARCH LIST] END*****************************************************************************************************/

/*[INPUT-EDITOR]*******************************************************************************************************/

/*[INPUT-EDITOR] END***************************************************************************************************/

dialog.timepicker > section > .grid-timepicker:not([data-type=list]) {
  /*//display: none;
*/}

dialog.lookup > header > input {
  padding-left: 30px;
}

/*[SELECT]*************************************************************************************************************/

/*popup related lists THESE ARE FOR INTERNAL USE ONLY DO NOT USE THESE THEM IN ANY LIST!!!!!!*/

/*[DROPDOWN] **********************************************************************************************************/
ol.listview-dropdown {
  margin: 0;
  padding: 0;
  line-height: 3rem;
  font-weight: bold;
}

ol.listview-dropdown > li {
  background: var(--grayLighter);
  width: 100%;
  text-align: left;
  text-indent: 5px; /** using indent instead of margin or padding ensures we don't care whether we are preceded by an img or not **/
  cursor: pointer;
  margin: 0px;
  padding: 0 2px;
  line-height: inherit;
}

ol.listview-dropdown > li > * {
  pointer-events: none;
}

ol.listview-dropdown > li:nth-child(even) {
  background: #ddd;
}

/*psuedo order must be link/visited/hover/active/focus/disabled we dont use link/visited/focus*/
ol.listview-dropdown > li:hover {
  background: var(--gray);
  color: var(--white);
}

ol.listview-dropdown > li:active {
  background: var(--blue);
  color: var(--white);
}

ol.listview-dropdown > li.selected {
  background-color: var(--blue);
  color: var(--white);
}

ol.listview-dropdown > li > img {
  float: left;
}

ol.listview-dropdown > li.selected::after {
  content: '';
  vertical-align: middle;
  cursor: default;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-origin: content-box;
  background-position: center;

  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -8px;
}

/*[DROPDOWN] END*******************************************************************************************************/

/**[LOOKUP/SELECT] ****************************************************************************************************/

ol.listview-dropdown,
ol.listview-lookup,
ol.listview-select {
  margin: 0;
  padding: 0;
  min-width: var(--inputWidth);
  min-height: 7.5rem;
  background: var(--white);
}

/*NB 40px line height: 17px text 1px border 11px padding top+bottom NB l+r 15px*/
ol.listview-lookup > li,
ol.listview-selectlist > li {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin: 0px;
  padding: 11px 15px 11px 15px;
}

ol.listview-dropdown > li {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin: 0px;
}

ol.listview-selectlist > li.checked::after,
ol.listview-selectlist > li.xxselected::after {
  background-color: var(--grayLighter);
  border: 1px solid var(--grayLight);
  content: '\2714' !important;
  position: absolute;
  right: 12px;
  background-image: none !important;
  color: black;
  text-align: center;
  height: 22px;
  width: 22px;
  font-size: 12px;
  top: 50%;
  margin-top: -11px;
  top: 8px;
  margin-top: 0;
  line-height: 22px;
}

/*psuedo order must be link/visited/hover/active/focus/disabled we dont use link/visited/focus*/
ol.listview-lookup > li.selected,
ol.listview-selectlist > li.checked {
  background-color: var(--blue);
  color: var(--white);
  /*//background-color: var(--grayLighter);
*/  /*//color: #6699ff;
*/}
ol.listview-selectlist > li.selected {
  background-color: var(--grayLightest);
  color: #6699ff;
}

ol.listview-lookup > li:hover,
ol.listview-selectlist > li:hover {
  background-color: var(--grayLighter);
  color: #6699ff;
}

ol.listview-lookup > li:active,
ol.listview-selectlist > li:active {
  background-color: var(--blue);
  color: var(--white);
}
/**[LOOKUP/SELECT]*****************************************************************************************************/

/**[SELECT] END********************************************************************************************************/

/*[PICKERS] ***********************************************************************************************************/
/*[PICKERS] END********************************************************************************************************/

/*[CONTROL SPECIFIC LISTS] END*****************************************************************************************/

dialog.tool {
  border: var(--popoverBorderWidth) solid var(--popoverBorderColor);

}

