.ba-item-overlay-section .ba-image-wrapper + .ba-button-wrapper {
    display: none;
}

.ba-item-overlay-section .ba-image-wrapper {
    cursor: pointer;
}

.ba-overlay-section-backdrop {
    padding: 0 !important;
}

.ba-overlay-section .animated {
    animation-fill-mode: both;
}

.ba-overlay-section-backdrop.lightbox.visible-section {
    left: 0;
}

.ba-overlay-section-backdrop .ba-overlay-section:not(.ba-container) > .ba-section {
    width: calc(100vw - 17px) !important;
}

.ba-overlay-section-backdrop .ba-section {
    flex-direction: column;
}

/* Overlay Section Button */
.ba-overlay-section-backdrop.visible-section .ba-overlay-section {
    transform: none !important;
}

.ba-overlay-section-backdrop .ba-overlay-section {
    transition: transform .3s ease-in-out;
}

/* Overlay Section Lightbox */
.ba-overlay-section-backdrop.lightbox .ba-overlay-section {
    align-items: center;
    display: flex;
    justify-content: center;
}

.ba-overlay-section-backdrop:not(.horizontal-bottom):not(.horizontal-top) .ba-section {
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}

.ba-overlay-section-backdrop.lightbox .ba-section {
    margin: 50px 0;
}

/* Overlay Section Vertical Right */
.ba-overlay-section-backdrop.vertical-left > .ba-overlay-section > .ba-section, .ba-overlay-section-backdrop.vertical-right > .ba-overlay-section > .ba-section {
    min-height: 100vh !important;
}

.ba-overlay-section-backdrop.vertical-right {
    justify-content: flex-end;
}

.ba-overlay-section-backdrop.vertical-right > .ba-overlay-section {
    transform: translateX(100%);
}

/* Overlay Section Vertical Left */
.ba-overlay-section-backdrop.vertical-left {
    justify-content: flex-start;
}

.ba-overlay-section-backdrop.vertical-left > .ba-overlay-section {
    transform: translateX(-100%);
}

/* Overlay Section Horizontal Top */
.ba-overlay-section-backdrop.horizontal-bottom > .ba-overlay-section, .ba-overlay-section-backdrop.horizontal-top > .ba-overlay-section {
    margin: 0;
}

.ba-overlay-section-backdrop.horizontal-top > .ba-overlay-section {
    transform: translateY(-100%);
}

.ba-overlay-section-backdrop.horizontal-top {
    align-items: flex-start;
}

.ba-overlay-section-backdrop.horizontal-top .ba-container, .ba-overlay-section-backdrop.horizontal-bottom .ba-container {
    max-width: none;
}

.ba-overlay-section-backdrop.horizontal-top > .ba-overlay-section, .ba-overlay-section-backdrop.horizontal-top > .ba-overlay-section > .ba-section, .ba-overlay-section-backdrop.horizontal-bottom > .ba-overlay-section, .ba-overlay-section-backdrop.horizontal-bottom > .ba-overlay-section > .ba-section {
    width: 100% !important;
}

/* Overlay Section Horizontal Bottom */
.ba-overlay-section-backdrop.horizontal-bottom {
    align-items: flex-end;
    justify-content: start;
}

.ba-overlay-section-backdrop.horizontal-bottom > .ba-overlay-section {
    transform: translateY(100%);
}

@media (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .ba-overlay-section-backdrop.horizontal-bottom > .ba-overlay-section {
        margin-right: calc(0px - (100vw - 100%));
        overflow-y: scroll;
        width: calc(100vw + (100vw - 100%)) !important;
    }
}

@-moz-document url-prefix() {
    .ba-overlay-section-backdrop.horizontal-bottom > .ba-overlay-section {
        margin-right: calc(0px - (100vw - 100%));
        overflow-y: scroll;
        width: calc(100vw + (100vw - 100%)) !important;
    }
}

