/* *******************************************************  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: #032a6e;
    --primary-hover: #2d559b;
    --primary-disabled: #5e82bf;
    --primary-background: #E5ECF7;
    --secondary: #469623;
    --secondary-hover: #60b43b;
    --secondary-disabled: #9cce87;
    --secondary-background: #effaea;

    --verde-ok: #7A9818;

    
}

/* *******************************************************  bons.cat */
.bonscat-top {background: #003777; text-align: right; padding: 10px 0;}
.footer-bonscat {background: #003777; color: #fff; text-align: center; padding: 40px 0 60px 0;}
.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;}

/**/

.btn-outline-primary {border: 2px solid var(--primary); font-weight: bold; color: var(--primary);}
.btn-outline-primary:hover {color: var(--white); 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;
    overflow-x: hidden;
}

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

h2 {
    font-size: 1.5rem;
}

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

h3 span {
    display: block;
    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;
}

.menu-hamb {
    height: 18px;
    width: 35px;
    position: relative;
}

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

.hamb-up {
    top: 0;
}

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

.hamb-down {
    bottom: 0;
}

#header-sessio a {
    position: relative;
}

#header-sessio a:hover {
    text-decoration: none;
}



.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-background,
.registra-mostra,
#mapa {
    display: none;
    transition: 0s
}

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

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

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

.arrow-round {
    transition: 0s
}

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


/* *******************************************************  doble missatge */
.doble-missatge {margin-top: 3rem;}
.doble-missatge h4 {font-size: 42px; font-weight: bold; color: var(--primary);}
.doble-missatge__right h4 {color: var(--secondary);}
.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;}


.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(--white); text-align: center;}
div.header-text h2 {font-weight: bold; font-size: 36px; color: var(--primary);}
div.header-text p {color: var(--grey-5);}
.wrapper-slide-message {background-color: var(--white);}
.slide-message {margin-top: -60px; /*margin-bottom: 60px;*/}
.slide-message__alert {color: var(--black); font-weight: bold;}

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

/* pop up login */
.pop-up-register-login h4 {
    font-family: Poppins;
    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;}

/* 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(../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: 450px; /*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;}

/* ******************************************************* forma part */
#forma-part {padding-top: 85px; color: var(--white); text-align: center; position: relative;}
#forma-part h3 {color: var(--white); font-size: 63px;}
#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;}
#registra h3 {text-align: center;}
#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;}

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; display: none;}

.form-mes-informacio {}
.form-mes-informacio a {color: #666;}
.form-mes-informacio em {font-size: .8rem;}
.form-mes-informacio h5 {margin-top: 2rem;}

.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);
}

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

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

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

.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);
}

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

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

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

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

.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);
}

.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(--primary);
    border-color: var(--primary);
}

.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);
}










/* ********************************************************* 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: #fff;
    overflow: auto;
}
#header-sessio h1 {margin-right: 30px; margin-bottom: 0 !important;}

#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);
}

.color-black {
    color: black;
}










/* *************************************************** com funciona + com apliquem ********/
#com-funciona {text-align: center; padding: 30px 0 80px 0; /*background-color: var(--primary-background);*/}
#com-funciona.com-apliquen {background-color: var(--primary-background);}
#com-funciona h3 {font-weight: 700;}
#com-funciona h4 {margin-bottom: 1rem; color: var(--primary);}
#com-funciona.com-apliquen h4 {color: var(--black);}
#com-funciona div.col:first-child {margin-bottom: 3rem;}
#com-funciona div.row:last-child p {font-size: 1.25rem;}


/* *************************************************** avantatges ********/
#avantatges {text-align: center; padding-top: 3rem;}
.avantatges-text {padding: 0px 30px 0 0px;}
#avantatges h3 {text-align: left; font-size: 48px; color: var(--primary); font-weight: 600; margin-bottom: 1rem;}
#avantatges p {text-align: left; 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);}
#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: 50px;
    background: var(--primary);
    padding-bottom: 30px;
    text-align: center;
    color: var(--black);
}
#pre-footer a {color: var(--black);}
.pre-footer-logo, .pre-footer-redes {margin-bottom: 30px;}
.pre-footer-redes a {margin: 0 10px;}
.pre-footer-info 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;}*/
@media (max-width:767px) {
    .pre-footer-logo a:last-child {margin-left: 0rem;}
}


/* **************************************************** faq */
.section-faq {margin-bottom: 3rem;}
.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;}



/* **************************************************** 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;}
#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: Poppins;
    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 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);}
