body {

    background-color: #F6F9F9 !important;

}

.img-fluid-activitats {
    /*
    width: 222px;  /* or any other value you prefer 
    height: 123px; /* or any other value you prefer */
    width: 100%;
    max-height: 300px;
    object-fit: cover; /* this will ensure the image covers the entire dimension without distortion */
}



.icon-small {

    height: 18px;

    margin: 0;

    padding: 0;

}



.icon-medium {

    height: 22px;

    margin: 0;

    padding: 0;

}



header .container {

border-bottom: none;

}



header .container:after {

    background: #D5002D !important;

}



header .mm-top > ul > li {

    padding: 30px 8px 5px 8px !important;

}



header .mm-bottom > ul > li {

    padding: 5px 5px 10px -3px !important;

}



header .mm_old > ul > li {

    padding: 60px 8px 10px 8px !important

}



@media screen and (min-width: 0\0

) {

    #blog .blog-post-container .single-post .img-holder img {

        max-width: 372px;

    }

}



@media only screen and (max-width: 1199px) and (min-width: 992px) {

    header .mainmenu-container > ul > li {


    }



    header .mainmenu-container-top > ul > li {

        padding: 0 7px !important;

    }



    header .mm-top > ul > li {

    padding: 30px 8px 5px 8px !important;

}







    header .container {

        /*height: 100px;*/

    }

}



@media only screen and (max-width: 480px) {

    .preloader {

        background-size: 75%;

    }



    #upcoming-event form input {

        width: 250px;

    }



    section #upcoming-event {

        margin-top: 0px;

    }



    /*section #single-blog-post

    {

        padding: 80px 15px 0px 15px;

    }*/

}



@media only screen and (min-width: 768px) and (max-width: 1024px) {

    #upcoming-event form input {

        width: 100px;

    }

}



header .mainmenu-container > ul > li > a:hover, header .mainmenu-container-top > ul > li > a:hover {

    color: #ffb8b8;

}



header .mainmenu-container > ul > li.current > a, header .mainmenu-container-top > ul > li.current > a  {

    color: #ffffff;

}






#header {

    background-color: #D5002D;

    /*background: linear-gradient(to right, rgba(213, 0, 45, 0.7) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%);

    background: linear-gradient(to right, rgba(213, 0, 45, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%);*/

}


.gradient-overlay:before {
    background-color: #D5002D !important;
}
 
.menu-header-toptop {
    background-color: #29363E !important;
}

.linkmenutoptop {
    font-size: 12px !important;
}


.no-fixed-header {
  
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 3px 6px rgba(213, 0, 45, 0.5) !important;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}




#upcoming-event {

    padding: 100px 0px 20px 0px;

}



#event-speakers {

    padding: 80px 0;

}



#subscribe-newsletter + * {

    padding-top: 130px;

}



#banner .slotholder:before {

    /*background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%) !important;*/

}



#blog .blog-post-container .single-post .img-holder:before {

    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%)

}



#upcoming-event .tab-title-wrap ul li.active span {

    background: #D5002D;

    color: #fff;

}



#upcoming-event .tab-content-wrap .col-lg-3 .img-holder:before {

    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%);

}



#upcoming-event .tab-title-wrap ul li span:hover {

    background: #D5002D;

}



#upcoming-event .tab-content-wrap .col-lg-3:hover .content-wrap {

    box-shadow: 0 0 0 1px #D5002D;

}



#upcoming-event .tab-content-wrap .col-lg-3 .content-wrap a.read-more:hover {

    color: #000000;

}



#upcoming-event .tab-content-wrap .col-lg-3 .content-wrap .meta ul li span .fa {

    color: #D5002D;

    margin-right: 5px;

}



.section-title h1:before {

    background: #D5002D;

}



#upcoming-event .tab-content-wrap .col-lg-3 .content-wrap a.read-more {

    color: #D5002D;

}



#blog .blog-post-container .single-post .content a.read-more {

    border: 1px solid #D5002D;

    color: #D5002D;

}



#blog .blog-post-container .single-post .content a.read-more:before {

    background: #D5002D;

}



#event-speakers a.show-more {

    background: #D5002D;

}



#event-speakers a.show-more:hover {

    border-color: #D5002D;

    color: #D5002D;

}



#upcoming-event .tab-content-wrap .col-lg-4 {

    padding: 0 10px;

    margin-bottom: 25px;

}



