<!-- * Basic lightbox styles. Notice the * default 'display' is 'none'. -->

#gallery a {
  text-decoration: none;
  }

#gallery .item {
  width: auto;
  height: auto;
  overflow: hidden;
  float: left;
  border: 0.2em solid #7f7f7f;
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-top: 0.333em;
  margin-bottom: 0.1em;
  }

#gallery .item a {
  overflow: hidden;
  }

#gallery .item a img {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 250px;
  align-self: center;
  }

.lightbox {
  /** Hide the lightbox */
  opacity: 0;

  /** Apply basic lightbox styling */
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  top: -100%;
  left: 0;
  color: #333333;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
  }

.lightbox:target {
  /** Show lightbox when it is target */
  opacity: 1;
  outline: none;
  top: 0;
  }

.lightbox .box {
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  min-width: 480px;
  margin: 2% auto;
  padding: 10px 20px 10px 20px;
  background-color: #FFF;
  box-shadow: 0px 1px 26px -3px #777777;
  }

.lightbox .title {
  margin: 0;
  padding: 0 0 10px 0px;
  border-bottom: 1px #ccc solid;
  font-size: 22px;
  }

.lightbox .content {
  display: block;
  position: relative;
  }

.lightbox .close {
  display: block;
  float: right;
  text-decoration: none;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 22px;
  color: #858585;
  }

.clear {
  display: block;
  clear: both;
  }





.image a {
  text-decoration: none;
  }

.image .item {
  width: auto;
  height: auto;
  overflow: hidden;
  float: left;
  border: 0.2em solid #7f7f7f;
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-top: 0.333em;
  margin-bottom: 0.1em;
  }

.image .item a {
  overflow: hidden;
  }

.image .item a img {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 250px;
  align-self: center;
  }

