body.overflow-hidden {
  height: 100vh;
  overflow: hidden;
}

.litepicker .day-item {
  width: calc(100% / 7) !important;
  color: #001c64 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  aspect-ratio: 1/1;
  margin-bottom: 3px !important;
}

.litepicker .container__months {
  border-radius: 0 !important;
  box-shadow: 0px 2px 10px 0px #0000001a !important;
}

.litepicker .container__months .month-item-header {
  padding: 20px 5px !important;
  justify-content: center !important;
}

.litepicker .container__days .day-item.is-today {
  background-color: #f4f4f4 !important;
  border-radius: 50% !important;
}

.litepicker .container__months .month-item-header div {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: fit-content !important;
  padding: 0 2rem !important;
}

.litepicker .container__days .day-item.is-locked {
  /* Targeting Sunday */
  color: #ff3b30 !important; /* Dark red text color */
}

.litepicker .month-item-weekdays-row > div {
  color: #001c64 !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  text-transform: uppercase;
}

.litepicker .month-item-weekdays-row > div:nth-child(7),
.litepicker .month-item-weekdays-row > div:nth-child(6) {
  color: #ff3b30 !important;
}

.litepicker .month-item-weekdays-row {
  border-bottom: 1px solid #f4f4f4 !important;
}

.litepicker .container__months::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-color: #fffae0;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
}

.tags-filters .litepicker .day-item.is-today {
  background-color: #f4f4f4;
  border-radius: 50% !important;
}

.litepicker {
  display: flex;
  flex-direction: column-reverse;
  border: none;
  border-radius: 0 !important;
  font-family: Cabinet-Grotesk !important;
}

.litepicker .container__days .day-item.is-start-date {
  border-top-left-radius: 20px !important;
  border-bottom-left-radius: 20px !important;
  background-color: #9dc4ff !important;
}

.litepicker .container__days .day-item.is-in-range {
  background-color: #e0edff !important;
  border-radius: 0;
}

.litepicker .container__days .day-item.is-end-date {
  background-color: #9dc4ff !important;
  border-top-right-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
}

.litepicker .month-item-name,
.litepicker .month-item-year {
  color: #001c64 !important;
  font-weight: 500;
  font-size: 20px;
}

.tags-filters > form {
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem;
  z-index: 100;
  justify-content: center;
}

#edit-created-wrapper::after,
#edit-event-date-wrapper::after,
#edit-event-date-wrapper--3::after,
#edit-event-date-wrapper--5::after {
  content: "";
  display: block;
  position: absolute;
  top: 12px;
  width: 25px;
  height: 30px;
  background-color: #0000ff00;
  right: 0px;
  z-index: 1;
}

.tags-filters .fieldgroup {
  background-color: rgb(255, 255, 255);
  padding-top: 0;
  padding-right: 1rem;
  padding-bottom: 0;
  padding-left: 1rem;
  max-width: 245px;
  position: relative;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  min-width: 245px;
}

.tags-filters .fieldgroup legend {
  background-color: rgb(255, 255, 255);
  margin-top: 0;
  margin-bottom: 0;
  margin-left: -1rem;
  display: block;
  width: -webkit-calc(100% + 2rem);
  width: calc(100% + 2rem);
  min-width: 166px;
}

.tags-filters .fieldgroup .fieldset-legend {
  line-height: 54px;
  font-weight: 500;
  padding-top: 0;
  padding-right: 38px;
  padding-bottom: 0;
  padding-left: 3rem;
  display: block;
  position: relative;
}

.tags-filters .fieldgroup .fieldset-wrapper {
  top: 0;
  position: absolute;
  display: none;
  left: 0;
  background-color: rgb(255, 255, 255);
  padding: 1rem;
  padding-top: 10px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  min-width: 100%;
  padding-bottom: 3.5rem;
}

.tags-filters #edit-created-wrapper,
.tags-filters #edit-event-date-wrapper,
.tags-filters #edit-event-date-wrapper--5,
.tags-filters #edit-event-date-wrapper--3 {
  padding: 0;
  position: relative;
  min-width: 277px;
}

.date-range {
  position: absolute;
  top: 74px;
  height: 74px;
  width: 100%;
  background: #fffae0;
  display: none;
  box-shadow: 0px 2px 10px 0px #0000001a;
  min-width: 356px;
  left: auto;
  right: 0;
  font-weight: 700;
  color: #282828;
}

.date-range::before {
  content: "";
  display: none;
  top: -9px;
  right: 19px;
  width: 21px;
  height: 21px;
  background-color: #fffae0;
  position: absolute;
  transform: rotate(45deg);
  z-index: 10;
}

.date-range.is-active {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 16px;
  z-index: 8;
}

.date-range.is-active::before {
  display: block;
}

