#view-user-mbox > #overlay
{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 89999;
    background: rgba(11, 24, 39, 0.25);
}

@media only screen and (max-width: 600px)
{
    #view-user-mbox > #overlay > #content
    {
        width: 300px;
        max-height: 90%;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container,
    #view-user-mbox > #overlay > #content > #user-avatar-container:after
    {
        height: 150px;
        max-width: 300px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container:after
    {
        width: 300px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container > #initials
    {
        line-height: 150px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container > #member-logo-container
    {
        left: 25px;
        top: 62.5px; /* guessed */
        height: 125px;
        width: 125px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container > #link-btns-wrapper
    {
        right: 25px;
        top: 130px; /* height of #user-avatar-container - height of .rounded-btn / 2 */
    }
    
    #view-user-mbox > #overlay > #content > #bottom
    {
        margin-top: 27.5px;
        padding: 25px;
    }

    #view-user-mbox > #overlay > #content p
    {
        font-size: 18px;
    }

    .green-btn.connect-to-member
    {
        min-width: 100%;
        bottom: 0;
    }
}

@media only screen and (min-width: 600px)
{
    #view-user-mbox > #overlay > #content
    {
        width: 550px;
        height: 570px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container,
    #view-user-mbox > #overlay > #content > #user-avatar-container:after
    {
        max-width: 550px;
        height: 200px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container:after
    {
        width: 550px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container > #initials
    {
        line-height: 200px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container > #member-logo-container
    {
        left: 40px;
        top: 82.5px; /* height of #user-avatar-container - height of #member-logo-container / 4 */
        height: 150px;
        width: 150px;
    }

    #view-user-mbox > #overlay > #content > #user-avatar-container > #link-btns-wrapper
    {
        right: 40px;
        top: 180px; /* height of #user-avatar-container - height of .rounded-btn / 2 */
    }

    #view-user-mbox > #overlay > #content > #bottom
    {
        margin-top: 35px;
        padding: 40px;
    }
}

#view-user-mbox > #overlay > #content
{
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    overflow: hidden;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin: 0 auto;
    background: white;
    filter: drop-shadow(0 0 5px rgba(11, 24, 39, 0.5));
    -webkit-filter: drop-shadow(0 0 5px rgba(11, 24, 39, 0.5));
    -moz-filter: drop-shadow(0 0 5px rgba(11, 24, 39, 0.5));
}

#view-user-mbox > #overlay > #content > #user-avatar-container:not(.dummy-avatar)
{
    background-size: cover;
    background-repeat: no-repeat;
}

#view-user-mbox > #overlay > #content > #user-avatar-container.dummy-avatar
{
    background-image: url("../../../images/dummy_avatar.png"); 
    background-size: 50%;
}

#view-user-mbox > #overlay > #content > #user-avatar-container:not(.dummy-avatar):after
{
    position: absolute;
    content: "";
    z-index: 1;
    padding-right: 1px;
    background-image: url("../../../images/view_user_gradient.svg");
    background-size: cover;
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #initials
{
    text-align: center;
    line-height: 200px;
    margin: 0;
    color: white;
    pointer-events: none;
    font-size: 120px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #close-btn
{
    position: absolute;
    z-index: 2;
    right: 25px;
    top: 25px;
    background: transparent;
    color: white;
    text-transform: uppercase;
    border: none;
    padding: 0px;
    cursor: pointer;
    font-size: 22px;
    font-family: "DIN Next LT Pro";
    font-weight: 500;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #close-btn:focus
{
    outline: none;
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #member-logo-container
{
    position: absolute;
    z-index: 2;
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    cursor: pointer;
    filter: drop-shadow(0 0 5px rgba(11, 24, 39, 0.25));
    -webkit-filter: drop-shadow(0 0 5px rgba(11, 24, 39, 0.25));
    -moz-filter: drop-shadow(0 0 5px rgba(11, 24, 39, 0.25));
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #member-logo-container > img
{
    display: block;
    max-width: 80%;
    height: 80%;
    object-fit: cover;
    -o-object-fit: cover;
    padding-top: 10%;
    padding-left: 10%;
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #member-logo-container:hover > img
{
    transform: scale(1.125);
    -webkit-transform: scale(1.125);
    -moz-transform: scale(1.125);
    -ms-transform: scale(1.125);
    -o-transform: scale(1.125);
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #link-btns-wrapper
{
    position: absolute;
}

#view-user-mbox > #overlay > #content > #user-avatar-container > #link-btns-wrapper > .rounded-btn
{
    position: relative;
    z-index: 2;
    display: inline-block;
    color: white;
    background: rgb(78, 183, 71);
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}


#view-user-mbox > #overlay > #content > #bottom
{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#view-user-mbox > #overlay > #content > #bottom > #user-name,
#view-user-mbox > #overlay > #content > #bottom > #user-function
{
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

#view-user-mbox > #overlay > #content > #bottom > #user-name
{
    font-size: 26px;
}

#view-user-mbox > #overlay > #content > #bottom > #user-contactinfo
{
    color: rgb(60, 70, 80);
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

#view-user-mbox > #overlay > #content > #bottom > #user-contactinfo > a
{
    display: inline-block;
    vertical-align: middle;
    color: inherit;
    text-decoration: none;
}

#view-user-mbox > #overlay > #content > #bottom > #user-contactinfo > a:hover
{
    text-decoration: underline;
}

#view-user-mbox > #overlay > #content > #bottom > #user-contactinfo > i
{
    display: inline-block;
    vertical-align: middle;
    color: rgb(11, 24, 39);
    opacity: 0.3;
    filter: alpha(opacity=30);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}

#view-user-mbox > #overlay > #content > #bottom > #user-contactinfo > i.fas.fa-phone
{
    transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
}

.green-btn.connect-to-member
{
    text-align: left;
}