.libraryObjectIcon {
    width: 24px;
    height: 24px;
}

li .libraryObjectIcon {
  vertical-align: middle;
}

.libraryObjectName {
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 8pt;
}

.libraryFolderName {
    color: #222;
    padding: 2px 2px;
    font-size: 8pt;
}

.libraryFolderContainer {
  height: 24px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.libraryObject, .projectObject, .projectLayer {
  cursor: pointer;
  clear: both;
}


.libraryObjectSelected, .dropLibraryObject {
  color: white;
  background: #aaa;
}

.libraryFolderSelected {
  display: none; /* suppress folder selection for now */
  margin-left: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.libraryObjectType {
  display: inline;
}

li .draggableObject {
  display: inline;
}

.mapDropActive {
  border: solid 1px gray;
/*  background: white; */
}

.menuAvailable img, img.menuAvailable {
  height: 16px;
  width: 24px;
  vertical-align: middle;
}

.menuAvailable img.selected, img.menuAvailable.selected {
  height: 24px;
}

.libraryFolder, .libraryObject, .projectObject, .projectLayer {
  list-style-type: none;
  font-size: 10pt;
}

.tileTypes input {
    margin: 5px;
}

.tileTypePicker>div {
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
}

.libraryObjectPicker {
  height: calc(100% - 75px);
}

.selection {
  font-size: 1.4em;
  padding: 10px;
}

.libraryFolder {
  clear: both;
  margin-bottom: 0px;
  overflow: hidden;
}

.library ul, .library table {
    padding: 0px;
    margin-left: 10px;
/*    margin-top: 5px; */
}

.library table {
  border-collapse: collapse;
/*  border: solid 1px gray; */
}

.libraryObjects th {
  font-size: 1.1em;
  line-height: 1.4em;
  font-weight: bold;
  padding-left: 2px;
  padding-right: 10px;
  border-bottom: solid 1px gray;
}

.libraryObjects th.ascending {
  background-origin: content-box;
}

.libraryObjects th.sortable {
  border-left: solid 1px gray;
  border-right: solid 1px gray;
}

.library tbody tr:hover {
  background: lightblue;
}

.libraryObject td {
  padding-right: 5px;
  vertical-align: middle;
}

.library {
  margin: 0px;
/*  height: 500px; */
  width: 100%; /* 800px */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.library .buttonbar {
    float: left; /* override normal buttonbar */
}

.libraryContainer {
  clear: both;
  float: left;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: auto;
  max-height: 700px;
/*  flex: 1 0 fit-content; */
}

.library .scroller {
  float: left;
/*  max-width: 65%; */
  /*    clear: both; */
}

.library .libraryFoldersContainer {
/*    clear: both; */
/*    width: 35%; */
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: fit-content;
  min-width: 250px;
  max-width: auto; /*min-content; */
}

.library .libraryObjectsContainer {
    margin-left: 5px;
 /*   width: 64%; */
 /*   float: right; */
    /*max-width: 64%; */
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: fit-content;
    min-width: 0;
}

.libraryFoldersContainer, .libraryObjectsContainer {
  background: #EEE;
  min-width: 200px;
  border: solid 1px lightgray;
  padding-top: 5px;
  height: auto; /*fit-content; */
  overflow-y: auto;
}

.libraryNode {
  width: 24px;
  height: 24px;
  float: left;
  cursor: pointer;
}

.collapse {
  background-image: url('../../images/Icons/FolderOpen24x24.png');
}

.expand {
  background-image: url('../../images/Icons/FolderClosed24x24.png');
}

.expanding {
  /*background: #00f; */
/*  background: #fff; */
  background: url('../../css/images/wait16trans.gif') center transparent no-repeat;
}

li.libraryFolder > div {
    border: solid 1px transparent;
    height: 24px;
    line-height: 24px;
}

li.libraryFolder > div:hover {
    border: solid 1px #888;
}

li.libraryFolder.selected > div {
/*    border: solid 1px blue; */
    background: lightgray;
}

tr.libraryObject.selected {
/*    border: solid 1px blue; */
    background: lightgray;
}

td.modifiedDate {
    color: gray;
}

.folder > label {/* labels are normally bold */
  font-weight: normal;
}