b            { font-weight: 600 }
hr           { border: none; height: 0; border-top:1px solid silver }
.clear       { clear:both; height: 0px; width:100% }
.nobr        { white-space: nowrap }
.nowrap *    { white-space: nowrap }
.center      { text-align: center }
.hidden      { display: none }
.unvisible   { visibility: hidden }
.clickable   { cursor: pointer }
.left        { float: left}
.right       { float: right}

.aleft       { text-align: left !important}
.aright      { text-align: right !important}
.acenter     { text-align: center !important}

a img        { border: none; }
a            { color: #d42121 ; text-decoration: none; }
a:hover      { text-decoration: none }

span.ellipsis { display:inline-block; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }

.btn.on-select { opacity: .2 }
.btn.on-select.is-selected { opacity: 1 }

.clearfix { clear: none; width: 100%; overflow: auto; }

.uploader { position: fixed; top:0; left:0; width: 100%; height: 100%; overflow: hidden; background: rgba(0, 0, 0, 0.7); text-align: center; vertical-align: middle; z-index: 9999; display: none }
.uploader #uploads { color: #fff; margin: 0;position: absolute; top: 50%;left: 50%;transform: translate(-50%, -50%); }

#uploads .file-upload { width: 100%; min-width: 300px; min-height: 45px; color: #fff }
#uploads .file-upload span { background: rgba(255, 255, 255, 0.3); border:1px solid #fff; height: 8px; border-radius: 8px; width: 100%; display:inline-block; margin-top: 5px; overflow: hidden }
#uploads .file-upload span p { min-width: 1%; width: 1%; height: 8px; background: #2caa00 }

/* flex layout */
body { display: flex; flex-direction: column; height: 100vh; }
aside { background: #e6e6e6; width: 100% }
content { flex: 1; width:100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; text-align: center;flex-grow: 1;overflow: auto; }
footer { background: whitesmoke; color: gray; text-align: center; padding: 7px 0; font-size: 11px }

/* content */
content { transition:all .2s ease-in-out }

/* forms */
.hotdoc-form input[type=text], .hotdoc-form input[type=email], .hotdoc-form  input[type=password] { display: inline-block;  max-width: 250px; height:35px; box-sizing: border-box; background: #fff; border: 1px solid #cbcbcb; color:#2d2d2d; padding: 12px 15px; border-radius: 4px; font-size: 15px; font-weight: 400; vertical-align: middle; margin:5px; width: 100% }
.hotdoc-form input[type=submit] { display: inline-block; background: #0089ff; color: #fff;  padding: 10px 20px; height:35px; box-sizing: border-box; border-radius: 4px; font-size: 13px; width: auto; font-weight: 200; margin:0;border:none }

/* file list */
/* https://stackoverflow.com/questions/4709390/table-header-to-stay-fixed-at-the-top-when-user-scrolls-it-out-of-view-with-jque */
table.file-list, table.file-list-selection { width: 100%; font-family: inherit; }
table.file-list tr th { background: rgba(255, 255, 255, 0.25); border-bottom: 1px solid #fff; color: #fff; font-size:13px; font-weight: 400; text-align: left; padding: 15px 7px 3px 7px}
table.file-list tr th.sorted { color:#fff; text-decoration: underline   }
table.file-list tr td { cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding:7px; vertical-align: middle; text-align: left; color: #fff; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 300px }
table.file-list tr td b { font-weight: 500 }
table.file-list tr td small { font-size: 11px; display: block; width: 100%; overflow: hidden }
table.file-list tr.folder b { color: #fff; font-weight: 700 }
table.file-list tr:hover td, table.file-list tr[data-p="0"]:hover td { background: rgba(255,  255,  255, 0.1) }
table.file-list tr[data-p="0"] td { color: #fff }
table.file-list tr.selected td { background:#fff; color: #373737 }

table.file-list-download, table.file-list-download-selection { width: 100%; font-family: inherit; }
table.file-list-download tr th { background: rgba(0, 0, 0, 0.42); border-bottom: 1px solid #fff; color: #fff; font-size:13px; font-weight: 400; text-align: left; padding: 15px 7px 3px 7px}
table.file-list-download tr th.sorted { color:#fff; text-decoration: underline   }
table.file-list-download tr td { cursor: pointer; border-bottom: 1px solid rgba(0, 0, 0, 0.1); padding:7px; vertical-align: middle; text-align: left; color: rgba(0, 0, 0, 0.42) }
table.file-list-download tr td b { font-weight: 500 }
table.file-list-download tr td small { font-size: 11px; display: block; width: 100%; overflow: hidden }
table.file-list-download tr.folder b { color: #fff; font-weight: 700 }
table.file-list-download tr:hover td, table.file-list-download tr[data-p="0"]:hover td { background: rgba(255,  255,  255, 0.1) }
table.file-list-download tr:hover td small { color: #fff }
table.file-list-download tr[data-p="0"] td { color: #fff }

table.file-list tr.empty-folder td { text-align: center; font-size: 18px; padding: 100px 0; border-bottom: none}
table.file-list tr.empty-folder:hover td { background: none; }
table.file-list tr td input { padding: 3px 8px !important; margin: 0px !important; border-radius: 2px}
table.file-list-selection { border:1px solid #c7cace; margin: 5px 0px 15px 0; }
table.file-list-selection tr td { border-bottom: 1px solid #c7cace; padding:12px; vertical-align: middle; text-align: left; }

nav { max-width: 100%; margin: 0 auto; width: 100%; color: rgba(255, 255, 255, 0.7)}
nav .bread-crumbs-path { margin: 0 auto; padding-left: 10px; font-size: 18px; float: left }
nav .bread-crumbs-path span { display: inline-block; padding: 5px 6px; color:#fff ; font-weight: 700; font-size: 16px; cursor: pointer  }
nav .toggle-view { float: right; padding:5px 15px }
nav .toggle-view span { display: inline-block; padding: 1px 6px; font-weight: 400; color: gray; cursor: pointer; border-radius: 3px}
nav .toggle-view span:hover { background: rgba(255, 255, 255, 0.6)}
nav .toggle-view span.active { color:#d42121  }

.circle { display: inline-block; border: 2px solid #fff; background-color:#fff; height: 10px; border-radius:50%; width: 10px; vertical-align: middle }

.access { color:#fff; display: inline-block; padding: 1px 12px; border-radius: 12px; margin: 1px 0 }


#EmlComposer { padding: 25px }


/* footer */


.loader {
  display: none;
  height: 4px;
  width: 100%;
  position: absolute;
  top:0; left: 0; right: 0;
  overflow: hidden;
  background-color: #ddd;
  z-index: 1000;
}
.loader:before{
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 4px;
  background-color: #d42121 ;
  animation: loading 2s linear infinite;
}

@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}
