.badge.bg-danger.featured-article-badge {
    display: none; 
}

#sp-main-body {
    padding: 30px 0; 
}
#sp-header.header-sticky ~ section#sp-main-body {
    padding-top: 20px;
}
#sp-header.full-header {
  padding-left: 0px;
  padding-right: 0px;
}
#sp-custom-slide {
    padding-top: 3px;
}
@media screen and (max-width: 1082px) {
   #sp-logo.has-border {
        padding-right: 5px !important;
          }
}
/* css per posizione content-bottom */
.sp-module-content-bottom {
  border-top: solid 1px lightgray;
  padding-top: 20px;
  margin-top: 40px;
}
/* == CSS MINIFRONTPAGE NEWS */
/* css card di minifrontpage news home page versione desktop! */
.mfp_mid_110.mfp_default_skin_card .mfp_default_item .mfp_default_title a {
  font-weight: 500 !important;
  font-size: .9rem !important;
}
.mfp_mid_110.mfp_default_skin_card .mfp_default_item .mfp_default_title {
  line-height: 1rem;
}
.mfp_mid_110.mfp_default_skin_card .mfp_default_item .mfp_date {
  font-size: .7em;
}
.mfp_mid_110.mfp_default_skin_card .mfp_default_item .mfp_thumb_pos_top {
  margin: 0;
}
/* css card di minifrontpage news home page versione mobile! */
.mfp_mid_112.mfp_default_skin_card .mfp_default_item .mfp_default_title a {
  font-weight: 500 !important;
  font-size: 1.1rem !important;
}
.mfp_mid_112.mfp_default_skin_card .mfp_default_item .mfp_default_title {
  line-height: 1.3rem;
}
.mfp_mid_112.mfp_default_skin_card .mfp_default_item .mfp_date {
  font-size: .7em;
}


/* css card di minifrontpage news home page versione desktop! */
.mfp_mid_115.mfp_default_skin_card .mfp_default_item .mfp_default_title a {
  font-weight: 500 !important;
  font-size: .9rem !important;
}
.mfp_mid_115.mfp_default_skin_card .mfp_default_item .mfp_default_title {
  line-height: 1rem;
}
.mfp_mid_115.mfp_default_skin_card .mfp_default_item .mfp_date {
  font-size: .7em;
}
.mfp_mid_115.mfp_default_skin_card .mfp_default_item .mfp_thumb_pos_top {
  margin: 0;
}
/* css card di minifrontpage news home page versione mobile! */
.mfp_mid_117.mfp_default_skin_card .mfp_default_item .mfp_default_title a {
  font-weight: 500 !important;
  font-size: 1.1rem !important;
}
.mfp_mid_117.mfp_default_skin_card .mfp_default_item .mfp_default_title {
  line-height: 1.3rem;
}
.mfp_mid_117.mfp_default_skin_card .mfp_default_item .mfp_date {
  font-size: .7em;
}
/* bordo a mouse over sulle immagini delle card */
.mfp_default_skin_card .mfp_default_item .mfp_thumb_pos_top img:hover {
  /*border: 1px solid darkgray;*/
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
/* == CSS MINIFRONTPAGE NEWS */

/* == CSS MODAL SEARCH IN HEADER == */
/* css modal BS5 */
.modal {
    z-index: 99999 !important;
}
.modal-title {
    margin-bottom: 0;
    line-height: .4;
}
.modal-body {
  display: flex;
  justify-content: center;
}
.modal-footer {
    justify-content: center;
    padding: .5rem;
}
.modal-backdrop {
   background-color: gray;
   opacity: .85 !important;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 90;
   width: 100vw;
   height: 100vh;
   background-color: #000;
}
/* fine css modal BS5 */

.custommodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

/* Modal Content/Box */
.custommodal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  border-radius: .25em;
  /* width: 80%;  Could be more or less, depending on screen size */
  max-width: 500px;
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.8s;
  animation-name: fadeIn;
  animation-duration: 0.8s;
}
/* div modulo search */
#searchform {
  margin-top: 30px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
}
/* allargato il campo di ricerca */
#mod-finder-searchword116 {
  width: 300px;
}

/* div con logo e close button */
#logoclose {
  border-bottom: solid 1px lightgray;
  padding-bottom: 10px;
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: 400;
  border: solid 1px #aaa;
  padding: 0px 11px;
  border-radius: .25em;
  margin-top: 3px;
}

.close:hover,
.close:focus {
  color: gray;
  text-decoration: none;
  cursor: pointer;
  border-color: gray;
  background-color: #f4f4f4;
}
/* colore bottone cerca nel form */
#modalCustomsearchITA .btn-primary {
  background-color: transparent !important;
  color: gray;
  border: 1px solid #ced4da !important;
}
#modalCustomsearchITA .btn-primary:hover {
  background-color: #f4f4f4 !important;
}

/* fine css custom modal in header php */
/* css bottone icona cerca */
.btn-outline-secondary {
  border-color: transparent;
}
.btn-outline-secondary:hover {
  background-color: transparent;
  border-color: transparent;
  color: gray;
}
@media screen and (max-width: 991px) {
  .hiddensearch {
    display: none;
  }
}
@media screen and (max-width: 1031px) {
   #myBtn {
    padding: 0 !important; 
}
}
@media screen and (min-width: 1045px) {
   #myBtn {
    margin: 0px 10px 0px 0px !important; 
}
}
 #myBtn {
    border: solid 1px #858585; 
}
@media screen and (max-width: 1035px) {
   #myBtn {
    border: solid 0px #858585; 
}
}
/* fine css bottone icona cerca */
