.img-slider {
    position: relative;
    padding: 0px 30px;
}

.img-slider button.owl-prev {
    left: 0;
}

.img-slider button.owl-next {
    right: 0;
}

.img-slider .owl-nav button {
    position: absolute;
    top: 50%;
}

.img-slider .owl-dots {
    display: flex;
    margin-top: 10px;
    max-width: 100%;
    overflow: auto;
    padding-bottom: 25px;
    justify-content: center;
}

.img-slider .owl-dots>button span {
    height: 10px;
    display: flex;
    width: 10px;
    background: black;
    margin: 0px 5px;
    border-radius: 50%;
    opacity: 0.7;
}

.img-slider .owl-dots>button.active span {
    opacity: 1;
}

.img-slider .owl-nav button span {
    font-size: 60px;
}

.img-slider img {
    object-fit: contain;
    max-height: 100vh;
    /* transition: transform 0.3s ease;
    cursor: zoom-in; */
}

@media only screen and (max-width: 570px) {
    .img-slider .owl-nav button {
        top: 40%;
    }
}

@media only screen and (max-width: 470px) {
    .img-slider .owl-nav button {
        top: 30%;
    }
}

@media only screen and (min-width: 768px) {
    .img-slider .item {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.img-slider .owl-nav {
    display: block !important;
}

@media only screen and (max-width: 768px) {
    #modal-full .modal-body {
        align-items: center;
    }

    #modal-img .modal-body {
        align-items: center;
    }

    .img-slider .owl-stage {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* new design */
.modal-dialog.modal-fullscreen {
    background-color: rgb(255, 255, 255);
    color: rgba(0, 0, 0, 0.87);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;
    margin: 32px;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 64px);
    max-width: 1200px;
    width: calc(100% - 64px);
}

.img-slider {
    position: relative;
    padding: 0px 30px;
}

.img-slider button.owl-prev {
    left: 0;
}

.img-slider button.owl-next {
    right: 0;
}

.img-slider .owl-nav button {
    position: absolute;
    top: 50%;
}

.img-slider .owl-dots {
    display: flex;
    margin-top: 10px;
    max-width: 100%;
    overflow: auto;
    padding-bottom: 25px;
    justify-content: center;
}

.img-slider .owl-dots>button span {
    height: 10px;
    display: flex;
    width: 10px;
    background: black;
    margin: 0px 5px;
    border-radius: 50%;
    opacity: 0.7;
}

.img-slider .owl-dots>button.active span {
    opacity: 1;
}

.img-slider .owl-nav button span {
    font-size: 60px;
}

.img-slider img {
    object-fit: contain;
    max-height: 100vh;
    /* transition: transform 0.3s ease;
    cursor: zoom-in; */
}

@media only screen and (max-width: 570px) {
    .img-slider .owl-nav button {
        top: 40%;
    }
}

@media only screen and (max-width: 470px) {
    .img-slider .owl-nav button {
        top: 30%;
    }
}

@media only screen and (min-width: 768px) {
    .img-slider .item {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.img-slider .owl-nav {
    display: block !important;
}

@media only screen and (max-width: 768px) {
    #modal-full .modal-body {
        align-items: center;
    }

    #modal-img .modal-body {
        align-items: center;
    }

    .img-slider .owl-stage {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* new design */
.modal-dialog.modal-fullscreen {
    background-color: rgb(255, 255, 255);
    color: rgba(0, 0, 0, 0.87);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;
    margin: 32px;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 64px);
    max-width: 1200px;
    width: calc(100% - 64px);
}

@media only screen and (max-width: 550px) {
    .modal-fullscreen {
        max-width: unset !important;
        margin: 0 !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
    }

    .modal-fullscreen .modal-body {
        display: flex;
        justify-content: center;
        padding: 6px;
        max-height: 100vh !important;
        align-items: center;
    }

    .owl-carousel.img-slider {
        padding: 0;
    }

    .modal-fullscreen .modal-header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1055;
        padding: 1rem;
    }

    .modal-fullscreen .modal-body {
        margin-top: 50px;
    }
}