
.timeline_block {
    padding: 0px 0px;
    margin: 0px 0px;
    border-top: 1px solid #ddd;
    transition: background-color 3s;
    background-color: #fff;
    /*border-radius: 9px;*/
    display: table;
}

.timeline_no_element {
    color: #333;
    transition: background-color 3s;
    background-color: #fff;
    padding: 14px;
    font-size: 17px;
    line-height: 23px;
    word-wrap: break-word;
    text-align: center;
    margin-top: 5px;
    /*border-radius: 9px;*/
}

.timeline_left {
    display: table-cell;  
    vertical-align: top;
    padding: 2px 0px 0px 0px;
}

.timeline_left .author_img {
    width: 30px;
    height: 30px;
    margin: 5px;
    border: 1px solid #b3aeae;
    border-radius: 25px;  
}


.timeline_right {
    display: table-cell;
    vertical-align: top;
    /*padding-top: 17px;*/
}

.timeline_header {
    background-color: #fff;
    transition: background-color 3s; 
    padding: 10px;
    margin-right: 10px;
    /*border-radius: 9px 9px 0 0;*/
    display: table-cell;
    vertical-align: top;
    padding-top: 14px;
}

.timeline_header .header_right {
    display: table;
}

.timeline_header,
.timeline_header .header_right .author_name,
.timeline_header .header_right .eventSentence
{
    line-height: 20px;
    font-weight: 600;
    font-size: 14px;
}

.timeline_header .author_img {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    float: left;
    border: 1px solid #b3aeae;
    border-radius: 25px;  
}

.timeline_header .author_img.author_online {
    border: 2px solid #0dbb18;
}

.timeline_header .author_name {
    font-weight: bold;
    color: #e9372f;
    font-size: 14px;
    line-height: 25px;
}

