:root {
  --primary-color: red;
  --testo-header: #444;
  --colore-bottoni: #ee0101;
  --colore-sito-padre: #dc3545;
  --colore-sito-primario: rgb(31, 59, 111);
  --colore-sito-secondario: #1232;
  
  --overlay-header_no: rgba(31, 59, 111, 0.0);
  --overlay-header: #f1f1f1;
  
  --overlay-box:  rgba(5, 109, 92, 0.6);
 
  --colore-contoallarovescia: #056d5c;
  --colore-partecipanti: #056d5c;
}






body,
html {
    font-family: 'Roboto', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #666;
    /*font-weight: 300;*/
    width: 100% !important;
    height: 100% !important;
    font-size: 16px !important;

}




hr {
    height: 2px;
    width: 70px;
    text-align: center;
    position: relative;
    background: var(--primary-color);
    margin: 0 auto;
    margin-bottom: 20px;
    border: 0;
}



.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow : hidden;
  text-overflow: ellipsis;
}


.rounded-16 {
    border-radius: 1.6rem !important;
}

.fa-asterisk {
    color: red;
    font-weight: 800;

}

.bottone{
    background-color: var(--colore-bottoni);
    border: solid 1px var(--colore-bottoni);
}









.menu-superiore {
    padding: 1.5rem 0 1.5rem 0;
    border-bottom: solid 0.5rem var(--colore-sito-padre);
    font-size: 16px;
   
}
.menu-superiore a {
    color: #444;
}
.menu-superiore a:hover {
    color: #111;
}





.header {
    
    background-color: #444;
    background-image: url("../../img/intro-bg.jpg"); /* The image used */
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */

}

.header .overlay{
    background:   var(--overlay-header);
}

.header .titolo {
    color: var(--testo-header);
}
.header .occhiello {
    color: var(--testo-header);
}


.header .bottone{
    background-color: var(--colore-bottoni);
    border: solid 1px var(--colore-bottoni);
}


.header .box-data {
  background-color: rgba(255,255,255,0.8);
  padding:1rem;
  text-align: center;
}

.header .hash .badge{
    background-color: var(--colore-bottoni);
}





.contoallarovescia {
    background-color: var(--colore-contoallarovescia);
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;


  }

.contoallarovescia p {
    color: white;
    font-size: 1.4rem;
    font-weight: 100;
  margin-top: 0;
  margin-bottom: 0;

}


.contoallarovescia i {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: white;
    font-size: 2rem;
    font-weight: 600;
  }





@media (max-width: 767.98px) { 

    .contoallarovescia p {
        font-size: 1rem;
    }
    .contoallarovescia i {
        font-size: 1.6rem;
    }


 }






.descrizione {

   /*background-color: #f1f1f1;*/
   background-color: white;

}








.partecipazione {
  background-color: var(--colore-partecipanti);
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: white;
}

.partecipazione .immagine {
  max-width: 12rem;
}

.partecipazione .nome{
  font-size: 1rem;
  padding-top: 2rem;
}
.partecipazione .qualifica{
  font-size: 0.7rem;
  font-style: italic;
}
.partecipazione .azienda{
  font-size: 0.9rem;
  font-weight: 900;
  font-style: normal;
}




















.footer {


    border-top: solid 0.5rem var(--colore-sito-padre);
    padding: 2rem 0 2rem 0;
    font-size: 12px;


}









.corpo {
    padding: 2rem 0 2rem 0;
}

.corpo .testo-introduttivo {
    font-size: 1.2rem;
}



.box .elemento {
        padding: 1.5rem 0 1.5rem 0;
}



.box .titolo {
    color: #444;
}

.box .occhiello {

    color: #666;
}


.box .bottone {
    
    background-color: var(--colore-bottoni);
    border: solid 1px var(--colore-bottoni);

}





.box .immagine {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}






.box .immagine:after {
    content: '\A';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--overlay-box);
    opacity: 1;
    border-radius: 1.6rem !important;

}










.box .testo {
    background-color: #f1f1f1;
    font-size: 17px;
    text-align: justify;
    font-weight: 400;
}










@media (max-width: 767.98px) { 

    .box .rounded-16 {
        border-radius: 0px !important;
    }

 }





.form-privacy {
    font-size: 14px;
    background-color: #f1f1f1;
    padding: 1rem;
}
.form-privacy a{
    color:val(--colore-sito-padre);
    font-weight: 400;
}














.lista-download {
    background-color: var(--colore-sito-primario);
    margin-bottom: 2rem;
    border-top: solid white 5px;
}





.lista-download .immagine {
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}




.lista-download .bi-file-earmark-arrow-down {
    color:white;
}









.layer-box {

    border-radius: 1rem !important;
    background-color: #f1f1f1;
    padding: 1.6rem;
    margin-bottom: 2rem;
}




.bottoni-social {
    width:100%; text-align: center; margin-bottom:2rem; margin-top:2rem;

}




/* The animation code */
@keyframes animazione1 {
  from {background-color: red;}
  to {background-color: yellow;}
}



/* The element to apply the animation to */
.animazione1 {

 padding: 5px 20px;
  background: #eee;
  transition: transform .5s ease; /* our nice transition */

  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  
}


