/* http://www.heydonworks.com/article/flexbox-grid-finesse */

/*
#111111 - Chinese Black
#333333 - Dark Charcoal
#555555 - Davy's Gray
#777777 - Sonic Silver
#999999 - Spanish Gray
#BBBBBB - X11 Gray
#8B8B81 - Middle Grey
*/

body, html {
  font-family: "ff-zwo-corr-web-pro", 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 200;
  color: #8b8b81;
  background-color: #111111;
  -webkit-font-smoothing: antialiased;
}

a, a:visited {
  color: #bbbbbb;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: "ff-meta-web-pro", 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.container {
  width: 85vw;
  display: flex;
  flex-direction: column;
  margin-left: auto; margin-right: auto;
}

.grid-parent {
  display: flex;
  flex-flow: row wrap;
}

.grid-child {
  flex: 1 0 20%;
  min-width: 200px;
  padding: 1rem 0.5rem;
  overflow: hidden;
  margin: 1px;
  background: #191919;
  text-align: center;
}

.grid-child:hover {
  background: #333;
}

.grid-child img {
  max-height: 150px;
  max-width: 150px;
}

.meta-list {
  list-style-type: none;
  margin: 0; padding: 0;
}

.gallery-header {
  border-bottom: 1px dashed;
}
.gallery-header h1 {
  margin: 0;
}

.grid-image {
  height: 150px;
}

.pagination-box {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.photo-container {
  margin: auto;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}

.photo-content {
  display: block;
  max-width: calc(100% - 1rem);
  max-height: calc(100vh - 5.75rem);
  margin-left: auto;
  margin-right: auto;
}

.photo-meta {
  text-align: center;
  margin-top: 0.5rem;
}

.nowrap {
  white-space: nowrap;
}

.gallery-list {
  padding-left: 0;
}

.gallery-list li {
  list-style: none;
}
.notice {
  position: absolute;
  margin: auto;
  width: 8em;
  background: gray;
  height: 3em;
  line-height: 3em;
  border-radius: 5px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  vertical-align: middle;
  font-size: 150%;
  opacity: 0.75;
  display: none;
  z-index: 9999;
}
.notice-body {
  opacity: 1;
  vertical-align: middle;
  line-height: normal;
  margin: auto;
}

.license-logo {
  height: 31px;
  width: 88px;
}

.license {
  margin: auto;
}

.grid-child:hover {
  background-image: url('octo.svg');
  background-size: 75%;
  background-position: 12.5%;
}
