.thumb {
    max-height: 65px;
	box-shadow: 1px 3px 3px 1px #999;
	margin-top: 5px;
}

.thumbox {
	margin: 10px 0;
}

.lightbox {
    position: fixed;
    z-index: 999;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
}

.lightbox img {
    max-width: 90%;
    max-height: 50%;
    margin-top: 5%;
    opacity: 0;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;
    width: 100%;
    height: 100%;
    opacity: 1 !important;
}

.lightbox:target img {
    border: solid 10px rgba(77, 77, 77, 0.8);
    opacity: 1;
    webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.light-btn {
    color: #fafafa;
	font: 24px 'Quicksand', sans-serif;
	font-weight: 400;
    background-color: #333;
    border: solid 1px #777;
    padding: 1px 10px 3px 10px;
    border-radius: 1px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    top: 45%;
    z-index: 99;
}

.light-btn:hover {
    background-color: #111;
}

.btn-prev {
    left: 5%;
}

.btn-next {
    right: 5%;
}

.btn-close {
    position: absolute;
    right: 2%;
    top: 2%;
    color: #fafafa;
    background-color: #333;
    border: solid 1px #ef4036;
    padding: 0 5px;
    border-radius: 1px;
    text-decoration: none;
}

.btn-close:hover {
    background-color: #740404;
}

@media screen and (max-width: 490px) {
.thumb {max-height: 55px;}
}

@media screen and (max-width: 420px) {
.thumb {max-height: 50px;}
}

@media screen and (max-width: 390px) {
.thumb {max-height: 45px;}
}

@media screen and (max-width: 355px) {
.thumb {max-height: 40px;}
}
@media screen and (max-width: 320px) {
.thumb {max-height: 35px;}
}
