html,
body {
    /*background: url(../img/background.jpg) no-repeat center center/cover;*/
    background-color: #ffffff; /*#44585a;*/
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
    text-rendering: geometricPrecision;
    overflow-x: auto;
    text-rendering: optimizeLegibility;
    font-size: 18px;
    scroll-behavior: smooth;
}

.logo-header {
    max-width: 100%;
    height: 60px;
}

.sfondo01 {
  background-image: url("../img/sfondo01.png");
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
}

.bg-index {
    background-color: #F5F5F5; /*#f2f6fc!important;*/
}

/*
.modal-dialog {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0!important;
}
*/

.modal-login {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: auto;
    outline: 0; 
    background: rgba(0,0,0,0.3);
}

.modal-content {
    background: #929ba7;
    padding: 50px 0!important;
    border-radius: 3rem!important;
}

.modal-content-white {
    background: #fff!important;
    padding: 50px 0!important;
    border-radius: 3rem!important;
}

#logo {
    width: 100%;
    max-width: 100px;
}

label {
    color: #000;
    margin-bottom: .2rem;
    text-align: left;
}

.hp {
    width: 30rem;
    max-width: 80vw;
}

.errored {
    color: #FE6C6C;
    font-weight: 700;
    margin-top: 1rem;
    display: none;
}
/*
.errored {
    display: none;
    color: #ffffff;
    background-color: #e10000;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    width: 100%;
}
*/
#modal-title-error, #modal-title-error-login, #form-registrazione, #button-login {
    display: none;
}

a, a:hover, a:focus, a:active, a:visited {
  color: #fff;
  text-decoration: none;
}

a.text-grey {
  color: #424242;
  text-decoration: underline;
}

.blacklink, .blacklink:hover, .blacklink:focus, .blacklink:active, .blacklink:visited, .blacklink:active {
  color: #000;
}


h4 {
    color: #90C944;
    font-weight: 700;
}

.text-white {
    color: #fff;
}

.text-green {
    color: #90C944!important;
}

.text-red {
    color: #FF0000!important;
}

.durata {
    font-size: 1rem;
    color: #FE6C6C;
}

#img-result {
    width: 512px;
    max-width: 80vw;
}

@media screen and (max-width: 575px) {
    #img-result {
        width: 256px;
        max-width: 80vw;
    }    
}

#result {
    max-height: 25rem;
    overflow-y: auto;
}

.btn-outline-primary {
    color: #90C944;
    border-color: #90C944;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #90C944;
    border-color: #90C944;
}

.domanda-chat {
    background-color: rgba(244,244,244,0.8);
    border-radius: 1.5rem;
    padding: 5px 15px;
    color: #000000;
    margin-bottom: 5px;
    margin-top: 5px;
}

.img-wait {
    max-width: 50px;
}

#fixedmenu {
    right: 15px;
}

.fblogin-dav {
    max-width: 300px
}

.btn {
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 150px;
}

.btn-home {
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 300px;
    width: 300px;
    min-height: 100px;
    height: 100px;
    color: #fff!important;
    background-color: #44585a;
    line-height: 85px;
}

.btn-home span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.btn-home span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.btn-home:hover span {
  padding-right: 25px;
}

.btn-home:hover span:after {
  opacity: 1;
  right: 0;
}

.btn-menu {
    min-width: 300px;
    width: 300px;
}

.btn-primary {
  color: #fff;
  background-color: rgba(0, 98, 204, 1);
  border-color: #0062CC;
}

.btn-primary:hover {
  color: #fff;
  background-color: rgba(0, 98, 204, 0.7);
  border-color: #0062CC;
  transition: all 0.3s ease;
}

.btn-contatti {
  color: #fff;
  background-color: rgba(46, 125, 50, 1);
  border-color: #2E7D32;
}

.btn-contatti:hover {
  color: #fff;
  background-color: rgba(46, 125, 50, 0.7);
  border-color: #2E7D32;
  transition: all 0.3s ease;
}

.btn-attention {
  color: #fff;
  background-color: rgba(255, 0, 0, 1);
  border-color: #FF0000;
}

.btn-attention:hover {
  color: #fff;
  background-color: rgba(255, 0, 0, 0.7);
  border-color: #FF0000;
  transition: all 0.3s ease;
}

.btn-registration {
    color: #fff;
    /*background-color: rgba(144, 201, 68, 1);*/
    background-color: rgba(99, 137, 46, 1);
    border-color: #63892E;
}

.btn-registration:hover {
    color: #fff;
    background-color: rgba(144, 201, 68, 0.7);
    border-color: #90C944;
    transition: all 0.3s ease;    
}

.btn-logout {
  color: #fff!important;
  background-color: rgba(255, 0, 0, 1);
  border-color: #FF0000;
  position: absolute;
  right: 25px;
}

