﻿.activity-feed {
    list-style-type: none;
    margin: 25px 25px 25px 28px;
    padding: 0;
}

.activity-feed .feed-item {
    border-left: 2px solid #ddd;
    margin-bottom: 25px;
    min-height: 60px;
    padding-left: 35px;
    position: relative;
}

.activity-feed .feed-item:last-child { border-color: transparent; }

.activity-feed .feed-item:before {
    align-items: center;
    color: #999;
    content: attr(data-time);
    display: flex;
    font-size: 12px;
    justify-content: center;
    left: -50px;
    position: absolute;
    text-align: center;
    top: -22px;
    width: 100px;
}

.activity-feed .feed-item::after {
    -webkit-font-smoothing: antialiased;
    align-items: center;
    background-color: #ddd;
    background-image: attr(data-imageurl url);
    background-size: cover;
    border-radius: 50%;
    box-shadow: 0px 0px 6px #ccc;
    color: white;
    content: attr(data-content);
    display: flex;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 18px;
    height: 34px;
    justify-content: center;
    left: -17px;
    padding-top: 3px;
    position: absolute;
    text-rendering: auto;
    top: 0;
    width: 34px;
}

.activity-feed .feed-item section {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px #ccc;
    padding: 12px 15px;
}

.activity-feed .feed-item section:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.activity-feed .feed-item section a {
    color: #444c57;
    font-size: 16px;
    text-decoration: none;
}

.activity-feed .feed-item section a :hover { color: #444c57; }

.activity-feed .feed-item section label {
    display: block;
    margin: 0;
}

input[type="checkbox"] { /*display: none;*/ }

input[type="checkbox"]:checked ~ label:after {
    color: tomato;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked ~ .content {
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    max-height: 1000px;
    padding: 0 25px;
    padding-top: 10px;
    transition: max-height 0.25s ease-in;
}

.content {
    max-height: 0;
    overflow: hidden;
}

.content blockquote { position: relative; }

.content blockquote:before {
    border-left: 2px solid #e2c283;
    content: '';
    height: 100%;
    left: -25px;
    position: absolute;
    top: 0;
}

[data-color=red]:after { background-color: #ff5f5f !important; }

[data-color=blue]:after { background-color: #789fc7 !important; }

[data-color=green]:after { background-color: #46b798 !important; }

[data-color=yellow]:after { background-color: #e2c283 !important; }