.aoc_chat_title_layer
{
    padding:20px;
    text-align:center;
    font-size:18px;
    font-weight:600;
    background-color:#f0f0f0;
}
.aoc_chat_comments_view
{
    position:relative;
    border:2px solid #fff;
}

.aoc_chat_comments_view *
{
    box-sizing: border-box !important;
}

.aoc_chat_comments_list
{
    position:relative;
    background-color:#fff;
    padding:15px;
    overflow:auto;
    overflow-x:hidden;
    height: 600px;
    max-height: calc(100vh - 150px);
}

.aoc_chat_comments_list *
{
    box-sizing:initial;
}
.aoc_chat_comments_list .aml_social_layer_title
{
    display:none;
}
.aoc_chat_comments_form
{
    position:relative;
    height:72px;
    background-color:#f8f8f8;
    border-top:1px solid #ddd;
    padding:15px 20px;
    text-align:left;
}

.aoc_chat_comments_view input.chat_message
{
    height: 42px;
    width: calc(100% - 60px);
    border-radius: 10px;
    border: 1px solid #ddd !important;
    padding: 5px 70px 5px 10px;
    color: #4d4d4d;
    font-size:16px;
    background-color:#fff;
}
.chat_message::-webkit-input-placeholder { 
  color: #aaa;
}
.chat_message::-moz-placeholder { 
  color: #aaa;
}
.chat_message:-ms-input-placeholder { 
  color: #aaa;
}
.chat_message:-moz-placeholder { 
  color: #aaa;
}
.btn_send_chat_message
{
    color: #028ffb;
    font-family: 'SourceSansPro-Black';
    font-size: 14px;
    letter-spacing: 0.4px;
    margin-left:-65px;
    text-transform: uppercase;
}

.aoc_chat_comments_data
{
    display:none;
}

.aoc_chat_user_comment
{
    margin-bottom:20px;
    position: relative;
    display: table;
    width: 100%;
}   


.aoc_chat_user_comment .aoc_chat_avatar_layer
{
    display:table-cell;
    width:75px;
}

.aoc_chat_user_comment .aoc_chat_comments
{
    display:table-cell;
    padding:0px 15px;
}

.aoc_chat_user_comment.user_is_writing .aoc_chat_comment i
{
    font-size: 10px;
    margin-bottom: -10px;
    font-weight: 600;
    margin-right: 3px;
    color: #028ffb;
}

.aoc_chat_user_comment.user_is_writing .aoc_chat_comments {
    padding: 20px 15px 0px;
    vertical-align: middle;
}



.aoc_chat_user_comment .aoc_chat_avatar_layer img
{
    width:75px;
    height:75px;
    border-radius:50%;
    margin-bottom:15px;
}
.aoc_chat_user_comment.other_user .aoc_chat_comment {
    position: relative;
    background: #e9ecf1;
    border: 1px solid #e9ecf1;
    padding: 10px;
    max-width: 80%;
    margin-bottom: 5px;
    border-radius: 6px;
    display: inline-block;
    float: left;
    clear: both;
    text-align: left;
}
.aoc_chat_user_comment.other_user .aoc_chat_comment:after {
    content: "";
    position: relative;
    display: inline-block;
    bottom: -11px;
    left: -17px;
    width: 0px;
    height: 0px;
    border: 5px solid #e9ecf1;
    border-left-color: transparent;
    border-top-color: transparent;
}




.aoc_chat_user_comment.actual_user .aoc_chat_comment {
    position: relative;
    background: #028ffb;;
    border: 1px solid #028ffb;;
    padding: 10px;
    max-width: 80%;
    margin-bottom:5px;
    border-radius: 6px;
    display:inline-block;
    float:right;
    clear:both;
    text-align:right;
}

.aoc_chat_user_comment.actual_user .aoc_chat_comment:after {
    content: "";
    position: relative;
    display: inline-block;
    bottom: -11px;
    right: -17px;
    width: 0px;
    height: 0px;
    border: 5px solid #028ffb;
    border-right-color: transparent;
    border-top-color: transparent;
}


.aoc_chat_comment_text
{
    font-size:18px;
    line-height:1.3em;
    margin-bottom:5px;
    color:#4d4d4d;
    word-break:break-word;
}

.aoc_chat_user_comment.other_user .aoc_chat_comment_date
{
    clear:both;
    float:left;
}
.aoc_chat_user_comment.actual_user .aoc_chat_comment_date
{
    clear:both;
    float:right;
}

