@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
html { font-size: 14px;}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #000; letter-spacing: 0.063rem;   font-family: "Raleway", serif;}
button, select, input { outline: 0!important; box-shadow: none;}
a { color: inherit;}
a:hover { text-decoration: none; opacity: .8; color: inherit;}
:focus { outline: none; }
.btn.focus, .btn:hover, .btn:focus { text-decoration: none; box-shadow: none; }
.dropdown-menu { padding: 10px 0 10px 0; left: auto !important;	border-radius: 0;  margin-top: 0; background-color: #fff; border: none; border-top: 5px solid #b01d1f; }
.dropdown-item.active, .dropdown-item:active { background-color: #343a40;}
.dropdown-item:hover{ font-weight: 600; background-color: transparent!important;}
.form-control.is-invalid, 
.was-validated .form-control:invalid,
.form-control.is-valid,
.was-validated .form-control:valid {-webkit-appearance: none; -moz-appearance: none; appearance: none;}

@media (min-width: 576px){
	html { font-size: 16px;}
}

@media (min-width: 992px){
	.dropdown:hover .dropdown-menu{display: block;}
}

.f-size-1 { font-size: 1rem !important}
.c-pointer { cursor: pointer}

h1,h2,h3,h4,h5,h6{ font-weight: inherit; }

/* --------------------- CUSTOM BOOTSTRAP -------------------- */
@media (min-width: 1480px){
	.container, .container-sm, .container-md, .container-lg, .container-xl{ max-width: 1400px; }
	.col-xxl-1 { -ms-flex: 0 0 8.333333%; flex: 0 0 8.333333%; max-width: 8.333333%; }
	.col-xxl-2 { -ms-flex: 0 0 16.666667%; flex: 0 0 16.666667%; max-width: 16.666667%; }
	.col-xxl-3 { -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%; }
	.col-xxl-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%;}
	.col-xxl-5 { -ms-flex: 0 0 41.666667%; flex: 0 0 41.666667%; max-width: 41.666667%; }
	.col-xxl-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
	.col-xxl-7 { -ms-flex: 0 0 58.333333%; flex: 0 0 58.333333%; max-width: 58.333333%; }
	.col-xxl-8 { -ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; }
	.col-xxl-9 { -ms-flex: 0 0 75%; flex: 0 0 75%; max-width: 75%; }
	.col-xxl-10{ -ms-flex: 0 0 83.333333%; flex: 0 0 83.333333%; max-width: 83.333333%; }
	.col-xxl-11{ -ms-flex: 0 0 91.666667%; flex: 0 0 91.666667%; max-width: 91.666667%; }
	.col-xxl-12{ -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
}
.container-fluid{ max-width: 1920px; }
.color-web{color: #b01d1f;}
.container-productes { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.object-fit-cover{object-fit: cover!important;}

@media (min-width: 576px)   { .container-productes { max-width: 540px; } }
@media (min-width: 768px)   { .container-productes { max-width: 720px; } }
@media (min-width: 992px)   { .container-productes { max-width: 960px; } }
@media (min-width: 1200px)  { .container-productes { max-width: 1140px; } }
@media (min-width: 1400px)  { .container-productes { max-width: 1320px; } }
@media (min-width: 1600px)  { .container-productes { max-width: 1700px; } }

/* -------------------------- MARGINS ------------------------ */
.margin-bottom-5{margin-bottom: 5px;}
.margin-bottom-15{margin-bottom: 15px;}
.margin-bottom-25{margin-bottom: 25px;}
.margin-bottom-30{margin-bottom: 30px;}
.margin-bottom-50{margin-bottom: 50px;}
.margin-bottom-55{margin-bottom: 55px;}
.margin-bottom-60{margin-bottom: 60px;}

/* -------------------------- PADDINGS ------------------------ */
.padding-left-20{padding-left: 20px;}

/* -------------------------- WHATSAPP ------------------------ */
#contactarNav { position: absolute; right: 30px;  bottom: 5vh; }
#contactarNav a:hover { opacity:1!important;}
#contactarNav .ico-left { margin-right: 15px;}
#contactarNav .ico-left-txt { width: auto;}

/* -------------------------- DISPLAYS ------------------------ */
@media (min-width: 768px){
	.d-md-table-header-group {display: table-header-group!important;}
}

/* -------------------------- NAVBAR ------------------------ */
.navbar { color: #000; background-color: #fff!important; font-size: 15px!important; position: sticky; top: 0px; z-index: 50;}
.navbar .navbar-toggler { color: #FFFFFF; border: none; font-size: 18px;}
.navbar-nav.flex-row .nav-item { margin-right: 15px; }
.logo-top svg{max-width: 240px; min-width: 240px;}

.hover-dropdown:hover .dropdown-menu { display: block; position: absolute;}
.hover-dropdown .dropdown-item:hover { font-weight: 600;}
.hover-dropdown .dropdown-toggle::after { display: inline-block; width: 0; height: 0; margin-left: .255em; vertical-align: .255em; content: ""; 
	border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent;}

.container-nav{ max-width: 1700px!important;}
.navbar.scrolled {box-shadow: 7px 2px 7px 0 rgba(0, 0, 0, 0.1); }
.nav-item .nav-link {font-weight: 600;}

@media (max-width: 576px) {
	.logo-top svg{max-width: 180px; min-width: 180px;}
}
.mask_user {
	width: 100%;
	height: 25px;
	background-color: purple;
	position: fixed;
	top: 49px;
	z-index: 1000000;
}

@media (max-width:1400px){
	.nav-item .nav-link { font-size: 12px; }
}

@media (max-width: 768px){
	.navbar-brand img { max-width: 100px;}
}

/* -------------------------- SLIDER FIXES ------------------------ */
.slick-slider{ backface-visibility: hidden; -webkit-backface-visibility: hidden;}
.slick-slider .container, .slick-slider .container-fluid { position: absolute; top: 50%; left: 0; right: 0; margin-left: auto;
    margin-right: auto; -webkit-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); }
.slick-list, .slick-track, .slick-slide{ height: inherit!important;}
.slick-arrow { color: #fff!important; width: 40px; height: 35px;}
.slick-prev{left: 15px; z-index: 5;}
.slick-next {right: 15px; z-index: 5;}
.slider-productos .slick-prev:before {content: "\f359"; color: #b01d1f; font-size: 40px; position: absolute; bottom: 40px; right: 60px;}
.slider-productos .slick-next:before {content: "\f35a"; color: #b01d1f; font-size: 40px; position: absolute; bottom: 40px; left: 60px;}
.slick-next:before, .slick-prev:before { font-family: "Font Awesome 5 Free"; font-weight: 900;}
.slick-slider .slick-slide { position: relative; }
.slick-dots li:only-child { display: none;}
.slider-productos .slick-dots li button:before { display: block; width: 0.5rem; height: 0.5rem; padding: 0; border: none; border-radius: 100%; background-color: #b01d1f; text-indent: -9999px;}
.slider-productos .slick-dots li.slick-active button:before { opacity: 1; }

/* -------------------------- HOME ------------------------ */
.slider-inici .slick-prev:before {content: "\f053"; color: #b01d1f; font-size: 30px; }
.slider-inici .slick-next:before {content: "\f054"; color: #b01d1f; font-size: 30px;}
.slider-inici .slick-dots li button:before { font-family: 'Font Awesome 5 Free'; opacity: 1!important; content: '\f111'; font-weight: 400; font-size: 10px; margin-top:-40px; color: #b01d1f; }
.slider-inici .slick-dots li.slick-active button:before { font-weight: 600; color: #b01d1f; }

.slider-inici { position: relative; width: 100%; height: 100vh; margin-bottom: 60px;}
.slider-inici .item { overflow: hidden;}
.slider-inici video { display: block; position: absolute; top: 50%; left: 50%; min-width: 100%;
  min-height: 100%; width: auto; height: auto; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.slider-inici iframe { position: relative; pointer-events: none;}
.slider-inici .container-iframe { background: #eee; height: 100%; overflow: hidden; padding: 0; position: relative;}
.slider-inici .container-iframe iframe { box-sizing: border-box; height: 56.25vw; left: 50%; min-height: 100%;
    min-width: 100%; transform: translate(-50%, -50%); position: absolute; top: 50%; width: 177.77777778vh;}
.slider-inici .slide-image { height: 100%; background-size: cover; background-position: center;}
.slider-inici .row {height: inherit;}
.slider-inici .block{padding: 15px; background-color: rgba(0,0,0,.5); margin-bottom: 15px;}
.slider-inici .nom { color: #fff; font-size: 1.75rem; }
.slider-inici .txt { color: #fff; font-size: 1.25rem; }
#slider-inici-mobile+.slick-arrows{display: block;}
#slider-inici-pc+.slick-arrows{display: none;}
.img-block{display:block; height: 0; padding-bottom: 100%; position: relative; margin-bottom: 15px; text-align: center; color: #9a9da0;}
.img-block img, .img-block i{position: absolute; top: 50%; -webkit-transform: translateY(-50%); -o-transform: translateY(-50%); 
	transform: translateY(-50%); max-height: 100%; left: 0; right: 0; margin-left: auto; margin-right: auto; font-size: 150px; border-radius: 5px;}

.txt-categorias{font-size: 24px;}
.slider-productos { display: block; width: 100%; box-sizing: border-box; padding-left: 10px; padding-right: 10px; }
.slider-productos .slick-slide {margin: 0 10px; }  
.slider-productos .slick-track {display: flex; }  
.slider-productos .slider-item { text-align: center; background-color: #eaeaea; font-size: 20px; font-weight: bolder; height: auto;}
.slider-productos img { width: 100%; height: auto; border-bottom: 5px solid #b01d1f; object-fit: cover; aspect-ratio: 1 / 1;}
  
.card-sectors img { width: 400px; height: 200px; object-fit: cover; aspect-ratio: 1 / 1;}
.icona-blochome {background-color: #b01d1f; border-radius: 50%; max-width: 150px; max-height: 150px; height: 100%; width: 100%;  align-items: center; overflow: hidden; margin: 25px; display:flex; align-items: center; justify-content: center;}
.icona-blochome img {padding: 10px; object-fit: contain; box-sizing: border-box;  aspect-ratio: 1 / 1;}
.blochome-section { background-color: rgb(206, 206, 206);}
.header-home{font-size: 2rem; margin-bottom: 8pxs;}
.fw-600{ font-weight: 600;}

.fs-14{ font-size: 14px;}
.fs-20{ font-size: 1.25rem;}
.fs-24{ font-size: 1.5rem;}
.fs-27{ font-size: 1.688rem;}
.fs-32{ font-size: 2rem; }
.fs-44{ font-size: 3rem;}

.fs-80{ font-size: 5rem;}
.fs-100{ font-size: 6.25rem;}
.titol-legal{font-size: 24px!important;}
@media (max-width: 576px){
	.fs-32 { font-size: 15px;}
}

@media (min-width: 576px){
	.slider-inici .block{margin-bottom: 0;}
	.slider-inici .nom { margin-bottom: 30px;}
	.slider-inici .txt { margin-bottom: 60px;}
	.img-block img, .img-block i{font-size: 60px;}
}

@media (min-width: 768px){
	#slider-inici-mobile+.slick-arrows{display: none;}
	#slider-inici-pc+.slick-arrows{display: block;}
}

/* -------------------------- SECTORS ------------------------ */

.grid-sector{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:auto;grid-column-gap:30px;grid-row-gap:30px}
.grid-sector .item{background-color:#f7f7f7;display:flex;flex-direction:column;height:100%}
.grid-sector .item .body{flex:1;padding:20px;display:flex;flex-direction:column}
.grid-sector .item .body .nom{font-size:24px;font-weight:bolder;margin-bottom:10px}
.grid-sector .item .body .text{font-size:16px;margin-top:10px;flex-grow:1;}
.grid-sector img{width:100%;max-height:160px;height:100%;object-fit:cover;aspect-ratio:1/1}

@media (max-width: 992px) {
	.grid-sector{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 590px) {
	.grid-sector { grid-template-columns: repeat(1, 1fr); } 
}
@media (max-width: 320px) {
	.grid-sector { grid-auto-rows: 450px; } 
}

/* -------------------------- NOTICIES ------------------------ */
.noticia-block{margin-bottom: 30px; border: 1px solid #343a40; padding: 15px;}
.noticia-block .nom{margin-bottom: 5px; font-weight: 600; font-size: 1rem; display: block;}
#slider-noticia{margin-bottom: 0;}

/* -------------------------- PRODUCTES ------------------------ */

.producte-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));gap: 10px;}
/* display none en el card para la funcion de js de mostrar mas */
.producte-card {border: 1px solid #f3f3f3; border-radius: 15px; background-color: #fff; transition: box-shadow 0.3s ease; display: none; }
.producte-card .img-producte {padding: 20px ;width: 100%; max-height: 270px; height: 100%; object-fit: contain; aspect-ratio: 1 / 1;}
.producte-card .body {padding: 20px; flex-grow:1 }
.producte-card .body ul {padding-left: 20px!important;}
.producte-card .footer {padding: 20px;}

.producte-btn{ position: relative; padding: 10px 15px; background-color: #b01d1f; color: #FFFF!important; text-transform: uppercase; font-weight: 600; border-radius: 50px; }


.producte-card:hover {box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}
.img-relacionat { width: 58px; height: 58px; object-fit: cover; border-radius: 25px;display: block;}
@media (max-width: 590px) {
	.productes-relacionats-none{display: none;}
	.producte-grid { grid-template-columns: repeat(1, 1fr); } 
}

.producte-block { margin-bottom: 30px; padding: 15px; display: none; border: 1px solid #b1b1b1; border-radius: 15px;}
.producte-block.show { visibility: visible; opacity: 1; height: auto;}
.producte-block .nom{margin-bottom: 5px; font-weight: 600; font-size: 1rem; display: block;}
.quantitat-block {display: -ms-flexbox; display: flex; -ms-flex-pack: justify; justify-content: space-between;
	-ms-flex-align: center; align-items: center; }
.quantitat-block .restar-quantitat, .quantitat-block .sumar-quantitat { background-color: #f4f4f4; border: none; cursor: pointer; height: 40px; float: left; 
    padding: 0; width: 40px;}
.quantitat-block .restar-quantitat:disabled{cursor: default; color: #a5a5a5;}
.quantitat-block input[type="text"] { border: none; width: 45px; text-align: center; background-color: #f4f4f4; height: 40px; float: left; color: #000000;}
.producte-preu { font-size: 1.125rem; color: #343a40; display: inline-block;}
.categoria-block{margin-bottom: 30px; border: 1px solid #343a40; padding: 15px;}
.categoria-block .nom{margin-bottom: 5px; font-weight: 600; font-size: 1rem; display: block;}
#slider-producte{margin-bottom: 0;}
.afegir-cistella{min-width: 110px;}
.img-cart { font-size: 60px; color: #9a9da0;}
.producte img{max-height: 500px}/*----*/

.filtrar { padding: 30px; background-color: rgb(232, 232, 232); top: 130px; position: sticky; border-radius: 15px;}
.productCode { color: #b01d1f;}

.card-filtrar-body{ min-height: 1px; padding: 1.25rem;}

.range-slider { position: relative; display: flex; align-items: center; width: 100%; height: 100%; --range-slider-common-height: 16px; --range-slider-handle-width: 24px; --range-slider-handle-height: 24px;}
.range-slider > div { position: absolute; display: flex; align-items: center; left: 13px; right: 15px; height: var(--range-slider-common-height); }
.range-slider > div > .range-slider-val-left { position: absolute; left: 0; border-radius: 10px; background-color: #9c5252; margin: 0 7px; height: 10px; }
.range-slider > div > .range-slider-val-right { position: absolute; right: 0; margin: 0 7px; border-radius: 10px; background-color: #9c5252; height: 10px; }
.range-slider > div > .range-slider-val-range { position: absolute; left: 0; top: -1px; height: 16px; border-radius: 14px; background-color: #e46969; }
.range-slider > div > .range-slider-handle { z-index: 1; position: absolute; top: -5px; margin-left: -11px; width: var(--range-slider-handle-width); 
	height: var(--range-slider-handle-height); border-radius: 25%; background-color: #fff; text-align: left; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); outline: none; cursor: pointer; }
div.range-slider > input[type="range"]::-ms-thumb { width: var(--range-slider-handle-width); height: var(--range-slider-handle-height); border: 0 none; border-radius: 0px; background: #b01d1f; pointer-events: all; }
div.range-slider > input[type="range"]::-moz-range-thumb { width: var(--range-slider-handle-width); height: var(--range-slider-handle-height); border: 0 none; border-radius: 0px; background: #b01d1f; pointer-events: all; }
div.range-slider > input[type="range"]::-webkit-slider-thumb { width: var(--range-slider-handle-width); height: var(--range-slider-handle-height); border: 0 none; 
	border-radius: 0px; background: #b01d1f; pointer-events: all; -webkit-appearance: none; }
div.range-slider > input[type="range"]::-ms-fill-lower { background: transparent; border: 0 none; }
div.range-slider > input[type="range"]::-ms-fill-upper { background: transparent; border: 0 none; }
.range-slider > input[type="range"] { z-index: 1; position: absolute; width: 100%; height: var(--range-slider-common-height); opacity: 0; filter: alpha(opacity=0); cursor: pointer; pointer-events: none; -webkit-appearance: none; }
div.range-slider > input[type="range"]::-ms-track { background: transparent; color: transparent; -webkit-appearance: none; }
div.range-slider > input[type="range"]::-moz-range-track { background: transparent; color: transparent; -moz-appearance: none; }
div.range-slider > input[type="range"]:focus::-webkit-slider-runnable-track { background: transparent; border: transparent; }
div.range-slider > input[type="range"]:focus { outline: none; }
div.range-slider > input[type="range"]::-ms-tooltip { display: none; }
.range-slider > div > .range-slider-tooltip { z-index: 2; position: absolute; top: -42px; margin-left: -12px; width: 28px; height: 28px; border-radius: 28px; 
	background-color: #e46969; color: #fff; text-align: center; opacity: 0;}
.range-slider > div > .range-slider-tooltip:after { content: ""; position: absolute; left: 0; top: 19px; border-left: 14px solid transparent; border-right: 14px solid transparent; 
	border-top-width: 16px; border-top-style: solid; border-top-color: #e46969; border-radius: 16px;}
.range-slider > div > .range-slider-tooltip > span { font-size: 12px; font-weight: 700; line-height: 28px;}
.range-slider:hover > div > .range-slider-tooltip {opacity: 1;}

.pointer{ cursor: pointer;}

.wordart-categoria { font-weight: bold; color: #000000; text-shadow: -2px -2px 0 #ffffff00, 2px 2px 0 #33333340; font-style: italic;}  

.wordart { font-weight: bold; color: #999; text-shadow: -2px -2px 0 #ffffff00, 2px 2px 0 #33333340; font-style: italic;}  
.wordart-seccio { font-weight: bold; color: #999; text-shadow: -2px -2px 0 #ffffff00, 2px 2px 0 #33333340; font-style: italic;}  
.wordart-red { color: #b01d1f; text-shadow: -2px -2px 0 #fff, 2px 2px 0 #33333340;}

input[type=radio] { appearance: none; background-color: #fff; width: 15px; height: 15px; border: 2px solid #ccc; border-radius: 2px; display: inline-grid; place-content: center; }
input[type=radio]::before { content: ""; width: 10px; height: 10px; transform: scale(0); transform-origin: bottom left; background-color: rgb(87, 87, 87); clip-path: polygon(13% 50%, 34% 66%, 81% 2%, 100% 18%, 39% 100%, 0 71%);}
input[type=radio]:checked::before { transform: scale(1);}
input[type=radio]:checked{ background-color:   rgb(189, 191, 193); border: 2px solid rgb(189, 191, 193);}

@media (max-width: 1480px){
	.product-title { font-size: 22px;}
	.productCode { font-size: 20px;}
}
@media (max-width: 1200px){
	.product-title { font-size: 18px;}
	.productCode { font-size: 17px;}
}
@media (max-width: 991px){
	.product-title { font-size: 28px;}
	.productCode { font-size: 20px;}
}
@media (max-width: 759px){
	.product-title { font-size: 19px;}
	.productCode { font-size: 18px;}
}

@media (max-width: 576px){
	.product-title { font-size: 24px;}
}

@media (min-width: 576px){
	.quantitat-block {-ms-flex-pack: start; justify-content: flex-start;}
	.producte-preu { margin-left: 30px; margin-right: 30px;}
}

/* -------------------------- PAGINACIO ------------------------ */
.pagination { margin-bottom: 6px; padding: 0 6px;}
.pagination .page-link { border-radius: 0!important; color: #000000; border: 1px solid #343a40; margin-right: 6px;}
.pagination .page-item.active .page-link { background-color: #343a40; border-color: #343a40;}
.pagination .page-link.active:hover { color: #fff; border-color: #343a40;}

/* -------------------------- VIDEO ------------------------ */
.video-block{margin-bottom: 30px;}
.video-block .nom {margin-bottom: 15px; line-height: 1; font-size: 1.5rem;}
.video-block .txt{margin-bottom: 30px;}

/* -------------------------- SECCIO ------------------------ */
.titol-seccio { padding-bottom: 15px; margin-bottom: 15px;}
.titol-seccio img{ max-height: 430px; height: 100%; object-fit: cover;}
.titol-seccio .nom { font-size: 55px; font-weight: 600; color: rgb(211, 211, 211); margin-bottom: 0;}
.seccio .txt-curt { font-size: 1.25em; font-weight: 400; line-height: 1.3; margin-bottom: 15px;}
.categories {margin-bottom: 30px;}
.categories a{ padding: 5px 15px; background-color: #343a40; color: #FFFFFF; font-weight: 600; margin-bottom: 10px; display: inline-block;}
.link{padding: 10px 15px; background-color: #b01d1f; border-radius: 30px!important; color: #FFFFFF; font-weight: 600; text-align: center; display: inline-block; border: none;}
a.link:hover, input.link:hover{opacity: .8; color: #fff;}

.text-img{ position: absolute; top: 0; left: 0; width: 100%; height:100%; font-size: 36px; color: #fff; background-color: rgba(0, 0, 0, 0.3)}
.img-seccio {width: 600px; height: 400px;}
.img-sostenibilidad {height: 100px; object-fit: contain;}

.bg-seccio{ background-color: rgb(226, 208, 208);}
.bg-seccio2{ background-color: #f0f0f0;}
.subtitol-seccio { color: #b01d1f}

.icon-pdf {background: url('../img/pdficon.png') no-repeat center center;background-size: contain; width: 3em; height: 3em; display: inline-block;}
.icon-pdf1 {background: url('../img/crt_iso9001.png') no-repeat center center;background-size: contain; width: 9em; height: 9em; display: inline-block;}
.icon-pdf2 {background: url('../img/crt_fssc22000.jpg') no-repeat center center;background-size: contain; width: 6em; height: 6em; display: inline-block;}
.margin-seccio {margin-top: 7vh;}

.load-btn { border: none;}

.element-empresa {  width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); color: #fff; background-color: #b01d1f; text-align: center; padding: 40px; font-size: 54px;}
.img-right {border-right: 5px solid #b01d1f;}
.img-left {border-left: 5px solid #b01d1f;}
.img-top {border-top: 5px solid #b01d1f;}

@media (max-width: 576px) {
	.titol-seccio .nom{font-size: 38px;}
}

@media (min-width: 576px){
	.link{padding: 10px 20px;}
}

/* -------------------------- FORMULARI ------------------------ */
.ok, .ko { padding: 15px; margin-bottom: 20px; text-align: center; color: #000;}
.ok { background-color: #dff0d8; }
.ko { background-color: #f2dede; }
.formulari .form-control { margin-bottom: 15px; height: 55px; }
.formulari label { font-size: 14px; }
.formulari textarea { height: 170px!important;   resize: none;}
.formulari .btn { margin-bottom: 5px;  margin-right: 5px; border: none; background-color: #343a40; color: #fff; padding: 10px 20px;
    text-transform: uppercase; font-weight: 700; cursor: pointer; border-radius: 0;}
.custom-checkbox{font-size: .875rem;}
.custom-select.is-invalid, .control.is-invalid, .was-validated .custom-select:invalid, 
.was-validated .control:invalid { border-color: #dc3545!important;}
.custom-select.is-valid, .control.is-valid, .was-validated .custom-select:valid, 
.was-validated .control:valid, .custom-select.is-valid:focus, .control.is-valid:focus, 
.was-validated .custom-select:valid:focus, .was-validated .control:valid:focus { border-color: #fff;}
.form-control.is-valid,.was-validated .form-control:valid{ border-color:#f7f7f7;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23495057' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");}
.custom-checkbox .custom-control-label::before { border-radius: 0; box-shadow: none!important;}
.custom-control-input.is-valid:checked~.custom-control-label::before, 
.was-validated .custom-control-input:valid:checked~.custom-control-label::before, 
.custom-checkbox .custom-control-input:checked~.custom-control-label::before { background-color: #343a40;}
.custom-control-input:checked~.custom-control-label::before { border-color: #343a40; background-color: #343a40;}
.custom-control-label { margin-right: 15px; font-size: 13px!important}
.custom-control-label p { margin-bottom: 0;}
.grecaptcha-badge { display: none!important;}

/* -------------------------- AVISOS --------------------------- */
.avisos-block i { font-size: 2rem; padding-right: 0.5rem}
.avisos-block ul { list-style-type: none; margin-left: 0; padding-left: 0; display: inline-block; text-align: left}

/* -------------------------- CONTACTAR ------------------------ */
.mapa { height: 350px;}
.mapa iframe{width: 100%; height: 100%}
.ico-left {float: left; margin-right: 5px; width: 20px; min-height: 1px;}
.ico-left-txt { float: left; width: calc(100% - 35px);}

/* -------------------------- USER TOP ------------------------ */
.dropdown-user { width: auto; border-radius:5px; overflow: hidden;}
.logout-item{background-color: #dc3545!important; color:white;}
.logout-item-2{color:#dc3545;}
.logout-item-2:focus{color:#dc3545;}
.logout-item-2:hover{color:#dc3545;}
.logout-item:focus {
    color: #c82333;
    background-color: rgb(238, 238, 238)!important;
}

/* -------------------------- CISTELLA ------------------------ */
.cistella-producte .eliminar { border: none; padding: 5px; color: #615c53; background-color: transparent;}
.cistella-producte .producte { margin-bottom: 15px; border-bottom: 1px solid #615c53; padding-bottom: 15px;}
.img-block-cistella { display: block; text-align: center; color: #9a9da0;}
.img-block-cistella img, .img-block-cistella i { top: 0; max-height: 120px; font-size: 60px;}
.cistella-block { border: 1px solid #615c53; padding: 15px; margin-bottom: 30px;}
.dropdown-cistella { width: 280px;}
.dropdown-cistella .titol { text-align: center; font-weight: 600;}
.dropdown-cistella .linia { border-bottom: 1px solid #dadbdb; margin-top: 10px; margin-bottom: 10px;}
.dropdown-cistella .producte { font-size: .875rem; margin-bottom: 10px;}
.dropdown-cistella .producte .preu { color: #615c53;}
.dropdown-cistella .eliminar { background-color: transparent; border: none; float: right; text-decoration: underline; 
	font-size: .75rem; color: #636363;}
.dropdown-cistella .total { text-align: center; display: block; margin-bottom: 10px;}
.dropdown-cistella .dropdown-capa { background-color: #fff; list-style: none; padding: 15px;
    max-height: calc(80vh - 200px); overflow: hidden; overflow-y: auto; margin-bottom: 0;}
.dropdown-cistella .pedido-link { background-color: #615c53; color: #fff!important; padding: 10px;
    display: block; text-align: center; font-size: .875rem;}
.dropdown-cistella .fa-camera { font-size: 60px; color: #9a9da0; }
.dropdown-cistella img{max-height: 80px;}
.atributs-valor { background-color: #f4f4f4; border-radius: 25px; padding: 0.3rem 1rem; color: #000; font-weight: 400; cursor: pointer}
.atributs-valor:hover, .atributs-valor.actiu { background-color: #433e3b; color: #FFF}

.shake-animation {animation-name: bounce; animation-duration: 0.4s; animation-timing-function: ease-in-out; animation-delay: 0s; animation-direction: alternate;animation-iteration-count: 2; animation-fill-mode: forwards;}
@keyframes bounce {0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); }}

/* -------------------------- LOGIN ------------------------ */
#fancy-login i { margin-bottom: 5px; color: #343a40; font-size: 42px;}
#fancy-login .titol { color: #343a40; margin-bottom: 30px; font-size: 2.5em;}

/* -------------------------- CERCADOR ------------------------ */
nav .formulari-cercador{ margin-right: 15px;}
.formulari-cercador{position: relative;}
.formulari-cercador .form-control{ padding-top: 0!important; padding-bottom: 0!important; margin-bottom: 0; padding-left: 30px; height: auto; background-color: transparent!important;border: 1px solid #000;}
.formulari-cercador button { top: 1px; left: 2px; position: absolute; border: none; background-color: transparent; border-radius: 0;color: rgba(255,255,255,.5);}
option:hover{background-color: rgb(211, 131, 131)!important;}
/* -------------------------- FOOTER ------------------------ */
footer{ background-color: #000; color: #fff; padding: 15px 0; min-height: 141px;}
footer .nom{ font-weight: 600; line-height: 1.2; margin-bottom: 15px;}
footer .txt{ font-size: .875rem; color: #92999f; line-height: 1.3; margin-bottom: 15px;}
footer .xarxes-socials a {display: inline-block; width: 20px; height: 20px; font-size: 20px; text-align: center; line-height: 20px; margin-right: 25px; margin-bottom: 5px;}

footer {clear: both;position: relative;margin-top: -141px;}
/* -------------------------- CAPA COOKIES ------------------------ */
.capa-cookies { position: fixed; bottom: 0; width: 100%; z-index: 99999;
    background-color: #FFFFFF; padding-top: 15px; box-shadow: 0px 0px 15px 0px rgba(22, 21, 12, 0.23); }
button.cookies-ok { float: right; display: inline-block;
    background-color: #343a40; color: #FFFFFF; font-weight: bold; text-align: center;
    line-height: 40px; border: none; cursor: pointer; width: 100%;}
button.cookies-ok:hover{opacity: 0.8;}

/* ---------------------------- BREADCRUMBS -------------------------*/
ul.breadcrumbs { padding: 0px;	list-style: none; margin-bottom: 0;}
ul.breadcrumbs li { display: inline; font-size: .875rem; }
ul.breadcrumbs li+li:before { padding: 8px;	color: black; content: "\f054"; font-family: 'Font Awesome 5 Free'; font-weight: 900;}
ul.breadcrumbs li a { color: #343a40; text-decoration: none; }
ul.breadcrumbs li a:hover { color: #343a40; text-decoration: underline; }

/* ---------------------------- USUARIS -----------------------------*/
.submenu_item { background-color: #FFF; border: 0; text-transform: uppercase; padding: 0.3rem 1rem; font-size: 0.8rem}
.submenu_item:hover, .submenu_item.actiu { background-color: #f1f1f1; opacity: 1}
.usuaris-comandes table { font-size: 0.9rem}

/* ---------------------------- FAQS -----------------------------*/
.faqs-block{padding: 15px; background-color: #fff; margin-bottom: 15px;}
.faqs-block .categoria{text-transform: uppercase; font-size: 1.25rem; margin-bottom: 15px; font-weight: 600;}
.faq-block{padding-left: 15px; padding-right: 15px; margin-bottom: 15px; background-color: #fff;}
.faq-block button{margin-bottom: 15px; border: none; background-color: transparent; padding: 0; text-align: left}
.faq-block .linia{border: 1px solid #f4f3f3;}
.faq-block .txt{font-size: .88; color: #6c757d; margin-bottom: 15px;}

@media (min-width: 576px){
	.faqs-block{padding: 30px; margin-bottom: 30px;}
}

/* ---------------------------- CALENDARI -----------------------------*/
.fc-unthemed .fc-today { background: inherit}