/*

- message styles
- popup
- thank you message

message styles */
.message-header-contact-name a {
    color: #000;
}

.chat_area::-webkit-scrollbar-track,
.message-container .member_list::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #F5F5F5;
}

.chat_area::-webkit-scrollbar,
.message-container .member_list::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.chat_area::-webkit-scrollbar-thumb,
.message-container .member_list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #d3d3d3;
}

div#attach-image-message .attach-img-a > div {
    background-color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    text-align: center;
    display: -webkit-inline-box;
}

div#attach-image-message .attach-img-a > div svg {
    display: -webkit-box;
    margin: auto;
    fill: #F3225D;
}

div#attach-image-message > div:nth-child(3) {
    text-align: center;
}

div#attach-image-message .attach-img-a {
    display: -webkit-inline-box;
}

div#attach-image-message span {
    margin-top: -2px;
    display: -webkit-box;
    text-transform: uppercase;
    font-size: 9px;
    color: #ababab;
}

.main_section,
.message-container,
.chat_container {
    overflow: hidden;
}

.main_section {
    border-radius: 7px;
    background-color: #fff;
    box-shadow: 0px 2px 28px #00000014;
}

#custom-search-input button svg {
    fill: #919191;
    width: 13px;
}

#custom-search-input {
    background: #ffffff none repeat scroll 0 0;
    margin: 0;
    padding: 11px 10px;
}

#custom-search-input .search-query {
    background: #fff none repeat scroll 0 0 !important;
    border-radius: 4px;
    height: 33px;
    margin-bottom: 0;
    padding-left: 7px;
    padding-right: 7px;
    border: 0;
    outline: none;
    box-shadow: none;
}

#custom-search-input button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    border-radius: 3px;
    color: #666666;
    left: auto;
    margin-bottom: 0;
    margin-top: 7px;
    padding: 2px 5px;
    position: absolute;
    right: 0;
    z-index: 999;
}

.search-query:focus + button {
    z-index: 3;   
}

.message_section {
    border-left: 1px solid #dedede;
}

.all_conversation {
    background: #ffffff none repeat scroll 0 0;
}

.dropdown.all_conversation {
    padding: 0 3%;
    border-top: 1px solid #e6e6e6;
}

.all_conversation .label-all-conversation {
    height: 38px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
}

.all_conversation i {
   background: transparent;
   border-radius: 100px;
   color: #636363;
   font-size: 17px;
   height: 30px;
   line-height: 30px;
   text-align: center;
   width: 30px;
}

.all_conversation .caret {
   bottom: 0;
   margin: auto;
   position: absolute;
   right: 15px;
   top: 0;
}

.all_conversation .dropdown-menu {
   background: #f5f3f3 none repeat scroll 0 0;
   border-radius: 0;
   margin-top: 0;
   padding: 0;
   width: 100%;
}

.all_conversation ul li {
   border-bottom: 1px solid #dddddd;
   line-height: normal;
   width: 100%;
}

.all_conversation ul li a:hover {
   background: #dddddd none repeat scroll 0 0;
   color:#333;
}

.all_conversation ul li a {
    color: #333;
    line-height: 30px;
    padding: 3px 20px;
}

.member_list .chat-body {
   margin-left: 10px;
   margin-top: 0;
   float: left;
}

div#member_list ul li .chat-name {
    font-weight: normal !important
}


.chat-unread {
    font-weight: bold;
}

.chat_time,
.chat-datetime span {
    font-size: 11px;
    color: #a5a5a5;
    font-family: Arial;
}

.chat-datetime .chattime {
    margin-right: 4px;
}

.top_nav {
   overflow: visible;
}

.member_list .contact_sec {
   margin-top: 3px;
}

.member_list li {
   border-bottom: 1px solid #f6f6f6;
   padding: 6px;
}

.msg-counter {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 15px;
    height: 15px;
    text-align: center;
    font-size: 8px;
    padding: 0;
    line-height: 15px;
    position: absolute;
    right: 32px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #F3225D;
}

.chat-img img {
   height: 34px;
   width: 34px;
}

.member_list li:last-child {
   border-bottom:none;
}

.member_list {
   height: 420px;
   overflow-x: hidden;
   overflow-y: auto;
}

.sub_menu_ {
    background: #e8e6e7 none repeat scroll 0 0;
    left: 100%;
    max-width: 233px;
    position: absolute;
    width: 100%;
}

.sub_menu_ {
    background: #f5f3f3 none repeat scroll 0 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: none;
    left: 100%;
    margin-left: 0;
    max-width: 233px;
    position: absolute;
    top: 0;
    width: 100%;
}

.conversation-btn-dropdown {
  display: none;
}

.all_conversation ul li:hover .sub_menu_ {
    display: block;
}

.new_message_head button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
}

body.message-profile-page .new_message_head {
    height: 56px;
}

body.message-profile-page .message_section .new_message_head {
    height: initial;
}