.date-range .date-content {
  background-color: #00000014;
  height: 42px;
  line-height: 42px;
  padding: 0 10px;
  margin-right: 1rem;
  margin-left: 0.5rem;
  min-width: 101px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}

.date-range .date-content:last-child {
  margin-right: 0;
}

.filter-years .tags-filters .form-actions [data-drupal-selector*="edit-reset"] {
  bottom: -48px;
  padding-top: 10px;
  z-index: 1;
}

.tags-filters #edit-created-wrapper legend,
.tags-filters #edit-event-date-wrapper legend,
.tags-filters #edit-event-date-wrapper--3 legend,
.tags-filters #edit-event-date-wrapper--5 legend {
  background-color: rgb(255, 255, 255);
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.tags-filters #edit-created-wrapper .fieldset-wrapper h4,
.tags-filters #edit-event-date-wrapper .fieldset-wrapper h4,
.tags-filters #edit-event-date-wrapper--3 .fieldset-wrapper h4,
.tags-filters #edit-event-date-wrapper--5 .fieldset-wrapper h4 {
  display: none;
}

.search-title-mobile {
  display: none;
}

.tags-filters #edit-created-wrapper legend .fieldset-legend,
.tags-filters #edit-event-date-wrapper legend .fieldset-legend,
.tags-filters #edit-event-date-wrapper--3 legend .fieldset-legend,
.tags-filters #edit-event-date-wrapper--5 legend .fieldset-legend {
  padding-right: 3rem;
  padding-left: 54px;
  line-height: 54px;
  font-weight: 500;
}

.filter-words.filter-words-full {
  position: relative;
  z-index: 8;
}

.tags-filters #edit-created-wrapper #edit-created-min-date,
.tags-filters #edit-event-date-wrapper #edit-event-date-min-date,
.tags-filters #edit-event-date-wrapper--3 #edit-event-date-min-date--2,
.tags-filters #edit-event-date-wrapper--5 #edit-event-date-min-date--2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 54px;
  width: 100%;
  opacity: 0;
}

.tags-filters #edit-created-wrapper #edit-created-max-date,
.tags-filters #edit-event-date-wrapper #edit-event-date-max-date,
.tags-filters #edit-event-date-wrapper--3 #edit-event-date-max-date--2,
.tags-filters #edit-event-date-wrapper--5 #edit-event-date-max-date--2 {
  display: none;
}

.tags-filters .js-form-item-items-per-page {
  height: 0;
  width: 0;
  overflow: hidden;
  display: none;
}

.tags-filters .fieldgroup.is-active .fieldset-wrapper {
  display: block;
  z-index: 8;
}

.tags-filters .fieldgroup .fieldset-wrapper .form-type-checkbox {
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 3px;
}

.tags-filters .fieldgroup .fieldset-wrapper .form-type-checkbox input {
  margin-right: -8px;
  height: 22px;
  width: 22px;
}

.tags-filters .fieldgroup .fieldset-wrapper .form-type-checkbox label {
  border-color: rgb(0, 28, 100);
  color: rgb(40, 40, 40);
  font-size: 14px;
  padding-right: 1.5rem;
  font-weight: 500;
  width: 100%;
}

.tags-filters .fieldgroup .fieldset-wrapper .form-type-checkbox label:before {
  border-color: rgb(0, 28, 100);
  background-color: rgb(255, 255, 255);
  height: 20px;
  width: 20px;
  left: initial;
  right: 0;
}

.tags-filters .fieldgroup .fieldset-wrapper .form-type-checkbox label:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  background-color: rgb(25, 63, 158);
  font-size: 10px;
  height: 22px;
  width: 22px;
  left: initial;
  right: 0;
  color: rgb(255, 255, 255);
  content: "\e80b";
  font-family: Fontello;
}

.tags-filters .fieldgroup legend input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-100%);
  background-color: whitesmoke;
}

.btn-mobile-filter {
  padding: 0;
  padding-left: 20px;
  background: #fff;
  line-height: 48px;
  width: 100%;
  margin: auto;
  font-weight: 500;
  display: none;
  box-shadow: 0px 2px 10px 0px #0000001a;
  position: relative;
}

.btn-mobile-filter .icon-filter::before {
  line-height: 48px;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e814";
  font-family: Fontello;
  display: block;
  font-size: 17px;
  color: #9dc4ff;
  margin-right: 10px;
}

.btn-mobile-filter .icon-arrow {
  position: absolute;
  top: auto;
  right: 0;
  height: 48px;
  width: 51px;
  background: rgb(0, 28, 100);
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0px 2px 10px 0px #0000001A; */
}

.btn-mobile-filter .icon-arrow:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e832";
  font-family: Fontello;
  color: rgb(255, 255, 255);
  font-size: 24px;
}

.close-filter {
  display: none;
}

.views-tags-container {
  margin-right: auto;
  margin-left: auto;
  max-width: 82rem;
  width: 100%;
}

