/*
--green-leaf-50: #f8faeb;
--green-leaf-100: #eff4d3;
--green-leaf-200: #dfeaac;
--green-leaf-300: #c8da7c;
--green-leaf-400: #b0c853;
--green-leaf-500: #93ae34;
--green-leaf-600: #728a26;
--green-leaf-700: #546620;
--green-leaf-800: #46551f;
--green-leaf-900: #3c481f;
--green-leaf-950: #1f270c;
*/
<!-- general -->

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
    font-size: 1rem; /*valor base del navegador por defecto 16px*/
    font-weight: 400; /*400->normal 700 negrita*/
    line-height: 1.5rem; /*alto de linea 1rem->normal*/
    color: #000000;
}

b,
strong {
    font-weight: bolder;
}

cite {
    display: block;
    font-style: italic;
    text-align: left;
    padding-top: 50px;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1;
}

#footer {
    width: 100%;
    background-color: #414f19;
    color: #ffffff;
    text-align: left;
    padding: 1rem 0;
}

.fondo-cabecera {
    background-color: #414f19;
}

.logo {
    width: 40px;
}

.link{
    font-style: normal;
    color: #414f19;
    text-decoration: underline;
}
.link:hover {
    background-color: #414f19;
    color: #FFFFFF;
    font-style: normal;
}

.hide-overflow {
    overflow: hidden;
}

.liniaSeparadora {
    -moz-background-clip: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
    -moz-background-origin: -moz-initial;
    border-bottom: 1px solid rgb(0, 0, 0);
    font-weight: bold;
}

.separador100px {
    height:100px;
}

.separador15px {
    height: 15px;
    width: 100%;
    clear:both;
}

.titolPrincipal {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 5rem; /*valor base del navegador por defecto 16px*/
    text-transform: uppercase;
    display: inline-block;
    line-height: 72px;
    margin-bottom: 20px;
}

.titolPrincipalLlarg {
    transform: scaleX(0.75);
    transform-origin: left center;
}

.titolSeccio {
    font-size: 2rem; /*valor base del navegador por defecto 16px*/
    font-weight: normal;
    display: inline-block;
    line-height: 72px;
    margin-bottom: 20px;
    color: #000000;
}

.titolAnotacio {
    font-size: 1rem; /*valor base del navegador por defecto 16px*/
}

.titolSub {
    font-size: 1rem; /*valor base del navegador por defecto 16px*/
}

.descipcioSeccio {
    text-transform: uppercase;
    font-size: 1.5rem; /*valor base del navegador por defecto 16px*/
}

.resumNoticia{
    width:60%;
    margin:50px auto 50px 70px;
    color: #000000;
    padding:1.2em 30px 1.2em 75px;
    border-left:8px solid #414f19 ;
    line-height:1.6;
    position: relative;
    background:#FFFFFF;
}

.comentaris{
    font-size: 0.6785rem; /*valor base del navegador por defecto 1rem->16px*/
    white-space: normal;
}

.comentari-warning{
    background-color: #ec3d3d;
    color: #FFFFFF;
}

.cercador {
    margin-top: 15px;
}

.contingutCentrat {
    text-align: center;
}

.contingutEsquerra {
    text-align: left;
}

.negreta {
    font-weight: bolder;
}

.alineacioDreta {
    text-align: right;
}

.alineacioEsqerra {
    text-align: left;
}

.alineacioCentre {
    text-align: center;
}

.alineacioVariable {
    text-align: left;
}

.enllacTrencat {
    --color: #ff0000;
    text-decoration: none;
    padding: 0 .5em;
    background-repeat: no-repeat;
    background-image:
            linear-gradient(to left, rgba(255, 255, 255, .5), transparent),
            linear-gradient(2deg, var(--color) 50%, transparent 50%),
            linear-gradient(-.9deg, var(--color) 50%, transparent 50%),
            linear-gradient(-60deg, var(--color) 50%, transparent 50%),
            linear-gradient(120deg, var(--color) 50%, transparent 50%);

    background-size:
            30% 1.5px,
            calc(100% - 1rem) 0.25rem,
            calc(100% - 1rem) 0.25rem,
            6px 2px,
            6px 2px;

    background-position:
            100% calc(50% + 2px),
            center center,
            center center,
            2px 50%,
            calc(100% - 3px) calc(50% + 1px);
}

.enllacCopia {
    background-color: #c8da7c;
}

.ampleTaula {
    width: 100%;
}

.cuadre-partit{
    width: 10px;
    height: 10px;
    border: 1px solid #000000;
    border-left: none;
}

.cuadre-principal{
    border-left: 1px solid #000000;
}

.cuadre-guanyar{
    background: #2ecc71;
}

.cuadre-perdre{
    background: #e1261c;
}

.cuadre-empatar{
    background: #f1c40f;
}

.cuadre-sensejugar{
    background: #585a58;
}

.resultat-guanyar{
    background: #2ecc71;
    color: #fff;
    text-align: center;
    padding: 1px 5px 1px 5px;
    margin: 0px 2px;
}

