.store {
    /*    display: grid;
        grid-template-areas:
            "toolbartop toolbartop"
            ". toolbar"
            "leftPanel rightPanel";
    
        grid-template-columns: 22px auto auto;*/
}

.store #currentPath {
    padding: 5px 0px 5px 0px;
}

/*.store > #toolbartop{
    grid-area: toolbartop;
}
.store > #toolbartop .fa{
    margin-right: 5px;
}*/

/*.store > #toolbar{
    grid-area: toolbar;
}*/

.store #directoryList {
    /*grid-area: directoryList;*/
}
.store #fileList {
    /*grid-area: fileList;*/
    min-width: 960px; /* sum of columns to avoid x-scroll */
    width: 100%;
}
.store #fileList.mini {
    min-width: unset;
}

/*.store #toolbar{
    padding: 0px 30px;
}*/

.store .file-template-holder{
    /*    border: 1px solid green;*/
    display: flex;
    /*    padding: 0px 30px;*/
}

.store .file-template-holder #leftPanel{
}

.store .file-template-holder #rightPanel{
    flex-grow: 1;
}

.store .file-template-holder #rightPanel > div {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 300px);
}

/* ignoring all store > for now, migth  be needed but  */
.store > #leftPanel {
    /*    grid-area: leftPanel;*/
    /*    display: none;*/
    /*    width: 400px;*/
    height: 100%;
}
.store > #rightPanel {
    /*    grid-area: rightPanel;*/
    display: flex;
}

.store > #rightPanel tbody td {
    word-break: break-word;
}
.store > #rightPanel > div#directoryList {
    /*padding-right: 30px /* yuck, 2 x scrollbars */
}
.store > #rightPanel > div > table{
    overflow-x: visible;
}

.store > #leftPanel fieldset{
    display: none;
}

.store > #leftPanel table,
#searchPanel table{
    border-collapse: collapse;
    margin-bottom: 4px;
}

.store > #leftPanel table td:first-child,
#searchPanel table td:first-child{
    font-weight: bold;
}

.store > #leftPanel table td input[type='text'],
#searchPanel table td input[type='text']{
    width: 132px;
    margin-right: 2px;
}
.store > #leftPanel button,
#searchPanel button{
    margin-right: 2px;
}

/*.store > #leftPanel table tr:nth-child(3) td input[type='text'],
#searchPanel table tr:nth-child(3) td input[type='text']{
    width: 270px;
}*/



.store table {
    height: 1px; /* yuck, allow 100% height of elements in table cells */
}

#searchPanel .fontzero {
    font-size: 0; /* yuck, to collapse space */
}
#searchPanel .fontzero > *{
    font-size: 0.8rem; /* yuck, to reset font */
}

.store .toggle-icon-holder{
    padding-top: 4px;
    padding-left: 4px;
    padding-right: 4px;
    background-color: #f0f0f0;
    vertical-align: top;

    height: 100%;
    width: 22px;
}

.store .drive-button {
    filter: grayscale(100%);
    vertical-align: middle;
    cursor: pointer;
}


.store .store-table {
    border: 1px solid #ddd;

    width: 100%;
    /*margin-bottom: 20px;*/

    background-color: transparent;

    border-spacing: 0;
    border-collapse: collapse;
}

.store .store-table > * > tr > * {
    --column-width: auto;

    min-width: var(--column-min-width, var(--column-width));
    width: var(--column-width);
    max-width: var(--column-max-width, var(--column-width));
}

/* Button */
.store .store-table > * > tr > .button {
    --column-width: 40px;
}

/* Button */
.store .store-table > * > tr > .edit {
    --column-width: 24px;
    text-align: center;
}
.store .store-table > * > tr > .edit .icon-hover {
    margin-right: unset;
}

/* Button */
.store .store-table > * > tr > .icon {
    --column-width: 24px;
    text-align: center;
}

/* Name */
.store .store-table > * > tr > .name {
    --column-min-width: 100px;
}
/*.store .mini .store-table > tbody > tr > td:nth-child(2) {*/
.store .mini .store-table > tbody > tr  td.mini-name,
.store .mini .store-table > tbody > tr  td.mini-path {
    word-break: break-word;
}

/* Path */
.store .store-table > * > tr > .path {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    --column-width: 400px;
}
/* Expanded view count */
.store #directoryTable > * > tr > .count {
    --column-width: auto;
}

/* Version */
.store .store-table > * > tr > .version {
    --column-width: 200px;
}

/* Modified */
.store .store-table > * > tr > .modified {
    --column-width: 90px;
}

/* Modified by */
.store .store-table > * > tr > .modified-by {
    --column-width: 115px;
}

/* Checked out*/
.store .store-table > * > tr > .checked-out {
    --column-width: 90px;
}

/* Checked out by */
.store .store-table > * > tr > .checked-out-by {
    --column-width: 115px;
}

/* Case number */
.store .store-table > * > tr > .case-number {
    --column-width: 110px;
}

.store .store-table td {
    border: 1px solid #ddd;
}

.store .store-table thead {
    /*    display: table-row-group;*/
}

