/* *******************************************************  variables */
:root {
    --white: #FFFFFF;
    --grey-1: #f5f5f5;
    --grey-2: #e5e5e5;
    --grey-3: #c5c5c5;
    --grey-4: #999999;
    --grey-5: #666666;
    --grey-6: #333333;
    --black: #000000;

    --primary: #0000ff;
    --primary-hover: #0000CE;
    --primary-disabled: #7272FD;
    --primary-background: #E5ECF7;
    --secondary: #f2ed05;
    --secondary-hover: #FAF638;
    --secondary-disabled: #FAF895;
    --secondary-background: #effaea;

    --verde-ok: #7A9818;

    --groc: #f2ed05;
    --blau: #0000ff;

    
}

@font-face {
    font-family: 'Tanker';
    src: url('../fonts/Tanker-Regular.woff') format('woff2'),
        url('../fonts/Tanker-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* *******************************************************  bons.cat */
.bonscat-top {background-color: var(--white); text-align: right; padding: 10px 0; color: var(--grey-5); border-bottom: 1px solid var(--grey-2);}
.bonscat-top a {color: var(--grey-5); text-decoration: none;}
.bonscat-top a:hover {color: var(--primary);}
.bonscat-top strong {display: block; /* margin-right: 30px;  */font-weight: normal;}
.footer-bonscat {background: #003777; color: #fff; text-align: center; padding: 40px 0 60px 0; display: none;}
.footer-bonscat p {margin-bottom: 15px;}
.footer-bonscat a {color: #fff !important; text-decoration: none;}
.footer-bonscat a:hover {text-decoration: underline; color: #fff !important;}
@media (max-width: 576px) {
    .bonscat-top {padding-top: 0;}
    .bonscat-top .container {padding: 0; text-align: center;}
    .bonscat-top a:first-child {background: var(--grey-1); padding: 10px 15px; display: block; margin-bottom: 4px;}
    .bonscat-top span {display: none;}
}

/* logos corporatius */
.logos__corporatius {
    background-color: var(--white);
    padding: 10px 30px 10px 30px;
}
.logos__corporatius .col.text-right img {height: 60px; width: auto;}

@media (max-width:767px) {
    .bonscat-top a {font-size: .75rem;}
    .bonscat-top strong {margin-right: 0;}
    .logos__corporatius {padding: 10px 0;}
    .logos__corporatius .col.text-right img {height: 30px; width: auto;}
}

/**/

.btn-outline-primary {border: 2px solid var(--primary); font-weight: bold; color: var(--primary);}
.btn-outline-primary:hover {color: var(--secondary) !important; background: var(--primary); border-color: var(--primary);}

/* *******************************************************  generales */
* {font-family: 'Source Sans Pro', sans-serif;}

* {box-sizing: border-box;}

html,
body {
    font-family: 'Source Sans Pro', sans-serif;
}

h1 {
    margin-bottom: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    margin-bottom: 2rem;
    font-weight: 800;
}

h3 span {
    display: none !important;
    padding-top: 10px;
    padding-bottom: 15px;
}

h1 {/*margin-bottom: 3rem;*/}
h2 {font-size: 1.5rem;}
h3 {margin-bottom: 2rem; font-weight: 800;}
h3 span {display: block;}

p {
    margin-bottom: 0;
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

.a-desp {
    font-size: calc(16px + (40 - 21) * ((100vw - 320px) / (768 - 320)));
    font-weight: 700;
    color: #000;
    display: none;
    opacity: 0;
    transition: 0s;
}

.underline {
    text-decoration: underline;
}

strong {
    font-weight: 600;
}

/* @media (max-width:767px) {
    .d-flex.justify-content-between.w-100 {height: 35px; margin-top: -15px;}
} */

.menu-hamb {
    height: 18px;
    width: 25px;
    position: relative;
    margin-top: -8px;
    margin-left: 8px;
    margin-bottom: 8px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .menu-hamb {margin-left: 25px;}
}

.hamb {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--white);
}

.hamb-up {
    top: 0;
}

.hamb-medium {
    top: 50%;
    transform: translateY(-50%);
}

.hamb-down {
    bottom: 0;
}

#header-sessio a {
    position: relative;
    color: var(--white);
}


#header-sessio a:hover {
    text-decoration: none;
    color: var(--secondary);
}
#header-sessio a.active {
    color: var(--secondary);
}
#header-sessio a.active:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: inherit;
    right: 0;
    background-color: var(--secondary);
}
/* específicos estalviatge */
#header-sessio {padding-bottom: 0 !important;}
#header-sessio a {height: 30px; margin-bottom: 3px;}
#header-sessio a.active:before {height: 4px;}
@media (min-width: 768px) and (max-width: 991px) {
    #header-sessio a {height: 70px;}
}


.no-before:before,
.text-faq {
    display: none;
}

#header-sessio a:not(.btn-outline-primary):hover:before {
    width: 100%;
    right: inherit;
    left: 0;
}

#header-sessio a .active:before {
    width: 100% !important;
}

.color-primary {color: var(--primary);}

.color-secondary, .color-secundary {color: var(--secondary);}

.color-grey-light {
    color: #F8F8F8;
}

.color-grey {
    color: #7C7C7C;
}

.color-white {
    color: #FFFFFF;
}

.color-black {
    color: var(--black);
}

.background-primary {
    background-color: #D5055F;
}

.background-secundary {
    background-color: #F3F8FC;
}

.background-grey-light {
    background-color: #F8F8F8;
}

.background-white {
    background-color: #FFFFFF;
}

.background-black {
    background-color: #000000;
}

.background-blue {background-color: var(--primary-background);}

.background-blue-light {
    background-color: #F3F8FC;
}

.background-pink {
    background-color: var(--primary-background);
}

.background-green {
    background-color: #9CC980;
}

.background-grey-light .col-sm-8.offset-sm-2.text-center a {
    color: #D5055F;
}

.background-grey-light .col-sm-8.offset-sm-2.text-center a:hover {
    text-decoration: underline;
}

.position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom-0 {
    bottom: 0;
}

.right-0 {
    right: 0;
}

.top-1 {
    top: 1rem;
}

.right-1 {
    right: 1rem;
}

.zindex-n1 {
    z-index: -1;
}

.h-60 {
    height: 60%;
}

.pop-up {
    z-index: 9999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pop-up-shadow {
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
}

.pop-up-back {
    top: 0;
    left: 0;
    background-color: #F8F8F8;
    z-index: 9999999;
    opacity: 0.75;
}

#pop-up-sessio,
#pop-up-recupera,
#pop-up-confirma,
#pop-up-confirma-verifica,
#pop-up-verifica,
#pop-up-background,
.registra-mostra,
#mapa {
    display: none;
    transition: 0s
}

#pop-up-background {
    opacity: 0;
}

#pop-up-sessio {
    top: 150%;
}

#pop-up-recupera,
#pop-up-confirma,
#pop-up-verifica,
#pop-up-confirma-verifica {
    transform: translateY(100vh);
}

.arrow-round {
    transition: 0s
}

.black-hover:hover {
    color: #000;
}


.registra-mostra h5 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 32px;
    padding-bottom: 8px;
    border-bottom: 4px solid var(--groc);
    position: relative;
}
.registra-mostra h5:before {
    position: absolute;
    content: '';
    bottom: -4px;
    left: 0px;
    height: 4px;
    width: 95px;
    border: none;
    z-index: 1;
    background-color: var(--blau);
}
.registra-mostra h5 img {display: none;}

a.pass {float: right;}
.registra-mostra label[for="privacy_policy"] {font-weight: normal;}
.registra-mostra label[for="privacy_policy"] a {color: var(--primary);}
    


