/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root {
  --accent-red: #d4431a;
  --accent-orange: #f6ab2a;
  --accent-green: #137a36;
  --accent-blue: #044880;
  --accent-line: linear-gradient(
    90deg,
    var(--accent-red) 0%,
    var(--accent-orange) 34%,
    var(--accent-green) 67%,
    var(--accent-blue) 100%
  );
}


a, a:focus, button, button:focus, input:focus, textarea:focus  {
outline : none!important;
}


.arancione-chiaro {
  color: var(--arancione-chiaro);
}

.mission::before {
  position: absolute;
  inset: 0;

  opacity: 1;
  background:
    radial-gradient(circle at 14% 24%, rgba(255,255,255,.08) 0 66px, transparent 67px),
    radial-gradient(circle at 88% 18%, rgba(246,171,42,.14) 0 82px, transparent 83px),
    radial-gradient(circle at 78% 78%, rgba(19,122,54,.12) 0 110px, transparent 111px),
    radial-gradient(circle at 24% 84%, rgba(212,67,26,.11) 0 92px, transparent 93px);

  content: "";
  pointer-events: none;
}

.agenda-card::before {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 92px;
  height: 92px;
  border: 18px solid rgba(235, 91, 42, .1);
  border-radius: 50%;

  content: "";
  transition: transform .35s var(--ease);
  pointer-events: none;
}

.agenda-card--feature::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border: 46px solid rgba(235, 91, 42, .28);
  border-radius: 50%;

  content: "";
  pointer-events: none;
}

.project-card::after {
  position: absolute;
  right: -95px;
  bottom: -125px;
  width: 300px;
  height: 300px;
  border: 44px solid rgba(255,255,255,.09);
  border-radius: 50%;

  content: "";
  pointer-events: none;
}

.media-card--press::after {
  position: absolute;
  right: -50px;
  bottom: -65px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(238,134,21,.18);
  border-radius: 50%;

  content: "";
  pointer-events: none;
}

.home-link-card--mission::after,
.home-link-altro::after {
  position: absolute;
  right: -90px;
  top: -105px;
  width: 230px;
  height: 230px;
  border: 34px solid rgba(255,255,255,.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-link-card--join::after {
  position: absolute;
  right: -105px;
  top: -115px;
  width: 250px;
  height: 250px;
  border: 38px solid rgba(0,66,137,.05);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-link-card--newsletter::after {
  position: absolute;
  right: -100px;
  bottom: -135px;
  width: 260px;
  height: 260px;
  border: 40px solid rgba(103,179,46,.075);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.options-wrapper li label {
  font-size: 13px;
}

.dg_form_privacy {
  margin-top: -20px;
  font-size: 11px;
}

#newsletter .submit-button-wrapper {
  margin-top: -15px;
}

.pre-colori::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-line);
  flex: 0 0 auto;
  pointer-events: none;
}

.internal-hero::after,
.slide-sez::after,
.immense-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: var(--accent-line);
  pointer-events: none;
}

.identity__media {
  padding: 3px;
  border-radius: var(--radius-lg);
  background: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.identity__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-line);
  pointer-events: none;
}

.explore-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 99;
  background: var(--accent-line);
  pointer-events: none;
}

.institutional-cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border: 65px solid rgba(246,171,42,.17);
  border-radius: 50%;
  pointer-events: none;
}

.leader-feature__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--accent-line);
  pointer-events: none;
}

.erasmus::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--accent-line);
  pointer-events: none;
}

.consiglio-elenco::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-line);
  pointer-events: none;
}

.organ-card:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='22' cy='19' r='8'/%3E%3Ccircle cx='43' cy='22' r='7'/%3E%3Cpath d='M8 50c1-10 7-16 14-16s13 6 14 16'/%3E%3Cpath d='M34 50c1-8 5-13 11-13s10 5 11 13'/%3E%3C/svg%3E");
  pointer-events: none;
}

.organ-card:nth-child(1) {
  background: linear-gradient(135deg,#d4431a,#f6ab2a);
}

.organ-card:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='22' cy='19' r='8'/%3E%3Ccircle cx='43' cy='22' r='7'/%3E%3Cpath d='M8 50c1-10 7-16 14-16s13 6 14 16'/%3E%3Cpath d='M34 50c1-8 5-13 11-13s10 5 11 13'/%3E%3C/svg%3E");
  pointer-events: none;
}

.organ-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 22h48L32 8 8 22Z'/%3E%3Cpath d='M13 26v24M24 26v24M40 26v24M51 26v24M8 54h48'/%3E%3C/svg%3E");
  pointer-events: none;
}

.organ-card:nth-child(2) {
  background: linear-gradient(135deg,#137a36,#044880);
}

.organ-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 24px;
  width: 118px;
  height: 118px;
  opacity: .16;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

header.scrolling {
  transition: all 0.3s;
  box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.06);
}

.public-purpose::before,
.purpose::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--accent-line);
  pointer-events: none;
}

.service-model__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  pointer-events: none;
}

.service-model__item:nth-child(1)::before {
  background: #d4431a;
  pointer-events: none;
}

.service-model__item:nth-child(2)::before {
  background: #f6ab2a;
  pointer-events: none;
}

.service-model__item:nth-child(3)::before {
  background: #137a36;
  pointer-events: none;
}

.service-model__item:nth-child(4)::before {
  background: #044880;
  pointer-events: none;
}

.service-model__item:nth-child(2n) {
  border-left: 1px solid #dce5ed;
}

.cubo-sfondo-gradiente::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255,255,255,.13);
  border-radius: 50%;
  pointer-events: none;
}

.primi-cubi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-line);
  pointer-events: none;
}

.testo-privacy {
  font-size: 12px;
  line-height: 1.3em;
  margin-top: -10px;
}

.news-body {
  display: block !important;
}

.news-body .news-image {
  float: right;
  width: 50%;
  max-width: 600px;
  height: auto;
  margin: 0 0 30px 40px;
}

.news-body .brxe-text-basic {
  display: block;
  width: auto !important;
  max-width: none !important;
}

.news-body::after {
  content: "";
  display: table;
  clear: both;
  pointer-events: none;
}
.menu-item-has-children ul {
padding: 0!important;
transition: all 0.3s;
}
.menu-item-has-children:not(.active) ul {
padding: 0!important;
transition: all 0.3s;
}


.filtri {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.filtri > li {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  background-color: var(--azzurro);
  border-radius: 20px;
  padding: 2px 20px 2px 10px;
}
.filtri > li.brx-option-active {
  background-color: var(--blu);
  color: #fff;
}
.brxe-filter-radio input[type="radio"]:checked + .brx-input-indicator::after {
  background-color: var(--giallo);
}
.brxe-filter-radio input[type="radio"]:checked + .brx-input-indicator {
  border-color: #fff;
}
.brxe-filter-radio .brx-input-indicator {
  transform: scale(0.9);
}
.brxe-filter-radio label {
  gap: var(--brx-indicator-gap,.4em);
}



@media (max-width: 767px) {
  .news-body .news-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 25px 0;
  }
}

@media (min-width: 767px) {
  .sub-menu {
    padding: 15px 0 !important;
  }
}