/*
 Theme Name:   Twenty Seventeen Child
 Theme URI:    https://wordpress.org/themes/twentyseventeen/
 Description:  Twenty Seventeen Child Theme
 Author:       Nick Pap
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  twenty-seventeen-child
*/

.single-book-meta {
    margin-bottom: 20px;
}


.single-book-meta {
    margin-bottom: 20px;
}

.single-book-meta .row .label {
    font-weight: bold;
    margin-right: 4px;
}

.single-book-meta .row .value {
    font-weight: normal;
}

.single-book-meta .row {
    padding: 0;
    margin: 0;
}

.single-book-meta .row a {
    color: #b37400 !important;
}

.single-book-meta .row a:hover {
    text-decoration: underline;
}

.single-book-meta .title {
    margin-bottom: 10px;
}

.single-book .page-header-image-single {
    display: none !important;
}

.block h2 a {
    color: #b37400;
}

/* Buy button */
div.image-container {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

div.image-container .buy-btn {
    padding-left: 10px;
    max-width: 240px;
}

div.image-container a {
    background-color: #B0833B;
    color: #fff;
    font-size: 12px;
    padding: 10px 10px 10px 54px;
    font-weight: bold;
    display: inline-block;
    background-image: url('img/govostis.png');
    background-repeat: no-repeat;
    border: 2px solid #B0833B;
    transition: all 200ms ease-in-out;
}

div.image-container a:hover {
    background-color: #444;
    color: #fff;
    border-color: #444;
}

div.image-container p {
    margin: 10px 0 0 0;
    line-height: 1em;
    font-size: 12px;
    font-style: italic;
}

.block h2 {
    margin-top: 40px;
}

.block .hentry h2 {
    margin-top: 0;
}

.block .more-btn {
    text-align: right;
}

.block .more-btn a {
    text-decoration: underline;
    font-size: 14px;
}

.block .more-btn a:hover {
    color: #b37400;
}

/* Grid */
.grid {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.grid .hentry {
    text-align: center;
    margin-bottom: 20px;
    width: calc(50% - 10px);
    padding-bottom: 10px !important;
}

.grid .hentry .entry-title {
    font-size: 15px;
}

.grid .hentry p {
    font-size: 12px;
    margin: 0;
}

.grid .post-thumbnail {
    margin: 0;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
}

.grid .post-thumbnail img {
    max-height: 200px;
    width: auto;
}

.grid .category {
    display: block;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    color: #B0833B;
}

.grid .category a {
    color: #B0833B;
}

.grid.cats .hentry {
    width: calc(25% - 10px);
}

.grid .hentry .author {
    font-size: 15px;
}

@media all and (max-width: 767px) {
    .grid.cats .hentry {
        width: calc(50% - 10px);
    }
}