.timeline_header .author_name .username {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.timeline_block .timeline_time {
    display: inline-block;
    color: #999;
    font-size: 12px;
    border: 0px solid #efeaea;
    background-color: #efeaea;
    border-radius: 20px;
    margin-right: 3px;
    margin-top: 5px;
    padding: 0px 5px;
}

.timeline_block .timeline_time i {
    color: #555555; 
}
  
.timeline_block .timeline_privacy {
    display: inline-block;
    vertical-align: bottom;
    line-height: 20px; 
    color: #999;
    font-size: 12px;
    border: 0px solid #efeaea;
    background-color: #efeaea;
    border-radius: 20px;
    margin-right: 3px; 
    margin-top: 5px;
    padding: 0px 5px; 
}

.timeline_block .timeline_privacy i {
    color: #555555   
}


.timeline_block .post_options {  
    position: absolute;
    top: 5px;
    right: 6px;
    text-align: right;
    width: 30px;
    cursor: pointer;
    color: #aaa;
    height: 20px;
}

.timeline_block .post_options:hover {  
    color: #333;
}

.timeline_block .post_options .dropdown-toggle {  
    padding-left: 17px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 31px;
    height: 22px;
    line-height: 40px;
    font-size: 22px;
    display: none;
}

.timeline_block .eventSentence {  
    margin-left: 4px;
    font-size: 14px;
}

.timeline_block .eventSentence .author_name {  
    font-weight: normal;
}

.timeline_body {
    color: #333;
    transition: background-color 3s;
    background-color: #fff; 
    padding: 0px;
    font-size: 17px;
    word-wrap: break-word;
    display: table-cell;
    width: 100%;
    vertical-align: top;
    padding-top: 15px;
    padding-bottom: 15px;
} 

.timeline_body.post_bigger {
    /*font-size: 25px;
    line-height: 30px;*/
}


.timeline_attachments {
    /* background-color: #fff; */ /* Pose problème en mode édition */ 
    overflow: hidden; 
    vertical-align: middle;
    padding: 0px; 
}

.timeline_attachments .attachment {
    overflow: hidden; 
    vertical-align: middle;
    padding: 0px; 
}

.timeline_attachments .attachment .attachment_bg {
    width: 100%;
    vertical-align: middle;
    background-size: cover;
    background-position: 50% 50%;
    cursor: pointer;  
}

.timeline_attachments .attachment .attachment_img {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;  
}

.timeline_attachments .attachment .attachment_img img {
    max-width: 100%;
    min-width: 100%;
    min-height: 100%;
    max-height: 100%;
}

.timeline_attachments .attachment .play_overlay {
    height: 100%;
}

.timeline_attachments .attachment .play_overlay.audio_local {
    margin-top: -40px;
    cursor: pointer;
}

.timeline_attachments .attachment .play_overlay img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    filter: alpha(opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity .30s ease-in-out;
    -moz-transition: opactiy .30s ease-in-out;
    -ms-transition: opacity .30s ease-in-out;
    -o-transition: opacity .30s ease-in-out;
    transition: opacity .30s ease-in-out;
}

.timeline_attachments .attachment:hover .play_overlay img {
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition: opacity .30s ease-in-out;
    -moz-transition: opactiy .30s ease-in-out;
    -ms-transition: opacity .30s ease-in-out;
    -o-transition: opacity .30s ease-in-out;
    transition: opacity .30s ease-in-out;
}

.timeline_footer button,
.timeline_footer .glyphicon 
{
    cursor: pointer;
}

.timeline_footer {
    transition: background-color 3s;
    background-color: #fff; 
    border-top: 1px solid #f5f5f5;
    padding: 0px;
    line-height: 20px;
    min-height: 39px;
    border-radius: 0 0 9px 9px;
}

.timeline_footer .glyphicon,
.theater-footer .glyphicon 
{
    text-decoration: none;
    font-size: 17px;
    vertical-align: middle;
    margin-right: 5px;
}

.timeline_footer .glyphicon-heart,
.theater-footer .glyphicon-heart
{
    color: #f5b3b3;
} 

.timeline_footer .glyphicon-heart.liked,
.theater-footer  .glyphicon-heart.liked 
{
    color: #F60000;
}

.timeline_footer .glyphicon-comment,
.theater-footer  .glyphicon-comment 
{
    color: #91c0d6;
} 

.timeline_footer .glyphicon-comment.commented,
.theater-footer  .glyphicon-comment.commented 
{
    color: #0e97d6;
}

.timeline_footer .glyphicon-share-alt,
.theater-footer  .glyphicon-share-alt 
{
    color: #f7ae73;
} 

.timeline_footer .glyphicon-share-alt:hover,
.theater-footer  .glyphicon-share-alt:hover 
{
    color: #e9372f;
} 


.timeline_footer button:focus {
    outline:0 !important;;
} 


.timeline_footer .badge {
    background-color: #aaa;
}

.timeline_footer .btn-default {
    color: #e9372f;
    border: 0;
    background-color: transparent;
    width: 33.33%;
    height: 39px;
    outline: none;
    border-radius: 0px;
}

.timeline_footer .btn-default:hover {
    color: #333;
    /*background-color: #e6e6e6;*/
    background-color: #fff;
    border-color: #adadad;
} 

/* Focus background */
.focus .timeline_block, 
.focus .timeline_header, 
.focus .timeline_body, 
.focus .timeline_footer,
.focus.comment_line {
    /*background-color: #0e97d6;*/
    background-color: #e9372f !important;
} 


#newPostsBanner {
    position: absolute;
    top: 50px;
    text-align: center;
    z-index: 10;
    margin-left: 0;
    margin-top: -100px;
    display: none;
}

#newPostsBanner .newPostsCount { 
    background-color: #ff2929;
}

/**********************************
*  Right Column
*/
.right_column .timeline_body .author_img {
    height: 35px;
    margin: 5px;
}
.right_column .timeline_body .username {
    font-size: 13px;
}
.right_column .timeline_body .time {
    float: right;
    vertical-align: middle;
    line-height: 40px;
    font-size: 12px;
    color: #999;
}



/**********************************
*  Post Comment
*/

.timeline_comments_next_page,
.timeline_comments_previous_page {
    background-color: #ffffff;
    height: 50px;
    line-height: 50px;
    padding-left: 50px;
    font-weight: bold;  
    color: #337ab7;
    cursor: pointer;  
}

.timeline_comments_next_page:hover,
.timeline_comments_previous_page:hover {
    text-decoration: underline; 
    color: #23527c; 
}

.timeline_comment_form {
    background-color: #f5f5f5;
}

