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

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

* {
	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;
	font-size: 16px;
}

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(--link-color);
}

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

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

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.1rem;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

.left {
	float: left;
}

.qoo
{
	display: inline-block;
	padding: 2px 8px;
	background: blue;
	color: #fff;
	text-transform: uppercase;
	font-size: 10px;
	margin: 0px 0px 5px 0px;
	border-radius: 4px;
}

.flex {
	display: flex;
	align-items: center;
	align-content: space-between;
}

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

.header {
	background: var(--header-background);
	padding: 15px 0;
	border-bottom: solid 3px purple;
}

.header .logo img {
	display: block;
	max-height: 2rem;
	max-width: 100%;
	height: 20px;
}

.header .navigation {
	text-align: right;
	padding-left: 35px;
	flex: 1;
}

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

.header .navigation a {
	font-size: 0.9rem;
	font-weight: 400;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	font-family: var(--title-font-family);
	transition-duration: 0.3s;
}

.header .navigation a:hover {
	text-decoration: underline;
	color: #fff;
}

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

/* --- */

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

.main-nav li {
	position: relative;
}

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

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

.main-nav .sub-menu a {
	padding: 10px 25px;
	display: block;
}

.main-nav .sub-menu a:hover {
	background: #eee;
}

/* --- */

.main {
	padding: 25px 0;
}

.home .main {
	padding: inherit;
}

.content {
	flex: 1;
}

.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: 50px 0;
	transition-duration: 0.3s;
}

.block-banner {
	background-size: cover;
	background: url("https://tamarachavalle.com/wp-content/uploads/2024/07/bg.jpg") no-repeat center center;
}

.block-banner .book-cover {
	position: relative;
	max-width: 100%;
	margin-bottom: 10px;
}

.block-banner .book-cover .csoon {
	position: absolute;
	bottom: -20px;
	right: -25px;
	left: 130px;
	background: blue;
	border-radius: var(--border-radius);
	color: #fff;
	text-transform: uppercase;
	font-size: 0.7rem;
	padding: 10px 10px 7px 10px;
}

.block-banner .book-cover img {
	display: block;
	max-width: 100%;
	border-radius: 6px;
	box-shadow: 10px 15px 25px 2px #999;
}

.block-banner .intro .excerpt {
	min-height: 100px;
	font-size: 0.9375rem;
}

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

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

.testimonials
{
	text-align: center;
}

.block-testimonials {
	text-align: center;
	background: url("../smart-author/images/quote.png") no-repeat top center;
	padding-top: 70px !important;
	margin-top: 25px;
}

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

.recent-posts .post h3 {
	font-weight: 100;
	margin-bottom: 5px !important;
}

.recent-posts .post p {
	opacity: 0.8;
}

.sample-chapter {
	background: #666 !important;
	color: #fff !important;
}

.book-content {
	margin-bottom: 25px;
	padding-bottom: 25px;
}

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

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

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

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

.cards .mat {
	width: 33.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%;
	border-radius: var(--border-radius);
}

.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;
}

.cards .details .excerpt {
	opacity: 0.8;
	font-size: 0.8rem;
}

.blog-title {
	font-size: 3rem;
}

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

.single-post .wrapper .content {
	max-width: 680px;
	margin: auto;
}


.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: 5px;
	line-height: 36px;
	width: 36px;
	background: #eee;
	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: 0.7rem;
	margin: 25px 0px 0px 0px;
}

.paypal-info {
	margin-top: 50px;
	border: solid 1px #ccc;
	padding: 25px;
	border-radius: var(--border-radius);
	font-size: 0.8rem;
}

.paypal-info img {
	max-height: 50px;
}

.order {
	padding: 15px;
	margin: 0px 0px 5px 0px;
	text-align: center;
	transition-duration: 0.3s;
	border-radius: var(--border-radius);
	background: #eee;
	font-size: 0.8rem;
}

.order span {
	font-weight: 700;
	font-size: 1rem;
}

.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: 1.5rem;
}

.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;
}


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 #ccc;
	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 {
	border-top: solid 1px #ccc;
	margin-top: 35px;
	padding-top: 35px;
}

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

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

.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 -15px 50px -15px;
}

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

.row .cover {
	width: 20%;
}

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

.row .description {
	width: 50%;
}

.row .meta {
	width: 30%;
}

input[name="update_cart"],
button[name="update_cart"],
.woocommerce table.cart .product-thumbnail {
	display: none !important;
}


.thanks {
	border-radius: var(--border-radius);
	padding: 25px 25px 15px 25px;
	margin-bottom: 35px;
	background: #e5fac4;
	font-size: 0.8rem;
}

