/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.h1,
.h2,
.h3,
.h4,
body,
p,
ul,
li,
.product-miniature .product-title a,
.page-content.page-cms ul,
p,
.x13askabouttheproduct_button a {
	color: #000000;
}

#checkout .delivery-option img {
	max-width: 100%;
	height: auto;
}

.home_boxes_item_inner {
	position: relative;
	display: block;
	background-color: #fff;
	border-radius: 0;
	border: 0;
	padding: 1.25rem 1.25rem 0.70rem 1.25rem;
}

.home_boxes .row {
	display: flex;
	flex-wrap: wrap;
}

#product-availability {
	display: block;
}

.product_availability span {
	padding: 4px 10px;
	color: #fff;
}

.product_availability span.available {
	border: 1px solid #319539;
	background: #50c758;
}

.product_availability span.available.available_later {
	border: 1px solid #e6751b;
	background: #ff9100;
}

.product_availability span.last_remaining_items {
	border: 1px solid #e6751b;
	background: #ff9100;
}

.product_availability span.product_unavailable {
	border: 1px solid #bc0000;
	background: #ff1414;
}

.product-flags li.product-flag.discount,
.product-flags li.product-flag.discount-amount,
.product-flags li.product-flag.discount-percentage {
	background-color: #ff1414;
}

.product-miniature .highlighted-informations {
	height: 100%;
}


#products .product-title a,
.featured-products .product-title a,
.product-accessories .product-title a,
.product-miniature .product-title a {
	padding: 0px;
}


html #products .thumbnail-container .product_availability,
html .featured-products .thumbnail-container .product_availability,
html .product-accessories .thumbnail-container .product_availability,
html .product-miniature .thumbnail-container .product_availability {
	text-align: center;
	display: block;
	padding-top: 12px;
	margin-bottom: -5px;
}

html #products .thumbnail-container .product_availability span,
html .featured-products .thumbnail-container .product_availability span,
html .product-accessories .thumbnail-container .product_availability span,
html .product-miniature .thumbnail-container .product_availability span {
	display: inline-block;
	font-weight: 600;
	font-size: 15px;
}

.product-miniature .product-title {
	min-height: 40px;
}


.tabs {
	margin: 20px 0 40px;
}

.home_boxes_item_inner_title a {
	color: #232323;
}

.home_boxes_item_inner_title a:hover {
	color: #0e54a9;
}

.block-category {
	min-height: auto !important;
}


/* NAGŁÓKI SEKCJI */
.products-section-title::after {
	content: "";
	display: block;
	margin: 20px 0;
	width: 100px;
	height: 1px;
	background-color: #1E56A3;
}

/* NAGŁÓWEK GÓRNY */
#header {
	box-shadow: none;
}

#header .header-nav {
	margin-bottom: 10px;
	border: none;
	max-height: none;
}

/* WYSZUKIWARKA */
#header .header-nav .search-widget,
.search-widget form input[type=text] {
	width: 100%;
}

/* PRZYCISK ZALOGUJI KOSZYK */
#header .header-nav .user-info {
	margin-left: 0;
}

/* IKONY KONTAKTU */
.nav-contact-info {
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;
}

.nav-contact-info-phone {
	margin-left: 20px;
}

.nav-contact-info i {
	font-size: 16px;
	margin: -7px 4px 0 0;
}

.nav-contact-info a {
	font-size: 14px;
	color: #232323;
}

.nav-contact-info a:hover {
	color: #0e54a9 !important;
}

/* NAGŁÓWEK DOLNY - MENU */
#header .header-top {
	padding-bottom: 0px;
	padding-top: 0px;
	background-color: #1E56A3;
}

#_desktop_top_menu {
	padding-bottom: 15px;
	padding-top: 15px;
}

#header .top-menu a[data-depth="0"] {
	color: #ffffff;
}

#header .top-menu a[data-depth="0"]:hover {
	color: #ffffff;
}

#header .header-top .position-static {
	text-align: center;
}

/* NAGŁÓWKI NA STRONIE GŁÓWNEK */
.featured-products .products-section-title {
	text-align: left;
	padding-left: 8px;
}

