#sp-footer2 i{
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%; 
  text-align: center;
  color: #0f298d;
  line-height: 40px;
  font-size: 16px;
}
#sp-slider-bar{
position:relative;
}

#sp-slider{

  height: calc(100vh - 107px);
 
}
#sp-slider img{
  width: 800px;
position: absolute;
right: -5%;
bottom: -30%;
}
#sp-slider .home {
    position: absolute;
    top: 25%;
left: 15%;
max-width: 40%;
  z-index:9;
}

#sp-slider .home p {
    font-size: 20px;
    line-height: 32px;
  max-width: 650px;
}
#sp-slider .home h1{
  font-size: 3.85vw;/* 85px;*/
  font-weight: 600;

}
#scroll_down {
    position: absolute;
bottom: 50px;
color: #fff;
left: 15%;
background: #0f298d;
width: 70px;
height: 70px;
border-radius: 50%;
line-height: 70px;
text-align: center;
 font-size: 16px;
}

#sp-emcs {
  background: #333;
  padding: 60px 0;
}
.btn.btn-secondary {
  line-height: 28px;
  border: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 6px 20px;
  text-transform: uppercase;
}
.btn.btn-secondary:hover {
  border: 2px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #333;
}

#sp-uno {
  background: linear-gradient( 180deg , #0f298d 0%, #0f298d 70%, #fff 70%);
}
#sp-uno1{
z-index: 9;
}
#sp-uno2 {
  padding: 20% 5%;
}
#sp-uno2 p {
  font-size: 22px;
  line-height: 32px;
  max-width: 80%;
}
#sp-uno2 a {
  color: #fff;
  text-decoration: underline;
}
#sp-due{
  background: url("images/Back-emc3.svg") no-repeat ;
    background-size: 900px;
    background-position: -50% -200%;

}
#sp-due1 {
  padding:5%;
}
#sp-due1 p{
  font-size: 16px;
line-height: 30px;
}

.entry-video.video-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.entry-video.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#sp-main-body {
  padding: 30px 0;
}
.sp-megamenu-parent > li:last-child > a {
  padding: 0px 15px;
}
.sp-menu-item a.contact-border  {
    line-height: 40px;
    border: 2px solid;
    border-radius: 30px;
    margin-left: 15px;
}
.sp-menu-item a.contact-border:hover {
  background: #0f298d;
  border: 2px solid #0f298d;
  color:#fff!important;
}
@media (max-width: 1250px) {
  #sp-slider img {
    width: 400px;
    bottom: -10%;
  }
}
@media (max-width: 768px) {
  #sp-uno {
    background: #0f298d;
  }
}

.entry-quote {
  position: relative;
  padding: 80px 50px;
  color: rgba(255,255,255,0.9);
  background: #0f298d;
}
/*.entry-quote::before {
  position: absolute;
  left: -40px;
  font-size: 300px;
  content: "\f10e";
  font-family: "Font Awesome 6 Free";
  transform: rotate(15deg);
  top: -75px;
  color: rgba(255,255,255,0.15);
}*/
.entry-quote blockquote {
  padding: 0;
  margin: 0;
  font-size: 16px;
  border: none;
}
blockquote .small::before, blockquote footer::before, blockquote small::before {
  content: '\2014 \00A0';
}
.entry-quote blockquote small {
  color: #FFF;
  font-weight: 600;
  font-size: 20px;
  text-align: right;
  font-style: italic;
  display: block;
}

.article-details {
  margin-bottom: 50px;
}


/* ============
   CONTACT FORM
   ============ */

/* CONTENITORE */
.com-contact .contact-form {
    width: 100%;
    margin-top: 30px;
}

/* FORM */
.com-contact #contact-form {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

/* FIELDSET */
.com-contact #contact-form fieldset {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

/* LEGENDA */
.com-contact #contact-form legend {
    grid-column: 1 / -1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* RESET GRUPPI */
.com-contact #contact-form fieldset > .control-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* TESTO CAMPI OBBLIGATORI */
.com-contact #contact-form .field-spacer {
    grid-column: 1 / -1;
    margin-bottom: -10px !important;
}

/* ETICHETTE */
.com-contact #contact-form .control-group > label {
    display: block;
    width: 100%;
    margin: 0 0 9px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* INPUT */
.com-contact #contact-form input.form-control {
    width: 100% !important;
    max-width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 12px 15px;
    background: #f7f8fa;
    border: 1px solid #dedfe3;
    border-radius: 7px;
    box-shadow: none;
    font-size: 15px;
}

