/* WordPress Image Alignment Styles */
/* Image Alignment Classes */
.alignleft,
img.alignleft {
    float: left !important;
    margin: 0 1.5em 1.5em 0 !important;
    display: inline !important;
}

.alignright,
img.alignright {
    float: right !important;
    margin: 0 0 1.5em 1.5em !important;
    display: inline !important;
}

.aligncenter,
img.aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important; 
    clear: both !important;
}

.alignnone,
img.alignnone {
    display: block !important;
    margin: 1.5em 0 !important;
}

/* WordPress Caption Styles */
.wp-caption {
    max-width: 100% !important;
    margin: 1.5em 0 !important;
    text-align: center !important;
}

.wp-caption img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.wp-caption-text,
.wp-caption p.wp-caption-text {
    font-size: 0.9em !important;
    line-height: 1.4 !important;
    margin: 0.5em 0 0 !important;
    padding: 0.5em !important;
    color: #666 !important;
    font-style: italic !important;
}

.wp-caption.alignleft {
    margin-right: 1.5em !important;
}

.wp-caption.alignright {
    margin-left: 1.5em !important;
}

.wp-caption.aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* WordPress Image Size Classes */
.size-full {
    max-width: 100% !important;
    height: auto !important;
}

.size-large {
    max-width: 100% !important;
    height: auto !important;
}

.size-medium {
    max-width: 100% !important;
    height: auto !important;
}

.size-thumbnail {
    max-width: 100% !important;
    height: auto !important;
}

/* WordPress Gallery Styles */
.gallery {
    margin: 1.5em 0 !important;
    clear: both !important;
}

.gallery-item {
    float: left !important;
    margin: 0 1em 1em 0 !important;
    text-align: center !important;
}

.gallery-item img {
    border: 2px solid #cfcfcf !important;
}

.gallery-caption {
    font-size: 0.9em !important;
    color: #666 !important;
    margin-top: 0.5em !important;
}

/* Clear floats */
.clear,
.clearfix {
    clear: both !important;
}

/* WordPress Blockquote Styles */
blockquote {
    margin: 1.5em 0 !important;
    padding: 0.5em 1em !important;
    border-left: 4px solid #ddd !important; 
    font-style: italic !important;
}

blockquote cite {
    display: block !important;
    margin-top: 0.5em !important;
    font-style: normal !important;
}

/* WordPress Entry Content Styles */
.entry-content,
.storycontent,
.pedigree_skin {
    line-height: 1.6 !important;
}

.entry-content img,
.storycontent img,
.pedigree_skin img {
    max-width: 100% !important;
    height: auto !important;
}

.entry-content p,
.storycontent p,
.pedigree_skin p {
    margin: 1em 0 !important;
}

.entry-content ul,
.storycontent ul,
.pedigree_skin ul {
    margin: 1em 0 !important;
    padding-left: 2em !important;
    list-style-type: disc !important;
}

.entry-content ol,
.storycontent ol,
.pedigree_skin ol {
    margin: 1em 0 !important;
    padding-left: 2em !important;
    list-style-type: decimal !important;
}

.entry-content li,
.storycontent li,
.pedigree_skin li {
    margin: 0.5em 0 !important;
}

/* Responsive Image Styles */
@media (max-width: 768px) {

    .alignleft,
    .alignright,
    img.alignleft,
    img.alignright {
        float: none !important;
        display: block !important;
        margin: 1em auto !important;
    }

    .wp-caption.alignleft,
    .wp-caption.alignright {
        float: none !important;
        margin: 1em auto !important;
    }
}

/* WordPress Post Classes */
.post {
    margin-bottom: 2em !important;
}

.storytitle {
    margin-bottom: 1em !important; 
}

.storycontent {
    margin-top: 1em !important;
}
.entry-content span {
    display: block;
    margin-bottom: 15px;
}