/* *******************************************************  doble missatge */
.doble-missatge {margin-top: 3rem;}
.doble-missatge h4 {font-size: 42px; font-weight: bold; color: var(--primary); font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.doble-missatge__right h4 {color: var(--secondary);}
.doble-missatge p {font-size: 1.25rem;}
.doble-missatge .col-md-6 {padding-top: 4rem;}
.contenedor-boton {position: absolute; left: 0; bottom: 0; width: 100%; padding: 15px;}
.doble-missatge__left {background-color: var(--primary-background);}
.doble-missatge__right {background-color: var(--secondary-background);}
.doble-missatge a {font-size: 1.25rem; padding-left: 2rem; padding-right: 2rem;}
.doble-missatge .background-blue, .doble-missatge .background-pink {background-color: var(--secondary);}


.page-link {
    color: var(--grey-5);
    background-color: var(--white);
    border: 1px solid var(--grey2);
}
.page-link:hover {
    color: var(--primary);
    background-color: var(--white);
    border-color: var(--primary);
}
.page-link.active {background: var(--primary); color: var(--black); border-color: var(--primary);}
.num-resultats {font-size: 18px;}
.icono-presencial-1 {position: absolute; left: 20px; bottom: -15px;}
.icono-presencial-2 {position: absolute; right: 20px; bottom: -15px;}
.background-orange {background: var(--primary);}
.background-orange-light {background: rgba(var(--primary), .4;)}
.inputfile-1 + label {
    color: var(--black) !important;
    background-color: var(--white) !important;
    border: 2px solid var(--black) !important;
}
.recorda-dni {background: var(--primary); color: var(--white); text-align: center; margin: 20px 0; padding: 15px; display: inline-block;}
.estat-bo {min-height: 120px;}
.card-descarga-bo {}
.card-descarga-bo h5 {color:var(--black); font-weight: 700; font-size: 30px;}
#avantatges2 {margin-bottom: 3rem;}
.ordenar-resultados {text-align: right;}

/* cambiar posicion de mensaje de cookies */
.cc_container {
    width: 60%;
    left: 5% !important;
    bottom: 5%;
    top: auto !important;
    border-radius: 12px;
    padding: 20px;
}
.cc_banner-wrapper {
    height: 0 !important;
}
/**/





/* ******************************************************* header */
div#header {
    /*padding-top: 90px;*/
    /*height: calc(100vh - 52px);*/
    /*padding-top: 100px;*/
    text-align: center;
    background: var(--grey-1);
    position: relative;
}

div.header-in {
    width: 100%;
}

div.reactivem {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 175px;
    max-height: 135px;
}

#header-form {
    padding-top: 100px;
    text-align: center;
    background: var(--grey-1);
    position: relative;
    padding-bottom: 170px;
}

#header-form h1 {
    margin-bottom: 1.5rem;
}

#header-form h1 img {
    width: 170px;
}

#header-form h2 {
    font-weight: 800;
    color: var(--primary);
}

.form-bons-ok #header-form {
    background: transparent;
    padding-bottom: 0px;
}
/* añadir teléfono al header */
.phone-help {position: absolute; top: -30px; text-align: right; right: 0; width: max-content;}
.phone-help a {color: var(--gray-6);}
#header-sessio .my-auto.d-flex.align-items-center {position: relative;}

.phone-help-mobile {
    margin-top: 2rem;
    font-size: 1.2rem;
    border-top: 2px solid #009340;
    font-weight: bold;
    text-align: right;
    padding-top: 1rem;
}
.phone-help-mobile span {
    display: block;
    font-size: 1rem;
}

div.header-text {padding: 20px; box-shadow: 0px 0px 5px 0px rgba(189,189,189,1); background: var(--primary); text-align: center;}
div.header-text h2 {font-weight: bold; font-size: 36px; color: var(--secondary); font-family: 'Tanker', Arial, Helvetica, sans-serif;}
div.header-text p {color: var(--white); font-size: 1.2rem; margin-bottom: 1.2rem;}
.wrapper-slide-message {background-color: var(--white);}
.slide-message {margin-top: -60px; /*margin-bottom: 60px;*/}
.slide-message__alert {color: var(--black); font-weight: bold;}
.slide-message img {margin: -50px auto 20px}

div.reactivem {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 175px;
    max-height: 135px;
}

/* pop up login */
.pop-up-register-login h4 {
    font-family: 'Tanker', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--primary);
}
#close-popup {position: absolute; top: 0; right: 0;}
.pop-up-register-login .offset-lg-1 {padding-top: 3rem; padding-right: 3rem;}
.pop-up-register-login--in {padding: 2rem; padding-top: 3rem;}
.pop-up-register h4 {font-family: 'Tanker', Arial, Helvetica, sans-serif;}

/* mensaje registro */
.alert__ja__registrat {margin-bottom: 3rem; padding: 2rem; border-radius:25px; margin-top: 1.5rem;}
.alert__ja__registrat p {font-size: 1rem; font-family: 'Poppins', sans-serif;}
.alert__ja__registrat p strong {font-size: 1.6rem;}
.alert__ja__registrat--icon {text-align: left;}
.alert__ja__registrat--text {color: #000;}
.alert__ja__registrat--btn a {margin-top: .6rem;}
@media (max-width:768px) {
    .alert__ja__registrat img {width: 50px; height: auto; margin-bottom: 15px;}
}

/* otros header */
div.header-in-home {
    background: url(../img/slide-home.jpg) top center no-repeat;
    background-size: cover;
    height: 60vh;
}

div.header-in-register-business {
    background: url(../img/slide-register-business.jpg) top center no-repeat;
    background-size: cover;
    height: 50vh;
}
div.header-in-registre {
    background: url(../img/slide-registre.jpg) top center no-repeat;
    background-size: cover;
    height: 50vh;
}
div.header-in-campanyes {
    background: url(https://www.estalviatge.cat/front/img/slide-campanyes.jpg) top center no-repeat;
    background-size: cover;
    height: 50vh;
}
div.header-in-campanya {
    background-size: cover;
    height: 50vh;
}




/* ******************************************************* imagen separadora home */
.imagen-separadora {height: 650px; /*margin-bottom: 30px;*/ background: url(../img/imagen-separadora.jpg) top center no-repeat; background-size: cover;}
.imagen-separadora-establiments {height: 380px; margin-bottom: 30px; background: url(../img/imatge-separadora-establiments.jpg) top center no-repeat; background-size: cover;}
.imagen-separadora .container, .imagen-separadora .row {height: inherit;}
.imagen-separadora img {height: 300px;}

.com-apliquen .col-lg-3.col-sm-3 p strong {color: var(--secondary); font-size: 63px;}


/* ******************************************************* avantatges */
#avantatges {text-align: center; padding-top: 90px;}
#avantatges ul {text-align: left;}
#avantatges li {margin-bottom: 12px;}
#avantatges div.col:first-child {margin-bottom: 3rem;}
#avantatges .container-fluid {padding:0; margin:3rem 0;}

/* ******************************************************* forma part */
#forma-part {padding-top: 85px; color: var(--white); text-align: center; position: relative;}
#forma-part h3 {color: var(--white); font-size: 63px; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
#forma-part h4 {color: var(--white); font-size: 32px;}
#forma-part p {margin-bottom: .5rem; color: var(--white);}
#forma-part .btn {padding-left: 40px; padding-right: 40px;}
#forma-part p:last-child {margin-top: 2rem;}
.form-part_background {padding: 0px 0 100px 0; background: var(--primary);}
.form-part_background::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
    background: var(--primary);
    transform: skew(0, -1.5deg);
}

/* ********************************************************* accedir i registre */
#accedir {padding-top: 4rem; padding-bottom: 3rem; text-align: center;}
#accedir h3 {margin-bottom: 0;}
.box.js label {border: 2px solid var(--grey-4); border-radius: 6px;}

.form-bons-ok #accedir {text-align: left;}
.form-bons-ok #accedir h3 {text-align: center;}
#accedir .row:first-child {margin-bottom: 60px;}
#accedir .row:last-child img {margin-bottom: 20px;}
#accedir .table tr td:first-child {font-weight: bold;}
.descripcion p:first-child {margin-top: 20px; border-top: 1px solid var(--grey-3); padding-top: 15px;}
/*#registra {padding: 80px 0 4rem 0;}*/
#registra h3 {text-align: center; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
#registra .boton-validar {margin-top: 32px;}
#registra .validacion-ok {padding-top: 15px; color: var(--verde-ok); font-weight: bold;}
#registra .validacion-ok img {margin-right: 10px;}
#registra h4 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 3rem;}
#registra h4 strong {font-family: 'Tanker', Arial, Helvetica, sans-serif;}
#registra h4 img {display: none;}
#registra .select2-container--default .select2-selection--single {height: 38px;;}
@media (max-width:767px) {
    #registra button {width: 100%;}
}


hr {border-width: 2px; border-color: var(--grey-4); margin-bottom: 40px;}

form label {font-weight: 700;}
form .form-group {margin-bottom: 30px;}
form h4 {font-size: 1.5rem; margin-top: 45px; margin-bottom: 22px; font-weight: 700;}
form label.label-rel {position: relative; display: block;}
form label em {float: right; font-weight: 500; font-size: .8rem;}
form .boton-enviar {padding-top: 50px;}
form .boton-enviar a, form .boton-enviar button, .padding-extra {padding-left: 2rem; padding-right: 2rem; font-size: 1.25rem;}
#colaboradores {padding: 60px 0; text-align: center;}

.form-mes-informacio {}
/* .form-mes-informacio a {color: #666;} */
.form-mes-informacio em {font-size: .8rem;}
.form-mes-informacio h4 {font-size: 2rem; border-top: 1px solid #e5e5e5; padding-top: 1rem; margin-bottom: 0;}
.form-mes-informacio h5, .form-mes-informacio h3 {margin-top: 1.5rem; font-size: 1.5rem; text-align: left; margin-bottom: 0; font-family: 'Source Sans Pro'; font-weight: 600; font-family: 'Source Sans Pro', sans-serif;}

.descripcion p:first-child {
    margin-top: 20px;
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
}

/* 
#registra {
    padding: 10px 0 80px 0;
}

#registra h3 {
    text-align: center;
}

#registra .boton-validar {
    margin-top: 32px;
}

#registra .validacion-ok {
    padding-top: 35px;
    color: #7A9818;
}

#registra .validacion-ok img {
    margin-right: 10px;
}

hr {
    border-width: 2px;
    border-color: #999;
    margin-bottom: 40px;
}

.hr-registres {
    border-width: 1px;
    border-color: #E5E5E5;
    margin-bottom: 1rem;
}

.hr-vertical {
    height: 80%;
    width: 1px;
    background-color: #707070;
}

form label {
    font-weight: 700;
}

form .form-group {
    margin-bottom: 30px;
}

form h4 {
    font-size: 1.5rem;
    margin-top: 45px;
    margin-bottom: 22px;

    font-weight: 700;
}

form label.label-rel {
    position: relative;
    display: block;
}

form label em {
    float: right;
    font-weight: 500;
    font-size: .8rem;
}

form .boton-enviar {
    padding-top: 50px;
}
*/

/* ************************************************ colaboradores */
#colaboradores {padding: 60px 0; text-align: center;}




/* ************************************************ sobreescribir bootstrap */

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--secondary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--secondary) !important;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--secondary) !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--primary-disabled);
    border-color: var(--primary-disabled);
    color: var(--secondary-disabled) !important;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--secondary-disabled) !important;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary) !important;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: var(--primary) !important;
}