#banner .slotholder:before {

    /*background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%);*/

}



#upcoming-event .tab-content-wrap .col-md-4 .img-holder:before {

    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%);

}



#blog .blog-post-container .single-post .img-holder:before {

    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #D5002D 100%, rgba(255, 255, 255, 0) 100%)

}



.hvr-bounce-to-right:before {

    background: #D5002D;

}



a:focus, a:hover {

    color: #a00123;

    text-decoration: underline;

}



a {

    color: #D5002D;

    text-decoration: none !important;

}



header .mainmenu-container > ul > li > ul {

    width: 280px !important;

}



header .mainmenu-container-top > ul > li > ul {

    width: 280px !important;

}



@media only screen and (max-width: 480px) {

    header .mainmenu-container > ul > li > ul {

        width: 280px !important;

        

    }



    header .mainmenu-container-top > ul > li > ul {

        width: 280px !important;

    

    }

}



header .logo {

    padding-top: 15px;
    margin-bottom: 15px;

}

/* Mòbil: els logos ocupen gairebé tota la capçalera i l'hamburguesa és petita */
@media only screen and (max-width: 767px) {
    header .contingut-menu-general > .logo {
        width: calc(100% - 46px);
        padding-top: 10px;
        padding-bottom: 10px;
    }
    header .contingut-menu-general > .menu-mobile {
        width: 46px;
    }
    header .logo {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }
    /* Logos alineats a l'esquerra, com a escriptori */
    header .logo a {
        flex: 0 1 auto;
        min-width: 0;
        text-align: left;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    header .logo img {
        max-width: 100%;
        width: auto !important;
        height: auto !important;
        max-height: 64px;
    }
    /* Hamburguesa més petita, centrada amb els logos */
    header nav.mainmenu-container.menu-mobile .nav-toggler {
        font-size: 18px;
        line-height: 1;
        padding: 8px 9px;
        top: 24px;
        right: 4px;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 480px) {
    header .logo img {
        max-height: 52px;
    }
    header .logo {
        gap: 8px;
    }
    header nav.mainmenu-container.menu-mobile .nav-toggler {
        top: 19px;
    }
}



header.header-fixed .logo {

    padding-top: 11px !important;

}



.register-now ul li .input-wrap button:before {

    background: #D5002D;

}



.register-now ul li .input-wrap button:hover {

    color: #FFFFFF

}



.panel-heading .accordion-toggle.collapsed:after {

    content: "\e080";

}



.panel-heading .accordion-toggle:after {

    font-family: 'Glyphicons Halflings';

    content: "\e114";

    float: right;

    color: #D5002D;

}



.register-now {

    background: #F6F9F9 !important;

}



/*.register-now ul { border: 1px solid #D5002D; border-radius: 5px; }*/



#page-title {

    padding: 50px 0 50px !important;

}



#event-sponsor > .fletxa-blanca .sponsor-logo .owl-prev i, #event-sponsor > .fletxa-blanca .sponsor-logo .owl-next i {

    color: #FFFFFF !important;

}



.owl-carousel .owl-item img {

    height: 96px;

    width: auto;

}



.mod > .owl-item {

    margin-right: 75px !important;

}



.owl-stage {

    height: 96px;

}



.owl-stage-outer {

    height: 96px;

}



section#event-sponsor {

    padding: 0px 0px !important;

}



.price img {

    height: 350px;

}



#pricing-table .single-price-box {

    height: 640px !important;

}



img.fancybox_blog {

    height: 125px;

}



/* Classes Noves */



.veure_noticies {

    border: 1px solid #D5002D;

    text-transform: uppercase;

    color: #D5002D;

    font-size: 12px;

    line-height: 33px;

    padding: 0 22px;

    display: inline-block;

    font-weight: bold;

    border-radius: 5px !important;

    background-color: #FFFFFF;

}



.reduir-padding-superior {

    padding-top: 20px !important;

}



.reduir-margin-superior {

    margin-top: 20px !important;

}



/*.padding-top-40px-q { padding-top: 40px !important; }*/



.reduir-padding-blog {

    padding-top: 0px !important;

}



.bg-white {

    background-color: #FFFFFF;

}



.logos-vic {

    background-color: white;

    padding: 35px 0px 0px 15px;

    margin: 0px 0px 20px 0px;

}



