@charset "utf-8";
/* CSS Document */
:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
::selection {
  color: white;        /* Colore del testo selezionato */
  background-color: #FF5200;  /* Colore dello sfondo della selezione */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, button, .scrollable-area, .scrollable-area *,.slideshow-control.right, .slideshow-control.left, .close-icon {
    cursor: none !important;  /* Forza il nascondimento del cursore di sistema */
}

#interactive-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}
@media (max-width: 576px),(hover: none) and (pointer: coarse) {
  #interactive-cursor {
    display: none !important;
  }
}

.cursor-arrow {
  width: 100%; 
  height: auto;
  transform-origin: center;
}
a {
  cursor: none;
}
footer {
background-color: #E8E8E8;
	overflow:hidden;
}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
	overlayX:hidden;
}

[tabindex="-1"]:focus {
  outline: 0 !important;
}
abbr[title],
abbr[data-original-title] {
  text-decoration: none;
  -webkit-text-decoration: none;
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}
pre,
code,
kbd,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
  cursor: pointer;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

select {
  word-wrap: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
textarea {
  overflow: auto;
  resize: vertical;
}
address {
  margin-bottom: 0rem;
  font-style: normal;
  line-height: inherit;
}
contact {
  margin-bottom: 0rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: .5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

a {
  color: #333;
  text-decoration: none;
  background-color: transparent;
}

.footer-link {
  position: relative;
  display: inline-block;
  color: #333; /* Opzionale: cambia il colore del testo se necessario */
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.5px;
  background-color: #333; /* Stessa tonalità del testo per coerenza */
  transition: width 0.5s ease-in-out;
  opacity: 0;
}

.footer-link:hover::after {
  width: 100%;
  opacity: 1;
}
.contatti{
	padding-right:0px!important;
}
.text-contacts{
	font-size:90px;
}
@media(max-width:768px){
	.text-contacts{
		font-size:80px;
	}
}
@media(max-width:576px){
	.text-contacts{
		font-size:40px;
		margin-bottom:20px;
	}
}
.social-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
	justify-content: center;/* Aligns items to the right */
    text-align: right;
    gap: 10px;
	margin-top:1%;
	box-sizing: border-box;
	/* Space between elements */
}
@media(max-width:768px){
	.social-icons{
		gap: 5px;
	}
}
@media(max-width:576px){
	.social-icons{
		gap:10px;
	}
}

.icons {
    display: flex;
	justify-content: center;
    gap: 20px;
	/* Space between icons */
}
@media(max-width:576px){
	.icons{
		margin-top:10px;
	}
}
.social-icon {
    font-size: 20px;
    color: #333; /* Adjust color */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.social-icon img{
    color: #333; /* Adjust color */
   
}
.social-icon:hover {
    color: #FF5200; /* Change color on hover */
}
@media (max-width: 576px) { /* Per dispositivi mobili */
    .social-icon img {
        width: 25px;  /* Aumenta la dimensione */
        height: auto; /* Mantiene il rapporto */
    }
}

.tutti-cont{
	display: flex;
    justify-content: flex-end;
}
.vedi-tutti{
	position: relative;
    display: inline-flex; /* Cambiato in inline-flex per allineare testo e SVG */
    align-items: center; /* Centra verticalmente il testo e l'SVG */
    font-size: 30px;
    color: #FF5200;
    text-decoration: none;
    font-weight: 200;
    gap: 8px; /* Distanza tra il testo e l'SVG */
}
.vedi-tutti img {
    transform: scaley(-1);
	width:32px;
	height:auto;
	color: #FF5200;/* Riflette l'immagine sull'asse X */
}
.vedi-tutti::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background-color: #FF5200; /* Stessa tonalità del testo per coerenza */
  transition: width 0.5s ease-in-out;
  opacity: 0;
}

.vedi-tutti:hover::after {
  width: 100%;
  opacity: 1;
}
.download-p{
	position:relative;
    display: inline-block;
    font-size: 30px;
    color: #FF5200;
    text-decoration: none;
    font-weight: 200;
}
.download-p::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FF5200; /* Stessa tonalità del testo per coerenza */
  transition: width 0.5s ease-in-out;
  opacity: 0;
}

.download-p:hover::after {
  width: 100%;
  opacity: 1;
}
.download-cv {
	position:relative;
    display: block;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.download-cv::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #333; /* Stessa tonalità del testo per coerenza */
  transition: width 0.5s ease-in-out;
  opacity: 0;
}

.download-cv:hover::after {
  width: 100%;
  opacity: 1;
}
.marquee {
	 /* This will crop anything that exceeds the bounds */
    position: relative;
    width: 100%; /* Adjust width to factor in margins */
    white-space: nowrap;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
	/* Ensure the marquee is centered with horizontal margins */
}

.marquee span {
    display: inline-block;
    min-width: 100%;
    animation: marquee 100s linear infinite;
	border-top: 1px solid;
}
.marquee:hover span {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
hr {
  margin-top: 4rem;
  margin-bottom:2rem;
  border: 0;
}
@media(max-width:768){
	hr{
	margin-bottom:0rem;	
	margin-top: 0rem;
	border: 0;
	}
}

/* Stili generali per tutti gli heading */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0; 
  margin-bottom: 0rem;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 2.3rem;
  font-weight: 600;
}
.nome-link {
  color: inherit;    
  text-decoration: none; 
}