.btn-secondary:focus,
.btn-secondary.focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary) !important;
}

.btn-secondary.disabled,
.btn-secondary:disabled {
    background-color: var(--secondary-disabled);
    border-color: var(--secondary-disabled);
    color: var(--primary-disabled) !important;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show>.btn-secondary.dropdown-toggle {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary) !important;
}

.btn-info {
    color: var(--grey-6);
    background-color: var(--grey-2);
    border-color: var(--grey-6);
}

.btn-info:hover {
    color: var(--info);
    background-color: var(--black);
    border-color: var(--black);
}

.btn-info:focus,
.btn-info.focus {
    color: var(--black);
    background-color: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(var(--black), 0.5);
}

.btn-info.disabled,
.btn-info:disabled {
    color: var(--black);
    background-color: var(--white);
    border-color: var(--white);
}

.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show>.btn-info.dropdown-toggle {
    color: var(--black);
    background-color: var(--white);
    border-color: var(--white);
}

.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-info:not(:disabled):not(.disabled).active:focus,
.show>.btn-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--black), 0.5);
}

.alert-info, .alert-warning {
    color: var(--black);
    background-color: var(--secondary);
    border-color: var(--secondary);
}









/* ********************************************************* responsive: mobile */

@media (max-width: 767px) {
    div#header {
        /*padding-top: 40px;*/
    }
    div#header h1,
    div#header-form h1 {
        text-align: left;
        margin-left: 15px;
    }
    div#header h1 img {
        width: 55%;
    }
    div#header h2 {
        font-size: 1.2rem;
    }
    #com-funciona h3 {
        /*padding-top: 70px;*/
    }
    #com-funciona div.row:last-child p {
        margin-bottom: 4rem;
    }
    #header-form {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .mujer,
    .brazo {
        display: none;
    }
    #accedir .d-block {
        height: 20px;
        width: 100%;
    }
    #registra .boton-validar {
        margin-top: 0px;
    }
    #registra .validacion-ok {
        padding-top: 20px;
        text-align: center;
    }
    .modal ul {
        margin-bottom: 0;
    }
    .form-mes-informacio .col-sm-4 {
        margin-bottom: 2rem;
    }
    #header-sessio {padding-left: 1rem !important;}
}


/* ********************************************************* responsive: tablet vertical */

@media (min-width: 768px) and (max-width: 991px) {
    #com-funciona div.row:last-child p {
        margin-bottom: 50px;
    }
    #avantatges img.img-fluid {
        margin-top: 50px;
    }
    #header-form {
        padding-bottom: 250px;
    }
    .brazo {
        top: 80px;
        left: -85px;
    }
    .mujer {
        position: absolute;
        bottom: 0;
        right: -95px;
    }
    #com-funciona h4 {
        margin-bottom: 0.5rem !important;
    }
    #com-funciona .col-lg-2.col-sm-4 {margin-bottom: 2rem;}
    #com-funciona .col-lg-3.col-sm-6 {margin-bottom: 2rem;}
    #avantatges h3 {
        font-size: 36px;
    }
    .establishments-search form .form-group {
        margin-bottom: 20px;
    }
    .doble-missatge h4 {
        font-size: 32px;
    }
    div.header-in-campanyes {
        height: 30vh;
    }
}


/* *********************************************************  responsive: tablet horizontal */

@media (min-width: 992px) and (max-width: 1024px) {
    #header-form {
        padding-bottom: 210px;
    }
    .brazo {
        top: 80px;
        left: -55px;
    }
    .mujer {
        position: absolute;
        bottom: 0;
        right: -95px;
    }
    .com-apliquen .col-lg-2.col-sm-4 p strong {font-size: 48px;}
}

/**/




#header-sessio {
    box-shadow: 0px 5px 5px 0px rgba(189,189,189,1);
    background-color: var(--primary);
    overflow: hidden;
}
#header-sessio h1 {margin-right: 0px; margin-bottom: 0 !important;}
#header-sessio h1 img {width: 80%;}

#header-sessio a:before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: inherit;
    right: 0;
    background-color: var(--primary);
    -webkit-transition: .5s cubic-bezier(1, .25, 0, .75);
    transition: .5s cubic-bezier(1, .25, 0, .75);
}
.box__registre__old {display: none !important;}

.color-black {
    color: black;
}










