.spanning{
  height:2vh;
  margin-left: auto;
  margin-right: auto;
}

.spanningv2{
  height:1vh;
  margin-left: auto;
  margin-right: auto;
}

body {
  background-color: black; /* Set background color of the whole page to black */
}

img { background: transparent; }

.infoout{
  width:60%;
  margin-top: 9%;
  margin-left: auto;
  margin-right: auto;
  height: 400px;
}

.infotot{
  width:820px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.spanin{
  display: inline-block;
  width: 100%;
}

.infocard{
  display: inline-block;
  float: left;
  margin-top: 20px;
}

.infoout h3{
  font-family: DINfunProPlain;
  font-weight: lighter;
  text-align: left;
  margin-bottom: 7px;
}

.infocardr{
  display: inline-block;
  float: right;
  margin-top: 20px;
}
.infocardr h3{
  font-family: DINfunProPlain;
  font-weight: lighter;
  text-align: right;
  margin-bottom: 7px;
}


.infooutb {
  width: 100%;
  height: 20%;
  margin-left: auto;
  margin-right: auto;
  max-height: 300px; /* Or whatever height you think is appropriate */
  overflow-y: auto;  /* Add this line */
}

.infocardb{
  display: inline-block;
  float: left;
  margin-top: 0px;
  margin-bottom: 30px;
}

.infocardb h3{
  font-family: DINfunProPlain;
  font-weight: lighter;
  text-align: left;
  margin-bottom: 7px;
}



hr.solid {
  width: 100%;
  border-top: 1px solid #000;
}

#bottm{
  font-family: DINfunProPlain;
  font-weight: lighter;
  text-align: left;
  margin-top: 7px;
  color: #c3c1c1;
}

#bottmv2{
  font-family: DINfunProPlain;
  font-weight: lighter;
  text-align: left;
  margin-top: 7px;
  color: #e4c2af;
}

.compless{
  margin: auto;
  max-width: 500px;
}


.bottomleft{
  width:100%;
  height:4vh;
  margin-left: 20px;
  margin-right: auto;
  position: fixed;
  bottom: 27px;
}

.bottomleft h3{
  font-family: DINfunProPlain;
  font-weight: lighter;
  text-align: left;
}

.lefticon{
  position: fixed;
  left: 30px;
  width: 10%;
}

.lefticon img{
  width: 40px;
  height: 30px;
  position: fixed;
  left: 20px;
}

.righticon{
  position: fixed;
  right: 10px;
  width: 10%;
}

.righticon img{
  width: 36px;
  height: 27px;
  position: fixed;
  right: 20px;
}

/* NAVIGAZIONE */

/*HEADER*/
/* NAVIGAZIONE */

/*HEADER*/
.logoname img {
  float: left;
  width: 75px;
  height: 52px;
  margin-top: 10px;
  margin-left: 17px;
  background: #555;
}

.logoname h1 {
  position: relative;
  color: white;
  top: 18px;
  left: 7px;
}

.logoname h2{
  font-family: DINfunProPlain;
  font-weight: bold;
  float: left;
  font-size: 40px;
  color: white;
  margin-top: 15px;
  margin-left: 14px;
}

a {
  text-decoration: none; /* Remove underline */
  user-select: none; /* Disable text selection */
  color: inherit; /* Optional: Inherit text color from parent */
}



/*-----*/
#topnav{
  position: relative;
}
#topnav a{
  float: left;
  text-align: center;
  padding: 25px 24px;
  text-decoration: none;
  font-size: 17px;
  display: table;
}


@font-face {
    font-family: DINfunProPlain;
    src: url("font/CheapProFonts - DINfunProPlain.otf") format("opentype");
}

#titleT{
  font-family: DINfunProPlain;
  font-weight: bold;
  float: left;
  margin-left: 50px;
}
#rest{
  float: right;
  margin-right: 20px;
  font-family: DINfunProPlain;
  color: #8f8b86;
}

#ns{/*nav non attivo*/
  font-family: DINfunProPlain;
  color: #8f8b86;
}

#active{
  font-family: DINfunProPlain;
  color: white;
}

h3{
  color:white;
}

#topnav a:hover {
  /*background-color: #ddd;*/
  color: #5c5a57;
}

/*collapse navbar*/

#rest img{
  width: 30px;
  height: 28px;
}

#rest .icon {
  display: none;
}

@media screen and (max-width: 820px) {
  #rest a {display: none;}
  #rest a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 820px) {
  #rest.responsive {position: relative;}
  #rest.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  #rest.responsive a.pp{
    float: none;
    display: block;
    text-align: right;
    margin-right: 45px;
    line-height: 1px;
    height: 1px;
  }
}
/*float: left;
  text-align: center;
  padding: 25px 24px;
  text-decoration: none;
  font-size: 17px;
  display: table;*/

/*slideshow*/

#descrJob{
  font-family: DINfunProPlain;
}

.spanning{
  width:100%;
  height:4vh;
  margin-left: auto;
  margin-right: auto;
}

.supertop{
  width:100%;
  height:35vh;
  margin-left: auto;
  margin-right: auto;
}

.item{
  width:70%;
  height:70vh;
  margin-left: auto;
  margin-right: auto;

}

.item img{
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container{
  max-width: 700px;
  margin: auto;
  width: 140%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -70%);
  transform: translate(-50%, -70%);
  margin-top: 133px;
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0s;
  animation-name: fade;
  animation-duration: 0s;
}

@-webkit-keyframes fade {
  from {opacity: .1}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .1}
  to {opacity: 1}
}



/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


.active, .dot:hover {
  background-color: #717171;
}




/* Mosaic Grid Styles */
.mosaic-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 8 columns */
  gap: 16px;
}

.mosaic-item {
  border: 2px solid transparent;
}

.mosaic-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mosaic-item.selected {
  border: 2px solid blue; /* Or any color of your choice */
}