.boto-vermell {

    font-size: 12px;

    line-height: 33px;

    padding: 0 22px;

    display: inline-block;

    font-weight: bold;

    border-radius: 5px !important;

    border: 1px solid #D5002D;

    text-transform: uppercase;

    background-color: #D5002D !important;

    color: #FFFFFF !important;

}



.boto-vermell:hover {

    color: #D5002D !important;

}



.boto-vermell:before {

    background: #FFFFFF !important;

    border-radius: 5px;

}



.padding-0 {

    padding: 0px 0 !important;

}



.align-center {

    text-align: center !important;

}



.color-negre {

    color: #000000 !important;

}



.color-blanc-q {

    color: #FFFFFF !important;

}



.padding-40px-q {

    padding: 40px 40px !important;

}



.fix-section-q {

    margin-bottom: -110px;

    padding-bottom: 200px;

}



.padding-horiz-15px-q {

    padding: 0px 15px;

}



.fletxa-blanca {

    color: #FFFFFF;

}



.margin-bottom--45px-q {

    margin-bottom: -45px !important;

}



.img-articles {

    width: 175px;

    height: auto;

}



.width-sliders-article {

    width: 96.6%;

}



.width-100 {

    width: 100% !important;

    /*height: 388px !important;*/

}



.height-388 {

    height: 388px !important;

}



.alcada-content-wrap {

    height: 290px;

}



.marge-bottom-perfil {

    margin-bottom: 25px;

}



.marge-bottom-docs-rel {

    margin-bottom: 25px;

}



/* EXPOSITORS */



.mt-element-card.mt-card-round .mt-card-item {

    padding: 40px 15px 10px;

}



.mt-element-card .mt-card-item {

    border: 1px solid #e7ecf1;

    position: relative;

    margin-bottom: 30px;

}



.mt-element-card .mt-card-item .mt-card-avatar {

    margin-bottom: 15px;

}



.mt-element-overlay .mt-overlay-1 img {

    display: block;

    position: relative;

    -webkit-transition: all .4s linear;

    transition: all .4s linear;

    max-width: 98%;

    height: auto;

    max-height: 150px;

    float: left;

    padding-right: 0px;

    /*max-height: 95px*/

}



.mt-element-overlay .mt-overlay-1 .mt-overlay {

    position: absolute;

    overflow: hidden;

    top: 0;

    left: 0;

    opacity: 0;

    background-color: rgba(0, 0, 0, .7);

    -webkit-transition: all .4s ease-in-out;

    transition: all .4s ease-in-out;

}



.mt-element-card .mt-card-item .mt-card-content {

    text-align: left;

}



.mt-element-card .mt-card-item .mt-card-content .mt-card-name {

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 10px;

}



.mt-element-card .mt-card-item .mt-card-content .mt-card-desc {

    font-size: 14px;

    margin: 0 0 10px;

}



.mt-element-card .mt-card-item .mt-card-social > ul {

    padding: 0;

    margin-bottom: 10px;

    /*margin-top: 95px;*/

}



.mt-element-card .mt-card-item .mt-card-social > ul > li {

    list-style: none;

    display: inline-block;

    margin: 0 5px;

}



#descripcio_expositors {

    margin-top: 50px;

}



/********** PERFIL **********/



.marge-superior {

    margin-top: 50px;

}



.marge-top-perfil {

    margin-top: -150px !important;

}



/*.contact .form-section ul li input.q

{

    height: 28px !important;

}



.contact .form-section ul li input {

  width: 100%;

  border: 1px solid #ccc;

  height: 35px;

  padding: 0 20px;

  border-radius: 5px;

  line-height: 50px;

  outline: none;

  transition: all .3s ease;

}*/



.contact .form-section input {

    height: 35px !important;

}



.contact .form-section input {

    width: 100%;

    border: 1px solid #ccc;

    height: 35px;

    padding: 0 20px;

    border-radius: 5px;

    line-height: 50px;

    outline: none;

    transition: all .3s ease;

}



.margin-bottom-perfil {

    margin-bottom: 15px;

}



.margin-bottom-boto {

    margin-bottom: 25px;

}



/*.table-responsive

{

    overflow-x: none !important;

}*/



/********** EXPOSITORS **********/



.separacio-zones {

    margin-top: 50px !important;

}



/********** LOGIN **********/



