/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
ol li {
    margin-bottom: 1.5em;
    line-height: 1.2em;
}
 
#header .header-nav .top-logo {width: auto !important;}
.home_allegro {display: block; box-sizing: border-box; max-width: 100%}
#footer img {max-width: 100%}
img, iframe {
    max-width: 100%;
    height: auto;
}
.social-icons img {
	width: 32px;
	margin-right: 10px;
	margin-top: 10px;
}
@media all and (max-width: 600px) {
	.popup_cont {top:0 !important; left:0 !important;}
	#footer .dostawcy img {
		max-width: 25%;
		margin-right: 7% !important;
	}
	
}

.product-flags li.discount, .product-flags li.discount-amount, .product-flags li.discount-percentage {
    background-color: #f39d72;
}
.product-flags li {
    pointer-events: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background: #2fb5d2;
    font-weight: 700;
    padding: .3125rem .4375rem;
    text-transform: uppercase;
    color: #fff;
    margin-top: .625rem;
    font-size: 1rem;
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%);
}
.carousel .carousel-inner {
    height: auto;
}
.carousel .carousel-item .caption h2 {
    font-size: 1.2em;
    text-transform: none !important;
}
.carousel .carousel-item .caption {
    display: block;
    position: absolute;
    z-index: 2;
    font-size: 1em;
    text-shadow: none;
    color: #fff;
    background: #000;
    background: rgba(0,0,0, .6);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 20px;
    margin: 0;
    max-width: none;
}
.block-category .block-category-inner {
    display: block;
}
.carousel .carousel-item .caption .display-1 {
    font-size: 1.2em;
    text-transform: none !important;
}
.carousel .carousel-item img {
    width: revert-layer;
}

.twitter.icon-gray {
    background-image: url(/img/x-logo-black.png);
    background-size: 20px;
    background-position: center;
}
.twitter.icon-gray:hover {
    background-image: url(/img/x-logo-blue.png);
}
@media all and (max-width: 767px) {
.PM_ASBlockOutput .card-block {
    display: none;
}
}
.product-miniature {
    height: 100%;
}
.product-miniature .thumbnail-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


#module-supercheckout-supercheckout #header .header-nav {
    max-height: 400px;
}