/*
Theme Name:   	Storefront Child Theme Nuff.cz
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.3
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text. dd8d13 -> e2133a
 */

/*uprava hlavicky */
.custom-logo, .site-header .site-branding img {    
	max-width: 234px;
	position: relative;
    bottom: 9px;
	    position: relative;
    right: 8px;
}

@media (max-width: 767px){
.custom-logo, .site-header .site-branding img {
    padding-top: 8px;
    position: relative;
	}
}

@media (max-width: 374px){
.custom-logo, .site-header .site-branding img {
    max-width: 180px;
    padding-top: 8px;
    position: relative;
	}
}


@media (min-width: 768px){
.site-header-cart .cart-contents::after { 	
	font-size: 35px;
    	position: relative;
    	bottom: 27px;
    	padding-left: 15px;
	}
.site-header-cart .cart-contents {
   	position: relative;
	bottom: 8px;
    	text-align: right;
    	padding: 5px 10px 1.618em 0;
	}
.site-header-cart .cart-contents::before {
    content: "Nákupní košík"!important;
    display: block;
    padding-right: 55px;
    top: 3px;
    position: relative;
}

.widget_search form:before, .site-search .widget_product_search form:before {
    color: #949696;
    top: 1em;
    left: 1.618em;
	}
.site-search .widget_product_search form input[type=search] {
	padding: 1em 1.618em 1em 3.706325903em;
	}

.nav-menu::before {
    background: #292a30;
    display: block;
    width: 10000px;
    height: 4.854em;
    position: absolute;
    left: 0px;
    content: " ";
    right: 0px;
    margin-left: -4000px;
    margin-right: -4000px;
	}
}

}

/*produkty uprava*/

.site-main ul.products li.product {
border: 1px solid #edeaea;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.126);
}
.site-main ul.products li.product:hover {

    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.176);
}


@media (min-width: 768px) {
.site-header-cart .cart-contents:after
{color: #e2133a}


}


.widget_product_categories ul.product-categories {
    margin: 0;
    padding: 3%;
    background: #e2133a;
}

.widget-area .widget.widget_product_categories ul a, .widget_product_categories .product-categories a {
    color: #fff
}


.widget-area .widget.widget_product_categories ul .current-cat ul a {
    font-weight: normal;
    text-transform: none;
    color: #fff;
}
.widget-area .widget.widget_product_categories ul .current-cat a {
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
}




.home.paged.post-type-archive-product .site-header {
 margin-bottom: 0!important;
}
.search-results  .site-header  {
    margin-bottom: 4.235801032em!important;
}
.search-results.paged  .site-header  {
    margin-bottom: 0!important;
}

#homekategorie {display: none;}
/*
@media (max-width: 767px) {
#homekategorie  ul.products li.product {
    width: 50%;
	float: left;
}
}

#homekategorie  ul.products li.product h3 .count{
    display: none;
}

#homekategorie  ul.products li.product img {
    display: none;
}
#homekategorie  ul.products li.product {
    margin-bottom: 1em;
}
#homekategorie ul.products li.product a {
    display: block;
    padding-top: 35px;
    background: url("https://www.darkduck.cz/wp-content/uploads/kacka.png") no-repeat;
    background-position: top center;
    background-size: auto;
}
*/


.search-results.woocommerce .page-description {
    display: none!important;
}


/*kategorie nad položkami*/

ul li.product-category.product img {
    displa y: none!important;
position: absolute;
max-width: 50px;
margin: 5px;
max-height: 47px;
border:1px solid #fff;
border-radius: 5px;
top: 0;
left: 0;
}

li.product-category.product {
   margin-bottom: 5px!important;
border: 1px solid #fff;
border-radius: 0px;
    display: table;
}

li.product-category.product:hover {
/*border: 1px solid #999;*/
background: #e2133a;
}
li.product-category.product:hover a h2,
li.product-category.product:hover a h3
 {
color: #000;
}


li.product-category.product h2,
li.product-category.product h3 
 { 
display: inline;
font-weight: normal;	
}

li.product-category.product a{ 
	display: table-cell;
    vertical-align: middle;
    height: 57px;
padding:  5px;
    padding-left: 65px;
    text-align: left;

overflow-wrap:break-word; 
word-break:break-word;	
}


 li.product-category.product h2:bef ore{ 
	content: "\f111";	
font-family: "FontAwesome";
	margin-right: 5px;
font-size: 7px;
position: relative;
bottom:3px;


}
li.product-category.product h2 .count,
li.product-category.product h3 .count{
display: none}



/* UPRAVA NA DVA SLOUPCE V MENSIM ROZLISENI */

ul.products li.product {

border: 1px solid #eee;
border-radius: 8px;
padding: 1%;

}

ul li.product-category.product {
	padding: 0;
 margin-bottom: 10px!important;
}

ul.products li.product:hover {

border: 1px solid #cfcfcf;

}

@media (max-width: 767px)
{

ul.products li.product {
    width: 46%;
    float: left;
    margin-right: 2%;
    margin-left: 2%;

}


ul.products li.product:nth-child(2n+2) {
	margin-left: 0;
	margin-right: 0;
width: 47%;
} 
ul.products li.product:nth-child(2n+1) {
	margin-left: 0;
width: 47%;
	margin-right: 6%;
} 
}

@media (max-width: 375px) 
{
ul li.product-category.product {
   
    width: 100%!important;
}}

.woa-top-bar .block .widget_nav_menu ul {

    text-align: right;
}

