@charset "UTF-8";
/* CSS Document - Nova Marca */

/* Colors de la nova marca */
:root {
    --primary: #0b2e34;
    --primary-dark: #0c4c27;
    --primary-darker: #b6e471;
    --primary-light: #cdff80;
    --primary-green-medium: #97d700;
    --primary-marker: #9de72a;
    --background: #f0f3ec;
    --background-two: #e2e8de;
    --background-three: #ced5d0;
    --primary-two-orange: #ff632b;
    --primary-two-light-orange: #ffcdb5;
    --primary-two-lila: #afb5e8;
    --status-alert: #dc3545;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--primary);
    background-color: var(--background);
}

#fullArticle p, #fullArticle ul, #fullArticle ol, #fullArticle li, #fullArticle div, #fullArticle blockquote, #fullArticle dd, #fullArticle table {
    font-size: 16px;
    line-height: 1.4;
}

#sidebar .nav-list a {
    display: inline-block;
    color: #858585;
    font-size: 0.95em;
    padding: 6px 5px 6px 0;
    line-height: 20px;
    margin-left: 0;
}

#sidebar .nav-list a:hover {
    display: inline-block;
    color: var(--primary);
    font-size: 0.95em;
    padding: 6px 5px 6px 10px;
    line-height: 20px;
    margin-left: 0;
    background: var(--primary-light);
    text-shadow: none;
}

.category-list .category {
    text-align: center;
    display: inline-block;
    width: 28%;
    border: 1px solid var(--background-three);
    margin: 0 0.8% 20px 0.8%;
    padding: 1.5em 1em;
    cursor: pointer;
    -webkit-transition: background 0.15s;
    -moz-transition: background 0.15s;
    -o-transition: background 0.15s;
    transition: background 0.15s;
    vertical-align: top;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    min-height: 130px;
}

.category-list .category:hover {
    text-align: center;
    display: inline-block;
    width: 28%;
    border: 1px solid var(--primary-light);
    margin: 0 0.8% 20px 0.8%;
    padding: 1.5em 1em;
    cursor: pointer;
    background: var(--primary-light);
    -webkit-transition: background 0.15s;
    -moz-transition: background 0.15s;
    -o-transition: background 0.15s;
    transition: background 0.15s;
    vertical-align: top;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    min-height: 130px;
}

/* Form elements with new brand colors */
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    background-color: #ffffff;
    border: 1px solid var(--primary-light);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
}

textarea:focus, input:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    border-color: var(--primary);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(11, 46, 52, 0.4);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(11, 46, 52, 0.4);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(11, 46, 52, 0.4);
    outline: none !important;
}

#docsSearch {
    background: var(--background-two);
    border-bottom: 1px solid var(--background-three);
    margin-bottom: 3em;
    padding: 1.5em 0;
}

#searchBar button {
    color: var(--primary);
    text-shadow: none;
    background: var(--primary-light);
    border-radius: 0 5px 5px 0;
    border: 1px solid var(--primary-light);
    font-size: 18px;
    padding: 0 1.5em;
    height: 49px;
    position: absolute;
    top: 32px;
    right: -1px;
}

#searchBar button:hover {
    color: white;
    text-shadow: none;
    background: var(--primary);
    border-radius: 0 5px 5px 0;
    border: 1px solid var(--primary);
    font-size: 18px;
    padding: 0 1.5em;
    height: 49px;
    position: absolute;
    top: 32px;
    right: -1px;
}

a.peu {
    color: #777777;
}

/* Amaguem la data d'actualització*/
time.lu {
    display: none;
    visibility: hidden;
}

/* FINAL */
.controlsbox {
    margin-bottom: 25px;
}

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

.controlsbox label {
    display: inline;
}

.taulaidiomes td {
    border: none!important;
}

table._CookieScriptReportPageTable {
    border-top: 1px solid var(--primary-marker);
}

#fullArticle table th, #fullArticle table td {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid var(--primary-marker);
}

#fullArticle a {
    font-weight: bold;
    color: var(--primary) !important;
}

.related a {
    color: var(--primary) !important;
}

#fullArticle a:hover {
    font-weight: bold;
    color: var(--primary-dark) !important;
}

#cookiescript_aboutwrap a {
    font-weight: bold;
    color: var(--primary) !important;
}

#cookiescript_aboutwrap a:hover {
    font-weight: bold;
    color: var(--primary-dark) !important;
}

/* Taules amb colors personalitzats */
td, th {
    border: 1px solid var(--primary);
    width: 8em;
    text-align: center;
}

td:empty {
    border: 0;
}

td {
    padding: 1ex;
}

/* Colors personalitzats per a diferents usuaris - actualitzats amb nova paleta */
.monica { background-color: #7fada0; }
.tania { background-color: var(--primary-two-lila); }
.judit { background-color: #e781e8; }
.pere { background-color: #8f928e; }
.marc { background-color: var(--primary-two-light-orange); }
.erola { background-color: #8789c8; }
.silvia { background-color: #8097fa; }
.carles { background-color: #c98e98; }
.eduard { background-color: #d8b9c5; }
.aleix { background-color: #eed0eb; }
.david { background-color: #ffd3ac; }
.marta { background-color: #eb9481; }
.yaiza { background-color: #90cdb9; }
.manel { background-color: #88dfe3; }
.joan { background-color: #fae080; }

/* Bootstrap Grid - mantenim igual */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
}

.col {
    -webkit-flex-basis: 0;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
    width: 100%;
    min-height: 1px;
    box-sizing: inherit;
}

@media (min-width: 576px) {
    .col-lg-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-sm-6 {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
    .col-lg-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

/* Utilitats adicionals per a la nova marca */
.btn-primary {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

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

.text-primary {
    color: var(--primary) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

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

/* Classes d'utilitat per a la tipografia */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.text-h1 {
    font-size: 2.875rem;
    line-height: 2.75rem;
    letter-spacing: -0.1125rem;
}

.text-h2 {
    font-size: 2.25rem;
    line-height: 2.3125rem;
}

.text-h3 {
    font-size: 1.75rem;
    line-height: 2rem;
}

.text-h4 {
    font-size: 1.3125rem;
    line-height: 1.5rem;
}

/* END Bootstrap Grid */