/* CSS Custom Styles for Selectable Post and Page Widget
 *
 * This stylesheet contains commented selectors to help target the widget display.
 * create a new stylesheet in your theme and use wp_enqueue_style to load it.
 */

.spp-post-default {
    display: block;
    margin: 2px 0;
}
.spp-post-default .spp-post-image{
    float: left;
    overflow: hidden;
    padding-right: 8px;
}

.spp-post-default .spp-post-title{
    line-height: 1.28;
    word-wrap: break-word;
}

.spp-post-full .spp-post-image{
    float: left;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.spp-post-full img {
    max-width: 100%;
    max-height: 100%;
    height: inherit !important;
}

.spp-post-title, .spp-post-image{
    margin: 8px 0;
    padding-top: 0;
}

.spp-post-image:empty,
.spp-post-meta:empty,
.spp-post-date:empty,
.spp-post-content .read-more:empty{
    display: none;
}

.spp-post-content {
    display: block;
}

.spp-post-content p {
    display: block;
    margin: auto;
}

.spp-clearfix:before,
.spp-clearfix:after {
    content: " ";
    display: table;
}
.spp-clearfix:after {
    clear: both;
}

.spp-post-content .read-more {
    float: right;
    display: inline-block;
    margin: 0 0 6px; 
}

.spp-post-content .read-more a {
    color: inherit;
}
