/*
 Theme Name: Coldbox The Child
 Description: A child theme for the Coldbox WordPress theme
 Author: Web Agency
 Author URI: http://example.com (optional)
 Template: coldbox
 Version: 1.0.0
*/


/* Sidebar*/


.title-box-inner.container h1{

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  color:black !important;
  font-weight: bold;
}

.sidebar .widget {
  background: #c5c5c5 !important;
}
.widget h2 {
  color: #111;
  font-weight: bold !important;
  text-align: center;
  margin: 6px 0;
  font-size: 1.2em;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.widget {
  padding: 0px;
}

.widget .widget-title {
  font-weight: 500;
  text-shadow: none;
}
.sidebar {
  background: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.textwidget h4 {
  margin-bottom: 20px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 -1px 0 #000000;
  padding: 7px 0 7px 10px;
}
.breadcrumb {
  display: none;
}
.title-box-inner {
  padding: 10px !important;
}

.widget-title {
  text-transform: uppercase !important;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 -1px 0 #000000;
  padding: 7px 0 7px 10px;
}


/* slider */
.nivo-caption {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 14px !important;
  padding: 20px 30px 35px 30px !important;
}

.nivo-caption {
  padding: 20px 30px 35px 30px !important;
}

/*header */

.header {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  background-size: 100% 100%;
  padding-bottom: 15px !important;
  border-bottom: 1px solid black !important;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: black !important;
  text-shadow: 0 -1px 0 #000000;
  height: 45px !important;
}
.header-inner,
.site-info {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
.icon.search{
  margin-top: 5px !important;
}

.site-info {
  width: 100%;
  text-align: center;
  margin: 10px;
  padding: 0px !important;
}
.site-title {
  display: none !important;
}

.menu-item {
  font-weight: 600;
}
.search-toggle {
  position: absolute;
  right: 0px;
}
body .site-title {
  font-size: 1.1em;
}

/* post */
.post-date {
  display: none;
}
.post-title{
  text-align: center !important;
  text-decoration: none !important;
}

.post-thumbnail {
  height: auto !important;
  width: 100% !important;
}

.post-meta {
  position: relative;
  left: 0;
  bottom: 0;
  border-top: 1px dotted #333;
  width: 100%;
  min-height: 50px;
  display: block;
}
.post-content h2 {
  text-decoration: underline;
}

/* general */

.back-to-top {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  display: block !important; 
}

.post-meta{
  display: none !important;
}
.post-title{
  font-size: 18px !important;
}
.site-info {
  width: 100%;
  text-align: center;
  margin: 10px;
}
@media (min-width: 850px) {
  .site-info {
    display: none;
  }
  .footer-widget-area {
    display: none;
  }
  .ml-slider {
    height: 450px !important;
    overflow: hidden;
  }
  div.nivoslider img {
    height: 450px !important;
  }
  .nivoSlider {
    height: 450px !important;
  }
}
@media (max-width: 900px) {
  .content-inner {
    padding: 20px 10px 0 !important;
  }
}
#main.home {
  margin-top: 0px !important;
}
.nav-toggle {
  position: absolute !important;
  right: 40px !important;
  top: 20px !important;
}
.widget {
  background: #f9f9f9 !important; /* Light background for a clean look */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  padding: 20px; /* Consistent padding */
  margin-bottom: 20px; /* Space between widgets */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.widget:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.widget-title {
  font-weight: 600;
  font-size: 1.5em;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e0e0e0; /* Subtle border for separation */
  padding-bottom: 5px;
}

.textwidget {
  color: #555;
  line-height: 1.6;
}
.title-box-inner.container h1{
  display: flex !important; 
  text-align: center !important;
  color:black !important;
  font-weight: bold;
}

.taxonomy-description{
  display:none !important;
}

.textwidget span a {
  color: #000 !important;
  font-size: 20px;
}
.content {
  padding-top: 15px;
}
.attachment-large {
  width: 100%;
}
.title-box {
  padding: 0px;
}
.footer-widget-area {
  padding-bottom: 0px !important;
}
.footer-widget-area.has-1{
  background-color: white !important;
}
.footer-sidebar {
  margin-bottom: 0px !important;
  padding: 5px 10px 0px 10px !important;
}
.content-inside{
  padding: 5px !important;
}
.footer-sidebar.sidebar{
  padding: 20px !important;
  background-color: #f0f0f0 !important;
}
.widget_media_image img {
  width: 100% !important;
}
.textwidget a {
  color: #333 !important;
}
.entry h3 {
  border: 0px !important;
}
.entry h4 {
  border: 0px !important;
}
.textwidget {
  padding: 10px;
}
h1.post-title {
  text-align: center;
  font-weight: 500;
}
.nivo-caption {
  text-align: center;
}

#main.home {
  margin-top: 0px !important;
}
.nav-toggle {
  position: absolute !important;
  right: 80px !important;
  top: 20px !important;
}
.widget {
  background: #cccaca !important;
}
.widget-title {
  border-bottom: 2px solid #565555;
}
.textwidget span a {
  color: #000 !important;
  font-size: 20px;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: block; 
}

.content {
  padding-top: 15px;
}
.attachment-large {
  width: 100%;
}
.title-box {
  padding: 0px;
}
h1.post-title {
  text-align: center;
  font-weight: 500;
}


.widget_media_image img {
  width: 100% !important;
}
.textwidget a {
  color: #333 !important;
}
.textwidget {
  padding: 5px !important;
}
.entry h3 {
  border: 0px !important;
}
.entry h4 {
  border: 0px !important;
}

#main {
  margin-bottom: 0px !important;
}
.nav-links {
  background: #ffffff;
}

/* footer */
.footer-widget-area {
  box-shadow: unset;
}

.footer-widget-area.has-1 {
  background-color: #000000;
}
footer.post-meta {
  display: none;
}
.footer-bottom {
  display:flex;
  justify-content: center;
  width: 100% !important;
  background-color: black !important;
  color: white !important;
}
.footer {
  display:flex;
  flex-direction: column !important;
  min-height: 0px !important;
}
.footer-widget-area {
  padding-bottom: 20px !important;
}
.footer a {
  color: white!important;
}
.copyright a {
  color: silver!important;
}
.footer-sidebar {
  margin-bottom: 0px !important;
  padding: 5px 10px 0px 10px !important;
}
.footer-menu{
    display: flex;
    font-size: 14px;
    margin: 0 !important; 
    padding: 5px !important;
    width: 100% !important;
    background-color:black !important; 
    padding: 10px 0;
}

.footer-menu.menu-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
}
/* ipad */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-menu {
      justify-content: center;
  }

  .copyright{
    display:flex !important;
    justify-content: center;
  }
} 
.copyright{
  display:flex !important;
  justify-content: center;
}
.copyright p {
 
 color: silver !important;
}