.nome-link:hover {
  color: inherit;
  text-decoration: none;
}

h2, .h2 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom:10px;
}
@media (max-width:993px){
	h2 {
		font-size:2.5rem;
	}
}
@media (max-width:576px){
	h2 {
		font-size:2rem;
	}
}
h3, .h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

h4, .h4 {
  font-size: 1.40rem;
  font-weight: 500;
}

h5, .h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6, .h6 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom:1.2rem;
}
p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.figure {
  display: inline-block;
}

.figure-img {
  margin-bottom: 0.5rem;
  line-height: 1;
}

.figure-caption {
  font-size: 90%;
  color: #6c757d;
}

code {
  font-size: 87.5%;
  color: #e83e8c;
  word-break: break-word;
}

a > code {
  color: inherit;
}

kbd {
  padding: 0.2rem 0.4rem;
  font-size: 87.5%;
  color: #fff;
  background-color: #212529;
  border-radius: 0.2rem;
}

kbd kbd {
  padding: 0;
  font-size: 100%;
  font-weight: 700;
}

pre {
  display: block;
  font-size: 87.5%;
  color: #212529;
}

pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}

.container {
  width: 100%;
  padding-right: 30px;
  padding-left: 30px;
  margin-right: auto;
  margin-left: auto;
	overflow:hidden;
	
  
}