.aoc_chat_comment_date span
{
    font-size:12px;
    color:#4d4d4d;
}

.aoc_chat_user_comment.actual_user .aoc_chat_comment_text
{
    color:#fff;
}

.aoc_chat_comments_form_attach_button
{
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    right: 15px;
    left: calc(100% - 60px);
    bottom: 13px;
    top:13px;
    background-color: #4b8cf5;
    color: #fff;
    text-align: center;
    line-height: 46px;
    
    -webkit-transition : all 0.6s ease;
    -moz-transition : all 0.6s ease;
    -o-transition : all 0.6s ease;
    transition : all 0.6s ease;
    cursor:pointer;
    cursor:hand;
}

.aoc_chat_comments_form_attach_button i
{
    font-size:20px;
}
.aoc_chat_comments_form_attach_button .closed_elements
{
    padding-top:15px;
}

.aoc_chat_comments_form_attach_button .open_elements
{
    display:none;
    width:0%;
    -webkit-transition : all 0.6s ease;
    -moz-transition : all 0.6s ease;
    -o-transition : all 0.6s ease;
    transition : all 0.6s ease;
    height:100%;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_row
{
    height:100%;
    font-size:0px;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_text_options,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options_options,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options_options2,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.invite_user_options,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.send_contextual_question_options
{
    display:none;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_text_options .open_elements_cell:first-child,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options_options .open_elements_cell:first-child,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options_options2 .open_elements_cell
{
    text-align:left;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options_options2 .open_elements_cell:last-child,
.aoc_chat_comments_form_attach_button .open_elements .open_elements_row.question_options_options2 .open_elements_cell:nth-last-child(2)
{
    text-align:center;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_cell
{
    padding-top: 25px;
    height: 100%;
    border-left: 1px solid rgba(255,255,255,0.2);
    -webkit-transition : all 0.3s ease;
    -moz-transition : all 0.3s ease;
    -o-transition : all 0.3s ease;
    transition : all 0.3s ease;
    display:inline-block;
    box-sizing:border-box;
    line-height:25px;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_cell:hover
{
    background-color:rgba(255,255,255,0.2);
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_cell .open_elements_cell_text
{
    display:none
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_cell:hover .open_elements_cell_text
{
    display: block;
    font-weight: 600;
    line-height: 23px;
    font-size: 18px;
}

.aoc_chat_comments_form_attach_button .open_elements .open_elements_cell:hover > i
{
    display:none;
}

.aoc_chat_comments_form_attach_button.open
{
    border-radius:0px;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    width:100%;
    height:100%;
}

.aoc_chat_comments_form_attach_button.open .open_elements
{
    display:block;
    width:100%;
}

.aoc_chat_comments_form_attach_button.open .closed_elements
{
    display:none;
}

.aoc_chat_comment_attach_img
{
    max-width: 400px;
    max-height: 500px;
    display: block;
    margin: 5px;
    background: rgba(255,255,255,0.1);
    cursor:pointer;
    cursor:hand;
}



.aoc_chat_comments_form .open_elements_cell .input_question_title
{
    margin-top: -10px;
    padding: 5px 10px;
    height: 42px;
    width: calc(100% - 75px);
    border-radius: 10px;
    border: 1px solid #fff!important;
    color: #444;
    margin-left: 15px;
}

.aoc_chat_comments_form_attach_inner_button
{
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    right: 15px;
    left: calc(100% - 60px);
    bottom: 13px;
    top:13px;
    background-color: #fff;
    color: #fff;
    text-align: center;
    line-height: 46px;
    border:1px solid #fff;
    -webkit-transition : all 0.6s ease;
    -moz-transition : all 0.6s ease;
    -o-transition : all 0.6s ease;
    transition : all 0.6s ease;
    cursor:pointer;
    cursor:hand;
}

.aoc_chat_comments_form_attach_inner_button i,
.aoc_chat_comments_form_attach_inner_button:hover i
{
    font-size:20px;
    color:#4b8cf5 !important;
}

.aoc_chat_user_comment .form-question-text
{
    font-size:18px;
}


.aoc_chat_user_comment.actual_user .aoc_contextual_question .aoc_contextual_question_user_answer
{
    color:#fff;
}

.aoc_chat_user_comment.other_user .aoc_contextual_question .aoc_contextual_question_user_answer
{
    color:#4d4d4d;
}

.aoc_chat_comments_form .open_elements_cell .searcher_user_to_invite
{
    margin-top: -10px;
    padding: 5px 10px;
    height: 42px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #fff!important;
}




.aoc_chat_notification
{
    position: fixed;
    right: 30px;
    width: 300px;
    bottom: 30px;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 4px;
    z-index: 500;
    max-width: calc(100% - 60px);
    cursor:pointer;
    cursor:hand;
    -webkit-transition : bottom 0.3s ease;
    -moz-transition : bottom 0.3s ease;
    -o-transition : bottom 0.3s ease;
    transition : bottom 0.3s ease;
}

.aoc_chat_notification img
{
    border-radius: 50px;
    width: 42px;
    height: 42px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    cursor:pointer;
    cursor:hand;
}

.aoc_chat_notification img.aoc_chat_notification_img_preview
{
    border-radius: 3px;
    max-width: 100%;
    height: auto;
    display: block;
    width: auto;
}

.aoc_chat_notification .aoc_chat_notification_message
{
    color: #fff;
    font-size: 15px;
    display: inline-block;
    width: calc(100% - 65px);
    vertical-align: middle;
    line-height: 18px;
}

.aoc_chat_notification .aoc_chat_notification_close
{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #000;
    text-align: center;
    position: absolute;
    top: -10px;
    right: -10px;
    padding-top: 3px;
}

.aoc_chat_notification .aoc_chat_notification_close i
{
    color:#fff;
    font-size:17px;
}





.aoc_chat_comment_aux_wrapper
{
    background-color:#f5f5f5;
    height: 600px;
    max-height: calc(100vh - 150px);
    margin-top:-600px;
    position:relative;
    display:none;
    z-index:20;
    overflow:auto;
}

.aoc_chat_comment_users_info
{
    display:none;
}

.aoc_chat_comment_user_to_invite .aoc_chat_comment_user_to_invite_avatar img
{
    height:64px;
    width:64px;
    margin:10px;
    border-radius:50%;
    cursor:pointer;
    cursor:hand;
}

.aoc_chat_comment_user_to_invite
{
    margin:10px 0px;
    background-color:#fff;
    cursor:pointer;
    cursor:hand;
}


.aoc_chat_comment_user_to_invite.selected
{
    background-color:#D4E157;
}


.aoc_chat_comment_user_to_invite .aoc_chat_comment_user_to_invite_name
{
    font-size:18px;
    text-align:left;
    padding-top:35px;
}

.aoc_chat_comment_confirm_invite_users
{
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-80%);
    text-align:center;
}

.aoc_chat_comment_confirm_invite_users .aoc_chat_comment_confirm_invite_users_title
{
    font-size:24px;
    font-weight:600;
    margin:20px;
}

.aoc_chat_comment_confirm_invite_users .aoc_chat_comment_confirm_invite_users_avatar
{
    display:inline-block;
}

.aoc_chat_comment_confirm_invite_users .aoc_chat_comment_confirm_invite_users_avatar img
{
    width:90px;
    height:90px;
    display:inline-block;
    margin:5px;
    border-radius:50%;
    border: 1px solid #ddd;
    background-color: #eee;
}

.aoc_chat_comment_confirm_invite_users .aoc_chat_comment_confirm_invite_users_buttons button
{
    margin:20px 10px;
}

.aoc_chat_comment_file_attachment
{
    color: #4d4d4d;
    font-size: 18px;
    background-color: #fff;
    padding: 10px;
    margin-bottom:5px;
}

.aoc_chat_comment_invitation_attachment
{
    font-size: 16px;
    color: #4d4d4d;
    text-align: center;
    margin: 20px auto;
    background-color: #f0f0f0;
    max-width: 50%;
    border-radius: 20px;
    padding: 5px;
}

.aoc_chat_comment_invitation_attachment img
{
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
    background-color: #fff;
    border-radius: 50%;
}

.aoc_chat_comment_welcome_msg
{
    width: 370px;
    max-width: 90%;
    margin: 20px auto;
    background-color: #FFC107;
    color: #4d4d4d;
    font-size: 14px;
    padding: 10px;
    border-radius: 100px;
    box-shadow: 0px 1px 1px 1px #ccc;
    line-height:19px;
}