.views-tags-container .selected-tags.is-active {
  padding-top: 20px;
  padding-right: 174px;
  text-align: right;
  min-height: 58px;
}

.tags-filters .bef-toggle {
  font-size: 14px;
  color: rgb(0, 28, 100);
  font-weight: 500;
  text-decoration: underline;
  margin-top: 1rem;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.tags-filters .label-count {
  position: absolute;
  bottom: 1rem;
  font-size: 12px;
  color: rgb(0, 28, 100);
}

.tags-filters .label-count i {
  font-weight: 700;
  font-style: normal;
}

.tags-filters .fieldgroup .fieldset-legend::after,
.tags-filters #edit-created-wrapper legend .fieldset-legend::after,
.tags-filters #edit-event-date-wrapper legend .fieldset-legend::after,
.tags-filters #edit-event-date-wrapper--3 legend .fieldset-legend::after,
.tags-filters #edit-event-date-wrapper--5 legend .fieldset-legend::after {
  line-height: 1;
  font-weight: 100;
  text-transform: none;
  font-variant: normal;
  content: "\e81f";
  font-family: Fontello;
  color: rgb(0, 28, 100);
  width: 24px;
  position: absolute;
  right: 1rem;
  top: 15px;
  display: block;
  font-size: 24px;
  text-align: center;
  transition: all 300ms linear;
}

.tags-filters #edit-created-wrapper legend .fieldset-legend :after,
.tags-filters #edit-event-date-wrapper legend .fieldset-legend :after,
.tags-filters #edit-event-date-wrapper--3 legend .fieldset-legend :after,
.tags-filters #edit-event-date-wrapper--5 legend .fieldset-legend :after {
  line-height: 1;
  font-weight: 100;
  text-transform: none;
  font-variant: normal;
  content: "\e81f";
  font-family: Fontello;
  color: rgb(0, 28, 100);
  width: 24px;
  position: absolute;
  right: 1rem;
  top: 15px;
  display: block;
  font-size: 24px;
  text-align: center;
  transition: all 300ms linear;
}

.tags-filters .fieldgroup.is-active .fieldset-legend:after,
.tags-filters .js-form-wrapper.is-active .fieldset-legend:after {
  transform: rotateZ(180deg);
  text-align: center;
}

.views-tags-container .selected-tags .tag--filter {
  text-transform: uppercase;
  font-size: 12px;
  color: rgb(0, 28, 100);
  font-weight: 500;
  padding-top: 8px;
  padding-right: 26px;
  padding-bottom: 7px;
  padding-left: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  display: inline-block;
  background-color: rgb(157, 196, 255);
  border-radius: 1rem;
  line-height: 1;
  min-height: 28px;
  position: relative;
  cursor: pointer;
}

.tags-filters .fieldgroup .fieldset-wrapper:before {
  background-color: rgb(255, 255, 255);
  content: "1";
  width: 100%;
  height: 15px;
  position: absolute;
  top: -13px;
  left: 0;
  color: rgba(0, 0, 0, 0);
}

.tags-filters .fieldgroup .fieldset-wrapper .form-checkboxes {
  display: flex;
  flex-direction: column;
  max-height: 50vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.title-filter-year {
  text-align: left;
}

.title-filter-year h2 {
  margin-bottom: 0;
  text-align: left;
}

.tags-filters .form-actions .button {
  background-color: rgb(0, 28, 100);
  color: rgb(255, 255, 255);
  padding-top: 0;
  padding-right: 24px;
  padding-bottom: 0;
  padding-left: 24px;
  line-height: 54px;
  font-weight: 500;
  font-size: 16px;
}

.tags-filters .form-actions {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  position: relative;
}

.tags-filters .form-actions [data-drupal-selector*="edit-reset"] {
  color: rgb(25, 63, 158);
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateY(calc(100% + 0.6rem));
  text-decoration: underline;
  line-height: 1;
  height: 48px;
  font-size: 16px;
  padding-right: 10px;
  cursor: pointer;
}

.tags-filters .form-actions [data-drupal-selector*="edit-reset"]:hover {
  color: rgb(25, 63, 158);
  background-color: rgba(0, 0, 0, 0);
}

.tags-filters .fieldgroup#edit-topics--wrapper:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  color: rgb(157, 196, 255);
  content: "\e80d";
  font-family: Fontello;
  position: absolute;
  top: -38px;
  left: 20px;
  font-size: 20px;
}

.tags-filters .fieldgroup[data-drupal-selector="edit-tipology"]:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e80e";
  font-family: Fontello;
  font-size: 20px;
  position: absolute;
  top: -38px;
  left: 20px;
  color: rgb(157, 196, 255);
}

.tags-filters
  .fieldgroup[data-drupal-selector="edit-tipology"]
  .fieldset-legend {
  padding-left: 58px;
}

