@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-ExtraLight.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-ExtraLightItalic.ttf') format('truetype');
	font-weight: 200;
	font-style: italic;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-LightItalic.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'KarbidPro';
	src: url('../fonts/KarbidPro-SemiBoldItalic.ttf') format('truetype');
	font-weight: 600;
	font-style: italic;
}

html { font-size: 14px;}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #222221; letter-spacing: 0.063rem; font-size: 15px;font-family: 'KarbidPro', sans-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 { right: 0!important; left: auto!important; padding: 0 0 0 0; border-radius: 0;
    border: none; margin-top: 0; background-color: #fff; border: 1px solid #5b5b5b}
.dropdown-item.active, .dropdown-item:active { background-color: #343a40;}
.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%; }
	.d-xxl-block{ display: block!important; }
	.d-xxl-none{ display: none!important; }
}
.container-fluid{ max-width: 1920px; }
.underline{text-decoration: underline!important; text-underline-offset: 3px}
.link-contactar.underline{text-decoration: none!important;}
.link{padding: 10px 25px!important; background-color: #923c32; color: #FFFFFF; text-align: center; display: inline-block; border: none; border-radius: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.063rem;}
a.link:hover, input.link:hover{opacity: .8; color: #fff;}
.sep{background-color:#923c32; height: 2px; width: 70px;}
.object-fit-contain{object-fit: contain!important;}
/* -------------------------- 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{background-color:#FFFFFF;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-bottom:1px solid #ddd;}
.navbar .navbar-toggler{color:#222221;border:none;font-size:18px;}
.navbar-nav.flex-row .nav-item{margin-right:15px;}
.nav-item a{text-transform:uppercase;transition:all 0.3s ease;}
.navinfo{background-color:#c49933;color:#222221;font-size:0.875rem;transition:transform 1s ease,opacity 0.25s ease;}
.navinfo.show{transform:translateY(0);opacity:1;}
.navinfo.hide{transform:translateY(-100%);opacity:0;}
.navbar-brand *{background-color:#fff;padding:20px 20px 10px 20px;border-radius:8px; transition: ease-out 0.8s;}
.navbar-brand.scroll *{ padding: 10px 0;}
.navbar-brand:hover{opacity:1;}
.nav-item a:hover{opacity:1;transform:translateY(-2px);}
.navbar-brand{padding: 0!important;}
@media (min-width:768px){
	.navbar{min-height:115px;} 
	.navbar-brand *{bottom:5px;min-height:150px;height:100%;}
	.navbar-brand.scroll *{position: relative;min-height:120px;bottom:5px}
}
@media (max-width:1200px){
	.navbar-brand *{min-height:110px;bottom:20px;}
}
@media (max-width:992px){
	.navbar-nav .dropdown-menu{position:static;float:none;margin:0;padding:0.5rem 0;border:0;box-shadow:none;}
	.navbar-collapse.show{padding:0.75rem 0;}
	.navbar-brand *{position:static; padding: 10px 0;}
}
@media (max-width:768px) {
	.nav-border{padding: 0 15px!important;}
}
@media (max-width:578px) {
	.navbar-brand *{max-width: 150px;}
}
@media (min-width:992px){
	.navbar{min-height:115px;}
	.navbar-brand *{position:absolute;}
	.fixed-top-md{position:fixed;top:0;right:0;left:0;z-index:1030;}
	.fixed-top-md.cheight{top:-53px!important}
	.margin-navbar{margin-top:168px;}
	.navbar .link-contactar{padding: 10px 25px!important; background-color: #923c32; color: #FFFFFF; text-align: center; display: inline-block; border: none; border-radius: 10px; font-weight: 400; text-transform: uppercase;}
}

.mask_user {
	width: 100%;
	height: 25px;
	background-color: purple;
	position: fixed;
	top: 49px;
	z-index: 1000000;
}

/* -------------------------- SLIDER FIXES ------------------------ */
.carousel-inici { position: relative; width: 100%; height: 100vh;}
.slider-inici .item { overflow: hidden;}
.carousel-inner 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%);}
.carousel-inner 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;}
.carousel-inner .slide-image { height: 100%; background-size: cover; background-position: center;}
.carousel-item .container, .carousel-item .container-fluid{ position: absolute!important; top: 50%!important; left: 0!important; right: 0!important; margin-left: auto!important;
    margin-right: auto!important; -webkit-transform: translateY(-50%)!important; -o-transform: translateY(-50%)!important; transform: translateY(-50%)!important; }
