* {
    font-family: 'Nunito Sans', sans-serif;
}

#stories_review .carousel-control-next,
#stories_review .carousel-control-prev {
    height: calc(80vh - 10rem);
}

.property-nav {
    flex-wrap: nowrap;
}

#add_stories_modal .add_stories_box {
    height: calc(80vh - 10rem);
}

#stories_form select {
    padding: 0.5rem 1rem;
}

#add_stories_modal .modal-content {
    width: calc(414px - 0rem);
}

#add_stories_modal .stories_submit_btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px 26px 14px;
    background-color: var(--orignial-blue);
    border-radius: 0;
    width: 80px;
    height: 25px;
    color: var(--white);
    text-decoration: none;
}

#add_stories_modal .carousel-indicators {
    bottom: 20px;
}

#add_stories_modal .modal-footer {
    border-top: 0px;
}

#stories_review .carousel-item {
    min-height: 400px;
    height: calc(676px - 5rem);
    width: 100%;
    position: relative;
}

#stories_review .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.carousel-item video {
    height: 80%;
}

.mobh6 {
    text-align: center;
}


/* users uploded slide */

#view_stories {
    overflow: hidden;
}

#view_stories .modal-body {
    padding: 0 !important;
}

#view_stories .slide {
    /* max-width: 380px; */
    max-width: 100%;
    margin: 0px auto;
    display: grid;
    /* box-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.4); */
    padding: 0px;
    overflow-y: hidden;
}

#view_stories .slide-items {
    align-self: center;
    position: relative;
    grid-area: 1/1;
    border-radius: 5px;
    overflow: hidden;
}

#view_stories .slide-nav {
    height: 50px;
    grid-area: 1/1/2;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    width: calc(100% - 2rem);
    justify-self: center;
}

#view_stories .slide-nav button {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    opacity: 0;
}

#view_stories .slide-items>* {
    align-self: center;
    position: absolute;
    top: 0px;
    opacity: 0;
    pointer-events: none;
}

#view_stories .slide-items>.active {
    align-self: center;
    position: relative;
    opacity: 1;
    pointer-events: initial;
}

#view_stories .slide-thumb {
    display: flex;
    grid-column: 1 / 3;
    overflow: hidden;
}

#view_stories .slide-thumb>span {
    flex: 1;
    display: block;
    height: 3px;
    background: gray;
    margin: 5px;
    border-radius: 3px;
    overflow: hidden;
}

#view_stories .slide-thumb>span.active::after {
    content: '';
    display: block;
    height: inherit;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transform: translateX(-100%);
    animation: thumb 10s forwards linear;
}

#view_stories .btn-close {
    filter: invert(1);
    position: absolute;
    top: 50px;
    right: 15px;
    z-index: 999;
}

#view_stories .modal-content {
    background: transparent;
    border: 0px solid rgba(0, 0, 0, .2);
    height: 100%;
    background: var(--black);
    overflow-y: hidden;
}

#view_stories .slide-prev {
    position: absolute;
    left: 10px;
    top: 20%;
    height: 350px;
    width: 50px;
}

#view_stories .slide-next {
    position: absolute;
    right: 10px;
    top: 20%;
    height: 350px;
    width: 50px;
}

#view_stories .category_name {
    color: white;
    font-size: 26px;
    padding-left: 15px;
    position: absolute;
    bottom: 40px;
    left: 10px;
}

#view_stories .category_dwn {
    color: white;
    font-size: 26px;
    position: absolute;
    right: 0px;
    bottom: 22px;
}

#view_stories .category_share,
#view_stories a {
    position: absolute;
    bottom: 20px;
    right: 40px;
    color: white;
    font-size: 26px;
}

#view_stories .coustmer_name {
    color: white;
    font-size: 25px;
    position: absolute;
    top: 20px;
    left: 15px;
    z-index: 1;
}

#view_stories .coustmer_city {
    color: white;
    font-size: 16px;
    position: absolute;
    top: 45px;
    left: 15px;
    z-index: 1;
}

#view_stories .customer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    ;
}

#view_stories .p_p {
    color: white;
    font-size: 16px;
    /* position: absolute;
    top: 35px;
    left: 10px; */
}

#view_stories .img,
#view_stories .vid {
    width: 100%;
    height: calc(100vh - 0rem);
    /* height: calc(100% - 8.5rem); */
}

.modal-footer #submit_form {
    position: absolute;
    bottom: 5px;
    right: 160px;
}

.modal-footer .loading {
    position: absolute;
    bottom: 5px;
    right: 160px;
}

#add_stories_modal .modal-footer {
    border-top: 0px solid #dee2e6
}

#share .booking_social_share {
    margin: 0;
    height: 50px;
}

#share .booking_social_share li:last-child {
    border-right: none
}

#share .booking_social_share li {
    list-style: none;
    display: inline-block;
    padding: 5px 25px;
    border-right: 1px solid var(--black);
}

.img-stories {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /* object-fit: cover; */
    object-fit: contain;
}

.modal-backdrop {
    opacity: 0.9 !important;
}

p-0 {
    padding: 0px;
}

#view_stories .modal-dialog {
    margin-bottom: 0px;
    overflow-y: hidden;
}


/* #view_stories .img_vid {
    min-height: 550px;
} */

@keyframes thumb {
    to {
        transform: initial;
    }
}