/*
Theme Name: Nicola Whyte
Theme URI: https://ghostlimited.com
Author: Nicola Whyte
Author URI: https://ghostlimited.com
Description: This theme has been written with specifically by and for Nicola Whyte.
License: This theme is the intellectual property of Ghost (Digital) Limited. It may not be resold or passed on to any third parties.
Version: 1.0
*/

@import 'css/nav.css';
@import 'css/contact-form.css';
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');

body { font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.6em; }
h1 { font-family: 'Libre Baskerville', serif; font-size: 40px; }
h2 { font-family: 'Libre Baskerville', serif; font-size: 26px; }
h3 { font-family: 'Libre Baskerville', serif; font-size: 22px; }
h4 { }
h5 { }
h6 { }

/* Home */
#home-content.site-content { padding-top: 2.5em; }
#book, #author, #reviews { padding: 0; margin: 0; }
#author { background: #fafafa; }
.section-title { font-family: 'Montserrat', sans-serif; font-size: 18px; text-transform: uppercase; margin-bottom: 1em; font-weight: bold; color: #7da6da; }
#book-content { padding-left: 1em; }
#book-content h2 { font-family: 'Libre Baskerville', serif; font-size: 36px; margin-top: 0; }
#home-book { padding: 0 50px 50px 50px; }
#home-book img { /*box-shadow: -webkit-box-shadow: 15px 15px 5px -10px rgba(153,153,153,1); -moz-box-shadow: 15px 15px 5px -10px rgba(153,153,153,1); box-shadow: 15px 15px 5px -10px rgba(153,153,153,1);*/ }
#author-bio { padding: 2em; }
#author-bio h2 { font-family: 'Libre Baskerville', serif; font-size: 36px; margin-top: 0; }
#author-image { padding: 0 50px 0 50px; }
#author-image img { box-shadow: -webkit-box-shadow: 15px 15px 5px -10px rgba(153,153,153,1); -moz-box-shadow: 15px 15px 5px -10px rgba(153,153,153,1); box-shadow: 15px 15px 5px -10px rgba(153,153,153,1); }
#quote { background: #e0e4f3; padding: 3em 0 1em 0; text-align: center; }
q.quote-text { font-family: 'Libre Baskerville', serif; font-size: 26px; font-weight: bold; }
q::before { content: open-quote; font-family: 'Libre Baskerville', serif; font-size: 56px; font-weight: bold;  }
q::after { content: close-quote; font-family: 'Libre Baskerville', serif; font-size: 46px; font-weight: bold; line-height: 1.1em; }
p.attribution { margin-top: 1.1em; text-transform: uppercase; font-size: 16px; }

.button-container { text-align: center; }
a.button { display:inline-block; background-color: #94aedf; border: 3px solid #FFF; padding: 10px 20px 8px 20px; text-align: center; color: #FFF; letter-spacing: 2px; text-transform: uppercase; border-radius: 3px; }
a.button:hover { background-color: transparent; border: 3px solid #94aedf; padding: 10px 20px 8px 20px; text-align: center; color: #94aedf; text-decoration: none; border-radius: 3px; }

/* Socials */
#socials { justify-content: center; margin: 0; padding: 2em 0 2em 0; }
#author #socials { background: #fafafa; }
#socials .icon { margin: 0 10px 0 10px; }
#socials .icon img { box-shadow: none; max-width: 50px; }
#book-row { background: #e0e4f3; padding: 30px; }
#book-row .book-home { margin: 10px; }
#book-row .book-home img { max-width: 150px; }

/* Content */
h1.page-title { border-bottom: 1px solid #000; margin-bottom: 1em; font-family: 'Libre Baskerville', serif; } 
#content { min-height: 100vh; }
#content.site-content { min-height: 100vh; padding-top: 2.75rem; padding-bottom: 0;  }
.content-inner { margin-top: 2em; margin-bottom: 3em; }
img {}
.wp-caption-text { font-size: 14px !important; }
blockquote span.quote { font-size: 26px; font-style: italic; line-height: 1.8; }

/* Books */
#books .book { margin-bottom: 1em; }
#books .book-cover { padding: 20px; margin-top: 25px; }
#books .book-details { padding: 20px; }
#books .book-details h2 { margin-bottom: 0; }
#books .book-details p.pub { text-transform: uppercase; font-size: 16px; margin-bottom: 1em; }

/* Press & News */
#press { padding-bottom: 3rem; }
.press-item { flex: 1 0 30%; margin:0 0 .5rem .5rem; background-color: #eaeaea; padding: 2rem 1rem 1rem 1rem; }
.press-item #press-quote { font-size: 22px; line-height: 1.4; text-align: center; }
.press-item #press-logo { text-align: center; margin-bottom: 2rem;}
.press-item #press-logo img { max-height: 125px; }
.press-item .press-read-more { width: fit-content; margin: 0 auto; background-color: #bababa; padding: 1rem 2rem; color: #FFF; letter-spacing: 2px; }
.press-item .press-read-more:hover { background-color: #ccc; color: #FFF;  }
.press-item a:hover { text-decoration: none; }
#news { padding-top: 1rem; }
.news-item { flex: 1 0 45%; margin:0 0 1rem 1rem; border: 5px solid #efefef; box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; padding: 2em 1em 2em 1em; }
.thumb img { max-height: 50px; width: auto; margin: 0 auto; box-shadow: none; }
.news-item h2 { font-size: 24px; font-weight: 500; text-align: center; margin-top: 1.5em; }
.date { color: #999; text-align: right; font-size: 12px; } 
.category { color: #999; font-size: 12px;} 
.read-more { color: #000; text-decoration: none; border-top: 1px solid #000; border-bottom: 1px solid #000; text-transform: uppercase; text-align: center; padding: 0.5em 0 0.5em 0; font-size: 16px; background: #FFF; }
.read-more a { color: #000; }
.read-more a:hover { color: #000; text-decoration: none; background-color: #a9ceca; text-decoration: none; cursor: pointer; -webkit-transition: background-color 3s ease-out; -moz-transition: background-color 3s ease-out; -o-transition: background-color 3s ease-out; transition: background-color 3s ease-out; }
.entry-meta { margin: 0 0 1em 0; text-transform: uppercase; font-size: 14px; }
.thumb-placeholder { background-color: #d5bece; }
#pagination { margin-top: 4rem; margin-bottom: 2rem; padding: 0; }
.page-left { padding: 0; text-align: left; }
.page-right { padding: 0; text-align: right; }

/* Articles/Blog */
#sidebar { margin-top: 130px; padding: 20px 0 20px 30px; margin-bottom: 50px; }
#sidebar .widget { font-size: 18px; }
h2 a { color: #000000; }
.post-more a { color: #0056b3; }
h2 a:active, .post-more a:active { color: #0056b3; text-decoration: underline; }
.article.row { padding-bottom: 20px; border-bottom: 1px solid #eaeaea; margin-bottom: 20px; } 
#pagination { display: flex; justify-content: center; }
.page-link { color: #0056b3; background-color: #fff; border: 1px solid #dee2e6; }
.page-item.active .page-link { z-index: 1; color: #fff; background-color: #0056b3; border-color: #0056b3; }
.page-link:hover { z-index: 2; color: #0056b3; text-decoration: none; background-color: #e9ecef; border-color: #dee2e6; }

/* Contact */
nf-field input { padding: 15px; }

/* Footer */
.site-footer { background-color: #000b33; color: #FFF; padding: 50px 0 35px 0; /*background: url("/wp-content/themes/nwhyte-ghostpress/images/marchfield-roof.png") repeat-x;*/ }
footer#colophon { font-size: 16px; font-family: 'Montserrat', sans-serif; margin: 0; }
footer .widget { margin: 0; padding-top: 20px; }
footer .widget ul.menu { margin: 0;}
footer .widget_nav_menu .menu-main-menu-container { display: -ms-flexbox !important; display: flex !important; flex-basis: auto; }
footer .widget_nav_menu .menu-main-menu-container ul.menu { list-style: none; -ms-flex-direction: row; flex-direction: row; }
footer .widget_nav_menu .menu-main-menu-container ul.menu li { border-right: 1px solid #FFF; display: inline; padding: 0 10px 0 10px; text-transform: uppercase; font-size: 16px;}
footer .widget_nav_menu .menu-main-menu-container ul.menu li:last-child { border-right: none; }
footer .footer-logo { height: 60px; float: right; margin-right: 50px; }
footer #privacy { text-align: right; }


/*****************************************************
 Bootstrap Breakpoints (For Reference)
 *****************************************************/

/* 13" Macbook screen and up */
@media (min-width: 1281px) {

}

/* 13" Macbook screen width and down */
@media (max-width: 1280px) {

}


/* Large tablets (992px and down) = LG */
@media (max-width: 992px) {
}


/* Small tablets/large phones (768px and down) = MD */
@media (max-width: 768px) {
	.home-picture img { margin-top: 10px; }
	#sidebar { margin-top: 10px; }
}


/* Very small devices (phones, 576px and down) = XS */
@media (max-width: 576px) {
	.content-inner { margin-top: 3em; }
	.home-picture img { margin-top: 10px; }
	#books .book .h2 { margin-top: 10px; margin-bottom: 10px; }
	#books .book-cover img { margin-top: 30px; }
	#books .book-details { padding: 0; }
	#sidebar { display: hide; }
}