.timeline_comments {
    max-height: 500px;
    background-color: #ffffff;
    overflow-x: hidden;
}

.comment_line .author_img {
    position: absolute;
    width: 30px;
    margin: 10px;
    margin-top: 12px;
}

.comment_line > .comment_options {  
    float: right;
    text-align: right;
    width: 30px;
    cursor: pointer;
    color: #aaa;
    height: 20px;
    margin-right: 16px;
    top: 5px;
    padding-top: 10px;
}

body.mobile .comment_line > .comment_options {  
    margin-right: 6px;
}

.comment_line > .comment_options:hover {  
    color: #333;
}

.comment_line > .comment_options .dropdown-toggle {  
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 31px;
    height: 22px;
    font-size: 15px;
    display: none;
}

body.mobile .comment_line > .comment_options .dropdown-toggle {  
    display: block;
    padding-top: 0px;
}

/* Pour aligner le dropdown avec celui des élements parents */
.row.comment_line {
    padding-right: 5px;
}

.timeline_comments > .comment_line {
    border-top: 1px solid #f7f7f7; 
    background: #ffffff;
    transition: background-color 3s;
}

.timeline_comments > .comment_line > .comment_cts {
    padding-left: 15px;
    border-left: 1px solid #ccc;
}

.comment_cts {
    margin: 10px;
    margin-left: 50px; 
    line-height: 17px;
    font-size: 15px;
    word-wrap: break-word;  
}

/* Forumlaire */
.comment_line_form .author_img {
    margin-top: 1px;    
}

.comment_cts .addComment,
.comment_cts .editComment
{
    height: 36px;
    resize: none;
    border-radius: 15px;
    /*line-height: initial;*/    
}

.CommentForm .addComment-attachments
{
    display: none;     
}

/* Comment attachments */
.comment_attachments {
    /* background-color: #fff; */ /* Pose problème en mode édition */ 
    overflow: hidden;
    vertical-align: middle;
    margin: 8px 0px;
    padding: 0;
    border-radius: 6px;
    max-height: 250px;
}

.comment_attachments .attachment {
    overflow: hidden; 
    vertical-align: middle;
    padding: 0px; 
    max-height: 250px;
}

.comment_attachments .attachment [media-attach-id] {
    max-height: 250px;
}

.comment_attachments .attachment video {
    max-height: 250px;
}

.comment_attachments .attachment .attachment_bg {
    width: 100%;
    vertical-align: middle;
    background-size: cover;
    background-position: 50% 50%;
    /*cursor: pointer;*/  
}

.comment_attachments .attachment .play_overlay {
    height: 100%;
}

.comment_attachments .attachment .play_overlay.audio_local {
    margin-top: -40px;
    cursor: pointer;
}

.comment_attachments .attachment .play_overlay img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    filter: alpha(opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity .30s ease-in-out;
    -moz-transition: opactiy .30s ease-in-out;
    -ms-transition: opacity .30s ease-in-out;
    -o-transition: opacity .30s ease-in-out;
    transition: opacity .30s ease-in-out;
}

.comment_attachments .attachment:hover .play_overlay img {
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition: opacity .30s ease-in-out;
    -moz-transition: opactiy .30s ease-in-out;
    -ms-transition: opacity .30s ease-in-out;
    -o-transition: opacity .30s ease-in-out;
    transition: opacity .30s ease-in-out;
}

.comment_line {
    min-height: 50px;   
}

.comment_time {
    font-size: 10px;
    color: #c1bcbc;
    display: inline-block;  
}

.comment_cts .badge {
    font-size: 9px; 
    cursor: pointer;
    padding: 1px 5px;
    margin-right: 10px; 
    min-width: 33px;
    border: 1px solid #c3c3c3;
    color: #a9a8a8;
    background-color: transparent;
}

body.mobile .comment_time {
    vertical-align: bottom;
    height: 20px;
    display: inline-block;  
}

body.mobile .comment_cts .badge {
    padding: 4px 5px;
    margin-top: 5px;
}

body:not(.mobile) .comment_cts .badge:hover {
    border: 1px solid #aaa;
    color: #dedcdc;
    background-color: #aaa;
}

.comment_cts .badge .glyphicon {
    text-decoration: none;
    font-size: 9px;
    margin-right: 5px;    
}

