/*
Theme Name: Hello Elementor Child 02
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1.1.1723048503
Updated: 2024-08-07 16:35:03

*/


.container-sub-cat-filter {
	display:flex;
}


.filter-sub-cat {
	width:30%;
	background: #dee3e6;
	margin-right:10px;
	padding:20px;
}

.cat-grid {
	width: 100%;
}

.cont-check {
	display: inline;
	margin-right:5px;
}

.dtablecell {
	display: table-cell !important;
	vertical-align: middle;
}

.custom-accordion {
  border: 1px solid #ddd;
  /*border-radius: 8px;*/
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid #eee;
}


.accordion-button:focus {
  background-color: #0A7496;
}

.accordion-button {
  border-radius: 0px;
  background-color: #0A7496;
  color: white;
  border: none;
  width: 100%;
  padding: 15px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-button:hover {
  background-color: #eaeaea;
}

.accordion-button .icon {
  margin-right: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.accordion-button.active .icon {
  content: "-";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 15px;
  background: #fff;
}

.accordion-content.open {
  padding: 15px;
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
}

.cat-grid-search {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 20px;
}

.cat-box {
    text-align: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.cat-box:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cat-box .image-wrapper {
    height: 120px; /* Altezza fissa */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
	max-width: 120px;
    margin-right: auto;
    margin-left: auto;
}

.cat-box .image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.cat-box-acc {
    text-align: center;
    border: 1px solid #eee;
    /*padding: 15px;*/
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
    /*display: flex;
    flex-direction: column;
    justify-content: flex-start;*/
    height: 100%;
}

.cat-box-acc:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cat-box-acc .image-wrapper {
    height: 120px; /* Altezza fissa */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.cat-box-acc .image-wrapper img {
    object-fit: contain;
	margin-bottom: 10px;
    margin-top: 10px;
    height: 100%;
}

.img-acc {
	max-height: 150px !important;
}
.img-cava {
	max-width: 30px !important;
	height: auto;
	margin-left:5px;
}

.intestTable {
	background: #0A7496;
	color:white;
}

.btn-tipo {
  background-color: #ccc;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  flex: 1;
  transition: 0.2s ease;
}

.btn-tipo:hover {
	background-color: #004C70 !important;
}

.btn-tipo:focus {
	background-color: #004C70 !important;
}

.btn-tipo.active {
	background-color: #004C70 !important;
}

.toggle-tipi {
	margin-bottom: 20px;
	display: flex;
	gap: 10px;
}

.hidden {
	display:none !important;
}

.size-w, .size-h {
	width:100px;
	background:white;
}

.nobg {
	background: none !important;
	border:0 !important;
	padding:3px;
}

.line-prof, .size-w, .size-h, .cat-accs, .mat-accs, .dim-cav {
	border:0;
}

.loader {
  display: inline-block;
  background-color: #23282d;
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 10px;
  position: relative;
}

.loader::before {
  content: '';
  position: absolute;
  background-color: #fbfbfc;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 100%;
  transform-origin: 8px 8px;
  animation-name: spin;
  animation-duration: 1000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.search-cava {
	width: 25px;
	margin-left: 5px;
}

.result-filter {
	margin-bottom: 15px;
}

.custom-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 10px;
  column-gap: 3px;
  max-width: 100%;
  margin-bottom: 15px;
}

.custom-pagination a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #333;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  min-width: 30px;
  text-align: center;
  flex: 0 1 auto;
}

.custom-pagination a:hover {
  background-color: #f2f2f2;
  border-color: #aaa;
}

.custom-pagination .active {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
  font-weight: bold;
}

.table-responsive {
	width: 100%;
	overflow-x:auto;
}

.add-to-cart {
	cursor:pointer;
	margin:3px;
	font-size: 20px;
}

.ac-1 {
    background-color: #00aeef;
	border-radius: 15px !important;
  	padding: 20px;
}

.ac-2 {
    background-color: #6ccff6;
	border-radius: 15px !important;
  	padding: 20px;
}

.bh-1 {
    background-color: #00a651;
	border-radius: 15px !important;
  	padding: 20px;
}

.bh-2 {
    background-color: #87bf9e;
	border-radius: 15px !important;
  	padding: 20px;
}

.im-1 {
    background-color: #f6862b;
	border-radius: 15px !important;
  	padding: 20px;
}

.im-2 {
    background-color: #fbbb89;
	border-radius: 15px !important;
  	padding: 20px;
}

.mc-1 {
    background-color: #57c5c6;
	border-radius: 15px !important;
  	padding: 20px;
}

.mc-2 {
    background-color: #9dd8db;
	border-radius: 15px !important;
  	padding: 20px;
}

.linea-ac-text {
	color: #00aeef;
	font-weight:bold;
	font-size:1.4em;
}

.linea-bh-text {
	color: #00a651;
	font-weight:bold;
	font-size:1.4em;
}

.linea-im-text {
	color: #f6862b;
	font-weight:bold;
	font-size:1.4em;
}

.linea-mc-text {
	color: #57c5c6;
	font-weight:bold;
	font-size:1.4em;
}

.ricerca-equal-height > .e-con-inner {
  display: flex !important;
  align-items: stretch !important;
}

.ricerca-equal-height > .e-con-inner > .e-con {
  display: flex !important;
  flex-direction: column !important;
}

.ricerca-equal-height > .e-con-inner > .e-con > .elementor-element {
	height:100% !important;
}

.ricerca-equal-height > .e-con-inner > .e-con > .elementor-element > .elementor-widget-container > .elementor-shortcode {
	height:100% !important;
}

.cat-box-search {
    text-align: center;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.cat-box-search:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cat-box-search .image-wrapper {
    height: 120px; /* Altezza fissa */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.cat-box-search .image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.filter {
	padding:5px;
}

/* Pulsante toggle laterale mobile */

.filters-toggle-handle {
    display: none;
}

.mobile-filters-panel {
	background-color: #dee3e6;
	padding: 20px;
	height: 100%;
}

.mobile-filters-wrapper {
	height: 100%;
}

#openCart {
	cursor:pointer;
}

.e-fas-shopping-cart {
	cursor:pointer !important;
}

.input-qta, .input-lng,  .input-pezzi-qnt{
	width: 60% !important;
	margin-right: 3px;
}

.cartCounter {
	background: red;
  padding: 3px;
  border-radius: 3px;
  color: white;
}

.um_desc {
	font-size: 1.8rem;
}

.duplicate-item {
	cursor: pointer;
  padding: 9px;
  margin-left: 10px;
  background: #00739c;
  color: white;
  font-size: 1.2rem;
  border-radius: 3px;
}

.rimuovi-item {
	cursor: pointer;
  padding: 9px;
  margin-left: 10px;
  background: red;
  color: white;
  font-size: 1.2rem;
  border-radius: 3px;
}

#cart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background-color: #00739c;
	color: white;
	font-weight: bold;
	position: sticky;
	top: 0;
	z-index: 10;
}

.cont-image-category {
	text-align:center;
}

.breadcrumbs {
	/*background-color: #0A7496; /* #114557 */
  color: #0A7496;
  padding: 5px;
  font-size: 14px;
  border-radius: 5px;
}

.breadcrumbs > a {
	color: #0A7496; !important;
  font-weight: bold;
}

.title-cat {
	background: #0A7496;
	color: white;
	font-weight: bold;
	margin-bottom: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

@media (max-width: 768px) {
	.cont-check {
		display: block;
		margin-right:0px;
	}
		
	.img-dim {
		width: 100%;
		max-height: 200px;
	}
	
	.image-wrapper {
		margin: 0 auto;
	}
	
	.image-wrapper > img {
		height:100% !important;
		width:100% !important;
	}
	
	#cart-header {
		flex-direction: column;
	}
	
	#btn-preventivo {
		width:100%;
		margin-bottom:5px;
		margin-top:5px;
	}
	
	#btn-svuota {
		width:100%;
		margin-bottom:5px;
	}
	
	.duplicate-item {
		margin:0px;
		padding: 5px;
        margin-top: 5px;
	}
	
	.rimuovi-item {
		margin:0px;
		padding: 5px;
        margin-top: 5px;
	}
	
	.table-responsive {
    overflow-x: auto;
    width: 100%;
    display: block;
  }

  .table-responsive table {
    table-layout: auto !important;
    width: 100% !important;
  }

  .table-responsive td {
    word-wrap: break-word;
  }

  .table-responsive img {
    max-width: 100%;
    height: auto;
    display: block;
  }
	
	.img-acc {
		display:block;
				margin: 0 auto;
	}
	
	.filter-sub-cat {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;	
		width: 280px;
		max-width: 80vw;
		box-shadow: 2px 0 8px rgba(0,0,0,0.2);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
	}
	
	.filter-sub-cat.open {
		z-index: 9999;
		transform: translateX(0);
	}
	
  .mobile-filters-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
  }
	
	.cat-grid-search
	{
		margin-left:20px;
	}

  .filters-toggle-handle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #dee3e6;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 5px 5px 0;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 18px;
	display:block;
	color:black;
	z-index: 9999;
  }

  .mobile-filters-panel {
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
	
	.mobile-filters-wrapper.open {
		z-index: 9999;
	}

  .mobile-filters-wrapper.open .mobile-filters-panel {
    transform: translateX(0);
  }

  .filters-toggle-handle.open {
    position: fixed;
	z-index: 9999;
    left: 278px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    background: #dee3e6;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 5px 0 0 5px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 18px;
	display:block;
	transition: transform 0.3s ease;
  }
	/*
  .elementor-11755 .elementor-element.elementor-element-f300963 {
  	display: auto !important;
	--display: auto;
  }
	
  .elementor-11755 .elementor-element.elementor-element-c3851b8 {
    --display: auto;
	  display: auto !important;
  }
	
  .ricerca-equal-height > .e-con-inner > .e-con {
     display: block;
  }*/
}

.w-100 {
	width: 100%;
}
