/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: grey; 
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: grey; 
}

body {
    background-color: #eceef4;
    color: #3e5561;
}

.profile-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 24px;
    margin-bottom: 16px;
}

@media(max-width: 800px) {
    .profile-container {
        width: 100%;
        margin-top: 0;
    }
}

/*------------Profile Header----------------*/

.profile-container .user-profile-header {
    width: 100%;
    padding: 52px;
    background-color: #000;
    position: relative;
    height: 264px;
    border-radius: 8px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
    margin-bottom: 16px;
}

.user-profile-header .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.5;
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.user-profile-header .profile-pic {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: solid 2px #ffffff;
    margin-left: 68px;
    display: inline-block;
    object-fit: cover;
}

.user-profile-header .user-header-details {
    margin-left: 260px;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
}

.user-header-details .user-name {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.17;
    color: #ffffff;
}

.user-name .badge-img {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.user-name .badge {
    font-size: 16px;
    line-height: 1.25;
    color: #ffffff;
    vertical-align: 6px;
    margin-left: -8px;
}

.follow-details-holder .follow-detail {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: #ffffff;
    margin-right: 20px;
    display: inline-block;
}



.user-profile-header .settings-button {
    position: absolute;
    right: 16px;
    top: 16px;
    border: none;
    background-color: transparent;
    width: 30px;
    height: 30px;
}

.settings-button .settings {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

@media(max-width: 800px) {
    .profile-container .user-profile-header {
        border-radius: 0;
        padding: 40px 8px;
        margin-bottom: 0;
        box-shadow: none;
        border-radius: 0
    }

    .user-profile-header .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 1;
        border-radius: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .user-profile-header .profile-pic {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: solid 2px #ffffff;
        margin-left: 0;
        display: inline-block;
    }

    .user-profile-header .user-header-details {
        margin-left: 112px;
    }

    .user-header-details .user-name {
        font-size: 32px;
    }

    .user-name .badge-img {
        width: 24px;
        height: 24px;
        display: inline-block;
    }

    .user-name .badge {
        font-size: 16px;
        line-height: 1.25;
        color: #ffffff;
        vertical-align: 6px;
        margin-left: -8px;
    }

    .follow-details-holder .follow-detail {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.25;
        color: #ffffff;
        margin-right: 20px;
        display: inline-block;
    }
}

/*-------User Details---------*/

.profile-container .user-details-holder{
    width: 36%;
    border-radius: 8px;
    margin-top: 8px;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
}

.user-details-holder hr {
    margin: 0;
    height: 1px;
    background-color: #d8dae1;
    border-top: 1px solid #d8dae1;
}

.user-details-holder .user-data-holder {
    padding: 16px;
    position: relative;
}

.user-data-holder .data-holder-header {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 16px;
}

.user-about .user-description {
    font-size: 14px;
    text-align: left;
    color: rgba(0, 0, 0, 0.87);
    margin-bottom: 16px;
    line-height: 1.43;
    word-wrap: break-word;
}

.user-detail .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.user-detail .detail {
    font-size: 14px;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.54);
    display: inline-block;
    vertical-align: 6px;
} 

.user-on-web .social-icons {
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 20px;
}

.user-details-holder .top-post-holder {
    padding: 0;
    padding-bottom: 16px;
}

.top-post-holder .top-post-header {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    padding: 4px;
    padding-top: 12px;
    padding-left: 12px;
    color: rgba(0, 0, 0, 0.87);
}

.top-post-holder .top-posts::after { 
    content: " ";
    display: block; 
    height: 0; 
    clear: both;
}

.top-posts .top-post {
    width: 50%;
    padding: 2px;
    position: relative;
    display: inline-block;
    float: left;
    border-radius: 4px;
}

.top-posts .top-post-3 {
    width: 33.33%;
}

.top-posts .top-post-1 {
    width: 100%;
}

.top-post .top-post-img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.top-post .likes-holder {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
}

.likes-holder .icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: bottom;
}

.likes-holder .likes {
    font-size: 14px;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.87);
}


.things-about-holder .answer-holder {
    width: 100%;
    padding: 16px;
}

