.modal__image {
    width: 100%;
    height: 350px;
    object-fit: contain;
}

.modal__description {
    white-space: pre-line;
    font-size: 0.9375rem;
    margin-top: -3%;
}

/* Sidebar */
.screen-overlay {
    height: 100%;
    z-index: 30;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(34, 34, 34, 0.6);
    transition: opacity .2s linear, visibility .1s, width 1s ease-in;
}

.screen-overlay.show {
    transition: opacity .5s ease, width 0s;
    opacity: 1;
    width: 100%;
    visibility: visible;
}

#navbar_main {
    display: block;
}

.mobile-offcanvas {
    visibility: hidden;
    transform: translateX(-100%);
    border-radius: 0;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1200;
    width: 80%;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: visibility .2s ease-in-out, transform .2s ease-in-out;
}

#navbar_main * {
    font-size: 20px;
}

.mobile-offcanvas.show {
    visibility: visible;
    transform: translateX(0);
}

@media only screen and (max-width: 767.92px) {

    .modal__image {
        height: 250px;
    }

}

@media only screen and (max-width: 997.92px) {

    .modal__description {
        overflow: hidden;
        -webkit-line-clamp: 10;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

}