@media (min-width: 576px) {
  .container {
    max-width: 740px;
  }
}
@media (max-width: 576px) {
  .container {
    padding-right: 10px;
  padding-left: 10px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1375px;
  }
}
@media(min-width:1400px){
	.container{
		max-width: 1530px;
	}
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

.col-auto {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.col-1 {
  -ms-flex: 0 0 8.333333%;
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.order-first {
  -ms-flex-order: -1;
  order: -1;
}

.order-last {
  -ms-flex-order: 13;
  order: 13;
}

.order-0 {
  -ms-flex-order: 0;
  order: 0;
}

.order-1 {
  -ms-flex-order: 1;
  order: 1;
}

.order-2 {
  -ms-flex-order: 2;
  order: 2;
}

.order-3 {
  -ms-flex-order: 3;
  order: 3;
}

.order-4 {
  -ms-flex-order: 4;
  order: 4;
}

.order-5 {
  -ms-flex-order: 5;
  order: 5;
}

.order-6 {
  -ms-flex-order: 6;
  order: 6;
}

.order-7 {
  -ms-flex-order: 7;
  order: 7;
}

.order-8 {
  -ms-flex-order: 8;
  order: 8;
}

.order-9 {
  -ms-flex-order: 9;
  order: 9;
}

.order-10 {
  -ms-flex-order: 10;
  order: 10;
}

.order-11 {
  -ms-flex-order: 11;
  order: 11;
}

.order-12 {
  -ms-flex-order: 12;
  order: 12;
}

.offset-1 {
  margin-left: 8.333333%;
}

.offset-2 {
  margin-left: 16.666667%;
}

.offset-3 {
  margin-left: 25%;
}

.offset-4 {
  margin-left: 33.333333%;
}

.offset-5 {
  margin-left: 41.666667%;
}

.offset-6 {
  margin-left: 50%;
}

.offset-7 {
  margin-left: 58.333333%;
}

.offset-8 {
  margin-left: 66.666667%;
}

.offset-9 {
  margin-left: 75%;
}

.offset-10 {
  margin-left: 83.333333%;
}

.offset-11 {
  margin-left: 91.666667%;
}

@media (min-width: 576px) {
  .col-sm {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-sm-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-sm-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-sm-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-sm-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-sm-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-sm-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-sm-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-sm-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-sm-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-sm-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-sm-first {
    -ms-flex-order: -1;
    order: -1;
  }
  .order-sm-last {
    -ms-flex-order: 13;
    order: 13;
  }
  .order-sm-0 {
    -ms-flex-order: 0;
    order: 0;
  }
  .order-sm-1 {
    -ms-flex-order: 1;
    order: 1;
  }
  .order-sm-2 {
    -ms-flex-order: 2;
    order: 2;
  }
  .order-sm-3 {
    -ms-flex-order: 3;
    order: 3;
  }
  .order-sm-4 {
    -ms-flex-order: 4;
    order: 4;
  }
  .order-sm-5 {
    -ms-flex-order: 5;
    order: 5;
  }
  .order-sm-6 {
    -ms-flex-order: 6;
    order: 6;
  }
  .order-sm-7 {
    -ms-flex-order: 7;
    order: 7;
  }
  .order-sm-8 {
    -ms-flex-order: 8;
    order: 8;
  }
  .order-sm-9 {
    -ms-flex-order: 9;
    order: 9;
  }
  .order-sm-10 {
    -ms-flex-order: 10;
    order: 10;
  }
  .order-sm-11 {
    -ms-flex-order: 11;
    order: 11;
  }
  .order-sm-12 {
    -ms-flex-order: 12;
    order: 12;
  }
  .offset-sm-0 {
    margin-left: 0;
  }
  .offset-sm-1 {
    margin-left: 8.333333%;
  }
  .offset-sm-2 {
    margin-left: 16.666667%;
  }
  .offset-sm-3 {
    margin-left: 25%;
  }
  .offset-sm-4 {
    margin-left: 33.333333%;
  }
  .offset-sm-5 {
    margin-left: 41.666667%;
  }
  .offset-sm-6 {
    margin-left: 50%;
  }
  .offset-sm-7 {
    margin-left: 58.333333%;
  }
  .offset-sm-8 {
    margin-left: 66.666667%;
  }
  .offset-sm-9 {
    margin-left: 75%;
  }
  .offset-sm-10 {
    margin-left: 83.333333%;
  }
  .offset-sm-11 {
    margin-left: 91.666667%;
  }
}

@media (min-width: 768px) {
  .col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-md-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-md-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-md-first {
    -ms-flex-order: -1;
    order: -1;
  }
  .order-md-last {
    -ms-flex-order: 13;
    order: 13;
  }
  .order-md-0 {
    -ms-flex-order: 0;
    order: 0;
  }
  .order-md-1 {
    -ms-flex-order: 1;
    order: 1;
  }
  .order-md-2 {
    -ms-flex-order: 2;
    order: 2;
  }
  .order-md-3 {
    -ms-flex-order: 3;
    order: 3;
  }
  .order-md-4 {
    -ms-flex-order: 4;
    order: 4;
  }
  .order-md-5 {
    -ms-flex-order: 5;
    order: 5;
  }
  .order-md-6 {
    -ms-flex-order: 6;
    order: 6;
  }
  .order-md-7 {
    -ms-flex-order: 7;
    order: 7;
  }
  .order-md-8 {
    -ms-flex-order: 8;
    order: 8;
  }
  .order-md-9 {
    -ms-flex-order: 9;
    order: 9;
  }
  .order-md-10 {
    -ms-flex-order: 10;
    order: 10;
  }
  .order-md-11 {
    -ms-flex-order: 11;
    order: 11;
  }
  .order-md-12 {
    -ms-flex-order: 12;
    order: 12;
  }
  .offset-md-0 {
    margin-left: 0;
  }
  .offset-md-1 {
    margin-left: 8.333333%;
  }
  .offset-md-2 {
    margin-left: 16.666667%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.333333%;
  }
  .offset-md-5 {
    margin-left: 41.666667%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.333333%;
  }
  .offset-md-8 {
    margin-left: 66.666667%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.333333%;
  }
  .offset-md-11 {
    margin-left: 91.666667%;
  }
}

@media (min-width: 992px) {
  .col-lg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-lg-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-lg-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-lg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-lg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-lg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-lg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-lg-first {
    -ms-flex-order: -1;
    order: -1;
  }
  .order-lg-last {
    -ms-flex-order: 13;
    order: 13;
  }
  .order-lg-0 {
    -ms-flex-order: 0;
    order: 0;
  }
  .order-lg-1 {
    -ms-flex-order: 1;
    order: 1;
  }
  .order-lg-2 {
    -ms-flex-order: 2;
    order: 2;
  }
  .order-lg-3 {
    -ms-flex-order: 3;
    order: 3;
  }
  .order-lg-4 {
    -ms-flex-order: 4;
    order: 4;
  }
  .order-lg-5 {
    -ms-flex-order: 5;
    order: 5;
  }
  .order-lg-6 {
    -ms-flex-order: 6;
    order: 6;
  }
  .order-lg-7 {
    -ms-flex-order: 7;
    order: 7;
  }
  .order-lg-8 {
    -ms-flex-order: 8;
    order: 8;
  }
  .order-lg-9 {
    -ms-flex-order: 9;
    order: 9;
  }
  .order-lg-10 {
    -ms-flex-order: 10;
    order: 10;
  }
  .order-lg-11 {
    -ms-flex-order: 11;
    order: 11;
  }
  .order-lg-12 {
    -ms-flex-order: 12;
    order: 12;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.333333%;
  }
  .offset-lg-5 {
    margin-left: 41.666667%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.333333%;
  }
  .offset-lg-8 {
    margin-left: 66.666667%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.333333%;
  }
  .offset-lg-11 {
    margin-left: 91.666667%;
  }
}

@media (min-width: 1200px) {
  .col-xl {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-xl-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-xl-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xl-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xl-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xl-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xl-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xl-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xl-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xl-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xl-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xl-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-xl-first {
    -ms-flex-order: -1;
    order: -1;
  }
  .order-xl-last {
    -ms-flex-order: 13;
    order: 13;
  }
  .order-xl-0 {
    -ms-flex-order: 0;
    order: 0;
  }
  .order-xl-1 {
    -ms-flex-order: 1;
    order: 1;
  }
  .order-xl-2 {
    -ms-flex-order: 2;
    order: 2;
  }
  .order-xl-3 {
    -ms-flex-order: 3;
    order: 3;
  }
  .order-xl-4 {
    -ms-flex-order: 4;
    order: 4;
  }
  .order-xl-5 {
    -ms-flex-order: 5;
    order: 5;
  }
  .order-xl-6 {
    -ms-flex-order: 6;
    order: 6;
  }
  .order-xl-7 {
    -ms-flex-order: 7;
    order: 7;
  }
  .order-xl-8 {
    -ms-flex-order: 8;
    order: 8;
  }
  .order-xl-9 {
    -ms-flex-order: 9;
    order: 9;
  }
  .order-xl-10 {
    -ms-flex-order: 10;
    order: 10;
  }
  .order-xl-11 {
    -ms-flex-order: 11;
    order: 11;
  }
  .order-xl-12 {
    -ms-flex-order: 12;
    order: 12;
  }
  .offset-xl-0 {
    margin-left: 0;
  }
  .offset-xl-1 {
    margin-left: 8.333333%;
  }
  .offset-xl-2 {
    margin-left: 16.666667%;
  }
  .offset-xl-3 {
    margin-left: 25%;
  }
  .offset-xl-4 {
    margin-left: 33.333333%;
  }
  .offset-xl-5 {
    margin-left: 41.666667%;
  }
  .offset-xl-6 {
    margin-left: 50%;
  }
  .offset-xl-7 {
    margin-left: 58.333333%;
  }
  .offset-xl-8 {
    margin-left: 66.666667%;
  }
  .offset-xl-9 {
    margin-left: 75%;
  }
  .offset-xl-10 {
    margin-left: 83.333333%;
  }
  .offset-xl-11 {
    margin-left: 91.666667%;
  }
}
#hide-header {
    position: fixed;
    top:0;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    padding: 20px 30px;
	padding-bottom: 20px;
    box-sizing: border-box;
    z-index: 1000;
	background: #fff;
	transition: top 0.4s ease-in-out;
}
@media (min-width: 993px) {
	#hide-header {
		background:none;
		top:0;
	}
}
@media (max-width: 576px) {
	#hide-header {
		padding-right:10px;
		padding-left:10px;
	}
}
.fixed-content {
    position: relative;
    top: 0;
    left: 0;
	padding-right: 15px;
    padding-left: 15px;
	height: auto;
    border-right: 1px solid rgba(200, 200, 230, 0.8);
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scrollable-area {
    position: relative;
    max-height: 500px;
    overflow-y: scroll;
	padding-right: 15px;
    padding-left: 15px;
}
/* Media Query per dispositivi con larghezza fino a 992px (Tablet) */
@media (max-width: 992px) {
    .fixed-content {
        width: 100%;
        max-width: 100%;
        border-right: none;
		height: 100%;
		margin-bottom: 20px;
    }

     .scrollable-area {
        max-height: none;
        overflow-y: visible; 
        height: auto; 
    }
}

/* Stili per la barra di scorrimento */
.scrollable-area::-webkit-scrollbar {
    width: 10px; 
}

.scrollable-area::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

.scrollable-area::-webkit-scrollbar-thumb {
    background: #888;  
}

.scrollable-area::-webkit-scrollbar-thumb:hover {
    background: #555;  /* Colore del pollice quando ci si passa sopra con il mouse */
}

.align-baseline {
  vertical-align: baseline !important;
}

.align-top {
  vertical-align: top !important;
}

.align-bottom {
  vertical-align: bottom !important;
}

.align-text-bottom {
  vertical-align: text-bottom !important;
  display: flex; /* Attiva Flexbox */
  flex-direction: column; /* Imposta gli elementi in una colonna verticale */
  justify-content: flex-end; /* Allinea il contenuto alla fine del container (basso) */
  height: 100%;
  margin-bottom: 0;
	
}

.align-text-top {
  vertical-align: text-top !important;
}

.align-middle {
  float: right; 
  align-items: center;
  
}
@media (max-width: 992px) {
  html {
    font-size: 90%;
  }
}
@media (max-width:1110px) {
	h1 {
	 font-size:2rem;
	}
}
@media (max-width:576px){
	h1{
		font-size:1.5rem;
		margin-top:5px;
	}
}
.atkinson-hyperlegible-regular {
  font-family: "Atkinson Hyperlegible", serif;
  font-weight: 400;
  font-style: normal;
}

.atkinson-hyperlegible-bold {
  font-family: "Atkinson Hyperlegible", serif;
  font-weight: 700;
  font-style: normal;
}

.atkinson-hyperlegible-regular-italic {
  font-family: "Atkinson Hyperlegible", serif;
  font-weight: 400;
  font-style: italic;
}

.atkinson-hyperlegible-bold-italic {
  font-family: "Atkinson Hyperlegible", serif;
  font-weight: 700;
  font-style: italic;
}
.video-container {
    position: relative;
    width: 100%;
    height: auto;
}
.gif{
position:relative;
	margin-top:0px;
}
@media(max-width:992px){
	.gif{
		margin-top:50px;
	}
}
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    width: 50%;
    height: 40%;
}

 /* Media queries modificate per mantenere il centraggio */
@media (min-width: 1200px) {
    .overlay-text {
        width: 65%;
        height: 50%;
        top: 50%; /* Mantiene il centraggio verticale */
        transform: translate(-50%, -50%); /* Mantiene il centraggio completo */
    }
}
@media (max-width: 1200px) {
    .overlay-text {
        width: 75%;
        height: 50%;
        top: 50%; /* Mantiene il centraggio verticale */
        transform: translate(-50%, -50%); /* Mantiene il centraggio completo */
    }
}

@media (max-width: 993px) {
    .overlay-text {
        width: 70%;
        height: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .overlay-text {
        width: 80%;
        height: 60%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 576px) {
    .overlay-text {
        width: 80%;
        height: 60%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 400px) {
    .overlay-text {
        width: 80%;
        height: 60%;
        top: 50%;
        transform: translate(-50%, -50%);
		padding:10px;
    }
}
.home-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
	margin-top:0px;
}

.home-top-left {
    padding: 0;
	margin-top:0px;
	text-transform:uppercase;
    display: block; /* Allows for multi-line text */
    white-space: pre-wrap; /* Maintains whitespace and allows natural line breaks */
    overflow: hidden;
    max-width: 100%;
	font-weight:600;

}
@media(max-width:576px){
	.home-top-left{
		font-size:9px;
		height:50px;
		margin-right: 10px;
	}
}
@media(max-width:400px){
	.home-top-left{
		font-size:7px;
		height:50px;
		margin-right: 10px;
	}
}
.home-top-right {
    padding: 0; 
	text-transform:uppercase;
	font-size:12px;
	font-weight:600;
	/* No additional padding needed if aligning to borders */
}
@media(max-width:768px){
	.home-top-right{
		font-size:9px;
	}
}
@media(max-width:576px){
	.home-top-right{
		font-size:6px;
	}
}

.text-bottom-container{
	display: flex;
    align-items: flex-end;  /* Vertically centers all child elements within this container */
    justify-content: start;/* Aligns children to the start (left side) of the container */
    height: 85px;  /* Fixed height to ensure the container is tall enough for the content */
    margin-top: 0;
	margin-bottom:0;
    overflow: hidden;  /* Prevents content from spilling outside the container boundaries */
    position: relative;  /* Establishes a positioning context for absolutely positioned children */
    width: 100%; 
}
.fixed-text {
	font-size:80px;
	white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Allinea il testo in basso */
    margin-bottom: 0;
	line-height: 1.1;
}

@media(max-width:993px){
	.fixed-text{
		font-size:60px;
	}
}
@media(max-width:768px){
	.fixed-text{
		font-size:50px;
	}
}
@media(max-width:576px){
	.fixed-text{
		font-size:35px;
	}
}
@media(max-width:400px){
	.fixed-text{
		font-size:25px;
	}
}
.rotating-texts {
    height: 100%;
	margin-left:0px;
    overflow: hidden;
	display: flex;
    align-items: flex-end;
	font-size:80px;
	box-sizing:border-box;
	white-space: nowrap;
	line-height: 1.1;
		
}

@media(max-width:993px){
	.rotating-texts{
		font-size:60px;
	}
}

@media(max-width:768px){
	.rotating-texts{
		font-size:50px;
	}
}
@media(max-width:576px){
	.rotating-texts{
		font-size:35px;
	}
}
@media(max-width:400px){
	.rotating-texts{
		font-size:25px;
	}
}
.rotating-texts span {
	margin-left:0px;
    position: absolute;
    animation: rotateWords 12s linear infinite 0s;
    opacity: 0;
    height: 70%;
	display: flex;
    align-items: flex-end; /* Forza l'allineamento in basso */
    margin-bottom: 0;
	
}
@media(max-width:576px){
	.rotating-texts span{
		height: 50%;
	}
}
/* Keyframes for the words rotation animation */
@keyframes rotateWords {
    0%, 10% { opacity: 0; transform: translateY(100%); }
    15%, 25% { opacity: 1; transform: translateY(0); }
    30%, 100% { opacity: 0; transform: translateY(-100%); }
}

/* Timing for each word */
.rotating-texts span:nth-child(1) { animation-delay: 0s; }
.rotating-texts span:nth-child(2) { animation-delay: 2s; }
.rotating-texts span:nth-child(3) { animation-delay: 4s; }
.rotating-texts span:nth-child(4) { animation-delay: 6s; }
.rotating-texts span:nth-child(5) { animation-delay: 8s; }
.rotating-texts span:nth-child(6) { animation-delay: 10s; }

.accordion-menu {
    display: flex;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); 
    height: 400px;
    max-width: 100vw!important; /* Adapts to parent container */
    margin-right:0px!important;
	margin-left:0px!important; /* Adds padding instead of margin */
    box-sizing: border-box; /* Ensures padding doesn’t increase width */
    overflow: hidden; 
	gap:0;
}
@media(max-width:768px){
	.accordion-menu {
		height: auto;
		box-sizing: border-box; /* Ensures padding doesn’t increase width */
    overflow: hidden; 
	}
}
@media(max-width:993px){
	.accordion-menu {
		height: auto;
		box-sizing: border-box; /* Ensures padding doesn’t increase width */
    overflow: hidden; 
		transition: none;
	}
}
.accordion-item {
	background: #fff;
	border:1px solid;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
	box-sizing: border-box;
}
@media(max-width:768px){
	.accordion-item{
		border:1px solid;
		height:90px;
		max-width:100vh;
	}
}
@media(max-width:576px){
	.accordion-item{
		border:1px solid;
		max-height:80px;
		max-width:100%;
	}
}
/* Ensuring cards are fully visible inside the grid */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 10px;
    text-align: center;
	box-sizing: border-box;
	
	
}

.title {
    align-self: flex-start;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
	text-align: left;
}
.left-text{
	text-align:left;
}
@media(max-width:993px){
	.title{
		font-size:50px;
		margin-bottom: none;
		font-weight: 200;
	}
}
@media(max-width:576px){
	.title{
		font-size:25px;
		margin-bottom: none;
		font-weight: 200;
		justify-content: center;
	}
}
@media(max-width:576px){
	.card{
		max-height:80px;
		margin-bottom: 0px;
		margin-top: 4px;
		justify-content: center;
	}
}
.card img {
    width: 100%;
    height: auto;
    max-height:200px;
    object-fit: cover;
}
@media(max-width:993px){
	.card img{
		position:absolute;
		width:60px;
		height:60px;
		align-self:center;
		margin-top:0px;
		margin-left:40%;
		opacity:0;
	}
	.card:hover img {
        opacity: 1;
    }
}
@media(max-width:576px){
	.card img{
		position:absolute;
		width:60px;
		height:60px;
		margin-top:0px!important;
		margin-bottom:10px!important;
		margin-left:57%;
		opacity:0;
	}
	.card:hover img {
        opacity: 1;
    }
}
.bottom-texts {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 10px;
	border-top: 1px solid;
}
@media(max-width:993px){
	.bottom-texts{
		border-top: none;
		display:none;
	}
}




/* Stile per le immagini */
/* Contenitore immagine */
.img-thumbnail {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: flex;
  margin: 0 auto;
}

/* Modalità tablet */
@media (max-width: 992px) {
  .img-thumbnail {
    width: 100%;
    height: auto;
    max-width: none;
  }
}
/* Modalità mobile */
@media (max-width: 576px) {
  .img-thumbnail {
    width: 100%;
    height: auto;
    max-width: none;
	margin-bottom:10px;
  }
}
.textpro{
	padding-bottom:10px;
	padding-top:50px;
}
.image-link {
	position: relative;
    display: block;
    width: 100%;
    height: auto;
	padding-left:0px;
	padding-right:0px;
    overflow: hidden;
	object-fit: cover;
}
/* Modalità tablet */
@media (max-width: 992px) {
  .image-link {
    width: 100%;
    height: auto;
    max-width: none;
  }
}
/* Modalità mobile */
@media (max-width: 576px) {
  .image-link {
    width: 100%;
    height: auto;
    max-width: none;
  }
}
.image-link img {
    transition: opacity 0.5s ease;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Inizialmente trasparente */
    transition: background-color 0.5s ease;
	display:flex;
	flex-direction: column;
    justify-content: space-between;
}

.hover-text {
    display:block;
    color: white;
    font-size: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 20;
	padding:20px;/* Sopra il dark-overlay */
}
.top-left {
    align-self: flex-start;
	font-size: 30px;
}

.bottom-left {
    align-self: flex-end; /* Spinge il testo in basso */
}
.bottom-text-container {
    display: flex;
    justify-content: space-between; /* Distribuisce il testo su entrambi i lati del contenitore */
    width: 100%; /* Assicura che il contenitore si estenda per tutta la larghezza dell'overlay */
    position: absolute;
    bottom: 0; /* Posiziona il contenitore in basso */
}
.bottom-right {
    align-self: flex-end;
    margin-top: auto; /* Spinge il testo in basso */
}
.image-link:hover .dark-overlay {
    background-color: rgba(252,100,0,1.00); /* Oscuramento all'hover */
}

.image-link:hover .hover-text {
    visibility: visible;
    opacity: 1;
}

.img-scroll {
    width: 100%; /* Occupa tutta la larghezza del suo contenitore */
    height: auto; /* Mantiene le proporzioni originali dell'immagine */
    display: block; /* Rimuove eventuali spazi extra sotto l'immagine */
    margin-bottom: 20px; /* Aggiunge un margine sotto per separare dall'elemento successivo */
}
.fullscreen-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* Sfondo semitrasparente */
    z-index: 9999; /* Assicurati che sia al di sopra di altri contenuti */
    display: none; /* Nascosto di default */
    justify-content: center;
    align-items: center;
}

.fullscreen-slideshow img {
    max-width: 90%; /* Larghezza massima per evitare che l'immagine esca dallo schermo */
    max-height: 90%; /* Altezza massima */
}

/* Stili per il pulsante di chiusura */
.close-icon {
    position: absolute;
    top: 50px;
    right: 50px;
    cursor: pointer;
    z-index: 10001;
	opacity: 1; /* Assicurati che sia completamente opaco */
    visibility: visible;/* Assicurati che sia sopra gli altri elementi */
}

/* Stili per i pulsanti di navigazione con immagini personalizzate */
.slideshow-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10000;
}

