html {

  font-size: 14px;

}

body {
  background-color: #FFFFFF; /* o white */
}

@media (min-width: 768px) {

  html {

    font-size: 16px;

  }

}



.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {

  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;

}



html {

  position: relative;

  min-height: 100%;

}



/*body {

  margin-bottom: 60px;

}*/



.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {

  color: var(--bs-secondary-color);

  text-align: end;

}



.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {

  text-align: start;

}

body {

    padding-bottom: 20px;

}



/* Padding for fixed navbar (Bootstrap 5) */

body.has-fixed-navbar {

    padding-top: 5px;

}



/* Set padding to keep content from hitting the edges */

/*.body-content {

    padding-left: 15px;

    padding-right: 15px;

}*/



/* Set width on the form input elements since they're 100% wide by default */

input,

select,

textarea {

    max-width: 280px;

}

.nav-link {

    color: #dee2e6

}



element.style {

}



.align-items-center {

    align-items: center !important;

}



.justify-content-center {

    justify-content: center !important;

}



/*.carousel-item {

    position: relative;

}*/









    .carousel-control-next {

        background-image: linear-gradient(to right,rgb(0,0,0,.0001 ),rgb( 0 0 0 / 50%) 100%)

    }



    .carousel-control-prev {

        background-image: linear-gradient(to left,rgb(0,0,0,.0001 ),rgb( 0 0 0 / 50%) 100%)

    }



    .bg-light {

        --bs-bg-opacity: 1;

        background-color: rgb(33 33 33) !important;

    }

.links {

    text-decoration: none;

}

.thumbnail {

    border: 1px solid #ddd;

    border-radius:4px;

    padding: 4px;

    margin-top: 5px;

    margin-bottom: 5px;





}

.flex-row .thumbnail{

    flex-direction: column;

    display:flex;

    flex: 1 0 auto;

}

a{

text-decoration: none;

}

.card-img-container {

    height: 200px; /* Altezza fissa */

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden; /* Evita overflow */

}



    .card-img-container img {

        max-height: 100%;

        max-width: 100%;

        object-fit: contain; /* Mantiene proporzioni */

    }