/* Project management & song coding admin -------------------------------------------------------*/

.project-mgmt.songCoding {
  padding: 15px 15px 0 15px;
}

.project-mgmt .button,
.project-admin .button {
  background: rgba(231, 212, 173, .25);  /* Pale Gold */
  border: none;
  border-radius: 5px;
  color: rgb(231, 212, 173);             /* Pale Gold */
  font-size: 15px;
  font-weight: 500;
  padding: 5px 10px 5px 10px;
  margin: 5px 0 10px 10px;
  user-select: none;
  width: 124px;
  cursor: pointer;
}

.project-mgmt .button:hover,
.project-admin .button:hover {
  color: #D4CDC9;                        /* Warm Light Grey */
  background: rgba(231, 212, 173, .50);  /* Pale Gold */
}

.project-mgmt .button.clipboard img {
  margin-top: -3px; /* better vertical alignment for the clipboard icon png */
}

.project-mgmt .panel,
.project-admin .panel {
  background: rgba(231, 212, 173, .15);  /* Pale Gold */
  border-radius: 12px;
  padding: 5px 10px 0 10px;
  margin: 0 0 0 0;  /*margin: 0 0 15px 0;*/
}

.project-admin .panel {
  margin: 0 20px 0 20px;
}

.project-mgmt .panel .header,
.project-admin .panel .header {
  display: flex;
  flex-flow: row nowrap;
  line-height: 18px;
  height:30px;
  margin-bottom: 5px;
}

.project-mgmt .panel .header .title,
.project-admin .panel .header .title {
  flex: 1 1 auto; /*expand or contract to fill avail space */
  color: #e7d4ad;   /* Pale Gold */
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-top: 5px;
  padding-bottom: 5px; 
}

.project-mgmt .panel .header .close-button {
  color: #A4BECE;   /* Cornflower */
  margin: -5px -10px 0 0;
  width: 25px;
  height: 35px;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  border-radius: 0 7px 0 0;
}

.project-mgmt .panel .header .close-button:hover {
  background: rgba(161, 221, 159, .35);  /* Mint */
  color: #d3e8f5;                        /* Cornflower.lighter */
}

.project-mgmt .panel .content,
.project-admin .panel .content {
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
}

.project-mgmt .panel .content.horizontal {
  flex-flow: row nowrap;
}

.project-mgmt .panel .content.vertical {
  flex-flow: column nowrap;
}

.project-mgmt .panel .content .publish {
  min-width: 96px;
  width: 96px;
}

.project-mgmt .panel .content.horizontal .publish {
  padding-top: 10px;
}

.project-mgmt .content .publish .state {
  padding-left: 2px;
  user-select: none;
  cursor: default
}

.project-mgmt .panel .content .share,
.project-admin .panel .content {
  position: relative;
}

.project-mgmt .panel .content.horizontal .share {
  flex: 1 1 auto;
  padding: 10px;
}
.project-mgmt .panel .content.vertical .share {
  flex: 1 1 auto;
  padding: 10px;
}

.project-mgmt .panel .content .share .input-row {
  display: flex;
  flex-flow: row nowrap;
}

.project-mgmt .panel .content .share input {
  flex: 1 1 auto;
  background: rgba(61, 71, 76, .25) !important;           /* Dark Blue Gray */
  color: rgba(231, 212, 173, .75) !important;             /* Pale Gold */
  border: 1px solid rgba(231, 212, 173, .50) !important;  /* Pale Gold */
  margin-top: 3px;
  margin-bottom: 0;
  font-size: 15px;
}

