.thumb {
    display: inline;
    max-height: 250px;
}
#thumblist {
    text-align: center;
    /*border-radius: 8px;*/
    padding: 0;margin-bottom: 1.5em;
}
#thumblist img {
    /*border-radius: 8px;*/
    padding:  .5em;
}
.description {
      color: white;
      text-decoration: none;
      font-weight: 400;
}
#forcap {
    margin: 0 0 2em 0;padding: 0;display: inline-block;
    text-align: center;position: relative;
}
.gallcap {
    position: absolute;top: 255px;left: 23%;
    color:#434343;
    font-size: .95em;line-height: 1.25em;
}
/** relevant CSS Below **/

.lightbox {
    display: none; /**sets the default display to hide the lightbox until it's the :target**/
    position: fixed; /**the rest of this styling makes the lightbox full screen when selected**/
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.8);
}
.lightbox img { /**sets the styling of the image in the lightbox**/
    max-width: 80%;
    max-height: 90%;
    text-align: center;
    margin-top: 2%;
}
.lightbox:target { /**this is where the magic happens. makes the lightbox display when it's the target of a clickable link**/
    outline: none;
    display: block;
}
.previous { /**styling the left arrow**/
    position: fixed;
    left: 4px;
    top: 40%;
    width: 40px;
}
.exit { /**styling the exit button**/
    position: fixed;
    top: 4px;
    right: 4px;
    width: 40px;
}
.next { /**styling the right arrow**/
    position: fixed;
    right: 4px;
    top: 40%;
    width: 40px;
}

/*---------------------------*/
/*       Media Queries       */
/*---------------------------*/

@media screen and (max-width:416px) {
    .thumb {
    display: inline;
    max-height: none;
    width: 96%;
    }
#forcap {
    margin: 0 0 2em 0;padding: 0;display: inline-block;
    text-align: center;position: static;
}
.gallcap {
    position: static;
    font-family: Arial, sans-serif;color:#434343;
    font-size: .85em;
}
.description {
        max-width: 280px;margin: 0 auto 0;
}
}