/*
Theme Name: RP Foto 2
Author: RiccardoPerini.it
Description: Tema del sito RiccardoPerini.it bootstrap 3.4.1.
Version: 2.0
*/


/*giallo #f3c041*/




/* Bootstrap requires a containing element to wrap site contents and house the grid system. You may choose one of two containers. Use .container for a responsive fixed width container. Use .container-fluid for a full width container. If using container-fluid, you may need to set a maximum width, so that the container will not spread to the entire viewport.*/
.container-fluid { max-width: 900px; }





* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}



body {
  font-family: sans-serif, Open Sans,roboto,arial,helvetica; 
  font-size: 18px;
  line-height: 1.42857143;
  color: #5f6368; /* #333;*/
  background-color: #fff;
   margin: 0;
}




.sottolinea-giallo {
text-decoration-line:underline;
text-decoration-color:#f3c041;
} 

.evidenzia-giallo {
background-color:#f3c041;
  padding: 0 4px;
  box-decoration-break: clone; /*serve per mantenere l’evidenziazione su più righe*/
  -webkit-box-decoration-break: clone;
} 


.evidenzia-giallino {
  background-color: #fbe755;
    padding: 0 4px;
  box-decoration-break: clone; /*serve per mantenere l’evidenziazione su più righe*/
  -webkit-box-decoration-break: clone;
}



hr.rigagialla {
  border-top: 2px solid #f3c041;
}

hr.rigachiara {
  border-top: 1px solid #f1f1f1;
}


.categoria h2 {
font-size: 18px!important;
margin-bottom:2px!important;
}

.evidenziato h2 {
background-color:#fced4e;
padding:2px;
}



/*FOOTER*/