.slideshow-control.left {
    left: 40px;
    background: url('../immagini/cleft.png') no-repeat center;
    width: 30px; /* Adatta queste dimensioni in base alla tua icona */
    height: 30px;
}

.slideshow-control.right {
    right: 40px;
    background: url('../immagini/cright.png') no-repeat center;
    width: 30px; /* Adatta queste dimensioni in base alla tua icona */
    height: 30px;
}



/* Immagine interna al contenitore */
.profile-img-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
/* Contenitore dell'immagine */
.profile-img-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  display: inline-block;
}
/* Immagine e testo su righe separate */
  .profile-img-container {
    margin: 0 auto 1rem; /* Centra l'immagine e aggiunge spazio sotto */
  }
@media (max-width: 576px) {
    .profile-img-container {
        width: 120px;
        height: 120px;
        margin-right: 0;
    }
} 
/* Contenitore del testo */
@media (max-width: 992px) {
  .media-body {
    margin: 0; /* Nessun margine */
    padding: 0; /* Nessun padding */
    width: 100%; /* Usa tutta la larghezza disponibile */
	max-width: 100%;
    white-space: normal; /* Permette il ritorno a capo */
    overflow: visible; /* Evita il taglio del contenuto */
    box-sizing: border-box; /* Include padding e bordi nel calcolo della larghezza */
  }
}

