﻿:root {
    --cda-primary: rgb(47, 86, 159);
    --cda-secondary: rgb(214, 160, 68);
    --cda-tertiary: rgb(241, 241, 241);
}


.site-disabled-foreground {
    color: lightgray !important
}

.site-archived-foreground {
    color: lightblue !important
}

.site-proposal-foreground {
    color: orange !important
}

.site-planned-foreground {
    color: gold !important
}

.site-proposal-foreground {
    color: cyan !important
}

.site-suspended-foreground {
    color: violet !important
}


.site-primary-bg {
    background-color: var(--cda-primary);
}

.site-secondary-bg {
    background-color: var(--cda-secondary);
}

.site-primary-color {
    color: var(--cda-primary);
}

.site-secondary-color {
    color: var(--cda-secondary)
}

.site-shadow {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px 0px;
}

.site-title-foreground {
    color: var(--cda-secondary);
}

.site-dashed-hr {
    border: 1px dashed #000; /* 3px thickness with a dashed style */
}

.site-readmore {
    background-color: var(--cda-secondary);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: bold;
    text-decoration: none;
    float: inline-end;
}

.site-list-background {
    background-color: var(--cda-tertiary)
}

div .site-hideiflast:last-child {
    display: none; /* Hide the <hr> if it is the last child */
}

div .site-hideiflast {
    display: block; /* Show all other <hr> elements */
}

[data-div-image] {
    width: 100%; /* Set the width of the div */
    height: 100% !important; /* Set the height of the div */
    background-position: center; /* Centers the image horizontally and vertically */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-size: cover; /* Ensures the image covers the entire div */
}


li.nav-item .nav-link {
    color: white !important;
    text-transform: uppercase;
}

    li.nav-item .nav-link:hover {
        color: var(--cda-secondary) !important;
    }

.backend-deleted-item {
    color: red !important;
}

.site-multiline-ellipsis {
    display: -webkit-box; /* Imposta un contenitore flessibile */
    -webkit-box-orient: vertical; /* Imposta l'orientamento verticale */
    overflow: hidden; /* Nasconde il testo in eccesso */
    text-overflow: ellipsis; /* Aggiunge i tre puntini */
    -webkit-line-clamp: 3; /* Specifica il numero massimo di righe */
}

.site-label {
    font-size: 12px;
}

.site-articleBody {
    background-color: var(--cda-tertiary);
    margin: -10px;
    padding: 10px;
    margin-bottom: 10px;
}

.site-trackBody {
    background-color: var(--cda-tertiary);
    /*margin: -10px;*/
    padding: 10px;
    margin-bottom: 10px;
}

    .site-trackBody th {
        width: 30%;
    }