.bs-docs-footer{padding-top:50px;padding-bottom:50px;margin-top:100px;color:#606368;text-align:center;background-color:#f8f9fa;font-size:0.9em;}
.bs-docs-footer{margin-top:0;border-top:0}
.bs-docs-footer a, .bs-docs-footer p {color:#606368; text-decoration:none;}
.bs-docs-footer a:hover, .bs-docs-footer a:active {color:#606368; text-decoration:underline;}
.bs-docs-footer-links{padding-left:0;margin-bottom:20px}
.bs-docs-footer-links li{display:inline-block}
.bs-docs-footer-links li+li{margin-left:15px}
@media (min-width:768px){.bs-docs-footer{text-align:left} .bs-docs-footer p{margin-bottom:0}}


/*ICONE SOCIAL*/

.social-section {
  display: flex;
  align-items: left;
  justify-content: left;
  gap: 35px;              /* maggiore spaziatura tra le icone */
  padding: 20px 0;
  /*background-color: #f9f9f9;*/
}

.social-label {
  font-weight: 600;
  color: #111;
  font-size: 16px;
  margin-right: 20px;     /* più spazio tra "Seguici" e la prima icona */
}

.social-section a {
  font-size: 24px;        /* leggermente più grandi */
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-section a:hover {
  color: #666;
}




/* SUPPORTO PAGINA CHI SIAMO */

.support-boxes {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap; /* per adattarsi su schermi piccoli */
  max-width: 875px;
  margin: 20px auto 40px auto;
  box-sizing: border-box;
}

.social-box {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 260px; /* così si adatta anche su tablet */
  background-color: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  margin-right: 20px; /* solo spazio a destra */
}


.social-box:last-child {
  margin-right: 0; /* Nessun margine a destra sull'ultimo box della riga */
}

.social-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-box-header {
  display: flex;
  flex-direction: column;  /* icona sopra, titolo sotto */
  align-items: center;
  margin-bottom: 12px;
}

.social-box-header i {
  font-size: 48px;   /* icone grandi */
  color: #f3c041;
  margin-bottom: 8px;
}

.social-box-header strong {
  font-size: 18px;
  color: #333;
}

.social-box-body {
  border-top: 1px solid #ddd;
  padding-top: 12px;
}

.social-box-body p {
  margin: 0 0 8px;
  font-size: 16px;
  color: #333;
}

.social-box-body a {
  text-decoration: none;
}

.social-box-body a:hover {
  text-decoration: underline;
}



@media screen and (max-width: 768px) {
  .support-boxes {
    flex-direction: column;
  }

  .social-box {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .social-box:last-child {
    margin-bottom: 0;
  }
}


/* --- Paginazione personalizzata --- */
.pagination > li > a,
.pagination > li > span {
  color: #333; /* testo */
  background-color: #fff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
  background-color: #f3c041;
  border-color: #f3c041;
  color: #000;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #f3c041;
  border-color: #f3c041;
  color: #000;
}

.pagination > li > a:focus {
  background-color: #f3c041;
  border-color: #f3c041;
  color: #000;
}






input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
a {
  color: #f3c041;
  text-decoration: underline;
}
a:hover,
a:focus {
  color: #f3c041;
  text-decoration: underline;
}
a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
figure {
  margin: 0;
}

.anchor{
  display: block;
  height: 52px; /*same height as header*/
  margin-top: -52px; /*same height as header*/
  visibility: hidden;
}

img {
  vertical-align: middle;
    display: block;
  max-width: 100%;
  height: auto;
}




.imgelenco {
  width: 400px;
  height: 260px;
  object-fit: cover;
}


.img-arrotondata {
  border-radius: 15px;
}


.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
	
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}


.wp-caption {
    background: #f1f1f1;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 3px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    margin:0;
    padding:4px 4px 5px;
}



hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
}


h1,
.h1 {
  font-size: 48px;
 letter-spacing: 0;
   line-height:1.2em;
     color: #202124;
     font-weight: 500;
     padding: 20px 0;
}


h2,
.h2 {
  font-size: 36px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2em;
    margin: initial;
    color: #202124;
    padding: 16px 0;
}

h2 .fasciagialla {
  color: #fff;
  background-color:#f3c041;
  padding:4px;
  }
  

h2 .testonero {
  color: #000;
  }
  
  
h3,
.h3 {
  font-size: 24px;
  line-height:1.3em;
    color: #202124;
}

h3 .fasciagialla {
  color: #fff;
  background-color:#f3c041;
  padding:4px;
  }
  
  
h4,
.h4 {
  font-size: 22px;
  line-height:1.2em;
  font-weight:700;
  color: #202124;
}

.post h4,
.post h4 a {
  color: #202124 !important;   /* testo sempre nero */
  text-decoration: none;    
}

.post h4 a:hover,
.post h4 a:focus {
  color: #333 !important;   /* leggermente più chiaro al passaggio mouse */
  text-decoration: underline; 
}


h4 .fasciagialla {
  color: #fff;
  background-color:#f3c041;
  padding:6px 8px;
  line-height:1em;
  }
  
.fasciagialla a:link, .fasciagialla a:hover, .fasciagialla a:active, .fasciagialla a:visited {
color: #fff;
text-decoration:underline;
}
  




/* box con bordo e leggera ombra */

.boxconombraleggera {
background-color: white; 
border: 1px solid #ddd; 
border-radius: 8px; 
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
padding: 15px; 
margin: 10px auto; 
gap: 12px; 
transition: box-shadow 0.3s ease; 
}


.boxconombraleggera:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}




     .rpcta-items {
      max-width: 900px;
      margin: 20px auto;
      padding: 20px;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      background: #fff;
      font-family: Arial, sans-serif;
    }

    .rpcta-item {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 20px;
    }

    .rpcta-item__column-image {
      flex: 1 1 300px;
    }

    .rpcta-item__image-container img {
      max-width: 100%;
      border-radius: 6px;
      display: block;
    }

    .rpcta-item__column-features {
      flex: 2 1 400px;
    }

    .editchoi {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 8px;
      display: block;
    }

    .ec-star {
      margin: 8px 0;
      display: block;
    }

    .rpcta-item__feature p {
      font-size: 15px;
      color: #333;
      line-height: 1.4;
    }

    .rpcta-item__button {
      display: inline-block;
      /*background: #d7308b; magenta*/
      background: #f5c656; /*giallo*/
      color: #fff;
      font-weight: bold;
      padding: 10px 18px;
      border-radius: 4px;
      text-decoration: none;
      transition: background 0.3s;
      margin-top: 12px;
    }

    .rpcta-item__button:hover {
      /* background: #b0006e; magenta più scuro */
      background: #e9bc52; /* giallo più scuro */
      color: #fff;
      text-decoration: underline;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .rpcta-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .rpcta-item__column-features {
        flex: 1 1 100%;
      }
      .ec-star {
        margin: 8px auto;
      }
    }

    
    
  
/* PROMO BOX GIALLO */  

.promo-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffee99; 
  padding: 30px;
  border-radius: 8px;
  gap: 30px;
}

.promo-text {
  flex: 1 1 50%;
  font-family: Arial, sans-serif;
  color: #333;
}

.promo-text h2 {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.promo-text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.promo-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.promo-btn a {
  color: #fff;
  text-decoration:none;
}


.promo-btn:hover {
  background-color: #333;
    color: #fff;
  text-decoration:underline;
}

.promo-image-wrapper {
  flex: 1 1 50%;
  text-align: right;
}

.promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .promo-box {
    flex-direction: column;
    text-align: center;
  }

  .promo-image-wrapper {
    order: 3; /* immagine in fondo */
    text-align: center;
    margin-top: 20px;
  }

  .promo-text {
    order: 1;
  }

  .promo-text h2 {
    font-size: 22px;
  }

  .promo-text p {
    font-size: 16px;
  }
}


  
  
  
/*INFO BOX */  
    
.info-box-giallo {
  background-color: #ffee99;
  border-left: 6px solid #f3c041;
  padding: 20px 25px;
  border-radius: 6px;
  color: #202124;
  font-size: 16px;
  line-height: 1.6;
  margin: 20px 0;
}



.info-box-contorno {
  background-color: #fff;
  border: 6px solid #ffee99;
  padding: 20px 25px;
  border-radius: 10px;
  color: #202124;
  font-size: 18px;
  line-height: 1.6;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  
}
    
    
/*EXCERPT*/
.post.excerpt {
overflow: hidden;
margin-bottom: 24px;
border-bottom: 1px solid #e2e2e2;
padding-bottom: 28px;} 

.wp-post-image {
float: left;
margin: 0 20px 0 0;
display: block;
max-width:100%;
height: auto;
} 

/*POST INFO */ 
.post-info {
display: block;
font-size: 16px;
color: #999;
margin: 0 0 3px 0;
width: 100%;
} 


/*RIDIMENSIONO FONT H DA MOBILE*/ 
@media screen and (max-width: 768px){
body {font-size: 17px;} 
.h1,h1{font-size:40px}
.h2,h2{font-size:30px}
.h3,h3{font-size:24px}
.h4,h4{font-size:20px} 
}



/*IMMAGINI A TUTTA LARGHEZZA DA MOBILE */ 
@media screen and (max-width: 768px){
.imgelenco {
    width: 100%;
    float: none;
    margin: 0 0 15px 0;
    display: block;
}

.alignright {
    width: 100%;
    float: none;
    margin: 0 0 15px 0;
    display: block;
}
}


.bs-docs-header,.bs-docs-masthead{position:relative;padding:30px 0;color:#f1f1f1;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.1);background-color:#f3c041;background-image:-webkit-gradient(linear,left top,left bottom,from(#f2af09),to(#f3c041));background-image:-webkit-linear-gradient(top,#f2af09 0,#f3c041 100%);background-image:-o-linear-gradient(top,#f3c041 0,#f2af09 100%);background-image:linear-gradient(to bottom,#f2af09 0,#f3c041 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2af09', endColorstr='#f3c041', GradientType=0);background-repeat:repeat-x}.bs-docs-masthead .bs-docs-booticon{margin:0 auto 30px}
.bs-docs-header{margin-bottom:20px;font-size:20px}
.bs-docs-header h1{margin-top:0;color:#fff}
.bs-docs-header p{color:#fff;margin-bottom:0;font-weight:300;line-height:1.4}
.bs-docs-header .container{position:relative}
@media (min-width:768px){.bs-docs-header{padding-top:60px;padding-bottom:60px;font-size:24px;text-align:left}
.bs-docs-header h1{font-size:60px;line-height:1}}
@media (min-width:992px){.bs-docs-header h1,.bs-docs-header p{color:#fff;/*margin-right:380px*/}}




#sintesi {
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
	background: #f9f9f9;
	border: 1px solid #d6d6d6;
	clear: both;
	display: block;
	margin: 30px 0 40px 0;
    padding: 30px;
	overflow: hidden;
	color:#666666;
}

#sintesi a {
	color:#666666;
}


.piccolo {font-size:0.8em;}








/* personalizzazioni NAVBAR */

/* Compensazione per il body, così il contenuto non finisce sotto la navbar */
body {
  padding-top: 50px; /* deve corrispondere all’altezza navbar */
}


/* --- Navbar Container --- */
.navbar {
  min-height: 70px !important; /* altezza navbar */
  margin-bottom: 20px;
  border: none; /* rimuovo bordo trasparente inutile */
  border-radius: 0;
  font-size:16px;
}


/* Logo nella navbar: massimo 50px per restare allineato */
.navbar-brand img {
max-height: 50px;
  width: auto;
  margin-top: -10px; /* centra verticalmente */
}

@media screen and (max-width: 768px){
.navbar-brand img {
padding-left:15px;
  margin-top: -5px;
}
}



/* --- Navbar Brand --- */
.navbar>.container .navbar-brand, 
.navbar>.container-fluid .navbar-brand {
  margin-left: 0;
}


.navbar-fixed-top .navbar-brand {
  padding: 25px 20px 0 0;
}


.navbar-fixed-top {
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3); /* Ombra in basso */
}



/* --- Toggle per mobile --- */
.navbar-toggle {
  float: right;
  margin-top: 18px !important;
  margin-right: 15px !important;
  margin-bottom: 8px;
  background: transparent;
  border: 1px solid transparent;
}
.navbar-inverse .navbar-toggle {
  border-color: #777 !important;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #777 !important;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #fff !important;
}



/* --- Link navbar --- */
.navbar-nav > li > a {
  padding-top: 20px !important;  /* più centrato verticalmente */
  padding-bottom: 20px !important;
  color: #777 !important;
  text-decoration: none;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #333 !important;
  background-color: transparent;
}




/* --- Stato attivo --- */
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #333 !important;
  background-color: #f1f1f1 !important;
}

/* --- Dropdown aperto --- */
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #333 !important;
  background-color: #f1f1f1 !important;
}

/* --- Colori generali --- */
/* colore della navbar */


.navbar-inverse {
  background-color: #fff;
  border-color: #fff;
}
.navbar-inverse .navbar-brand {
  color: #777;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #333;
  background-color: transparent;
}
.navbar-inverse .navbar-text {
  color: #777;
}
.navbar-inverse .navbar-nav > li > a {
  color: #777;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #333;
  background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #333;
  background-color: #080808;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #333;
  background-color: transparent;
}
.navbar-inverse .navbar-toggle {
  border-color: #777;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #fff;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #777;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #777;
}

/*colore della voce di menu attiva che ha il sottomenu*/
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #333;
  background-color: #f1f1f1;
}



