/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */



html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

a{
	text-decoration: none;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

nav#main {
	display: none;
}

#addCommentButton {
	font-size: 0.875em;
}

body#index nav#main {
	display: block;
}

div#center-box {
	width:100%;
	float:left;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	padding:16px;
	padding:1rem;
	}

div#center-box:after {
	content: " ";
	display:block;
	clear:both;
}

div#left-box {
	width:100%;
	float:left;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	padding:1em;
}

div#left-box:after {
	content: " ";
	display:block;
	clear:both;
}

.block h4 {
	width:100%;
	padding: 0;
	margin:0;
	font-size:0.875em;
	color:#015da9;
	padding-bottom:6px;
	border-bottom: 1px dotted #015da9;

}

footer#main {float:left}


body#index div#left-box {
	display:none;
}


body#index div#center-box {
	width:100%;
	padding:0;
}



/*	--Header	*/

#cart .showCart {
	display:inline-block;	!important;
}

#top_bar {
	width: 100%;
	min-height: 73px;
	height: auto;
	background: url(../img/top_bg_mobile.jpg) repeat-x left top;
	text-align: left;
	position: relative;
}

#top_bar ul {
	width:90%;
	margin: 0 0 0 5%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 1.1em 0;
	color: #fff;
	font-size: 0.75em;
	float: left;
}

#top_bar li {
	display: inline;
	background: url('../img/sprite.png') no-repeat left top;
	background-position: 0 -34px;
	padding-left: 8px;
	margin-right: 7px;
}

#top_bar li a {
	text-decoration: none;
	color: #fff;
}

	/*	Cart	*/

	#napis {
		width: 265px;
		margin: 0 0 0 5%;
	}

	#napis a {
		text-decoration: none;
		color:#fff;
	}

	#cart .inlineblock {
		display: inline-block;
	}
	.extended {
		display: none;
		width: 100%;
		margin-top: 1em;
		min-height:100px;
		font-size: 11px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		padding: 0.5em 1em 0 1em;
		background-color: #e3f4fd;
		color: #015da9;
	}

	.extended:after {
		content: " ";
		display: block;
		clear: both;
	}
	.extended #cart_block_no_products {
		padding-bottom: 20px;
	}

	.extended #cart-prices {
		padding: 10px 4px;
		line-height: 20px;
		font-weight: bold;
		border-top: 1px solid #999;
	}

	p#zamow {
		text-align: right;
	}

	p#zamow button {
		width: 80px;
		height: 20px;
		color: #fff;
		text-transform: uppercase;
		font-size: 0.9em;
		font-weight: bold;
		margin-left: -5px;
		border: 1px solid #79a9d1;
		background: #015da9;
	}

	#top_bar #cart {
		cursor: pointer;
		height: auto;
		width: auto;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		display: block;
		font-size: 0.75em;
		color: #fff;
		margin: 0 auto;
	}

	#cart span {
		float: left;
	}

	#cart:after {
		content: " ";
		display: block;
		clear: both;
	}

	#top_bar div.products_cart {
		margin: -4px 0 0 4px;
		float: left;
		width: 25px;
		height: 25px;
		background-color: #699ccf;
		border-radius: 50%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		text-align: center;
		padding: 4px 0;
		}

	/*	End-Cart	*/

	body > header {
		text-align: center;
	}

	body > header:after {
		clear: both;
		display: block;
		content: " ";
	}

	#logo img {
		margin: 1em;
	}

/*	--End-Header	*/

div#newsletter {
	margin: 1em auto;
	width: 95%;
	background-color: #f2f2f2;
	border: 1px solid #c4c4c4;
	min-height: 80px;
}

/* Navigation  */

body > nav {
	width: 90%;
	padding-top: 1em;
	margin: 0 auto;
	color: #464646;
}

nav#main > ul > li > ul {
	display: none;
}

nav#main > ul {
	width: 100%;
	margin: 0 0;
	padding: 0;
	position: relative;
}

nav#main:after {
	display: block;
	clear: left;
	content: " ";
}

nav#main > ul > li:first-child {
	display: none;
}

nav span {
	border: 1px solid #dbdbdb;
	border-bottom: none;
	width: 100%;
	display: block;
	font-size: 0.75em;
	text-transform: uppercase;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 9px;

}

nav#main > ul > li {
	background: #ffffff url('../img/sprite.png') no-repeat right top;
	background-position-y: 1px;
	cursor: pointer;
	border: 1px solid #dbdbdb;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 0.75em;
	text-transform: uppercase;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

