.contentAvvisiElenco {
min-height: 100px;
    max-height: 140px;
    overflow: hidden;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 0.5rem;
}


#sidebar-avvisi .card-body {
    padding-bottom: 0.1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
}

#avvisi-dettaglio h2 {
    font-size: 1.2rem;
    color: black;
}


#AltreNotizie .font-weight-bold {
    font-weight: 700 !important;
    font-size: 0.8rem;
}

  #avvisi-dettaglio h2 {
    font-size: 1.2rem;
}

h4, .h4 {
    font-size: 0.9rem;
}

.textSizeBarAvvisi {
    color: #596575;
    font-size: 0.9rem;
}
  
   .divider {
   margin-top: 0.5rem;
   margin-bottom: 1rem;
   border: 0;
   border-top: 2px solid #2e5aac;
   }


   #avvisi-scuola .btn-info {
   color: #FFF;
   background-color: #2e5aac;
   border-color: #2e5aac;
   box-shadow: none;
   margin-top: -5px;
   padding: 5px 10px 5px 10px;
   border-radius: 2px;
   }
   
   #avvisi-scuola .btn-info:hover {
   color: #FFF;
   background-color: #2751a0;
   border-color: #2e5aac;
   box-shadow: none;
   margin-top: -5px;
   padding: 5px 10px 5px 10px;
   border-radius: 2px;
   }
   .textContainerAvvisi {
   min-height:100px;
   }
   
   .card-body-title {
   padding-bottom: 0.5rem;
   padding-left: 0.5rem;
   padding-right: 0.5rem;
   padding-top: 0.5rem;
   }
   
   #avvisi-scuola h2 {
    display: table;
    height: 90px;
    width: 500px;
    display: table-cell;
    vertical-align: middle;
    background-color: #f8f8f8;
    margin-bottom: 15px!important;
    font-weight: 600;
    font-size: 1rem;
    line-height: inherit;
}

   #avvisi-dettaglio img {
   vertical-align: middle;
   width: 80%;
   border-radius: 2px;
   }


   #avvisi-scuola img {
   vertical-align: middle;
   width: 50%;
   border-radius: 2px;
   margin-top: 15px;
   }
   
   .linkVisualizzaAvvisi {
    text-align: center !important;
    margin-top: -5px;
    margin-bottom: 15px;
    margin-bottom: 14px;
   }

.linkVisualizzaAvvisi {
    text-align: center !important;
    margin-top: -5px;
    margin-bottom: 15px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
   
   
   @media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1)  { 
   
   #avvisi-scuola h2 {
    display: table;
    height: 95px;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    background-color: #f8f8f8;
    margin-bottom: 15px!important;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: inherit;
}

.card-body {
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
}

.textContainerAvvisi {
    min-height: 100px;
    font-size: 0.8rem;
}

.date-news {
    font-size: .7rem;
    font-weight: 600;
}

#avvisi-scuola img {
    vertical-align: middle;
    width: 100%;
    border-radius: 2px;
    margin-top: 15px;
}

#mobile h2, .h2 {
    font-size: 1rem;
}
   
    
.card-filter {
    background: #f7f7f7;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
    border-radius: 4px;
    box-shadow: 0 1px 10px -4px rgba(0,0,0,0.6);
    display: block;
    margin-bottom: 1.25rem;
    position: relative;
    padding-top: 0px;
    padding-top: 10px;
    margin-top: -10px;
}

.circle-avvisi {
    width: 20px;
    height: 20;
    border-radius: 100px;
    padding: 3px 4.5px;
    background-image: linear-gradient(-45deg,#0976bc 0%,#273b7a 88%);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
    color: #fff;
    margin-right: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 12px;
    margin-top: 18px!important;}


#filter .card-body {
    padding-bottom: 0.9rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

#filter .btn-info {
    color: #FFF;
    background-color: #2e5aac;
    border-color: #2e5aac;
    box-shadow: none;
    border-radius: 0;
    display: block;
    margin: 0 auto;
    width: 100px;
    font-size: 0.9rem;
    margin: 0 auto;
}
#header-news h2 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
    margin-top: 6px;
    margin-bottom: 20px;
    text-align: left;
}
  h2 {
  font-size:1rem;
  }
  
  
}


@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1)   {
  
  h2 {
  font-size:1rem;
  }
  
  .circle-avvisi {
    width: 20px;
    height: 20;
    border-radius: 100px;
    padding: 4.6px 7.5px;
    background-image: linear-gradient(-45deg,#0976bc 0%,#273b7a 88%);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
    color: #fff;
    margin-right: 14px;
    font-size: 18px;
    font-weight: 700;
    margin-left: 28px;
}


  
#avvisi-scuola h2 {
    display: table;
    height: 100px!important;
    width: 500px;
    display: table-cell;
    vertical-align: middle;
    background-color: #f8f8f8;
    margin-bottom: 15px!important;
    font-weight: 600;
    font-size: 0.9rem;
    }


#avvisi-scuola img {
    vertical-align: middle;
    width: 100%;
    border-radius: 2px;
    margin-top: 15px;
}

#mobile h2, .h2 {
    font-size: 1rem;
}

#header-news h2 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
    margin-top: 6px;
    margin-bottom: 20px;
    text-align: left;
}

.textContainerAvvisi {
    min-height: 100px;
    font-size: 0.9rem;
}
  
  }