/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .docga_error {
  color: red;
  font-weight: bold;
}

.docga_container .docga_with {
  font-size: 1.5vh;
}

.docga_container .docga_with ul {
  margin: 0;
  padding: 0;
  text-align: left;
}

.docga_document_list_container {
  display: flex;
  flex-wrap: wrap;
  /* max-width: 80% !important; */
  flex-direction: inherit;
  justify-content: center;
  text-align: center;
}

.docga_document_container {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 20vh;
  display: inline-flex;
  position: relative;
  margin: 0 2px;
  padding: 1em;
  max-height: 40vh;
  overflow: hidden;
}

.docga_document_container:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.docga_thumbnail_container {
  text-align: center;
  margin-bottom: 1em;
}

.docga_title {
  text-align: center;
  word-break: break-all;
  text-transform: uppercase;
  font-size: 1.5vh;
}

.docga_description {
  font-size: 1.5vh;
}

.docga_thumbnail {
  margin: auto;
}

.docga_link {
  color: inherit;
  text-decoration: inherit;
  width: 100%;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ba2500;
  opacity: 0.8;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
}

.docga_document_container:hover .overlay {
  height: 100%;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