nav#main > ul > li > a {
	padding: 11px;
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

nav#main > ul > li:hover {
	background-color: #015da9;
	color: #fff;
}

nav#main > ul > li:hover > a {
	text-decoration:none;
	color: #fff;
}


nav#main > ul >  li.selected {
	width: 100%;
	background-color: #015da9;
	color: #fff;
	border-left: 1px solid #dbdbdb;
}

nav#main > ul > li.selected ~ li {
	width: 100%;
	border-left: 1px solid #dbdbdb;
}








nav#main > ul > li.selected > a {
	color:#fff;
}

nav#main > ul > li > ul {
	background-color: #fff;
	width: 100%;
	margin: 0 0;
	padding: 1em 2em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: #888;
}

nav#main > ul > li > ul:after {
	display: block;
	content: " ";
	clear: both;
}
nav#main > ul > li > ul:after > li:after {

}
nav#main > ul > li > ul > li > a {
	background: #fff;
	border-bottom: 1px dotted #CCC;
	float: left;
	margin-left: 1em;
	color: #fff;
	display: block;
	width: 45%;
	color: #565656;
	font-weight: bold;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 1em;
	margin:0 0.5em;
}

nav#main > ul > li > ul > li > ul > li {
	display: block;
	width: 50%;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 1em;
	border-bottom: 1px solid #dbdbdb;
}

nav#main > ul > li > ul > li > ul > li a {
	text-decoration: none;
	color: #015da9;
}

nav#main > ul > li > ul > li > ul:after {
	display: block;
	content: " ";
	clear: both;
}

nav#main > ul > li:nth-of-type(n) {
	border-bottom: none;
}

nav#main > ul > li:nth-last-child(1) {
	border-bottom: 1px solid #dbdbdb;
}

/* End-Navigation	*/

/* Search bar */

#search input {
	border: 1px solid #dbdbdb;
	background: #ffffff url('../img/search_input_bg.jpg') repeat-x left top;
	height: 35px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 5px;
	margin-right: 0px;
	font-size: 0.75em;
	border-radius: 0;
}

#search input[type=text] {
	width: 50%;
	-webkit-transition: width .6s ease-in .1s;
}

#search input[type=submit] {
	vertical-align: top;
	width: 90px;
	height: 35px;
	color: #fff;
	text-transform: uppercase;
	font-size: 0.75em;
	font-weight: bold;
	margin-left: -5px;
	border: 1px solid #79a9d1;
	background: #015da9;
}

/* End-Search	*/

/*	Home	*/

body#index #left-box {
	display:none;
}

div#slider {
visibility: hidden;
width: 100%;
height: 2em;
}

.reklama {
	margin:35px 0 20px 0;
}

.reklama img {
	max-width:100% !important;
}

div#featured {
	margin-top:1em;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 1em 1.5em;
	background-color: #e3f4fd;
}

div#featured h2 {
	margin: 0 0 0.4em 0;
	color: #015da9;
	text-transform: uppercase;
	font-size: 1em;
	padding:0;
}

div#produkty {
	width: 100%;
	text-align: center;
	padding: 0 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

div#produkty article {
	width: 47%;
	min-height: 15em;
	float: left;
	padding: 1em 0;
	margin: 1em 0.2em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: white;
	text-align: center;
}
article img {
	max-width: 100%;
}
div#produkty a.lnk_more {
	display:inline-block;
	margin-top:5px;
	color: #015da9;
	font-size: 0.9em;
}

div#produkty article h3 {
	color: #015da9;
	font-size: 0.9em;
	margin: 0.2em 0 0 0;
	font-weight: normal;
	padding-bottom:0;
}

div#produkty article h3 a {
	color: #015da9;
}

div#produkty article div#price {
	color: #a8a8a8;
	font-size: 0.8em;
}

#produkty a.exclusive {
	display:block;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
	padding-top:4px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	width: 95px;
	height: 25px;
	color: #fff;
	text-transform: uppercase;
	font-size: 0.65em;
	font-weight: bold;
	margin:5px auto 0 auto;
	border: 1px solid #79a9d1;
	background: #015da9;
	-webkit-transition: all 0.1s ease-out 0s;
}

div#produkty:after {
	display: table;
	content: " ";
	clear: both;
}