.user-things .things-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
}

.user-things .active {
    transform: rotate(-180deg);
    transition: transform 0.3s ease;
}

.user-things .things-about-holder {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 4px;
}

.user-things .active-list {
    height: 0;
    transition: transform 2s ease;
}

.things-about-holder .answer-holder:nth-child(odd) {
    background-color: rgba(255, 69, 95, 0.2);
}

.answer-holder:nth-child(odd) .question {
    font-size: 14px;
    line-height: 1.43;
    color: #ff455f;
}

.answer-holder:nth-child(odd) .answer {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.33;
    color: #ff455f;
}

.things-about-holder .answer-holder:nth-child(even) {
    background-color: #ff455f;
}

.answer-holder:nth-child(even) .question {
    font-size: 14px;
    line-height: 1.43;
    color: #f8d3db;
}

.answer-holder:nth-child(even) .answer {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.33;
    color: #f8d3db;
}

.user-hashtag .data-holder-header {
    margin-bottom: 0;
}

.user-hashtag .frequently-used {
    font-size: 14px;
    line-height: 1.43;
    color: #637e8c;
    margin-bottom: 16px;
}

.user-hashtag .tag {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: inline-block;
    line-height: 1.43;
    text-align: center;
    border-radius: 20px;
    background-color: #00bfa5;
    padding: 4px 8px;
    color: #fff;
}

.user-recent-visits .visit-holder {
    background-color: #eceef4;
    margin-bottom: 16px;
    height: 50px;
    border-radius: 4px;
    border: 1px solid #eceef4;
}

.visit-holder .visit-mer-logo {
    width: 48px;
    height: 48px;
    display: inline-block;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.visit-holder .visit-mer-holder {
    padding: 8px;
    display: inline-block;
    vertical-align: top;
}

.visit-mer-holder h5 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.87);
}

.visit-mer-holder h6 {
    font-size: 12px;
    line-height: 1.33;
    color: rgba(0, 0, 0, 0.54);
}

.merchant-other-bookmarks .other-bookmarks {
    display: block;
}

.other-bookmarks .bookmark-details-holder {
    position: relative;
    display: inline-block;
    width: 100%;
}

.other-bookmarks .bookmark-holder {
    margin-top: 12px;
}

.bookmark-details-holder .bookmark-img {
    position: absolute;
    height: 40px;
    width:  40px;
    display: inline-block;
    margin-top: 4px;
}

.bookmark-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.bookmark-details-holder .bookmark-details {
    display: inline-block;
    width: 100%;
}

.bookmark-details .bookmark-name {
    font-size: 14px;
    line-height: 1.43;
    font-weight: bold;
    display: inline-block;
    overflow: hidden;
    padding-right: 4px;
    vertical-align: bottom;
    margin-bottom: 0;
}

.bookmark-details span {
    font-size: 12px;
    line-height: 1.67;
    color: #637e8c;
}

.bookmark-details .description {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.33;
    color: #637e8c;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.other-bookmarks .merchant-holder {
    width: 100%;
    display: inline-block;
    overflow: hidden;
}

.merchant-holder .merchant-card {
    width: 33%;
    float: left;
    padding: 8px;
    overflow: hidden;
    display: inline-block;
}

.merchant-holder .merchant-card:first-child {
    padding-left: 0;
}

.merchant-holder .merchant-card:last-child {
    padding-right: 0;
}


.merchant-card .merchant-img {
    height: 80px;
}

.merchant-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.merchant-location h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    color: #3e5561;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.merchant-location h5 {
    font-size: 12px;
    line-height: 1.33;
    color: #637e8c;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 800px) {
    .profile-container .user-details-holder {
        width: 100%;
        display: block;
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .user-details-holder hr {
        height: 16px;
        background-color: #eceef4;
        border: none;
    }

    .user-about .data-holder-header {
        font-weight: normal;
        font-size: 24px;
        margin-bottom: 4px;
    }

    .user-about .user-detail {
        display: inline-block;
        margin-right: 24px;
    }

    .user-about .badge-detail {
        display: block;
    }

    .post-ar-holder .top-post-holder {
        border-radius: 0;
        padding: 0;
        padding-bottom: 8px;
    }

    .top-post-holder .top-post-header {
        padding: 12px;
        padding-bottom: 0;
    }

    .top-posts .top-post {
        padding: 2px;
    }
}