/* MESSAGGIO */
.com-contact #contact-form fieldset > .control-group:has(textarea) {
    grid-column: 1 / -1;
}

.com-contact #contact-form textarea.form-control {
    width: 100% !important;
    max-width: 100%;
    min-height: 180px;
    box-sizing: border-box;
    padding: 15px;
    background: #f7f8fa;
    border: 1px solid #dedfe3;
    border-radius: 7px;
    box-shadow: none;
    font-size: 15px;
}

/* FOCUS */
.com-contact #contact-form .form-control:focus {
    background: #fff;
    border-color: #888;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

/* PULSANTE */
.com-contact #contact-form > .control-group {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px !important;
}

.com-contact #contact-form .controls {
    margin: 0;
    padding: 0;
}

.com-contact #contact-form button[type="submit"] {
  line-height: 28px;
  border: 2px solid #0f298d;
  border-radius: 0;
  background:#fff;
  color: #0f298d;
  padding: 6px 20px;
}

.com-contact #contact-form button[type="submit"]:hover {
    background: #0f298d;
    color: #fff;
}

/* TABLET */
@media (max-width: 767px) {
    .com-contact #contact-form fieldset {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* SMARTPHONE */
@media (max-width: 520px) {
    .com-contact #contact-form fieldset {
        grid-template-columns: 1fr;
    }

    .com-contact #contact-form fieldset > .control-group:has(textarea) {
        grid-column: 1;
    }
}




/* =====================================
   TITOLI PAGINA CONTATTI
   ===================================== */

/* TITOLO PRINCIPALE */
.com-contact .page-header {
    border: none;
    margin: 0 0 35px;
    padding: 0;
}

.com-contact .page-header h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin: 0;
    padding: 0 0 18px;
    position: relative;
}

.com-contact .page-header h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* TITOLI SECONDARI */
.com-contact h2 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    color: #292929;
    margin: 0 0 22px;
    padding: 0;
}

/* TITOLO MODULO */
.com-contact > h2 {
    margin-top: 45px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

/* TITOLO CONTATTO */
.com-contact__container h2 {
    font-size: 19px;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 767px) {
    .com-contact .page-header h1 {
        font-size: 30px;
    }

    .com-contact h2 {
        font-size: 19px;
    }
}







/* =======
   PRIVACY
   ======= */

/* GRUPPO PRIVACY */
.com-contact #contact-form .control-group:has(#jform_consentbox) {
    grid-column: 1 / -1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}

/* ETICHETTA NOTA PRIVACY */
.com-contact #contact-form #jform_consentbox-lbl {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* FIELDSET PRIVACY */
.com-contact #contact-form fieldset#jform_consentbox {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 16px 20px !important;
    border: 1px solid #e2e5e9 !important;
    border-radius: 8px;
    background: #f7f8fa;
}

/* CONTENITORE CHECKBOX */
.com-contact #contact-form #jform_consentbox .form-check {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px;
}

/* CHECKBOX */
.com-contact #contact-form #jform_consentbox .form-check-input {
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px;
    margin: 3px 0 0 !important;
}

/* TESTO PRIVACY */
.com-contact #contact-form #jform_consentbox .form-check-label {
    display: block !important;
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    white-space: normal !important;
}

/* =============
   PUBBLICAZIONI
   ============= */


img.libri-img {
    height: 350px;
    margin: 0 auto;
    /*box-shadow: 0px 6px 13px 0px #cccccc;*/
  -moz-box-shadow: 11px 12px 14px 0px #ccc;
    -webkit-box-shadow: 11px 12px 14px 0px #ccc;
    box-shadow: 11px 12px 14px 0px #ccc;
}

ul.libri-slide .content {
        font-size: 18px;
    padding-bottom: 40px;
    padding-top: 40px;

}
.article-list .article .readmore a{
      line-height: 28px;
  border: 2px solid #0f298d;
  border-radius: 0;
  background:#fff;
  color: #0f298d;
  padding: 10px 15px; 
}
.article-list .article .readmore a:hover {
    background: #0f298d;
    color: #fff;
}
div.cc-window, span.cc-cookie-settings-toggler {
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
}
div.cc-window.cc-floating {
  max-width: 480px !important;
  opacity: 0.95;
}
.cc-btn {
  border-radius: 46px !important;
}