.new_message_head {
    background: #ffffff none repeat scroll 0 0;
    float: left;
    font-size: 13px;
    font-weight: 600;
    padding: 18px 10px;
    width: 100%;
    border-bottom: 1px solid #e6e6e6;
}

.chat_area {
    float: left;
    height: 340px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

.chat_area li {
    padding: 14px 14px 0;
}

.chat_area li .chat-img1 img {
    height: 40px;
    width: 40px;
}

.inner-li-conversation {
    display: flex;
    align-items: center;
}

.chat_area .chat-body1 {
    margin-left: 50px;
    font-size: 13px;
}

.chat-body1 p {
    background: #d4def5 none repeat scroll 0 0;
    padding: 10px;
    border-radius: 4px;
}

.chat_area ul li.admin_chat_user p {
    background-color: #fbf9fa;
}

.chat_area .left .chat-body1 {
    margin-left: 50px;
    margin-right: 90px;
}

.chat_area .admin_chat_user .chat-body1 {
    margin-right: 0;
    margin-left: 90px;
}

.chat_area li:last-child {
    padding-bottom: 10px;
}

.message_write {
    background: #ffffff none repeat scroll 0 0;
    float: left;
    padding: 15px;
    width: 100%;
    border-top: 1px solid #e6e6e6;
}

.message_write textarea.form-control {
    height: 70px;
    padding: 10px;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.message_write textarea.form-control:focus {
    border-color: #ccc;
}

.chat_bottom {
    margin-top: 13px;
}

.upload_btn {
    color: #777777;
}

.sub_menu_ > li a, .sub_menu_ > li {
    float: left;
    width:100%;
}

.member_list li:hover,
.member_list li.active {
    background: #f4f4f4;
    cursor:pointer;
}

/*popup*/
select#report_dropdown {
    margin-bottom: 10px;
}

body.artist-critic .modal-dialog.pmp {
    width: 480px;
    margin: 20px auto;
}

body.artist-critic .modal-dialog.pmp .message_section {
    width: 100%;
}

body.artist-critic .modal-dialog.pmp .message_write textarea.form-control {
    height: 120px;
}

body.artist-critic .modal-dialog.pmp .new_message_head .pull-left {
    font-size: 16px;
    font-weight: normal;
}

body.artist-critic .modal-dialog.pmp .links-account-container .new_message_head .pull-left {
    font-size: 20px;
    width: 100%;
    text-align: center;
}

body.artist-critic .modal-dialog.pmp .new_message_head {
    padding: 18px 15px;
}

#page-wrapper .message-container .message_section .close,
#page-wrapper .message-container .message_section .new_message_head span {
    display: none;
    outline: none;
}

/*thank you message*/
.ty-message-wrapper {
    padding: 24px;
    position: relative;
    background: linear-gradient(17deg, #fa600a 0%, #ff007e 100%);
    border-radius: 10px;
}

.ty-thumbnail-row {
    position: absolute;
    width: 400px;
    height: 50px;
    z-index: 99;
    top: -44px;
    left: -41px;
    display: flex;
    color: #fff;
}

.ty-thumbnail-row img {
    width: 100%;
}

.ty-message-wrapper .close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #F3225D;
    z-index: 9999;
    opacity: 1;
    border: 1px solid #fff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 30px;
    height: 30px;
    background: #fff;
    outline: none;
}

.ty-thumbnail {
    margin-right: 13px;
    width: 70px;
    height: 70px;
    position: relative;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
}

.ty-name {
    font-size: 20px;
    line-height: 41px;
}

div#ty_message_popup .main_section,
div#follow_popup .main_section {
    border: 0;
    background-color: transparent;
    display: table-cell;
    vertical-align: middle;
    overflow: initial;
}

div#follow_popup .ty-message-wrapper {
    text-align: center;
    color: #fff;
    margin: 0 60px;
}

div#follow_popup .buttons-wrap {
    text-align: center;
    margin-top: 20px;
}

div#follow_popup .ty-message-wrapper h4 {
    font-size: 26px;
    margin-top: 0;
}

div#follow_popup button {
    float: inherit;
    display: -webkit-inline-box;
    background: #fff;
    color: #F3225D;
    margin: 0 15px;
}

.modal-dialog.tym {
    height: 100%;
    margin: 0 auto;
    display: table;
}