/*-------Gap---------*/

.profile-container .gap {
    width: 2%;
    display: inline-block;
}

@media (max-width: 800px) {
  .profile-container .gap {
        width: 0%;
    }
}

/*-------Posts---------*/

.profile-container .post-ar-holder {
    width: 61%;
    display: inline-block;
}

.post-ar-holder .ar-holder {
    background-color: #fff;
    border: 1px solid #d8dae1;
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
    margin-top: 8px;
}

.ar-holder .ar-header {
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    color: rgba(0, 0, 0, 0.87);
}

.ar-holder hr {
    margin: 0;
    height: 1px;
    background-color: #d8dae1;
    border-top: 1px solid #d8dae1;
}

.ar-holder .ar-logo {
    position: absolute;
    top: 16px;
    right: 40px;
    width: 40px;
    height: 40px;
}

.ar-header .ar-count {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.29;
    color: #ffa902;
    text-shadow: 1px 1px 0 #d48e01, 0 1px 0 #ffda04;
}

.ar-holder .ar-arrow-holder {
    position: relative;
    padding: 16px;
}

.ar-arrow-holder .arrow-left, 
.ar-arrow-holder .arrow-right {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
}

.ar-arrow-holder .arrow-right {
    right: 0;
    top: 48%;
}

.ar-arrow-holder .arrow-left {
   left: 0;
   top: 48%;
}

.ar-arrow-holder .scroll-holder {
    overflow: hidden;
    width: 96%;
    margin: 0 auto;
}

.ar-holder header {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.25;
    color: #3e5561;
}

.ar-holder span {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.29;
    color: #ffa902;
    margin-right: 4px;
    text-shadow: 1px 1px 0 #d48e01, 0 1px 0 #ffda04;
}

.ar-holder .quest-logo {
    height: 40px;
    width: 42px;
    position: absolute;
    right: 12px;
}

.ar-holder .ar-videos-slick {
    position: relative;
    overflow: hidden;
    max-height: 174px;
    margin-top: 16px;
}

.ar-holder .video-box {
    width: 192px;
    margin-right: 8px;
    display: inline-block;
    overflow: hidden;
}

.video-box .video-thumbnail {
    position: relative;
    width: 184px;
    height: 128px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.3); 
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail .ar-thumbnail {
    display: block;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: cover;
}

.video-thumbnail img:last-child {
    position: absolute;
    top: 48px;
    left: 72px;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.video-box .video-stats {
    display: inline-block;
    width: 100%;
    height: 45px;
    padding-bottom: 4px;
}

.merchant-img .img-logo {
    height: 32px;
    width: 32px;
    float: left;
    margin-right: 8px;
    margin-top: 4px;
}

.video-stats .merchant-stats {
    margin:4px;
}

.video-stats p:first-child {
    font-size: 14px;
    color: #3e5561;
    font-weight: bold;
    line-height: 1.33;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.video-stats p:last-child {
    color: #637e8c;
    font-size: 12px;
    line-height: 1.33;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.post-ar-holder .private-msg {
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    padding: 80px 20px;
}

@media (max-width: 800px) {
    .profile-container .post-ar-holder {
        width: 100%;
    }

    .post-ar-holder .ar-holder {
        border-radius: 0;
    }
}


/*-------------Ar Modal------------------*/
.ar-video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.90);
}
 
.ar-video-modal .modal-content {
    position: absolute;
    background-color: rgb(0,0,0);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: fit-content;
    width: -moz-fit-content;
    height: 500px;
}

.modal-content .close {
    color: #e6e5e5;
    position: absolute;
    top:-22px;
    right: -6px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .ar-video {
    width:500px;
    height: 500px;  
}

@media(max-width: 800px) {

    .ar-video-modal .modal-content {
        height: 360px;
    }

    .modal-content .ar-video {
        width:360px;
        height: 360px;
    }

}