/*
 Theme Name:   Grid Child Theme
 Theme URI:    http://www.andersnoren.se/teman/fukasawa-wordpress-theme/
 Description:  A Fukasawa child theme 
 Author:       Anders Norén
 Template:     fukasawa
 Version:      1.10
*/
 
 @import url("../fukasawa/style.css");


/*
You can add your own CSS here.

Click the help icon above to learn more.
*/

body 
{
font-family: georgia;
font-size: 1em;
background-color: #ffffff;
}

.posts .post, .posts .page {
    width: 100%;
    padding: 16px;
    background: #fff;
    position: relative;
    border: 1px solid #ddd;
}

small {
	font-size:0.9em;
	display: block;
	line-height: 150%;
	padding-top:0.2em;
}

.posts .post-title {
    font-size: 1em;
    line-height: 140%;
    font-weight: 700;
		padding-bottom:0.2em;
    color: #333;
    word-break: break-word;
    -ms-word-break: break-word;
}

.post-excerpt p {
    line-height: 145%;
    font-style: normal !important;
    color: #555 !important;
		font-family: open sans;
		font-size: 0.8em;
		line-height: 170%;
}

.main-menu li {
    display: block;
    margin-top: 13px;
    font-weight: 400 !important;
	font-style: italic !important;

    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}

.main-menu a {
    color: #ba1f00;
    text-transform: none;
    font-size: 1.3em;
    line-height: 160%;
    letter-spacing: 0px;
	font-style: italic !important;
	font-weight: 400 !important;

}

.page-title h4 {
    display: block;
    padding-bottom: 10px;
   	border-bottom: 0px solid #e1e1e1 !important; 
    margin: 0 10px;
    line-height: 120%;
    font-weight: 700;
    color: #666;
}

.page-title p {
    display: block;
    padding-bottom: 10px;
   	border-bottom: 0px solid #e1e1e1 !important; 
    margin: 0 10px;
    line-height: 120%;
	font-style: italic;
    color: #666;
}

.posts .format-standard .featured-media:hover img, .posts .format-image .featured-media:hover img {
    transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
}


.read_more {
	text-align: right;  padding-right: 5px;  font-family: arial; font-size: 12px; color: #ba1f00; padding-top: 10px;
}

.read_more a {color: #ba1f00; text-align: right;}

.posts .post:hover {
	box-shadow: 1px 1px 6px #aaaaaa;
}

.single .featured-media {
	 width: 100%;
    padding: 0px 20px;
}

.posts .featured-media	{
	padding: 15px 0 15px 0 !important;
}

.single .post-navigation {
    background: #ffffff;
    display: none;
}

.featured_caption {
	font-size: 0.7em;
	line-height: 150%;
	font-family: open sans;
	padding: 3% 0;
	color: #666;
}

.post.single .post-title {
    font-size: 1.4rem;
    line-height: 150%;
    font-weight: 700;
    margin-bottom: 40px;
    word-break: break-word;
    -ms-word-break: break-word;
}


.hp{padding-bottom:0px !important; margin-bottom:0px; }
.hp p{padding-bottom:0px !important; margin-bottom:0px !important; }
.roman{padding-bottom:0px !important; margin-bottom: 0px; font-weight: bold; padding-top: 35px; }
.romanfirst{padding-bottom:0px !important; margin-bottom: 0px; font-weight: bold; padding-top: 0px; }
.hpol ol li{ padding-bottom:15px !important; margin-bottom:0px !important; margin-top: 0px !important; }
.hpol ol{margin-top: 0px !important;margin-bottom: 0; }

h4 {
	color:#333 !important;
}

.jp-relatedposts-post {
	border: 1px solid #ddd;
    padding: 14px;
    margin: 5px !important;
    width: 31% !important;
}

.main-menu .current-menu-item:before, .main-menu .current_page_item:before {
	display:none;
}


.featured-media a{ display: inline !important; }
.p-header-bar, .header-bar{
	display: none;
}

.header-left{
	flex-grow: 1;
	display: flex;
}

.sidebar{
	border: none;
}

.header-menu {
    padding: 0px 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
}

.widgets{
	display: none;
}

.nav-toggle{
	display: block;
	margin-top: -2rem;
}

.p-tag{
	display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
}

.pg-subtitle{
	font-size: 0.75rem; line-height: 1.3; color: grey; font-style: italic; padding: 5px 0px 0px 5px;
}

.posts .post-container { width: 100%; }

.jp-relatedposts-items { display: flex; flex-direction: column; }
.jp-relatedposts-post {width: 100% !important} 

.post-content p{text-align: left !important}
.single .post-inner{padding-top: 0px !important;}
@media (min-width: 600px){
	.posts .post-container { width: 50%; }
}

@media (min-width: 1000px) {
	.posts .post-container { width: 30%; }
	.sidebar {
    	width: 280px;
    	padding: 0px 40px;
    	position: absolute;
   		top: 190px;
    	left: 40px;
    	font-size: 0.71em;
    	border-right: 1px solid #ddd;
	}

	.p-header-bar, .header-bar{
		display: flex;
		width: 89%;
		margin: auto;
	}

	.header-bar{
    	flex-direction: column;
	}
	
	.p-header-bar{
		line-height: 4;
	}

	.sidebar .blog-logo{
		display: none;
	}

	.nav-toggle{
		display: none;
	}

	.jp-relatedposts-post-title{text-align: left}

	.single .featured-media {
		width: 22%;
		padding-left: 2%;
		padding-right: 0px;
		border-left: 1px solid #ddd;
	}
	
	.p-tag{
    	flex-direction: row-reverse;
		
	}
	.post-inner {
	    margin-left: 5.5%;
	}
	.single .post-inner {
    	padding: 0% 0 7.5% 0%;
	}
	.jp-relatedposts-items { flex-direction: row; }
	.jp-relatedposts-post {width: 31% !important}
	.post-content p{text-align: justify !important}
	.post.single .post-title {
    font-size: 1.6rem;}
}