/* Font di Google */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Extended');



/* Layout generale */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background-color: #f5f5f5; /* Colore di sfondo */
    color: #202124; /* Testo primario */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-top: 20px;
}


/* Header */
nav {
    --background-color: #1a73e8; /* Blu Google */
    color: #ffffff;
}

.nav-wrapper .brand-logo {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Footer */
.page-footer {
    background-color: #1a73e8;
    color: #ffffff;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

/* Contenitore principale */
.container {
    flex-grow: 1;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 15px;
}

/* Cards */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 15px;
}

.card-title {
    font-size: 1.25rem;
    color: #1a73e8; /* Blu Google */
}

.card-content {
    font-size: 1rem;
    color: #5f6368; /* Grigio Google */
}

/* Pulsanti */
.btn {
    background-color: #1a73e8;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn:hover {
    background-color: #1769aa;
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #5f6368;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #dddddd;
}

th {
    background-color: #f1f3f4;
    font-weight: 500;
    color: #202124;
}

/* Input */
input, select {
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    font-size: 1rem;
    color: #202124;
    margin-bottom: 15px;
}

input:focus, select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 3px rgba(26, 115, 232, 0.5);
}

/* Cookie banner styles */
#cookie-banner {
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 90%;
   max-width: 400px;
   background-color: white;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
   z-index: 10000;
   padding: 20px;
   text-align: center;
}

#cookie-banner .mdl-button {
   margin-top: 15px;
   margin-left: 8px;
}

#cookie-backdrop {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   z-index: 9999;
}

/* Layout Flexbox */
.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.flex-grow-1 {
    flex: 1;
}

/* Griglie */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.col {
    padding: 10px;
    box-sizing: border-box;
}

/* Breakpoints */
@media (max-width: 768px) {
    .col {
        flex: 0 0 100%;
    }
}

.card-action a {
    text-transform: uppercase;
    font-weight: bold;
}


/* Lockup */
.lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lockup-brand {
    color: #FFFFFF;
    text-decoration: none;
}

.tool-label {
    vertical-align: middle;
}

#localeselector {
    border-bottom: 1px solid #9e9e9e;
    color: #212121;
    cursor: default;
    display: inline-block;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    max-width: 100%;
    outline: 0;
    padding: 0 2px;
    position: relative;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

.custom-right-footer {
  margin-right:45px;
}

.sc-locales {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5f6368;
}

.sc-locales label {
    font-size: 0.9rem;
}

#localeselector {
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 5px;
    font-size: 0.9rem;
    color: #202124;
}

.mdl-full-width {
    width: 100%;
}

.logo-class {
    height: 100px; /* Altezza del logo */
    margin-right: 20px; /* Spaziatura dal testo */
}


.mdl-list__item--two-line {
    height: 170px;
}

.mdl-list__item--two-line {
    min-height: 120px;
    padding: 8px;
}

.mdl-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 12px;
    min-height: 120px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.mdl-card__title,
.mdl-card__supporting-text {
    font-size: 14px;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 768px) {
    .mdl-card {
        padding: 8px;
        min-height: 100px;
    }

    .mdl-card__title,
    .mdl-card__supporting-text {
        font-size: 12px;
    }
}


.mdl-navigation__link--expandable {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mdl-navigation__submenu {
    display: none;
    margin-left: 15px;
}

.mdl-navigation__submenu.active {
    display: block;
}

@media (max-width: 768px) {
    .tool-label {
        display: none;
    }
}

