/* Additions for the static (Netlify) version of the site */

.hidden,
[hidden] {
    display: none !important;
}

.form-message {
    margin: 0 0 20px;
    padding: 12px 15px;
    font-family: "Open Sans", Helvetica, Verdana, sans-serif;
    font-size: 15px;
}
.form-message--success {
    background: #f2f2f2;
    color: #141426;
}
.form-message--error {
    background: #fbeaea;
    color: #a94442;
}

/* Lightbox for the homepage gallery */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__bg {
    position: absolute;
    inset: 0;
    background: #000;
}
.lightbox__img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.lightbox__counter {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 0 10px;
    font-size: 13px;
    line-height: 44px;
    color: #fff;
    opacity: .75;
    font-family: Arial, sans-serif;
}
.lightbox button {
    position: absolute;
    z-index: 2;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    cursor: pointer;
    opacity: .75;
    box-shadow: none;
}
.lightbox button:hover {
    opacity: 1;
    background: rgba(0, 0, 0, .3);
}
.lightbox__close {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 44px;
}
.lightbox__arrow {
    top: 50%;
    width: 70px;
    height: 100px;
    margin-top: -50px;
}
.lightbox__arrow:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
}
.lightbox__arrow--left {
    left: 0;
}
.lightbox__arrow--left:before {
    left: 30px;
    transform: rotate(-45deg);
}
.lightbox__arrow--right {
    right: 0;
}
.lightbox__arrow--right:before {
    right: 30px;
    transform: rotate(135deg);
}