/* SLIDER */
.carousel,
.carousel-inner {
	margin-bottom: 0;
}

.carousel .carousel-inner,
.carousel .carousel-item img {
	height: 500px;
}

.carousel .carousel-item img  {
	object-fit: cover;
	object-position: center;
}

.carousel .carousel-control.left {
	left: 3%;
}

.carousel .carousel-control.right {
	right: 3%;
}

.carousel .carousel-item .caption {
	display: flex;
	flex-direction: column;
	justify-content: center;
	bottom: 0 !important;
	top: 0 !important;
	left: 23% !important;
	transform: translateX(-23%);
	position: absolute !important;
	margin: 0 !important;
}

@media (max-width: 575.98px) {
	.carousel .carousel-item .caption {
		left: calc(6% + 32px) !important;
		right:  calc(6% + 32px);
		transform: none !important;
	}
}

@media (max-width: 991.98px) {
	.carousel .carousel-item .caption .display-1 {
		color: #FFFFFF !important;
		font-size: 3rem;
		font-weight: 700;
		text-align: left;
	}

	.carousel .carousel-item .caption {
		text-align: left;
	}

	.carousel .carousel-item .caption .caption-description .page-content.page-cms ul,
	.carousel .carousel-item .caption .caption-description h3,
	.carousel .carousel-item .caption .caption-description p,
	.page-content.page-cms .carousel .carousel-item .caption .caption-description ul {
		color: #FFFFFF !important;
	}
}

@media (max-width: 575.98px) {
	.carousel .carousel-item .caption .display-1 {
		font-size: 1.65rem;
	}

	.carousel .carousel-item .caption .caption-description h3,
	.carousel .carousel-item .caption .caption-description p {
		font-size: 14px;
	}
}

/* MENU WERSJA MOBILNA */

#mobile_top_menu_wrapper {
	background-color: #1E56A3;
}

/* LABEL PROMOCJA */

.featured-products .product-miniature .on-sale.on-sale,
.featured-products .product-miniature .discount-percentage.discount-percentage {
	background-color: red;
}

/* BOXY NA STRONIE GŁÓWNEJ */
.home_boxes_item {
	margin-bottom: 30px;
}

.home_boxes_item_inner {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #888888;
	height: 100%;
}

.home_boxes_item:nth-of-type(1) .home_boxes_item_inner {
	background-image: url("https://www.euroskrzynki.pl/img/cms/strona/skrzynki-indywidualne-transparent-70.png");
}

.home_boxes_item:nth-of-type(2) .home_boxes_item_inner {
	background-image: url("https://www.euroskrzynki.pl/img/cms/strona/skrzynki-euroskrzynki-transparent-70.png");
}

.home_boxes_item:nth-of-type(3) .home_boxes_item_inner {
	background-image: url("https://www.euroskrzynki.pl/img/cms/strona/skrzynki-przelotowe-transparent-70.png");
}

.home_boxes_item:nth-of-type(4) .home_boxes_item_inner {
	background-image: url("https://www.euroskrzynki.pl/img/cms/strona/skrzynki-z-domofonem-transparent-70.png");
}

.home_boxes_item_inner_desc h2,
.home_boxes_item_inner_desc h2 a,
.home_boxes_item_inner_desc p {
	color: #ffffff !important;
}

/* SERVICE ICON */

.service-section {
	padding: 40px 0;
}

.service-box {
	text-align: center;
}

.service-box-icon {
	margin-bottom: 20px;
}

.service-box-header {
	font-size: 18px;
	font-weight: 600;
	min-height: 45px;
	color: #232323;
}

/* STOPKA */
#footer {
	background-color: #1E56A3;
	padding-bottom: 40px;
}

.footer-container {
	box-shadow: none;
}

#footer .h3,
#footer .h3 a,
#footer a {
	color: #ffffff;
}

#footer a:hover {
	text-decoration: underline;
}

.block-contact,
.block-contact .h4 {
	color: #ffffff;
}