.resultat-perdre{
    background: #e1261c;
    color: #fff;
    text-align: center;
    padding: 1px 5px 1px 5px;
    margin: 0px 2px;
}

.resultat-empatar{
    background: #f1c40f;
    color: #fff;
    text-align: center;
    padding: 1px 5px 1px 5px;
    margin: 0px 2px;
}

.resultat-sensejugar{
    background: #f2f6e6;
    color: #000000;
    text-align: center;
    padding: 1px 5px 1px 5px;
    margin: 0px 2px;
}

.notes-classificacio{
    float: left;
}
.taulaIcones {
    max-height: 20px;
    width: auto;
}

a.tooltiplink {
    position: relative;
}

a.tooltiplink:hover::after {
    content: attr(data-title);
    background-color: #414f19;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 14px;
    display: block;
    position: absolute;
    top: 20%;
    left: 120%;
    white-space: nowrap;
    z-index: 1;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1;
}

.textDeshabilitat {
    color: rgba(0, 0, 0, 0.7);
    opacity: 0.7;
}

button.linksInterns {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-style: normal;
    color: #414f19;
    text-decoration: underline;
}

button.linksInterns:hover {
    background-color: #414f19;
    color: #FFFFFF;
    font-style: normal;
}

.subMenuFixe {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #FFFFFF;
}

.subMenuFixeEstadistiques {
    display: flex;
    height: 100px;
    align-items: flex-end;
}

/*----------------------------- cookies -------------------------------------------*/
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.cookiecard {
    height: 220px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    gap: 13px;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
    margin: 15% auto; /* 15% from the top and centered */
    width: 40%; /* Could be more or less, depending on screen size */
}

#cookieSvg {
    width: 50px;
}

#cookieSvg g path {
    fill: rgb(97, 81, 81);
}

.cookieHeading {
    font-size: 1.2em;
    font-weight: 800;
    color: rgb(26, 26, 26);
}

.cookieDescription {
    text-align: center;
    font-size: 0.7em;
    font-weight: 600;
    color: rgb(99, 99, 99);
}

.buttonContainer {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.acceptButton {
    width: 80px;
    height: 30px;
    background-color: #414f19;
    transition-duration: .2s;
    border: none;
    color: rgb(241, 241, 241);
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
}

.declineButton {
    width: 80px;
    height: 30px;
    background-color: rgb(218, 218, 218);
    transition-duration: .2s;
    color: rgb(46, 46, 46);
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
}

.declineButton:hover {
    background-color: #ebebeb;
    transition-duration: .2s;
}

.acceptButton:hover {
    background-color: #9173ff;
    transition-duration: .2s;
}


/*----------------------------- responsiu -------------------------------------------*/

/* ample<=425px*/
@media (max-width: 425px) {
    .titolPrincipalLlarg {
        font-size: 1.2rem; /*valor base del navegador por defecto 16px*/
    }

    .titolSeccio {
        font-size: 1.4rem; /*valor base del navegador por defecto 16px*/
    }

    .descipcioSeccio{
        font-size: 1.1rem; /*valor base del navegador por defecto 16px*/
    }

    /*----------------------------- cookies -------------------------------------------*/
    #cookieSvg {
        width: 20px;
    }
    .cookiecard {
        height: 220px;
        padding: 0 0;
        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
        padding: 10px 10px;
        margin: 40% auto; /* 40% from the top and centered */
        width: 96%; /* Could be more or less, depending on screen size */
    }


}

/* ample<=1040px*/
@media (max-width: 1040px) {
    table.table-resp {
        font-size: 0.8rem; /*valor base del navegador por defecto 16px*/
    }
}

/* ample<=991px*/
@media (max-width: 991px) {
    .comentaris{
        font-size: 0.6785rem; /*valor base del navegador por defecto 1rem->16px*/
    }

    .resumNoticia{
        width:100%;
        margin: 10px;
        padding-left: 15px;
        border-left:3px solid #414f19 ;
    }


}

/* ample<=800px*/
@media (max-width: 991px) {
    .titolPrincipal {
        font-size: 2.5rem; /*valor base del navegador por defecto 16px*/
    }
}

/* ample<=920px*/
@media (max-width: 920px) {
    table.table-resp,
    table.table-resp tbody,
    table.table-resp th,
    table.table-resp td,
    table.table-resp tr {
        display: block;
    }

    table.table-resp thead {
        display: none;
    }

    table.table-resp tr {
        margin-bottom: 1rem;
    }

    table.table-resp td {
        padding-left: 50%;
        position: relative;
    }

    table.table-resp td::before {
        position: absolute;
        left: 10px;
        top: 10px;
        white-space: nowrap;
        content: attr(data-label);
    }

    .alineacioVariable {
        text-align: right;
    }
}

/* ample<=500px*/
@media (max-width: 600px) {
    .comentaris {
        font-size: 0.625rem; /*valor base del navegador por defecto 1rem->16px*/
    }

}