.tags-filters .fieldgroup[data-drupal-selector="edit-academic-unit"]:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e812";
  font-family: Fontello;
  font-size: 20px;
  position: absolute;
  top: -38px;
  left: 20px;
  color: rgb(157, 196, 255);
}

.tags-filters
  .fieldgroup[data-drupal-selector="edit-academic-unit"]
  .fieldset-legend {
  padding-left: 55px;
}

.tags-filters .fieldgroup[data-drupal-selector="edit-directed-to"]:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e80f";
  font-family: Fontello;
  font-size: 20px;
  position: absolute;
  top: -38px;
  left: 20px;
  color: rgb(157, 196, 255);
}

.tags-filters
  .fieldgroup[data-drupal-selector="edit-directed-to"]
  .fieldset-legend {
  padding-left: 58px;
}

.tags-filters .fieldgroup[data-drupal-selector="edit-format"]:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e80d";
  font-family: Fontello;
  font-size: 20px;
  position: absolute;
  top: -38px;
  left: 20px;
  color: rgb(157, 196, 255);
}

.tags-filters .fieldgroup[data-drupal-selector="edit-modality"]:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e80e";
  font-family: Fontello;
  font-size: 20px;
  position: absolute;
  top: -38px;
  left: 20px;
  color: rgb(157, 196, 255);
}

.tags-filters #edit-created-wrapper legend:after,
.tags-filters #edit-event-date-wrapper legend:after,
.tags-filters #edit-event-date-wrapper--3 legend:after,
.tags-filters #edit-event-date-wrapper--5 legend:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e80c";
  font-family: Fontello;
  color: rgb(157, 196, 255);
  font-size: 20px;
  position: absolute;
  top: 15px;
  left: 20px;
}

.tags-filters #edit-created-wrapper legend.is-active,
.tags-filters #edit-event-date-wrapper legend.is-active,
.tags-filters #edit-event-date-wrapper--3 legend.is-active,
.tags-filters #edit-event-date-wrapper--5 legend.is-active {
  z-index: 50;
}

.selected-tags .tag--filter svg {
  width: 9px;
  margin-left: 10px;
  pointer-events: none;
  top: 50%;
  margin-top: -5px;
  position: absolute;
  right: 10px;
}

[data-drupal-selector*="edit-reset"].is-disabled {
  display: none;
}

.clear-filter-mo {
  display: none;
}

.dates-pick {
  height: 100px;
  background-color: antiquewhite;
  width: 100%;
}

.filters-news.is-active-date {
  padding-bottom: 4rem;
}

/* .filter-years .bef-toggle--select-all, .filter-years .label-count{
    display: none;
} */

.filter-years .tags-filters .fieldgroup .fieldset-wrapper {
  padding-bottom: 1rem;
}

.filter-years .tags-filters .fieldgroup .fieldset-wrapper .form-checkboxes {
  max-height: 336px;
  padding-bottom: 2.4rem;
}

/* .filter-years [data-drupal-selector*="edit-reset"]{
    display: none;
}

.filter-years .views-tags-container{
    display: none;
} */

.tags-filters #edit-year--wrapper legend:after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e80c";
  font-family: Fontello;
  color: rgb(157, 196, 255);
  font-size: 20px;
  position: absolute;
  top: 15px;
  left: 20px;
}

.filter-years .btn-mobile-filter,
.filter-titles .btn-mobile-filter {
  display: none;
}

.filter-years .close-filter {
  display: none;
}

.filter-years .tags-filters .fieldgroup {
  max-width: 280px;
  min-width: 280px;
}

.filter-years .tags-filters .fieldgroup .fieldset-wrapper .form-type-checkbox {
  margin-right: 1rem;
}

.filter-titles .tags-filters form > .js-form-item,
.filter-words-full .tags-filters > form .form-item-title {
  padding: 0;
  position: relative;
}

.filter-titles .tags-filters form > .js-form-item {
  max-width: 245px;
}

.filter-words-full .tags-filters > form .form-item-title.is-active {
  width: 100%;
  border-right: none;
  padding-right: 0;
}

.filter-words-full .tags-filters > form .form-item-title::after,
.filter-titles .tags-filters form > .js-form-item::after,
.search-title-mobile .form-item-title::after {
  line-height: 1;
  font-weight: normal;
  text-transform: none;
  font-variant: normal;
  content: "\e810";
  font-family: Fontello;
  font-size: 20px;
  position: absolute;
  top: 19px;
  left: 20px;
  color: rgb(157, 196, 255);
}

