/*
	Theme Name: Nowapak
	Theme URI: http://solmedia.pl
	Description: Custom WordPress Theme
	Version: 1.0
	Author: Andrzej Bolewski
	Author URI: http://solmedia.pl
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
:root {
	--green:#91c849;
}
body {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight:400;
    overflow-x:hidden;
	font-size: 16px;
	line-height: 1.62;
}
img {
	max-width: 100%;
	height: auto;
}
@media (min-width: 1330px) {
	.container {
		width: 1270px;
	}
}
a {
	color:#91c849;
    transition:0.3s all ease;
    word-break: break-word;
}
a:hover {
	opacity: .85;
	color: #91c849;
	text-decoration: none;
}
h1,h2,h3 {
    /*font-family: 'Kanit',sans-serif;*/
    font-weight: 700;
}
.btn {
	border: 0;
	border-radius:0;
}
.btn-primary,.kc_button {
	background-color: #91c849 !important;
	border: 0 !important;
	border-radius:25px;
	padding: 20px 50px;
	color: #fff !important;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.flex {
	display: flex;
	flex-wrap:wrap;
}
.flex-center {
	align-items:center;
}
.absolute {
	position: absolute;
}
@media (min-width: 1320px) {
	.container {
		width: 1300px;
	}
}
/*Sekcje*/
section {
   padding:30px 0
}
#category,.single main {
	padding:30px 0
}
#header {
	padding: 10px 0;
	transition:0.3s all ease;
	box-shadow: 0 0 5px #ccc;
}
#header.smaller {
	padding: 10px 0;
}
#header .row {
	display: flex;
	align-items:center;
}
.admin-bar #header{
	top: 32px;
}
#tlo h1,#produkty h2  {
    padding-bottom: 15px;
    position: relative;
	text-align: center;
}
h1:before,#produkty h2:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--green);
    bottom: 0;
    left: calc(50% - 20px);
}
.ramka {
    margin: 0 auto;
    padding: 30px 50px;
    max-width: 610px;
	text-align: center;
}
#stopkaBig {
	background:#333;
	color: #fff;
}
.kc-fb-layout-3 .content-icon{
	min-width: 30px;
	text-align: center;
}
#stopkaBig .kc-fb-layout-3 .content-icon i {
    font-size: 15px;
}
#stopkaBig .content-desc {
	margin-bottom: 0;
color:#fff
}
#stopka{
	background:#000;
	padding:10px 0;
	font-size:11px;
	font-weight:300;
	color:#fff;
	clear: both;     
}
#stopka a {
	color: #ddd;
}
/*menu*/
.nav>li>a:focus, .nav>li>a:hover, .nav>li.active>a {
	background-color:inherit;
}
.navbar-toggle .icon-bar {
	background: #8e4a8e;
    width: 30px;
    height: 3px;
}
.navbar-toggle .icon-bar+.icon-bar {
	   margin-top: 6px;
}
.navbar-collapse {
    position: absolute;
    left: 0px;
    width: 100%;
	background: #fff;
    padding: 0 15px;
	top:160px;
	z-index: 9;
}
/*paski*/
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-left: 0px solid #ccc;
}
::-webkit-scrollbar-thumb {
    background-color: #91c849;
}
/*Misc*/
article p img {
    max-width: 100%;
    height: auto;
}
h4.title {
    font-size: 20px;
    font-weight: 700;
}
.readmore {
	display:inline-block;
	padding-bottom:30px;
}
.date-tags {
	display:flex;
    justify-content: space-between;
}
div.date {
    opacity: 0.6;
    font-size: 13px;
    margin-bottom: 5px;
    font-style: italic;
}
#searchform label {
	display: none;
}
/*Blog*/
#category .flex {
	display: flex;	
    flex-wrap: wrap;
    justify-content: center;
}
#category .produkty {
	width: 200px;
    margin-right: 15px;
	margin-bottom: 15px;
	box-shadow:0 0 5px #ccc;
	background: #fff;
	position: relative;
	overflow: hidden;
}
#category .produkty .absolute{
	opacity: 0;
	transition:0.3s all ease;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #91c849c2;
    display: flex;
    align-items: center;
    justify-content: center;
}
#category .produkty .absolute span {
	display: inline-block;
	background: #fff;
	padding: 5px 20px;
	border-radius:20px;
	text-transform: uppercase;
	position: relative;
	z-index: 9;
	color: #000;
	font-weight: 700;
}
#category .produkty:hover .absolute{
	opacity: 1;
}
.home #category .produkty {
	width: 350px;
	margin: 20px;
}
#category .wrap-info {
	padding: 15px 15px 5px;
}
.produkty h3{
	margin-top: 10px;
	font-size: 18px;
	text-align: center;
	color: #333;
}
.navigation {
	width: 100%;
    display: flex;
    justify-content: center;	
}
/*Editor*/
.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}

@media (max-width: 991px) {
	#category .post {
	    padding-bottom: 60px;		
	}
	.wrap-img {
		text-align: center;
		float: none;
		margin-right: 0;
		max-width: none;
	}
}
main {
	background: #f5f5f5;
}
.obrazek-main {
	box-shadow:0 0 5px #ccc;
}
#kafelki {
	padding-top: 0;
}
body .content-desc {
	color: inherit;
}
#kontakt a {
	color: #000;
}
#kontakt .content-desc {
	margin-bottom: 0;
}
#kontakt .kc-fb-layout-3 {
    align-items: center;	
}
@media (max-width: 991px) {
	.obrazek-main {
		margin-bottom: 30px;
	}
}
@media (max-width: 767px) {
	#category .produkty {
		width: 160px;
	}
}