.marge-inferior {

    margin-bottom: 35px !important;

}



.marge-superior-login {

    margin-top: 25px !important;

}



.marge-superior-login-primer {

    margin-top: 40px !important;

}



.register-now ul li {

    float: none !important;

}



.marge-lateral-login-dreta {

    margin-right: 40px !important;

}



.vermell {

    color: #D5002D !important;

}



.font-red-sunglo {

    color: #D5002D !important;

}



.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {

    background-color: #D5002D !important;

    border-color: #D5002D !important;

}



.form-sense-fons {

    background: none !important;

    /*margin-top: -150px !important;*/

}



#dotted-profile {

    border: 1px dotted;

    margin-top: 5px;

}



.form-sense-fons-primer {

    background: none !important;

}



/*#perfil-primer {

    margin-top: -150px !important;

    margin-left: -50px !important;

}*/



.owl-carousel .owl-stage-outer {

    margin-top: -40px;

}



#event-sponsor .sponsor-logo .owl-prev i, #event-sponsor .sponsor-logo .owl-next i {

    line-height: 35px;

}



.register-now ul li .input-wrap input:focus, .register-now ul li .input-wrap input:hover {

    border-color: #D5002D !important;

}



.fira-particular {

    margin-top: 15px;

}



#proces_inscripcio {

    margin-top: 15px;

}



.separacio-steps {
    width: 20% !important;
    /* width: 16% !important; */
    font-size: 12px !important;
}



/********** FOOTER **********/



#event-sponsor .sponsor-logo .owl-prev, #event-sponsor .sponsor-logo .owl-next {

    background: none !important;

    border: none !important;

}



#event-sponsor .sponsor-logo .owl-prev i, #event-sponsor .sponsor-logo .owl-next i {

    color: #000 !important;

}



.mida-font {

    font-size: 10px !important;

}



#page-title h1 {

    font-size: 35px !important;

}



#event-sponsor .sponsor-logo-row {

    margin-top: 0px !important;

    padding: 15px;

}



#event-sponsor .sponsor-logo .owl-prev, #event-sponsor .sponsor-logo .owl-next {

    top: 56px;

}



.owl-carousel .owl-item .peu img {

    height: 65px !important;

}



#event-sponsor .fletxa .owl-prev, #event-sponsor .fletxa .owl-next {

    top: 52px;

}



.owl-item {

    text-align: center;

}



#upcoming-event .tab-content-wrap .col-md-4 .content-wrap .meta {

    min-height: 80px;

}



#upcoming-event .tab-content-wrap .col-md-4 .content-wrap p {

    min-height: 30px;

}



.no_slider

{

    margin-top:15px;

}







.auto_h {

  height: auto !important;

}



@media screen and (min-width: 1225px)

{



    #upcoming-event .tab-content-wrap .col-md-4

    {

        height:670px;

    }



}



@media only screen and (min-width: 985px) and (max-width: 1225px) 

{

    #upcoming-event .tab-content-wrap .col-md-4

    {

        height:715px;

    }

}



@media screen and (min-width: 768px) and (max-width: 990px)

{

    #upcoming-event .tab-content-wrap .col-md-4

    {

        height:795px;

    }

}



.weight

{

    font-weight: 800;

}



/* BLOG */



@media only screen and (max-width: 1199px) and (min-width: 992px)

{

    #blog .blog-post-container .single-post.thumbnail .content

    {

        width:100% !important;

    }

    #blog .blog-post-container .single-post .img-holder

    {

        width:auto !important;

    }

}



@media only screen and (max-width: 991px) and (min-width: 768px)

{

    #blog .blog-post-container .single-post .img-holder

    {

        width:auto;

    }

}

@media only screen and (max-width: 767px)

{

    #subscribe-newsletter .input-box input

    {

        width:88%;

    }

}



.selector_espai .form-control{

    font-weight:bold;

}



.instalacio_espai{

    background: #f4f4f4; 

    font-weight: bold; 

    font-size: 18px;

}



.espai{

    background: #dddddd; 

    padding-top:10px;

    padding-bottom: 10px; 

    margin-bottom: 20px;

    font-size: 20px;

}



.activitat{

    background: #f4f4f4;

}



.btn_afegir_data{

    /*margin-top: 5px;*/

    background-color: #d4002d;

}

.btn_eliminar_horari{

    /*margin-top: 5px;*/

    background-color: #d9534f;

    border-color: #eaa4b2;

}



