.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.28) !important;
}

.lg-toolbar {
    background-color: rgba(0,0,0,0); !important;
}

.lg-outer .lg-image {
    padding-top: 19px !important;
    padding-bottom: 19px !important;
}

.lg-actions .lg-next, .lg-actions .lg-prev {
    border-radius: 50% !important;
    padding: 9px !important;
}

.lg-toolbar #lg-counter {
    display: none !important;
}

.lg-toolbar .lg-icon {
    color: #ffffff;
}

.lg-counter-custom {
    color: #ffffff !important;
    position: absolute;
    bottom: 46px;
    left: 48%;
    background: #8c8c8c;
    z-index: 10000;
    border-radius: 20px;
    padding-right: 20px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

@media (max-width: 414px) {
    .lg-prev, .lg-next {
        display: none !important;
    }

    .lg-close .lg-icon {
        color: #ffffff !important;
    }

    .lg-counter-custom {
        bottom: 141px !important;
        left: 38% !important;
    }
    .lg-img-wrap {
        padding: 0 26px !important;
    }
    .lg-toolbar .lg-close:after {
        content: "\e070" !important;
        color: #ffffff !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .lg-img-wrap {
        padding: 0 40px !important;
    }
}
.lg-toolbar .lg-icon {
    color: #ffffff;
}

body.lg-on {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed !important;
    width: 100% !important;
}