@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
html { font-size: 14px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #000; font-family: 'Roboto', 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}
.f-size-08 { font-size: 0.8rem !important}
.f-size-09 { font-size: 0.9rem !important}
.fw-400 { font-weight: 400 !important}
.fw-500 { font-weight: 500 !important}
.c-pointer { cursor: pointer}

.bg-c-fosc { background-color: #595146 !important;}
.br-c-fosc { border-color: #595146 !important;}

.bg-c-taronja { background-color: #f7ca61 !important;}
.bg-c-groc { background-color: #f1f090 !important;}

.btn-info { background-color: #00abe3; border-color: #00abe3}
.text-info { color: #00abe3}

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

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

/* -------------------------- NAVBAR ------------------------ */
.navbar { color: #595146; background-color: #343a40;}
.navbar .navbar-toggler { color: #595146; border: none; font-size: 18px;}
.navbar-nav.flex-row .nav-item { margin-right: 15px; }

@media (min-width: 992px){
	.navbar-nav.flex-row .nav-item { margin-right: 0; }
    .fixed-top-md { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
    .margin-navbar{margin-top: 62px;}
}

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

.mask_beta {
	width: 100%;
	height: 25px;
	background-color: red;
	position: fixed;
	top: 0px;
	z-index: 1000000;
}

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

/* -------------------------- HOME ------------------------ */
.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;}

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

/* -------------------------- 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.2rem!important; color: #00abe3; border: 1px solid #00abe3; margin-right: 6px;}
.pagination .page-item.active .page-link { background-color: #00abe3; border-color: #00abe3;}
.pagination .page-link.active:hover { color: #fff; border-color: #00abe3;}

/* -------------------------- 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 { background-color: #f7f7f7; padding-top: 15px; padding-bottom: 15px; margin-bottom: 15px;}
.titol-seccio .nom { font-size: 1.5rem; font-weight: 600; text-transform: uppercase; color: #343a40; 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: #343a40; color: #FFFFFF; font-weight: 600; text-align: center; display: inline-block; border: none;}
a.link:hover, input.link:hover{opacity: .8; color: #fff;}

@media (min-width: 576px){
	.titol-seccio { padding-top: 30px; padding-bottom: 30px; margin-bottom: 30px;}
	.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; border-radius: 0; font-size: .875rem; background-color: #f7f7f7; border: 1px solid #343a40;}
.formulari textarea { height: 170px;}
.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;}
.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);}

/* -------------------------- CISTELLA ------------------------ */
.cistella-producte .eliminar { border: none; padding: 5px; color: #343a40; background-color: transparent;}
.cistella-producte .producte { margin-bottom: 15px; border-bottom: 1px solid #343a40; 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 #343a40; 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: #343a40;}
.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: #343a40; 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;}

/* -------------------------- LOGIN ------------------------ */
#fancy-login i { margin-bottom: 5px; color: #343a40; font-size: 42px;}
#fancy-login .titol { color: #343a40; margin-bottom: 30px; font-size: 2.5em;}
.btn-inici-titol { background-color: #f2fbfe; padding:15px; font-size: 1.2rem; border-bottom: 1px solid #00abe3; color: #00abe3;}

/* -------------------------- CERCADOR ------------------------ */
nav .formulari-cercador{margin-left: 50px; margin-right: 15px;}
.formulari-cercador{position: relative;}
.formulari-cercador .form-control{margin-bottom: 0; padding-left: 30px; width: 200px; background-color: transparent!important;border: 1px solid rgba(255,255,255,.5);}
.formulari-cercador button { top: 4px; left: 0; position: absolute; border: none; background-color: transparent; border-radius: 0;color: rgba(255,255,255,.5);}

/* -------------------------- FOOTER ------------------------ */
footer{ background-color: #343a40; color: #fff; padding: 15px 0;}
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: 35px; height: 35px; background-color: #005c6d;
    font-size: 20px; text-align: center; line-height: 35px; margin-right: 3px; margin-bottom: 5px;}

footer {clear: both;position: relative; min-height: 145px;margin-top: -135px;}
/* -------------------------- 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; padding-left: 15px; padding-right: 15px;
    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}

/* ---- BOTONS INICI ----- */
.btn-cobertures, .btn-inici { height: 11rem; background-color: #f2fbfe; border-color: #f2fbfe; color: #000; font-weight: 300; padding-top: 2rem; padding-bottom: 2rem}
.btn-cobertures img { max-width: 40px; margin-bottom: 1rem !important}
.btn-cobertures:hover, .btn-cobertures:active, .btn-cobertures:focus, .btn-inici:hover, .btn-inici:active, .btn-inici:focus, .btn-inici.actiu { background-color: #d9f2fb !important; border-color: #d9f2fb !important; color: #000 !important}

.btn-inici img { max-width: 80px; margin-bottom: 1rem !important}
.btn-inici { height: 14rem; }

.home footer { margin-top: 100px}

/* ---- FORMULARI COBERTURA ----- */
#cobertura-sel-img { transform: rotate(-20deg); }
#reclamacio-content h1 { font-size: 1.5rem; border-bottom: 1px solid #000; padding-bottom: 0.5rem}
#reclamacio-content h4, #reclamacio-content h5 { font-size: 1.1rem; font-weight: 400}
#reclamacio-content label { font-size: 0.9rem; font-weight: 300;}
#reclamacio-content .progress { background-color: #e5f6fc}
#reclamacio-content .progress .bg-info { background-color: #00abe3 !important}
#reclamacio-content .btn-info { background-color: #00abe3 !important }
#reclamacio-content .btn-info:hover { border-color: #00abe3 !important; opacity: 0.8 }
#reclamacio-content .custom-file-input { height: calc(1.4em + .75rem + 2px)}
#reclamacio-content .custom-file { height: auto}

/* ---- VALIDACIONS ---- */
.input-valid { 
	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");
	background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.input-error{
	border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* ----- PROGRESS ---- */
fieldset:not(:first-of-type) {
    display: none
}
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
	padding: 0;
    width: 100%;
}

#progressbar .active {
    color: #00abe3
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400;
	text-align: center;
}

#progressbar #tipo:before, #progressbar #solicitud:before, #progressbar #documents:before, #progressbar #resum:before, #progressbar #final:before  {
    content: ""
}

#progressbar li:before {
    width: 15px;
    height: 15px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 18px auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #00abe3
}

.custom-file-label::after { content: "Adjuntar" !important}
.custom-file-label.label-adjuntat::after { content: "Adjuntado" !important}
.custom-file-label.label-none::after { content: none !important}
.table-list table, .table-list select { font-size: 0.9em}

#container-loading { position: absolute; width: 100%; height: 100%; background-color: rgba(255,255,255,.8); z-index: 10000;}
.spinner-border { border-width: 1.25em; width: 12rem; height: 12rem; animation-duration: 2s;}

.label-refusat::after, .label-validat::after, .label-pendent::after {
    display: none
}

.btn-append-button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

.btns-enviar-aviso.actiu { 
    background-color: #117a8b;
    border-color: #10707f;
}

.btn-danger.btns-enviar-aviso.actiu { 
    background-color: #bd2130;
    border-color: #b21f2d;
}

.popover { max-width: 400px}

.spinner-exportarHistorial .spinner-border {width: 1rem; height: 1rem; border-width:.15em}


/* -------Tiny ------- */
.tox .tox-promotion-link{display:none !important;}
[id^="comentari-comentarispan-"] p:first-of-type {margin-bottom:0} /* primera p del tiny */