.muntatge{

     padding-bottom:15px; 

     background: #f4f4f4;

}

.line{

    padding-top: 50px;

    border-top: 1px solid #f4f4f4;

}



.title_conceptes {

    background: #dddddd; 

    padding-left: 15px;

    padding-top:10px;

    padding-bottom: 10px; 

    margin-bottom: 10px;

    font-size: 12px;

    font-weight: bold;

}



.conceptes_reserva {

    border-left: 1px solid #ddd;

    border-bottom: 1px solid #ddd;

}



.espais{

    margin-top: 10px;

}



.no_padding { padding: 0px; }



.no_padding_lr {

    padding-left: 15px;

    padding-right: 15px;

}



.row.vertical-align {

    display: flex;

    align-items: center;

}



.mt8 {

    margin-top: 8px !important;

}



.capçalera{

    font-weight: bold; 

    font-size: 18px;

}



.titol{

    background: #dddddd; 

    padding-top:10px;

    padding-bottom: 10px; 

    margin-bottom: 20px;

    font-size: 20px;

}

.mar-bot{

    margin-bottom: 30px;

}



.mar-top{

    margin-top: 30px;

}



.mar-left{

    margin-left: 30px;

}

.mar-right{

    margin-right: 15px;

}

.negreta{

    font-weight: bold; 

}



.resumespai{

    font-size: 15px;

}



.normalweight{

    font-weight: normal;

}

span.font-dark{

    font-size: 17px;

}



.th_serveis{

    border-bottom: 2px solid #ddd;

    margin-left: 15px;

}



.servei_padding{

    padding: 5px;

}



.paddingleft{

    padding-left: 20px;

}



.servei:hover{

    background-color: #f5f5f5;

}



.nomarleft{

    margin-left: 0px;

}



.nopadding_l{

    padding-left:5px;

}



.paddingtb{

    padding-top: 3.5px;

    padding-bottom: 3.5px;

}

.a-right{

    text-align: right;

}





.error_field {

    border: 1px solid #c61717 !important;

}



.boto-fira-virtual {

    font-size: 12px;

    line-height: 33px;

    padding: 0 22px;

    display: inline-block;

    font-weight: bold;

    border-radius: 5px !important;

    border: 1px solid #ffc700;

    text-transform: uppercase;

    background-color: #ffc700 !important;

    color: #FFFFFF !important;

    margin-left: 20px;

}



.boto-fira-virtual:hover {

    color: #D5002D !important;

}



.boto-fira-virtual:before {

    background: #FFFFFF !important;

    border-radius: 5px;

}



.hvr-bounce-to-right-virtual:before {

    background: #D5002D;

}









/*==========  Mobile First Method  ==========*/



/* Custom, iPhone Retina */ 

@media only screen and (min-width : 320px) {



}



/* Extra Small Devices, Phones */ 

@media only screen and (min-width : 480px) {



}



/* Small Devices, Tablets */

@media only screen and (min-width : 768px) {



}



/* Medium Devices, Desktops */

@media only screen and (min-width : 992px) {



}



/* Large Devices, Wide Screens */

@media only screen and (min-width : 1200px) {



}







/*==========  Non-Mobile First Method  ==========*/



/* Large Devices, Wide Screens */

@media only screen and (max-width : 1200px) {



}



/* Medium Devices, Desktops */

@media only screen and (max-width : 992px) {



  header .mainmenu-container > ul > li > ul {
    width: 100% !important;

  }

  header .mainmenu-container > ul > li > a:hover, header .mainmenu-container-top > ul > li > a:hover {

    color: #d60a35;

}
}



/* Small Devices, Tablets */

@media only screen and (max-width : 768px) {

    .boto-fira-virtual {

        clear: both;

        float: left;

        margin-top: 20px;

    }



    .cerca_mapa {

        width: 50px !important;

        padding: 0 5px !important;

        text-align: center !important;

    }

    

}



/* Extra Small Devices, Phones */ 

@media only screen and (max-width : 480px) {



}



/* Custom, iPhone Retina */ 

@media only screen and (max-width : 320px) {



}


/* ==========================================================
   Menú mòbil: calaix lateral (menu-mobile-v2)
   El calaix i el fons es mouen a <body> des de custom.js
   ========================================================== */