.slider-inici .row {height: inherit;}
.carousel-item .block{padding: 15px; margin-bottom: 15px;}
.carousel-item .nom { color: #fff; font-size: 2.5rem; line-height: 1.2;}
.carousel-item .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;}
	.button-slider{
		height: 35px; width: 40px;color: #fff; background-color: transparent!important; display: flex; align-items:center; justify-content: center; border: 0; font-size: 40px;
	}
.button-slider svg{height: 15px; width: auto; padding: 0; margin: 0 auto;}
.controls-slider{display: flex; justify-content: space-between; position:absolute; right: 0px; top: 50%; transform: translateY(-50%); width: 100%; padding: 0 20px;}

@media (min-width: 576px){
	.carousel-item .block{margin-bottom: 0!important;}
	.carousel-item .nom { margin-bottom: 30px!important;}
	.carousel-item .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;}
}

@media(max-width: 768px){.carousel-item .nom { font-size: 2rem;}}

/* -------------------------- Dots ------------------------ */
.carousel-inici .carousel-indicators{margin-bottom: 30px;}
.carousel-inici .carousel-indicators li {width: 8px; height: 8px; border-radius: 50%; background-color: transparent; border: 2px solid #fff; margin: 0 8px;opacity: 1;}
.carousel-inici .carousel-indicators .active {background-color: #fff; border: none; width: 12px; height: 12px;}
.carousel-producte .carousel-indicators .active {background-color: #b8dde8;}
.carousel-producte .carousel-indicators li{width: 100%; opacity: 1; height: 10px; border-radius: 10px; border: none; background-color: #c4cdd1;}

/* -------------------------- 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;  background-color: #343a40!important; width: 40px; height: 35px;}
.slick-prev{left: 15px;}
.slick-next {right: 15px;}
.slick-prev:before {content: "\f053";}
.slick-next:before {content: "\f054";}
.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;}
.slick-dots li button:before { font-family: 'Font Awesome 5 Free'; content: '\f111'; font-weight: 600;}
.slick-dots li.slick-active button:before { opacity: 1; font-weight: 400;}

/* -------------------------- 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-block{margin-bottom: 30px; border: 1px solid #343a40; padding: 15px;}
.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}/*----*/

@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;}

/* -------------------------- HOME -------------------------- */
.blochome{font-size: 0.9375rem; }
.blochome h3 {font-size: 2.125rem;}
.consulta{background-color: #c49933; border-radius: 8px; padding: 35px 50px;}
.consulta .formulari .form-control{border: none;}
.consulta .formulari .custom-checkbox label {font-size: 0.75rem; color: #222221;}
.consulta h3 {color: #222221; font-size: 2.125rem; line-height: 1.2;}
.consulta-foo {display: none;}
.consulta-woo {display: none;}

#form-home .form-control{padding: .375rem 1.75rem .375rem .75rem!important; margin-bottom: 0;	font-size: 1rem;min-width: 0;width: 100%;white-space: normal;text-overflow: ellipsis;overflow: hidden;background: #fff;color: #222221;}
#form-home select {-webkit-appearance: none;-moz-appearance: none;-o-appearance:none;appearance:none;}
#form-home select + i.fa {position: absolute;top: 50%;right: 25px;transform: translateY(-50%);pointer-events: none;color: #555;}

@media (min-width: 768px){
	.consulta-foo {clip-path: polygon(100% 0, 0 0, 0 100%);display: block;height: 50px;width: 40px;position: absolute;right: -35px;background-color: #c49933;top: 35px;}
	.consulta-woo {clip-path: polygon(100% 0, 0 0, 100% 100%);display: block;height: 50px;width: 40px;position: absolute;left: -35px;background-color: #c49933;top: 35px;}
}
@media(max-width:768px){
	.blochome { margin-top: 250px;}
}
@media(max-width:576px){
	.consulta { padding: 35px 30px;}
}
/* -------------------------- SECCIO ------------------------ */
.titol-seccio { padding-top: 15px; padding-bottom: 15px; margin-bottom: 15px;}
.titol-seccio .nom { font-size: 2.125rem; font-weight: 600; margin-bottom: 20px; color: #474745;}
.titol-seccio .textcurt { font-size: 1.0625rem;color: #474745;}
.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;}

.header-img {position: relative;}
.header-img img {width: 100%; height: auto; display: block;}
.centered {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #fff; text-align: center; padding: 0 10px; width: 100%; max-width: 100%;}
.centered h2 {font-size: 1.125rem;}

/* responsive móvil */
@media (max-width: 767.98px) {
  .centered h1 {font-size: 1.4rem;}
  .centered h2 {font-size: 1rem;}
}


.grid-blocs{display: grid; position: relative; grid-template-columns: repeat(3, 1fr); gap: 80px; bottom: 45px;}
.grid-blocs .bloc .nom{font-size: 1.0625rem; font-weight: 600; text-transform: uppercase;}
.grid-blocs .bloc .txt{font-size: 0.9375rem;}
.grid-blocs .bloc img{border-radius: 6px;}
.grid-blocs .bloc.aos-done{transition: all 0.2s ease-in-out!important;}
.grid-blocs .bloc.aos-done:hover{transform: scale(1.02);}
.bloceslogan img{border-radius: 10px;}
.bloceslogan .nom{font-size: 2.125rem;}
.bloceslogan .txt{font-size: 0.9375rem;}
.gestions img{border-radius: 10px;}
.blocform{background-color: #c49933; padding: 15px 20px ; color: #fff; border-radius: 10px;}
.blocform .nom{font-size: 2.125rem;}
.blocform .text{font-size: 1.125rem;}


@media(max-width: 1200px){
	.grid-blocs{grid-template-columns: repeat(2, 1fr);}
	.grid-blocs .bloc:last-child{display: none;}
}
@media(max-width: 992px){
	.grid-blocs{gap: 40px;}
}
@media(max-width: 768px){
	.grid-blocs{grid-template-columns: repeat(1, 1fr);  bottom: -40px;}
	.grid-blocs .bloc:last-child{display: block;}
}

/* -------------------------- VENDA/LLOGUER ------------------------ */
.grid-immobles {display: grid; grid-template-columns: repeat(4,1fr); gap:40px}
.grid-immobles .item.aos-done{transition: all 0.3s ease-in-out!important;}
.grid-immobles .item.aos-done:hover{transform: scale(1.04); opacity: 1;}
.grid-immobles .item.aos-done:hover > .sep{width: 100%;}
.grid-immobles .item img{border-radius: 8px;}
.grid-immobles .item .nom{font-size: 1.125rem;}
.grid-immobles .item .detail{font-size: 0.9375rem;}
.grid-immobles .item .detail p{margin-bottom: 5px;}
.grid-immobles .item .sep{background-color:#923c32; height: 2px; width: 70px;transition: all 0.5s ease-in-out}

.grid-detallimmoble{display: grid; grid-template-columns: repeat(3,1fr); gap:30px; row-gap: 10px;}
.immoble-preu{text-align: right; color: #923c32; font-weight: 600;}

.carousel-immoble {position: relative;}
.carousel-img-wrapper {width: 100%; height: 500px; overflow: hidden; background: #f8f9fa;}
.img-carousel {width: 100%; height: 100%; object-fit: cover; object-position: center;}
.controls-slider {position: absolute; top: 50%; left: 0; right: 0; justify-content: space-between; transform: translateY(-50%);}
.button-slider {background: rgba(0,0,0,0.5); border: none; color: #fff; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;}
.button-slider:hover {background: rgba(0,0,0,0.7);}

.slick-immoble .slick-prev:before{content:"\F284"; color: #222221; font-size: 40px;}
.slick-immoble .slick-next:before{content:"\F285"; color: #222221; font-size: 40px;}
.slick-immoble .slick-next:before, .slick-immoble .slick-prev:before { font-family: "Bootstrap-icons";}
.slick-immoble .slick-track{display:flex;align-items:center;}
.slick-immoble .slick-slide{display:flex;align-items:center;justify-content:center;}
.slick-immoble img{border-radius: 8px;}
.slick-immoble .slick-dots{margin-bottom: -30px;}

@media (min-width: 576px){
	.titol-seccio { padding-top: 30px; padding-bottom: 30px; margin-bottom: 30px;}
}

@media (max-width: 1200px){
	.grid-immobles {grid-template-columns: repeat(3,1fr);}
	.grid-detallimmoble {grid-template-columns: repeat(2,1fr);}
	
}
@media (max-width: 992px){
	.grid-immobles {grid-template-columns: repeat(2,1fr);}
}
@media (max-width: 768px){
		.blochome { margin-top: 250px;}
		#form-home .form-control {
			font-size: 1rem;
			padding-left: 0.75rem;
			padding-right: 1.75rem;
			min-width: 0;
			width: 100%;
			white-space: normal;
			text-overflow: ellipsis;
			overflow: hidden;
		}
	.immoble-preu {text-align: center;}
	.titol-seccio .nom {font-size: 2rem;}
	.slick-immoble .slick-prev{left: -15px; width: 0;}
	.slick-immoble .slick-next {right: -15px; width: 0;}
}
@media (max-width: 578px){
	.grid-immobles {grid-template-columns: repeat(2,1fr); gap: 15px}
	.grid-immobles .item p:not(.preu){ display: none;}
}
@media (max-width: 380px){
	.grid-detallimmoble {grid-template-columns: repeat(1,1fr);}

}

/* -------------------------- 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 textarea { height: 100px!important;}
.formulari label { font-size: 0.9375rem;}
.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-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;}
.custom-control-label p { margin-bottom: 0;}
.custom-checkbox label {font-size: 0.75rem;}
.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);}
.text-contactar .xarxes-socials a {margin-right: 10px;}
.text-contactar {font-size: 0.875rem;}
.text-contactar img{margin-right: 10px; height: 60px; width: 175px;}
.contactar-img img {max-width: 315px; max-height: 175px;}
/* -------------------------- 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-left: 50px; margin-right: 15px;}
.formulari-cercador{position: relative;}
.formulari-cercador .form-control { margin-bottom: 15px; height: 50px; font-size: 1rem;}
.cont-cercador .cercador{height: 110px;}
.cercador{ background-color: #fff; border-top-left-radius: 10px; border-top-right-radius: 10px; padding: 45px 50px 0 50px; position: relative; bottom: 110px;}
.cercador h3 {font-size: 2.125rem;}
@media (max-width:768px) {
	.cercador{height: 111px;}
}
@media (max-width:444px) {
	.cercador{padding: 15px 20px 0 15px;}
}
/* -------------------------- FOOTER ------------------------ */
footer{ background-color: #1a1a18; color: #fff; padding: 40px 0; min-height: 141px; font-size: 0.875rem;}
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; font-size: 18px; text-align: center; line-height: 35px; margin-right: 15px; margin-bottom: 5px;}
footer img{max-height: 100px; height: 100%!important;}
footer {clear: both;position: relative;margin-top: -141px;}
footer hr {border: 0;clear:both;display:block;width: 100%;background-color:#FFFFFF;height: 1px;}
.footer-imgs {font-size: 0.8125rem;}
.footer-imgs img{max-height: 72px; max-width: 222px;}

/* -------------------------- 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: ">"; }
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}