/* Modalità mobile (max-width: 768px) */
@media (max-width: 768px) {
  .media-body {
    margin-top: 0rem;
    max-width: 100%; /* Occupa tutta la larghezza */
    width: 100%;
  }
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
  display: inline-block;
}
.align-right {
  display: flex; /* Usa Flexbox per gestire l'allineamento */
  justify-content: flex-end;/* Sposta il blocco verso destra */
}

.align-right address {
  text-align: left; /* Mantiene il testo a bandiera sinistra */
}
/* Modalità tablet */
@media (max-width: 992px) {
  .profile-row {
    display: flex; /* Attiva Flexbox */
    flex-wrap: wrap; /* Permette agli elementi di andare a capo */
  }
}
  

 /* Default */
.profile-address {
  text-align: left;
  margin-bottom: 0rem;
}

/* Stili base per la navigazione */
.navigation-links {
  display: flex;
  flex-direction: column; 
  justify-content: flex-end; 
  align-items: flex-start;
	position: fixed;
	z-index: 1500;
	padding-bottom:280px;
}
.navigation-links .nav-item {
  margin-right: 20px; 
  text-decoration: none;
  font-size: 1.5rem;
    font-weight: 500;
	color: #FF5200;
	opacity: 0.5;
	position: relative;
}
.navigation-links .nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background-color: #FF5200;
  transition: width 0.5s ease-in-out;
}
.navigation-links .nav-item:hover::after {
  width: 100%;
  opacity: 0.5;
}
.navigation-links .nav-item:hover {
    color: #FF5200; 
    opacity: 0.5;
	
}
.navigation-links .nav-item.active::after {
  opacity: 1; /* Full opacity for active item and its underline */
}
.navigation-links .nav-item.active {
  /* Colore per la voce attiva */
    opacity: 1 !important;
}
/* Stili base per il menu hamburger */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
	margin-top:7px;
	align-content:right;
	z-index: 1200;
	position:relative;
}
.hamburger-align{
float:right;
	margin-right: 25px;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
	transition: all 0.3s ease;
}
.hamburger-line:first-child {
    top: 0;
}

