/* to be merged into the main file when done */

/* Draft Documents — Asset / Category tab strip (IS-2704) */
.documentsbycategorybuttons {
    margin: 0 0 8px 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
    border-bottom: 2px solid var(--blue-base);
}

.documentsbycategorybuttons li {
    list-style: none;
    float: left;
    box-sizing: border-box;
    min-height: 30px;
    padding: 0;
    cursor: pointer;
    background-color: var(--blue-light);
    color: var(--card-color);
    border: 1px solid var(--card-accent);
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    margin-bottom: -2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.documentsbycategorybuttons li > span {
    font-weight: 700;
    padding: 0 4px 2px 4px;
}

.documentsbycategorybuttons li:not(.selected):hover {
    background-color: var(--grey-selected);
    border-color: var(--grey-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.documentsbycategorybuttons li:not(:last-child) {
    margin-right: 0.5%;
}

.documentsbycategorybuttons .selected {
    background-color: var(--blue-base);
    border-color: var(--blue-base);
    border-top: 2px solid var(--blue-hover);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0, 91, 160, 0.28);
    z-index: 1;
    position: relative;
}

.documentsbycategorybuttons .selected:hover {
    background-color: var(--blue-hover);
    border-color: var(--blue-hover);
}

.documentsbycategorybuttons a {
    display: block;
    padding: 3px 10px 11px 10px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.documentsbycategorybuttons a:hover {
    text-decoration: none;
}

.documentsbycategorybuttons .selected a {
    color: #fff;
    font-weight: 700;
}

.loader {
  height: 2px;
  width: 100%;
  position: fixed;
  top:0;
  overflow: hidden;
  background-color: #ddd;
  z-index:100000;
}

.loader:before{
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 2px;
  background-color: #4D92CA;
  animation: loading 1s linear infinite;
}

@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

.floatable {
    cursor:pointer;
    text-decoration:dotted;
    color:#337ab7;
}

.floatable:hover {
    text-decoration:underline;
}

.nav-project-setup-updating {
    margin-left:5px;
    color:yellow;
    display:none;
}

.book-section-style {
    padding:2px 4px;
    color:white;
    width:150px;
}

.book-section-style i {
    width:15px;
    text-align:center;
}

.book-section-style span {
    margin-left:4px;
}

.book-section-style-colour option {
    color:white;
    padding:4px;
}

.bookpreview-container {
    width: 100%;
    background-color: white;
    border: 1px solid #3F73B2;
    border-radius: 3px;
}

.bookpreview-header {
    width: 100%;
    background-color: #3F73B2;
    padding: 5px 10px 10px 10px;
    color:white;
}

.bookpreview-header option, .bookpreview-header select, .bookpreview-header button {
        color: black;
    }

.bookpreview-body {
    width:100%;
    background-color:white;
    padding:5px;
    display:inline-block;
}

.bookpreview-body iframe {
    border:1px solid #808080;
}

.bookpreview-body-left, .bookpreview-body-middle, .bookpreview-body-right {
    display: inline-block;
    float: left;
}

.bookpreview-body-right {
    margin-left: 10px;
}

.fa-green {
    color:#008000 !important;
}

.fa-green-hover:hover {
    color: #008000 !important;
}

.fa-red {
    color: #800000 !important;
}

.fa-red-hover:hover {
    color: #800000 !important;
}

.fa-lg {
    font-size:16pt;
}

.filetarget {
    border: 1px solid #222;
    padding: 10px 5px 10px 50px;
    background-color: #E6BD8C;
}

.correspondencerecipient {
    margin-right: 5px;
}

.process-notstarted {
    background-color:#ffffff !important;
}

.process-prelisted {
    background-color: #e8cb4a !important;
}

.process-prelistedsystem {
    background-color: #e4ba04 !important;
}

.process-inprogress {
    background-color: #f5a760 !important;
}

.process-inprogresssystem {
    background-color: #f38016 !important;
}

.process-draft {
    background-color: #a20791 !important;
}

.process-issuedforcomment {
    background-color: #749ed7 !important;
}

.process-commentsmade {
    background-color: #d694d5 !important;
}

.process-commentsreturned {
    background-color: #6c67c2 !important;
}

.process-commentsactioned {
    background-color: #4b46ad !important;
}

.process-issuedforapproval {
    background-color: #302a9b !important;
}

.process-commentsclosed {
    background-color: #0e0a7e !important;
}

.process-approved {
    background-color: #76c10f !important;
}

.datepicker {
    border: 1px solid #222;
    background-color: #eeeeee;
    border-radius:3px;
    padding:5px;
    width:300px;
    position:absolute;
    z-index:1000;
}

.datepicker-header {
    background-color: #4d92ca;
    color:white;
    width:100%;
    padding:2px 5px;
    display:inline-block;
}

.datepicker-header-left, .datepicker-header-mid, .datepicker-header-right {
    float:left;
}

.datepicker-header-left, .datepicker-header-right {
    width:20%;
}

.datepicker-header-mid {
    width:60%;
    text-align:center;
}

.datepicker-header-right {
    text-align: right;
}

.datepicker-week {
    float: none;
}

.datepicker-week:last-child {
    border-bottom: 1px solid #222;
}

.datepicker-day {
    width: 14.28%;
    height: 30px;
    border-left: 1px solid #222;
    border-top: 1px solid #222;
    float: left;
    cursor: pointer;
    background-color:#d0d0d0;
    padding:0 2px;
    overflow:hidden;
}

.datepicker-day-current {
    background-color: white;
}

.datepicker-day-weekend {
    color:#808080;
}

.datepicker-day-current.active {
    background-color: #4d92ca;
    color: white;
}

.datepicker-day-last {
    border-right: 1px solid #222;
}

.datepicker-week-header {
}

.datepicker-week-header > div {
    width: 14.28%;
    float:left;
}

.inlineeditor-spacer {
    height: 10px;
    min-height: 10px;
    max-height: 10px;
}

.inlineeditor-bandtools {
    padding-top:8px;
}

.wshousestyle {
    font-family: var(--font-family);
}

.wshousestyle h1 {
    font-size:12pt;
    font-weight:bold;
    text-transform:uppercase;
    margin:0;
}

.wshousestyle h2 {
    font-size: 11pt;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.wshousestyle h3 {
    background-color:inherit;
    color:inherit;
    font-size: 12pt;
    font-weight: bold;
    margin: 0;
}

.wshousestyle h4 {
    font-size: 12pt !important;
    text-decoration:underline;
    margin: 0;
}

.wshousestyle p {
    font-size: 12pt !important;
    margin: 0;
}

.wshousestyle p:not(:last-child) {
    margin-bottom:6pt;
}

.wshousestyle li {
    margin-left:20px;
}

.wshousestyle .editabletable-cell {
    font-size: 12pt !important;
}

.editabletable-subblockplaceholder {
    cursor: pointer;
}

.editabletable-subblockplaceholder span {
}

.failed {
    color:red;
    text-decoration:line-through;
}

.rotate {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.activedocumentpreview, .activedocumentpreview-nonlink {
    border: 1px solid #222;
    border-radius: 4px;
    padding: 5px;
}

.activedocumentpreview {
    background-color: lightgoldenrodyellow;
}

.activedocumentpreview-nonlink {
    background-color: #d0d0d0;
}

.activedocument-selected td {
    background-color:lightgoldenrodyellow !important;
}

.assemblageitem i {
    width:10px;
    text-align:center;
    margin-left:5px;
}

.assemblageitem-level1 {
    font-size:14pt;
}

.assemblageitem-level2 {
    font-size: 12pt;
}

.assemblageitem-level3 {
    font-size: 10pt;
}

.assemblageitem-level4 {
    font-size: 8pt;
}

.assemblage td {
    vertical-align:top;
}

.highlight, .highlight td {
    background-color:lightgoldenrodyellow;
}

.bladecontainer {
    display: grid;
    margin: 0 -20px;
    padding-left: 20px;
}

.bladecontainer-opened {
    grid-template-columns: 100% 0%;
}

.bladecontainer-closed {
    grid-template-columns: 100% 0%;
}

.bladecontainer-left {
    padding-right: 15px;
}

.bladecontainer-right {
    display: none;
    padding-left: 15px;
    position: absolute;
    z-index: 10000;
    right: 0;
    width: 33vw;
    height: 100%;
    overflow-y: auto;
    padding-right: 15px;
    background-color: white;
    border: 1px solid var(--grey-dark);
    padding: 15px;
    box-shadow: -18px 0px 15px -3px rgba(0,0,0,0.1);
}

.bladecontainer-obscurer {
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
}

.workspaces-list {
    overflow-y: auto;
}

/* Workspace cards grid */
.workspaces-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 4px 0;
}

.workspace-card {
    display: flex;
    flex-direction: column;
    background: var(--card-base);
    border: 1px solid var(--card-accent);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.workspace-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: var(--blue-base);
}

.workspace-card-image {
    width: 100%;
    height: 120px;
    background-color: var(--grey-bar);
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
}

.workspace-card-body {
    padding: 12px 14px;
    flex: 1;
    min-width: 0;
}

.workspace-card-title {
    margin: 0 0 6px 0;
    font-size: 12pt;
    font-weight: bold;
    color: var(--card-color);
    line-height: 1.3;
}

.workspace-card-subtitle {
    font-size: 11pt;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.35;
}

.workspace-card-link {
    font-size: 11pt;
    color: var(--blue-link);
    text-decoration: none;
}

.workspace-card-link:hover {
    text-decoration: underline;
}

.workspace-card-actions {
    padding: 8px 14px 12px;
    border-top: 1px solid var(--card-accent-light);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.workspace-card-actions i {
    cursor: pointer;
    color: #666;
}

.workspace-card-actions i:hover {
    color: var(--blue-base);
}

.workspaces-empty {
    padding: 1.5rem;
    color: #666;
}

.workspaces-list-footer {
    margin-top: 1.25rem;
    padding: 0 4px 4px;
}

.workspaces-list-image {
    display:inline-block;
    width:150px;
    height:100px;
    background-position:center;
    background-size:cover;
}

.workspaces-list-column1 {
    width: 175px;
    min-width: 175px;
    max-width: 175px;
}

.workspaces-list-column2 {
    width: 50%;
    min-width: 50%;
    max-width: 50%;
}

.workspaces-list-column3 {
    width: 50%;
    min-width: 50%;
    max-width: 50%;
}

.workspaces-list-column4 {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    text-align:right;
    padding-right:20px !important;
}

.workspaces-list-table {
}

.workspaces-list-table td {
    padding:7px 5px 4px 5px;
    vertical-align:middle;
}

.workspaces-list-table tr:not(:last-child) td {
    border-bottom: 1px dotted var(--blue-base);
}

.workspaces-list-table tr:hover {
    background-color: var(--grey-dark);
}

.filterspopup-outer {
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
    padding: 10px;
    border: 1px solid var(--blue-base);
    width: 400px;
    box-shadow: 0px 0px 10px 0px rgba(128,128,128,1);
}

.filterspopup-outer::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 10%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.filterspopup-outer::after {
    content: "";
    position: absolute;
    top: -11px;
    left: 10%;
    transform: translateX(-50%);
    border-width: 0 11px 11px 11px;
    border-style: solid;
    border-color: transparent transparent var(--blue-base) transparent;
}

.dragonddl2, .dragonddl2-fit {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    user-select: none;
}

.dragonddl2 {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
}

.dragonddl2 li, .dragonddl2-fit li {
    list-style: none;
    cursor: pointer;
}

.dragonddl2 li:hover, .dragonddl2-fit li:hover {
    background-color: var(--grey-hover);
}

.dragonddl2 li i, .dragonddl2-fit li i {
    width:12px;
    text-align:center;
    margin-right:2px;
}

.dragonddl2-tools {
    background-color: var(--blue-light);
    padding:4px 8px;
    margin-bottom:4px;
    border-radius:4px;
}

.dragonddl2-tool {
    cursor:pointer;
}

.dragonddl2-tool i {
    margin-right: 2px;
}

.dragonddl2-tool:not(:last-child) {
    margin-right:10px;
}

.dragonddl2-textbox {
    width: 100%;
    font-size: 9pt;
    font-family: var(--font-family);
    border: 1px solid var(--grey-dark);
    border-radius: 1px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.filterwidget-button {
    max-width: 400px;
    overflow:hidden;
}

.filterwidget-button-top {
    margin-right:4px;
}

.filterwidget-button-bottom {
    font-weight: bold;
}