/**************************************************************/
/* bootstrap overrides */
/**************************************************************/

.navbar-brand {
  font-size: 25px;
}

/**************************************************************/

body {
  margin-bottom: 30px;
  padding-top: 60px;
}

/**************************************************************/

.nav-tabs li {
  position: relative;
}

.nav-tabs .count {
  position: absolute;
  bottom: 5px;
  right: 7px;
  font-size: 9px;
}

.navbar-form input {
  height: 29px;
  padding-left: 23px;
  background: url("/images/glass-caffdb28f6f1372f8b4544939d0c1528.png?vsn=d") no-repeat 0 50%;
  background-size: 24px 24px;
}

/**************************************************************/

.bookshelf {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.book_block {
  width: 125px;
  height: 135px;
  background: url(/images/img-loader-c5d6cc994432b0b645d7a28060aad648.gif?vsn=d) no-repeat 50% 50%;
  display: flex;
  justify-content: center;
  margin: 15px 5px;
}

img.book_cover {
  box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  align-self: flex-end;
  cursor: pointer;
  max-width: 125px;
  max-height: 135px;
}

/**************************************************************/

#dialog textarea {
  margin-bottom: 10px;
}

.book_details {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.book_details h2 {
  margin-top: 0;
  font-size: 120%;
  line-height: 15px;
  color: #444;
}
.book_details .details {
  width: 385px; /* check: a theory of fun */
  font-size: 90%;
  color: #777;
}
.book_details .details p {
  margin-bottom: -3px;
}
.book_details .dimensions {
  color: #bbb;
}
.book_details .book_cover {
  margin-right: 15px;
  margin-bottom: 15px;
}

/**************************************************************/

.login {
  max-width: 400px;
  margin: 100px auto;
}

/**************************************************************/

.explanation {
  margin-top: 20px;
}

.profiles .profile {
  margin-bottom: 10px;
}

.profiles .avatar {
  display: block;
  height: 85px;
}

.profiles .avatar img {
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.profiles .name {
  color: #777;
}

.explanation .text {
  margin-top: 5px;
}

/**************************************************************/

.about img {
  max-width: 100%;
}

/**************************************************************/

/* used in profile section */
.help-inline {
  padding-bottom: 10px;
  color: #b8b8b8;
}

/**************************************************************/

/* used in "how" section */
.bordered {
  border: 1px solid black;
}

/* used in admin section */
.highlighted {
  background: #fffbcc;
}

section.how {
  margin-top: 50px;
  padding-top: 10px;
  border-top: 2px solid #ccc;
}

/**************************************************************/

.message {
  display: grid;
  justify-items: center;
  line-height: 50vh;
}

/**************************************************************/

.alertify-logs a {
  color: white;
  text-decoration: underline;
}

/**************************************************************/

/* used in amazon section */
.muted {
  opacity: 0.5;
}

.steps li {
  margin-bottom: 25px;
}

.amazon-search {
  margin-bottom: 10px;
  margin-top: 10px;
  max-width: 400px;
}

summary {
  margin-bottom: 10px;
}

details p {
  margin-left: 35px;
}

.steps details li {
  margin-bottom: 10px;
  margin-left: 25px;
}

/**************************************************************/

.grid {
  display: grid;
}

.admin-approval-form {
  grid-template-columns: minmax(300px, 2fr) 3fr;
  gap: 25px;
}

.admin-approval-form .book-cover {
  box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  cursor: pointer;
  max-width: 100%;
}

.imports-table {
  grid-template-columns: max-content 1fr max-content;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 13px;
  background-color: #f5f5f5;
  white-space: pre;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
}

.imports-table > * {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

.imports-table .header {
  font-weight: bolder;
}