.block-contact {
	font-size: 14px;
}

/* WYRÓŻNIONE PRODUKTY */

.featured-products {
	margin-top: 30px;
}

/* WYRÓŻNIONE WPISY */

.jxfeatured-posts {
	margin-bottom: 20px;
}

.jxfeatured-posts .post-section-title {
	text-align: left;
}

.jxfeatured-posts .post-section-title::after {
	content: "";
	display: block;
	margin: 20px 0;
	width: 100px;
	height: 1px;
	background-color: #1E56A3;
}

/* IKONA ZADZWOŃ DO MNIE */
#x13callback_button {
	bottom: 110px;
	z-index: 9999 !important;
	background: #1639df !important;
}

/* WARIANTY PRODUKTÓW */
.product-variants>.product-variants-item {
	margin: 0;
}

/* MEDIA QUERY */
@media(min-width: 992px) and (max-width: 1200px) {
	#header .header-nav .search-widget {
		width: 90%;
	}
}

@media(min-width: 768px) and (max-width: 991px) {

	#header .header-nav .search-widget {
		width: 50%;
	}

	.carousel .carousel-inner,
	.carousel .carousel-item img {
		height: 400px;
	}
}


@media(max-width: 767px) {
	#header .header-top {
		padding-top: 0;
	}

	.service-section {
		padding: 20px 0;
	}

	.service-box {
		margin: 30px 0;
	}


	.carousel .carousel-inner,
	.carousel .carousel-item img {
		height: 300px;
	}

	.featured-products .products-section-title,
	.jxfeatured-posts .post-section-title {
		text-align: center;
	}

	.products-section-title::after,
	.jxfeatured-posts .post-section-title::after {
		margin: 20px auto;
	}

	.footer-container .links ul {
		background-color: #1E56A3;
	}

	.footer-container .navbar-toggler {
		color: #ffffff;
	}
}

#checkout #footer a {
	color: #0658a5;
}

.carousel .carousel-item figure {
	display: block;
}

.h1,
.h2,
.h3 {
	text-transform: none !important;
}

.block-categories .h6,
#search_filters>.h6,
#search_filters_brands>.h6,
#search_filters_suppliers>.h6 {
	font-weight: 600 !important;
	font-size: 1rem !important;
}

.block-category h1 {
	font-size: 1.375rem;
}

#_desktop_logo,
#search_widget {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#search_widget {
	width: 100%;
}

#search_widget form {
	position: relative;
}

#search_widget form input {
	background-color: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 0px;
	padding: 10px 40px 10px 20px;
}

#search_widget i {
	padding: 0px !important;
	position: unset !important;
}

#search_widget button[type="submit"] {
	position: absolute;
	background: none;
	border: none;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	color: #7a7a7a;
}

#_mobile_search #search_widget {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 0 10px 0;
}

#header .header-top a[data-depth="0"] {
	text-transform: none;
}

.x13wysylka-p {
	box-shadow: none;
	margin-bottom: 20px;
}

.x13askabouttheproduct_button a .material-icons::after {
	box-shadow: none;
}

@media (max-width: 767.98px) {
	#header .header-top {
		background: #FFFFFF;
	}

	.header-top-right {
		width: 100%;
		padding-right: 15px;
	}
}

#header .header-nav .mobile #menu-icon,
#header .header-nav .mobile .blockcart {
	margin: 0 15px !important;
}

/* ====== PODSTAWA ====== */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.custom-modal.show {
  display: flex;
}

.custom-modal-dialog {
  background: #fff;
  width: 500px;
  border: 1px solid rgba(0, 0, 0, .2);
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.custom-modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.custom-modal-close .material-icons {
  color: #363a42;
  cursor: pointer;
}

.custom-modal-body {
  padding: 15px;
  font-size: 14px;
  color: #232323;
}

.custom-modal-footer {
  padding: 15px;
  border-top: 1px solid #e5e5e5;
  text-align: right;
}

.custom-modal-footer {
  display: flex;
  gap: 15px;
}

.custom-modal-footer .btn {
  flex: 1;
  max-width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}