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;
}


h2 {
    margin: 30px 0 20px 0;
    font-weight: 400;
    /*font-size: 42px;*/
    font-size: 26px;
    color: #444;
}


h3,
h4 {
    font-size: 20px;
    font-weight: 400;
    font-weight: 300;
    color: #444;
}

h5 {
    /*text-transform: uppercase;*/
    font-weight: 700;
    line-height: 18px;
}

p {
    font-size: 16px;
}

p.intro {
    font-size: 16px;
    margin: 12px 0 0;
    line-height: 24px;
}



a {
    color: #E20513;
}


a:hover,
a:focus {
    text-decoration: none;
    color: #222;
}

ul,
ol {
    list-style: none;
}

ul,
ol {
    padding: 0;
    webkit-padding: 0;
    moz-padding: 0;
}

hr {
    height: 2px;
    width: 70px;
    text-align: center;
    position: relative;
    background: #0ba2db;
    margin: 0 auto;
    margin-bottom: 20px;
    border: 0;
}

/*
.riga-home .container {

    border-left-width: 1px;
    border-right-width: 1px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-style: dashed;
    border-right-color: white;
    border-left-color: white;

}
*/


.rounded-4 { border-radius: .5rem; }
.rounded-5 { border-radius: 1rem; }


.menu-superiore {
    padding: 1.5rem 0 1.5rem 0;
    border-bottom: solid 0.5rem var(--colore-sito-padre);
    font-size: 16px;
    border-bottom: 5px solid rgba(233, 145, 35);
   
}


.menu-superiore a {
    color: #444;
}
.menu-superiore a:hover {
    color: #111;
}













.domande  {
    background-color: #f69c1e;
}


.domande .container  {
    
}


.domande .box {
     background-color: #f59d1e;
}


.domande h2 {
        margin-top: 0px;
        font-size: 2.5rem;

}




.domande h2 span {
    font-size: 1rem;
    color: white;
}


    
.domande .bi {
  vertical-align: -.125em;
  fill: currentColor;
}


.domande  .icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: .75rem;
}









.gallery {

    padding-top: 3rem;
    padding-bottom: 3rem;

}






.gallery .card:hover .immagine {
    /*background-color: #bbb;*/
    /*background: linear-gradient(0deg, rgba(227, 2, 19,0.5) 1%, rgba(255,255,255,1) 2%);*/
}








.gallery .immagine {

    height: 220px;
    background-color: #ccc; /* Used if the image is unavailable */
    background-position: center !important; /* Center the image */
    background-repeat: no-repeat !important; /* Do not repeat the image */
    background-size: cover !important; /* Resize the background image to cover the entire container */

}



.gallery .card-title {
    font-weight: 400;
    /* text-align: center; */
}



.gallery .card-text {

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}


.gallery a {
      text-decoration: none;
}









.sfogliabile .immagine{

    background-color: #ccc; /* Used if the image is unavailable */
    background-position: top center !important; /* Center the image */
    background-repeat: no-repeat !important; /* Do not repeat the image */
    background-size: cover !important; /* Resize the background image to cover the entire container */


}


















/* Header Section */
.intro {
    display: table;
    width: 100%;
    padding: 0;
    background: url(../img/sfondo_speciale.jpg) no-repeat center center;
    background-color: #e5e5e5;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}









.intro .overlay {
    background: rgba(0, 0, 0, 0.5);
}


.intro a {
     text-decoration: none;
}



.intro h1 {
    color: #FFF;
    font-size: 3rem;
}

.intro p {

    color: #FFF;
    /*font-size: 2rem;*/

}






.btn-arancio {
 
    border-color: white;
    background-color: white;
    
}







/* Footer Section*/
#footer {
    background: #e99123;
    /*background: #e6e6e6;*/
    color: #888;
    padding: 30px 0 25px 0;
    /*border: 1px solid #fff;*/
}

#footer p {
    font-size: 15px;
    color: #fff;
}

#footer a {
    color: white !important;
}

#footer a:hover {
    color: black;
}












