@import "../variables";

.sz-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: $border-radius;
    margin: 10px;
    background-color: $color-grey-100-light;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
    line-height: 1.25rem;
    font-size: $font-size;
}

.sz-card-header {
    display: block;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid lighten($color-grey-100-dark, $color-offset-percent);
    line-height: 1.5rem;
    font-weight: bolder;
}

.sz-card-header-ellipsis {
    display: inline-grid;

    .sz-card-header-container {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.sz-card-body {
    display: block;
    position: relative;
    padding: 1rem 1.25rem;
}

.sz-card-footer {
    display: block;
    padding: 1rem 1.25rem;
    border-top: 1px solid lighten($color-grey-100-dark, $color-offset-percent);
}
