/*!
Theme Name: Smart Author
Author: https://jarievertsz.com/
Description: A Minimal WordPress Theme for Book Authors.
Version: 0.0.92
*/

:root {
	--primary-color: #34bcf5;
	--secondary-color: #333;
	--text-color: #333;
	--font-family: "Roboto", serif;
	--title-font-family: "Oswald", sans-serif;
	--gray-color: #eee;
	--border-radius: 4px;
	--font-size: 16px;
	--line-height: 1.5;
	--body-background: #fff;
	--header-background: #fff;
	--card-background: #f9fcf4;
	--comment-background: #f9fcf4;
	--footer-background: #fff;
}

* {
	padding: 0px;
	margin: 0px;
	outline: none;
	background: none;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: none;
}

body {
	font-family: var(--font-family);
	font-size: var(--font-size);
	color: var(--text-color);
	line-height: var(--line-height);
	background: var(--body-background);
}

a {
	color: var(--secondary-color);
}

p, h1, h2, h3 {
	margin: 0px 0px 15px 0px;
}

h1, h2, h3 {
	font-family: var(--title-font-family);
	font-weight: 800;
}

h1 {
	font-size: 200%;
}

h2 {
	font-size: 160%;
}

h3 {
	font-size: 130%;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

.left {
	float: left;
}

.block-author .button
{
	background: #8a1726 !important;
}

.block-author h3
{
	display: none;
}

.flex {
	display: flex;
}

.cardw
{
	margin-top: 25px;
}

.wrapper {
	max-width: 840px;
	margin: auto;
}

.header {
	background: var(--header-background);
}

.header .logo {
	padding: 15px 15px 15px 0px;
}

.header .logo img {
	display: block;
	max-height: 16px;
	margin:auto;
}

.header .navigation {
	padding: 15px 0px 10px 20px;
	text-align: right;
	flex: 1;
}

.header .navigation ul {
	list-style: none;
}

.header .navigation a {
	font-size: 100%;
	font-weight: 100;
	text-transform: uppercase;
	text-decoration: none;
	font-family: var(--title-font-family);
	color: #666;
}

.header .navigation a:hover {
	text-decoration: underline;
	transition-duration: 0.3s;
}

.header .navigation .menu-item-has-children::after {
	content: "▾";
	display: inline-block;
	height: auto;
	opacity: 0.3;
}

/* --- */

.menu>li {
	display: inline-block;
	margin: 0px 20px;
}

.main-nav li {
	position: relative;
}

.main-nav ul ul {
	display: none;
	position: absolute;
	top: 25px;
	left: 0;
	z-index: 99999;
	background: #fff;
	width: 240px;
}

.main-nav ul li:hover>ul {
	display: block;
}

.main-nav .sub-menu a {
	padding: 12px 36px;
	display: block;
}

.main-nav .sub-menu a:hover {
	background: var(--gray-color);
}

/* --- */

.scroller {
	background: var(--secondary-color);
	color: #fff;
	padding: 10px 0px 5px 0px;
	font-size: 90%;
}

.scroller .scroller a {
	color: #fff;
}

/* --- */

.main {
	padding: 25px 0px;
}

.home .main {
	padding: inherit;
}

.content {
	flex: 1;
}

.narrow {
	max-width: 840px;
	margin: auto;
}

.content ul, .content ol {
	margin: 0px 0px 25px 25px;
}

.content li {
	margin-bottom: 5px;
}

.content img {
	display: inline-block;
	border-radius: var(--border-radius);
	margin: 0px 0px 0px 0px;
	max-width: 100%;
}

.block {
	padding: 35px 0px;
}

.block .wrapper {
	max-width: 840px;
}

.block-banner {
	padding: 50px 0px;
	background-color: #eef9fd;
	background-size: contain;
}

.block-banner .book-cover {
	margin-bottom: 15px;
	position: relative;
}

.block-banner .book-cover .csoon {
	position: absolute;
	top: -15px;
	right: 10px;
	background: #44dc09;
	border-radius: var(--border-radius);
	color: #fff;
	text-transform: uppercase;
	font-size: 80%;
	padding: 3px 12px;
}

.block-banner .book-cover img {
	display: block;
	max-width: 100%;
	margin-bottom: 0px;
	box-shadow: 7px 7px 2px 1px #ddd;
	border-radius: 6px;
}

.block-banner .intro .excerpt {
	min-height: 100px;
}

.block-banner .intro .buttons {
	margin: 25px -3px 0px -3px;
}

.block-banner .intro .buttons a {
	margin: 0px 3px;
}

.block-banner .intro .sample-chapter {
	background: var(--secondary-color);
	color: #fff;
}

.block-author
{
	background: #fcf1ee;
}

.block-testimonial {
	background: var(--card-background);
	transition-duration: 0.3s;
}

.block-testimonial .wrapper {
	text-align: center;
}

.block-testimonial .testimonials h3 {
	font-weight: 100;
	opacity: 0.7;
}

.block-testimonial .testimonials h3 strong {
	font-weight: 800;
}

.block-optin {
	padding: 15px 0px;
	background: var(--gray-color);
}

.block-recent-posts .wrapper
{
	background: #333;
	color: #fff;
	padding: 10px 15px;
	border-radius: var(--border-radius);
	margin-top: -60px;
}

.block-recent-posts a
{
	color: #fff;
}

.page-title {
	padding-bottom: 5px;
	border-bottom: solid 1px #ccc;
	margin-bottom: 25px;
}

.breadcrumb {
	text-transform: uppercase;
	font-size: 80%;
	opacity: 0.7;
}

.title {
	font-weight: 600;
}

.sub-title {
	font-weight: 100;
	text-transform: inherit;
	margin-top: -15px;
	opacity: 0.7;
	font-size: 18px;
}

.featured-photo {
	display: block;
	max-width: 100%;
	border-radius: var(--border-radius);
	margin-bottom: 15px !important;
}

.cards {
	margin: 50px -15px;
	flex-wrap: wrap;
}

.cards .mat {
	width: 33%;
	padding: 0px 15px 30px 15px;
}

.cards .card {
	display: block;
	background: var(--card-background);
	color: var(--text-color);
	text-decoration: none;
	transition-duration: 0.3s;
	height: 100%;
	box-shadow: 2px 2px 40px #ccc;
}

.cards .card:hover {
	margin-top: -5px;
}

.cards .featured-photo {
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	margin-bottom: 0px;
	padding-top: 56.25%;
	background-size: cover;
	background-position: center center;
	background-image: url("../smart-author/images/placeholder.png");
}

.cards .details {
	padding: 25px;
}

.cards .details .title {
	margin-bottom: 5px;
}

.block-recent-posts .excerpt {
	opacity: 0.8;
}

.blog-title {
	font-size: 400%;
}

.blog-description {
	margin-top: -25px;
	opacity: 0.6;
	font-weight: 100;
}


.tagnshare {
	margin: 35px 0px 5px 0px;
	width: 100%;
	align-items: center;
}

.tagnshare div {
	flex: 100%;
}

.tagnshare .share {
	text-align: right;
}

.tagnshare .share .sm {
	margin-left: 15px;
	line-height: 36px;
	width: 36px;
	background: var(--gray-color);
	color: #999;
	text-align: center;
	border-radius: var(--border-radius);
}

.published {
	display: inline-block;
	border-top: solid 1px var(--primary-color);
	padding-top: 15px;
	margin: 25px 0px 5px 0px;
	opacity: 0.5;
}

.published_on {
	opacity: 0.5;
	text-transform: uppercase;
	text-align: right;
	font-size: 80%;
	margin: 25px 0px 0px 0px;
}

.paypal-info
{
	margin-top: 100px;
	background: #003188;
	padding: 25px;
	border-radius: var(--border-radius);
}

.paypal-info img
{
	background: #fff;
	padding: 15px;
	border-radius: var(--border-radius);
}

.paypal-info a
{
	color: #fff;
}

.order {
	padding: 15px;
	margin: 0px 0px 5px 0px;
	text-align: center;
	transition-duration: 0.3s;
	border-radius: var(--border-radius);
	background: var(--gray-color);
}

.order span {
	font-weight: 700;
	font-size: 16px;
}

.empty-button {
	border: none;
	cursor: pointer;
}

.empty-button img
{
	border-radius: 20px;
	height: 40px;
}

.author {
	margin: 50px 0px 100px 0px;
}

.author h2 {
	opacity: 0.2;
	font-weight: 100;
}

.author h3 {
	font-weight: 800;
}

.author .description {
	margin: -10px 0px 20px 0px;
	opacity: 0.7;
}

.author img {
	width: 92px;
	border-radius: var(--border-radius);
	height: 92px;
	margin-right: 15px;
}

.follow .caption {
	opacity: 0.2;
	margin-bottom: 5px;
}

.follow .sm {
	font-size: 150%;
}

.follow a {
	margin-right: 15px;
	display: inline-block;
}

.follow a:last-child {
	margin-right: 0px;
}

.fa-facebook {
	color: #3b5998;
}

.fa-twitter {
	color: #1DA1F2;
}

.fa-linkedin {
	color: #0e76a8;
}

.fa-instagram {
	color: #8a3ab9;
}

.fa-youtube {
	color: #FF0000;
}

.youtube
{
	background-color: #fbeac9;
}

.youtube iframe
{
	border-radius: var(--border-radius);
}

.comments {
	margin: 50px 0px;
}

.comments h3 {
	display: inline-block;
	border-top: solid 1px var(--primary-color);
	padding-top: 15px;
}

.comments ol, .comments ul {
	list-style: none;
}

.comments li {
	margin-bottom: 15px;
}

.comments .vcard {
	display: flex;
	align-items: center;
	font-style: normal;
	margin-bottom: 5px;
}

.comments cite {
	margin-left: 5px;
	font-style: inherit;
}

.comments .says, .comments .nocomments {
	display: none;
}

.comments .comment-body {
	background: var(--comment-background);
	margin-bottom: 5px;
	padding: 15px 15px 40px 15px;
	border-radius: var(--border-radius);
	position: relative;
}

.comments .children {
	margin: 0px 0px 0px 50px;
}

.comments .avatar {
	border-radius: 50%;
}

.comments .commentmetadata {
	position: absolute;
	bottom: 15px;
	left: 15px;
}

.comments .comment-form-comment label {
	display: block;
}

.comments textarea, .comments input[type="text"] {
	width: 100%;
	display: block;
	border: solid 1px var(--gray-color);
	padding: 15px;
	font-family: var(--font-family);
	border-radius: var(--border-radius);
}

.comments input[type="text"] {
	padding: 8px 10px !important;
}

.comments .reply {
	position: absolute;
	right: 15px;
	bottom: 15px;
}

.alignright {
	float: right;
	margin: 0px 0px 15px 15px !important;
}

.alignleft {
	float: left;
	margin: 0px 15px 15px 0px !important;
}

.aligncenter {
	display: block;
	margin: 15px auto !important;
}

.sidebar {
	width: 30%;
	border-left: solid 1px var(--gray-color);
	padding-left: 50px;
	margin-left: 50px;
}

.sticky {
	top: 25px;
	position: sticky;
}

.sidebar .widget, .footer .widget {
	margin-bottom: 25px;
}

.sidebar .widget ul {
	margin: 0px 0px 25px 0px;
	list-style: none;
}

.sidebar .widget ul li {
	margin-bottom: 5px;
}

.sidebar .widget ul li::before {
	content: "→";
	margin-right: 5px;
	opacity: 0.5;
}

.row {
	margin: 0px -25px 50px -25px;
}

.row .column {
	margin-bottom: 35px;
	padding: 25px 15px;
}

.row .cover {
	width: 20%;
}

.row .cover img {
	max-width: 100%;
	display: block;
	border-radius: var(--border-radius);
}

.row .description {
	width: 55%;
}

.row .meta {
	width: 25%;
	font-size: 14px;
}

.thanks {
	border-radius: var(--border-radius);
	padding: 25px;
	border: solid 1px #c7ed8a;
	margin-bottom: 35px;
	background: #e5fac4;
}

.q-info
{
	margin-bottom: 25px;
}

.buy-now {
	margin: 35px 0px 0px 0px;
}

.buy-now .amazon {
	background: #ff9900;
}

.note {
	font-size: 90%;
	opacity: 0.9;
	margin-top: 5px;
}

.extra-markup {
	margin-top: 25px;
}

.go {
	border: none;
	color: var(--text-color);
	opacity: 0.5;
	cursor: pointer;
	font-family: var(--font-family);
	font-size: 200%;
	transition-duration: 0.3s;
	display: inline-block;
	margin: 0px 15px;
}

.go:hover {
	opacity: 1;
	color: var(--primary-color);
}

.stack {
	margin: 50px 0px 15px 0px;
}

.stack .item {
	margin-bottom: 35px;
}

.stack .item .testimonial-photo {
	border-radius: 50%;
	display: block;
	width: 44px;
	margin-right: 10px;
	height: 44px;
	background-size: cover;
	background-position: center center;
}

.stack .item .designation {
	margin-top: -15px;
	opacity: 0.6;
}

.stack .item .details {
	border-left: solid 3px var(--secondary-color);
	padding-left: 15px;
}

.footer {
	padding: 15px 50px 50px 0px;
	font-size: 90%;
	color: #666;
	background: var(--footer-background);
	border-top: solid 1px #ccc;
}

.home .footer
{
	border-top: none;
}

.footer .widgets {
	margin: 0px -25px;
}

.footer .widgets .column {
	padding: 0px 25px;
}

.footer .navigation {
	text-align: center;
	margin: 5px 0px 5px 0px;
}

.footer .navigation ul {
	list-style: none;
}

.footer .navigation ul li {
	display: inline-block;
	margin: 0px 5px;
}

.footer-text {
	opacity: 0.6;
	text-align: center;
}

.book-status {
	background: #f7f5b5;
	padding: 15px;
	border-radius: var(--border-radius);
	border: solid 1px #f1eb50;
	margin: 20px 0px;
}

.not-found {
	text-align: center;
}

.submit, .button, input[type="submit"] {
	display: inline-block;
	background: var(--primary-color);
	color: #fff;
	font-family: var(--title-font-family);
	padding: 10px 36px;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	border-radius: var(--border-radius);
	text-decoration: none;
	transition-duration: 0.3s;
}

.submit:hover, .button:hover, input[type="submit"]:hover {
	padding-right: 50px;
}

.opt-in {
	padding: 15px;
	text-align: center;
	margin: auto;
}

.opt-in input {
	margin: 0px 0px 5px 0px;
}

.opt-in input[type="text"], .opt-in input[type="email"] {
	padding: 10px 15px;
	border-radius: var(--border-radius);
	background: #fff;
	display: inline-block;
	min-width: 160px;
	border: solid 1px #ccc;
}

.opt-in .button {
	background: var(--secondary-color);
	padding: 0px 15px !important;
	border-radius: var(--border-radius);
	display: inline-block;
	line-height: 37px;
}

.review-cap {
	font-size: 13px;
	padding: 25px 25px 5px 25px;
	border-radius: 4px;
	margin-bottom: 25px;
	background: #eee;
}

/* CF 7 */

.wpcf7 {
	margin-top: 25px;
}

.wpcf7 label {
	font-weight: 700;
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: 12px !important;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	border: solid 1px #ccc;
	padding: 7px;
	border-radius: var(--border-radius);
	font-family: var(--font-family);
	font-size: 90%;
	width: 100%;
	margin: 0px;
	margin-bottom: 5px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 25px 0px !important;
	padding: 10px !important;
	border: none !important;
	background: #00a0d2;
	color: #fff;
	border-radius: var(--border-radius);
	font-size: 90% !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	background: #ffb900;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #46b450;
}

/* END of CF7 */

.pager {
	margin: 35px 0px;
	display: flex;
	width: 100%;
}

.pager .pager-info {
	line-height: 28px;
	flex: 1;
	color: #999;
	text-align: right;
	padding-right: 15px;
}

.pager .index {
	text-align: right;
}

.pager a, .pager span {
	display: none;
	text-decoration: none;
	color: #fff;
}

.pager .prev, .pager .next {
	display: inline-block;
	padding: 3px 12px;
	background: var(--primary-color);
	border-radius: 4px;
	font-weight: 700;
}

.page-card {
}

.page-card .page-photo
{
	max-width: 180px;
}

.page-card .page-photo img {
	max-width: 100%;
	border-radius: 8px;
	display: block;
	margin: 30px 0px;
}

.page-card .page-content {
	padding:25px 50px 25px 50px;
	flex: 1;
}

.book-card {
	width: 100%;
	align-items: center;
}

select
{
	display: inline-block;
	border: solid 1px #ccc;
	background: #fff;
	padding: 5px 10px;
	margin: auto;
	margin-bottom: 15px;
}

@media only screen and (max-width: 1010px) {
	.wrapper {
		width: auto !important;
		padding: 0px 25px;
	}

	.flex, .book-card {
		display: block !important;
	}

	.logo, .navigation, .block-banner .book-cover, .block-banner .intro {
		width: 100%;
	}

	.logo img, .block-banner .book-cover img, .row .cover img {
		margin: auto;
		margin-bottom: 25px;
	}
	
	.logo
	{
		padding-bottom: 0px !important;
	}
	
	.navigation
	{
		padding-top: 25px !important;
	}

	.block-banner .book-cover, .block-banner .intro {
		padding: 0px;
		width: 100%;
	}
	
	.page-card 
	{
		display: block !important;
	}

	.page-card .page-photo
	{
		width: 100%;
		background: #fff;
		padding-left: 0px;
		margin: auto;
	}

	.page-card .page-content
	{
		padding: 25px;
		width: 100%;
	}

	.content img
	{
		float: none;
		margin: auto !important;
		margin-bottom: 25px;
		display: block;
	}

	.page-card .page-photo img
	{
		margin: auto;
		border-top-left-radius: var(--border-radius);
		border-bottom-right-radius: 0px;
	}

	.header .navigation {
		padding-left: 0px;
		text-align: center;
	}

	.footer .widgets .column, .footer .widgets .column:first-child, .row .column, .cards .mat, .content {
		width: 100% !important;
		margin-bottom: 25px;
	}

	.sidebar {
		min-width: 100% !important;
		border-left: none;
		padding: 0px !important;
		margin: 0px !important;
	}
}