/*
 Theme Name:   Wellred Books
 Theme URI:    
 Description:  
 Author:       JS
 Author URI:   
 Template:     twentyfifteen
 Version:      1.0.0
 Tags:         
 Text Domain:  wellred-books
*/

/* Import parent style */
@import "parent-style.css";

@media screen and (min-width: 59.6875em) {
    .site-footer {
	margin: 0 0 0 29.4118%;
    }
}

/**
 * Header
 */


.dropdown-toggle::after {
    border-top: 0;
}

/* Make the header less tall on narrow devices */
@media screen and (max-width: 59.6875em) {
    .site-header {
	padding: 4.5454%;
    }
}
/*
@media screen and (max-width: 59.6875em){
    .custom-logo {
	float: left;
	padding-right: 64px;
    }
}
*/
.site-title {
    font-family: "adobe-garamond-pro", Garamond, serif;
    font-weight: 200;
    font-size: 2.1em;
}

.site-description {
    font-family: "adobe-garamond-pro", Garamond, serif;
    opacity: 1;
    font-size: 18px;
}

.site-description > figcaption {
    text-align: right;
    display: inline-block;4
}

.site-description > q {
    font-style: italic;
    quotes: unset;
}

.site-description > q::before {
    content: open-quote;
}
.site-description > q::after {
    content: close-quote;
}

@media screen and (min-width: 59.6875em) {
    .site-description > figcaption {
	display: block;
    }

    @media (max-height: 800px) {
	.site-header {
	    margin: 10% 0;
	}

	.main-navigation {
	    margin-bottom: 10%
	}
    }

    @media (max-height: 600px) {
	.site-description {
	    display: none;
	}
    }
}


@media screen and (min-width: 59.6875em) {
    .main-navigation ul, .main-navigation li, .secondary-toggle, .widget input, .widget textarea, .widget table, .widget th, .widget td, .widget pre, .widget li, .widget_categories .children, .widget_nav_menu .sub-menu, .widget_pages .children, .widget abbr[title] {
/*	border-color: rgba( 255, 255, 255, 1) !important; */
	border: none;
    }
}

.main-navigation {
    font-family: "adobe-garamond-pro", Garamond, serif;
    font-size: 1.2em;
    line-height: 0.7;
}

@media screen and (min-width: 59.6875em) {
    .main-navigation li > a {
	display: inline-block;
    }
}

.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
    font-style: italic;
}


/*
 *
 */

.hentry {
    margin: 4.5454%;
    padding-top: 0;
}

.hentry,
.page-header,
.page-content {
    box-shadow: none;
}

.entry-header,
.entry-content {
    padding: 0;
}

.entry-footer {
    background-color: white;
}

.site-main {
    padding: 0;
}



/* Wide screen */
@media screen and (min-width: 87.6875em) {
    /* Keep the same width of the sidebar background */
    body:before {
	width: 29.4118%;
    }
    
    /* Adjust the margin and make the content fill the remaining width */
    .site {
	margin: 0;
	margin-left: -webkit-calc(29.4118% - 413px);
	margin-left: calc(29.4118% - 413px);
	max-width: none;
    }
    /* Adjust the margins for the new sidebar width */
    .site-content, .site-footer {
	margin-left: 413px;
	width: -webkit-calc(100% - 413px);
	width: calc(100% - 413px);
    }
}

body {
    font-family: Roboto, Helvetica, sans-serif;
}

.page-title {
    font-family: Roboto, Helvetica, sans-serif;
}

.book .entry-meta {
    display: inline-block;
    color: #777;
    margin-bottom: 15px;
}

.book .entry-meta p {
    line-height: 1.2;
    margin-bottom: 0;
    display: inline-block;
}

@media screen and (min-width: 59.6875em) {
    .single-book .post-thumbnail {
	float: left;
	max-width: 45.4545%;
	padding-right: 4.5454%;
	margin-bottom: 2%;
    }
    
    .single-book .entry-header,
    .single-book .entry-content {
	width: 54.5454%;
	display: inline-block;
    }
}

.single-book .entry-title {
    margin-bottom: 0;
}

.book .button {
    background-color: #fb0404;
    color: white;
    bottom: 0;
    font-size: 12px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    padding: 12px;
    text-transform: capitalize;
    display: inline-block;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
}

.wp-block-post-title {
    padding-top: 5px;   
}

.book .entry-meta .nav-tabs {
    margin-left: 0;
    border: 0;
}

.book .entry-meta .tab-content > .active {
    display: flex;
    align-items: center;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-color: transparent;
}

.book .entry-meta .tab-content {
    padding: 10px;
}

.book .entry-meta .tab-content, .book .entry-meta .active {
    background-color: #eee;
}

.book .button:hover {
    background-color: #777;
    color: white;
}

.book .entry-meta p {
    font-size: 14px;
    padding-right: 24px;
}

.book .entry-author {
    font-weight: 400;
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 1.1538;
    margin-bottom: 0.9231em;
}

.book .entry-meta li {
    display: block;
}

a {
    border-bottom: 0 !important;
}

ul {
    margin-left: 1.3333em
}

.entry-content h1 {
    margin-top: 0;
}

.entry-content h2, .entry-header h2 {
    margin: 0;
}

.wp-block-query ul {
    margin-left: 0;
}

@media (max-width: 600px) {
    .wp-block-post-template.is-flex-container, .wp-block-query-loop.is-flex-container {
	justify-content: space-between;
    }
}

.wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
    max-width: calc(50% - 1em);
}

/* Hide the page header */
.page .entry-header {
    display: none;
}

.author-img {
    border-radius: 50%;
}


.page-header {
    padding: 0px;
    margin: 4.5454% 0%;
    display: inline-block;
    border: none;
}

@media screen and (min-width: 59.6875em) {
    .page-id-141 .hentry {
	margin: 4.5454% 10%;
    }

    .tax-book_author .page-header img, .tax-topic .page-header img {
	float:left;
	margin-right: 50px;
    }

    .tax-book_author .page-header .page-title, taxonomy-description, .tax-topic .page-header .page-title, taxonomy-description {
	display: inline-block;
    }
}

.wp-block-post-template.is-flex-container li .hentry {
    margin: 0;
}

@media screen and (min-width: 77.5em) {
    body,
    button,
    input,
    select,
    textarea {
	font-size: 18px;
	font-size: 1.8rem;
    }
}

@media screen and (max-width: 59.6875em) {
    .wp-block-post-template.is-flex-container {
	row-gap: 1.8em;
    }
    .taxonomy-description p {
	text-align: justify;
    }

    .page-header {
	text-align: center;
    }

    .page-title {
	text-align: left;
    }
}

.site-footer {
    border: none;
    box-shadow: none;
}

.page-title, .taxonomy-description {
    margin-left: 0;
}

.page-title {
    font-size: 54px;
    font-size: 5.4rem;
}


@media screen and (max-width: 46.25em) {
    .page-title {
	font-size: 44px;
	font-size: 4.4rem;
    }
}

.taxonomy-book_author {
    line-height: 1.25;
}

