﻿/* User profile */

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.partialContents {
    display: none;
}

.report-modal input[type=radio] {
    position: relative;
    float: left;
    margin: 0 5px 0 0;
    height: auto;
}

.valid-phone {
    color: #5da423;
    font-weight: bold;
    float: left !important;
    font-size: 16px;
}

.verificated-profile {
    cursor: pointer;
    color: #5da423;
    float: left !important;
    font-size: 16px;
}

.vip-logo {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#reportUserModal {
    text-align: left;
}

#reportUserModal .reveal-modal {
    padding: 30px;
}

#reportUserModal h4 {
    float: left;
    text-align: center;
    width: 100%;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

#reportUserModal label {
    float: left;
    width: 100%;
    padding: 8px 0;
    cursor: pointer;
}

#reportUserModal textarea {
    float: left;
    width: 100%;
    height: 50px;
    padding: 10px;
    margin-top: 10px;
}

#reportUserModal button {
    margin-top: 20px;
    float: left;
    width: 100%;
}

.alert-box.successmessage {
    color: #5da423 !important;
    background: #fff;
    line-height: 1.7;
    font-weight: bold;
    font-size: 18px;
}

#reportUserForm label span {
    position: relative;
    top: -3px;
}

.notice.field-validation-error.messageRequired {
    margin-top: 0px !important;
    display: none;
}

.warningmessagerequired {
    color: red;
    border: 1px solid red;
}

.reportedModalReadMore {
    display: inline-block;
    margin-top: 30px;
    font-size: 13px;
    float: right;
}


.user-profile {
    margin-bottom: 2rem;
    text-align: center;
}

.rmd-container .user-profile {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 640px) {
    .user-profile {
        margin-bottom: 1rem;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .rmd-container .user-profile {
        padding-right: 0;
        padding-left: 0;
    }
    .account-right .user-profile {
        margin-top: 1rem;
    }
}

.user-status {
    display: none;
}

.user-status.is-online {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4daa57;
    gap: 6px;
}

.user-online {
    margin-left: -16px;
}

.online-circle {
    position: relative;
    box-sizing: content-box;
    left: -16px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #4daa57;
}

    .online-circle:after {
        content: '';
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        animation: circle-pulse 2s infinite;
        border-radius: 50%;
        box-shadow: 0 0 0 0 #4daa57;
    }

@keyframes circle-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(77,170,87,0.9);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(77,170,87,0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(77,170,87,0);
    }
}

