/* info (hed, dek, source, credit) */


body{
padding-top: 2%; /* Altezza del margine superiore */
background-color: white;
}

footer {
  background-color: #339900; /* colore del footer */
  margin-top: 2%;
}

.bg-custom {
  background-color: #339900; /* colore della navbar */
}

/* custom styling for all icons */
.fa-search,
.fa-solid,
.fa-brands,
.fa-sharp-solid {
  background-color: #4e9525;
  border-radius: 60%;
  padding: 1.1em;
  border: none;
  height: 50px !important;
  width: 50px !important;
}

/* custom styling for specific icons */
.fa-search {
  color: #fff;
  font-size: 16px;
}

.icons {
  width: fit-content;
  margin: 0 auto;
  padding-top: auto;
}

.navbar {
  margin-top: 2%;
}

.searchform {
  width: calc(100% - 30px);
  height: 60px !important;
  border: none !important;
  background: transparent !important;
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 14px;
  border-radius: 40px;
  box-shadow: none !important;
  padding-left: 1rem !important;
  font-weight: 400;
  line-height: 1.5 !important;
  display: block !important;
  width: 100%;
}

.navbar-nav {
  margin: auto;
}

.navbar-nav li {
  margin: auto;
}

.table-responsive {
  overflow-x: hidden !important;
  width: 100%;
  min-width: 800px; /* Imposta la larghezza minima desiderata per la tabella */
}

a {
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

a:hover {
  text-decoration: underline;
  color: #757575;
}

a:visited {
  color : #757575;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: top;
}

.rg-container {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  padding: 1em 0.5em;
  color: #222;
}

.rg-header {
  margin-bottom: 1em;
  text-align: left;
}

.rg-header > * {
  display: block;
}

.rg-hed {
  font-weight: normal;
  font-size: 1.4em;
}

.rg-dek {
  font-size: 1em;
}

.rg-source {
  margin: 0;
  font-size: 0.75em;
  text-align: right;
}

.rg-source .pre-colon {
  text-transform: uppercase;
}

.rg-source .post-colon {
  font-weight: bold;
}

/* table */
table.rg-table {
  width: 100%;
  margin-bottom: 0.5em;
  font-size: 1em;
  border-collapse: collapse;
  border-spacing: 0;
}

table.rg-table tr {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-align: left;
  color: #333;
}

table.rg-table thead {
  border-bottom: 3px solid #ddd;
}

table.rg-table tr {
  border-bottom: 1px solid #ddd;
  color: #222;
}

table.rg-table tr.highlight {
  background-color: #dcf1f0 !important;
}

table.rg-table.zebra tr:nth-child(even) {
  background-color: #f6f6f6; /* riga grigiolina */
}

table.rg-table th {
  font-weight: bold;
  padding: 0.35em;
  font-size: 0.9em;
}

table.rg-table td {
  padding: 0.35em;
  font-size: 0.9em;
  text-decoration: none !important;
}

table.rg-table .highlight td {
  font-weight: bold;
}

table.rg-table th.number,
td.number {
  text-align: right;
}

/* media queries */

@media screen and (max-width: 600px) {
  .rg-container {
	max-width: 100%; /* Imposta la larghezza massima al 100% della larghezza disponibile */
    height: auto; /* Imposta l'altezza in base alla larghezza per evitare deformazioni */
  }

  table.rg-table {
    width: 100% !important;
  }

  table.rg-table tr.hide-mobile,
  table.rg-table th.hide-mobile,
  table.rg-table td.hide-mobile {
    display: none;
  }

  table.rg-table thead {
    display: none;
  }

  table.rg-table tbody {
    width: 100%;
  }

  table.rg-table tr,
  table.rg-table th,
  table.rg-table td {
    display: block;
    padding: 0;
  }

  table.rg-table tr {
    border-bottom: none;
    margin: 0 0 1em 0;
    padding: 0.5em;
  }

  table.rg-table tr.highlight {
    background-color: inherit !important;
  }

  table.rg-table.zebra tr:nth-child(even) {
    background-color: transparent;
  }

  table.rg-table.zebra td:nth-child(even) {
    background-color: #f6f6f6;
  }

  table.rg-table tr:nth-child(even) {
    background-color: transparent;
  }

  table.rg-table td {
    padding: 0.5em 0 0.25em 0;
    border-bottom: 1px dotted #ccc;
    text-align: right;
  }

  table.rg-table td[data-title]:before {
    content: attr(data-title);
    font-weight: bold;
    display: inline-block;
    content: attr(data-title);
    float: left;
    margin-right: 0.5em;
    font-size: 0.95em;
  }

  table.rg-table td:last-child {
    padding-right: 0;
    border-bottom: 2px solid #ccc;
  }

  table.rg-table td:empty {
    display: none;
  }

  table.rg-table .highlight td {
    background-color: inherit;
    font-weight: normal;
  }
}

.dataTables_wrapper .dataTables_paginate .pagination .page-item .page-link {
  background-color: #f6f6f6; /* Colore di sfondo desiderato per i bottoni */
  border-color: #f6f6f6; /* Colore del bordo desiderato per il bottone attivo */
  color: #000000; /* Colore del testo */
}

.processing {
  /* Stili CSS personalizzati per il messaggio di processing */
}

.caratteristiche {
padding: 1em 0.5em !important;
}

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}



/* rtl:end:remove */

/* Dropdown menu styles for navbar */
.navbar .dropdown-menu {
  background-color: #2e7d00; /* Slightly darker green for dropdown */
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar .dropdown-item {
  color: #fff;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
  background-color: #339900; /* Main green color on hover */
  color: #fff;
}

.navbar .dropdown-item:focus {
  background-color: #339900;
  color: #fff;
}

/* Ensure dropdown arrow is visible */
.navbar .dropdown-toggle::after {
  color: #fff;
}