/* --- Search Form --- */
.navbar-form {
  padding: 12px 0 0 15px; /* ridotto padding verticale */
  margin: 0;
  border: none;
  box-shadow: none;
  height: 70px;
  width: 200px; /*larghezza del form di ricerca */
}

@media screen and (max-width: 768px){
.navbar-form {
  padding: 12px 0 0 0; 
  width: 100%; }
}


.navbar-form .form-control:focus {
  border-color: #777;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 0 6px rgba(0,0,0,.3);
  outline: none;
}
.navbar-form .input-group {
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
}
.navbar-form .input-group .form-control {
  border: none;
  box-shadow: none;
}
.navbar-form .input-group .btn {
  border: none;
  background: #fff;
  color: #777;
}
.navbar-form .input-group .btn:hover,
.navbar-form .input-group .btn:focus,
.navbar-form .input-group .btn:active {
  background: #fff !important;
  color: #777 !important;
  box-shadow: none !important;
}
/* focus su tutto il box */
.navbar-form .input-group:focus-within {
  border-color: #666;
  box-shadow: 0 0 5px rgba(102, 102, 102, 0.7);
}



.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size:16px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}
.dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #777;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #333;
  text-decoration: none;
  background-color: #f5f5f5;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #333;
  text-decoration: none;
  background-color: #f5f5f5;
  outline: 0;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  color: #777;
}
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #9d9d9d;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
  color: #333;
  background-color: #f1f1f1;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
  color: #333;
  background-color: #f1f1f1;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
  color: #333;
  background-color: #f1f1f1;
  }
}
.navbar-inverse .navbar-link {
  color: #9d9d9d;
}
.navbar-inverse .navbar-link:hover {
  color: #fff;
}
.navbar-inverse .btn-link {
  color: #9d9d9d;
}
.navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link:focus {
  color: #fff;
}
.navbar-inverse .btn-link[disabled]:hover,
fieldset[disabled] .navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link[disabled]:focus,
fieldset[disabled] .navbar-inverse .btn-link:focus {
  color: #444;
}



