.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  background: red;
  cursor: inherit;
  display: block;
}

.btn-warning {
  color: #022851;
  background-color: #FFBF00;
}

.btn-primary {
  background-color: #022851;
}

input[readonly] {
  background-color: white !important;
  cursor: text !important;
}

textarea {
  width: 100%;
}

.citation {
  padding-left: 4em;
  text-indent: -2em;
}


#results {
  height: 350px;
  font-size: 0.8em;
  resize: both;
  overflow: scroll;
}

/* Make focused results visible for keyboard users */
#results:focus {
  outline: 3px solid #66afe9;
  outline-offset: 2px;
}

.help-block {
  color: #333;
}

/* Cogs */
.three-cogs {
  margin: 20px;
  position: relative;
}

.three-cogs>.fa:nth-child(1) {
  animation-duration: 4s;
}

.three-cogs>.fa:nth-child(2),
.three-cogs>.fa:nth-child(3) {
  position: absolute;
  top: -0.2em;
  right: -0.45em;
  animation-direction: reverse;
  animation-duration: 2s;
}

.three-cogs>.fa:nth-child(3) {
  top: auto;
  bottom: -0.2em;
}


/* Success/error table */
.table tbody tr.success>td {
  background-color: #dff0d8 !important;
}

.table tbody tr.error>td {
  background-color: #f2dede !important;
}

.table tbody tr.warning>td {
  background-color: #fcf8e3 !important;
}

.table tbody tr.info>td {
  background-color: #d9edf7 !important;
}

.table-hover tbody tr.success:hover>td {
  background-color: #d0e9c6 !important;
}

.table-hover tbody tr.error:hover>td {
  background-color: #ebcccc !important;
}

.table-hover tbody tr.warning:hover>td {
  background-color: #faf2cc !important;
}

.table-hover tbody tr.info:hover>td {
  background-color: #c4e3f3 !important;
}


a {
  color: #022851;
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus,
.skip-link:active {
  position: static;
  left: auto;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 1000;
}