.day-label {
    width: 15%;
    text-align: right;
    padding-right: 10px;
}

.time-slot {
    display: inline-block;
    text-align: center;
    padding: 0 10px;
}

.day-label {
    font-weight: bold;
    font-size: 1rem;
    padding-right: 10px;
}

.loadingWb {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%,-50%);
    width: 10rem;
    height: 5rem;
    border: solid 0.15rem #2196F3;
    box-shadow: 1px 1px 1px #dedede;
    border-radius: 0.5rem;
    background-color: #fff;
    z-index: 999;
    padding: 0.5%;
}



.ics-linkbutton {
    border: none;
    background: none;
    padding: 0;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

.ics-linkbutton-content {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.ics-text-theme3 {
    color: #146e6f;
}




        .photo-gallery {
            max-height: 300px;
            overflow-y: auto;
            border: 1px solid #ddd;
            padding: 10px;
            background-color: #f8f9fa;
        }
        
        .photo-item {
            display: inline-block;
            margin: 5px;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .photo-item:hover {
            border-color: #007bff;
            transform: scale(1.05);
        }
        
        .photo-item.selected {
            border-color: #28a745;
            background-color: #d4edda;
        }
        
        .photo-thumbnail {    <!-- QUI È LA CLASSE CSS -->
            width: 120px;
            height: 90px;
            object-fit: cover;
            border-radius: 5px;
            display: block;
        }

.photo-item a {
    text-decoration: none;
    display: block;
    border: none;
}

.photo-item a:hover {
    text-decoration: none;
}



/* Stili per GridView News */
#<%= gvNews.ClientID %> {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

#<%= gvNews.ClientID %> th {
    background-color: #146e6f;
    color: white;
    padding: 10px 15px;
    text-align: left;
    vertical-align: top;
    font-weight: 600;
    border: none;
}

#<%= gvNews.ClientID %> td {
    padding: 10px 15px;
    vertical-align: top;
    border-bottom: 1px solid #dee2e6;
    line-height: 1.4;
}

#<%= gvNews.ClientID %> tr:hover {
    background-color: #f8f9fa;
}

#<%= gvNews.ClientID %> tr.table-warning td {
    background-color: #fff3cd;
}

#<%= gvNews.ClientID %> tr.table-secondary td {
    background-color: #e9ecef;
}

/* Stile per il pulsante Seleziona */
#<%= gvNews.ClientID %> a {
    background-color: #17a2b8;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85em;
}

#<%= gvNews.ClientID %> a:hover {
    background-color: #138496;
    color: white;
    text-decoration: none;
}

/* Colonna titolo più spaziosa */
#<%= gvNews.ClientID %> td:nth-child(2) {
    max-width: 200px;
    word-wrap: break-word;
}

.tag-cloud span:hover {
    background-color: #f0f8ff;
    border-radius: 3px;
    padding: 2px 4px;
    cursor: default;
}