@media (min-width: 576px) {
  .border-sm {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  }
  .indent .title {
    padding-right: 2rem;
  }
  .indent .content {
    padding-left: 3rem;
  }
  .line-custom {
    top: -20px;
  }
  .line-custom .lines {
    top: 45%;
  }
  .swiperTimeLine .swiper-button-next,
  .swiperTimeLine .swiper-button-prev {
    top: 35px;
  }
  .didascalie-alternate .img-container {
    max-height: 400px;
  }
  .didascalie-alternate .container-fluid {
    padding-bottom: 400px;
  }
  .card-news .border-custom {
    border-image: linear-gradient(
        to right,
        transparent 3rem,
        rgba(0, 0, 0, 0.75) 3rem,
        rgba(0, 0, 0, 0.75) 5.5rem,
        transparent 5.5rem
      )
      1;
  }
}
@media (min-width: 768px) {
   .border-col {
    position: relative;
}

.border-col.border-md-end::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: -14px; /* metà del + */
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #fff;
    color: var(--red) ;
    font-weight: 300;
    font-size: 40px;
    line-height: 26px;
    text-align: center;
    z-index: 2;
}
    .border-md-end {
        border-right: 1px solid var(--bs-border-color, #dee2e6);
    }
  .container-bigger {
    max-width: 780px;
  }
  .ratio-md-16x9 {
    --bs-aspect-ratio: 56.25%;
  }
  .w-md-40 {
    width: 40% !important;
  }
  .w-md-60 {
    width: 60% !important;
  }
  .w-md-90 {
    width: 90% !important;
  }
  .w-md-100 {
    width: 100% !important;
  }
  .testata,
  .testata-2,
  .testata-breadcrumb {
    margin-top: 115px;
  }
  .testata {
    height: 65vh;
  }
  .testata-2 {
    height: 36vh;
    max-height: 350px;
  }
  .testata-home {
    min-height: 700px;
    height: calc(100vh - 115px);
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    justify-content: end;
  }
  .time-line .label > div {
    height: 200px;
    width: 75px;
    background: white;
    position: relative;
  }
  .swiperTimeLine .swiper-button-next {
    top: 110px;
    right: 20px;
    transform: translateY(8px);
  }
  .swiperTimeLine .swiper-button-prev {
    top: 45px;
    right: 25px;
    transform: translateY(8px);
    left: auto;
  }
  .gallery-item {
    flex: 0 0 calc((100% - 1rem) / 2);
  }
}
@media (min-width: 992px) {
  .container-bigger {
    max-width: 1040px;
  }
  .container-bigger-2 {
    max-width: 1140px;
  }
  .border-lg-0 {
    border: none !important;
  }
  .position-lg-absolute {
    position: absolute !important;
  }
  .h-lg-100 {
    height: 100% !important;
  }
  .w-lg-75 {
    width: 75% !important;
  }
  .w-lg-95 {
    width: 95% !important;
  }
  .line-custom {
    top: 50%;
    transform: translateY(calc(-50% - 60px));
  }
  .home .soluzioni .logo {
    max-width: 280px;
    right: calc(10% - 4rem);
  }
  .btn-angle:not(.no-animation) > span {
    transform: translateX(-100%);
  }
  .btn-angle:not(.no-animation):hover > span {
    transform: translateX(0);
  }
  .logo-footer {
    max-width: 265px;
  }
  .time-line .border-custom {
    border-bottom: none;
    border-right: 2px solid transparent;
    border-image: repeating-linear-gradient(
        to bottom,
        var(--red) 0,
        var(--red) 5px,
        transparent 6px,
        transparent 10px
      )
      1 round;
  }
  .didascalie-alternate .img-container {
    max-height: 500px;
  }
  .didascalie-alternate .container-fluid {
    padding-bottom: 500px;
  }
  .tendina {
    transition: all 0.3s ease-in-out;
    transform: translateY(100%);
  }
  .gallery-item .tendina {
    transition: all 0.3s ease-in-out;
    transform: translateY(100%);
  }
  .gallery-item:hover .tendina {
    transform: translateY(0);
  }
}
@media (min-width: 1200px) {
  .flex-row-xl-reverse {
    flex-direction: row-reverse !important;
}
  .container-bigger {
    max-width: 1240px;
  }
  .container-bigger-2 {
    max-width: 1340px;
  }
  .ratio-xl-21x9 {
    --bs-aspect-ratio: 42.8571428571%;
  }
  .position-xl-absolute {
    position: absolute !important;
  }
  .position-xl-static {
    position: static !important;
  }
  .translate-middle-xl-x {
    transform: translateX(-50%);
  }
  /* HEADER */
  .header .logo-container {
    top: 20px;
  }
  .header .logo-header {
    max-width: 236px;
  }
  .header .navbar-nav {
    position: relative;
    right: -0.5rem;
  }
  .header .navbar-nav > .nav-item .nav-link {
    transition: all 0.3s ease-in-out;
  }
  .header .navbar-nav > .nav-item:hover .nav-link {
    color: var(--red);
  }
  .header .nav-link-2 {
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
  }
  .header .nav-link-2:hover,
  .header .nav-link-2.active {
    transform: translateY(-3px);
  }
  .header .nav-link-2::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--red);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
  }
  .header .nav-link-2:hover::before,
  .header .nav-link-2.active::before {
    transform: scaleY(1);
  }

  .testata,
  .testata-2,
  .testata-breadcrumb {
    margin-top: 190px;
  }
  .testata {
    height: 75vh;
    max-height: 600px;
  }
  .testata-home {
    height: calc(100vh - 190px);
    max-height: none;
  }
  .home .soluzioni .logo:first-of-type {
    right: calc(10% - 2.5rem);
  }
  .home .soluzioni .logo:last-of-type {
    right: 0;
  }
  .didascalie-alternate > .didascalia .img-container {
    max-height: 600px;
    width: 50vw !important;
    top: 50%;
    transform: translateY(-50%);
  }
  .didascalie-alternate > .didascalia:nth-child(odd) .img-container {
    left: auto;
    right: var(--scrollbar-w-neg);
  }
  .didascalie-alternate > .didascalia:nth-child(even) .img-container {
    left: 0;
  }
  .didascalie-alternate > .didascalia:nth-child(even) .row {
    justify-content: end !important;
  }
  .didascalie-alternate .container-fluid {
    padding-bottom: 0;
  }
  .gallery > * {
    width: calc((100% - 1rem * 2) / 3);
  }
  .gallery-item {
    flex: 0 0 calc((100% - 2 * 1rem) / 3);
  }
}
@media (min-width: 1400px) {
  .container-bigger {
    max-width: 1440px;
  }
  .container-bigger-2 {
    max-width: 1540px;
  }
  .header .logo-container {
    top: 50px;
  }
  .header .nav-label {
    width: 50px;
    height: 50px;
  }
  .header .navbar .translate-left {
    left: -50px;
  }
  .header .navbar .translate-right {
    right: -50px;
  }
  .list-major li {
    padding: 2rem 0;
  }
  .w-xxl-66 {
    width: 66.666% !important;
  }
  .testata .label {
    transform: translateX(calc(-100% + 1px)) !important;
  }
}
@media (min-width: 1500px) {
  .navbar .translate-left {
    position: relative;
    column-gap: 1rem;
    left: calc(-50px - 1rem);
  }
  .navbar .translate-right {
    position: relative;
    column-gap: 1rem;
    right: calc(-50px - 1rem);
  }
}
@media (min-width: 1700px) {
  .container-bigger {
    max-width: 1604px;
  }
  .container-bigger-2 {
    max-width: 1786px;
  }
  .mt-xxxl-5 {
    margin-top: 3rem !important;
  }
}
