.corsi-item {
    width: 130%;
    margin: 0 auto;
    clear: both;
    margin-bottom: 20px;
    overflow: auto;
    border-bottom: #eee thin solid;
    padding-bottom: 20px;
}

.corsi-poster {
    width: 160px;
    float: left;
    margin-right: 25px;
}

.corsi-poster img {
    width: 100%;
    height: auto;
}

.corsi-name {
    font-size: 35px;
}

/* Stile per la lista delle categorie */
.corsi-categories {
    margin-bottom: 20px;
}


/* Stile per la lista dei corsi */
.corsi-list {
    margin-bottom: 20px;
}

/* Stile per ogni corso */
.corsi-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.corsi-name {
    font-weight: bold;
}

.corsi-desc {
    margin-bottom: 10px;
}

.corsi-link,
.corsi-hours {
    margin-top: 5px;
}

/* Stile per la lista dei post */
.post-list {
    margin-bottom: 20px;
}

/* Stile per ogni post */
.post-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.post-title {
    font-weight: bold;
}

.post-content {
    margin-bottom: 10px;
}


.post-excerpt {
    margin-top: 5px;
}

.corsi-categories h2 {
    background-position: center center;
    color: white !important;
    font-size: 35px;
    font-weight: 600;
    font-family: Archivo Narrow;
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 10px;
    color: var(--color_);
}

.corsi-categories {
    max-width: 100% !important;
}

.corsi-table {
    width: 100%;
    table-layout: fixed;
}

table.corsi-table thead tr>th:nth-child(1), table.corsi-table tbody tr>td:nth-child(1)
{
    width:50%;
}

table.corsi-table thead tr>th:nth-child(2), table.corsi-table tbody tr>td:nth-child(1)
{
    width:25%;
}

table.corsi-table thead tr>th:nth-child(3), table.corsi-table tbody tr>td:nth-child(1)
{
    width:20%;
}

table.corsi-table thead tr>th:nth-child(4), table.corsi-table tbody tr>td:nth-child(1)
{
    width:10%;
}

table.corsi-table thead tr>th:nth-child(5), table.corsi-table tbody tr>td:nth-child(1)
{
    width:5%;
}
/*
.corsi-table tr td:nth-child(1), .corsi-table tr th:nth-child(1) {
    width: 65%;
}

.corsi-table tr td:nth-child(2), .corsi-table tr th:nth-child(2) {
    width: 10%;
}

.corsi-table tr td:nth-child(3), .corsi-table tr th:nth-child(3) {
    width: 10%;
}

.corsi-table tr td:nth-child(4), .corsi-table tr th:nth-child(4) {
    width: 10%;
}

.corsi-table tr td:nth-child(5), .corsi-table tr th:nth-child(5) {
    width: 5%;
}
*/
.titoli-tabella th {
    background-position: center center;
    font-size: 20px;
    font-weight: 600;
    font-family: Archivo Narrow;
    background-color: #e3e3e3 !important;
    text-align: left !important;
    padding: 0px;
    padding-left: 10px !important;
}


.category-image {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    align-self: stretch;
    width: 367px;
    height: 40px;
}


.immagine {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 98px;
    margin-bottom: 40px;
}

.immagine .immagine-categoria {
    aspect-ratio: 12/9;
    margin-left: auto;
    height: 10rem;
    object-fit: cover;
}

table.corsi-table * {
    border: 0 !important;
}

corsi-table td {
    border-bottom: solid 1px #000;
}

.titolo-corso {
    font-size: 17px;
    font-weight: 600;
    font-family: Archivo Narrow;
    color: black !important;
    text-align: left !important;
    margin-bottom:0px;

}

.contenuto-corso {
    color: #818181;
    font-size: 15px;
    width: 251px;
    text-align: left;
    line-height: 1.5;
    padding-right: 10px;
    margin-bottom:0px;
}

.estratto-corso {
    color: #818181;
    font-size: 15px;
    width: 251px;
    text-align: left;
    line-height: 1.5;
    margin-bottom:0px;

}

.ore-corso {
    color: black;
    font-size: 17px;
    font-weight: 600;
    font-family: Archivo Narrow;
    text-align: left;
    margin-bottom:0px;

}

.icona-corso {
    widht: 41px;
    height: 41px;
    margin-bottom:0px;

}


.corsi-homepage {
    width: 100%;
}

.riga {
    columns: 3;
    margin-top: 40px;
}

.corsi-homepage .colonna img {
    transition: transform 0.3s ease;
}

.corsi-homepage .colonna:hover img {
    transform: translateX(10px); /* Modifica il valore "10px" in base alla quantità di movimento che desideri */
}


.colonna {
    width: 100%; /* Larghezza della colonna con spazio tra le colonne */
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: top; /* Allinea le colonne in alto */
    box-sizing: border-box; /* Includi il padding e il bordo nella larghezza della colonna */
}

.colonna .corso-box {
    z-index: 1;
    width: 80%;
}

a.colonna {
    text-decoration: none !important;

}

.colonna h3 {
    color: #FFFFFF;
    font-size: 21px;
    font-family: Archivo Narrow, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.colonna .catalogo-appartenenza {
    font-size: 14px;
    color: #eeac16;
}


#modulonewsletters .fa {
    display: none;
}

#modulonewsletters {
    text-align: center;
}

#modulonewsletters .py-2 {
    background-color: #f3a326;
    color: black;
}

#modulonewsletters .form-control {
    display: inline-block;
    width: 370px;
    max-width: 95%;
    border-radius: 20px;
}

