br {
    line-height: inherit;
    margin-bottom: inherit;
}

#menu li a.active {
    font-weight: 700;
}


/*Canvi Colors*/

#section-menu,
#grid-menu.mm-opened li span,
#grid-menu.mm-opened li a,
#menu-mobile.is-active {
    background: #C7B1BE;
}

#criteris .caixes li div {
    border-left: 1rem solid #e2c91d;
    transition: 0.3s ease-in-out;
}
#criteris .caixes li div:hover {
    background-color: #e2c91d;
    transition: 0.3s ease-in-out;
}

#inscripcio p a {
    text-decoration: underline;
    color: #212D43;
}

#premis {
    background-color: #a4cc9b;
    height: 76.3rem;
}

#premis .interior {
    background-color: #a4cc9b;
}

@media screen and (max-width: 767px) {
    #premis .container .row div:last-child {
        background: rgb(255, 163, 139);
    }
}

#premis #titol-especial,
#premis .premis-imatge,
#premis #titol-especial:before,
#premis #titol-especial:after {
    background-color: transparent;
}

@media screen and (max-width: 767px) {
    #premis #titol-especial,
    #premis .premis-imatge,
    #premis #titol-especial:before,
    #premis #titol-especial:after {
        background-color: #a4cc9b;
    }
}

#premis .premis-imatge {
    background-color: #a4cc9b;
    position: absolute;
    width: calc(50% + 12px);
    overflow: hidden;
    height: 100%;
}

#premis .bcn-compartir a {
    background: #a4cc9b;
}

#premis .bcn-compartir a i {
    color: #000000;
}

#buttons .button-especial {
    color: black!important;
}

#buttons .button-especial.negre {
    color: white!important;
}

.button-especial.groc {
    background: #d68fa1;
}

.button-especial.groc i {
    color: black;
    opacity: 0.16;
}

.button-especial.groc:hover i,
.button-especial.groc:active i {
    opacity: 0.6;
    color: black!important;
}

.button-especial.taronja {
    background: #a4cc9b;
}

.button-especial.taronja i {
    color: black;
    opacity: 0.16;
}

.button-especial.taronja:hover i,
.button-especial.taronja:active i {
    opacity: 0.6;
    color: black;
}

.button-especial.verd {
    background: #a396ab;
}

.button-especial.verd i {
    color: black;
    opacity: 0.16;
}

.button-especial.verd:hover i,
.button-especial.verd:active i {
    opacity: 0.6;
    color: black;
}

.amunt {
    background: black;
}


/*Fi canvi colors */


/*Canvi imatges*/

#categories-preguntes {
    background: url("../images/home-categorias_2024.jpg?20250416") left;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
}
.categories-preguntes dt{
    position: relative;
}
.categories-preguntes dt:before{
    content:'';
    position: absolute;
    width: 10px;
    height: 100%;
    background-color: #df637d;
    left: 0;
    top: 0;
}

#criteris .criteris {
    background: url("../images/home-criteris_2024.jpg?20250416") center;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
}

#inscripcio {
    background: none;
    background-repeat: no-repeat;
    background-size: none
}

#inscripcio {
    margin-top: 0;
}

#inscripcio img {
    width: auto;
    position: absolute;
    right: inherit;
    top: 0;
    bottom: 0;
    object-position: 12px;
    height: 100%;
}

@media screen and (max-width: 992px) {
    #categories-preguntes {
        background: url("../images/Imatge_Trobades_Premis_Montserrat_Roig_2023_mobile.jpg");
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #criteris .criteris {
        background: url("../images/criteris_premisroig_mobile.jpg");
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #inscripcio {
        background: none!important;
    }
}



/*Fi imatges*/

#section-menu #grid-menu>ul li {
    margin-right: 3.8rem;
}

@media screen and (max-width: 1200px) {
    #section-menu #grid-menu>ul li {
        margin-right: 1.5rem;
    }
}

@media screen and (max-width: 992px) and (min-width: 767px) {
    #section-menu #grid-menu>ul li {
        line-height: 1.2em;
        margin-right: 1rem;
    }
    #section-menu #grid-menu>ul li a {
        font-size: 1.4rem;
    }
}

.alerta {
    background: rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    color: white;
    line-height: 4rem;
}

.alerta div div {
    display: table-cell;
    height: 7rem;
    line-height: 2rem;
    vertical-align: middle;
}

.alerta div div * {
    display: inline;
    margin-bottom: 0;
    vertical-align: middle;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .alerta div div {
        height: 11rem;
    }
}