.store .store-table thead tr {
    font-weight: bold;
    /*    display: table-row;*/
}

.store .store-table tbody{
    /*    display: table-row-group;*/
}

.store .store-table > tbody > tr {
    /*    display: table-row;*/
    /*    background-color: green;*/
}

.store .store-table > tbody > tr:nth-child(odd) {
    background-color: #f9f9f9;
}
.store .store-table > tbody > tr:nth-child(even) {
    background-color: #ffffff;;
}

.store .store-table > tbody > tr:hover,
.store .store-table > tbody > tr:hover table{
    background-color: #b3b3b3;
}

/* Also used in case and mail, hence no ".store"-prefix */
.cookie {
    text-align: center;
    padding: 5px;
    margin: 0px 5px 0px 5px;

    background-color: #f4f4f4;
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-weight: bold;

    display: inline-block;
}
.path-link:hover {
    background-color: #b3b3b3;
    cursor: pointer;
}

.store-table td {
    display: table-cell;

    line-height: 1.42857143;
    vertical-align: top;
}
.store .mini-table {
    border-collapse: collapse;
    width: 100%;
}
.store .mini-table td {
    border: none;
}
.store .mini-table td.mini-date{
    line-height: 0.9;
    vertical-align: middle;
}
.store .mini-name {
    line-height: 1.42857143;
}
.store .mini-date {
    font-size: 0.7em;
    text-align: right;
}
.store .mini-date > span {
    display: inline-block;
}
.store .mini-date > span > span{
    white-space: nowrap;
}
.store .mini-path {
    font-style: italic;
    font-size: 0.7em;
}
.store .mini-info {
    width: 15px;
    vertical-align: middle;
}

.store .no-click {
    cursor: auto;
}

.store div.table {
    display:table;
    border: none;
    border-collapse: separate;
    border-spacing: 2px;
}

.store div.table > div.table-row {
    display:table-row;
    padding-bottom: 5px;
}

.store div.table > div.table-row > div.table-header {
    display:table-cell;
    font-weight: bold;
}

.store div.table > div.table-row > div.table-header > * {
    display:inline;
}

.store div.table > div.table-row > div.table-content {
    display:table-cell;
}

.store div.table > div.table-row > div.table-content > * {
    display:inline;
}

.document-menu,
.drive-menu{
    position: absolute;
    display: none;
}

.document-menu.ui-menu .ui-state-active{
    border: 1px solid #e6e6e6;
    color: #000000;
    background-color: #e6e6e6;
}

.document-menu.ui-menu .ui-menu-item,
.drive-menu.ui-menu .ui-menu-item{
    font-size: 0.9em;
}

.store .show-multi-actions-menu,
.store .show-directory-menu,
.store .show-list-menu{
    line-height: 18px;
    width: 100%;
    height: 100%;
}

.store #btnTogglePanel {
    position: relative;
}

#countCheckedOut {
    display: inline-block;
    position: relative;
    right: 10px;
    /*top: -8px;*/
    color: white;
    background: red;
    border-radius: 10px;
    border: 1px solid white;
    /*font-size: 14px;*/
    /*min-width: 8px;*/
    padding: 0 3px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    /*font-family: Saira, sans-serif;  FA override */
}

/*.store #leftPanel .right {
    width: 378px;  400 - 22 
}*/

/*.store #tableCheckedOut {
    word-break: break-word;
}*/

.store #leftPanel,
.store #leftPanel table {
    width: 100%;
}
.store #leftPanel table th {
    text-align: left;
}

/* Should probably be in default.css */
.store .my-tooltip {
    max-width: none;
}

.store-tooltip {
    max-width: none;
    white-space: nowrap;
}

/* Overlay */
.store-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height:60px;
    width:60px;
    margin:0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left:6px solid rgba(0,174,239,.15);
    border-right:6px solid rgba(0,174,239,.15);
    border-bottom:6px solid rgba(0,174,239,.15);
    border-top:6px solid rgba(0,174,239,.8);
    border-radius:100%;
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}

@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}

@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}

@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

.store .store-overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: wait; /* Add a pointer on hover */
}

.store #fileTable {
    display: none;
}
.store #directoryList {
    display: none;
}
.store #noFiles {
    display: none;
    text-align: center;
    height: 100px;
}
.store #noFiles > div {
    display: inline-block;
    vertical-align: middle;
}
.store #noFiles .vertical-helper {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.store.dragstart #fileTable > tbody{
    /*opacity: 0.5;*/
    filter: brightness(0.8);
}
.store.dragover #fileTable tbody{
    /*opacity: 0.5;*/
    filter: brightness(0.9);
}

.store.dragstart #noFiles{
    background-color: highlight;
    filter: brightness(0.8);
}
.store.dragover #noFiles{
    background-color: highlight;
    filter: unset;
}

.ui-droppable-active {
    filter: brightness(0.8);
}
.ui-droppable-hover {
    filter: unset;
    background-color: highlight;
}

.store .draggable {
    cursor: move;
}
.store .droppable {
    cursor: pointer;
}


.store .sortable {
    cursor: pointer;
}