#modulonewsletters .form-group {
    display: inline-block;
    width: 320px;
    max-width: 95%;
    border-radius: 20px;
    margin-left: 0px;
}

#modulonewsletters .form-check {
    text-align: center;
    margin-top: 10px;
    width: 100%;
    padding-right: 26%;
    padding-left: 25%;
}

#modulonewsletters .form-check-label {
    margin-left: 10px;
    color: white;
    font-size: 11px;
}

#modulonewsletters .form-check-label a {
    color: white; /* Cambia colore del link se necessario */
    text-decoration: underline; /* Aggiungi o rimuovi decorazione se necessario */
}


.corsi-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.corsi-card {
    border: 1px solid;
    padding: 15px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.card-description,
.card-destinataris,
.card-hours {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.card-link {
    text-decoration: none;
    font-weight: bold;
}

/* Per i dispositivi mobili, modifica il layout in una colonna */
@media screen and (max-width: 767px) {
    .colonna {
        width: 100%; /* Larghezza del 100% per i dispositivi mobili */
        margin-right: 0; /* Rimuovi il margine destro per i dispositivi mobili */
        margin-bottom: 20px; /* Aggiungi spazio tra le colonne per i dispositivi mobili */
    }

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }

    .titoli-tabella {
        display: none;
    }

    .corsi-card {
        width: calc(50% - 10px); /* Due card per riga */
        border: 1px solid;
        padding: 15px;
        width: 100%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 20px; /* Aggiunge uno spazio tra i corsi */
        background-color: #f9f9f9; /* Colore di sfondo per ciascuna card */

    }


    p.card-title-description {
        font-weight: 900;
    }

    p.card-title-destinataris {
        font-weight: 900;
    }

    p.card-title-ore {
        font-weight: 900;
    }

    .card-title {
        font-size: 3em;
        margin-bottom: 20px;
        line-height: 1;
    }

    a.card-link {
        font-size: 18px;
        margin-top: 20px !important;
    }

    p {
        margin: 0px 0px 0px 0px !important;
    }

    .immagine {
        display: flex;
        align-items: center;
        overflow: hidden;
        height: 219px;
        margin-bottom: 40px;
        flex-direction: column-reverse;
    }

    .riga {
        columns: 1;
        margin-top: 0px;
    }

    #articolihome .item_wrapper {
        height: 200px !important;
    }

    #articolihome h4 {
        margin-left: 0px !important;
    }

    #articolihome .desc {
        height: 30% !important;
    }

    #modulonewsletters .form-check-label {
        margin-left: 10px;
        color: white;
        font-size: 11px;
    }

    #modulonewsletters .form-check-label a {
        color: white; /* Cambia colore del link se necessario */
        text-decoration: underline; /* Aggiungi o rimuovi decorazione se necessario */
    }

    #boxhome {
        width: 100%;
        -webkit-box-shadow: 0px 0px 0px 0px rgba(1, 1, 1, 0.6) !important;
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .07) !important;
    }
}

@media (min-width: 768px) {
    .show-on-mobile {
        display: block !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .corsi-card {
        width: calc(50% - 10px); /* Due card per riga */
        border: 1px solid;
        padding: 15px;
        width: 100%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 20px; /* Aggiunge uno spazio tra i corsi */
        background-color: #f9f9f9; /* Colore di sfondo per ciascuna card */

    }

    p.card-title-description {
        font-weight: 900;
    }

    p.card-title-destinataris {
        font-weight: 900;
    }

    p.card-title-ore {
        font-weight: 900;
    }

    a.card-link {
        font-size: 18px;
        margin-top: 20px !important;
    }

    #modulonewsletters .form-check-label {
        margin-left: 10px;
        color: white;
        font-size: 11px;
    }

    #modulonewsletters .form-check-label a {
        color: white; /* Cambia colore del link se necessario */
        text-decoration: underline; /* Aggiungi o rimuovi decorazione se necessario */
    }


}

@media (min-width: 1024px) {

    .show-on-mobile {
        display: none !important;
    }

    .hide-on-mobile {
        display: block !important;
    }

    .corsi-card {
        width: calc(33.33% - 13.33px); /* Three cards per row */
    }

    .corsi-card {
        width: calc(50% - 10px); /* Due card per riga */
        border: 1px solid;
        padding: 15px;
        width: 100%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 20px; /* Aggiunge uno spazio tra i corsi */
        background-color: #f9f9f9; /* Colore di sfondo per ciascuna card */

    }

    p.card-title-description {
        font-weight: 900;
    }

    p.card-title-destinataris {
        font-weight: 900;
    }

    p.card-title-ore {
        font-weight: 900;
    }

    a.card-link {
        font-size: 18px;
        margin-top: 20px !important;
    }

    #modulonewsletters .form-check-label {
        margin-left: 10px;
        color: white;
        font-size: 11px;
    }

    #modulonewsletters .form-check-label a {
        color: white; /* Cambia colore del link se necessario */
        text-decoration: underline; /* Aggiungi o rimuovi decorazione se necessario */
    }


}

@media (min-width: 992px) and (max-width: 1199px) {
    .show-on-mobile {
        display: none !important;
    }

    .hide-on-mobile {
        display: block !important;
    }

}


@media (min-width: 1200px) and (max-width: 1399px) {

    .show-on-mobile {
        display: none !important;
    }

    .hide-on-mobile {
        display: block !important;
    }
}


@media (min-width: 1400px) {
    .show-on-mobile {
        display: none !important;
    }

    .hide-on-mobile {
        display: block !important;
    }

}