* {
  box-sizing: border-box;
}

body {
  border-bottom-style: initial;
  background-color: #cdd0cf;
  height: 100%;

}

.invertedColor {
  color: var(--bs-card-bg);
}

.navbar {
  height: 60px;
}

.navbar .container-fluid {
  padding: 0%;
  padding-left: 10px;
  padding-right: 10px;
  z-index: 2;
  background-color: #212529;
}

.collapse .navbar-collapse {
  padding: 0%;
}

footer {

  bottom: 0;
  background-color: rgb(22, 22, 22);
  color: white;
  text-align: center;
  height: 60px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;


}

.card_ricambi {


  /* margin: 2rem; */
  margin-bottom: 4px;
  text-align: center;
  box-shadow: #777877;
  margin-top: 20px;
  border-style: solid;
  margin: 0 auto;
  background-color: white;
  width: 18rem;
  margin-top: 20px;

}

.card_ricambi .card-body {
  /* align-items: baseline;  */
  display: grid;
  align-items: end;

}

.card_ricambi {
  /* margin-top: auto; */
  text-align: center;
}

.card_ricambi .card-text {
  display: flex;
}

#modelli.td,
#modelli.th {

  padding: 8px;
}

#modelli.th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
}

#fornitori.td,
#fornitori.th {
  padding: 8px;
}

#fornitori.th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;

}

.main {
  position: relative;
  min-height: 82vh;

  padding: 1% 10% 0% 10%;
  width: 100%;

 



}

.img {
  margin: 1rem;
}

.img-top {
  margin: 5px;
}

.breadcrumb {
  margin-top: 25px;

}

section {
  margin: 0px;
}

.row {
  margin: auto;
  justify-content: center;
}

.card.special-card {
  padding: 5px;
  margin: 5px;
  text-align: center;
}

.card.special-card-body {
  display: flex;
  columns: flex;

}

table {
  margin-top: auto;
  flex: content;
  border-collapse: collapse;
}

table,
th,
td {
  border: 1px solid black;
}

@media(max-width:768px) {
  .col-3 {
    width: 100%;
  }
}

.button {
  display: inline-block;
  padding: 20px 50px;
  margin: 20px 0;
  position: relative;
  color: #ecf0f1;
}

/* BUTTON 1 */

#button-1 {
  border: 2px solid #34495e;
  color: #34495e;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#button-1:before {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-color: #34495e;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#button-1:hover {
  color: #ecf0f1;
}

#button-1:hover:before {
  left: 0;
}




/* dettaglio modello */

.overlay {
  position: absolute;
  /* top: 70px; */
  right: 40px;
  margin-left: -40px;
  width: calc(100% - 80px);

  height: calc(100% - 60px);
  opacity: 0.7;
  z-index: 1;
  background-image: linear-gradient(270deg, rgb(0, 0, 0) 35%, rgba(93, 92, 92, 0.48) 58%);
}


.caption {
  color: white;
  z-index: 2;
}

.dettaglioModello {
  position: relative;
  z-index: 1;
}

.alternata-sx {
  width: 100%;
}

.alternata-sx tr:nth-child(even) {
  background-color: #f2f2f2;
}

.alternata-sx th {
  background-color: #4CAF50;
  color: white;
}

.alternata-sx td {
  padding: 15px;
  text-align: left;
}

.alternata-sx td:first-child {
  float: left;
}

.lf {


  line-height: 16px;
  font-weight: bold;
}

.rg {
  float: right;
  text-align: right;
  color: #585757;

}

.descrizione {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 0px;

}

.descrizione ul {
  padding: 0px;
}

.descrizione ul li {
  background: #eae4e4;

}

.descrizione li:nth-child(odd) {
  background: #bcb9b9;


}