.ba-store-wishlist-backdrop, .ba-store-cart-backdrop, .ba-overlay-section-backdrop, .ba-lightbox-backdrop.lightbox-center {
    align-items: center;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    left: 0;
    min-height: 100vh;
    opacity: 0;
    overflow: hidden;
    overflow-x: hidden;
    position: fixed;
    padding: 25px;
    right: 0;
    top: 0;
    transition: none;
    visibility: hidden;
    z-index: 99999999;
}

.ba-lightbox-backdrop.lightbox-center {
    padding: 50px 0;
    overflow-y: auto;
    right: -17px;
}

.ba-store-wishlist-backdrop, .ba-store-cart-backdrop {
    padding: 0;
}

.ba-store-wishlist-backdrop-out, .ba-store-cart-backdrop-out, .ba-overlay-section-backdrop.overlay-section-backdrop-out, .ba-lightbox-backdrop.lightbox-center.overlay-section-backdrop-out {
    transition: opacity .3s ease-in-out, visibility .1s .3s, left .1s .3s;
}

.ba-overlay-section-backdrop.lightbox:not(.visible-section).overlay-section-backdrop-out {
    left: 0 !important;
    right: 0 !important;
    transition: opacity .3s ease-in-out, visibility .1s .3s !important;
}

.ba-store-wishlist-backdrop, .ba-store-cart-backdrop, .ba-overlay-section-backdrop {
    align-items: baseline;
}

.ba-store-wishlist-opened .ba-store-wishlist-backdrop, .ba-store-cart-opened .ba-store-cart-backdrop, .lightbox-open .ba-lightbox-backdrop, .lightbox-open .ba-overlay-section-backdrop.visible-section {
    font-size: initial;
    letter-spacing: initial;
    line-height: initial;
    overflow: scroll;
    overflow-x: hidden;
}

.lightbox-open .ba-section:has(.row-with-intro-items) > .ba-overlay {
    z-index: 0;
}

.ba-not-default-header.ba-store-cart-opened .header, .ba-not-default-header.ba-store-wishlist-opened .header, .ba-store-wishlist-opened, .ba-store-cart-opened {
    width: calc(100% - var(--body-scroll-width));
}

.ba-wrapper.ba-lightbox.ba-container.sortabale-parent-node:before {
    bottom: 0;
    content: "";
    cursor: move;
    left: 0;
    overflow: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 30;
}

.ba-store-wishlist-backdrop.ba-visible-store-wishlist, .ba-store-cart-backdrop.ba-visible-store-cart, .ba-overlay-section-backdrop.visible-section, .ba-lightbox-backdrop.visible-lightbox {
    font-size: initial;
    letter-spacing: initial;
    line-height: initial;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    visibility: visible;
}

.ba-store-wishlist-backdrop.ba-visible-store-wishlist .ba-wishlist-checkout-row[data-exists="0"] {
    cursor: not-allowed;
}

.ba-store-wishlist-backdrop.ba-visible-store-wishlist .ba-wishlist-checkout-row[data-exists="0"] .ba-wishlist-add-all-btn {
    opacity: .25;
    pointer-events: none;
}

.ba-overlay-section-backdrop .ba-overlay-section, .ba-lightbox-backdrop .ba-lightbox {
    margin: auto 0;
}

.ba-store-wishlist-close-wrapper, .ba-store-cart-close-wrapper, .close-overlay-section, .close-lightbox {
    height: 0;
    left: 15px;
    position: absolute;
    right: 10px;
    top: 0;
    z-index: 100;
}

.ba-store-wishlist-close-wrapper i, .ba-store-cart-close-wrapper i, .close-overlay-section i, .close-lightbox i {
    color: inherit;
    cursor: pointer;
    font-size: 2.25rem;
    margin-top: 10px;
}

.ba-store-wishlist-close-wrapper i, .ba-store-cart-close-wrapper i {
    color: var(--title);
}

