/* Add your css code here */
@import url('font-awesome.4.7.0.css');


  .fa {
    
font-family: FontAwesome !important;
 }


#main-container {

   background-image: url("/themes/solo/solo_progetti/css/sfondopattern.webp"); 
   
   background-attachment: fixed;
}


.main-container .main-box {
  --r-bg: #fff0;
}



#sidebar-box-main .region-inner {
    background-color: #e4e3e2c4;
}



#sidebar-box-main .view .node--view-mode-teaser .field--type-entity-reference a {
  background-color: #0fcd36a1;
  padding: 0.4%;
  line-height: 3em;
  border: #05512a52 ridge 3px;
  color: #064b11e3;
  font-weight: bold;
}

#sidebar-box-main .solo-clear.views-row {
  background-color: #97a79657;
  padding: 2%;
  margin: 3%;
  border-top: 4px double #36b768;
  border-bottom: 4px double #b77936;
}

#sidebar-box-main .solo-clear.views-row h3 {
  font-weight: inherit;
  font-size: 1.5em;
}

#sidebar-box-main h1.page-title-text {
border: 4px #ea420ead;
   
  text-shadow: 2px 2px #3d380282;
  border-style: dashed;
  background-color: #76797b3d;
  color: #ef2f1cd6;
  font-weight: normal;
}

#sidebar-box-main .page-wrapper ul.tabs.secondary li a:hover, .page-wrapper ul.tabs.primary li a:hover {
  background-color: #f93c02d1;
  color: #ffe300f2;
}

#block-solo-progetti-breadcrumbs ul.breadcrumb-menu {
 
  padding: 5px;
  background-color: #acb6b4a6;

}

#block-solo-progetti-breadcrumbs ul.breadcrumb-menu li {
  background-color: #fff0;
}

#block-solo-progetti-breadcrumbs ul.breadcrumb-menu li > span {
  
  color: #0c3c23;
  font-size: 1.2em;
}

#block-solo-progetti-breadcrumbs .btn-animate {
   color: #0c3c23 !important;
  font-size: 1.2em;
}


#sidebar-box-first ::placeholder {
  color: #0d1113cc;
  opacity: 0.7;
  font-size: inherit;
}

#sidebar-box-first .solo-search-block-form input {
  padding: 10px%;
  background-color: #0000002e !important;
  font-size: smaller;
  font-weight: bold;
}

#sidebar-box-first .solo-search-block-form .form-actions {
  
  background-color: #d43a0a78;
  
}

#sidebar-box-first .solo-clear.solo-menu.navigation-sidebar.navigation-sidebar-template.navigation-sidebar-click span {
  background-color: #d663635c;
  color: #000000bd;
  font-weight: bold;
  font-size: 0.8em;
}



#sidebar-box-first {
  
  background-image: url("/themes/solo/solo_progetti/css/righello.webp");
  background-size: 100% auto;
  background-repeat: repeat-x;
  min-width: 242px;
  
}

#sidebar-box-first .region-inner {
  background-color: transparent;
}

#sidebar-box-first span {
  padding-left: 10px;
  padding-right: 10px;
}

#block-solo-progetti-navigazionedelbook {
  background-color: #a52a2a54;
 
  padding: inherit;
}


#block-solo-progetti-navigazionedelbook a {
  color: #000000e8;
  background-color: #eaeeeb69;
  line-height: 2.1;
  padding: 3%;
  font-weight: bold;
}


#block-solo-progetti-navigazionedelbook h2 {
  color: #000000e8;
  font-weight: normal;
  
}

/* 1. Applica Flexbox al contenitore principale per allineare i link in riga */
#block-solo-progetti-collegamentiesterni {
  display: flex !important;    
  
   justify-content: center;       /*  Centra orizzontalmente tutto il gruppo di icone */
   
   flex-wrap: wrap !important;
  

}

#block-solo-progetti-collegamentiesterni a:hover {
  opacity: 1 !important;         
}


/* 2. Gestisci il comportamento dei singoli link */
#block-solo-progetti-collegamentiesterni a {
  display: inline-flex; 
  padding: 10px;
  opacity: 0.70;                
  transition: opacity 0.3s ease;
 
}

/* 3. Forza la dimensione delle icone (il tuo codice invariato) */
#block-solo-progetti-collegamentiesterni img {
  width: 100px !important;        
  height: fit-content;       
  flex-shrink: 0;    
}

#block-solo-progetti-collegamentiesterni img:hover {
  width: 120px !important;
  transition: width 0.3s ease;
  
     
}


#block-solo-progetti-collegamentiesterni div {
  display: contents;
}

@media (max-width: 500px) {
  #block-solo-progetti-collegamentiesterni img {
  width: 75px !important;        
  }
}




#bottom-container {
    
    background-color: #f0f2e6;
   background-image: url("/themes/solo/solo_progetti/css/sfondopattern.webp");
  
   background-attachment: fixed;
    
}

#bottom-box-second .tagaggiuntivo span {
  background-color: #dcf3f582;
  padding: 7px;
  border: #0f291070 2px solid;
  
}

#bottom-box-second .tagaggiuntivo a {
  color:black;
  
}

#bottom-box-second .tagaggiuntivo {

line-height: 2.3em;


}

