/*
Theme Name: Przepisy
Theme URI: 
description: >-
  Przepisy based on Theme Twenty Twenty One 
Author: Robert Rupa
Author URI: https://konatsu.pl
Template: twentytwentyone
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: przepisy
*/
#page {
background-image: url(http://przepisy.konatsu.pl/wp-content/uploads/2021/03/header01.jpg);
    background-position: 0 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: -530px;
    background-size: auto;
}
#masthead {
    background-color: RGBA(255,255,255,0.7);
    padding: 0 160px;
    padding-bottom: 15px;
    margin-bottom: 170px;
    max-width: 100%;
}
body.scroll #primary {
    padding-top: 250px;
}
body.scroll #masthead {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1;
		background: RGBA(255,255,255,0.9);
	
}
.widget-area {
	display: flex!important;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.widget-area section{
    display: block;
    padding: 0;
    margin: 0;
}
.site-title a{
	    text-decoration: none;
}
.site-title,
.primary-navigation .primary-menu-container > ul > .menu-item > a,
.widget-area a:link, .widget-area a:visited, .widget-area a:active {
	color: #906C28!important;
	text-decoration: underline;
    text-decoration-style: dotted;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a:hover,
.widget-area a:hover {
	color: #906C28!important;
	text-decoration: underline;
    text-decoration-style: solid;
}
.has-background-white .site a:focus,
.primary-navigation .primary-menu-container > ul > .menu-item > a:active,
.primary-navigation .primary-menu-container > ul > .menu-item > a:focus,
.primary-navigation .primary-menu-container > ul > .menu-item:hover,
.primary-navigation .primary-menu-container > ul > .menu-item:active,
.primary-navigation .primary-menu-container > ul > .menu-item:focus {
	background:none!important;
	border:none!important;
	outline:none!important;
}
.site-footer > .site-info {
    border-top: 1px dashed RGB(0,0,0,0.2)!important;
}
header.page-header{
	border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
footer.entry-footer, 
.heateor_sss_sharing_container,
.singular:not(.page) .entry-header > *, 
.singular .entry-content > *,
.entry-content.alignwide > p,
.entry-content.alignwide > div,
.entry-content.alignwide > ol,
.entry-content.alignwide > ul,
.entry-content.alignwide > img{
	max-width: var(--responsive--alignwide-width)!important;
}
.heateor_sss_sharing_container {
    display: grid;
    justify-content: flex-end;
	float: initial!important;
}
.home .heateor_sss_sharing_container,
.home .heateorSssClear {
	display: none;
}
.widget-area {
	margin-top: 30px!important;
}
.rescent-posts .block-title,
.page-title{
	text-align: left!important;
	color: #906C28;
	padding-bottom: 25px;
	margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px dashed RGB(0,0,0,0.2);
}
.entry-title{
	color: #906C28!important;
	padding-bottom: 25px;
	margin-bottom: 40px;
	text-align: left;
    border-bottom: 1px dashed RGB(0,0,0,0.2);
}
.singular .header-inner,
.single-recipes .header-inner{
	display: flex;
    justify-content: space-between;
	flex-direction: row-reverse;
}

.singular .header-inner .post-thumbnail,
.single-recipes .header-inner .post-thumbnail {
	display: flex;
    justify-content: space-between;
	max-width: 480px;
    margin: 0;
}
.singular .header-inner .post-thumbnail img,
.single-recipes .header-inner .post-thumbnail img{
    max-width: 480px!important;
    height: initial!important;
    max-height: 500px;
    margin: 0;
    object-fit: cover;
    border-radius: 50px;
}
.products-list {
	list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 480px;
    background: #FFE8D8;
    padding: 15px 20px;
    border-left: 1px dashed RGB(0,0,0,0.2);
    margin-right: 30px;
}
.products-list li{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
    border-bottom: 1px dashed RGB(0,0,0,0.2);
}
.products-list li.list-title {
    font-weight: 600;
    border: none;
    margin-top: 15px;
}
.products-list li.list-title:first-of-type {
    margin-top: 0;
}
.products-list li span:first-of-type{
	width: 100%;
}
.products-list li.simple span:first-of-type{
	width: auto;
}
.products-list li span.ilosc{
	margin-right: 15px;
}
.products-list li span.jednostka{
	    white-space: nowrap;
}

.post-grid{
	max-width: var(--responsive--alignwide-width)!important;
	    margin: 0 auto;
}

.search-results .site-main .post-grid article,
.home .site-main .post-grid article,
.archive .site-main .post-grid article{
	width:100%;
    overflow: hidden;
    position: relative;
}

.search-results .site-main .post-grid article .entry-header,
.home .site-main .post-grid article .entry-header,
.archive .site-main .post-grid article .entry-header {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.search-results .site-main .post-grid article .entry-header .entry-title,
.home .site-main .post-grid article .entry-header .entry-title,
.archive .site-main .post-grid article .entry-header .entry-title {
	margin: 0px;
	margin-left: 30px;
	color: #906C28;
	border: 0;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}

.search-results .site-main .post-grid article .entry-header .post-thumbnail,
.home .site-main .post-grid article .entry-header .post-thumbnail,
.archive .site-main .post-grid article .entry-header .post-thumbnail{
    max-width: 200px;
	margin: 0px;
}
.search-results .site-main .post-grid article .entry-header .post-thumbnail img,
.home .site-main .post-grid article .entry-header .post-thumbnail img,
.archive .site-main .post-grid article .entry-header .post-thumbnail img{
	
    object-fit: cover;
    border-radius: 25px;
    margin: 0px;
    max-width: 200px!important;
    height: 200px!important;
}

.search-results .site-main .post-grid article .entry-content,
.home .site-main .post-grid article .entry-content,
.archive .site-main .post-grid article .entry-content {
    position: absolute;
    top: 100px;
    /* left: 230px; */
    padding-left: 230px;
    margin: 0;
    border-bottom: 1px dashed RGB(0,0,0,0.2);
    width: 100%;
	    height: 130px;
}


.search-results .site-main .post-grid article .entry-content p,
.home .site-main .post-grid article .entry-content p,
.archive .site-main .post-grid article .entry-content p {
    margin: 0!important;
    max-width: 100%!important;
}
.rescent-posts .block-title {
	    font-size: 36px;
}


.rescent-posts .post-grid article .entry-header h2{
	padding: 0;
	font-size: 30px;
	line-height: 1;
}

.home .rescent-posts .post-grid article .entry-content {
    top: 80px;
    height: 150px;
}

.home .rescent-posts .post-grid article .entry-header .post-thumbnail img {
	
}

.single-post .parallax-window {
    min-height: 400px;
    background: transparent;
}

@media only screen and (max-width: 768px) {
	#masthead {
		padding: 15px;
	}
	#masthead .site-description {
		display: none;
	}
	.entry-title a {
		white-space: initial;
	}
	.widget-area {
		flex-wrap: wrap;
	}
	.search-results .site-main .post-grid article .entry-content,
	.home .site-main .post-grid article .entry-content,
	.archive .site-main .post-grid article .entry-content {
		position: relative;
    top: 0;
    left: 0;
    height: auto;
    padding-left: initial;
	}
	.search-results .site-main .post-grid article .entry-header,
	.home .site-main .post-grid article .entry-header,
	.archive .site-main .post-grid article .entry-header {
	
    flex-wrap: wrap;
    justify-content: center;	
	}
	.search-results .site-main .post-grid article .entry-header .entry-title,
	.home .site-main .post-grid article .entry-header .entry-title,
	.archive .site-main .post-grid article .entry-header .entry-title {
		text-align: center;
    margin-bottom: 30px;
    margin-left: 0;
	}
	.search-results .site-main .post-grid article .entry-header .post-thumbnail,
	.home .site-main .post-grid article .entry-header .post-thumbnail,
	.archive .site-main .post-grid article .entry-header .post-thumbnail {
		width: 100%;
    max-width: 100%;
	}
	.search-results .site-main .post-grid article .entry-header .post-thumbnail img,
	.home .site-main .post-grid article .entry-header .post-thumbnail img,
	.archive .site-main .post-grid article .entry-header .post-thumbnail img{
		
    max-width: 100%!important;
    max-height: max-content;
    height: auto!important;
	}
}

/* print styles */
@media print {
	.single-recipes .entry-footer,
	.single-recipes .site-footer,
	.single-recipes .widget-area,
	.single-recipes .site-header{
		display:none;
	}
	.single-recipes .site-main{
		padding: 0;
	}
	#page {
		background-image: none;
	}
	ol{
		margin: 0!important;
		padding: 0px!important;
	}

}

/* print styles A5*/
@media only print and (width: 421px){
	
.single-recipes .entry-title{
	color: red!important;
	} 

}
/* print styles A4*/
@media (max-width:900px) {
	.products-list {
		display: table;
	}

	.single-recipes .header-inner .post-thumbnail {
		max-width: initial!important;
		display: block;
		width: 250px;
		height: 250px;
	}
	.single-recipes .header-inner .post-thumbnail img{	
		max-width: 100%!important;
    max-height: 50%;
    min-height: 200px;
    min-width: 200px;
	}
}



























