* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-y: hidden;
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
}

.main {
  background-color: #FFFFFF;
  width: 100%;
  color: #FFFFFF;
}

.nav1 {
  height: 4.6rem;
  background-color: #51c5d4;
}

.title {
  text-align: center;
  font-size: 2.4rem;
  margin-top: .8rem;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
}

.refresh {
  float: right;
  background-image: url("images/refresh.png");
  background-position: center center;
  background-repeat: no-repeat;
  width: 5rem;
  height: 4.6rem;
}

.refresh[data-disabled="true"] {
  background-image: url("images/refresh-disabled.png");
}

.about {
  float: left;
  background-image: url("images/about.png");
  background-position: center center;
  background-repeat: no-repeat;
  width: 5rem;
  height: 4.6rem;
}

.nav2 {
  background-color: #e8f0f2;
  color: #1cdae6;
  border-top: .2rem solid rgba(255, 255, 255, 0.5);
  border-bottom: .2rem solid rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  height: 4rem;
}

.types {
  text-align: center;
  padding-top: 1rem;
  height: 4rem;
}

.selected {
  border-bottom: .4rem solid #1cdae6;
}

#list-container {
  height: calc(100% - 9.6rem);
  overflow-y: scroll;
}

.row-header {
  background-color: rgba(168, 162, 162, 1);
  height: 2.5rem;
}

.row-header span {
  font-size: 2rem;
  text-align: center;
  margin-left: 1rem;
}

.item {
  border-bottom: .2rem solid #e5e5e5;
}

.item: hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.item > .list-title {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 80%;
  background-origin: content-box;
  min-height: 6rem;
  width: 4rem;
}

.doctype[data-type='docx'] {
  background-image: url("images/DOC.png");
}

.doctype[data-type='xlsx'] {
  background-image: url("images/XLS.png");
}

.doctype[data-type='pptx'] {
  background-image: url("images/PPT.png");
}

.xlstype {
  background-image: url("images/XLS.png");
}

.ppttype {
  background-image: url("images/PPT.png");
}

.item .name{
  padding-top: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item .detail {
  margin-left: 0;
  color: #868a8b;
  font-size: 1.2rem;
}

#empty-list {
  height: calc(100% - 9rem);
}

.empty-title {
  font-size: 1.8rem;
  padding-top: 4rem;
  text-align: center;
  color: #5f6366;
}

.empty-subtitle {
  font-size: 1.6rem;
  margin-top: 2rem;
  text-align: center;
  color: #868a8b;
}

.circle {
  margin-left: calc(50% - 6.2rem);
  margin-top: 3rem;
  width: 12.4rem;
  height: 12.4rem;
  border-radius: 6.2rem;
  background-color: rgba(255, 255, 255, 0.5);
}

.circle span {
  display: block;
  padding-top: 4.6rem;
  font-size: 2.6rem;
  text-align: center;
}

.refresh-btn {
  background-color: #51c5d4;
}

.header {
  height: 4.6rem;
  background-color: #51c5d4;
}

.back {
  width: 4.6rem;
  height: 4.6rem;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 50%;
  background-origin: content-box;
  background-image: url("images/back.png");
}

#file-header {
  text-align: left;
  color: #FFFFFF;
  height: 4.2rem;
}

#file-header span {
  display: block;
  font-size: 2.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: .6rem;
  height: 3rem;
}

.pages {
  margin-top: 1.4rem;
}

#file-display, #container {
  width: calc(100%);
  height: calc(100%);
}

.content {
  height: calc(100% - 4.6rem);
  background-color: #FFFFFF;
}

#loadingFailed {
  min-height: 36rem;
  background-color: #FFFFFF;
  color: #919394;
}

.open-btn {
  color: #FFF;
  background-color: #51c5d4;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(42, 42, 42, 0.4);
  margin-left: 0;
  border: none;
  border-radius: 0rem;
}

.loading-container {
  margin: 18rem calc(50% - 5rem) 0;
  height: 10rem;
  width: 10rem;
  background-color: rgba(42, 186, 204, 0.7);
  border-radius: 1rem;
}

#loading-img {
  margin: 2.7rem;
}

.hidden {
  display: none;
}

.file-ops {
  color: black;
  margin: 16rem calc(10%) 0;
  background-color: #FFFFFF;
  width: 80%;
}

.info-title {
  height: 3rem;
  background-color: #51c5d4;
}

#delete-confirm {
}

.confirm-header {
  height: .4rem;
  width: 100%;
  background: #51c5d4;
}

#deleteFileName {
  margin-top: 1.5rem;
  padding-left: 2rem;
  height: 4rem;
  border-bottom: 1rem solid rgba(42, 42, 42, 0.1);
  color: #5f6366;
  text-overflow: ellipsis;
}

#confirm {
  text-align: center;
  padding: 1.4rem 0;
  background: #51c5d4;
  color: #5f6366;
}

#cancel {
  text-align: center;
  padding: 1.4rem 0;
  color: #5f6366;
}

#fileName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: .5rem;
  padding-left: 1rem;
  color: #FFFFFF;
}

.fileInfo {
  padding-top: 1rem;
  padding-left: 1rem;
  border-bottom: .1rem solid rgba(42, 42, 42, 0.1);
  color: #444444;
  height: 4rem;
}

.deleteFile {
  padding-top: 1rem;
  padding-left: 1rem;
  color: #444444;
  height: 4rem;
}

#file-info {
  height: calc(100% - 2rem);
}

.file-info-title {
  padding-top: .8rem;
  font-size: 2.4rem;
}

.file-info-detail{
  background-color: #FFFFFF;
  height: calc(100% - 2rem);
  color: #000000;
}

.name {
  width: 90%;
  margin: 0 calc(5%);
  padding-top: 1rem;
  color: #5f6366;
}

.value {
  width: 90%;
  margin: 0 calc(5%);
  color: #868a8b;
}

.nameInfo {
  width: 90%;
  padding: 1rem calc(5%) 0;
  border-bottom: .1rem solid rgba(42, 42, 42, 0.1);
  color: #5f6366;
}

.bottom {
  position: absolute;
  bottom: 0;
  background-color: gray;
}

.hover {
  background: rgba(0, 0, 0, 0.15);
}

.touchover {
  background-color: #43a4b0;
}

.loading {
  -moz-animation:spin 2s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