#bottom-box-first,
#bottom-box-second {
    
  font-size: 1.2em;
  background-color: #076e69c7;
  border: 3px solid #1cb90f9c;
  color: #d8d8f6;
  height: max-content;
  padding: 3%;
  
}

#bottom-container .bottom-box-first-inner,
#bottom-container .bottom-box-second-inner {
  --r-bg: #481a50a8;
    
    align-self: stretch; 
  
}

.caption > * {
  background-color: #9fa9aa66;
  padding: 1.5%;
  color: #232f2df7;
  font-size: 0.9em;
  text-shadow: 1px 1px #0112012e;
  font-family: inherit;
  font-style: inherit;
}

#footer-menu {
    background-color: #000303;
    position: relative; /* Necessario per agganciare lo sfondo */
    z-index: 1;         /* Mantiene il testo sopra lo sfondo */
}

#footer-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/themes/solo/solo_progetti/css/sfondopattern.webp");
    background-attachment: fixed;
    background-size: auto; /* Mantiene la dimensione originale del tuo pattern */
    
    opacity: 0.1;      
    
    z-index: -1;        /* Sposta l'immagine dietro ai testi del menu */
    pointer-events: none; /* Evita che lo sfondo interferisca con i click sui link */
}

.footer-menu {
  --r-bg: #95a9b217;
}

#copyright {
  background-color: #161919;
}

.copyright-inner p {
  font-size: 0.9em;
}

/*
Variable Definitions:
  --r-bg: Region background color. Sets the overall background color of the region wrapper.
  --r-tx: Region text color. Sets the default text color for all paragraph and inline text within the region.
  --r-h1: Region heading color. Specifically sets the color for headings (h1, h2, h3) within the region, allowing heading color control independently from body text.
  --r-lk: Region link color. Sets the color for anchor (<a>) links within the region in their normal (non-hover) state.
  --r-lk-h: Region link hover color. Sets the color of links within the region when hovered or focused, providing clear interactive feedback.
  --r-br: Region border color. Sets the border color for the region, useful for visual separation of sections.
  --r-bg-fr: Form background color within the region. Sets the background color specifically for input forms (e.g., login forms, search bars) within the region, enabling clear visual separation of form areas.
  --r-tx-lk: Menu link text color within the region. Sets the text color for menu links in navigation blocks or region-based menus, ensuring consistency with your theme’s navigation design.
  --r-tx-lk-h: Menu link hover text color within the region. Sets the hover or focus color for menu link text, aiding in clear navigation feedback for users.
  --r-bg-lk: Menu link background color within the region. Sets the background color of menu links in their normal state within the region for better menu styling control.
  --r-bg-lk-h: Menu link background hover color within the region. Sets the background color for menu links on hover/focus, ensuring clear user interaction indication.
  --r-tx-bt:  Button text color within the region. Sets the text color for buttons within the region (e.g., call-to-action buttons, form submit buttons).
  --r-tx-bt-h: Button text hover color within the region. Sets the text color for buttons when hovered/focused, providing interactive feedback.
  --r-bg-bt: Button background color within the region. Sets the background color for buttons in their normal state, aligning them visually with your design system.
  --r-bg-bt-h:  Button background hover color within the region. Sets the background color for buttons on hover/focus, improving interactivity and user experience.
*/

/*
Regions Names, each region has an ID and a Class with the same name.
You can use .page-wrapper or #page-wrapper
#page-wrapper {}
#primary-sidebar-menu {}
#fixed-search-block {}
#popup-login-block {}
#header {}
#primary-menu {}
#welcome-text {}

#top-container {}
#top-box-first {}
#top-box-second {}
#top-box-third {}

#system-messages {}
#breadcrumb {}
#page-title {}

#main-container {}
#sidebar-box-first {}
#sidebar-box-main {}
#sidebar-box-second {}

#bottom-container {}
#bottom-box-first {}
#bottom-box-second {}
#bottom-box-third {}
#bottom-box-fourth {}

#footer-container {}
#footer-box-first {}
#footer-box-second {}
#footer-box-third {}

#footer-menu {}
#copyright {}

Examples:

#page-wrapper {
  background-color: var(--r-bg);
  color: var(--r-tx);
  border-color: var(--r-br);
}

h1, h2, h3 {
  color: var(--r-h1);
}

a:not(li.nav__menu-item a) {
  color: var(--r-lk);
  color: var(--r-lk-h);
}

input:not(.button) {
  background-color: var(--r-bg-fr);
}

li.nav__menu-item a {
  color: var(--r-tx-lk);
  background-color: var(--r-bg-lk);
}

li.nav__menu-item a:hover {
  color: var(--r-tx-lk-h);
  background-color: var(--r-bg-lk-h);
}

button:not(li.nav__menu-item button) {
  color: var(--r-tx-bt);
  background-color: var(--r-bg-bt);
}

button:not(li.nav__menu-item button):hover {
  color: var(--r-tx-bt-h);
  background-color: var(--r-bg-bt-h);
}
https://www.drupal.org/docs/extending-drupal/themes/contributed-themes/solo/instructions-for-developers-on-using-colors-in-solo-theme

*/

@media (max-width: 992px) {
    #sidebar-box-first {    
        display: none !important;
        
    }
  }