/* *************************************************** com funciona + com apliquem ********/
#com-funciona {text-align: center; padding: 60px 0 80px 0; /*background-color: var(--primary-background);*/}
#com-funciona.com-apliquen {background-color: transparent;}
#com-funciona.com-apliquen .container {margin-top: -200px; background-color: var(--white); margin-bottom: 200px;}
#com-funciona h3 {font-weight: 700; font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 3rem; margin-bottom: 1rem;}
#com-funciona h3 span {display: none;}
#com-funciona h4 {margin-bottom: 1rem; color: var(--black); font-family: 'Tanker', Arial, Helvetica, sans-serif; font-size: 2rem;}
#com-funciona h4 span {color: var(--primary);}
#com-funciona.com-apliquen h3 {margin-top: 3rem;}
#com-funciona.com-apliquen h4 {color: var(--black); margin-bottom: 0;}
#com-funciona div.col:first-child {margin-bottom: 3rem;}
#com-funciona div.row:last-child p {font-size: 1.25rem;}
#com-funciona .section-title p {font-size: 1.5rem;}
#com-funciona.com-apliquen .com-apliquen-title p {font-size: 1.5rem;}
.com-apliquen-punts p {font-size: 1.25rem;}

.segells-box {padding-top: 3rem; margin-bottom: 0rem !important;}


/* *************************************************** avantatges ********/
#avantatges {text-align: center; padding-top: 3rem;}
.avantatges-text {padding: 0px 30px 0 0px;}
#avantatges h3 {font-size: 48px; color: var(--primary); font-weight: 600; margin-bottom: 1rem; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
#avantatges p {font-size: 24px; color: var(--grey-6);}
#avantatges ul {text-align: left;}
#avantatges li {margin-bottom: 12px;}
#avantatges div.col:first-child {margin-bottom: 3rem;}
#avantatges a {padding-left: 2rem; padding-right: 2rem; font-size: 1.25rem;}

/* *************************************************** forma part ********/
#forma-part {padding: 120px 0 120px 0; color: var(--black); text-align: center; position: relative; background: var(--primary); display: none;}
#forma-part p {margin-bottom: .5rem;}
#forma-part p:last-child {margin-top: 2rem;}
.form-part_background::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
    background: #D5055F;
    transform: skew(0, -1.5deg);
}
#forma-part a {font-size: 1.25rem;}


/* ************************************************* registre-presencial */
.registre-presencial {background: var(--primary-background); height: 300px; margin-bottom: 5rem;}
.registre-presencial h2 {font-weight: bold; font-size: 36px; color: var(--primary);}
.registre-presencial h2 small {font-size: 24px; display: block; padding-top: 1.5rem;}
.registre-presencial-office .row {margin-top: 2rem;}
.registre-presencial-office .row a {color: var(--black); text-decoration: underline;}
.registre-presencial-office address {margin-bottom: 1rem;}


/* ************************************************************ pre footer */
#pre-footer {
    padding-top: 0px;
    background: var(--primary);
    padding-bottom: 30px;
    color: var(--white);
    margin-top: 3rem;
}
#pre-footer a {color: var(--white);}
.pre-footer-logo div {margin-top: -30px; margin-bottom: 20px;}
.pre-footer-logo, .pre-footer-redes {margin-bottom: 30px;}
.pre-footer-logo a {text-decoration: none; color: var(--white);}
.pre-footer-logo a:hover {color: var(--secondary);}
.pre-footer-redes {color: var(--white); text-align: right; padding-top: 30px;}
.pre-footer-redes p {font-size: 1.2rem; margin-bottom: .5rem;}
.pre-footer-redes a {margin: 0 5px; text-decoration: none; color: var(--white);}
.pre-footer-redes a:last-child {margin-right: 0;}
#pre-footer ul {margin-top: 20px;}
#pre-footer ul li span {padding: 0 0 0 .8rem;}
/*.pre-footer-logo a:last-child {margin-left: 3rem;}*/
/*.pre-footer-logo a:last-child img {height: 150px;}*/
.pre-footer-sgn {text-align: center; padding-top: 1.5rem; padding-bottom: 1.5rem;}
.pre-footer-sgn hr {border: none; margin: auto; opacity: 1; width: 40px; border-top: 4px solid var(--secondary); margin-bottom: 1.5rem;}
.pre-footer-sgn p {font-size: 12px; color: var(--white);}
@media (max-width:767px) {
    .pre-footer-logo a:last-child {margin-left: 0rem;}
    .pre-footer-redes, .pre-footer-logo {text-align: center;}
    .pre-footer-logo .list-inline.mt-3 li.list-inline-item {display: block; text-align: center;}
    .pre-footer-logo .list-inline.mt-3 li.list-inline-item span {display: none;}
}
@media (min-width: 768px) and (max-width: 991px) {
    .pre-footer-redes img {width: 50px; height: auto;}
    .pre-footer-logo .list-inline.mt-3 li.list-inline-item {display: block;}
    .pre-footer-logo .list-inline.mt-3 li.list-inline-item span {display: none;}
}


/* **************************************************** faq */
.section-faq {margin-bottom: 3rem; padding-bottom: 4rem;}
.section-faq .btn-primary {padding-left: 2rem; padding-right: 2rem; font-size: 1.25rem;}
.section-faq .pop-up-shadow a p strong {font-size: 1.25rem;}
.section-faq h3 {font-size: 3rem; font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary);}
.seciont-faq span {display: none;}

.nav-tabs-faq, .nav-tabs-faq * {border: none;}

.nav-tabs-faq .nav-item.show .nav-link, .nav-tabs-faq .nav-link.active {
    color: var(--secondary);
    background-color: var(--primary);
    border: none;
}
.nav-tabs-faq .nav-link {border-radius: .25rem; margin-right: 1rem; background: var(--grey-2); color: var(--gray-dark); border: none;}
@media (max-width: 767px) {
    .nav-tabs-faq .nav-link {margin-right: 0.5rem; font-size: .80rem;}
}


/* **************************************************** listado campañas home */
#campaigns-list {background-color: var(--primary-background); padding-top: 3rem;}
.container__campains_actives {margin-top: 1.5rem; margin-bottom: 1.5rem;}
.container__campains_actives h3 {
    font-weight: 500;
    font-size: 30px;
    line-height: 33px;
    text-align: center;
    color: var(--black);
    margin-bottom: 1rem;
    }
.col-sm-6.container__campains_actives--bloc {margin-bottom: 2rem;}
.container__campains_actives-in {border: 1px solid var(--grey-2); height: 100%; margin-bottom: 1.2rem; background-color: var(--white);}
.container__campains_actives-in:hover {
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
}
.container__campains_actives--bloc-photo {background:var(--grey-2); position: relative;}
.container__campains_actives--bloc-photo figure {margin: 0;}
.container__campains_actives--finish {position: absolute; left: .2rem; bottom: -1rem;}
.container__campins_actives--bloc-text {text-align: left; padding: 1rem;}
.container__campins_actives--bloc-text h4 {font-size: 1.2rem; font-weight: normal; margin-bottom: 0;}
.container__campins_actives--bloc-text p {font-size: .9rem; color: var(--grey-5);}
.container__campins_actives--bloc-text hr {border: none; border-top: 1px solid var(--grey-2); margin-bottom: 10px;}
.container__campins_actives--bloc-btn {padding: 1rem;}
.container__campins_actives--bloc-btn div.btn {cursor: default !important;}
@media (max-width: 576px) {
    .container__campains_actives--bloc-photo figure img {max-width: 100%; height: auto;}
}







/* sobreescribir bootstrap */

.btn {
    font-weight: 600;
}

.btn-border {
    border-color: #000;
}

.btn-border:hover {
    background-color: #000;
    color: #fff;
}

.btn-black {
    background-color: #000;
    color: #fff;
}

.btn-black:hover {
    color: #fff;
}

.btn-llista {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #B2B2B2;
    font-weight: 300;
}

.btn-llista:hover {border: 1px solid var(--primary);}



.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
}

.img-minimizar img {
    max-width: 60%;
    height: auto;
}

.card {
    border-radius: 0.5rem;
    border: 0;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    /*height: 100%; da problemas en safari*/
    min-height: 350px;
    padding-bottom: 1.5rem;
}