.filter-words-full {
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.filter-words-full .coh-style-margin-bottom-small {
  margin-bottom: 0;
}

/* .filter-words.filter-words-full.is-active {
    padding-bottom: 1.8rem;
} */

.search-title-mobile .form-item-title {
  position: relative;
}

.filter-titles .tags-filters form > .js-form-item > input,
.filter-words-full .tags-filters > form .form-item-title input,
.search-title-mobile .form-item-title input {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  height: 54px;
  padding: 0 3rem;
  border: none;
  background-image: none !important;
  padding-top: 3px;
  line-height: 54px;
}

.filter-titles.is-active {
  padding-bottom: 4.3rem;
}

.filter-words.filter-words-full .tags-filters > form {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.filter-words.filter-words-full .tags-filters > form {
  max-width: unset !important;
}

.filter-words.filter-words-full .tags-filters {
  margin: 0 auto;
  max-width: 82rem;
}

.filter-words-full .search-title-mobile .form-item-title .close-filter-words {
  position: absolute;
  top: 20px;
  right: 20px;
  display: none;
  cursor: pointer;
}

.filter-words-full .tags-filters > form .form-item-title .close-filter-words {
  position: absolute;
  top: 20px;
  right: 20px;
  display: none;
  cursor: pointer;
}

.filter-words-full .tags-filters > form .form-item-title {
  border-right: 1px solid #9dc4ff;
  padding-right: 1rem;
}

.filter-words-full .tags-filters .form-item-title.is-active .close-filter-words,
.tags--certicates-v2 .form-item-title.is-active .close-filter-words,
.filter-words-full
  .search-title-mobile
  .form-item-title.is-active
  .close-filter-words {
  display: block;
}

.filter-words-full .form-item-title .close-filter-words svg,
.tags--certicates-v2 .close-filter-words svg {
  fill: #aaaaaa;
  width: 16px;
  height: 16px;
}

.filter-titles .btn-mobile-filter {
  width: 100%;
}

.filter-years .views-tags-container .selected-tags.is-active {
  white-space: nowrap;
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-end;
  transform: translateX(-69%);
  padding-right: 2rem;
}

/* litepicker mobile */
.tags-filters #edit-created-wrapper .litepicker,
.tags-filters #edit-event-date-wrapper .litepicker,
.tags-filters #edit-event-date-wrapper--3 .litepicker,
.tags-filters #edit-event-date-wrapper--5 .litepicker {
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: 0 !important;
  z-index: 10 !important;
  margin-top: 148px !important;
  min-width: 356px;
}

.tags-filters
  #edit-created-wrapper
  .litepicker
  .container__months
  .month-item-header
  div
  > *,
.tags-filters
  #edit-event-date-wrapper
  .litepicker
  .container__months
  .month-item-header
  div
  > *,
.tags-filters
  #edit-event-date-wrapper--3
  .litepicker
  .container__months
  .month-item-header
  div
  > *,
.tags-filters
  #edit-event-date-wrapper--5
  .litepicker
  .container__months
  .month-item-header
  div
  > * {
  font-weight: 600;
  text-transform: capitalize;
}

.tags-filters #edit-created-wrapper fieldset .litepicker .container__main,
.tags-filters #edit-event-date-wrapper fieldset .litepicker .container__main,
.tags-filters #edit-event-date-wrapper--3 fieldset .litepicker .container__main,
.tags-filters
  #edit-event-date-wrapper--5
  fieldset
  .litepicker
  .container__main {
  justify-content: center;
  width: 100%;
}

.tags-filters
  #edit-created-wrapper
  fieldset
  .litepicker
  .container__main
  .container__months,
.tags-filters
  #edit-created-wrapper
  fieldset
  .litepicker
  .container__main
  .month-item,
.tags-filters
  #edit-event-date-wrapper
  fieldset
  .litepicker
  .container__main
  .container__months,
.tags-filters
  #edit-event-date-wrapper
  fieldset
  .litepicker
  .container__main
  .month-item,
.tags-filters
  #edit-event-date-wrapper--3
  fieldset
  .litepicker
  .container__main
  .container__months,
.tags-filters
  #edit-event-date-wrapper--3
  fieldset
  .litepicker
  .container__main
  .month-item {
  width: 100%;
}

.tags-filters
  #edit-created-wrapper
  fieldset
  .litepicker
  .container__main
  .month-item,
.tags-filters
  #edit-event-date-wrapper
  fieldset
  .litepicker
  .container__main
  .month-item,
.tags-filters
  #edit-event-date-wrapper--3
  fieldset
  .litepicker
  .container__main
  .month-item,
.tags-filters
  #edit-event-date-wrapper--5
  fieldset
  .litepicker
  .container__main
  .month-item {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.tags-filters
  #edit-created-wrapper
  fieldset
  .litepicker
  .container__main
  .month-item-header,
.tags-filters
  #edit-event-date-wrapper
  fieldset
  .litepicker
  .container__main
  .month-item-header,
.tags-filters
  #edit-event-date-wrapper--3
  fieldset
  .litepicker
  .container__main
  .month-item-header,
.tags-filters
  #edit-event-date-wrapper--5
  fieldset
  .litepicker
  .container__main
  .month-item-header {
  justify-content: space-between !important;
  padding: 20px 40px !important;
}

.tags-filters #edit-created-wrapper .litepicker .container__days > div,
.tags-filters #edit-event-date-wrapper .litepicker .container__days > div,
.tags-filters #edit-event-date-wrapper--3 .litepicker .container__days > div,
.tags-filters #edit-event-date-wrapper--5 .litepicker .container__days > div {
  width: calc(100% / 7) !important;
}

.tags--certicates form {
  justify-content: end;
  gap: 0;
}

.tags--certicates-v2 .form-actions {
  position: relative !important;
}

.tags--certicates-v2 .close-filter-words {
  position: absolute;
  top: 20px;
  right: 20px;
  display: none;
  cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1440px) {
  .tags-filters--events fieldset[data-drupal-selector="edit-academic-unit"] {
    max-width: 225px;
    min-width: 225px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-academic-unit"]
    .fieldset-wrapper {
    padding-bottom: 68px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-academic-unit"]
    .label-count {
    bottom: 40px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-academic-unit"]
    .bef-toggle {
    bottom: 1rem;
    left: 1rem;
    right: auto;
  }

  .tags-filters--events fieldset[data-drupal-selector="edit-tipology"] {
    max-width: 175px;
    min-width: 175px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-tipology"]
    .fieldset-wrapper {
    padding-bottom: 68px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-tipology"]
    .label-count {
    bottom: 40px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-tipology"]
    .bef-toggle {
    bottom: 1rem;
    left: 1rem;
    right: auto;
  }

  .tags-filters--events fieldset[data-drupal-selector="edit-directed-to"] {
    max-width: 200px;
    min-width: 200px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-directed-to"]
    .fieldset-wrapper {
    padding-bottom: 68px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-directed-to"]
    .label-count {
    bottom: 40px;
  }

  .tags-filters--events
    fieldset[data-drupal-selector="edit-directed-to"]
    .bef-toggle {
    bottom: 1rem;
    left: 1rem;
    right: auto;
  }
}

@media (min-width: 768px) {
  .filter-titles .tags-filters form > .form-item-title > input,
  .filter-words-full .tags-filters > form .form-item-title input {
    padding: 0 1.5rem 0 3rem;
  }

  .filter-titles .tags-filters form > .form-item-title.is-active > input,
  .filter-words-full .tags-filters > form .form-item-title.is-active input {
    padding-right: 3rem;
  }

  .tags-filters--events > form {
    gap: 1rem 12px !important;
  }

  .tags-filters--events:not(.tags--certicates-v2) .js-form-item-title,
  .tags-filters:not(.tags--certicates-v2) .js-form-item-title {
    padding-right: 12px !important;
    min-width: 219px;
    max-width: 400px;
    width: 100%;
  }

  .tags-filters--events:not(.tags--certicates-v2) .js-form-item-title.is-active,
  .tags-filters:not(.tags--certicates-v2) .js-form-item-title.is-active {
    padding-right: 0 !important;
    min-width: 219px;
    max-width: 100%;
    width: 100%;
  }

  .tags-filters--events div[data-drupal-selector="edit-event-date-wrapper"],
  .tags-filters--events #edit-event-date-wrapper--3 {
    max-width: 158px;
    min-width: 158px;
  }
}

@media (max-width: 767px) {
  .filter-words.is-open,
  .filter-words-full.is-open,
  .filter-news.is-open {
    z-index: 9 !important;
  }

  .filter-years .views-tags-container .selected-tags.is-active {
    white-space: wrap;
    display: flex;
    justify-content: flex-start;
    padding-right: 0 !important;
    flex-wrap: wrap;
    transform: translateX(0);
    padding-right: 0;
  }

  .tags--certicates-v2 .form-actions [data-drupal-selector*="edit-reset"] {
    display: none;
  }
  .tags--certicates-v2 .form-actions,
  .tags--certicates-v2 .form-actions input {
    width: 100%;
  }

  .tags--certicates .form-actions {
    display: none !important;
  }

  .views-tags-container .selected-tags .tag--filter {
    margin-right: 10px;
    margin-left: 0px;
  }

  .views-tags-container .selected-tags {
    width: 100% !important;
    min-height: unset !important;
  }

  .tags-filters .form-actions .button {
    font-size: 14px;
  }

  .tags-filters .form-actions [data-drupal-selector*="edit-reset"] {
    font-size: 14px;
    padding-right: 10px;
  }

  .filter-words-full .search-title-mobile .form-item-title .close-filter-words {
    position: absolute;
    top: 20px;
    right: 20px;
    display: none;
    cursor: pointer;
  }

  .tags-filters #edit-created-wrapper .litepicker,
  .tags-filters #edit-event-date-wrapper .litepicker,
  .tags-filters #edit-event-date-wrapper--3 .litepicker,
  .tags-filters #edit-event-date-wrapper--5 .litepicker {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 8 !important;
    margin-top: 80px !important;
    min-width: auto;
  }

  .tags-filters #edit-created-wrapper fieldset,
  .tags-filters #edit-event-date-wrapper fieldset,
  .tags-filters #edit-event-date-wrapper--3 fieldset,
  .tags-filters #edit-event-date-wrapper--5 fieldset {
    height: 54px;
    overflow: hidden;
  }

  .tags-filters #edit-created-wrapper fieldset.is-active,
  .tags-filters #edit-event-date-wrapper fieldset.is-active,
  .tags-filters #edit-event-date-wrapper--3 fieldset.is-active,
  .tags-filters #edit-event-date-wrapper--5 fieldset.is-active {
    height: auto;
  }

  .tags-filters #edit-created-wrapper fieldset.is-active .litepicker,
  .tags-filters #edit-event-date-wrapper fieldset.is-active .litepicker,
  .tags-filters #edit-event-date-wrapper--3 fieldset.is-active .litepicker,
  .tags-filters #edit-event-date-wrapper--5 fieldset.is-active .litepicker {
    display: block !important;
  }

  .tags-filters #edit-created-wrapper fieldset .litepicker .container__main,
  .tags-filters #edit-event-date-wrapper fieldset .litepicker .container__main,
  .tags-filters
    #edit-event-date-wrapper--3
    fieldset
    .litepicker
    .container__main,
  .tags-filters
    #edit-event-date-wrapper--5
    fieldset
    .litepicker
    .container__main {
    justify-content: center;
    width: 100%;
  }

  .tags-filters
    #edit-created-wrapper
    fieldset
    .litepicker
    .container__main
    .container__months,
  .tags-filters
    #edit-created-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper
    fieldset
    .litepicker
    .container__main
    .container__months,
  .tags-filters
    #edit-event-date-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper--3
    fieldset
    .litepicker
    .container__main
    .container__months,
  .tags-filters
    #edit-event-date-wrapper--3
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper--5
    fieldset
    .litepicker
    .container__main
    .container__months,
  .tags-filters
    #edit-event-date-wrapper--5
    fieldset
    .litepicker
    .container__main
    .month-item {
    width: 100%;
  }

  .tags-filters
    #edit-created-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper--3
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper--5
    fieldset
    .litepicker
    .container__main
    .month-item {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .tags-filters
    #edit-created-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper--3
    fieldset
    .litepicker
    .container__main
    .month-item,
  .tags-filters
    #edit-event-date-wrapper--5
    fieldset
    .litepicker
    .container__main
    .month-item {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .tags-filters
    #edit-created-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item-header,
  .tags-filters
    #edit-event-date-wrapper
    fieldset
    .litepicker
    .container__main
    .month-item-header,
  .tags-filters
    #edit-event-date-wrapper--3
    fieldset
    .litepicker
    .container__main
    .month-item-header,
  .tags-filters
    #edit-event-date-wrapper--5
    fieldset
    .litepicker
    .container__main
    .month-item-header {
    justify-content: space-between !important;
    padding: 20px 32px !important;
  }

  .tags-filters #edit-created-wrapper,
  .tags-filters #edit-event-date-wrapper,
  .tags-filters #edit-event-date-wrapper--3,
  .tags-filters #edit-event-date-wrapper--5 {
    order: -1;
    background-color: #fff;
    margin-bottom: 1rem;
  }

  .tags-filters #edit-created-wrapper legend,
  .tags-filters #edit-event-date-wrapper legend,
  .tags-filters #edit-event-date-wrapper--3 legend,
  .tags-filters #edit-event-date-wrapper--5 legend {
    margin-bottom: 0;
  }

  .tags-filters #edit-created-wrapper legend.is-active,
  .tags-filters #edit-created-wrapper .date-range.is-active,
  .tags-filters #edit-event-date-wrapper legend.is-active,
  .tags-filters #edit-event-date-wrapper .date-range.is-active,
  .tags-filters #edit-event-date-wrapper--3 legend.is-active,
  .tags-filters #edit-event-date-wrapper--3 .date-range.is-active,
  .tags-filters #edit-event-date-wrapper--5 legend.is-active,
  .tags-filters #edit-event-date-wrapper--5 .date-range.is-active {
    box-shadow: none;
  }

  .tags-filters #edit-created-wrapper legend.is-active,
  .tags-filters #edit-event-date-wrapper legend.is-active,
  .tags-filters #edit-event-date-wrapper--3 legend.is-active,
  .tags-filters #edit-event-date-wrapper--5 legend.is-active {
    z-index: 0;
  }

  .date-range.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    font-size: 15px;
    min-width: auto;
  }

  .date-range.is-active::before {
    display: none;
  }

  .date-range {
    top: 60px;
  }

  .date-range .date-content {
    font-size: 15px;
    min-width: 77px;
  }

  .views-tags-container {
    display: flex;
    flex-direction: column-reverse;
  }

  .search-title-mobile {
    display: block;
  }

  .search-title-mobile .form-item-title > input {
    width: 100%;
  }

  .clear-filter-mo {
    display: block;
    margin-top: 22px;
    font-size: 1rem;
    text-decoration: underline;
    color: rgb(25, 63, 158);
    cursor: pointer;
  }

  .filter-words.filter-words-full {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .filter-words.filter-words-full .btn-mobile-filter {
    display: flex;
    margin: 0;
    width: 100%;
    margin-top: 1rem;
  }

  .filter-words.filter-words-full .tags-filters .form-item-title {
    display: none;
  }

  .tags-filters .fieldgroup .fieldset-wrapper .form-checkboxes {
    max-height: auto;
  }

  .filter-words-full .tags-filters > form .form-item-title {
    margin-bottom: 1rem;
  }

  .clear-filter-mo.is-disabled {
    display: none;
  }

  .filter-words.filter-words-full .tags-filters > form {
    display: block;
  }

  .filter-years .tags-filters .fieldgroup {
    max-width: 100%;
  }

  .tags-filters {
    flex-direction: column;
    position: fixed;
    background-color: #f4f4f4;
    padding: 1rem;
    min-height: 100vh;
    top: 0;
    left: 0;
    display: none !important;
    padding-top: 5rem;
    overflow-y: auto;
    height: 100svh;
    z-index: 8;
    width: 100%;
  }

  .filter-years .tags-filters,
  .filter-titles .tags-filters {
    flex-direction: row;
    position: relative;
    background-color: transparent;
    min-height: auto;
    top: initial;
    left: initial;
    display: block !important;
    padding: 0;
    overflow: visible !important;
    padding-top: 1rem;
    height: auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .filter-titles .tags-filters form > .js-form-item {
    max-width: 100%;
    width: 100%;
  }

  .filter-years .tags-filters .fieldgroup.is-active .fieldset-wrapper {
    position: absolute;
  }

  .tags-filters.is-open {
    display: block !important;
    padding-bottom: 6rem;
  }

  .views-tags-container .selected-tags.is-active {
    padding-top: 1rem;
    padding-right: 1rem !important;
    text-align: left;
    padding-left: 0;
  }

  .close-filter {
    display: flex;
    font-size: 1rem;
    color: rgb(0, 28, 100);
    font-weight: 500;
    position: absolute;
    top: 1rem;
    left: 1rem;
  }

  .filter-titles .close-filter {
    display: none;
  }

  .close-filter svg {
    margin-right: 10px;
  }

  .close-filter svg path {
    fill: rgb(0, 28, 100);
  }

  .btn-mobile-filter {
    display: flex;
  }

  .tags-filters .fieldgroup {
    max-width: 100%;
    width: 100%;
    margin-bottom: 1rem;
  }

  .tags-filters:not(.tags--certicates-v2) .form-actions {
    position: fixed;
    bottom: 0;
    background: #fff;
    width: 100%;
    padding: 1rem;
    left: 0;
    text-align: center;
    border-top: 1px solid #001c64;
    z-index: 8;
  }

  .tags-filters #edit-created-wrapper,
  .tags-filters #edit-event-date-wrapper,
  .tags-filters #edit-event-date-wrapper--3,
  .tags-filters #edit-event-date-wrapper--5 {
    padding: 0;
    position: relative;
    width: 100%;
  }

  .tags-filters .fieldgroup.is-active .fieldset-wrapper {
    position: relative;
  }

  .tags-filters .fieldgroup.is-active .fieldset-wrapper {
    box-shadow: none;
  }

  .views-tags-container .selected-tags.is-active {
    padding-top: 1rem;
    padding-right: 1rem;
    text-align: left;
    padding-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tags--certicates form {
    justify-content: center;
    gap: 1rem;
  }

  .filter-years .views-tags-container .selected-tags.is-active {
    white-space: wrap;
    display: flex;
    justify-content: flex-end;
    padding-right: 0 !important;
    flex-wrap: wrap;
    transform: translateX(0);
    padding-right: 0;
  }

  .filter-years .tags-filters .fieldgroup {
    max-width: 100%;
    min-width: 100%;
  }

  .filter-years
    .tags-filters
    .form-actions
    [data-drupal-selector*="edit-reset"] {
    position: static;
    transform: none;
    padding-left: 0;
    padding-top: 0;
  }

  .filter-years .tags-filters .form-actions {
    margin-right: 0;
    margin-left: auto;
  }
}

@media (max-width: 1280px) {
  .tags-filters > form {
    flex-wrap: wrap;
  }
}
