/*
Theme Name: Theme
Theme URI: http://pelotok.net
Description : A sample child theme
Author: Pelotok Net
AuthorURI: http://pelotok.net
Template: twentyfourteen
Version: 1.0
*/
/* фикс отображения Gif Animation */
@media screen and (min-width: 401px) {
    .post-thumbnail .gapplayer-wrapper {
        margin: 0 auto;
    }
}

@media screen and (max-width: 400px) {
    body:not(.single) .site-content .gapplayer-wrapper {
        float: left;
        margin: 0px 10px 3px 0px;
    }

    .list-view .site-content .entry-meta {
        clear: both;
    }
}

#page {
    margin-left: auto;
    margin-right: auto;
}

.hentry .mejs-overlay-button:before,
.widget .mejs-overlay-button:before {
    position: relative;
}

.hentry .mejs-overlay-button,
.widget .mejs-overlay-button {
    margin: 0 auto;
}

.mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}

@media screen and (max-width: 400px) {
    .list-view .site-content .post-thumbnail img {
        width: auto !important;
    }
}

/* Add Guset Post in the header */

.add-post {
    background-color: #ff9900;
    cursor: pointer;
    float: right;
    height: 48px;
    margin-right: 0px;
    text-align: center;
    width: 48px;
    border-right: 1px solid;
}

.add-post:hover,
.add-post.active {
    background-color: #ffb61d;
    ;
}

.add-post:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    text-decoration: inherit;
    vertical-align: text-bottom;
    color: #2b2b2b;
    content: "\002B";
    font-size: 20px;
    margin-top: 11px;
}

@media print {
    .add-post {
        display: none;
    }
}

.site-title {
    max-width: -webkit-calc(100% - 135px);
    max-width: calc(100% - 135px);
}

label[for="user-submitted-image"] {
    display: none !important;
}

.yuzo_related_post .relatedthumb {
    height: 175px;
}

/************ Related Posts *************/
.related-posts-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}

@media (max-width: 500px) {
    .related-posts-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 320px) {
    .related-posts-list {
        grid-template-columns: 1fr;
    }
}

.related {
    border: 1px solid #ddd;
    text-decoration: none !important;
}

.related-image {
    height: 100px;
}

.related-post-title {
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 320px) {
    .related-image {
        height: 200px;
    }
}

.related-entry-header {
    padding: 5%;
    line-height: 15px;
}

.related-title {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 20px;
    font-family: futura bold, sans-serif;
    letter-spacing: 1px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 2px;
    display: inline-block;
}