.border-radius-25 {
    border-radius: 0.5rem 0.5rem 0 0;
}

/* .card:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 15px 0 15px;
    border-color: #ffffff transparent transparent transparent;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, -50%);
} */

.card figure {
    height: 170px;
    overflow: hidden;
    margin-bottom: 0;
    background: #f5f5f5;
}

.card .w-100 {width: 100%; padding: 0 15px;}
.card .w-100 a {
    position: absolute;
    display: block;
    bottom: 15px;
    width: 100%;
    padding: 10px 0;
}

.circle-card {
    width: 50px;
    height: 50px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    right: 1rem;
}

.carousel-control-next-icon {
    background-image: url(../img/control-next-icon.svg);
}

.carousel-control-prev-icon {
    background-image: url(../img/control-prev-icon.svg);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    background-size: 50% 50%;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1);
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
}

.dropdown-toggle:hover {
    color: #000000;
}

.display-flex {
    display: flex;
}

.menu-desplegable {
    display: none;
    transition: 0s;
    align-items: center;
}

.logo-menu {
    transition: 0s;
    margin-right: 20px;
    height: 120px !important;

}
@media all and (max-width:1023px) {
    .logo-menu {margin-top: 0 !important;}
}


/*forms*/

.small-error {
    color: #FF0000;
}

#carouselExampleControls .carousel {
    width: 100%;
    height: 60vh;
}

#carouselExampleControls .carousel .carousel-item img {
    object-fit: cover;
}



.no-resident a {
    color: #856404;
    text-decoration: underline;
}

.anim-load {
    color: #666;
}

.anim-load img {
    height: 70px;
    width: auto;
}



.box-contact img {
    float: left;
    margin-bottom: 2rem;
}

.box-contact a {
    color: #D5055F;
}

.dades-establiment a {
    color: #7C7C7C;
}

.dades-establiment a:hover {
    color: #000;
}

.form-group-ubicacio button {
    background: #000;
    border: none;
}

.form-group-ubicacio button span {
    color: #fff;
    background: transparent;
}

/* ****************************************** listado de campañas en página ciudadano */
.list-campains {padding-top: 2rem;}
.list-campains figure {
    height: 220px;
    overflow: hidden;
    margin-bottom: 0;
    background: #f5f5f5;
}

/* */
.campaign-intro .campaign-intro__parameters p strong {font-size: 24px;}
.bons-sol {margin: 0 1rem;}
.card-descarga-bo .background-green.estat-bo, .card-descarga-bo .background-black.estat-bo {margin-top: 1rem;}
.card-descarga-bo .background-green.estat-bo img, .card-descarga-bo .background-black.estat-bo img {float: left; margin-right: 1rem; width: 24px;}
.card-descarga-bo .background-green.estat-bo .clearfix {margin-top: 1rem;}
.card-descarga-bo p strong {font-size: 1.5rem;}
.card-descarga-bo .background-green.estat-bo p strong, .card-descarga-bo .background-black.estat-bo p strong {font-size: 1rem;}
/* */



.registre-presencial h1 small {
    font-size: 20px;
    padding-top: 1.5rem;
    display: block;
}

.establishments-search {
    padding-top: 2rem;
}

.establishments-search .btn {
    margin-top: 31px;
    height: 40px;
}

.campaign-graphic {
    height: 40vh;
    margin-top: 2rem;
}

.list-bons .card {
    padding-bottom: 0;
}


/* responsive: mobile */

@media (max-width: 767px) {
    div#header {
        /*padding-top: 40px;*/
    }
    div#header h1,
    div#header-form h1 {
        text-align: left;
        margin-left: 15px;
    }
    div#header h1 img {
        width: 55%;
    }
    div#header h2 {
        font-size: 1.2rem;
    }
    #com-funciona h3 {
        /*padding-top: 70px;*/
    }
    #com-funciona div.row:last-child p {
        margin-bottom: 4rem;
    }
    #header-form {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .mujer,
    .brazo {
        display: none;
    }
    #accedir .d-block {
        height: 20px;
        width: 100%;
    }
    #registra .validacion-ok {
        padding-top: 20px;
        text-align: center;
    }
    .modal ul {
        margin-bottom: 0;
    }
    .form-mes-informacio .col-sm-4 {
        margin-bottom: 2rem;
    }
    #carouselExampleControls .carousel {
        width: 100%;
        height: 35vh;
    }
}

@media (max-width: 1033px) {
    .menu-desplegable {
        display: flex;
    }
    .display-lg-none {
        display: none;
    }
}


/* responsive: tablet vertical */

@media (min-width: 768px) and (max-width: 991px) {
    #com-funciona div.row:last-child p {
        margin-bottom: 50px;
    }
    #avantatges img.img-fluid {
        margin-top: 50px;
    }
    #header-form {
        padding-bottom: 250px;
    }
    .brazo {
        top: 80px;
        left: -85px;
    }
    .mujer {
        position: absolute;
        bottom: 0;
        right: -95px;
    }
    #header-sessio h1 img {width: 85%; height: auto;}
    .establishments-search form .form-group {margin-bottom: 20px;}
    .title-ordenar {display: none;}

}


/* responsive: tablet horizontal */

@media (min-width: 992px) and (max-width: 1024px) {
    #header-form {
        padding-bottom: 210px;
    }
    .brazo {
        top: 80px;
        left: -55px;
    }
    .mujer {
        position: absolute;
        bottom: 0;
        right: -95px;
    }
}

@media (max-width: 576px) {
    .w-200 {
        width: 200%!important
    }
}





/* mobile vertical */

@media (max-width: 575px) {
    div.reactivem {
        max-width: 70px;
        max-height: auto;
    }
    #colaboradores h3 {
        font-size: 1.2rem;
    }
    section#google_maps {
        margin-top: 2rem;
    }
    .registre-presencial h1 {
        font-size: 2rem;
        width: 90%;
    }
    .registre-presencial h1 small {
        font-size: 1rem;
    }
    .registre-presencial .col-sm-6 img {
        margin-bottom: 1rem;
    }
    .box-contact img {
        float: none;
        margin-bottom: 1rem;
    }
    .card figure {
        height: 250px;
    }
    .pop-up-register form h4 {
        margin-top: 0;
    }
    .pop-up-register form .form-group {
        margin-bottom: 20px;
    }
    .pop-up-register form button {
        margin-top: 20px !important;
    }
    /*.pop-up-register-login {height: 50vh; overflow-y: scroll;}*/
    .pop-up-register-link {
        /* display: none; */
    }
    .ilustration-index-campaigns {
        display: none;
    }
    .list-campaings-hero-text {
        padding-bottom: 2rem;
    }
    .campaign-graphic {
        height: 30vh;
        margin-bottom: 0rem;
    }
    .card {min-height: 420px;}
    #com-funciona h4 {margin-bottom: 0.5rem !important;}
    #com-funciona {padding: 30px 0 0px 0;}
    .avantatges-text {padding: 120px 20px 60px 20px;}
    .ordenar-resultados {text-align: left;}
    .ordenar-resultados .ml-3 {margin-left: 0 !important;}
    .doble-missatge h4 {font-size: 32px;}
    .doble-missatge .col-md-6 {padding-top: 4rem;}
    .icono-presencial-1, .icono-presencial-2 {width: 60px;}
    .position-center {top: 45%;width: 80%;}
    .registre-presencial-office h4 {margin-top: 2rem;}
    div.header-in-campanyes {height: 30vh;}
    div.header-text h2 {font-size: 28px;}
    .t-0 {top: 20%;}
    .title-ordenar {display: none;}
    .establishments-search .btn {margin-top: 0px;}
    .establishments-search form .form-group {margin-bottom: 20px;}
}

@media (max-width: 1024px) {
    .establishments-search button {
        margin-top: 0;
    }
}

.cc_container a,
.cc_container a:visited {
    color: #00afea;
}

.cc_container a:hover,
.cc_container a:focus {
    color: #51d3ff;
}


/* Styles für "Verstanden"-Button */