.btn-logout:hover {
  color: #000!important;
  background-color: rgba(255, 0, 0, 0.7);
  border-color: #FF0000;
  transition: all 0.3s ease;
}

#button-registrati {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 1rem;
}

#button-login {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 1rem;
}

.svg-inline--fa {
  display: var(--fa-display,inline-block);
  height: 1em;
  overflow: visible;
}

.anteprima {
    width: 100%;
    max-width: 50px;
}

.table > tbody > tr > td {
     vertical-align: middle;
}

.post-recap {
    font-size: 1.1rem;
    line-height: 1.5;
}

.my-hr {
  border: 1px solid #ccc; /* Colore grigio chiaro */
  margin-top: 10px; /* Aggiungi margine sopra la linea (opzionale) */
}

.visibility {
    visibility: hidden;
    display: inline-block;
}

.box-underline-dotted {
    border-bottom: 2px #343a40 dotted;
}

.box-underline-dotted-grey {
    border-bottom: 2px #A0A0A0 dotted;
}
.box-dotted {
    border: 2px #343a40 dotted;
}

@media(max-width: 576px) {
    .fixed-bottom {
        font-size: 9px;
    }
}

.explain-box {
    position: relative; 
    margin-top: -1.5rem;
    color: #f1c40f;
    font-weight: 700;
}

#btn-accesso-utenti {
    color: #fff!important;
    max-width: 50vw;
    position: absolute;
    bottom: 15px;
    right: 25px;
}
footer {
    font-size: 14px;
}
@media (min-width: 992px) {
    #btn-accesso-utenti {
        position: absolute;
        right: 25px;
        top: 22px;
    }
    footer {
        font-size: 16px;
    }    
}

.font-weight-700 {
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255)!important;
  font-weight: 700;
}

.table .thead-light th {
  color: #495057;
  background-color: #C0C0C0;
  border-color: #C0C0C0;
}

.boxsizingBorder {
    border:1px solid #999999;
    width:100%;
    height: 30vh;
    margin:5px 0;
    padding:3px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.scheda_concorso_prod {
    border: 3px solid #999999;
    border-radius: 1.5rem;
    box-shadow: 7px 9px #FF0000;
    /*box-shadow: inset 5px 5px 5px 0px #888888;*/
}

.scheda_concorso {
    border: 3px solid #999999;
    border-radius: 1.5rem;
    box-shadow: 7px 9px #90C944;
    /*box-shadow: inset 5px 5px 5px 0px #888888;*/
}

.scheda_acquisti {
    border: 3px solid #999999;
    border-radius: 1.5rem;
    box-shadow: 7px 9px #888888;
}

.font10 {
    font-size: 1rem!important;
}

.bg-white {
    background-color: #ffffff;
}

.bg-azure {
    background-color: #E3F2FD;
}

.bg-grey {
    background-color: #F5F5F5;
}

.bg-blue {
    background-color: #0D47A1;
}

.text-blue {
    color: #0D47A1;
}

.text-grey {
    color: #424242;
}

.text-green {
    color: #2E7D32;
}

.video-background {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

.content {
  position: relative;
  z-index: 2;
  color: white; /* o altro colore per contrasto */
  padding: 20px;
}

@media (min-width: 768px) {
  .w-lg-75 {
    width: 75% !important;
  }
}

._CookieScriptReportVendorName a {
  color: #424242; /* colore del link */
  text-decoration: none; /* rimuove la sottolineatura */
  font-weight: bold; /* rende il testo in grassetto */
}

._CookieScriptReportVendorName a:hover {
  color: #424242; /* colore quando il mouse passa sopra */
  text-decoration: underline; /* aggiunge sottolineatura */
}

._CookieScriptReportPageSaveSettingButton {
  color: #fff;
  background-color: rgba(0, 98, 204, 1);
  border-color: #0062CC;
}

._CookieScriptReportPageSaveSettingButton:hover {
  color: #fff;
  background-color: rgba(0, 98, 204, 0.7);
  border-color: #0062CC;
  transition: all 0.3s ease;
}

.input-container {
  position: relative; /* Necessario per posizionare la label in modo assoluto */
}

.input-label {
  position: absolute;
  top: 5px;
  left: 10px;
  color: #424242!important;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease;
  font-weight: 400;
}

.custom-label-dav:focus + .input-label,
.custom-label-dav:not(:placeholder-shown) + .input-label {
  color: #ffffff!important;
  top: -25px; 
  font-size: 0.8em;
}

.section-obliqua-azure {
  position: relative;
  background: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
}

.section-obliqua-azure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* altezza triangolo */
  background: #E3F2FD; /* colore del riempimento obliquo */
  transform: skewY(-2deg);
  transform-origin: top left;
}

.section-obliqua-white {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
}

.section-obliqua-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* altezza triangolo */
  background: #ffffff; /* colore del riempimento obliquo */
  transform: skewY(2deg);
  transform-origin: bottom right;
}