/*
Theme Name:     Booknews theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Booknews.gr
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/
/* *,a, p, div, h1, h2, h3, h4, h5, h6, span{
	font-family: 'source-serif-4-display',serif;
} */

a, h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
	color:#000;
}

a:hover, h1 > a:hover, h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover, .td_module_wrap:hover .entry-title a {
	color:#3e3e3e;
}

body {
	counter-reset: my-sec-counter;
}

.td_block_wrap {
	margin: 20px 0 !important;
}

.td-header-main-menu {
	border-top: 1px solid #d2d2d2;
    border-bottom: 2px solid #000;
}

.sf-menu .td-menu-item > a {
	line-height: 12px;
    padding: 0 6px;
    font-size: 11px;
    margin: 10px 0;
}

.sf-menu .td-menu-item:not(:last-child) > a {
	border-right:1px solid #d2d2d2;
}

.header-search-wrap .td-icon-search {
	line-height: 12px;
    padding: 6px 6px;
}

.td-header-wrap .td-drop-down-search:after {
	background-color:#000;
}

.td-header-wrap .td-drop-down-search:before {
	border-color: transparent transparent #000 transparent;
}

.home-small-image-right:not(:last-child) {
	padding-bottom:20px;
	border-bottom:1px solid #d2d2d2;
}

.home-small-image-right img{
	width: 80px;
	float: right;
}
/* .home-top-row{
	display: flex !important;
} */

.home-top-row > div:nth-child(2) img {
	width:100%;
}

.home-top-row > div:nth-child(3) {
	border-left:1px solid #d2d2d2;
	border-right:1px solid #d2d2d2;
}

.home-top-row > div:nth-child(3) .td-module-image {
	height:initial;
}

.home-top-row > div:nth-child(3) .td-module-title {
	font-size: 21px;
	font-weight:400;
}


.home-latest-row .td_block_inner > div{
	padding: 0 0 20px;
	margin-bottom:20px;
}

.home-latest-row .td_block_inner > div:not(:last-child){
	border-bottom: 1px solid #d2d2d2;
}

.home-middle-row > div:not(:last-child) {
	border-right: 1px solid #d2d2d2;
}

.small-home-post .td-module-title{
	font-size: 15px;
}
.sf-menu > li > a {
    padding: 0 4px;
    font-size: 10px;
}
/* .sf-menu > li:hover > a {
	font-weight:900;
} */
.sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after {
	background-color:transparent;
}
.hidden{
    display: none;
}
.category-title a{
    background-color: #fff;
    color: #222;
}


.show-category .category-title.hidden{
    display: block;
}
.ad_container{
	text-align: center;
}
.ad_container>div{
	padding-top: 40px;
	padding-bottom: 40px;
}

#wbls-calendar {
	margin-bottom: 60px;
}

#wbls-calendar .g-interactive-headline{
	line-height: 22px;
    font-weight: 700;
    font-size: 21px;
}

#wbls-calendar .g-interactive-leadin{
    font-size: 16px;
}

#wbls-calendar .date{
    font-weight: 600;
	flex: 1 0 35%;
}

#wbls-calendar .event{
    color:#000;
}

#wbls-calendar a, #wbls-calendar a:hover{
	text-decoration: none !important;
    color: #000;
}

#wbls-calendar .add_calendar {
	padding: 0px 10px;
    background: #000;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-left: 15px;
	border:1px solid #000;
}

#wbls-calendar a:hover .add_calendar{
	background: #fff;
	 color: #000;
	border:1px solid #000;
}

#wbls-calendar #promo-button-holder p{
	display:flex;
}

#wbls-calendar-post {
	display: flex;
    flex-direction: column;
	background:#f1f1f1;
	padding:15px;
}

#wbls-calendar-post .interactive-caption {
	display: flex;
    flex-direction: column;
}

#wbls-calendar-post .g-interactive-headline {
	margin: 0 0 15px 0;
}

#wbls-calendar-post .g-interactive-leadin {
	margin: 0;
}

#wbls-calendar-post .calendar-container {
	display: flex;
    flex-direction: column;
    color: #fff;
}

#wbls-calendar-post #promo-button-holder {
	display: flex;
    flex-direction: column;
    margin-top: 20px;
}

#wbls-calendar-post a {
	background: #000;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 16px;
	border: 1px solid #000;
	text-decoration:none !important;
}

#wbls-calendar-post a:hover {
	background: #fff;
    color: #000;
	border: 1px solid #000;
	text-decoration:none !important;
}

.hide-author .td-post-author-name{
	display:none;
}

.vertical_image_post .td-module-thumb{
	display: contents;
}
.vertical_image_post .td-module-thumb img{
	width: 100%;
	object-fit: contain;
	height: 100%;
	margin: auto 0;
	position: unset;
}

#wbls-popular-posts #popular-posts-holder .popular-post{
	display: flex;
	margin-top: 10px;
	margin-bottom: 10px;
}

#wbls-popular-posts #popular-posts-holder .popular-post .image-container{
	width: 100px;
    float: left;
}
#wbls-popular-posts #popular-posts-holder .popular-post .image-container .image-parent{
	width: 100%;
	height: 0;
	padding-top: calc((3/4) * 100%);
	position: relative;
}
#wbls-popular-posts #popular-posts-holder .popular-post .image-container .image-parent img{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}
#wbls-popular-posts #popular-posts-holder .popular-post .post-content{
	width: calc(100% - 120px);
    float: left;
    padding-left: 20px;
}

.td-post-category:hover {
	background-color: transparent;
}

.bestseller-post {
	display: flex;
	margin-bottom: 15px;
}

.wbls-bestseller-content {
	margin-left: 70px;
	width: 80%;
	min-height: 70px;
	text-align: left;
}

.wbls-bestseller-content img {
	max-height: 70px;
	object-fit: contain;
	width: 100%;
}

.wbls-bestseller-content a {
	display: flex;
}

.wbls-bestseller-content .image-container {
	display: flex;
	max-width: 100px;
	flex-direction: column;
	width: 100%;
	min-width: 100px;
	align-items: center;
	align-self: center;
}

.wbls-bestseller-content .post-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
}

.wbls-bestseller-content .post-title {
	padding-left: 15px;
}

.wblscounter {
	display: flex;
	align-self: center;
	font-size: 40px;
	justify-content: center;
	width: 5%;
	color: #8e8e8e;
	left: 30px;
	position: relative;
}

.wblscounter::before {
	z-index: 99;
	counter-increment: my-sec-counter;
	content: counter(my-sec-counter);
}

@media screen and (max-width:767px){
	
	.header-search-wrap .td-icon-search {
		line-height: 48px;
	}
	
	.home-top-row > div:nth-child(3) {
		border-left:none;
		border-right:none;
	}
	
	.home-top-row > div:nth-child(3) .td-module-image {
		height:auto;
	}
	
	.home-middle-row > div:not(:last-child) {
		border-right: none;
	}
	
	.home-middle-row  div > div:first-child, .home-top2-row div > div:first-child{
		margin-right: 5px;
	}
	
	.home-middle-row  div > div:nth-child(2), .home-top2-row div > div:nth-child(2){
		margin-left: 5px;
	}
	
	.small-home-post .td-module-title {
		font-size:21px;
	}
	
	.wplp_container.default .title {
		font-size:21px !important;
	}
}