/*
Theme Name: Soluzione Informatica PA
Theme URI: https://www.soluzioneinformatica.it
Author: Soluzione Informatica S.r.l.
Author URI: https://www.soluzioneinformatica.it
Description: Tema child utilizzabile per la customizzazione.
Version: 1.0.0
License: GNU AFFERO GENERAL PUBLIC LICENSE v3 or later
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: design-italia
Text Domain: italiawp-child
*/
/* stylelint-disable selector-list-comma-newline-after */

.blog-header {
  line-height: 1;
  border-bottom: 1px solid #e5e5e5;
}

.blog-header-logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.blog-header-logo:hover {
  text-decoration: none;
}

/*h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}*/

.display-4 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
}

.card-img-right {
  height: 100%;
  border-radius: 0 3px 3px 0;
}

.flex-auto {
  -ms-flex: 0 0 auto;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
}

.h-250 { height: 250px; }
@media (min-width: 768px) {
  .h-md-250 { height: 250px; }
}

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

/*
 * Blog name and description
 */
.blog-title {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 400;
}
.blog-description {
  font-size: 1.1rem;
  color: #999;
}

@media (min-width: 40em) {
  .blog-title {
    font-size: 3.5rem;
  }
}

/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}
.blog-pagination > .btn {
  border-radius: 2rem;
}

/*
 * Blog posts
 */
.blog-post {
  margin-bottom: 4rem;
}
.blog-post-title {
  margin-bottom: .25rem;
  font-size: 2.5rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #999;
}

/*
 * Footer
 */
.blog-footer {
  padding: 2.5rem 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: .05rem solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}

.dashicons-solinfo {
  vertical-align: baseline !important;
}

.custom-icon-logo {
  width: 200px !important;
}

.show-menu-main:after {
    color: black !important;
}

.category-news {
    min-height: 620px;
}
#nascondi-titolo-pagina {
    display:none;
}
.entry-content [href$=".pdf"]:after, 
.entry-content [href$=".doc"]:after, 
.entry-content [href$=".docs"]:after, 
.entry-content [href$=".xls"]:after, 
.entry-content [href$=".xlsx"]:after,
.entry-content [href$=".zip"]:after {
	display:none !important;
}

.it-search-wrapper {
    border: 1px solid green;
    color: green;
}

.it-header-wrapper .searchform input[type="text"] {
    color:green !important;
}
.widget_category_mansory .card-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.widget_category_mansory .card-columns article.card {
  flex: 0 0 calc(33.333% - 1rem); /* 3 per riga */
  box-sizing: border-box;
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.11); 
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.11);
  border-radius: 8px;
}
@media (max-width: 768px) {
  .widget_category_mansory .card-columns article.card {
    flex: 0 0 100%;
  }
}

/*GESTIONE MENU*/
/* Sfondo bianco del menu */
.it-header-navbar-wrapper {
    background-color: #ffffff !important;
}

/* Testo verde dei link del menu */
.it-header-navbar-wrapper .nav > li > a,
.it-header-navbar-wrapper .menu-item > a {
    color: #007a33 !important; /* verde istituzionale Regione Lombardia */
}

/* Testo verde più scuro al passaggio del mouse */
.it-header-navbar-wrapper .nav > li > a:hover,
.it-header-navbar-wrapper .menu-item > a:hover {
    color: #005822 !important;
}

/* Sfondo bianco anche per i sotto-menu */
.it-header-navbar-wrapper .sub-menu {
    background-color: #ffffff !important;
}

/* Testo verde nei sotto-menu */
.it-header-navbar-wrapper .sub-menu a {
    color: #007a33 !important;
}

/* Testo verde scuro nei sotto-menu al passaggio del mouse */
.it-header-navbar-wrapper .sub-menu a:hover {
    color: #005822 !important;
}
/* Mostra tutti i sotto-menu nel menu mobile */
@media (max-width: 991px) {
  .it-header-navbar-wrapper .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
  }

  /* Rimuove eventuali icone di apertura/chiusura */
  .it-header-navbar-wrapper .menu-item-has-children > a::after {
    display: none !important;
  }
}