/** Taken from global.css **/
#product_list .hovers { width:100%; }

.grid_view #product_list .ajax_block_product:hover .hover_fly,
.reviewsList .ajax_block_product:hover .hover_fly {
    bottom:0;
}
.grid_view #product_list .ajax_block_product {
    border: 1px solid transparent;
}
@media all and (min-width: 1024px) {
    .grid_view #product_list .ajax_block_product:hover {
        border: 1px solid #b5b5b5;
        border-radius: 22px;
    }    
}

/* .grid_view #product_list .ajax_block_product:hover .pro_second_box,
.reviewsList .ajax_block_product:hover .pro_second_box { 
    background:#FAFAFA 
} */

/* .grid_view #product_list .ajax_block_product:hover .pro_first_box,
.grid_view #product_list .ajax_block_product:hover .pro_second_box,
.reviewsList .ajax_block_product:hover .pro_first_box,
.reviewsList .ajax_block_product:hover .pro_second_box { 
    -webkit-box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1); 
    -moz-box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1); 
    box-shadow:0 0px 4px rgba(0, 0, 0, 0.1); 
} */

.grid_view #product_list .pro_list_attributes {
    text-align: right;
    margin-top: -28px;
}

/*Product list*/
.viewmode a { color:#999999;padding:4px; width:25px;height:25px;line-height:16px;text-align:center;display:inline-block; }
.viewmode a:hover,.viewmode a.active{background:#bbbbbb;color:#fff;}

/** Native from product_list.css **/

#productsSortForm {
    margin: 0px 0px 0px 10px;
    float: right;
}

.ajax_block_product-labels {
	position: absolute;
	top: 0;
	left: 0;
}

ul#product_list {
	list-style-type: none
}
#product_list li {position:relative;}
#product_list .not_avaiable_product .pro_second_box,
#product_list .not_avaiable_product a.product_img_link {
    filter: gray; /* IE */
    -webkit-filter: grayscale(1); /* Old WebKit */
    -webkit-filter: grayscale(100%); /* New WebKit */
    filter: url(resources.svg#desaturate); /* older Firefox */
    filter: grayscale(100%); /* Current draft standard */
}
#product_list a.product_img_link {
	overflow:hidden;
	position:relative;
	display:block;
    text-align:center;
}
#product_list a.product_img_link img {
	display: inline-block;
    vertical-align: bottom;
    opacity: 0;
}
#product_list a.product_img_link img.loaded {
    min-height: 0;
    opacity: 1;
}


#product_list li .discount {
	display: inline-block;
	font-weight: bold;
	padding: 1px 5px;
	font-size: 10px;
	color: #fff;
	text-transform: uppercase;
	background: none repeat scroll 0 0 #9B0000
}
.ajax_block_product .discount, .ajax_block_product .online_only, .ajax_block_product span.availability {
	display: inline-block;
	color: #fff;
    background:#b5b5b5;
    padding:0 2px;
    -webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;
}
.ajax_block_product span.availability-disabled {
    display: inline-block;
	color: #fff;
    background:#b5b5b5;
    padding:0 2px;
    -webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;
    opacity: 0.5;
}
.grid_view #product_list .ajax_block_product{float:left; padding:2em 1% 1em; display: flex; flex-direction: column;}
.grid_view.grid_view_2col #product_list .ajax_block_product{width:48%;}
.grid_view.grid_view_2col #product_list .ajax_block_product:nth-child(2n+1){clear:both;}
.grid_view.grid_view_3col #product_list .ajax_block_product{width:33.333%;}
.grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(3n+1){clear:both;}
.grid_view.grid_view_4col #product_list .ajax_block_product{width:25%;}
.grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(4n+1){clear:both;}
.grid_view.grid_view_5col #product_list .ajax_block_product{width:18%;}
.grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(5n+1){clear:both;}
.grid_view.grid_view_6col #product_list .ajax_block_product{width:14.66%;}
.grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(6n+1){clear:both;}

.grid_view #product_list .product_desc.display_sd{display: block;}


