body {
  background: #fafafa;
  color: #333333;
  margin-top: 5rem;
  font-size: 16px;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: white;
}

.bg-steel {
  background-color: #141d24;
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #141d24;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-heading {
  font-size: 2.5rem;
  color: white;
}

.mb-3 {
  color: #141d24;
}

h4 {
  color: #333333;
}

.btn-primary {
  width: 100%;
  background-color: #141d24;
  border: #141d24;
}

.btn-primary:hover {
  background-color: darkgrey;
}

.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #141d24;
}

.mb-4 {
  text-align: center;
  font-size: 16px;
}

h3 {
  color: black;
}

.border-bottom {
  border-bottom: none !important;
}

#password.form-control-lg {
  border-right: 0;
}

.form-control-lg {
  font-size: 16px;
}

.form-control-lg::placeholder {
  color: #d3d3d3;
}

.input-group-text {
  background-color: white;
  border-radius: 10px;
}

.pt-3 {
  text-align: right;
  font-size: 16px;
  padding: 0 !important;
  margin-top: 5px;
}

.ml-2 {
  float: right;
  padding-right: 2px;
}

.border-top {
  border-top: 0 !important;
}

.form-group {
  margin-bottom: 20px;
}

.form-control-lg {
  height: 50px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease-in-out;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #ccc;
}

.btn-primary {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background-color: #141d24;
  border: 1px solid #141d24;
  transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: #2c3b4b;
}

.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #141d24;
}

.content-section {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  padding-bottom: 20px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.border-top {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.border-bottom {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.mb-4 {
  padding-bottom: 0 !important;
}

.form-control {
  position: relative;
}

.form-control::-webkit-input-placeholder {
  font-size: 16px;
  color: #6c757d;
}

.form-control:not(:focus):not(:placeholder-shown)::-webkit-input-placeholder {
  top: 0;
}

#list-home.list-group {
  width: 480px;
}

#row-home.row {
  display: flex;
  width: 100%;
}

#col1-home {
  width: 30%;
  display: flex;
}

#col2-home {
  width: 70%;
  display: flex;
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #141d24;
  border-color: #141d24;
}

#title-1.list-group-item.active,
#title-2.list-group-item.active {
  color: #141d24;
  font-weight: bold;
  background-color: transparent;
  border-color: transparent;
  padding: 0;
  margin: 0;
  margin-bottom: 5px;
}


#list2-home.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: white;
  border-color: rgba(0, 0, 0, .125);
}

.btn-info {
  color: #fff;
  background-color: #141d24;
  border-color: #141d24;
}

#col2-home {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.document-metadata {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-subf {
  flex-grow: 1;
  text-align: left;
}

.next-button {
  margin-top: 5px;
  background: transparent;
  text-align: right;
  color: #141d24;
  text-decoration: underline;
  font-size: 12px;
}

.search-form {
  background-color: #eee;
  height: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.search-form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 10px;
  width: auto;
}

.search-form .form-group label {
  margin-bottom: 5px;
  font-size: 0.9em;
}

label {
  justify-content: left !important;
  padding-left: 2px;
}

#Scansione {
  width: 250px;
}

#categoryFilter {
  width: 200px;
}

#typeFilter {
  width: 200px;
}

#dateFilter {
  width: 150px;
}

#btnFilter {
  background-color: #141d24;
  border-color: #141d24;
  color: white;
  width: 100%;
  width: 110px;
  max-width: 120px;
  margin-top: 25px;
  padding: 5px;
  border-radius: 5px;
}

#btnEnter,
#btnClose,
#btnExcel,
#btnPrenotations,
#btnUndo {
  background-color: #141d24;
  border-color: #141d24;
  color: white;
  width: 100%;
  width: 130px;
  max-width: 130px;
  margin-top: 25px;
  padding: 5px;
  border-radius: 5px;
}

#btnResearchGrant,
#btnExternalAssignment,
#btnSeminary,
#btnPrenotation,
#btnReport,
#btnRoom1,
#btnRoom2,
#btnRichiestaBorsa,
#btnVisualizzaBorsa,
#btnRichiesteAcquisto,
#btnVisualizzaBorse,
#btnModificaCampiBorse,
#btnModificaCampiIncarichi,
#btnVisualizzaIncarichi,
#btnModificaDoc,
#btnInfoBorse,
#btnInfoIncarichi,
#btnVisualizzaRapporto,
#btnRichiestaNumeroRapporto,
#btnVisualizzaAcquisti,
#btnServizio,
#btnBeneMateriale,
#btnInfoRichiesteAcquisto,
#btnModificaRichiestaAcquisto,
#btnVisualizzaRichiestaAcquisto,
#btnCatering,
#btnCena,
#btnPernottamento,
#btnAltroServizio,
#btnAnagrafica,
#btnPrenotazioneDottorandiAssegnisti,
#btnProgetti,
#btnAddFinanziatore,
#btnOrientamento,
#btnRefOrientamento,
#btnScuoleOrientamento,
#btnAttivitaOrientamento,
#btnVisualizzaOrientamenti,
#btnConvenzioni,
#btnIncaricatoRicerca {
  background-color: white;
  border-color: darkgray;
  color: #6c757d;
  margin-top: 10px;
  margin-right: 50px;
  padding: 8px;
  border-radius: 5px;
  height: 100px;
  width: 200px;
}

.content-section {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  padding-bottom: 20px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.account-container {
  display: flex;
  background-color: #141d24;
  color: white;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.account-left {
  background-color: #141d24;
  color: white;
  padding: 30px;
  border-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.account-right {
  background-color: white;
  color: #141414;
  padding: 30px;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-control:disabled, .form-control[readonly] {
  background-color: white !important;
}

.alert {
  text-align: center;
}

.alert-info {
  max-width: 480px
}

.alert-success {
  max-width: none !important;
  display: flex;
  justify-content: center;
}

.home-subf {
  color: #6c757d !important;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #141d24;
  border-color: #141d24;
}

.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #141d24;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.table td, .table th {
  padding: 8px;
  vertical-align: top;
  border-bottom: 1px solid #dee2e6;
  border-top: 0 !important;
}

.mt-3, .my-3 {
  margin-top: 0 !important;
}

#account.btn, #account.btn-success, #account.mb-2{
  background-color: #1d2731; 
  border-color: #1d2731;
  width: 100%;
}

#account:hover.mb-2{
  background-color: #1d2731; 
}

#account.btn-success:hover {
  color: #fff;
  background-color: #1d2731;
  border-color: #1d2731;
}

.column-form {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px; /* per aggiungere spazio tra le righe */
  margin-right: 30px;
}

/* tom select modifiche */
.tom-select {
  font-size: 15px;
  border-radius: 5px;
  color: #333;
  padding: 8px;
  width: 300px !important;
}

.ts-control {
  background: white !important;
  border-radius: 5px;
  border: 1px solid #ccc !important;
  width: 300px;
}

.ts-control input {
  font-size: 15px !important;
  padding: 8px;
  width: 300px !important;
}

.ts-dropdown {
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  background: white;
  font-size: 15px;
  padding: 8px;
  width: 300px !important;
}

.ts-dropdown .active {
  background-color: #1E73E8 !important;
  color: white !important;
  padding: 8px;
  width: 300px !important;
}

.ts-wrapper.single .ts-control {
  background-color: #e7f1ff;
  border: 1px solid #b3d7ff;
  border-radius: 5px;
  padding: 8px 12px;
  text-align: center;
  font-size: 15px;
  padding: 8px;
  width: 300px !important;
}