.close-overlay-section i:hover, .close-lightbox i:hover, .ba-close-checkout-modal:hover, .ba-store-wishlist-close-wrapper i:hover, .ba-store-cart-close-wrapper i:hover, .ba-cart-product-quantity-cell i:hover {
    opacity: .5;
}

.ba-store-wishlist-backdrop > .ba-store-wishlist-close, .ba-modal-sm + .modal-backdrop, .ba-store-cart-backdrop > .ba-store-cart-close, .ba-overlay-section-backdrop > .ba-overlay-section-close, .ba-lightbox-backdrop > .ba-lightbox-close {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

.ba-modal-sm + .modal-backdrop {
    background-color: var(--overlay);
    opacity: .05 !important;
    z-index: 999999 !important;
}

.ba-lightbox-backdrop:not(.visible-lightbox) .ba-lightbox, .ba-lightbox-backdrop:not(.visible-lightbox) .ba-cookies, .ba-overlay-section-backdrop.lightbox {
    left: 100%;
}

.ba-item.ba-item-scroll-to-top {
    bottom: 65px;
    position: fixed;
    visibility: hidden;
    z-index: 999999;
}

.ba-item.ba-item-scroll-to-top.visible-scroll-to-top {
    visibility: visible;
}

.ba-scroll-to-top {
    opacity: 0;
    margin-bottom: -50px;
    transition: opacity .3s linear, visibility .3s linear, margin-bottom .3s linear;
}

.visible-scroll-to-top .ba-scroll-to-top {
    opacity: 1 !important;
    margin-bottom: 0;
}

.ba-item-scroll-to-top .ba-scroll-to-top > i {
    cursor: pointer;
    line-height: 1em;
    text-align: center;
}

/* Scroll To Top Position Right */
.scroll-btn-right {
    right: 25px;
}

.ba-store-wishlist-opened .scroll-btn-right {
    right: calc(25px + var(--body-scroll-width));
}

.lightbox-open .scroll-btn-right {
    right: 40px;
}

.scroll-btn-right .ba-edit-item.full-menu {
    transform: translate(-75%, -50%);
}

/* Scroll To Top Position Left */
.scroll-btn-left {
    left: 25px;
}

.scroll-btn-left .ba-edit-item.full-menu {
    transform: translate(-25%, -50%);
}

/*/* Plugin Simple Gallery*/
.gridbox-gallery-wrapper {
    display: grid;
}

.simple-gallery-masonry-layout {
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    grid-auto-rows: 0px;
}

.ba-gridbox-gallery-image .ba-simple-gallery-image {
    background: inherit;
    transition-duration: inherit;
}

.ba-item-simple-gallery .ba-gridbox-gallery-image > * {
    transition-delay: 0s !important;
}

.ba-item-field-simple-gallery .ba-gridbox-gallery-image {
    transition: opacity 0.3s linear;
}

.ba-item-field-simple-gallery .ba-gridbox-gallery-image:hover {
    opacity: .85;
}

.ba-gridbox-gallery-image {
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
}

.ba-gridbox-gallery-image img {
    max-height: 100%;
    opacity: 0;
}

.simple-gallery-masonry-layout .ba-gridbox-gallery-image img {
    max-height: initial;
}

.ba-item-overlay-section, .ba-item-image {
    line-height: 0 !important;
}

.ba-image-wrapper > a, .ba-image-wrapper {
    line-height: 0;
    display: block;
}

.ba-image-wrapper {
    box-sizing: border-box;
    max-width: 100%;
}

.ba-image-wrapper img.ba-lightbox-item-image {
    cursor: zoom-in;
}

.ba-item-image-field .ba-image-wrapper, .ba-item-overlay-section .ba-image-wrapper, .ba-item-image .ba-image-wrapper {
    display: inline-block;
    position: relative;
}

.ba-item-image-field .ba-image-wrapper img, .ba-item-overlay-section .ba-image-wrapper img, .ba-item-image .ba-image-wrapper img {
    width: 100% !important;
}

.ba-image-item-caption, .ba-simple-gallery-caption {
    opacity: 0;
}

.ba-item-image .ba-image-wrapper.visible-image-caption .ba-image-item-caption, .ba-item-overlay-section .ba-image-wrapper:hover .ba-image-item-caption, .ba-item-image .ba-image-wrapper:hover .ba-image-item-caption, .ba-gridbox-gallery-image:hover .ba-simple-gallery-caption {
    opacity: 1;
}

.ba-item-image .ba-image-wrapper.visible-image-caption .ba-image-item-caption, .ba-item-image .ba-image-wrapper.visible-image-caption:hover img {
    transform: none !important;
}

.ba-item-overlay-section img, .ba-image-item-caption, .ba-item-image .ba-image-wrapper img, .ba-image-item-caption .ba-caption-overlay, .ba-gridbox-gallery-image .ba-caption-overlay, .ba-simple-gallery-caption {
    transition-duration: var(--transition-duration);
    transition-property: all;
}

.ba-image-item-caption, .ba-image-item-caption .ba-caption-overlay, .ba-simple-gallery-image, .ba-simple-gallery-caption .ba-caption-overlay, .ba-simple-gallery-caption {
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 0;
}

.ba-btn-transition + .ba-image-item-caption {
    pointer-events: none;
}

.ba-image-item-caption .ba-caption-overlay, .ba-simple-gallery-image {
    padding: 0;
}

.ba-item .ba-image-wrapper, .ba-item-simple-gallery .ba-gridbox-gallery-image {
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.ba-image-item-caption *:not(.ba-caption-overlay), .ba-simple-gallery-caption *:not(.ba-caption-overlay) {
    z-index: 1;
}

/*/* Plugin Smooth Scrolling*/
.ba-scroll-to i {
    text-align: center;
}

.ba-scroll-to i {
    line-height: 1em;
}

/*/* Plugin Video*/
.ba-video-wrapper {
    height: 0;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.ba-video-wrapper:has(video) {
    height: auto;
    line-height: 0;
    padding-bottom: 0;
}

.ba-item-video.ba-item-in-positioning {
    min-width: auto !important;
}

.ba-item-video.ba-item-in-positioning .ba-video-wrapper:has(video) {
    width: inherit;
}

.ba-video-wrapper video {
    height: 100%;
    left: 0;
    object-fit: cover;
    top: 0;
    width: 100%;
}

.ba-video-wrapper iframe {
    border-radius: inherit;
    bottom: -1px;
    height: calc(100% + 3px);
    left: -1px;
    overflow: hidden;
    position: absolute;
    top: -1px;
    width: calc(100% + 3px);
}

.video-lazy-load-thumbnail {
    align-items: center;
    background-position: center;
    background-size: cover;
    bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.video-lazy-load-thumbnail i {
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.23);
    color: var(--primary);
    font-size: 5.125rem;
    line-height: 4.25rem;
    opacity: 1;
    transition: opacity .3s;
    width: 68px;
}

.video-lazy-load-thumbnail:hover i {
    opacity: .8;
}

/*/* Plugin Feature Box*/
.ba-feature-box-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
}

.ba-feature-box-wrapper .ba-feature-box {
    box-sizing: border-box;
    display: inline-flex;
    margin-right: 30px;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
}

.ba-feature-image-wrapper .ba-feature-image {
    max-width: 100%;
}

.ba-feature-image-wrapper i {
    align-items: center;
    display: inline-flex;
    height: 1em;
    justify-content: center;
    max-width: 100%;
    width: 1em;
}

.ba-feature-list-layout .ba-feature-image-wrapper {
    margin-right: 25px;
}

.ba-feature-image-wrapper div {
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
}

.ba-feature-box-wrapper.ba-feature-grid-layout .ba-feature-box {
    flex-direction: column;
}

.ba-feature-box-wrapper.ba-feature-grid-layout .ba-feature-box:hover {
    z-index: 1;
}

.ba-feature-box-wrapper.ba-feature-list-layout .ba-feature-box .ba-feature-caption {
    flex-grow: 1;
}

.ba-feature-button a {
    display: inline-block;
    transition: .3s;
}

.ba-feature-button.empty-content {
    display: block !important;
}

/*/* Plugin Icons*/
.ba-item-icon a {
    display: inline-block !important;
}

.ba-item-icon .ba-icon-wrapper i {
    cursor: default !important;
    line-height: 1em;
    text-align: center;
}

.ba-item-icon .ba-icon-wrapper a i {
    cursor: pointer !important;
}

/*/* Plugin Icon-list*/
.ba-item-icon-list ul {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 0;
    text-decoration: none;
    width: 100%;
}

.ba-item-icon-list li {
    align-items: flex-start;
    display: inline-flex;
    margin-right: 30px;
}

.ba-item-icon-list li a:before, .ba-item-icon-list li i:before, .ba-item-icon-list li:before, .ba-item-icon-list li i {
    cursor: default !important;
    display: block;
    font-style: initial;
    height: 1em;
    line-height: 1em;
    min-width: 1em;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    width: 1em;
}

.ba-item-icon-list li:before, .ba-item-icon-list li a:before, .ba-item-icon-list li i {
    margin-top: calc(var(--icon-list-line-height) / 2);
    transform: translateY(-50%);
}

.ba-item-icon-list li a i:before {
    cursor: pointer !important;
}

.ba-item-icon-list li a {
    align-items: flex-start;
    display: inherit;
}

.ba-item-icon-list li a span {
    align-items: center;
    display: flex;
    min-height: 100%;
}

.ba-item-icon-list li a, .ba-item-icon-list li a i {
    cursor: pointer !important;
}

.ba-item-icon-list .vertical-layout {
    flex-direction: column;
}

.ba-item-icon-list li:last-child, .ba-item-icon-list .vertical-layout li {
    margin-right: 0;
}

.ba-item-icon-list .vertical-layout li {
    margin-top: 20px;
}

.ba-item-icon-list .vertical-layout li:first-child {
    margin-top: 0;
}

.ba-item-icon-list ul.bullets-type i, .ba-item-icon-list ul.numbers-type i {
    display: none;
}

.ba-item-icon-list ul.bullets-type li a:before, .ba-item-icon-list ul.bullets-type li.list-item-without-link:before {
    content: '\f26d';
    font-family: 'balbooa-family';
}

.ba-item-icon-list ul.numbers-type {
    counter-reset: list-numbers;
}

.ba-item-icon-list ul.numbers-type li a:before, .ba-item-icon-list ul.numbers-type li.list-item-without-link:before {
    counter-increment: list-numbers;
    content: counter(list-numbers);
}

/*/* Plugin Headline*/
.ba-item-headline .headline-wrapper > * > span {
    display: inline-block;
    white-space: nowrap;
}

@keyframes notification-in {
    from {
        bottom: 0;
        transform: translateY(100%);
        opacity: 0;
    }
}

#system-message {
    animation: notification-in .4s cubic-bezier(.25, .98, .26, .99) both;
    border-radius: 6px;
    border: none;
    bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    display: block;
    opacity: 1;
    overflow: hidden;
    padding: 0;
    position: fixed;
    right: 50px;
    text-shadow: none;
    visibility: visible;
    z-index: 1510;
}

#system-message-container .alert {
    background: #02adea;
    display: inline-block;
    padding: 40px 25px;
    width: 250px;
}