.hamburger-line:last-child {
    top: 18px;
}

.hamburger.active .hamburger-line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.hamburger.active .hamburger-line:last-child {
    transform: translateY(-3px) rotate(-45deg);
}
.hamburger:focus {
    outline: none;
}
/* Fullscreen menu - controlla visibilità e animazioni */
.fullscreen-menu {
    background-color: #FF5200; 
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; 
    width: 100vw; 
    display:none;
	opacity: 0;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    z-index: 1000;
    padding: 20px;
	padding-bottom:50px!important;
    box-sizing: border-box; 
     /* Imposta l'opacità iniziale a 0 */
    animation: fadeIn 0.5s ease forwards;  
	overflow: hidden;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.fullscreen-menu .nav-item {
    color: white; 
	position: relative;
    font-size: 3rem;
    font-weight: 500; 
    text-decoration: none;  
    padding: 5px 15px;  
    display: inline-block;   
    box-sizing: border-box;
    margin: 0px 0;  
    transition: text-decoration 0.3s, color 0.3s; 
	opacity: 0; 
    transform: translateY(20px); 
    animation: fadeInUp 1.5s ease forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media(min-width:768px){
	.fullscreen-menu .nav-item{
		font-size:4rem;
	}
}
.fullscreen-menu .nav-item:hover {
    text-decoration: underline;  /* Cambia sfondo al passaggio del mouse per migliore feedback visivo */
    color: #fff;  /* Mantiene il testo bianco anche al hover */
}


.hamburger.active + .fullscreen-menu {
    
	visibility: visible;
    opacity: 1;
	transition: opacity 1s ease-in, visibility 0s 0s;
}

/* Regole Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: block; /* Mostra il bottone hamburger su dispositivi mobili */
    }
    .mobile-navigation-links {
        display: visible; /* Nascondi i link di navigazione desktop su schermi mobili */
    }
	.navigation-links {
    display: none;
}
}

