/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

h1.entry-title {
	margin:0 0 40px 0;
}

/* home page
----------------------------------------*/
.home-review-author {
	padding: 10px 0 0 0;
	text-align: right;
	font-family: "Montserrat", Sans-serif;
	font-size: 18px;
	font-weight: 700;
	font-style: none;
}

/* book tabs
----------------------------------------*/

div.book-tabs{
	display:flex;
	padding:0;
	margin:0 0 25px 0;
	text-align:left;
	border-bottom:2px solid #442e5d;
	overflow:hidden;
}

div.book-tabs div {
	display:inline-block;
	padding:0;
	margin:0;
}

div.book-tabs div a{
	display:block;
	padding:10px;
	color:#333;
	background:#eee;
	text-decoration:none;
	font-size:14px;
	margin:0 5px 0 0;
	-moz-border-radius:5px 5px 0 0;
	-webkit-border-radius:5px 5px 0 0;
	-o-border-radius:5px 5px 0 0;
	border-radius:5px 5px 0 0;
	
}

div.book-tabs div a.active, div.book-tabs div a:hover{
	color:#fff;
	background:#333;
}

.book-tab-content{
	display:none;
}

.book-tab-content.active{
	display:block;
}

.book-data div {
	font-weight:bold;
	text-align:center;
}

.buy-links {
	text-align:center;
}

.buy-link-label {
	font-weight:bold;
}

.buy-links a {
	padding:5px 10px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	background:#eee;
	word-break: keep-all;
	margin:0 3px 6px;
	display:inline-block;
	color:#333;
}

.buy-links a:hover {
	color:#fff;
	background:#cc0000;
}

/* all books
----------------------------------------*/

.all-books {
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
}

/*grid
----------------------------------------*/

.all-books.grid .book {
	width:33.33%;
	padding:0 25px 50px;
	text-align:center;
	position:relative;
}

.all-books.grid .book .book-excerpt,
.all-books.grid .book .buy-links {
	display: none;
}



.all-books .book .book-title a {
	font-size:21px;
	padding:15px 0 0 0;
	color:#333;
	line-height:1.3em;
	display:inline-block;
}

.book-grid-series {
	font-size: 16px;
	color: #333;	
}

/* list
----------------------------------------*/

.all-books.list .book {
	width:100%;
	padding:0 0 25px;
	margin:0 0 25px;
	border-bottom:solid 1px #ccc;
	flex-direction: row;
	display:flex;
}

.all-books.list .book .book-img {
	 width: 200px;
   flex-shrink: 0;
}

.all-books.list .book .book-content {
	padding:0 50px;
}

.all-books.list .book .book-title a {
	font-size:28px;
	font-weight: bold;padding: 0;
	line-height:1.3em;
	display:inline-block;
}

.all-books.list .book .book-excerpt {
	padding:20px 0;
}

.all-books.list .buy-links {
	padding:10px 0 0 0;
	text-align:left;
}


/* book filters
----------------------------------------*/

.all-books-view {
	display:flex;
	align-items:center;
}

.all-books-view p.filter-title {
	padding:0 10px 0 0;
	margin:0;
	font-size:14px;
	text-transform:uppercase;
}

.sort-books {
	display:flex;
	align-items:center;
	padding:0 25px 0 0;
}

.sort-books select {
	padding-top:5px;
	padding-bottom:5px;
}

.view-books {
	display:flex;
	align-items:center;
	flex-direction:row;
}

.view-books .grid {
	display:flex;
	align-items:center;
	width:28px;
	flex-wrap:wrap;
	cursor: pointer;
}

.view-books .grid div {
	width:10px;
	height:10px;
	margin:2px;
	background:#ccc;
}

.view-books .grid.active div, .view-books .grid:hover div,
.view-books .list.active div, .view-books .list:hover div  {
	background:#333;
}

.view-books .list {
	display:flex;
	align-items:center;
	width:24px;
	height:24px;
	flex-wrap:wrap;
	flex-direction:column;
	justify-content:space-between;
	margin:0 0 0 8px;
	cursor: pointer;
}

.view-books .list div {
	height:5px;
	width:100%;
	background:#ccc;
}

a.book-grid-series {
	color:#cc0000;
	font-size:18px;
}

/* gallery
----------------------------------------*/
.gallery {
	display:flex;
	flex-wrap: wrap;
}

.gallery .gallery-item {
	flex-basis: 31.33%;
	margin:0 1% 25px;
	padding:0;
}

.series-books {
	display: flex;
	flex-wrap: wrap;
	gap:3%;
}

.series-books .series-book {
	width: 31.33%;
	padding: 0 0 25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.series-books .series-book .series-book-img img {
	width: 100%;
}

.series-books .series-book h3 {
	text-align:center;
	
}

.series-books .series-book h3 a{
	font-size: 18px;
	color:#333;
	line-height:1.2em;
	display: inline-block;
}
/* tablet
----------------------------------------*/
@media (max-width: 1024px) {
	
}

/* mobile
----------------------------------------*/
@media (max-width: 767px) {
	
	.all-books.grid .book {
		width:100%;
		padding:0 20px 30px;
	}
	
	.all-books-view {
		width:100%;
		justify-content:flex-start;
	}
	
	.all-books.list .book  {
		flex-direction: column;
	}
	
	.all-books.list .book .book-img {
		
		width:100%;
		background:#ccc;
	}
	
	.all-books.list .book .book-content {
    padding: 20px 0 0 0;
	}
	
	.gallery {
		display:flex;
		flex-wrap: wrap;
	}
	
	.gallery .gallery-item {
		flex-basis: 48%;
		margin:0 1% 25px;
		padding:0;
	}
	
	.series-books {
		display: flex;
		flex-wrap: wrap;
		gap:0%;
	}
	
	.series-books .series-book {
		width: 100%;
		justify-content: flex-start;
	}
	
}