#system-message-container .alert.alert-warning, #system-message-container .alert.alert-danger, #system-message-container .alert.alert-error {
    background-color: #ff776f;;
}

#system-message .alert-heading {
    color: #fff;
    display: block;
    font-size: .875rem;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1rem;
    margin: 0 0 15px !important;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
}

#system-message > div .alert-message {
    color: #fff;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin: 0;
    opacity: .6;
    word-break: break-word;
}

#system-message .alert:before, #system-message .close {
    color: #fff;
    opacity: 1;
    padding: 8px;
    position: absolute;
    right: 5px;
    text-shadow: none;
    top: 0;
    opacity: 0;
}

#system-message > .alert:before {
    content: '\e04a';
    display: inline-block;
    font: normal normal normal 24px/1 'balbooa-family';
    opacity: 1;
    padding: 13px 10px;
}

.content-text table {
    width: 100% !important;
}

.content-text * {
    word-break: normal;
}

.content-text pre {
    border: 1px solid var(--border);
    margin: 0;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 50px;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: pre-wrap;
    word-break: break-all;
}

.content-text pre code {
    font-family: inherit;
}

.ba-copy-to-clipboard i, .ba-item-text a {
    transition: .3s
}

.ba-copy-to-clipboard:hover i {
    opacity: .5;
}