.cc_container .cc_btn,
.cc_container .cc_btn:visited {
    color: var(--white);
    background-color: #00afea;
}

.cc_container .cc_btn:hover,
.cc_container .cc_btn:focus {
    color: var(--white);
    background: #51d3ff;
}

#maps * {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: all 0s ease;
    transition: none;
}



/* añadir teléfono al header */
.phone-help {position: absolute; top: -30px; width: 400px; text-align: right; right: 0; display: none;}
#header-sessio .my-auto.d-flex.align-items-center {position: relative;}

.phone-help-mobile {
    margin-top: 2rem;
    font-size: 1.2rem;
    border-top: 2px solid var(--primary);
    font-weight: bold;
    text-align: right;
    padding-top: 1rem;
}
.phone-help-mobile span {
    display: block;
    font-size: 1rem;
}

/* mejoras bons mayo 21 */

/* mensaje registro */
.alert__ja__registrat {margin-bottom: 3rem; padding: 2rem; border-radius:25px;}
.alert__ja__registrat p {font-size: 1rem; font-family: 'Poppins', sans-serif;}
.alert__ja__registrat p strong {font-size: 1.6rem;}
.alert__ja__registrat--icon {text-align: left;}
.alert__ja__registrat--text {color: var(--black);}
.alert__ja__registrat--btn a {margin-top: .6rem;}
@media (max-width:768px) {
    .alert__ja__registrat img {width: 50px; height: auto; margin-bottom: 15px;}
}

/* campañas en home */
.container__campains_actives {margin-top: 1.5rem; margin-bottom: 1.5rem;}
.container__campains_actives h3 {
    font-weight: 500;
    font-size: 30px;
    line-height: 33px;
    text-align: center;
    color: var(--black);
    margin-bottom: 1rem;
    }
.col-sm-6.container__campains_actives--bloc {margin-bottom: 2rem;}
.container__campains_actives-in {border: 1px solid var(--grey-2); height: 100%; margin-bottom: 1.2rem;}
.container__campains_actives-in:hover {
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
}
.container__campains_actives--bloc-photo {background:var(--grey-2); position: relative;}
.container__campains_actives--bloc-photo figure {margin: 0;}
.container__campains_actives--finish {position: absolute; left: .2rem; bottom: -1rem;}
.container__campins_actives--bloc-text {text-align: left; padding: 1rem;}
.container__campins_actives--bloc-text h4 {font-size: 1.2rem; font-weight: normal; margin-bottom: 0;}
.container__campins_actives--bloc-text p {font-size: .9rem; color: var(--grey-5);}
.container__campins_actives--bloc-text hr {border: none; border-top: 1px solid var(--grey-2); margin-bottom: 10px;}
.container__campins_actives--bloc-btn {padding: 1rem;}
.container__campins_actives--bloc-btn div.btn {cursor: default !important;}
@media (max-width: 576px) {
    .container__campains_actives--bloc-photo figure img {max-width: 100%; height: auto;}
}

/* pop up login */
.pop-up-register-login h4 {
    font-family: 'Tanker', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--primary);
}
#close-popup {position: absolute; top: 0; right: 0;}
.pop-up-register-login .offset-lg-1 {padding-top: 3rem; padding-right: 3rem;}
.pop-up-register-login--in {padding: 2rem; padding-top: 3rem;}


/* */
.campaign-intro .campaign-intro__parameters p strong {
    font-size: 24px;
}
.bons-sol {margin: 0 1rem;}

.card-descarga-bo .background-green.estat-bo, .card-descarga-bo .background-black.estat-bo {
    margin-top: 1rem;
}
.card-descarga-bo .background-green.estat-bo img, .card-descarga-bo .background-black.estat-bo img {
    float: left;
    margin-right: 1rem;
    width: 24px;
}
.card-descarga-bo .background-green.estat-bo .clearfix {
    margin-top: 1rem;
}
.card-descarga-bo p strong {font-size: 1.5rem;}
.card-descarga-bo .background-green.estat-bo p strong, .card-descarga-bo .background-black.estat-bo p strong {
    font-size: 1rem;
}

/* packs */
.packs-bons {padding-top: 4rem;}
.packs-bons h3 {
    margin-bottom: 1rem;
}
.packs-bons .packs-bons__intro p:last-child {
    margin: 1rem 0;
}
.packs-bons .card-descarga-bo h4 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
}
.packs-bons .card-descarga-bo h5 {
    font-weight: 600;
    font-size: 18px;
}
.packs-bons .estat-bo {
    margin: 1rem 1rem 0 1rem;
    min-height: 80px;
}
.packs-bons .estat-bo img {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
    width: 24px;    
}


.packs-bons-list {padding-top: 4rem;}
.packs-bons-list h3 {
    margin-bottom: 1rem;
}
.packs-bons-list p {
    margin-bottom: 2rem;
}
.packs-bons-list thead th {
    border-top: none;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
    color: var(--black);
    background-color: #abce95;
    border-color: #abce95;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show>.btn-primary.dropdown-toggle {
    background-color: #abce95;
    border-color: #abce95;
    color: var(--black);
}

/* idiomas */
.idiomas {display: none !important;}
.idiomas a {color: var(--grey-5); margin-left: 10px;}
.idiomas a.active {color: var(--primary);}


/* ************************************************************* extras */
.background-trade {background-color: var(--primary-background);}
.container-shops .card figure .w-100 {padding: 0;}

.img-minimizar img {
    max-width: 60%;
    height: auto;
}

.brazo {
    position: absolute;
    top: 80px;
    left: -25px;
}

.mujer {
    position: absolute;
    bottom: 0;
    right: -45px;
}

/*@media all and (max-width:1023px) {
    .div-up {margin-top: -100px;}
}*/

.bg-comercio h1, .bg-comercio p {color: var(--white);}


/* ficha agencia */
.ficha__agencia h1 {
    font-family: 'Tanker', Arial, Helvetica, sans-serif;
    color: var(--blau);
    margin-bottom: 1rem;
}
.ficha__agencia__nombre p {text-transform: uppercase;}
.ficha__agencia__info hr {
    border-width: 1px;
    border-color: var(--grey-2);
    margin-bottom: 10px;
    margin-top: 0.8rem;
}
.ficha__agencia__info h3 {margin-bottom: 1rem;}
@media (max-width:767px) {
    .ficha__agencia__info h3 {margin-top: 1.5rem;}
}
.ficha__agencia__relacionados h3 {margin-bottom: 1rem; color: var(--primary); font-family: 'Tanker', Arial, Helvetica, sans-serif;}
/* */







/***** ESTILOS PARA FORMULARIO ALTA AGENCIA (usar gafas de sol para comprobación del front) *****/