.q-info {
	margin-bottom: 25px;
	font-size: 0.9rem;
}

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

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

.note {
	font-size: 0.75rem;
	margin-top: 5px;
	opacity: 0.7;
	font-weight: 700;
}

.shipping-label {
	font-size: 0.75rem;
	opacity: 0.5;
	display: inline-block;
	margin-right: 10px;
}

.payment-message {
	margin-top: 25px;
	border-left: solid 4px var(--secondary-color);
	padding-left: 10px;
	font-size: 0.8125rem;
	opacity: 0.8;
}

.go {
	border: none;
	color: var(--text-color);
	opacity: 0.5;
	cursor: pointer;
	font-family: var(--font-family);
	font-size: 2rem;
	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: 50px 0px;
	font-size: 0.8rem;
	color: #666;
	background: var(--footer-background);
	text-align: center;
}

.footer .navigation {
	text-align: center;
	margin: 35px 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);
	margin-bottom: 20px;
	font-size: 0.8125rem;
}

.payment-notice {
	border-left: solid 4px var(--secondary-color);
	padding-left: 10px;
	margin-bottom: 20px;
	font-size: 0.8125rem;
}

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

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

.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: 0.7rem;
	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: 0.7rem !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: 0.8rem;
	width: 100%;
	margin: 0px;
	margin-bottom: 10px;
}

.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: 0.8rem !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 */

.fly
{
	position: fixed;
	left: 25px;
	bottom: -5px;
	display: inline-block;
}

.pager {
	margin-bottom: 35px;
	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 {
	align-items: center;
}

.page-card .page-photo {
	width: 50%;
	order: 2;
}

.page-card .page-photo img {
	width: 100%;
	border-radius: var(--border-radius);
	display: block;
	margin: auto;
}

.page-card .page-content {
	width: 70%;
	padding-right: 35px;
}

.book-card {
	width: 100%;
	align-items: center;
	padding: 0px 30px;
}

.announcement
{
	padding: 5px 35px 35px 35px;
	border: solid 1px #ccc;
	border-radius: 4px;
	margin-bottom: 35px;
	margin-top: 75px;
}

.announcement img
{
	height: 120px;
	display: block;
	margin: auto;
	margin-top: -80px;
	background: #ffff;
	padding: 0px 35px;
}

.announcement span
{
	background: #67bd0b;
	display: inline-block;
	padding: 3px 6px;
	border-radius: 4px;
	color: #fff;
	font-size: 10px;
}

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

.book-extra {
	margin-top: 5px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .quantity .qty {
	border: solid 1px #ccc;
	padding: 10px;
	border-radius: var(--border-radius);
}

.add_to_cart_inline {
	border: none !important;
	padding: 0px !important;
	margin: 0px !important;
}

.ajax_add_to_cart {
	margin-left: 5px !important;
	background: var(--primary-color) !important;
	color: #fff !important;
	border-radius: var(--border-radius) !important;
}

.woocommerce ul.order_details li {
	padding-left: 15px !important;
}

.woocommerce-thankyou-order-received {
	background: #d6facb;
	padding: 10px 20px;
	border-radius: var(--border-radius);
	margin-bottom: 25px;
}

.woocommerce .woocommerce-customer-details address {
	padding: 15px !important;
	border-radius: var(--border-radius);
}

.wp-caption {
	max-width: 100%;
}

.wp-caption p {
	font-size: 0.8rem;
	color: #999;
	margin: -15px 0px 0px 25px 0px;
	text-align: center;
}

.page-title {
	font-weight: 400 !important;
}

::-webkit-scrollbar {
	width: 10px;
	height: 0px;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
	height: 0px;
	background-color: transparent;
}

::-webkit-scrollbar-track-piece {
	background-color: #ccc;
}

::-webkit-scrollbar-thumb:vertical {
	height: 0px;
	background-color: #999;
}

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

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

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

	.block {
		padding: 25px 0px;
	}

	.logo img,
	.block-banner .book-cover img,
	.row .cover img {
		margin: auto;
		margin-bottom: 25px;
	}

	.block-banner .book-cover,
	.block-banner .intro {
		padding: 0px;
		width: 100% !important;
		margin-bottom: 25px;
	}

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

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

	.content img {
		float: none;
		margin: auto !important;
		margin-bottom: 25px !important;
		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;
	}

	.row {
		margin: 0px !important;
	}

	.row .column {
		padding: 0px !important;
	}

	.cover-image {
		margin-bottom: 0px !important;
	}

	.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: 25px 0px 0px 0px !important;
	}
}