.brandname {
    color: #444444;
    clear: both;
    display: block;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a:hover .brandname  {
    color: inherit;
}

/** Przycisk Pokaz na liscie **/
/* TODO usunac ten przycisk z HTML */
a.button.exclusive.view_button {
    display: none;
}

/* From responsive.css */
@media (max-width: 980px){
	.grid_view #product_list .ajax_block_product .hover_fly { bottom:0; }
	.grid_view #product_list .ajax_block_product:hover .pro_second_box { background:none; }
    .grid_view #product_list .ajax_block_product:hover .pro_first_box,
    .grid_view #product_list .ajax_block_product:hover .pro_second_box{ -webkit-box-shadow:none; -moz-box-shadow:none; box-shadow:none; }
}

@media only screen and (min-width: 768px) and (max-width: 979px) {
    #product_list.list_view li .center_block,#product_list.list_view li .right_block {width: 313px;}

    .span6 .grid_view.grid_view_3col #product_list .ajax_block_product{width:48%;}
    .span6 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span6 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(3n+1){clear:none;}
    .span6 .grid_view.grid_view_4col #product_list .ajax_block_product{width:31.333%;}
    .span6 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(3n+1){clear:both!important;}
    .span6 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(4n+1){clear:none;}
    .span6 .grid_view.grid_view_5col #product_list .ajax_block_product{width:23%;}
    .span6 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(4n+1){clear:both!important;}
    .span6 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(5n+1){clear:none;}
    .span6 .grid_view.grid_view_6col #product_list .ajax_block_product{width:23%;}
    .span6 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(4n+1){clear:both!important;}
    .span6 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(6n+1){clear:none;}

    .span9 .grid_view.grid_view_3col #product_list .ajax_block_product{width:50%;}
    .span9 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span9 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(3n+1){clear:none;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product{width:31.333%;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(3n+1){clear:both!important;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(4n+1){clear:none;}
    .span9 .grid_view.grid_view_5col #product_list .ajax_block_product{width:23%;}
    .span9 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(4n+1){clear:both!important;}
    .span9 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(5n+1){clear:none;}
    .span9 .grid_view.grid_view_6col #product_list .ajax_block_product{width:23%;}
    .span9 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(4n+1){clear:both!important;}
    .span9 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(6n+1){clear:none;}

    .span12 .grid_view.grid_view_3col #product_list .ajax_block_product{width:48%;}
    .span12 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span12 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(3n+1){clear:none;}
    .span12 .grid_view.grid_view_4col #product_list .ajax_block_product{width:33.333%;}
    .span12 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(3n+1){clear:both!important;}
    .span12 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(4n+1){clear:none;}
    .span12 .grid_view.grid_view_5col #product_list .ajax_block_product{width:31.333%;}
    .span12 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(3n+1){clear:both!important;}
    .span12 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(5n+1){clear:none;}
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product{width:23%;}
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(4n+1){clear:both!important;}
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(6n+1){clear:none;}
}
.span9 .grid_view #product_list .ajax_block_product {
    padding-bottom: 45px;
    padding-top: 10px;
}

@media only screen and (max-width: 767px) {
    .span9 .grid_view #product_list .ajax_block_product {
        margin-bottom: 30px;
    }
	.grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(3n+1){clear:none;}
	.span9 .grid_view.grid_view_2col #product_list .ajax_block_product{width:98%;clear:both;}
    .span9 .grid_view.grid_view_3col #product_list .ajax_block_product{width:50%; padding-left: 5px; padding-right: 5px; margin-bottom: 40px;}
    .span9 .grid_view.grid_view_3col #product_list .ajax_block_product:nth-child(2n+1){clear:both;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product{width:50%; margin-bottom: 30px;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(2n+1){clear:both;}
    .span9 .grid_view.grid_view_5col #product_list .ajax_block_product{width:50%;}
    .span9 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span9 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(5n+1){clear:none;}
    .span9 .grid_view.grid_view_6col #product_list .ajax_block_product{width:31.333%;}
    .span9 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(3n+1){clear:both!important;}
    .span9 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(6n+1){clear:none;}

    .span12 .grid_view.grid_view_2col #product_list .ajax_block_product,
    .span12 .grid_view.grid_view_3col #product_list .ajax_block_product{width:98%;clear:both;}
    .span12 .grid_view.grid_view_4col #product_list .ajax_block_product,
    .span12 .grid_view.grid_view_5col #product_list .ajax_block_product{width:50%;}
    .span12 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span12 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(4n+1){clear:none;}
    .span12 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span12 .grid_view.grid_view_5col #product_list .ajax_block_product:nth-child(5n+1){clear:none;}
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product,
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(3n+1),
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(4n+1){clear:none;}
    .span12 .grid_view.grid_view_6col #product_list .ajax_block_product:nth-child(6n+1){clear:none;}

    .list_view #product_list .pro_first_box{float:none;width:250px;margin:0 auto;}
    .list_view #product_list .pro_second_box{margin-left:0;}
    .c-btn__notify { margin-right: 0 !important;}
}

/* Mobile (Landscape, iPhone 4 Portrait)
* 640px <= width < 768px */
@media only screen and (min-width: 640px) and (max-width: 767px) {
    .span9 .grid_view.grid_view_2col #product_list .ajax_block_product{width:48%;clear:none;}
    .span9 .grid_view.grid_view_2col #product_list .ajax_block_product:nth-child(2n+1){clear:both!important;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product{width:31.333%;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(3n+1){clear:both;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(4n+1){clear:none;}
    .span9 .grid_view.grid_view_4col #product_list .ajax_block_product:nth-child(2n+1){clear:none;}

    .list_view #product_list .pro_first_box{float:left;width:250px;}
    .list_view #product_list .pro_second_box{margin-left:270px;}
}

.unavailable img, .unavailable .pro_second_box {
    opacity: .7;
}

.js-notification-open-list {
    background: #777 !important;
}

span.productname {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid_view .js-dbs-products-reviews--product-list-product {
    margin: 5px 0 9px;
    min-height: 20px;
}
@media all and (min-width: 767px) {
    .product-flex-name {
        display: flex;
        justify-content: space-between;
    }
    .product-flex-name .pro_list_attributes {
        white-space: nowrap;
        margin: 19px 0 0 5px;
    }    
}


label.PM_ASLabelCheckbox {
    padding-left: 5px;
}

div.listing-promo-box {
    text-align: center;
    background-color: #f0825c;
    padding: 17px;
    color: white;
}

div.listing-promo-box div.title {
    font-size: 3em;
    padding-top: 7px;
}

div.listing-promo-box div.subtitle {
    font-size: 15px;
    margin-top: 20px;
}

div.listing-promo-box a {
    text-decoration: underline;
    color: white;
}

div.listing-promo-box a.cta {
    border: 1px solid white;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

div.listing-promo-box div.details {
    display: none;
    margin-top: 20px;
}

.search #center_column {
    transition: none !important;
}