/*	End-Home	*/
/*	Footer	*/
footer#main {
	margin-top:1em;
	width: 100%;
	background-color: #f2f2f2;
	border-top: 1px solid #c4c4c4;
	min-height: 150px;
	height:auto;
}

footer#main:after {
	content: " ";
	clear:both;
	display:block;
}

footer#main .block {
	width:100%;
	float:left;
	padding:1em 1em 0 1em;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	margin:0;
}

footer#main .block h4 {
	background: none;
	padding:0;
	margin:0;
	text-shadow:none;
	border-bottom:none;
	color:#767676;
	text-transform:none;
	font-size:0.75em;
}
footer#main .block h4 a { color:#767676; }
footer#main div.block ul {
	font-size:0.75em;
	padding:0;
	margin:0;
}
footer#main p.logout {margin:0.5em 0; padding:0; font-size:0.75em}
/*	End-Footer	*/

.screen_scene {max-width:100% !important; }

/*	Media: Mobile devices, smaller than a tablet with extended featured products layout.	*/
@media only screen and (min-width: 480px) {



	nav#main > ul > li.selected > a {
		color:#fff;
	}

/*	Home	*/
div#produkty article{
		width: 40%;
		margin: 1em;
}

div#produkty {
		padding: 0 1em;
}
/*	End-Home*/

}


/*	Media: Tablet devices.*/
@media only screen and (min-width: 750px) {
	nav#main > ul > li > ul > li > a  {
	margin: 0 1em;
	}

	div#center-box {
		width:75%;
	}
	div#left-box {
			width:25%;
			float:left;
	}

body {
	width: 100%;
}

.extended {
	display: none;
	margin-top: 0;
	display: none;
	width: 200px;
	background-color: #e3f4fd;
	position: absolute;
	color: #015da9;
	right: 0;
	top: 100%;
	z-index:9;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	-webkit-transition: all .2s ease-out 0s;
}

/*	Header	*/

#top_bar ul {
	width: auto;
	margin: 0;
	padding: 1.1em 1em;

}

#napis {
	margin:0;
}

#top_bar {
	width: 100%;
	height: 50px;
	text-align: left;
}

body > header {
	text-align: left;
}

header #logo {
	float: left;
}

	/*	Cart	*/

#napis {
	width: auto;
}

#top_bar #cart {
	width: auto;
	padding: 1.1em 1em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	float: right;
	font-size: 0.75em;
	color: #fff;
}
	/*	End-Cart*/
/*	End-Header	*/

/*	Home	*/
div#produkty article {
	width: 20%;
}

div#produkty {
		padding: 0 1em;
}

#produkty a.exclusive:hover {
		background: #fff;
		color: #015da9;
}
/*	End-Home*/

/*	Search	*/


header > #search {
	text-align: right;
	width: 40%;
	padding-top: 2.5em;
	float: right;
	margin-right: 1em;
}

#search input[type=text] {
	width: 55%;
}

/*	End-Search*/

/*	Navigation	*/
nav span {
	border: 1px solid #dbdbdb;
	border-bottom: none;
	width: 100%;
	display: block;
	font-size: 0.75em;
	text-transform: uppercase;
	box-sizing: border-box;
	padding: 9px;

}
nav#main > ul > li {
	width: 50%;
}

nav#main > ul > li:nth-of-type(2n+1) {
	border-left: none;
}

nav#main > ul > li:nth-of-type(n) {
	border-bottom: none;
}

nav#main > ul > li:nth-last-child(1) {
	border-bottom: 1px solid #dbdbdb;
}
nav#main > ul > li:nth-last-child(2) {
	border-bottom: 1px solid #dbdbdb;
}
/*	End-Navigation*/

/*	Footer	*/
footer#main .block {
	width:25%;
	float:left;
}
/*	End-Footer*/

}
/*	End Media Tablet*/


/*Media: Desktop version */
@media only screen and (min-width: 1024px) {
nav#main {
	display: block;
}
nav#main > ul >  li.selected {
	width: auto;
	border-left: none;
}

nav#main > ul > li.selected ~ li {
	width: auto;
	border-left: none;
}

nav#main > ul > li > ul > li > a  {
	float: none;
	border-bottom: none;
	font-weight: normal;
}

nav#main > ul > li.sub > ul > li.selected a {
	border-bottom: 1px dotted #3181b6;
}

div#left-box {
	padding:1rem 1rem 0 0;
}

body {
		width: 960px;
		margin: 0 auto;
}

/*	Home	*/

