/* tipografria */
@font-face {
  font-family: "thesansb5_plain";
  src:
    url("../fonts/thesans-b5plain-webfont.woff2") format("woff2"),
    url("fonts/thesans-b5plain-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "thesansb7_bold";
  src:
    url("../fonts/thesans-b7bold-webfont.woff2") format("woff2"),
    url("fonts/thesans-b7bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Variabili */
:root {
  /* COLORI */
  --soft-orange: #fbdeb9;
  --primary-orange: #f18c26;
  --secondary-orange: #f6af5c;
  --middle-orange: #f9c587;
  --black: #2a2a2a;
  --primary-bg: rgba(42, 42, 42, 0.1);
  --light-grey: #f2f2f2;
  --medium-grey: #d8d8d8;
  --dark-grey: #808080;
  --yellow: #fdd236;
  --soft-green: #00800033;
  --success-green: #008000;

  /* ANIMAZIONE */
  --transition: all 0.2s;

  /* FONT */
  --font-regular: "thesansb5_plain", sans-serif;
  --font-bold: "thesansb7_bold", sans-serif;

  /* FONT STYLE */
  --text-smaller: 12px;
  --text-small: 14px;
  --text-norm: 16px;
  --text-big: 18px;
  --text-bigger: 21px;

  /* SPAZIATURE */
  --gap: 8px;
  --gap-bigger: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-regular);
  font-size: var(--text-norm);
  color: var(--black);
  animation: loadpage 0.2s forwards;
}

/* LAYOUT - DESIGN SYSTEM BASIC */
a {
  color: var(--black);
  transition: var(--transition);
  text-decoration: none;
}

a.active,
a:focus,
a:hover {
  color: var(--primary-orange);
}

.text-bold {
  font-family: var(--font-bold);
}

.bg-yellow {
  background-color: var(--yellow);
}

/* D3 STATUS LABEL */
.d3-notification-status-position {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
  animation: moveInFromLeft 0.2s ease-in-out forwards;
}

@keyframes moveInFromLeft {
  0% {
    left: -8px;
    opacity: 0;
  }

  100% {
    left: 8px;
    opacity: 1;
  }
}

.status-box {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

/* Select */
.standard-select select {
  border-radius: 8px;
  padding: 6px 10px;
  appearance: none;
  background: #fff
    url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMS4yNUw2IDcuNSAxMiAxLjI1eiIgZmlsbD0iIzMzMyIvPjwvc3ZnPg==")
    no-repeat right 10px center;
  background-size: 12px;
  padding-right: 30px;
  border: 1px solid var(--black);
}

h3.month-name {
  font-size: 16px;
}

.last-updated-string {
  font-size: 14px;
  font-family: var(--font-bold);
  color: var(--dark-grey);
}

.standard-select select div {
  margin-left: 0;
}

/* Stato POSITIVO della notifica */
.status-box.is-positive .notify-status-icon {
  background: var(--success-green);
}

.status-box.is-positive .notify-status-label {
  color: var(--success-green);
}

/* Stato NEGATIVO della notifica */
.status-box.is-negative .notify-status-icon {
  background: #e62c2c;
}

.status-box.is-negative .notify-status-label {
  color: #e62c2c;
}

.notify-status-icon {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
}

/* MESSAGGIO NOTIFICA ESITO NEGATIVO */
.notification-message-container {
  padding: 16px;
  border-radius: 8px;
  max-width: 300px;
  position: absolute;
  right: 0;
  top: calc(56px + 8px);
  background-color: white;
  overflow: hidden;
  animation: moveInFromRight 0.2s ease-in-out forwards;
}

@keyframes moveInFromRight {
  0% {
    right: -32px;
    opacity: 0;
  }

  100% {
    right: 0;
    opacity: 1;
  }
}

.notification-message-container svg {
  min-width: 16px;
  height: 16px;
  max-width: 16px;
}

.notification-message-content h4 {
  font-size: 14px;
  font-family: var(--font-bold);
}

.notification-message-content p {
  font-size: 14px;
}

.notification-message-content .black-link {
  font-size: 14px;
  color: var(--black);
  text-decoration: underline;
  padding: 0;
}

a.close-rapid-message-btn {
  padding: 0 !important;
  display: flex;
}

a.close-rapid-message-btn svg {
  max-width: 14px;
  height: 14px;
  min-width: 14px;
}

.notification-message-container::after {
  content: "";
  width: 8px;
  background: var(--primary-orange);
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

/* Buttons components cta */
/* Default size */

.button-cta,
.nav-link.button-cta {
  font-size: 16px;
  color: white;
  border-radius: 8px;
  border: 1px solid var(--black);
  padding: 10px 16px;
  background-color: var(--black);
  transition: var(--transition);
}

.button-cta:hover {
  background-color: black;
  color: white;
}

.button-cta.secondary {
  background-color: var(--primary-orange);
  color: var(--black);
  border: 1px solid var(--primary-orange);
}

.button-cta.secondary:hover {
  background-color: var(--secondary-orange);
  border: 1px solid var(--secondary-orange);
}

.button-cta.tertiary {
  background-color: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.button-cta.tertiary:hover {
  background-color: black;
  color: white;
}

/* Small size */
.button-cta.small {
  padding: 10px 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  height: 32px;
}

/* Fine Buttons components */

tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid var(--medium-grey);
}

tbody tr:hover {
  background: var(--light-grey);
}

tbody tr td {
  border: none !important;
}

.w-40 {
  width: 40%;
}

.w-60 {
  width: 60%;
}

/* Links components */
.pill-link {
  width: auto;
  white-space: nowrap;
  color: var(--black);
  background-color: var(--white);
  padding: 8px 8px 8px 16px;
  border-radius: 70px;
  flex-grow: 1;
}

.ico-black-bg {
  background-color: var(--black);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

h4 {
  margin: 0;
}

.profile-user-pic {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: url("../images/gradient-bg.png");
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center right !important;
  width: 64px;
  height: 64px;
}

.user-profile-content {
  margin: 32px auto !important;
}

.profile-user-pic.compressed {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.shadow {
  box-shadow: 0px 0px 8px 0px rgba(42, 42, 42, 0.1215686275) !important;
}

/* Ul default */
.list-default {
  padding-left: 0;
  list-style-type: none;
  margin: 0;
}

/* GAP */
.gap-4 {
  gap: 4px !important;
}

.gap-8 {
  gap: 8px;
}

.gap-10 {
  gap: 10px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

.gap-40 {
  gap: 40px;
}

/* Flex-basis office card index */
.flex-basis-50 {
  flex-basis: calc(50% - 12px);
}

/* positions */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* Log-out button */
.log-out button {
  background: var(--white);
  color: var(--black);
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
}

/* table */
th,
td {
  border: none;
}

/* Button richieste */

.request-link {
  width: fit-content;
  color: var(--black);
  background-color: var(--primary-orange);
  padding: 10px 16px;
  border-radius: 8px;
  transition: 0.2s;
  height: 48px;
}

.request-link:hover {
  background-color: var(--secondary-orange);
  color: var(--black);
}

/* intro-banner component */
.intro-banner {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.intro-banner h1 {
  margin: 0;
}

/* componente filtri */
.main-content-container {
  margin-bottom: 80px !important;
}

nav.custom-fascicolo-pagination {
  padding: 24px;
  border-radius: 8px;
}

nav.custom-fascicolo-pagination.fetching {
  background-color: var(--light-grey) !important;
}

nav.custom-fascicolo-pagination.fetching::after {
  background-color: var(--light-grey);
}

nav.custom-fascicolo-pagination.fetching a {
  opacity: 0;
}

.results-counter-message {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

.filtri-container {
  width: 30%;
}

.filtri-container .filter-list {
  margin-left: 4px;
}

.results-container-wrapper {
  width: 70%;
}

.results-container-wrapper ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  min-height: 100px;
  border-radius: 8px;
}

.results-container-wrapper ul.fetching,
.results-container-wrapper ul.fetching::after {
  background-color: var(--light-grey) !important;
}

.filtri-container.anno--filtri-container {
  width: 70%;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease-in-out;
}

.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

.filters-wrapper.fixed {
  position: fixed;
  top: 140px;
  width: calc((100% - 70%) - 32px);
}

.filter-block {
  border-bottom: 1px solid var(--medium-grey);
  padding: 16px 0 16px 0;
  overflow-x: hidden;
}

.filter-block.search-input.appear {
  opacity: 1;
  visibility: visible;
  height: auto;
  padding: 0 0 16px 0;
  margin-bottom: 16px;
}

.filter-block.search-input {
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: all 0.2s;
  padding: 0;
}

.filtri-container h2 {
  font-size: 24px;
  margin: 0;
}

.filters p,
.filters label {
  margin: 0;
}

.block-label {
  padding: 8px;
  border-radius: 8px;
  background-color: var(--light-grey);
}

input.circle-checkbox {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: transparent;
  width: 24px;
  height: 24px;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 var(--black);
  transition:
    box-shadow 0.2s ease-in-out,
    background-color 0.2s ease-in-out;
}

input.circle-checkbox:checked {
  background-color: var(--black);
  box-shadow: inset 0 0 0 3px white;
}

/* document list component */
.main-content {
  width: 70%;
}

/* Pills tab component */
.nav-pills .nav-link {
  padding: 8px 16px 8px 16px;
  color: var(--black);
  font-size: 14px;
  border-radius: 0;
  font-size: 16px;
}

.nav-pills .nav-link:not(.active):hover {
  color: var(--black);
}

.nav-pills .nav-link.active {
  background: transparent;
  border-bottom: 2px solid var(--black);
  color: var(--black);
}

/* Decreti e determine layout */

/* SEARCH INPUT BASIC */

.search {
  height: 56px;
  border-radius: 8px;
  padding: 16px 8px;
  max-height: 56px;
  border: 1px solid var(--light-grey);
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

a.search-clear-button {
  color: var(--black);
  font-size: 12px;
  text-decoration: underline;
  text-transform: uppercase;
  top: 40%;
  right: 16px;
}

a.search-clear-button:hover {
  color: var(--black);
}

/* filter reset button component */

button.filter-reset-button {
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: underline;
}

/* search page */
.intro-search-page {
  max-width: calc(720px + 16px) !important;
  margin-left: 0 !important;
}

.istruzioni-search {
  font-size: var(--text-smaller);
  color: var(--dark-grey);
  margin: 0;
}

button.submit-button {
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  transition: var(--transition);
  height: 48px;
  padding: 10px 20px;
}

button.submit-button:hover {
  background: black;
  color: var(--white);
}

.intro-search-page .search-input-block {
  width: 100%;
}

.main-contents {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.filter-list hr {
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--medium-grey);
  transition: all 0.3s ease-in-out;
}

.is-transitioning {
  animation: Transitioning 0.3s ease-in-out forwards;
}

@keyframes Transitioning {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 100%;
    transform: translateX(0);
  }
}

/* homepage */
.hero {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* search component */
.search-component {
  padding: 24px;
  border-radius: 16px;
  background-color: var(--white);
}

.col-search {
  padding-right: 24px;
  border-right: 1px solid var(--medium-grey);
}

.col-search.full-w {
  width: 100%;
  border-right: none;
  padding-right: 0;
}

.search-tab-controller span,
span.preview-number,
span.total-number {
  background-color: var(--light-grey);
  padding: 4px 8px;
  border-radius: 8px;
}

.search-tab-controller span {
  margin-left: 4px;
}

.search-tab-controller.active span {
  color: white;
  background-color: var(--black);
}

/* Preloader documenti più ricercati */
.fetching {
  position: relative;
  background-color: var(--light-grey) !important;
  transition: 0.2s;
}

.fetching:hover {
  color: var(--black) !important;
}

.fetching svg {
  opacity: 0;
}

.fetching::before {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  z-index: 98;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  border: 2px solid var(--middle-orange);
}

.fetching::after {
  content: "";
  width: 34px;
  height: 6px;
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: var(--light-grey);
  transform-origin: center;
  border-radius: 0 10px 10px 0;
  animation: rotate 1s linear infinite;
}

/* Animation for rotating the circle */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* blog style */
.news-heading {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

.news-desktop-heading h3 {
  font-size: 36px;
}

.news-card {
  max-width: calc((100% / 4) - 16px);
  width: 100%;
}

.news-card a {
  color: var(--black);
}

.news-card a:hover {
  color: var(--black);
}

.category-label {
  background: var(--light-grey);
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--black);
  transition: all 0.2s;
}

.filtri-mobile .dropdown-toggle {
  color: var(--white);
  background: var(--black);
}

.filtri-mobile a.active {
  background: var(--black);
}

.category-label.active,
a.category-label:hover {
  background: var(--black);
  color: var(--white);
}

div#news-loop .news-card:nth-child(even) .news-img {
  height: 150px;
}

div#news-loop > div {
  row-gap: 40px;
}

div#news-loop .news-img {
  border-radius: 8px;
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.date p {
  font-size: 14px;
}

.news-title h2 {
  font-size: 16px;
}

/* SPECIFIC NEWS CSS */

img.featured-img {
  height: 540px;
  object-fit: cover !important;
  border-radius: 10px;
}

.news-right-side,
.news-left-side {
  width: calc(50% - 20px);
}

.upper-info {
  height: calc(540px - 50px);
}

/* Related posts */
.related-posts {
  padding: 40px 0;
}

.related-posts > p {
  font-size: 21px;
  margin: 0;
}

.related-posts a {
  color: var(--black);
}

.single-related-post {
  padding: 16px;
  transition: var(--transition);
  border-radius: 8px;
  width: 50%;
}

a.single-related-post.next-post > div {
  flex-flow: row-reverse !important;
}

a.single-related-post.next-post div > div {
  text-align: end;
}

a.single-related-post.next-post div > div .category {
  justify-content: end;
}

.single-related-post:hover {
  box-shadow: 0px 0px 8px 0px #2a2a2a1f;
  color: var(--black);
}

h4.related-post-title {
  font-size: 16px;
}

.related-post-featured-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

/* SPLIDE SLIDER COMPONENT */
.slider-section-component {
  background-color: var(--light-grey);
  padding: 40px 0;
  margin: 40px 0;
}

.splide__slide {
  width: calc((100% / 5) - (16px * 1));
}

.splide .news-card {
  max-width: 100%;
}

.splide .news-img {
  width: 100%;
  border-radius: 8px;
  height: 264px;
  object-fit: cover;
}

.post-slider-heading h2 {
  font-size: 36px;
}

.splide__arrows {
  position: relative;
}

.splide__arrow {
  opacity: 1;
  position: static;
  transform: none;
  background-color: var(--black);
  width: 32px;
  height: 32px;
}

.splide__arrow svg {
  width: 12px;
  height: 12px;
}

.splide-pagination {
  background: var(--white);
  padding: 12px;
  border-radius: 8px;
  min-width: 68px;
  text-align: center;
}

.splide__arrow--prev svg {
  transform: none;
}

.splide .category-label {
  background-color: var(--white);
}

/* OFFICE SLIDER CARD COMPONENT */
.office-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.office-card p {
  margin-bottom: 0;
}

h3.office-name {
  font-size: 21px;
  min-height: 64px;
}

h4 span {
  font-size: 16px;
}

.dirigente-label {
  font-family: var(--font-bold);
}

.office-email {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.office-email a {
  color: var(--black);
}

.bottom-wrapper {
  border-top: 1px solid #d8d8d8;
  padding-top: 16px;
}

.offices-grid .office-card .bottom-wrapper a {
  opacity: 0;
  transition: var(--transition);
}

.offices-grid .office-card:hover .bottom-wrapper a {
  opacity: 1;
}

span.open-ticket-counter {
  color: var(--white);
  background-color: var(--black);
  padding: 8px;
  border-radius: 60px;
  width: 40px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ COMPONENT */
.faqs-wrapper {
  background: var(--soft-orange);
  border-radius: 16px;
  gap: 80px;
  width: calc(100% - 64px);
  padding: 32px !important;
  margin-bottom: 40px !important;
  margin-top: 40px !important;
  max-width: calc(1440px - 64px) !important;
}

.faqs-heading h2 {
  font-size: 32px;
}

.accordion.faqs {
  width: 100%;
}

.accordion.faqs .accordion-item {
  background: transparent;
  border: none;
}

.accordion.faqs button {
  padding: 16px;
  border-radius: 90px !important;
  box-shadow: none;
  color: var(--black);
  padding-right: 40px;
}

.accordion.faqs .accordion-item:nth-child(odd) .accordion-button {
  background: var(--primary-orange);
  /* Replace with your desired color for odd elements */
}

.accordion.faqs .accordion-item:nth-child(even) .accordion-button {
  background-color: var(--secondary-orange);
  /* Replace with your desired color for even elements */
}

.accordion.faqs .faq-body {
  padding: 8px 16px 8px 16px;
  background-color: var(--white);
  border-radius: 8px;
}

.faqs-wrapper .accordion-button.collapsed::after {
  background-image: url("../images/ico-plus.svg");
  height: 32px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 32px;
  margin: 8px;
  position: absolute;
  right: 0;
}

.faqs-wrapper .accordion-button:not(.collapsed)::after {
  background-image: url("../images/ico-minus.svg");
  height: 32px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 32px;
  margin: 8px;
  position: absolute;
  right: 0;
}

/* COMPONENTE UFFICI LISTA */
.offices-grid-section {
  background: var(--light-grey);
}

.offices-grid {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  column-gap: 16px;
  row-gap: 24px;
}

.offices-grid .office-card {
  width: calc(50% - 8px);
  transition: var(--transition);
}

.offices-grid .office-card:hover {
  box-shadow: 0px 0px 8px 0px rgba(42, 42, 42, 0.1215686275);
}

.offices-grid .office-card h2 {
  font-size: 21px;
}

/* componente office-heading */
.office-heading {
  background: var(--soft-orange);
  padding: 24px;
  border-radius: 16px;
  margin-top: 24px;
}

.office-heading h1 {
  font-size: 36px;
}

.generic-info {
  padding: 8px;
  background: var(--primary-orange);
  border-radius: 20px;
}

.office-content-wrapper {
  margin-top: 24px;
  margin-bottom: 40px;
}

.office-department,
.office-dirigente-anagrafica,
.office-dirigente-info,
.default-employer-wrapper {
  padding: 24px;
  border-radius: 16px;
  background-color: var(--light-grey);
}

.office-dirigente-anagrafica .dirigente-label {
  font-size: 27px;
  font-family: var(--font-regular);
}

.office-right-side {
  width: calc(65% - 16px);
}

.office-left-side {
  width: 35%;
}

.department-specific-info {
  padding: 8px;
  border-radius: 20px;
  background: var(--medium-grey);
}

.office-department h3 {
  font-size: 21px;
}

.employee-card {
  background: var(--white);
  padding: 16px;
  border-radius: 8px;
  width: calc(50% - 4px);
}

.employee-card h4 {
  font-size: 16px;
  font-family: var(--font-bold);
}

.employee-role {
  height: 48px;
  font-size: 14px;
}

.employee-contacts {
  padding-top: 8px;
}

/* Preloader search */
#preloader-search {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  z-index: 99;
}

.spinner-border {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--primary-orange);
  border-right-color: transparent;
}

/* Search live result */
button.search-btn {
  background: transparent;
  border: none;
}

span.meta-info-office {
  font-size: 12px;
  color: var(--dark-grey);
}

/* NavBar */
.personal-profile {
  position: relative;
}

.personal-profile::after {
  content: "";
  background: var(--black);
  width: 8px;
  height: 8px;
  position: absolute;
  border-radius: 10px;
  left: 24px;
  top: 0;
  right: unset;
  animation: loggedIn 3s ease-in-out 1s infinite;
}

@keyframes loggedIn {
  0% {
    opacity: 1;
  }

  30% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(2);
    opacity: 0;
  }

  55% {
    transform: scale(1);
    opacity: 0;
  }

  90% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.right-upper-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}

.left-upper-nav ul {
  gap: 24px;
}

/* search component */
#neo-assunti {
  max-width: 960px;
  border-radius: 16px;
  padding: 40px 24px;
  background-image: url("../images/gradient-bg.png");
  margin: auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#neo-assunti h2 {
  font-size: 27px;
  margin: 0;
}

#neo-assunti h3 {
  font-size: 16px;
  margin: 0;
  font-family: var(--font-bold);
}

#neo-assunti a:hover {
  color: var(--primary-orange);
}

/* Componente Login Form Panel Screen + Loading Panel */
.login-screen {
  padding: 32px;
  border-radius: 8px;
  background-color: white;
  height: fit-content;
  margin: auto;
}

.login-screen.loading {
  width: 30%;
  gap: 24px;
}

.login-screen .form-container-panel {
  gap: 40px;
}

.login-screen h1 {
  font-size: 27px;
}

.login-screen input {
  padding: 8px;
  border-radius: 4px;
  height: 48px;
  border: 1px solid var(--light-grey);
}

/* Animated BG login-screen */
.animated-bg {
  width: 200vw;
  position: absolute;
  z-index: -1;
  animation: bgRotate 40s linear infinite;
  transform-origin: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes bgRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.blurr {
  width: 100%;
  height: 100%;
  position: absolute;
  backdrop-filter: blur(50px);
  z-index: -1;
  background: rgba(255, 255, 255, 0.01);
  /* filter: blur(50px); */
}

/* Paginazione */
nav.custom-pagination .pagination {
  margin: 24px 0;
}

nav.custom-pagination .pagination li > * {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--black);
  background-color: white;
  border: 1px solid var(--medium-grey);
}

nav.custom-pagination .pagination li.active > * {
  color: white;
  background-color: var(--black);
}

nav.custom-pagination .pagination li.disabled {
  opacity: 0.5;
}

nav.custom-pagination .pagination li .icon-content {
  font-size: 28px;
}

/* Status label */
.status-label {
  width: fit-content;
  font-size: 14px !important;
  border-radius: 50px;
  padding: 4px 8px;
  white-space: nowrap;
  display: flex;
  gap: 4px;
  font-size: var(--font-bold);
  margin-bottom: 0;
}

.status-label.in-attesa {
  background-color: var(--soft-orange);
  color: var(--primary-orange);
}

.status-label.in-approvazione {
  background-color: var(--medium-grey);
  color: var(--black);
}

.status-label.approvato {
  background-color: var(--soft-green);
  color: var(--success-green);
}

.disabled {
  opacity: 0.5;
}

/* Tabella Corsi */
.corsi-table-list tr {
  transition: var(--transition);
}

.corsi-table-list tr:hover {
  background: var(--light-grey);
}

.corsi-table-list tr td {
  padding: 16px !important;
}

.corsi-table-list .course-name {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 81px;
}

.corsi-table-list h3 {
  font-size: 16px;
  min-width: 200px;
}

.corsi-table-list .corsi-sede p {
  width: 200px;
  display: block;
  word-wrap: break-word;
}

.corsi-table-list .corsi-durata {
  white-space: nowrap;
}

.corsi-table-list button.modal-trigger {
  opacity: 0;
}

.corsi-table-list tr:hover button {
  opacity: 1;
}

/* Modal component */
.modal-default .modal-content {
  border-radius: 8px;
  padding: 24px;
}

.modal-default .modal-content .modal-head {
  min-height: 40px;
}

.modal-default .modal-content .btn-close {
  right: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background-color: var(--black);
  border-radius: 50%;
  padding: 0;
}

.modal-default .modal-content .btn-close svg {
  height: 14px;
  fill: white;
}

.modal-default .modal-content .body p {
  text-align: center;
}

.modal-default .modal-content .action-button-wrapper button {
  width: 100px;
}

/* Employee results V2 */
div#employee-results {
  padding: 16px;
}

.office-divider-result {
  text-decoration: none;
}

.employee {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--medium-grey);
  transition: var(--transition);
}

.employee:hover {
  background: var(--light-grey);
}

.employee div {
  width: 50%;
}

.employee-result .employee-role {
  height: auto;
  font-size: var(--text-small);
  color: var(--dark-grey);
}

.employee-result .contact-info a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.document-list.fetching::after {
  background: var(--light-grey);
}

.document-list.fetching {
  background-color: var(--light-grey) !important;
  height: 52px;
  border-radius: 8px;
}

/* PAGINA DEI MODULI */
.moduli.hero h1 {
  font-size: 36px;
}

.moduli-content {
  background-color: var(--light-grey);
  padding: 32px 0;
}

.moduli-content h2 {
  font-size: 27px;
}

.request {
  border-radius: 8px;
  background-color: var(--white);
  padding: 24px;
  width: calc((100% - 32px) / 3);
  transition: var(--transition);
}

.request:hover {
  box-shadow: 0px 0px 8px 0px rgba(42, 42, 42, 0.1215686275);
}

.request h3 {
  font-size: 21px;
}

.requests-category-block hr {
  margin: 0;
  height: 0;
}

/* EMPLOYEE DOCS */
.employee-doc {
  width: calc(50% - 4px);
  border: 1px solid var(--medium-grey);
  transition: var(--transition);
  padding: 8px;
  border-radius: 8px;
  background-color: transparent;
}

.employee-doc:hover {
  background-color: var(--light-grey);
}

.error-warning {
  background-color: rgb(247, 174, 174);
  padding: 12px;
  border-radius: 16px;
  margin-bottom: 32px;
  width: fit-content;
}

/* MEDIA QUERY */
/* MOBILE */
@media screen and (max-width: 767px) {
  .employee-result .employee {
    flex-direction: column !important;
  }

  div#pills-tabContent ul {
    padding: 16px 0 !important;
  }

  .col-search ul#pills-tab {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: start !important;
    padding: 8px 0;
  }

  .col-search ul#pills-tab li {
    width: auto !important;
    flex: 0 0 auto;
  }

  .all-results ul#pills-tab li {
    flex: 0 0 auto;
  }

  div#userContentModular.documenti-layout .panel-heading {
    flex-direction: column;
    gap: 16px;
  }

  div#userContentModular.documenti-layout .panel-heading > * {
    width: 100%;
    justify-content: space-between;
  }

  .corsi-table-list button.modal-trigger {
    opacity: 1;
  }

  div#d3docs-results {
    padding: 0 !important;
  }

  .all-results ul#pills-tab {
    flex-direction: row;
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    border: none;
  }

  .employee div {
    width: 100%;
  }

  .corsi-table-list button {
    opacity: 1;
  }

  .d-none-mobile {
    display: none !important;
  }

  #userNavModular {
    gap: 8px;
  }

  #userNavModular.gap-mobile-dashboard {
    gap: 24px;
  }

  .gap-8.user {
    gap: 16px;
  }

  .user-profile-content {
    margin: 0 !important;
  }

  .login-screen {
    padding: 16px;
  }

  .login-screen.loading {
    width: 90%;
  }

  .office-department,
  .office-dirigente-anagrafica,
  .office-dirigente-info,
  .default-employer-wrapper {
    padding: 16px;
  }

  .user-profile-content {
    margin-bottom: 40px !important;
  }

  /* search component */
  .search-component {
    padding: 16px;
  }

  #neo-assunti {
    max-width: auto;
    width: 100%;
    border-radius: 20px;
    padding: 24px 16px;
    background-image: unset;
    background-color: var(--middle-orange);
    gap: 16px;
  }

  #neo-assunti .w-40,
  #neo-assunti .w-60 {
    width: 100%;
  }

  #neo-assunti .w-40 {
    gap: 16px;
  }

  .news-heading {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .office-right-side,
  .office-left-side {
    width: 100%;
  }

  .office-heading {
    padding: 16px;
  }

  .employee-card {
    width: 100%;
  }

  .office-department,
  .office-dirigente-anagrafica,
  .office-dirigente-info {
    padding: 16px;
  }

  .office-heading > div {
    gap: 8px;
  }

  p.office-phone {
    border: 1px solid var(--black);
    padding: 8px 16px;
    border-radius: 40px;
    width: fit-content;
  }

  .offices-grid .office-card > div {
    gap: 16px;
  }

  .offices-grid .office-card {
    padding: 16px;
  }

  .offices-grid .office-card .bottom-wrapper a {
    opacity: 1;
  }

  .offices-grid .office-card {
    width: 100%;
  }

  .faqs-wrapper {
    width: calc(100% - 32px);
    padding: 16px !important;
    gap: 16px;
  }

  a.single-related-post.next-post > div {
    flex-flow: column !important;
  }

  a.single-related-post.next-post div > div .category {
    justify-content: unset;
  }

  a.single-related-post.next-post div > div {
    text-align: unset;
  }

  img.featured-img {
    height: 288px;
  }

  .related-post-featured-img {
    height: 120px;
    width: 100%;
  }

  .related-posts-container {
    gap: 16px;
  }

  .single-related-post {
    padding: 0;
  }

  .related-posts {
    padding: 16px 0;
  }

  .news-right-side {
    gap: 8px;
  }

  .related-post-meta-info {
    display: flex;
    gap: 4px;
    flex-direction: column;
  }

  .single-related-post > div {
    gap: 8px;
  }

  .show-template-news > div {
    gap: 16px;
  }

  .upper-info {
    height: auto;
  }

  .news-right-side,
  .news-left-side {
    width: 100%;
  }

  .news-card {
    min-width: 100%;
  }

  .col-search {
    padding-right: 0;
    border-right: none;
  }

  .search {
    height: 60px;
    border-radius: 8px;
    padding: 16px 8px;
    max-height: 60px;
  }

  .search-input-block {
    width: 100%;
  }

  .intro-banner {
    gap: 16px;
  }

  .modal-body h2 {
    font-size: 21px;
  }

  .primary.decretiSearch.fixed {
    top: 74px;
    right: 16px;
    width: calc(100% - 32px);
    position: fixed;
  }

  .search-box-decr h3 {
    margin: 0;
    font-size: 21px;
  }

  .filtri-container {
    width: 100%;
  }

  .primary.decretiSearch,
  .intro-banner form {
    width: 100%;
  }

  .main-content {
    width: 100%;
    padding-top: 16px;
  }

  .intro-banner {
    padding-bottom: 16px !important;
  }

  .mobile-filters button {
    color: var(--black);
    background: transparent;
    border: none;
    padding: 0;
  }

  .filters {
    padding-top: 0;
  }

  .request {
    width: 100%;
  }
}

@media (min-width: 767px) {
  .news-card {
    max-width: calc((100% / 2) - 16px);
  }

  .request {
    width: calc((100% - 16px) / 2);
  }
}

@media (min-width: 992px) {
  .news-card {
    max-width: calc((100% / 4) - 16px);
  }

  .request {
    width: calc((100% - 16px) / 2);
  }
}

@media (min-width: 1200px) {
  .request {
    width: calc((100% - 32px) / 3);
  }
}