/* --- Search Form fuori dalla navbar --- */
.search-form-outside {
  margin: 25px 0;
  width: 100%;
  max-width: 550px; /* più largo rispetto alla navbar */
  text-align: left;
  border: none;
  box-shadow: none;
}

/* eredita la stessa struttura grafica */
.search-form-outside .input-group {
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.search-form-outside .input-group:focus-within {
  border-color: #666;
  box-shadow: 0 0 5px rgba(102, 102, 102, 0.7);
}

.search-form-outside .form-control {
  border: none;
  box-shadow: none;
  height: 38px;
  padding: 6px 14px;
  font-size: 15px;
}

.search-form-outside .form-control:focus {
  border-color: #777;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 0 6px rgba(0,0,0,.3);
  outline: none;
}

.search-form-outside .btn {
  border: none;
  background: #fff;
  color: #777;
  padding: 8px 14px;
  transition: all 0.2s ease;
}

.search-form-outside .btn:hover,
.search-form-outside .btn:focus,
.search-form-outside .btn:active {
  background: #fff !important;
  color: #777 !important;
  box-shadow: none !important;
}

/* responsive */
@media screen and (max-width: 768px) {
  .search-form-outside {
    max-width: 100%;
  }
}







/*CATEGORIE IN HOME*/ 


.categorie-text-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* allinea a sinistra */
  max-width: 100%!important;
  margin: 0 auto 30px auto;
}

