

.sl-wrapper .sl-image {
    position: fixed!important;
    top: 60px!important;
    padding: 0 20px 0;
    height: calc(100% - 250px)!important;
    }

@media screen and (max-width: 550px) {
    .sl-wrapper .sl-image{
    width:inherit;
    } 
}
.sl-wrapper .sl-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    padding: 0 20px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.sl-wrapper .sl-close {
    font-family: 'Mulish', sans-serif;
    font-weight: 500!important;
    font-size: 3.1em!important;
        width: 100%;
        text-align: right;
        position: fixed;
        top: 0;
        right:0;
        left: 0;
        margin: 0;
        padding: 0;
        height: 60px;
        line-height: 60px;
        padding-right: 30px;
    }

.sl-wrapper .sl-navigation button.sl-next {
    background-image: url("../img/lightbox/arrow.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50px;
    will-change: transform;
    font-size: 4rem;
    filter: invert(1);
    transform: translateX(0) scaleX(-1);
    right: 20px;
    }

.sl-wrapper .sl-navigation button.sl-prev {
    background-image: url("../img/lightbox/arrow.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50px;
    will-change: transform;
    font-size: 4rem;
    filter: invert(1);
    left: 20px;
    }

.sl-wrapper .sl-image .sl-caption {
    font-family: 'Mulish', sans-serif;
    color: black;
    background: rgba(0,0,0,0);
    font-size: 1em;
    /*white-space: pre-line;*/
    line-height: 1.13em;
    text-align: left;
    position: fixed!important;
    bottom: 20px!important;
    width: 100%;
    white-space: pre-line;
    padding: 0;
    padding-left: 30px;
    padding-bottom: 10px;
    height: 160px;
    font-weight: 100;
    margin: 0;
    overflow: auto;
    }
  
.sl-wrapper .sl-image .sl-caption:first-line {
    font-family: 'Mulish', sans-serif;
    font-size: 1.01em;
    font-weight: 400;
    line-height: 2em!important;
    font-style: italic;    
}


.sl-wrapper .sl-counter {
    box-sizing: border-box;
    font-size: .9em;
    color: gray;
    letter-spacing: .4em;
    font-weight: 500;
    height: 40px;
    text-align: left;
}
.sl-wrapper .sl-counter:before {content: 'Image';
letter-spacing: 0; margin-right: 15px;
}


@media screen and (max-width: 750px) {
    .sl-wrapper .sl-image .sl-caption {
        text-align: center;
        padding-left: 0;
    }
        .sl-wrapper .sl-navigation button.sl-prev {
            left: 20px;
            top: auto;
            bottom: 20px;
            }
        .sl-wrapper .sl-navigation button.sl-next {
            right: 20px;
            top: auto;
            bottom: 20px;
            }
    
            .sl-wrapper .sl-close {
                padding-right: 12px;
                margin-top: -10px;
            }
        }