/*------------------------------------------------------------------
[# WordPress Styles]
-------------------------------------------------------------------*/
.bypostauthor, .sticky { } // Prevent debug notice

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.floatleftcenter {
    float: none;
    margin: 0 auto;
}

.floatleft {
    float: left
}

.floatright {
    float: right
}

.wp-caption {
    text-align: center;
    max-width: 100%;
    border: 1px solid #eee;
    text-align: center;
    background-color: #fff;
    padding: 8px;
}

div.wp-caption.aligncenter {
    margin-bottom: $elements__bottom-margin; // Blogger import fix
}

.wp-caption img {
    display: block;
    margin: 0 auto;
    padding: 0;
    border: 0 none;
}

.wp-caption p.wp-caption-text {
    font-size: 0.875em;
    padding: 10px 0 0;
    margin: 0;
    text-align: center;
}

.wp-caption.alignnone {
    margin-bottom: $elements__bottom-margin;
}

.wp-smiley {
    margin: 0;
    max-height: 1em;
}

#img-attch-page {
    text-align: center;
    overflow: hidden;
}

#img-attch-page img {
    display: inline-block;
    margin: 0 auto;
    max-width: 100%;
    margin-bottom: $elements__bottom-margin;
}

.post-password-form label,
.post-password-form input {
    display: block;
    float: none;
}

.post-password-form input {
    margin-top: 10px;
}

.post-password-form input[type="password"] {
    width: 200px;
    max-width: 100%;
}

.post-password-form label {
    font-weight: 600;
    color: #000;
}

form.login {
    padding: 20px;
    border: 1px solid $borders__color-light;
}

form.login .lost_password {
    margin-left: 20px;
    display: inline-block;
}

.wpstats {
    display: none // Hide Jetpack smiley face
}


/* WordPress Gallery */
#wrap .wpex-gallery p {
    margin: 0;
}

#wrap .gallery-item img {
    display: block;
    border: none;
    width: 100%;
    @include box-shadow-fix;
}

.gallery-item img:hover {
    @include opacity( $images__hover-opacity );
}

.gallery-caption {
    font-size: 0.923em;
    background: #f7f7f7;
    border: 1px solid $borders__color;
    border-top: none;
    text-align: center;
    padding: 5px 10px;
}

.entry .wpex-gallery.gap-1 {
    margin-bottom: 19px;
}

.entry .wpex-gallery.gap-10 {
    margin-bottom: 10px;
}

.entry .wpex-gallery.gap-15 {
    margin-bottom: 5px;
}