.alerta i {
    font-size: 3rem;
    margin-right: 1rem;
}

.alerta a {
    color: white;
    text-decoration: underline;
    vertical-align: initial!important;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .mm-panels {
        top: 8rem!important;
    }
    #criteris .caixes {
        padding: 2rem 0;
    }
    #criteris .caixes li div {
        padding: 1rem;
        border-left: 0.5rem solid #e2c91d;
        margin: 0.75rem 0;
    }
    .alerta div div {
        height: inherit;
    }
    .alerta {
        font-size: 1.6rem;
        line-height: 1.6rem;
        padding: 1rem 0;
    }
    .alerta i {
        display: none!important;
    }
}

.categories-preguntes dt.active strong,
.categories-preguntes dt:hover strong,
.categories-preguntes dt:active strong {
    color: #df637d;
}

.categories-preguntes dt.hidden-opacity,
.categories-preguntes dd.hidden-opacity {
    opacity: 0.8;
}

@media screen and (max-width: 992px) {
    #buttons .button-especial i,
    #premiats .button-especial i {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #buttons .button-especial {
        height: 9.5rem;
        width: 100%;
        float: inherit;
        padding: 0.9rem 0.5rem 0rem 1.1rem!important;
        margin-bottom: 1.5rem;
    }
    .button-especial.especial:before {
        height: 100%;
    }
    #buttons .col-xs-6.col-sm-4 {
        padding: 0 0.75rem;
    }
}


/*Nou apartat inscripcions*/

#inscripcio .intro strong {
    font-size: 2rem;
}

#inscripcio .intro span {
    font-size: 1.6rem;
    font-weight: 600;
    display: inherit;
    margin-top: 2rem;
    color: black;
}

#inscripcio .especial span {
    font-size: 1.6rem
}


/*Pagina Historic*/

.historic .categories-preguntes dt {
    background: #F2F2F2;
    height: 4.6rem;
    line-height: inherit;
}

@media screen and (max-width: 992px) {
    .historic .categories-preguntes dt {
        height: inherit;
    }
}

.historic .categories-preguntes dt strong {
    line-height: 1em;
    font-size: 2.2rem;
}

#historic-montserrat .categories-preguntes dt.active {
    background-color: rgba(231, 60, 98, 0.701);
    color: white;
}

#historic-consell .categories-preguntes dt.active {
    background-color: rgba(85, 181, 124, 0.701);
    color: black;
}

.historic .categories-preguntes dd {
    padding: 3rem 4rem;
}

@media screen and (max-width: 767px) {
    .historic .categories-preguntes dt strong {
        font-size: 1.8rem;
    }
    .categories-preguntes dt,
    .categories-preguntes dd {
        padding: 1.2rem 1.5rem!important;
    }
}

.historic #historic-intro h1 {
    text-align: left;
    letter-spacing: .03em;
    margin-bottom: 2rem;
    color: #000;
}

.historic #historic-intro h2 {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 1rem;
}

.historic #historic-text {
    margin-top: 1rem;
}

@media screen and (min-width: 768px) {
    .historic #historic-intro h1 {
        margin-bottom: 3rem;
    }

    .historic #historic-intro h2 {
      margin-bottom: 0;
    }

    .historic #historic-intro .buttons {
        margin-top: 2rem;
    }
}

@media screen and (min-width: 992px) {
    .historic #historic-intro h1 {
        margin-bottom: 4rem;
    }

    .historic #historic-intro h2 {
        margin-top: 8rem;
    }

    .historic #historic-intro .buttons {
        margin-top: 3rem;
    }

    .historic #historic-text {
        margin-top: 4rem;
    }

    .historic #historic-montserrat {
      margin-top: 6rem;
    }
}



.button-especial.marro {
    background-color: #d68fa1;
    padding-top: 1.5rem;
    padding-left: 3.2rem;
    height: 8.2rem;
    font-size: 2.2rem;
    color: black;
    margin: 0;
}

.button-especial.pdf {
    background-color: #a4cc9b;
    padding-top: 1.5rem;
    padding-left: 3.2rem;
    height: 8.2rem;
    font-size: 2.2rem;
    color: black;
    margin: 1rem 0 0 0;
}

.button-especial.marro i,
.button-especial.pdf i {
    color: black;
    opacity: 0.16;
}

.button-especial.marro i:active,
.button-especial.marro i:hover,
.button-especial.pdf i:active,
.button-especial.pdf i:hover {
    color: black;
    opacity: 0.5;
}

