html {
  min-height: 100%;
}
body {
  font-family: Arial;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
.list-dir {
  position: absolute;
  height: 100%;
  width: 280px;
  top: 0;
  bottom: 0;
  overflow: auto;
  background-color: #f3f3f3;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.list-dir li {
  list-style: none;
}
.list-dir ul {
  margin: auto;
  padding: 0;
}
.list-dir ul .sub-list {
  display: none;
  margin-left: 20px;
}
.list-dir .has-child > a > .arrow-list-dir {
  display: inline-block;
}
.list-dir .wrap-list {
  display: inline-block;
  white-space: nowrap;
  min-width: 100%;
}
.list-dir .arrow-list-dir {
  display: none;
  width: 10px;
  height: 14px;
  position: absolute;
  left: 2px;
  top: 4px;
  background-image: url(../img/arrow.png);
  background-size: 8px;
  background-repeat: no-repeat;
  background-position: center;
}
.list-dir a {
  display: block;
  padding: 2px 0;
  background-image: url(../img/folder.png);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: 11px 2px;
  padding-left: 30px;
  position: relative;
  white-space: nowrap;
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
  color: #333;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.list-dir a.active .arrow-list-dir {
  background-image: url(../img/arrow-active.png);
}
.list-dir a.opening {
  color: #ff0000;
  font-weight: bold;
}
.list-dir a:hover {
  background-color: #c7deff;
}
.list-dir .user-info{
  font-weight: bold;
  border-top: 1px solid gray;
  padding-top: 15px;
  margin-top: 30px;
  text-align: left;
}
.list-dir .user-info a{
  padding-left: 10px;
}
.list-dir .user-info a.logout {
  background-image: none;
  background-position: 7px center ;
}
a {
  cursor: pointer;
}
a:hover,
a:focus {
  text-decoration: none;
}
img {
  max-width: 100%;
}
.main-content {
  position: absolute;
  left: 250px;
  padding-left: 10px;
  top: 0px;
  bottom: 0;
  right: 0;
  margin: auto;
  border-right: 1px solid #e1e1e1;
  overflow: hidden;
}
.main-content .top-tool {
  background-color: #f3f3f3;
  padding: 5px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  height: 50px;
  padding-top: 8px;
  padding-left: 0px;
}
.main-content .top-tool:before,
.main-content .top-tool:after {
  width: 0;
  content: '';
  position: absolute;
  height: 10px;
  bottom: 0;
  left: 0;
  margin: auto;
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  -o-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  -webkit-background-size: 40px 40px;
  background-size: 40px 40px;
  z-index: 999;
  background-color: #4caf50;
  -webkit-transition: width 0s;
  -moz-transition: width 0s;
  -ms-transition: width 0s;
  -o-transition: width 0s;
  transition: width 0s;
}
.main-content .top-tool.loading:after {
  -webkit-transition: width 15s;
  -moz-transition: width 15s;
  -ms-transition: width 15s;
  -o-transition: width 15s;
  transition: width 15s;
  width: 100%;
}
.main-content .top-tool.finish:before {
  width: 100%;
  -webkit-transition: width 0.25s;
  -moz-transition: width 0.25s;
  -ms-transition: width 0.25s;
  -o-transition: width 0.25s;
  transition: width 0.25s;
}
.main-content .top-tool a {
  margin-right: 5px;
}

.list-file {
  font-size: 0;
  text-align: center;
  position: absolute;
  top: 55px;
  bottom: 50px;
  left: 0;
  right: 0;
  margin: auto;
  overflow: auto;
  padding: 5px;
}
.list-file * {
  font-size: 12px;
}
.list-file:after {
  content: 'Đang tải...';
  position: absolute;
  left: 0;
  right: 0;
  background: #E91E63;
  color: #fff;
  font-size: 14px;
  width: 150px;
  text-align: center;
  margin: auto;
  top: -50px;
  padding: 4px;
  border-radius: 4px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.list-file.loading:after {
  top: 5px;
}
.list-file .item {
  display: inline-block;
  width: 150px;
  height: 150px;
  position: relative;
  cursor: pointer;
}
.list-file .item.selected .wrap-thumb {
  border: 3px solid #4caf50;
}
.list-file .item.loading:after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  height: 16px;
  width: 16px;
  background-image: url(../img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: auto;
}
.list-file .item .wrap-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  right: 5px;
  margin: auto;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  -webkit-transition: border-color 0.25s, box-shadow 0.25s;
  -moz-transition: border-color 0.25s, box-shadow 0.25s;
  -ms-transition: border-color 0.25s, box-shadow 0.25s;
  -o-transition: border-color 0.25s, box-shadow 0.25s;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.list-file .item .wrap-thumb:hover {
  border-color: #ff0000;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.list-file .item .wrap-thumb:hover .tool .delete-action {
  opacity: 0.6;
  visibility: visible;
}
.list-file .item .wrap-thumb .tool {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px;
  overflow: hidden;
}
.list-file .item .wrap-thumb .tool .delete-action {
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
  display: block;
  height: 14px;
  width: 14px;
  background-repeat: no-repeat;
  background-image: url("../img/delete_16x16.gif");
  background-position: center center;
  float: right;
  opacity: 0;
  visibility: hidden;
}
.list-file .item .wrap-thumb .tool .delete-action:hover {
  opacity: 1;
}
.list-file .item img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.list-file .item .file-name {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 5px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-img {
  max-width: 800px;
  margin: auto;
  padding-right: 150px;
  position: relative;
  min-height: 200px;
}
.detail-img img {
  height: auto;
}
.detail-img .col-left {
  width: 100%;
  float: left;
}
.detail-img .col-right {
  width: 150px;
  border-left: 1px solid #e1e1e1;
  padding-left: 10px;
  float: left;
  position: absolute;
  right: 0;
  padding-top: 15px;
}
.footer-tool {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #f3f3f3;
  padding: 10px;
  right: 0;
  z-index: 9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Login form */
.login_wrapper {
    right: 0px;
    margin: 0px auto;
        margin-top: 0px;
    margin-top: 5%;
    max-width: 350px;
    position: relative;
}
.animate {
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: both;
    -moz-animation-duration: 0.5s;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: both;
    -o-animation-duration: 0.5s;
    -o-animation-timing-function: ease;
    -o-animation-fill-mode: both;
    -ms-animation-duration: 0.5s;
    -ms-animation-timing-function: ease;
    -ms-animation-fill-mode: both;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}
.login_form {
    z-index: 22;
    position: absolute;
    top: 0px;
    width: 100%;
}
.login_content {
    margin: 0 auto;
    padding: 20px 0 0;
    position: relative;
    text-align: center;
    text-shadow: 0 0px 0 #fff;
    min-width: 280px;
}
.login_content form {
    margin: 20px 0;
    position: relative;
}
.login_content form input[type="text"], .login_content form input[type="email"], .login_content form input[type="password"] {
    border-radius: 3px;
    -ms-box-shadow: 0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;
    -o-box-shadow: 0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;
    box-shadow: 0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;
    border: 1px solid #c8c8c8;
    color: #777;
    margin: 0 0 20px;
    width: 100%;
}
.openID {
    margin: 0 !important;
    height: 34px;
    padding: 7px;
    font-size: 13px !important;
    text-decoration: none !important;
}

/*footer*/
footer{
  left: 0px;
  bottom: 0px;
  text-align: center;
  width: 100%;
  position: fixed;
}
.separator {
    border-top: 1px solid #D8D8D8;
    margin-top: 10px;
    padding-top: 10px;
}

/* alert error*/
#alert-message{
  margin-bottom: 0;
}
#modal-body{
  padding: 0;
}

/* context menu */
.context-menu {
  display: none;
  position: absolute;
  z-index: 10;
  padding: 2px 0;
  width: 120px;
  background-color: #fff;
  border: solid 1px #dfdfdf;
  box-shadow: 1px 1px 2px #cfcfcf;
}
.context-menu-active {
  display: block;
}
.context-menu_items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.context-menu_item {
  display: block;
  margin-bottom: 4px;
}
.context-menu_item:last-child {
  margin-bottom: 0;
}
.context-menu_link {
  display: block;
  padding: 4px 12px;
  color: #0066aa;
  text-decoration: none;
}
.context-menu_link:hover {
  color: #fff;
  background-color: #0066aa;
}
.context-menu_items .divider{
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}