.user-profile-header {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 8px;
    background-color: #e3edf4;
    background: linear-gradient(180deg, #e3edf4, #ccdae3);
    z-index: 1;
}

.user-profile-header-vip {
    background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4gJkSUNDX1BST0ZJTEUAAQEAAAJUbGNtcwQwAABtbnRyUkdCIFhZWiAH6AAGABQACAApADhhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtkZXNjAAABCAAAAD5jcHJ0AAABSAAAAEx3dHB0AAABlAAAABRjaGFkAAABqAAAACxyWFlaAAAB1AAAABRiWFlaAAAB6AAAABRnWFlaAAAB/AAAABRyVFJDAAACEAAAACBnVFJDAAACEAAAACBiVFJDAAACEAAAACBjaHJtAAACMAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACIAAAAcAHMAUgBHAEIAIABJAEUAQwA2ADEAOQA2ADYALQAyAC4AMQAAbWx1YwAAAAAAAAABAAAADGVuVVMAAAAwAAAAHABOAG8AIABjAG8AcAB5AHIAaQBnAGgAdAAsACAAdQBzAGUAIABmAHIAZQBlAGwAeVhZWiAA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FpjVjoJN1YNbG0cIpTBjNU0NQ/xEvS+ORVqNVcs7FmPMyoqaUdcMdzMtGzNuYEuTAkIIEgdULeUE+0C0UGHnKoPuMipmoU9S1Q9OAlCNi3tlpgU1+3XvESqCSTckkyoloBtAZVJNgLmBoXDZFzV3FMbcz+JKsK+LWmCuGXLux4kxCsbEsbsSTNIloEtANoBSm1RsqAknkIVqNOhgxmxLZ6nKmv8yd4cYMZjquI8N8tMaKukZgxGVAMCt5R1g45rMNGDp6T3gMKlP0HvAPzUH+vuYB/UEeVEH4hAbEVTwzkDpwiCriTcm5lBtCDaAQIFtOhUfyqbbngJFizJRpfVqZj6U4/vAVsXlFqCCmN9T3iFZWZnN2JJ6ygWhBtANoBA2gaaeFsvzMQwp0+upirFVf4gKamng1yLzbmYnpXNdixJYknrKhDABgK2kClzKO0FGwnNoco2EA5RsJQbDYQqADYQg2GwlNSwvoIQwA2EIIA2Eit2CRLXyrfe0mrijGkl7Em20uJrJYbCVEsNhANhsIEAGwgGw2EAgDYQNvw1V+YTlFxpwmdaxi+JHNiGzcbbzWJrEVGwlQCo2HaBMo2HaQDKuw7QEZRsO0qqKirbQdoH//Z');
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: cover;
    border-radius: 12px;
}

@media (max-width: 860px) {
    .user-profile-header {
        height: 120px;
    }
}

.user-vip-overlay {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(160deg, #666, #000);
    border-radius: 12px;
    border-top: 4px solid #ffbc00;
    opacity: 0.85;
}

.user-profile-header-vip .user-vip-overlay {
    display: block;
}

.user-profile-content {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    z-index: 2;
}

.user-name {
    font-size: 24px;
    margin: 4px auto;
}

.user-location {
    margin-bottom: 8px;
}

.user-profile-content .user-avatar {
    width: 100px;
    height: 100px;
    margin: -50px auto 20px;
    border: 3px solid #fff;
    background-color: #fff;
    border-radius: 50%;
}

    .user-profile-content .user-avatar img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

.user-vip-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
    background-image: url("/Content/img/vip_logo.svg");
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: contain;
}

.user-vip-link {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
}

.user-vip-txt {
    position: absolute;
    top: 16px;
    left: 78px;
    width: 200px;
    height: 50px;
    line-height: 50px;
    font-family: var(--secondary-font-family);
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    color: #fff;
}

.user-vip-txt a {
    text-decoration: none;
    color: #fff;
}

    .user-vip-txt a:hover {
        text-decoration: underline;
        color: #fff;
    }

.user-meta {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 16px;
    margin: 8px 0;
}

.user-meta-label {
    font-size: 14px;
    color: #464b54;
}

.user-meta-value {
    font-size: 14px;
    color: #747c8c;
}

.user-profile-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.verificated-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4daa57;
    margin: 10px 0px 10px -6px;
    cursor: pointer;
}

.verificated-profile .svg-icon{
    margin-left: -20px;
}

.user-validated-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4daa57;
    gap: 6px;
}

.user-actions {
    display: flex;
    justify-content: center;
}

.user-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
}

.user-actions .followed {
    display: none !important;
}

.user-actions .successbg,
.user-actions .warningbg,
.user-actions .errorbg {
    background-color: #fff !important;
    color: #222 !important;
}

.user-profile-btn-wrap button {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 80px;
    background-color: #fff;
    border: 1px solid #fff;
    padding: 10px 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease-in;
    text-align: center;
    line-height: 1.1;
    font-family: var(--primary-font-family);
    cursor: pointer;
    box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 2px 5px 0px;
    color: #222;
}

    .user-profile-btn-wrap button:hover {
        box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 3px 9px 0px, rgba(60,66,87,.12) 0px 2px 5px 0px;
    }

.user-txt-left {
    text-align: left;
}

.user-txt-right {
    text-align: right;
}

.rmd-container-user-articles .article-title a,
.rmd-container-user-articles .article-title a:hover {
    color: #2e95df;
}

.rmd-container-user-articles .article-item {
    overflow: hidden;
}

.user-detail .user-img {
    position: relative;
}

    .user-detail .user-img.is-online:after {
        content: '';
        display: block;
        position: absolute;
        right: 5px;
        bottom: 5px;
        width: 15px;
        height: 15px;
        background-color: #5da423;
        border-radius: 50%;
    }

@media (max-width: 640px) {
    .rmd-container-user-articles {
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .rmd-container .rmd-container-user-articles {
        padding-right: 0;
        padding-left: 0;
    }
}