/* Rendi i navigation links non visibili su dispositivi mobili */

.mobile-navigation-links{
	display: flex;
	position: absolute;
        top: 50%;
	transform: translateY(-50%);
  flex-direction: column; 
  justify-content: center; 
  align-items: flex-start;
}
@media (min-width: 993px) {
    .mobile-navigation-links {
    display: none;
}
}

.close-menu {
    position: absolute;
    top: 20px;   /* Modifica questi valori secondo la necessità di posizionamento */
    right: 45px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    opacity: 1; /* Assicurati che sia completamente opaco */
    visibility: visible; /* Assicurati che sia visibile sopra gli altri elementi */
}

.close-menu img {
    width: 30px;  /* Adatta la dimensione secondo le tue necessità */
    height: 30px;
}

/* progress bar */
.progress-container {
  width: 97%;
  margin: 2rem auto;
}

/* Testo */
.progress-text {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  text-align: left;
  margin-bottom: 0.5rem;
}

/* Wrapper per barra e marker */
.progress-wrapper {
  position: relative;
  background-color: #CCCCCC !important;
}

/* Barra di progresso */
.progress {
  position: relative;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

/* marker */
.progress-markers {
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  pointer-events: none;
}
.progress-bar {
  height: 100%;
  transition: width 0.2s linear;
}

/* Marker circolari */
.marker {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 2px solid #394BB6;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Marker attivi (superati dalla barra) */
.marker.active {
  background-color: #394BB6;
  border-color: #394BB6;
}

.bg-success {
  background-color: #6371C2 !important;
}
.bg-warning {
  background-color: #A6B3FF !important;
}
.bg-danger {
  background-color: #C6CEFF !important;
}


/* Contenitore personalizzato per griglia */

.badge {
  margin-top: 0.6rem;
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media ( min-width : 768px ) and (max-width : 992px ){
    .badge {
        white-space: normal;
        display: block;
		margin-top: 0.6rem !important;
    }
}
@media (min-width: 992px) {
    .badge {
        white-space: nowrap; /* Forza il testo su una riga */
        display: inline-block;/* Torna inline */
    }
}
@media (prefers-reduced-motion: reduce) {
  .badge {
    transition: none;
  }
}
.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

a.badge-secondary:hover, a.badge-secondary:focus {
  color: #fff;
  background-color: #545b62;
}
@media ( min-width : 768px ) and (max-width : 992px ){
    .badge-secondary {
        width: fit-content; /* Si adatta al contenuto */
        max-width: 80%; /* Opzionale: limita la larghezza massima */
        margin: 0;
		display: inline-block;
        text-align: left;
        margin-left: 0;
    }
}
a.badge-secondary:focus, a.badge-secondary.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
/* Stili di base per il form */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.justify-content-center {
  justify-content: center;
}
.custom-validated-form .custom-form-control {
  border: 1px solid #ced4da; /* Grigio di base */
  padding: 0.5rem;
  border-radius: 4px;
  width: 100%;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-validated-form .custom-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
/* Campo attivo (cliccato o in focus) */
.custom-validated-form .custom-form-control:focus {
  border-color: #5468DF; /* Azzurrino */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Bagliore azzurrino */
  outline: none; /* Rimuove il contorno predefinito del browser */
}
/* Campo non valido */
.custom-validated-form .custom-form-control.invalid {
  border-color: #dc3545; /* Rosso */
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

/* Campo valido */
.custom-validated-form .custom-form-control.valid {
  border-color: #28a745; /* Verde */
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

/* Messaggi di errore */
.custom-validated-form .custom-error-message {
  display: none; /* Nascondi inizialmente */
  color: #dc3545; /* Rosso */
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Pulsante di submit */
.custom-submit-button {
  background-color: #5F72E3;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.custom-submit-button:hover {
  background-color: #6371C2;
}
.custom-popup {
  background-color: #4CAF50; /* Colore di sfondo */
  color: white; /* Colore del testo */
  padding: 10px; /* Padding intorno al testo */
  position: absolute; /* Posizionamento relativo al contenitore più vicino con posizione non statica */
  z-index: 1000; /* Assicurati che appaia sopra gli altri elementi */
  left: 50%;/* Centrato orizzontalmente rispetto al suo contenitore */
  transform: translateX(-50%);/* Centrato esattamente */
  border-radius: 5px; /* Bordi arrotondati */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Ombra leggera */
}





.text-center {
  text-align: center !important;
}
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.btn-primary {
  color: #fff;
}
.btn-primary:hover {
  color: #fff;
}
.jumbotron {
  padding: 2rem 2rem;
  margin-bottom: 2rem;
  background-color: #DFE4FF;
  border-radius: 0.3rem;
}

@media (min-width: 576px) {
  .jumbotron {
    padding: 2rem 2rem;
  }
}

.jumbotron-fluid {
  padding-right: 0;
  padding-left: 0;
  border-radius: 0;
	}
.video-youtube {
    width: 100%; /* Takes full width */
    height: auto; /* Height adjusts automatically */
    display: flex;
    justify-content: center;
}

.video-youtube iframe {
    width: 100%; /* Ensures it spans the container */
    height: auto; /* Automatically adjusts */
    aspect-ratio: 16 / 9; /* Maintains correct proportions */
}