.categoria-testo-box {
  width: calc(25% - 15px); /* quattro per riga */
  height: 50px;
  margin: 0 15px 15px 0;
  background-color: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.categoria-testo-box a {
  display: flex;
  align-items: center; /* centra icona + testo verticalmente */
  justify-content: flex-start;
  height: 100%;
  padding: 0 14px;
  color: #444;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
}



.categoria-testo-box .glyphicon {
  margin-right: 10px;
  font-size: 20px; /* più grande e ben visibile */
  line-height: 1; /* evita che venga spinta in basso */
  color: #444; /* f3c041 giallo */
  flex-shrink: 0; /* l'icona non si riduce mai */
}

.categoria-testo-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.20);
  /*border-color: #999;  bordo più evidente all’hover */
}

@media (max-width: 768px) {
  .categoria-testo-box {
    width: calc(50% - 15px); /* due per riga su tablet/mobile */
  }
}




/* se voglio metterne uno per riga su schermi piccoli 
@media (max-width: 480px) {
  .categoria-testo-box {
    width: 100%;  
    margin-right: 0;
  }
}
*/











/* commenti new */

/* Contenitore generale dei commenti */
.comments-area {
  margin-top: 40px;
  font-family: "Open Sans", Arial, sans-serif;
}

/* Titolo "6 Commenti" */
.comments-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

/* Singolo commento */
.comment-body {
  margin-bottom: 25px;
}

.media-body-wrap {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* Header del commento (nome + data) */
.media-body-wrap .panel-heading {
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  padding: 10px 15px;
}

.media-body-wrap .media-heading {
  font-size: 16px;
  color: #666;
}

.media-body-wrap .media-heading strong {
  font-weight: 600;
  color: #222;
}

/* Contenuto del commento */
.comment-content {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  padding: 15px;
}

/* Link "Rispondi" */
.comment-reply-link {
  font-size: 14px;
  margin-left: 10px;
  color: #666;
}
.comment-reply-link:hover {
  color: #000;
  text-decoration: none;
}

/* Form dei commenti */
#respond {
  margin-top: 40px;
}

#respond h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

/* Textarea */
#respond textarea.form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: none;
  padding: 12px 15px;
  resize: vertical;
  transition: border-color 0.3s;
  font-size:16px;
}
#respond textarea.form-control:focus {
  border-color: #666;
  outline: none;
}

/* Campi nome/email */
#respond input.form-control {
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: none;
  padding: 10px 12px;
  transition: border-color 0.3s;
  margin-bottom: 10px;
}
#respond input.form-control:focus {
  border-color: #666;
  outline: none;
}

/* Bottone submit */
#commentsubmit.btn {
  background: #666;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  color: #fff;
  transition: background 0.3s;
}
#commentsubmit.btn:hover {
  background: #444;
}



#comments ul, #comments ol {list-style-type:none;}


.well {
  padding: 0px 30px 25px 30px !important;
  margin-bottom: 30px;
  background-color: #f9f9f9;   /* sfondo più chiaro e moderno */
  border: 1px solid #ddd;      /* bordo leggero */
  border-radius: 12px;         /* angoli meno estremi */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ombra soft */
}

/* Titolo dentro il box */
.well h3 {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}






/* STAMPA */
@media print {
  
  .a-categoria, .a-sottotitolo, .a-finearticolo, .cookie-notice-container  {display: none !important;}  
  
  a,
  a:visited {
    text-decoration: underline;
  }


  pre,
  blockquote {
    border: 1px solid #999;

    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  select {
    background: #fff !important;
  }
  .navbar {
    display: none;
  }
  .btn > .caret,
  .dropup > .btn > .caret {
    border-top-color: #000 !important;
  }
  .label {
    border: 1px solid #000;
  }
  .table {
    border-collapse: collapse !important;
  }
  .table td,
  .table th {
    background-color: #fff !important;
  }
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #ddd !important;
  }
}




/* ADV */

.a-categoria  {
text-align:left;
width:730px;
max-width:100%!important;
}

.a-sottotitolo {
text-align:left;
width:730px;
max-width:100%!important;
}

.a-finearticolo  {
text-align:left;
max-width:465px;
}
