/**
 * FV Community News Styles
 *
 * @author Frank Verhoeven <hi@frankverhoeven.me>
 */

.fvcn-post-form-new-post label {
    display: block;
    margin: 5px 0 3px;
}

.fvcn-post-thumbnail {
    float: left;
    padding: 0;
    margin: 0.3em 10px 0 0;
    display: block;
}

.fvcn-post-content, .fvcn-post-meta {
    margin: 0 !important;
    width: 100% !important;
}

.fvcn-list-posts-widget .fvcn-post-thumbnail {
    margin: 0.4em 5px 0 0;
}

.fvcn-list-posts-widget .fvcn-post-content:after {
    clear: both;
    content: " ";
    display: table;
}

.fvcn-view-all {
    text-align: right;
}

.fvcn-post-link {}

.fvcn-like-form {
    display: inline-block;
}

.fvcn-like-button,
.fvcn-unlike-button {
    border: none;
    background: transparent !important;
    cursor: pointer;
    padding: 0;
    color: #000;
}

.fvcn-like-button svg {
    color: #000;
}

.fvcn-unlike-button svg,
.fvcn-like-button:hover svg {
    color: #c55;
}


/**
 * Notices
 *
 */
.fvcn-template-notice {
    padding: .1em .4em !important;
    margin: 5px 0 !important;
    border-radius: 4px;
    background-color: #ffffe0;
    border: 1px solid #e6db55;
    color: #000;
    clear: both;
    box-shadow: 0 1px 1px #fff inset;
}

.fvcn-template-notice.error {
    background-color: #ffebe8;
    border-color: #e39387;
}

.fvcn-template-notice li {
    list-style: none !important;
    color: #000 !important;
    font-size: .8em !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}


/**
 * Form
 *
 */
.fvcn_form_widget .fvcn-post-form input[type="text"],
.fvcn_form_widget .fvcn-post-form input[type="file"],
.fvcn_form_widget .fvcn-post-form textarea {
    width: 100%;
}

.fvcn-post-form-loader {
    margin-top: 1.5em;
    margin-left: .5em;
    display: none;
}

.fvcn-post-form-loader-img {
    width: 1em;
    height: 1em;
    overflow: hidden;
    -webkit-animation: spin 1.5s linear infinite;
    -moz-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
