﻿/* VARIABLES
 **********************/
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
.list-unstyled {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.fade-in {
  animation: fadeIn 1.0s ease forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.file {
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 145px;
  text-align: center;
  position: relative;
  opacity: 0.8;
}
.file > .file-type {
  padding: 5px;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #003366;
}
.file > .file-type > input[type=checkbox] {
  position: absolute;
  display: none;
  top: 5px;
  left: 5px;
  margin: 3px;
  z-index: 1;
}
.file > .file-type > input[type=checkbox]:checked {
  display: block;
}
.file > a {
  display: block;
  color: #004C99;
}
.file > a .file-image {
  padding-top: 30px;
  width: 100%;
  height: 120px;
  font-size: 50px;
  line-height: 90px;
  color: #fff;
  background-color: #004C99;
  border-bottom: 1px solid #fff;
}
.file > a .file-name {
  padding: 10px;
  overflow: hidden;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.file:hover {
  opacity: 1;
  cursor: pointer;
}
.file:hover input[type=checkbox] {
  display: block;
}
.file.file-image > .file-type {
  background-color: #333;
  background-color: rgba(51, 51, 51, 0.6);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99333333, endColorstr=#99333333);
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99333333, endColorstr=#99333333);
}
.file.file-image > .file-image {
  background-color: transparent;
  background-size: cover;
  border-bottom: 1px solid #ccc;
  padding-top: 0;
}
.file.file-docx > .file-type {
  background-color: #3e3c8d;
}
.file.file-docx > a .file-image {
  background-color: #4E4BB1;
}
.file.file-pdf > .file-type {
  background-color: #8a0504;
}
.file.file-pdf > a .file-image {
  background-color: #BB0706;
}
.file.file-xlsx > .file-type {
  background-color: #3c744a;
}
.file.file-xlsx > a .file-image {
  background-color: #4E955F;
}