/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Child theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        3.0.35
*/
@import url("../Divi/style.css");






/* =Theme customization starts here
------------------------------------------------------- */

#home-blog .post-content{
	/* max-width: 54%; */
}
#home-blog .et_pb_post{
	margin-bottom: 30px;
	background: none;
}

#home-blog .post-meta{
	display: block;
}
#home-blog .post-meta a{
	color: #8eb9a8;
	font-weight: bold;
}
#home-blog .entry-featured-image-url{
	height: 340px;
	background: no-repeat center center #eee;
	background-size: cover;
}
#home-blog .entry-featured-image-url img{
	display: none;
}

#right-blog article{
	padding: 16px;
}
.hr-book{
	clear: both;
	width: 100%;
	display: block;
	border: none;
	border-bottom: 1px solid #eee;
	margin: 0 0 26px 0;
	padding: 26px 0 0 0;
}
/*
.novelist-book-list {
    margin: 0 -25px 42px 0;
    border-bottom: 1px solid #eee;
}
*/
.novelist-button{
	padding: 3px 0 0 0;
	width: 100%;
	background: #8eb9a8;
	font-size: 0;
}
.novelist-button:after{
	content: "Läs mer";
	font-size: 14px;
	font-weight: 600;
}
.novelist-book-details-button{
	margin-top: -11px;
}
.buy-book{    
	background: #8eb9a8;
    color: #fff;
    padding: 4px 12px 5px 12px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
    margin-top: 6px;
}
/*
.home-book{
	background: #f5f5f5;
	padding: 16px;
	overflow: hidden;
}
.home-book img{
	float: left;
	width: 30%;
}
.home-book-content{
	float: right;
	width: 60%;
}
*/

/*
.novelist-book-list .novelist-covers-align-center .novelist-book-cover-image img{
	width: 100%;
	margin: 0 0 17px 0;
}
*/

/*
.book-template-default #main-content{
	background: url('images/palms.jpg') no-repeat center center fixed;
	background-size: cover;
	padding-bottom: 42px;
}
*/
.book-template-default #sidebar{
	display: none;
}
.book-template-default #left-area{
	float: none;
	padding: 0;
	position: relative;
	display: block;
	margin: 0 auto;
}
.book-template-default #main-content .container:before{
	content: none;
}
.book-template-default article{
	padding: 26px;
	background: #fff;
	border-radius: 5px;
	font-weight: 400;
	color: #333;
}
.book-template-default article b,
.book-template-default article strong{
	font-weight: 900;
}
.book-template-default .post-meta{
	display: none;
}
.novelist-book h3{
	font-size: 14px;
	font-family: 'Lato', helvetica, arial;
	font-weight: bold;
	margin-bottom: 12px;
}


/*
#main-content{
	background: url('images/palms.jpg') no-repeat center center fixed;
	background-size: cover;
	padding-bottom: 42px;
}
*/
#sidebar{
	display: none;
	background: #fff;
	padding: 0 0 0 26px;
	border-left: 2px dashed #eee;
}
#sidebar .et_pb_widget{
	margin-bottom: 0;
}
#sidebar
#left-area,
#main-content #left-area{
	float: none;
	padding: 0;
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 700px;
	
}
.single-post #main-content #left-area{
	float: left;
	width: 79.125%;
	max-width: auto;
}
.single-post #sidebar{
	display: block;
}
/*
#sidebar .novelist-book-list{
	width: 100%;
	padding: 26px 26px 0 0;
	margin: 0;
	border: none;
}
*/
/*
#sidebar .novelist-book-list .novelist-book{
	padding: 0 0 26px 0;
}
*/
/*
#sidebar .novelist-book-list .novelist-book:nth-child(1n+7){
	display: none;
}
*/
#main-content .container:before{
	content: none;
}
article{
	padding: 26px;
	background: #fff;
	border-radius: 5px;
	font-weight: 400;
	color: #333;
}
article b,
article strong{
	font-weight: 900;
}
.post-meta{
	display: none;
}
/*
article{
	max-width: 1180px;
	margin: 0 auto;
}
*/
.page #main-content{
	padding-top: 60px;
}
.page article .et_pb_row{
	width: 100%;
}
.page article .entry-content > .et_pb_section:first-child{
	padding-top: 0;
}

.page-id-496 article,
.page-id-41 article{
	max-width: 855px;
}

.home article{
	max-width: none;
	padding: 0;
	border-radius: 0;
}
.home #main-content{
	padding-top: 0px;
	padding-bottom: 0;
}
.home article .et_pb_row{
	width: 80%;
}
.home article .entry-content > .et_pb_section:first-child{
	padding-top: 56px;
}

.img-black{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.35);
	z-index: 5;
}
.img-black + img{
	width: 100%;
}
.img-black h3{
	position: relative;
	z-index: 10;
	color: #fff;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(142,185,168,0.6);
	line-height: 1;
	padding: 16px 0;
}
#twitter-widget-in{
	margin: 0 0 5px;
}
#twitter-widget-in-2{
	margin: 5px 0;
}
#twitter-widget-in iframe,#twitter-widget-in-2 iframe{
	border:1px solid #f5f5f5 !important;
}
#twitter-widget-in > li,
#twitter-widget-in-2 > li{
	list-style: none;
}
@media (min-width: 981px){
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3{		
		width: 32%;
		margin-right: 2%;
	}
}


@media (min-width: 981px){
	.et_pb_column {
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 980px) {
.et_pb_row, .et_pb_column .et_pb_row_inner {
    padding: 0px 0;
}
}

@media (max-width: 479px){
.et_pb_blog_grid .et_pb_post .post-meta {
    display: none !important;
    padding: 0;
    }
}