@media screen and (max-width: 992px) {
    .button-especial.marro,
    .button-especial.pdf {
        padding-top: 1.8rem;
        padding-left: 1.5rem;
        height: 8.2rem;
        font-size: 1.6rem;
        padding-right: 21%;
    }
    .fila {
        margin-top: 4rem;
    }
    .button-especial.marro i,
    .button-especial.pdf i {
        font-size: 4.6rem;
    }
    #buttons .button-especial,
    #premiats .button-especial {
        padding-top: 1rem;
    }
}

@media screen and (max-width: 787px) {
    .button-especial.marro,
    .button-especial.pdf {
        margin-top: 2rem;
    }
}

.historic h3 {
    line-height: 3.4rem;
    letter-spacing: -0.03rem;
    font-size: 2.8rem;
    font-weight: 400;
    text-align: center;
}

.historic h3 i {
    font-size: 3.4rem;
    line-height: 3.4rem;
    margin-right: 2rem;
    vertical-align: middle;
}

#historic-montserrat i {
    color: #000000;
}

#historic-montserrat i.bcn-icon-premis {
    color: #E73C62;
}

#historic-montserrat .categories-preguntes i:hover,
#historic-montserrat .categories-preguntes i:active {
    color: #425F0F;
}

#historic-consell h3 i {
    color: #55B57C;
}

.historic .categories-preguntes dt.hidden-opacity,
.historic .categories-preguntes dd.hidden-opacity {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .fila {
        margin-top: 2rem;
    }
    .historic .fila h1,
    .historic .fila h2 {
        font-size: 3rem;
    }
    #historic-intro p {
        font-size: 1.6rem;
    }
    .historic-intro {
        font-size: 1.8rem;
        line-height: 2.4rem
    }
    .historic-intro i {
        font-size: 4.6rem;
    }
    .historic .categories-preguntes {
        margin-top: 1rem;
    }
    .historic h3 {
        line-height: 1em;
        font-size: 2.2rem;
    }
}


/*Taules*/

.table>thead>tr>th {
    border-bottom: 1px solid #c2c2c2;
    text-transform: uppercase;
    color: black;
    font-size: 1.6rem;
    font-weight: 400;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-top: 1px solid #c2c2c2;
    line-height: 2rem;
    font-size: 1.4rem;
    vertical-align: top;
}

.table tbody tr .segon {
    border-top: none;
}

.table br {
    line-height: 1rem;
}

.table a {
    text-decoration: underline;
    color: #212D43!important;
}

.table a:hover,
.table a:active {
    color: #425F0F!important;
}

.table tbody td {
    padding-bottom: 1.6rem!important;
}

.table tr>td:first-child {
    width: 15%;
}

.table tr>td:nth-child(2) {
    width: 50%;
}

@media screen and (max-width: 767px) {
    .table>tbody>tr>td,
    .table>tbody>tr>th,
    .table>tfoot>tr>td,
    .table>tfoot>tr>th,
    .table>thead>tr>td,
    .table>thead>tr>th {
        width: 100%!important;
        display: inline-block;
        border: none;
        padding: 0.2rem 0;
    }
    .table thead {
        display: none;
    }
    .table tr {
        border-bottom: 1px solid #c2c2c2;
        padding: 1rem 0;
        display: inline-block;
        width: 100%;
    }
    .table-responsive {
        border: none;
        overflow: hidden;
    }
    .table strong {
        font-size: 1.2rem;
        color: black;
        font-weight: 600;
        text-transform: uppercase;
        display: inline-block;
        width: 100%;
    }
}


/*Pàgina accessibilitat + Avis Legal */

#bcn-avis-legal,
#bcn-accessibilitat {
    margin-bottom: 4rem;
}

.avis-legal section a,
.accessibilitat section a {
    color: #99B0E3!important;
}

#bcn-accessibilitat ul li i:before {
    background-color: #99B0E3!important;
}

.avis-legal .page-header,
.accessibilitat .page-header {
    margin: 2rem auto;
    border-bottom: none;
    text-align: left;
}


/*Castellà*/

.es #section-menu #grid-menu>ul li {
    margin-right: 2.5rem;
}

@media screen and (max-width: 1200px) {
    .es #section-menu #grid-menu>ul li {
        margin-right: 1.1rem;
        line-height: 1em;
        max-width: calc( 100%/8 - 2px);
        vertical-align: middle;
    }
}

.es #buttons .button-especial,
.es #premiats .button-especial {
    font-size: 1.8rem;
}

.es a.button-especial i,
.es .button-especial i {
    right: 2rem;
}


