/* ItaliaWP2 Child (Baseline)
   Place your minimal overrides here. Keep selectors specific to avoid fighting the parent. */

:root {
  /* You can override Bootstrap Italia CSS variables here if needed */
  /* --bs-primary: #0066CC; */
}

body {}

/* Example spacing tweak
.container { padding-top: 1rem; padding-bottom: 1rem; }
*/


#mainheader {
  height: 254px;
}

#mainheader hr {
  color: #106AD0;
  border-color: #106AD0;
  border-width: 0.5px;
}

#mainheader .comune .logoimg img {
    height: 70px;
    width: auto !important;
    max-height: 100px;
    max-width: 100%;
}

#mainheader .social a svg.icon {
  width: 60px;
  height: 60px;
}

#mainheader .social {
  margin-top: 10px;
}

#mainheader .cerca {
  margin-top: 0;
}

#mainheader #sub_nav {
  z-index: 100;
  background-color: #FFF;
}

#mainheader .cerca input {
  border: 1px solid;
  border-color: #106AD0 !important;
  margin-right: 0;
  color: #B7B7B7;
  font-weight: normal;
  text-align: left;
  padding: 3px;
  width: 250px;
}

#mainheader .btn-cerca {
  border-radius: 0;
  background: #106AD0;
}

#mainheader .btn-cerca svg.icon {
  fill: #FFF !important;
}

#mainheader .btn-cerca:hover {
  background-color: #074b9a !important;
}

#mainheader .menu-btn .icon-bar {
  background-color: #013469;
}

@media (max-width: 991px) {
#mainheader .comune .logoimg img {
    height: auto !important;
}
}

#mainheader #sub_nav {
  color: #106AD0;
  font-weight: normal !important;
}

.navbar .navbar-collapsable .navbar-nav li a.nav-link {
  color: #106AD0;
  font-weight: normal !important;
}

#footer {
  background-color: #0066CC !important;
}

footer .address {
  color: #FFF;
}

footer h3 {
  font-size: 22px;
  color: #FFF;
  font-weight: semibold;
}

#footer h4 {
  border-bottom: none;
  padding-bottom: 5px;
  font-size: 18px;
  text-transform: none;
}

#footer .footer-list {
  margin-top: 0px;
  font-size: 16px;
  color: #FFF;
}

/** footer-bottom list item inline */
.footer-bottom {
    background-color: #013469;
    margin-bottom: 0;
    padding-bottom: 15px;
    padding-top: 15px;
}

ul.footer-bottom-list {
  margin-bottom: 0;
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.footer-bottom-list li {
  margin: 0 15px;
}

.footer-bottom-list li a {
  color: #FFF;
  text-decoration: none;
  font-size: 16px;
}


.navbar .dropdown-menu .menu-item h5 a {
  font-weight: normal !important;
  font-size: 16px;
}

#title_bg {
    min-height: 200px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    display: flex;
    align-items: center;
}

#title_bg h1 {
    color: #FFF;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

section#briciole {
  margin-top: 0px;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #EBECEC;
}

#briciole .breadcrumb {
  margin-bottom: 0;
}

section#briciole a {
  color: #0066CC !important;
}

.italiawp2-sidebar {
  margin-top: 3rem;
}

.italiawp2-sidebar h2 {
  color: #00264D;
  font-size: 22px;
}

.italiawp2-sidebar .wp-block-latest-posts__post-excerpt {
  font-size: 16px;
}

#menu-sinistro .lista-paragrafi .list-group-item {
  color: #0066CC !important;
}

#menu-sinistro .menu-separatore {
  display: none;
}

#menu-sinistro h4.dropdown {
  display: none;
}

#menu-sinistro .Linklist-link.Linklist-link--lev1 {
  color: #fff !important;
  background-color: #0066CC !important;
}

#menu-sinistro .Linklist-link.Linklist-link--lev2 {
  color: #0066CC !important;
  background-color: #F5F9FC !important;
}

#menu-sinistro .Linklist-link.Linklist-link--lev2.current-page {
  color: #0066CC !important;
  background-color: rgba(0, 102, 204, 0.15) !important;
}

.related-articles h3 {
  color: #0066CC;
  font-size: 32px;
}


.custom-latest-posts-row {
  margin-bottom: 2em;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-full-width {
  width: 100% !important;
}


#outer-map {
		height: 700px;
		position: relative;
		z-index: 0;
		width: 100%;
}

#map {
  height: 700px;
  width: 100%;
}

#container-info {
  padding: 20px;
  position: absolute;
  width: 30%;
  top: 85px;
  right: 25px;
  background-color: #fff;
  opacity: 0.9;
  height: auto;
}

#container-info .map-title {
    margin-top: 10px;
    font-size: 2.2em;
    line-height: 1em;
}

#container-info .highlight {
    color: #06c;
    font-weight: bold;
    text-transform: uppercase;
}

#container-info .btn {
  border: 1px solid #CCC;
}


#opera-info .label {
  font-weight: bold;
  color: #06c;
}

#opera-info .value {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media only screen and (max-width: 767px) {

  #mainheader {
    height: 124px;
  }

  #container-info {
    padding: 20px;
    height: auto;
    position: relative;
    width: 100%;
    background-color: #fff;
    opacity: 1;
    text-align: center;
    z-index: 4;
          top: auto;
          right: auto;
  }

      #outer-map {
      height: auto;
    }
}

div.valign {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row.articolo-ulterioriinfo {
  display: none;
}