.comment_like_button .glyphicon {
    color: #f5b3b3;
}

.comment_like_button .glyphicon.liked {
    color: #F60000;
}

body:not(.mobile) .comment_like_button:hover .glyphicon  {
    color: #F60000;
}

.comment_comment_button .glyphicon {
    color: #becdda;
} 

.comment_comment_button .glyphicon.commented {
    color: #337ab7;
} 

.comment_comment_button:hover .glyphicon {
    color: #337ab7;
}     

.dropdown_comment {
    position: absolute;
    display: none;
}
.dropdown_comment.open {
    display: inline-block !important;
}
.dropdown_comment ul {
    display: inline-block;
}
.dropdown_comment ul li {
    cursor: pointer;
}

.AddPostComment {
    background-color: #ffffff;
    height: 50px;
    line-height: 50px;
    padding-left: 50px;
    width: 100%;
    font-weight: bold;  
    color: #337ab7;
    cursor: pointer;  
}

.AddPostComment:hover {
    text-decoration: underline; 
    color: #23527c; 
}

.addComment[contenteditable=true]:empty:before,
.editComment[contenteditable=true]:empty:before
{
  content: attr(placeholder);
  display: block; /* For Firefox */ 
  color: #9c9a9a;
}

.upload-media-icon,
.upload-media-icon:active,
.upload-media-icon:visited,
.upload-media-icon:hover,
.upload-media-icon:focus {
    position: absolute;
    right: 0;
    cursor: pointer;  
    background: transparent;
    border: 0px; 
}

.upload_error {
    width: 50px;
    height: 50px;
    position: absolute;
    margin: 25px;
} 

.upload_cancel {
position: absolute;
    margin-left: 83px;
    font-size: 20px;
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 12px;
    margin-top: 3px;
    z-index: 1;
} 

.upload_cancel:hover {
    border: 1px solid #555555 !important;   
}

.upload_preview {
    height: 100px !important;
    width: 100px !important;
    min-height: 100px !important;
    min-width: 100px !important;
    max-height: 100px !important;
    max-width: 100px !important;
}


.timeline_url_attachment {
    background-color: #fff;
}

.timeline_attachments_infos {
    /*margin-top: -10px;*/
}

.url_attachment_preview {
    max-height: 300px;
    overflow: hidden;
}

.url_attachment_preview img {
    width: 100%;
}

.url_attachment_title {
    font-size: 20px;
    line-height: 25px;
    margin: 10px;
}


.url_attachment_title a,
.url_attachment_title a:visited,
.url_attachment_title a:active
{
    /*color: #e9372f;*/    
}

.url_attachment_title a:hover {
    text-decoration: none;
}


.url_attachment_detail {
    margin: 10px;
}

.url_attachment_domain {
    text-transform: uppercase;
    margin: 10px;
    color: #c3bcbc;
}


@media (max-device-width : 480px) {
     
    .addPost_block .timeline_footer > button {
        
        width: 40px;
    }
    #addPost #addPost-cts {

        font-size: 15px;
    }
    
    .timeline_block {
        padding: 0px;
        /*margin: 20px 0px;*/
        border-left: 0px;
        border-right: 0px;
    }
    .timeline_attachments,
    .timeline_attachments_infos,
    .timeline_attachments .attachment {
        padding: 0px;
    }

}

/* Mobile / Tablet */
@media (max-device-width : 767px) { 
     
    .timeline_footer > button:hover {
        background: transparent !important;
    }
    
    .timeline_header .post_options {
        width: 26px;
        height: 35px;
        right: -10px;   
    }
    
    .timeline_header .post_options .dropdown-toggle {  
        display: block;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 19px;
    }
    
    .comment_line .comment_options .dropdown-toggle {  
        display: block;
    }
}

/* PC */
@media (min-device-width : 768px) { 
     
    .timeline_footer > button:hover {
        /* background: transparent !important; */
    }

    .timeline_footer button:hover .glyphicon-share-alt {
        color: #e9372f;
    }

    .timeline_footer button:hover .glyphicon-comment {
        color: #0e97d6;
    }

    .timeline_footer button:hover .glyphicon-heart {
        color: #F60000;
    }
}