.ty-message-row p {
    font-size: 24px;
    font-weight: 600;
    line-height: 40px;
    text-align: left;
    padding-right: 10px;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.ty-message-row {
    text-align: right;
    color: #ffffff;
}

.ty-message-row i {
    font-size: 26px;
    position: absolute;
    right: 10px;
    top: 8px;
}

span.ty-beta-icon:before {
    content: " ";
    background-image: url(../img/bh-beta-icon-1.png);
    width: 30px;
    height: 30px;
    display: block;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

span.ty-beta-icon {
    display: -webkit-inline-box;
}

.message-write-inner-row.row {
    margin: 0;
    position: relative;
}

@media (max-width: 737px) {

    .chat_bottom {
        margin-top: 10px;
    }

    .all_conversation .label-all-conversation {
        display: block;
        padding: 2px 0;
    }

    .conversation-btn-dropdown {
        background: transparent;
        border: 0;
        padding-top: 0;
        padding-bottom: 0;
        display:block;
        outline: none;
    }

    .dropdown.all_conversation{
        display: none;
    }

    div#custom-search-input {
        border-bottom: 1px solid #ddd;
        background-color: #F5F3F3;
    }

    body.profile-settings-page.message-profile-page {
        margin-top: 60px;
    }

    #page-wrapper .message-container .message_section .close,
    #page-wrapper .message-container .message_section .new_message_head span {
        display: block;
    }

    body.profile-settings-page.message-profile-page .message_section {
        position: fixed;
        top: 52px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: none;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
        outline: 0;
        background-color: #fff;
    }

    .new_message_head {
        padding: 9px 10px;
    }

    footer.footer .row {
        margin: 0;
    }

    div#member_list {
        height: auto;
    }

    body.message-profile-page .footer.footer {
        z-index: 999;
    }

    .message_write.mobile-message-write {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 9999;
    }

    .message_write.mobile-message-write textarea {
        margin-right: 10px;
    }

    .message_write.mobile-message-write .clearfix {
        display: none;
    }

    .mobile-message-write input.frm-button {
        width: 100px;
    }

    .message_write textarea.form-control,
    .mobile-message-write input.frm-button {
        height: 55px;
    }

    .message_write.mobile-message-write {
        display: block;
    }

    div#member_list .active {
        background-color: transparent;
    }

    .new_message_head .message-header-contact-name {
        margin-left: 16px;
    }

    #page-wrapper .message-container .message_section .close,
    .new_message_head .message-header-contact-name {
        float: left;
    }

    div#ty_message_popup {
        padding: 0 9% !important;
    }

    .message_section .row {
        position: relative;
        display: block;
        height: 100%;
    }

    .chat_area {
        position: relative;
        height: 100%;
    }
    
    .chat_area .list-unstyled {
        padding-left: 0;
        list-style: none;
        height: 100%;
    }

    .chat-area-inner-row {
        position: relative;
        height: 100%;
    }

} /*737*/


@media (max-width: 534px) {

    body.profile-settings-page.message-profile-page .main_section {
        border: 0;
        border-radius: 0;
    }

    body.profile-settings-page.message-profile-page #page-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    #page-wrapper .message-section {
        margin: 0;
    }

    div#custom-search-input {
        background-color: transparent;
        border-bottom: 0px;
    }

    .ty-thumbnail-row {
        left: -15px;
        top: -40px;
    }

    .ty-thumbnail {
        width: 60px;
        height: 60px;
        padding: 3px;
    }

    .ty-message-row p {
        font-size: 20px;
        font-weight: 500;
        line-height: 30px;
    }

} /*534*/

@media (max-width: 481px) {

    body.artist-critic .modal-dialog.pmp {
        width: 95%;
        margin-right: 3px;
    }

    body.artist-critic .modal-dialog.pmp .main_section {
        background-color: #F5F3F3;
    }

    .message_write.mobile-message-write {
        padding: 15px 0;
    }

    .chat_area {
        padding-bottom: 135px;
    }

    .message_write form {
        margin: 0;
        width: 100%;
        overflow: hidden;
        padding: 0 2%;
    }

    .message_write textarea.form-control {
        width: 60%;
        margin-right: 5%;
    }

    .message_write textarea.form-control,
    .mobile-message-write input.frm-button {
        width: 100%;
    }

    .chat_bottom {
        width: 100%;
        margin-top: 6px;
    }

    .chat_bottom #attach-image-message {
        float: left;
    }

    .chat_bottom input#sendreply {
        float: right;
        width: 25%;
        height: 40px;
        padding: 8px;
    }

    div#attach-image-message span {
        display: none;
    }

    div#reply-message {
        padding: 10px 0;
    }

    .message-section .main_section {
        box-shadow: none;
    }

    .chat_area .left .chat-body1 {
        margin-left: 50px;
        margin-right: 8%;
    }   

    .chat_area .admin_chat_user .chat-body1 {
        margin-right: 0;
        margin-left: 20%;
    }

}

@media (max-width: 415px) {
    .message-write-inner-row.row .col-xs-9 {
        width: 69%;
        margin-right: 5%;
    }
}

@media (min-width: 737px) {

    .member_list.collapse {
        display: block;
    }

}

/* JDM */
/* ############ Conversation ########### */
.list-unstyled#conversationa > li.active, .list-unstyled#conversationa > li:hover {
    background: #f4f4f4 none repeat scroll 0 0;
    color: #000;
}

.list-unstyled#conversationa > li.active .chat-name, .list-unstyled#conversationa > li:hover .chat-name {
    font-weight: bold;
}

.list-unstyled#conversationa > li.active .chatdate, .list-unstyled#conversationa > li:hover .chatdate {
    color: #fff;
}