div#produkty article {
	width: 21%;
	-webkit-transition: all .4s ease-in .1s;
}
div#produkty article:hover {
	width: 21%;
	box-shadow: inset 0px 0px 3em #ededed;
}

div#produkty {
		padding: 0 1.5em;
}
/*	End-Home*/

/*	Search	*/
	#search input[type=text]:focus {
	width: 75%;
}
/*	End-Search	*/

/*	Header	*/
#top_bar {
	min-height: 0;
	height: 43px;
	background: #045eaa url(../img/top_bg.jpg) repeat-x left top;
}

body > header {
	margin: 1em 0;
}
	/*	Cart	*/
	div#cart:hover .extended {
		display: block;
		height: auto;
		opacity: 1;
	}
	/*	End-Cart	*/
/*	End-Header	*/

/*	Navigation	*/
body > nav {
	padding: 0;
	margin: 0;
	width: 100%;
	background: #f5f5f5 url('../img/nav_bg.jpg') repeat-x left top;
	height: 46px;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

nav#main > ul > li > a {
	padding: 0;
	display: inline;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

nav#main > ul > li > ul {
		margin: 1.1em 0;
		z-index:10;
}

nav#main > ul > li > ul > li > a {
	background: none;
	display: inline;
	width: 100%;
	color: #0062a6;
	padding: 0;
	margin: 0;
}

nav#main > ul > li > ul > li > ul > li {
display: inline;
width: 100%;
float: left;
padding: 0;
border-bottom:none;
}

nav#main > ul > li:first-child {
	display: block;
}

nav#main > ul > li:nth-of-type(n) {
	border: none;
}

nav {
	padding: 0;
}

nav > span {
	display: none;
}

nav > ul {
border: none;
height: 43px;
}

nav#main > ul > li {
	padding: 1.2em 1em 0 1em;
	display: inline;
	border: none;
	background: none;
	width: auto;
	height: 100%;
	color: #fff;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background: url('../img/sprite.png') no-repeat left top;
	background-position: 0 -49px;
}

nav#main > ul > li > a {
	color: #fff;
}

nav#main > ul > li:first-child {
	border-top-left-radius: 7px;
	padding: 1.2em 28px 0 28px;
	background: none;
}

nav#main > ul > li:first-child:hover {
	background: rgba(122, 169, 210, 0.6);
}
nav#main > ul > li.selected {
	display: inline;
	width:auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background: rgba(122, 169, 210, 0.6) url('../img/sprite.png') no-repeat left top;
	background-position: 0 -49px;
	white-space: nowrap;
}

nav#main > ul > li:hover {
	height: 100%; /* firefox fix */
	display: inline;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background: rgba(122, 169, 210, 0.6) url('../img/sprite.png') no-repeat left top;
	background-position: 0 -49px;
	white-space: nowrap;
}

nav#main > ul > li > ul
{
	opacity: 0;
}

nav#main > ul > li:hover > ul {
	-webkit-transition: all .1s ease-in 0s;
	opacity: 1;
	display: block;
	white-space: nowrap;
	position: absolute;
	width: 100%;
	height: auto;
	left: 0;
	padding: 0;
	background-color: #b7d1e7;
	padding: 1em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

nav#main > ul > li > ul > li > ul {
	display: block;
	padding-left: 0;
	padding-top: 2px;
	margin: 0;

}

nav#main > ul > li > ul > li {
	background: none;
	padding: 0;
	min-width: 15%;
	color: #0062a6;
	text-transform: none;
	font-size: 16px;
	margin: 5px 0;
	margin-right: 1em;
	float: left;
	display: block;
}
nav#main > ul > li > ul > li > a {
{
	color: #0062a6;
}

nav#main > ul > li > ul > li > ul > li{
	font-size: 13px;
	color: #3181b6;
}



nav#main > ul > li > ul > li > ul > li a {
	font-size: 13px;
	color: #3181b6;
	text-decoration: none;
	-webkit-transition: color .1s ease-in 0s;
}

nav#main > ul > li > ul > li > ul > li a:hover {
	color: #0062a6;
}

nav#main > ul > li > ul > li > ul > li:before {
	content: "- ";
}
/*	End-Navigation	*/

	div#left-box {
		width:25%;
		float:left;
	}
}
/*	End	Media Desktop	*/

img {max-width:100%;}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
    clear: both;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.notification {
    margin-top: 15px;
    background-color: #deebfb;
    padding: 15px 15px;
    font-size: 12px;
    text-align: center;
}
