:root {
    --black: #181B21;
    --white: #fff;
    --lightgrey: #fafafa;
    --azzurro: #06549F;
    --azzurroacceso: #0285FF;
    --cartazucchero: #DFE9FF;
    --blu: #00376B;
}
/*
Font
Testo: Arial regular
Titoli: Lato black
Menù: Lato bold
Titolone nome progetto in apertura: Arial
*/
/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/lato-v24-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v24-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/lato-v24-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  scroll-behavior: smooth;
}
body {
    color: var(--black);
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
body.admin-bar .fixed-top {
    top: 32px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Lato';
    font-weight: 900;
    color: var(--blu);
}
article h1,
article h2,
article h3,
article h4 {
    margin-top: 1.4rem;
    margin-bottom: .7rem;
}
/* Helpers */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}
.alignright {
    float: right;
    margin-left: 1.5rem;
}
.aligncenter {
    display: block;
    margin: 0 auto 1.5rem;
}
a, .btn-link, .page-link {
    color: var(--blu);
}
a:hover,
a:focus,
.btn-link:hover,
.page-link:hover {
    color: var(--blu);
}
.textwidget img,
article img {
    max-width: 100%;
    height: auto;
}
.bgcover {
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: center;
}
/* video embed */
.embed-youtube,
.embed-vimeo {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  clear: both;
}
.embed-youtube iframe,
.embed-vimeo iframe  {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
iframe, 
object, 
embed {
  max-width: 100%;
}
/* calendar */
.widget_calendar .widget-title,
.widget_websoupevents_calendar .widget-title {
    background-color: var(--blu);
    color: #fff;
    padding: .2rem .6rem;
}
.widget_calendar caption {
    caption-side: top;
    text-align: center;
    font-weight: bold;
    color: var(--blu);
    padding-top: 0.125rem;
}
.widget_calendar table {
    width: 100%;
    position: relative;
}
.widget_calendar tbody td, .widget_calendar thead th {
    border-top: 1px solid #dee2e6;
    padding: .3rem;
}
.widget_calendar tfoot #prev {
    position: absolute;
    top: 0;
    left: 0;
}
.widget_calendar tfoot #next {
    position: absolute;
    top: 0;
    right: 0;
}
.widget_calendar tfoot .pad {
    display: none;
}
.widget_calendar thead th,
.widget_calendar tbody td {
    text-align: center;
}
.widget_calendar tbody a {
    background-color: var(--blu);
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    width: 1.688rem;
}
.widget_calendar tbody td a:hover {
    background-color: var(--blu);
    text-decoration: none;
}
/* Article */
article header p {
    margin-bottom: 0.5rem;
}
article time {
    font-weight: 600;
}
/* Footer */
.preheader {
    color: var(--white);
    background-color: var(--blu);
}
.preheader a {
    color: var(--white);
}
footer.footer {
    color: var(--white);
    background-color: var(--azzurro);
}
footer.footer a {
    color: var(--white);
}
/* Color validator fix */
#totop{
    width: 30px;
    height: 30px;
    text-align: center;
    background: var(--azzurroacceso);
    color: #ffffff;
    display: none;
    position: fixed;
    bottom: 60px;
    right: 20px;
    line-height: 30px;
    z-index: 900;
    box-sizing: content-box;
}
.gallery .gallery-icon {
    text-align: center;
}
div[class*="gallery-columns-"] {
    margin-left: -.5rem;
    margin-right: -.5rem;
}
.gallery > figure {
    display: inline-block;
    padding-left: .5rem;
    padding-right: .5rem;
}
.gallery-columns-1 > figure {
    width: 100%;
}
.gallery-columns-2 > figure {
    width: 50%;
}
.gallery-columns-3 > figure {
    width: 33.33%
}
.gallery-columns-4 > figure {
    width: 25%;
}
.gallery-columns-5 > figure {
    width: 20%;
}
.gallery-columns-6 > figure {
    width: 16.66%
}
.gallery-columns-7 > figure {
    width: 14.28%
}
.gallery-columns-8 > figure {
    width: 12.5%;
}
.gallery-columns-9 > figure {
    width: 11.11%;
}
.admin-bar .navbar-main.fixed-top {
    top: 32px !important;
}
/**/
.bglightgrey {
    background-color: var(--lightgrey);
}
.bgwhite {
    background-color: var(--white);
}
.wp-block-button__link,
.btn {
    padding: 10px 24px;
    text-decoration: none;
    line-height: var(--bs-btn-line-height);
    font-size: 18px;
    border-width: 0;
    border-radius: 3px;
    font-weight: 600;
}
a.wp-block-button__link {
    background-color: var(--blu);
    color: var(--white);
}
.wp-block-button__link:hover {
    color: var(--white);
    background-color: var(--blu);
}
.wpcf7-form-control-wrap {
    display: block;
}
.radioblock .wpcf7-list-item {
    display: block;
}
#gdpr-cookie-consent-bar,
#gdpr-cookie-consent-show-again {
    box-shadow: none !important;
}
.active > .dropdown-item,
.dropdown-item.active, .dropdown-item:active {
  color: var(--white);
  background-color: var(--blu);
}
/**/
.navbar-brand img {
    width: 250px;
}
.nav-link {
    color: var(--white);
    font-weight: bold;
}
body.home {
  background-image: url(/wp-content/uploads/2024/05/bgfoot.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}
/**/
#main-nav {
    background-color: var(--black);
    font-family: 'Lato';
}
.arial {
    font-family: Arial, Helvetica, sans-serif;
}
.linkel figure {
    margin-bottom: 0 !important;
}
.linkel img {
    background: var(--cartazucchero);
}
.carousel-indicators {
    margin-bottom: 0;
    bottom: -28px;
}
.carousel-item .wp-block-gallery {
    flex-wrap: nowrap !important;
}
.rmore {
    text-align: right;
    margin-top: -1rem;
}
.nounder a {
    text-decoration: none;
}
/* Mobile breakpoints */
@media (max-width: 575.98px) {

}
@media (min-width: 576px) {

}
@media (max-width: 767.98px) {

}
@media (min-width: 768px) {
  
}
@media (max-width: 991.98px) {
    
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .carousel .wp-block-cover {
        min-height: 600px;
    }
    .menu-item {
        position: relative;
    }
    .menu-item.active::before {
        content: "";
        position: absolute;
        display: block;
        left: 1rem;
        right: 1rem;
        height: 4px;
        background: var(--azzurro);
        bottom: .25rem;
    }
}
@media (max-width: 1199.98px) {

}
@media (min-width: 1200px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 4rem !important;
    }
    p {
        text-align: justify;
    }
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px;
  }
}
