/* === Cards === */
.cards-list, .card .list-block {
    ul {
        background: none;
    }
    > ul {
        .hairline-remove(top);
        .hairline-remove(bottom);
    }
}
.card {
    background: #fff;
    box-shadow: 0 0.05rem 0.1rem rgba(0,0,0,0.3);
    margin: 0.5rem;
    position: relative;
    border-radius: 0.1rem;
    font-size: 0.7rem;
    .list-block, .content-block {
        margin: 0;
    }
    .row:not(.no-gutter) .col > & {
        margin-left: 0;
        margin-right: 0;
    }
}
.card-content {
    position: relative;
}
.card-content-inner {
    padding: 0.75rem;
    position: relative;
    > p:first-child {
        margin-top: 0;
    }
    > p:last-child {
        margin-bottom: 0;
    }
    > .list-block, >.content-block {
        margin: -0.75rem;
    }
}
.card-header, .card-footer {
    min-height: 2.2rem;
    position: relative;
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    .flexbox();
    .justify-content(space-between);
    .align-items(center);
    &[valign="top"] {
        .align-items(flex-start);
    }
    &[valign="bottom"] {
        .align-items(flex-end);
    }
    a.link {
        line-height: 2.2rem;
        height: 2.2rem;
        text-decoration: none;
        position: relative;
        margin-top: -0.5rem;
        margin-bottom: -0.5rem;
        .flexbox();
        .justify-content(flex-start);
        .align-items(center);
        transition-duration: 300ms;
        html:not(.watch-active-state) &:active, &.active-state {
            opacity: 0.3;
            transition-duration: 0ms;
        }
        i+span, i+i, span+i, span+span {
            margin-left: 0.35rem;
        }
        i.icon {
            display: block;
        }
    }
    a.icon-only {
        min-width: 2.2rem;
        .flexbox();
        .justify-content(center);
        .align-items(center);
        margin: 0;
    }
}
.card-header {
    border-radius: 0.1rem 0.1rem 0 0;
    font-size: 0.85rem;
    .hairline(bottom, #e1e1e1);
    .card-cover {
      width: 100%;
      display: block;
    }
    &.no-border {
        .hairline-remove(bottom);
    }
    &.no-padding {
      padding: 0;
    }
}
.card-footer {
    border-radius: 0 0 0.1rem 0.1rem;
    color: @color-text-secondary;
    .hairline(top, #e1e1e1);
    &.no-border {
        .hairline-remove(top);
    }

}

.facebook-card{
    .card-header {
        display: block;
        padding: 0.5rem;
    }
    .facebook-avatar {
        float: left;
    }
    .facebook-name {
        margin-left: 2.2rem;
        font-size: 0.7rem;
        font-weight: 500;
    }
    .facebook-date {
        margin-left: 2.2rem;
        font-size: 0.65rem;
        color: @color-text-secondary;
    }
    .card-footer {
        background: #fafafa;
    }
    .card-footer{ 
        a {
            color: @color-text-secondary;
            font-weight: 500;
        }
    }
    .card-content {
        img {
            display: block;
        }
    }
    .card-content-inner {
        padding: 0.75rem 0.5rem;
    } 
} 