/*Ultim retoc */

a.especial,
p.especial {
    margin-bottom: 0;
}

a.negre.button-especial.especial.hidden-xs {
    padding-top: 4.2rem;
}

@media screen and (min-width: 992px) {
    #inscripcio .row {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-shrink: 1;
    }
}


/*Apartat compartir*/

.container {
    position: relative;
}

.bcn-compartir {
    position: absolute;
    right: 0;
    top: 0;
    float: right;
    right: 1.5rem;
    top: 1rem;
}

.bcn-share-button {
    float: right;
}

.bcn-compartir a {
    background: #f2f2f2;
    width: 30px;
    height: 30px;
    display: table-cell;
    text-align: center;
    text-decoration: none!important;
}

.bcn-compartir a i {
    font-size: 2rem;
    line-height: 3rem;
    color: white;
}

.bcn-icon-comparteix {
    color: black!important;
}

.dropdown {
    display: none;
    float: right;
}

.dropdown li {
    display: inline;
    float: inherit;
    position: relative;
}

.facebook a {
    background: #195A91;
}

.twitter a {
    background: #00A8D3;
}

.whatsapp a {
    background: #29A628;
}

.telegram a {
    background: #0088cc;
}

.link a {
    background: #444444;
}

.link div {
    position: absolute;
    left: -18rem;
    top: 0.2rem;
    color: #696973;
    width: 13em;
    font-size: 1.6rem;
    line-height: 3rem;
    display: inline-block;
}

.link div span {
    border: 1px solid black;
    padding: 0.2rem;
    width: 14rem;
    margin-left: 0.5rem;
    display: inline-block!important;
    overflow: hidden;
    line-height: 2.2rem;
    height: 2.8rem;
    position: absolute;
    margin-top: 0!Important;
}

#premis .link div {
    color: white;
}

#premis .bcn-compartir {
    top: 4.5rem;
}

@media screen and (max-width: 767px) {
    #premis .bcn-compartir {
        top: 2.5rem;
    }
}

#inscripcio .bcn-compartir {
    top: 6rem;
}


/*Part video directe - home */

#directe {
    background-color: black;
    margin: 4rem 4rem 0 0;
}

#directe .titol {
    background-color: #696973;
    color: white!important;
    height: 3.5rem;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 400;
}

#directe .titol span {
    background-color: #CC0322;
    display: inline-table;
    font-size: 2rem;
    font-weight: 600;
    height: 3.5rem;
    padding: 0.6rem 1.1rem;
}

#directe .titol h2 {
    padding: 0.5rem 1rem;
    display: inline;
    font-size: 1.6rem;
    line-height: 2.5rem;
    margin: 0!important;
    color: white;
    letter-spacing: -0.025em;
}

#directe .video {
    padding: 4rem 0;
    max-width: 83rem;
    margin: 0 auto;
}

#directe .video .caixa-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

#directe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 992px) {
    #directe .video {
        padding: 1.5rem;
    }
    #directe .titol {
        height: inherit;
    }
    #directe .titol span {
        float: left;
        margin-right: 1.5rem;
    }
    #directe .titol h2 {
        line-height: 2.1rem;
        display: contents;
        float: right;
    }
}

@media screen and (max-width: 767px) {
    #directe {
        margin-bottom: 4rem;
    }
    #directe .titol span {
        margin-right: 1rem;
        margin-bottom: 2rem;
    }
    #directe .video {
        display: inline-block;
        max-width: 100%;
        width: 100%;
    }
    #directe .video iframe {
        width: 100%;
    }
}

.alerta {
    background: rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    color: white;
    line-height: 4rem;
}

.alerta div div {
    display: table-cell;
    height: 7rem;
    line-height: 2rem;
    vertical-align: middle;
}

.alerta div div * {
    display: inline;
    margin-bottom: 0;
    vertical-align: middle;
    width: 100%;
}

#alerta.alerta-menu {
    background: #F2F2F2;
}

.alerta.alerta-menu div div * {
    color: black;
}

.yt-videos-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 2rem;
    margin-bottom: 2rem;
}

.yt-videos-wrapper a {
    flex: 0 1 100%;
}

@media (min-width: 992px) {
    .yt-videos-wrapper a {
        flex: 0 1 calc(50% - 2rem);
    }
}

.yt-videos-wrapper span {
    width: 62%;
    display: block;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

.yt-videos-wrapper .button-especial {
    height: unset;
    margin: 0;
    padding: 1.5rem 0 1.5rem 3.2rem;
}