@font-face {
    font-family: 'Tanker';
    src: url('https://www.estalviatge.cat/front/css/Tanker-Regular.woff2') format('woff2'),
        url('https://www.estalviatge.cat/front/css/Tanker-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.alta__agencies__title {padding-top: 3rem;}
.alta__agencies__title p {margin-bottom: 1rem; font-size: 1.2rem;}

.alta__agencies h1 {
    font-family: 'Tanker', Arial, Helvetica, sans-serif;
    color: var(--blau);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.form__alta__agencies h2 {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    font-size: 32px;
    padding-bottom: 8px;
    border-bottom: 4px solid var(--groc);
    position: relative;
}
    .form__alta__agencies h2:before {
        position: absolute;
        content: '';
        bottom: -4px;
        left: 0px;
        height: 4px;
        width: 95px;
        border: none;
        z-index: 1;
        background-color: var(--blau);
    }
.form__alta__agencies h3 {
    font-size: 22px;
    margin-top: 1.5rem;
    
}

#registra.alta__agencies.form__alta__agencies {padding-top: 0;}

.form__alta__agencies {padding-bottom: 4rem;}
.form__alta__agencies a {text-decoration: underline;}
.form__alta__agencies a:not(.text-danger) {color: var(--blau);}
.form__alta__agencies i.fa-check {color: green;}
.form__alta__agencies label {font-weight: bold; display: block;}
.form__alta__agencies label em {font-style: normal; float: right; font-weight: normal; font-size: 14px;}
.form__alta__agencies label.form-check-label {font-weight: normal;}
.form__alta__agencies .form-group p {line-height: 100%; margin-top: 10px;}
.form__alta__agencies .form-group p small {color: #666;}
.form__alta__agencies button {background-color: var(--blau); color: var(--groc); border-color: var(--blau);}
.form__alta__agencies button:hover {background-color: var(--groc); color: var(--blau) !important; border-color: var(--secondary) !important;}
.form__alta__agencies .form-check {margin-bottom: .7rem !important;}

.form-group-file i {margin: 0 8px;}
.form-group-file a {margin-left: 10px; font-size: 14px;}
.form-group-file a:first-child {margin-left: 0;}

.row__tipologies {margin-top: 1.5rem;}

.row__legal .form-group {margin-bottom: 2rem;}
.row__legal .form-check-label a {color: #000; text-decoration: underline;}

.form__alta__agencies__text-largo-legal {padding-top: 2rem; padding-bottom: 2rem;}
.form__alta__agencies__text-largo-legal p {color: var(--grey-5); margin-bottom: .7rem;}

@media (max-width: 767px) {
    .alta__agencies h1 {font-size: 2rem;}
    .form__alta__agencies h2 {font-size: 1.3rem;}
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {color: #333;}

/* that's all folks */




/* hero yellow */
.hero__yellow {background-color: var(--secondary); padding-top: 6rem; padding-bottom: 6rem; text-align: center;}
.hero__yellow h1 {color: var(--primary); font-family: 'Tanker', Arial, Helvetica, sans-serif; font-size: 3rem; margin-top: 1.5rem; margin-bottom: 1rem;}
.hero__yellow p {color: var(--primary); font-size: 1.5rem;}
@media (max-width:576px) {
    .hero__yellow {padding: 4rem 1.25rem}
    .hero__yellow .container .row div {padding: 0 .2rem;}
    .hero__yellow h1 {font-size: 2rem;}
    .hero__yellow p {font-size: 1.2rem;}
}
@media (min-width:577px) and (max-width:767px) {
    .hero__yellow h1 {font-size: 2rem;}
    .hero__yellow p {font-size: 1.2rem;}
    .hero__yellow {padding-left: 1.5rem; padding-right: 1.5rem;}
}

/* mega copy */
.mega__copy {padding: 3rem 0 8rem 0; text-align: center;}
.mega__copy__title h2 {color: var(--primary); font-size: 3.5rem; margin-bottom: 0rem; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.mega__copy__title h2 span {display: block; color: var(--black); font-size: 2rem; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.mega__copy__title p {font-size: 1.4rem; margin-bottom: 2.5rem;}
.mega__copy__dates h3 {border-top: 4px solid var(--secondary); padding-top: 10px; color:var(--primary); margin-bottom: 0rem; font-size: 2rem; text-align: left; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.mega__copy__dates p {text-transform: uppercase; color: var(--grey-5); font-size: 1.2rem; text-align: left;}
@media (max-width:767px) {
    .mega__copy {padding: 3rem 0 4rem 0;}
    .mega__copy__title h2 {font-size: 2rem; margin-bottom: 1rem;}
    .mega__copy__title h2 span {font-size: 1.3rem;}
    .mega__copy__title p {font-size: 1rem; margin-bottom: 2rem;}
    .mega__copy__dates h3 {font-size: 1.75rem;}
    .mega__copy__dates p {font-size: 1rem;}
}

/* new com funciona */
.new__com__funciona {background-color: #EEEEFA;padding: 4rem 0;}
.new__com__funciona h2 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 2.5rem; margin-bottom: 0;}
.new__com__funciona p {color: var(--black); font-size: 1.2rem; margin-bottom: 2rem;}
.new__com__funciona h3 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 2rem; margin-bottom: 0;}
.new__com__funciona__puntos {padding-top: 3rem; padding-bottom: 3rem;}
.new__com__funciona__puntos img {margin-bottom: 1rem; height: 120px;}
.new__com__funciona__puntos h4 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--black); margin-bottom: 1rem;}
.new__com__funciona__puntos h4 span {color: var(--primary); font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.new__com__funciona__puntos p {font-size: 1.1rem; margin-right: 1rem;}
@media (max-width: 576px) {
    .new__com__funciona__puntos img {float: none; height: 100px; margin-right: 2rem; margin-top: 1.5rem;}
    .new__com__funciona__puntos {padding-bottom: 0rem;}
    .new__com__funciona__puntos:last-child {padding: 0rem; padding-bottom: 3rem;}
}
@media (min-width:577px) and (max-width:767px) {
    .new__com__funciona__puntos img { float: left; width: 100px; margin-right: 2rem;}
}
@media (min-width:992px) {
    .new__com__funciona picture {margin-top: -8rem; display: block;}
    .new__com__funciona__puntos h4 {margin-bottom: 0;}
    .new__com__funciona__puntos__text {margin-bottom: 2rem;}
}

/* double action */
.double__action {padding: 4rem 0 0 0;}
.double__action h3 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 2.5rem; margin-bottom: 1rem;}
.double__action h3 span {font-size: 1.2rem; color: var(--black); display: block !important; margin-bottom: 0rem;}
.double__action h3 strong {font-size: 3rem; display: block; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.double__action .in {padding-bottom: 4rem; height: 100%;}
.double__action .in-right {border-left: 1px solid var(--primary); padding-left: 3rem;}
.double__action .in-left {padding-right: 3rem;}
.double__action p {margin-bottom: 1rem; font-size: 1.2rem;}
.double__action .in p:last-child {margin-top: 2rem;}
@media (max-width:576px) {
    .double__action .in .btn {width: 100%;}
}
@media (max-width:767px) {
    .double__action .in-right, .double__action .in-left {border: none; padding-left: 0; padding-right: 0;}
}
@media (min-width: 768px) and (max-width: 991px) {
    .double__action .in-left {padding-right: 2rem;}
    .double__action .in-right {padding-left: 2rem;}
}

/* blue block */
.blue__block {background-color: var(--primary); padding: 4rem 0; margin-bottom: 8rem;}
.blue__block h3 {color: var(--secondary); font-size: 2.5rem; font-family: 'Tanker', Arial, Helvetica, sans-serif; margin-bottom: 1rem;}
.blue__block h3 strong {font-family: 'Tanker', Arial, Helvetica, sans-serif; display: block; font-size: 3rem;}
.blue__block p {color: var(--white); margin-bottom: 2rem;}
.blue__block p.blue__block__xarxes a:not(:last-child) {margin-right: 8px;}
.blue__block__yellow {background-color: var(--secondary); padding: 1.5rem 1.5rem 2rem 1.5rem; margin-bottom: -8rem;}
.blue__block__yellow p {color: var(--primary); font-size: 1.3rem; margin-bottom: 2rem;}
.blue__block__yellow p:first-child {text-transform: uppercase;}
.blue__block__yellow p:last-child {margin-bottom: 0;}
.blue__block__calendar, .blue__block__faq {margin-bottom: 1rem;}
.blue__block__calendar p:first-child, .blue__block__faq p:first-child {text-transform: uppercase;}
@media (max-width:576px) {
    .blue__block__calendar img, .blue__block__faq img, .blue__block__yellow img {width: 70px; margin-bottom: 1rem;}
    .blue__block .btn {width: 100%;}
}
@media (max-width:767px) {
    .blue__block p.blue__block__xarxes {margin-bottom: 3rem;}
}

/* need inspiration */
.need__inspiration {padding: 5rem 0;}
.need__inspiration h3 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 2.5rem; margin-bottom: 1rem;}
.need__inspiration h3 strong {font-size: 3rem; display: block; font-family: 'Tanker', Arial, Helvetica, sans-serif;}
.need__inspiration p {margin-bottom: 2rem; color: var(--grey-5); font-size: 1.2rem;}
.need__inspiration p strong {font-size: 1.5rem; color: var(--black);}
.need__inspiration .ig__plugin {margin-top: 1rem;}
.need__inspiration p.need__inspiration__xarxes a:not(:last-child) {margin-right: 1rem;}
.need__inspiration p.need__inspiration__xarxes img {width: 70px;}
@media (max-width: 767px) {
    .need__inspiration {padding-top: 2rem;}
}
@media (min-width: 768px) and (max-width: 991px) {
    .need__inspiration {padding-top: 0rem;}
}

/* new collaborators */
.new__collaborators {padding: 3rem 0 4rem 0;}
.new__collaborators hr {border: none; border-bottom: 3px solid var(--primary); margin: auto; width: 30px; margin-bottom: 1.2rem;}
.new__collaborators p {font-size: 1.4rem; font-weight: 600; color: var(--black); margin-bottom: 2.5rem;}


/* nuevo listado agencias */
.container-shops .card {min-height: 200px; box-shadow: none; border-radius: 0;}
.container-shops .card::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    top: -3px;
    left: 0;
    right: inherit;
    background-color: var(--primary);
    transition: .5s
}
.container-shops .card:hover:after {width: 100%; transition: .5s}
.container-shops .card.overflow-hidden {overflow: visible !important;}
.container-shops .card figure {display: none;}
.container-shops .card .px-3.pt-3 {padding-left: 0 !important; padding-right: 0 !important;}
.container-shops .card .px-3.pt-3 p:first-child {font-size: 1.5rem; margin-bottom: 0.7rem;}
.container-shops .contenedor-boton {padding: 0;}


/* popup login */
@media (max-width: 767px) {
    .pop-up-register-login--in {padding: 1.2rem;}
    .pop-up-register-login--in h4 {font-size: 1.2rem;}
    .pop-up-register-login--in p {font-size: .8rem;}
    .pop-up-register-login--in form {margin-bottom: 0;}
    .pop-up-register-login--in .form-group {margin-bottom: 10px;}
    .pop-up-register-link h4 {font-size: 1.2rem;}
    .pop-up-register-link p {font-size: .8rem;}
}


/* otros nuevos */
label[for="privacy_policy"] a {text-decoration: underline;}
.dades-establiment p.color-grey {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.dades-establiment p.color-grey em {display: inline-block; float: left; font-style: normal; margin-top: 3px; width: 26px;}
.dades-establiment p.color-grey span {display: block; margin-left: 16px;}

/* listado aavv */

.card--aavv {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border:none;
    display: block;
    text-decoration: none;
    border: 2px solid var(--grey-2);
    height: 100%;
}
.card--aavv::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    top: -2px;
    left: -1px;
    right: inherit;
    background-color: var(--primary);
    transition: .5s;
}
.card--aavv:hover {text-decoration: none; background-color: var(--secondary);}
.card--aavv:hover:after {width: 100%; transition: .5s; width: calc(100% + 2px);}
a.card--aavv strong {color: var(--black); font-weight: 400; font-size: 1.6rem; display: block; font-family: 'Tanker', Arial, Helvetica, sans-serif; text-transform: lowercase;}
a.card--aavv span {display: block; color: var(--grey-5); font-size: .9rem; text-transform: uppercase;}
a.card--aavv em {display: block; font-style: normal; padding-top: 3rem; font-size: .9rem; text-transform: uppercase; color: var(--primary);}
/* modificar el select2 del form de busqueda de aavv */
/* inputs */
.establishments-search .select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    padding-bottom: 5px;
    padding-right: 5px;
    height: 40px;
    padding-left: 8px;
    padding-top: 3px;
    font-size: 1rem;
}
/* selects */
.establishments-search .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    height: 39px;
    padding-left: 4px;
    padding-top: 4px;
    font-size: 1rem;
    color: #495057;
    font-weight: normal;
}
.establishments-search .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
    right: 3px;
}
.establishments-search .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
}
.establishments-search .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #495057;
}
#header-sessio .btn-secondary {/* padding-top: 1px; margin-top: -4px; */ margin-bottom: .25rem;}
#header-sessio a {height: auto;}
.blue__block--user {background-color: transparent; margin-bottom: 4rem;}
.blue__block--user__in {background-color: var(--primary); border-radius: 20px; padding: 2rem;}
.blue__block--user p {margin-bottom: 1rem;}
.blue__block--user .blue__block__faq p:first-child {margin:0 0 .8rem 0;}
.blue__block--user .blue__block__yellow {padding-left: 2.5rem;}
.blue__block--user .blue__block__yellow p {color: var(--black); font-weight: 600; line-height: 140%;}
.blue__block--user .blue__block__yellow a {width: 100%; font-size: 1.3rem; margin-top: 3rem;}
.blue__block--user h4 {font-family: 'Tanker', Arial, Helvetica, sans-serif; font-size: 2.5rem; color: var(--primary);}
.blue__block--user h4 strong {display: block; font-family: 'Tanker', Arial, Helvetica, sans-serif; font-size: 3.5rem; position: relative;}
.blue__block--user h4 strong img {position: absolute; left: -80px; top: -10px; width: 80px; height: 80px; text-align: center; }
.blue__block--user .blue__block__yellow hr {border: none; border-bottom: 3px solid var(--primary); width: 60px; margin-left: 0;}
.blue__block--user .blue__block__yellow__position strong {display: block; font-family: 'Tanker', Arial, Helvetica, sans-serif; font-size: 4rem; color: var(--primary); margin: 1rem 0;}
.blue__block--user .blue__block__yellow .lh-110 {line-height: 110% !important;}
.blue__block--user .blue__block__yellow h3 {color: var(--primary);}

@media (max-width: 767px) {
    .blue__block--user h3 {font-size: 1.8rem;}
    .blue__block--user h3 strong {font-size: 2.2rem;}
    .blue__block--user p {font-size: .9rem;}
    .blue__block--user .btn {width: auto;}
    .blue__block--user .blue__block__yellow a {font-size: 1rem;}
    .blue__block__yellow__position strong {margin: 1.5rem 0;}
}
@media (min-width: 768px) and (max-width:991px) {
    .blue__block--user h4 {font-size: 2rem;}
    .blue__block__yellow .lh-110 {font-size: 95%;}
}
.wrapper__user__validated header {background-color: var(--secondary); padding-top: 3rem; margin-bottom: 7rem;}
.wrapper__user__validated header img {width: 40%; height: auto; margin-bottom: -3rem;}
.wrapper__user__validated {padding-bottom: 4rem;}
.wrapper__user__validated h1 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 3rem;}
.wrapper__user__validated p {font-size: 1.5rem; color: var(--grey-5);}
.wrapper__user__validated a {padding-left: 3rem; padding-right: 3rem;}
.wrapper__user__validated .user__validated__logos {padding: 4rem 0;}
/* página post registro usuario */
.user__wait {padding: 4rem 0;}
.user__wait h1 {font-family: 'Tanker', Arial, Helvetica, sans-serif; color: var(--primary); font-size: 3rem; margin-bottom: 2rem;}
.user__wait h1 span {padding-bottom: 4px; border-bottom: 3px solid var(--secondary);}
.user__wait p {font-size: 1.5rem; color: var(--grey-5);}
.user__wait p strong {color: var(--primary);}
@media (min-width: 992px) {
    .user__wait .col-12 {margin: auto; max-width: 70%;}
}


/* paginador */
#llistat .page-item.active .page-link {
    color: var(var(--secondary));
    background-color: var(--primary);
    border-color: var(--primary);
}
#llistat .page-link {
    color: var(--grey-5);
    background-color: var(--grey-2);
    border: 1px solid var(--grey-2);
}
#llistat .page-link:hover {
    color: var(--primary);
    background-color: var(--secondary);
    border-color: var(--primary);
}
#llistat .page-link.active {background: var(--primary); color: var(--secondary); border-color: var(--primary);}