html, body {
    /*font-family: arial;*/
    /*padding: 0 2em;*/
    /*font-size: 18px;*/
    /*background: rgba(0,0,0,0.00);*/
    /*color: #aaa;*/
    /*text-align:center;*/
}

/*h1 {
    font-size: 3em;
    font-weight: 100;
}

p {
    font-weight: 100;
    color: #888;
    margin-bottom: 45px;
}

.footer { 
    font-style: italic;
    margin-top: 80px;
}

a {
    text-decoration: none;
}
*/
.lightboxwrapper {
	margin: 10px 0
}
@media (max-width:450px) {
.lightboxwrapper a {
	pointer-events: none;
	cursor: default;
}
}


/* ------------------------------------------------------------------------------*/
.thumb {
    /*max-height: 171px;*/
    /*border: solid 6px rgba(5, 5, 5, 0.8);*/
}

.lightbox {
    position: fixed;
    z-index: 999;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
   /* margin-top: 2%;*/
    opacity: 0;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;

    width: 100%;
    height: 100%;
    opacity: 1 !important;
    
}

.lightbox:target img {
    border: solid 5px #FFF;
    opacity: 1;
    webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.light-btn {
    color: #777;
    background-color: rgba(0,0,0,0.00);
    border: solid 5px #777;
    padding: 5px 15px;
    border-radius: 1px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    top: 45%;
    z-index: 99;
	font-weight: bold;
	font-size: 16px;
}

.light-btn:hover {
	color: #FFF;
    background-color: #111;
}

.btn-prev {
    left: 2%;
	line-height: 14px;
    border-radius: 100px;
    padding: 14px;
}

.btn-next {
    right: 2%;
	line-height: 14px;
    border-radius: 100px;
    padding:14px 12px 14px 16px;;
}

.btn-close {
    position: absolute;
    right: 2%;
    top: 2%;
    /*color: #fafafa;*/
	color: #777;
    /*background-color: #92001d;*/
	background-color: rgba(0,0,0,0.00);
   /* border: solid 5px #ef4036;*/
	border: solid 5px #92001d;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 100px;
}

.btn-close:hover {
	color: #FFF;
    /*background-color: #740404;*/
	background-color: #92001d;
	border: solid 5px #ef4036;

}