/* mobile */
@media (max-width: 900px) {
  .header {
    display: flex !important;
    height: auto !important;
    padding: 0 !important;
    align-items: center; 
  }

  .back-to-top {
    position: fixed !important;
    z-index: 1000;
  bottom: 20px !important;
  right: 20px !important;
  display: block !important;  
  }


  .header-inner.container {
    display: flex !important;
    height: 100% !important;
    width: 100%;
    justify-content: space-between !important;
    padding: 10px 15px !important;
  }

  .site-title {
    display: block !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
  }

    .nav-toggle {
    margin-left: 20px !important; /* Add space between site title and menu toggle */
    padding: 10px !important; /* Add vertical padding for better alignment */
    }

  
    .icon.search {
    margin-top: 0 !important;
    }

    .menu-container{
      background-color: black !important;
      padding-top: 30px !important;
    }

    #header-nav a {
      text-decoration: none !important;
      border: none !important;
    }

    #footer-menu{
      display: flex !important;
      text-align: center !important;
    }
    #footer-menu a {
      text-decoration: none !important;
      border: none !important;
    }

    .footer-bottom{
      display: flex !important;
      text-align: center !important;
     
    }
    .footer-bottom >*{
      width: 100% !important;
    
    }



}


  







/* Regola generale per applicare Roboto a tutti gli elementi del widget */

.sidebar .widget,
.sidebar .widget * {
  font-family: "Roboto", sans-serif;
}

.sidebar .widget {
  background: #f9f9f9 !important;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget h2 {
  color: #333;
  font-weight: 600 !important;
  text-align: center; 
  margin: 10px 0;
  font-size: 1.5em;
  transition: all 0.4s;
}

.widget .widget-title {
  font-weight: 600;
  font-size: 1.5em;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}
.main-single .title-box{
  background-color: white !important;
  color: #000 !important;
}
.main .title-box{
  background-color: black !important;
}
.title-description{
  display:none;
}
.taxonomyv-description{
  display:none !important; 
}
.main .title-box-inner.container h1{
  color:white !important;
}
.sidebar {
  background: none;
  background-color: black !important;
  box-shadow: none;
  -webkit-box-shadow: none;
  margin-top: 1.8vh;
  padding-top:2px !important;
}

.textwidget h4 {
  margin-bottom: 20px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333; /* Cambiato da #FFF per una migliore leggibilità */
  text-shadow: none; /* Rimosso il text-shadow per un look più moderno */
  padding: 7px 0 7px 10px;
}

/* Hover effect for widgets */
.sidebar .widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}