.project-mgmt .panel .content .share input:focus,
.project-mgmt .panel .content .share input.focused {
  text-shadow: none;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.project-mgmt .panel .content .share .button {
  width: 20px;
}

/* when the panel is stacked vertical, eg. narrow, then the buttons are a bottom row */
.project-mgmt .panel .content.vertical .buttons {
  display: flex;
  flex-flow: row nowrap;
  gap: 5px;
}

.project-mgmt .panel .content .buttons .button .text {
  padding-left: 2px;
}

.project-mgmt .panel .content .share .blocker,
.project-admin .panel .content .blocker {
  position: absolute;
  border-radius: 8px;
  background: rgba(128, 128, 128, 0.35);
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.project-admin .panel .content.horizontal .notes {
  flex: 1 1 auto;
  margin-right: 10px;  /* unclear why the gap: 10px doesn't handle this, but oh well... */
}

.project-admin .panel .content .notes textarea {
  width: 100%;
  background: rgba(61, 71, 76, .25) !important;           /* Dark Blue Gray */
  color: rgba(231, 212, 173, .75) !important;             /* Pale Gold */
  border: 1px solid rgba(231, 212, 173, .50) !important;  /* Pale Gold */
  margin-top: 3px;
  font-size: 15px;
  resize: none;
}

.project-admin .panel .content .notes textarea:focus,
.project-admin .panel .content .notes textarea.focused {
  text-shadow: none;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

/* submit for review ui on mgmt panel */
.project-mgmt .panel .content .submit {
  min-height: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.project-mgmt .panel .content .submit .button {
  width: 320px;
  margin-left: 0;
}

.project-mgmt .panel .content .submit .italic {
  margin-left: 10px;
  font-style: italic;
  font-size: 0.95em;
}

.project-mgmt .panel .content .resubmit-info .reviewer-caption {
  height: 10px;
  font-size: 0.95em;
  text-decoration: underline
}

.project-mgmt .panel .content .resubmit-info .reviewer-notes {
  font-style: italic;
  font-size: 0.95em;
  color: #A1DD9F
}

.project-admin .select {
  margin: 15px 20px 10px 20px;
}

/* filter for selection of reviewable projects-list */
.project-admin .select .filter {
  display: flex;
  flex-flow: row nowrap;
  height: 30px;
  line-height: 30px;
}

.project-admin .select .filter .cbox {
  margin-top: 5px;
}
.project-admin .select .filter .state {
  padding-left: 3px;
  user-select: none;
  cursor: default
}

.project-admin .select .filter .count {
  vertical-align: content;
  font-size:0.8em;
  padding-left: 2px;
  padding-right:15px;
  user-select: none;
  cursor: default
}

.project-admin .select .filter .search-query {
  margin-top:0;
  flex: 1 1 auto;
  font-size: 13px;
  width: 100%;
  background-color: rgba(32, 32, 32, .5);
  color:#eee
}

.project-admin .select .filter .toggle {
  margin-left: 10px;
  width: 40px;
}

/* selectable projects lists: e.g. .project-mgmt .projects-list, .project-admin .projects-list */
.projects-list {
  padding-left: 10px;
}

.project-mgmt.songCoding .projects-list {
  padding: 15px 10px 0 10px;
}

.project-admin .projects-list {
  max-height: 200px;
}

.projects-list .project-row {
  padding-top: 2px;
  display: flex;
  flex-flow: row nowrap;
}

.projects-list .project-row.header {
  padding-top: 10px;
  border-bottom: #D4CdC9 1px solid; /* Warm Light Gray */
}

.projects-list .rows {
  max-height: 176px;
  overflow-y: scroll;
  scrollbar-color: #878382 rgba(0,0,0,0.2); /* thumb, track */
  scrollbar-width: thin;
}

.projects-list .col {
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.project-admin .projects-list .col.username {
  min-width: 150px;
}

.projects-list .col.key {
  min-width: 70px;
}

.project-admin .projects-list .col.song-uid {
  min-width: 80px;
}

.projects-list .col.title {
  width: 100%;
  flex: 1 1 qauto
}

.projects-list .col.state {
  min-width: 80px;
}

.projects-list .selected-row {
  background: rgba(161, 221, 159, .25);  /* Mint */
}

.projects-list-line-separator {
  width:100%;
  height:1px;
  margin:5px 0 15px 0;
  background-color:#D4CdC9
}

.project-mgmt .bottom-button-row {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