span.ba-copy-to-clipboard {
    bottom: 10px;
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 0;
    position: absolute;
    right: 25px;
}

/*/* Plugin Button*/
.ba-button-wrapper a {
    text-decoration: none;
}

.ba-item-categories .ba-blog-post .ba-app-sub-category a, .ba-blog-post-add-to-cart, .event-calendar-events-list a, .ba-post-navigation-info a, .intro-post-wrapper .intro-post-info > span a, .ba-item-icon-list .ba-icon-list-wrapper ul li a *, .ba-post-author-title a, .ba-item-one-page-menu a, .ba-item-main-menu a, .ba-item-main-menu .separator, .ba-item-tabs .nav-tabs a, .ba-blog-post-info-wrapper > span a, .intro-post-wrapper > span a, .ba-blog-post-title a, .ba-item-overlay-section .ba-button-wrapper .ba-btn-transition, .ba-btn-transition {
    cursor: pointer;
    transition: color .3s ease-in-out, background .3s ease-in-out;
}

.ba-item-main-menu .separator {
    cursor: default;
}

.ba-button-wrapper a {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.ba-item-scroll-to .ba-btn-transition span + i, .ba-item-overlay-section .ba-btn-transition span + i, .ba-item-button .ba-btn-transition span + i {
    color: inherit;
    line-height: 1em;
    text-align: center;
    width: 1em;
}

.empty-textnode + i, .ba-item-overlay-section .empty-textnode + i, .ba-btn-transition .empty-textnode + i {
    margin: 0 !important;
}

.ba-image-zoom-center.ba-image-wrapper:hover img, .ba-image-zoom-center .ba-gridbox-gallery-image:hover .ba-simple-gallery-image, .ba-image-rotate-right.ba-image-wrapper:hover img, .ba-image-rotate-right .ba-gridbox-gallery-image:hover .ba-simple-gallery-image {
    transition-delay: inherit;
}

/* Animation Zoom Center Effect */
.ba-image-zoom-center.ba-image-wrapper:hover img, .ba-image-zoom-center .ba-gridbox-gallery-image:hover .ba-simple-gallery-image {
    transform: scale(1.25);
}

/* Animation Rotate Right Effect */
.ba-image-rotate-right.ba-image-wrapper:hover img, .ba-image-rotate-right .ba-gridbox-gallery-image:hover .ba-simple-gallery-image {
    transform: scale(1.6) rotate(10deg);
}
.ba-overlay-section-backdrop.lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    z-index: 999999 !important; /* Поверх всех меню и шапок */
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.ba-overlay-section-backdrop.lightbox video {
    max-width: 90% !important;
    max-height: 80% !important;
    width: auto !important;
    height: auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    background: #000;
}

.lightbox-close {
    position: absolute !important;
    top: 20px !important;
    right: 30px !important;
    color: #ffffff !important;
    font-size: 50px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    z-index: 1000000 !important;
}

.lightbox-close:hover {
    color: #ef4444 !important;
}
a.magnific-gallery-item {
    display: block;
    z-index: 9999999;
    position: relative;
}