@charset "UTF-8";

img {max-width: 100%;}

.lightbox {
    position: fixed;
    z-index: 1;
    left: 0;
    bottom: 0;
    right: 0;
    top:0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .8);
    transition: opacity .5s;
    color: white;
    text-align: center;
    display: none;
    align-items: center !important;
    justify-content: center;
}
      
.modal-content {
    padding: 162px 10px 10px 10px;
    min-width: 100%;
    max-height: 100%;
    flex-direction: column;
    box-sizing: border-box;
}
@media screen and (min-width: 999px) {
    .modal-content {
        max-width: 999px;
        padding: 82px 10px 10px 10px;
    }
}

.modal-content img {
    max-height: calc(100vh - 100px);
    display: block;
    margin: 0 auto 30px;
}
      
.controls button {
    cursor: pointer;
    position: absolute;
    padding: 6px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    -webkit-user-select: none;
    width: 100px;
    background: black;
    border: solid 2px #666;
    top: 67px;
    line-height: 51px;
}
.controls button:hover {
	color: #999;
}
.prev {
  left: 15px;
}
.next {
  right: 15px;
}
@media screen and (min-width: 900px) {
    .controls button {
        width: 50px;
        background: transparent;
        border: none;
        top: 250px;
    }
    .prev {
        left: 15px;
    }
    .next {
        right: 15px;
    }
}
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    line-height: 60px;
}
.close:hover, .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
/*
.work-thumbs a {
    width: auto;
}
*/
.work-thumbs a {
    margin: 0 12px 20px 0;
    display: inline-block;
    width: 45%;
}
.work-thumbs img {
    width: auto;
    margin: 0;
}

@media screen and (min-width: 600px) {
    .work-thumbs a {
        margin: 0 1.5% 5% 0;
        margin: 0 5px 10px 5px;
        width: auto;
    }
}

.static-text {
    max-width: 900px;
    margin: 0 auto;
}