/*
Theme Name: Design Comuni Italia Child
Template: design-comuni-wordpress-theme-main
Version: 1.0.0
Text Domain: design-comuni-italia-child
*/

.at-attachments {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.at-attachments h3 {
  margin-top: 0;
}

.at-attachments ul {
  margin: 0;
  padding-left: 1.25rem;
}

.at-sidebar {
  position: sticky;
  top: 1.5rem;
}

.at-tree {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.at-tree .at-tree {
  padding-left: 1rem;
  border-left: 1px solid #e5e5e5;
  margin: 0.25rem 0 0.5rem;
}

.at-tree__item > .at-tree {
  display: none;
}

.at-tree__item.is-active > .at-tree {
  display: block;
}

.at-tree__item {
  margin: 0.2rem 0;
}

.at-tree__group-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #191919;
  display: block;
  margin: 0.5rem 0 0.25rem;
  text-decoration: none;
}

.at-tree__group-title:hover,
.at-tree__group-title.is-active {
  color: #006e4a;
}

.at-tree__link {
  color: #191919;
  text-decoration: none;
  display: inline-block;
  padding: 0.15rem 0;
}

.at-tree__link:hover,
.at-tree__link.is-active {
  color: #006e4a;
  font-weight: 600;
}

.at-tree__heading a {
  font-weight: 700;
  text-transform: uppercase;
  color: #191919;
  text-decoration: none;
}

/* Fallback layout if theme grid CSS doesn't apply */
.row-column-menu-left {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
}

.row-column-menu-left > .col-12 {
  width: 100%;
}

@media (min-width: 992px) {
  .row-column-menu-left {
    flex-wrap: nowrap !important;
  }
  .row-column-menu-left > .col-lg-3 {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
    order: 0 !important;
  }
  .row-column-menu-left > .col-lg-9 {
    width: 75% !important;
    max-width: 75% !important;
    flex: 0 0 75% !important;
    order: 1 !important;
  }
}