/* --- LETTURA --- */

.dida {
    font-style: italic;
    font-weight: normal;
    color: #666666;
    /*display: block;*/
    margin: 5px;
    font-size: 12px;
    background-image: url(/img/dida.png);
    background-color: #dfdbdb;
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
}

.all-centro {
    display: block;
    text-align: center;
    padding: 20px;
    margin-right: auto;
    margin-left: auto;
}

.all-centro img {

    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 10px;
}



.all-centro object {
    display: block;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}


.all-sinistra {
    display: block;
    float: left;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 0px;
}

.all-destra {
    display: block;
    float: right;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 20px;
}




.testo img {

    display: block;
    max-width: 100%;
}

.testo strong, .testo b {
    font-weight: bold;
}

.testo a {
    font-weight: 400;
}






.dropdown-menu .fas {

    color: #AAA;


}

.titolo {
    font-family: 'Roboto', sans-serif;
}



.sito {

    background-color: #E20513;
    padding-top: 10px;
    padding-bottom: 10px;


}

.sito p {
    margin-top: 0;
    margin-bottom: 0;

}




 

















.iframe-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}














.riga-social {
    padding-top: 15px;
    padding-bottom: 15px;
}

.social {
    display: grid;
    grid-template-rows: auto;
    gap: 10px;
    justify-content: center;
    align-content: center;
    grid-auto-flow: column;
}

.social a img {
    transition: width 2s;
}

.social a:hover img {
    filter: grayscale(80%);
}


.card-img-top-video {
    position: absolute;
    top: 10px;
    right: 0px;
    background-color: #0059b2;
    color: white;
    font-size: 14px;
    padding: 6px 12px 6px 12px;

    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    border-left: 1px solid #ffffff;

    border-bottom-left-radius: 25px;
    border-start-start-radius: 25px;

}

.card-img-top-video-play {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 75%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 4rem;
}

.card-img-top-video-play-big {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 75%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 5rem;
}





.text-blur {
    -webkit-filter: blur(4px);
    -moz-filter: blur(4px);
    -o-filter: blur(4px);
    -ms-filter: blur(4px);
}











.blocco-uno {
    background-color: #f8f9fa;
}
.blocco-due {
    background-color: #ffffff;
}
.blocco-tre {
    background-color: #f8f9fa;
}
.blocco-quattro {
    background-color: #ffffff;
}
.blocco-cinque {
    background-color: #f8f9fa;
}
.blocco-sei {
    background-color: #ffffff;
}
.blocco-sette {
    background-color: #f8f9fa;
}
.blocco-otto {
    background-color: #ffffff;
}
.blocco-nove {
    background-color: #f8f9fa;
}
.blocco-dieci {
    background-color: #ffffff;
}




.box-home-titolo {

}
.box-home-occhiello {
    font-size: 16px;
}










.disclaimer-immagini {
    font-size: 11px;
    margin: 0px;
    padding: 0px 10px 10px 0px;
}

.disclaimer-immagini a {

    color: rgba(255, 255, 255, 0.7) !important;

}



.ratio {
    margin-bottom: 16px;
}






.badge-newsletter .alert {
    background-color: #b7bcc2;
    color: black;
    font-size: 1.2rem;
}

.badge-newsletter .alert:hover {
    background-color: #a0a3a8;
}



.badge-newsletter .img-fluid {
    max-height: 32px;
}

.badge-newsletter .btn {
    border-radius: 1.25rem;
    background-color: white;
    padding: 5px 30px 5px 30px;
}












@media (max-width: 576px) {

    .titolo-testata {
        font-size: 22px !important;
    }

    .occhiello-testata {
        font-size: 14px !important;
    }

    .logo-testata {
        max-width: 300px !important;
    }


    #header .intro .py-5 {
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }


    h3,
    h4 {
        font-size: 16px;
    }


}










@media (min-width: 576px) {}


@media (min-width: 768px) {}


@media (min-width: 992px) {}


@media (min-width: 1200px) {}


@media (min-width: 1400px) {}