.mm-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86vw;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .2);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    transition: transform .3s ease;
    z-index: 100001;
    text-align: left;
}

.mm-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 100000;
}

body.mm-lock {
    overflow: hidden;
}

body.mm-lock .mm-drawer {
    transform: translateX(0);
}

body.mm-lock .mm-backdrop {
    opacity: 1;
    visibility: visible;
}

@media only screen and (min-width: 992px) {
    .mm-drawer,
    .mm-backdrop {
        display: none;
    }
}

/* Capçalera del calaix: idiomes + tancar */
.mm-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 14px 20px;
    background: #D5002D;
}

.mm-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mm-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .06em;
    text-decoration: none;
}

.mm-lang:hover,
.mm-lang:focus {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    text-decoration: none;
}

.mm-lang.is-current {
    background: #fff;
    border-color: #fff;
    color: #D5002D;
}

.mm-close {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease;
}

.mm-close:hover,
.mm-close:focus {
    background: rgba(255, 255, 255, .3);
    outline: none;
}

/* Ítems principals */
.mm-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-list > li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.mm-list > li > a {
    position: relative;
    display: block;
    padding: 15px 56px 15px 20px;
    color: #2b2f33;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.mm-list > li > a:hover,
.mm-list > li > a:focus,
.mm-list > li.mm-open > a {
    color: #D5002D;
    background: #fff5f6;
    text-decoration: none;
}

.mm-list > li.mm-open > a {
    box-shadow: inset 3px 0 0 #D5002D;
}

/* Especificitat alta: el kit de Font Awesome es carrega després i força .fa { display: inline-block } */
.mm-list > li > a > .fa.mm-chevron {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52px;
    height: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #D5002D;
    font-size: 20px;
    line-height: 1;
}

.mm-list > li > a > .fa.mm-chevron:before {
    display: block;
    line-height: 1;
    transition: transform .25s ease;
}

.mm-list > li.mm-open > a > .mm-chevron:before {
    transform: rotate(180deg);
}

/* Submenús */
.mm-list ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 6px 0 10px;
    background: #f7f7f8;
}

.mm-list ul li a {
    position: relative;
    display: block;
    padding: 10px 20px 10px 36px;
    color: #4a5258;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
    text-decoration: none;
}

/* Mateixa fletxeta que el submenú d'escriptori (fa-angle-right, style.css) */
.mm-list ul li a:before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #D5002D;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
}

.mm-list ul li a:hover,
.mm-list ul li a:focus {
    color: #D5002D;
    text-decoration: none;
}

.mm-list ul li.divider {
    display: none;
}

/* Peu: fira virtual + usuari */
.mm-footer {
    margin-top: auto;
    padding: 20px 20px 28px;
}

.mm-cta {
    display: block;
    margin-bottom: 14px;
    padding: 13px 16px;
    border-radius: 6px;
    background: #D5002D;
    box-shadow: 0 4px 12px rgba(213, 0, 45, .25);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
}

.mm-cta:hover,
.mm-cta:focus {
    background: #b00025;
}

.mm-user-list {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.mm-list > li.mm-user {
    border-bottom: 0;
}

.mm-list > li.mm-user > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
}

.mm-list > li.mm-user > a .glyphicon {
    top: 0;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #D5002D;
    color: #fff;
    font-size: 14px;
}

.mm-list > li.mm-user > a .username {
    display: inline !important;
    flex: 1 1 auto;
}

.mm-list > li.mm-user > a .fa {
    color: #D5002D;
    font-size: 18px;
    transition: transform .25s ease;
}

.mm-list > li.mm-user.mm-open > a .fa {
    transform: rotate(180deg);
}

.mm-list > li.mm-user ul li a {
    padding-left: 20px;
}

.mm-list > li.mm-user ul li a:before {
    display: none;
}

.mm-list > li.mm-user ul li a i {
    margin-right: 8px;
    color: #D5002D;
}

/* Header fix en mòbil/tauleta (custom.js afegeix body.mm-fixed-header i el padding-top) */
@media only screen and (max-width: 991px) {
    body.mm-fixed-header header#header,
    body.mm-fixed-header header#header.header-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .18) !important;
    }

    /* Alçada constant: si canvia en fer scroll, el contingut salta */
    body.mm-fixed-header header#header .logo,
    body.mm-fixed-header header#header.header-fixed .logo {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}
