﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
:root {
  --color-black: #1A202D;
  --color-white: #fff;
  --color-grey: #EFF1F2;
  --color-grey-2: #666;
  --color-grey-3: #B0B8BC;
  --color-grey-4: #E4E4E4;
  --color-blue: #377082;
  --color-blue-2: #214855;
  --color-blue-3: #86B0BD;
  --color-blue-4: #043750;
  --color-blue-5: #28B0B6;
  --color-blue-6: #91a5af;
  --color-blue-7: #6AAEDB;
  --color-blue-8: #468EA5;
  --color-blue-9: #dee4e7;
  --color-blue-10: #52A4BE;
  --color-orange: #F58B00;
  --color-yellow: #FBBA00;
  --color-green: #7BC4A6;
  --color-green-2: #BAC629;
  --color-red: #CB0A0A;
  --color-pink: #FD7096;
  --color-violet: #A33BCF;
  --color-transparent: transparent;
  --linear-gradient: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(84, 84, 84, 0));
  --linear-gradient-2: linear-gradient(90deg, rgba(55, 112, 130, 1) 60%, rgba(55, 112, 130, 0));
  --font-family-pt-sans: "PT Sans", serif;
  --font-family-montserrat: "Montserrat", serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  --font-size: 16px;
  --font-size-sm: 12px;
  --font-size-md: 20px;
  --font-size-lg: 30px;
  --font-size-xl: 50px;
  --font-size-xxl: 100px;
  --cubic-bezier-linear: cubic-bezier(.6,.03,.44,.89);
  --cubic-bezier-linear-2: cubic-bezier(.48,.13,.51,1.01);
  --cubic-bezier-elastic: cubic-bezier(.64,.21,.55,1.56);
  --header-height: 130px;
  --header-height-lg: 64px;
  --header-height-md: 100px;
  --header-search-width: 240px;
  --header-contacts-width: 160px;
  --header-nav-height: 60px;
  --box-margin: 50px;
  --box-margin-sm: 25px;
  --border-radius-0: 0;
  --border-radius-3: 3px;
  --border-radius-15: 15px;
  --border-radius-22: 22px;
  --border-radius-30: 30px;
  --border-radius-70: 70px;
  --box-shadow-6: 0 6px 6px rgba(0, 0, 0, .7);
  --box-shadow-99: 0 0 99px rgba(0, 0, 0, .16);
}

@media (max-width: 1400px) {
  .container {
    max-width: unset;
  }
  .slideshow:has(.claim.text) .options ul.tabs {
    justify-content: center;
  }
  .slideshow:has(.claim.text) .options ul.tabs > li {
    margin-bottom: 10px;
  }
  .slideshow:has(.claim.text) .options ul.tabs > li a {
    border-bottom-right-radius: var(--border-radius-15);
    border-bottom-left-radius: var(--border-radius-15);
  }
  .slideshow:has(.claim.text) .options ul.tabs > li a::before {
    content: none;
  }
  .slideshow .claim.text::before,
  .slideshow .claim.text > div {
    width: 55%;
  }
}
@media (max-width: 1200px) {
  header {
    height: var(--header-height-lg);
  }
  header > div .container .logo {
    width: 125px;
    margin-left: 10px;
  }
  header > div .search {
    right: var(--header-nav-height);
  }
  header > div .booking {
    right: calc(var(--header-search-width) + var(--header-nav-height));
  }
  header > div .contacts {
    right: calc(var(--header-search-width) * 2 + var(--header-nav-height));
  }
  header > div > nav {
    position: fixed;
    left: 0;
    width: 100vw;
    padding: 0 !important;
    transform: translateX(100vw);
    text-align: right;
  }
  header > div > nav > ul {
    padding: 25px;
    height: 100% !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    overflow-y: auto;
  }
  header > div > nav li {
    padding: 0 !important;
    display: block !important;
    position: relative;
  }
  header > div > nav:nth-of-type(1) {
    top: calc(100vh - 200px);
    height: 200px;
    border-radius: 0;
  }
  header > div > nav:nth-of-type(1) > ul > li {
    margin: 5px;
  }
  header > div > nav:nth-of-type(2) {
    top: var(--header-height-lg);
    height: calc(100vh - var(--header-height-lg) - 200px);
    background-color: var(--color-white);
  }
  header > div > nav:nth-of-type(2) > div {
    padding: 25px;
    height: 100% !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    overflow-y: auto;
  }
  header > div > nav:nth-of-type(2) > div > div {
    padding: 0 !important;
    display: block !important;
    position: relative;
    padding-right: 30px !important;
    height: auto;
  }
  header > div > nav:nth-of-type(2) > div > div > span {
    height: auto;
    display: block;
    margin-bottom: 15px;
  }
  header > div > nav:nth-of-type(2) > div > div ul {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin-right: -40px;
    margin-bottom: 30px;
    background-color: var(--color-transparent);
    box-shadow: none;
    font-size: var(--font-size);
  }
  header > div > nav:nth-of-type(2) > div > div ul > li {
    margin-bottom: 10px;
  }
  header > div > nav:nth-of-type(2) > div > div::after {
    position: absolute;
    top: 8px;
    right: 8px;
  }
  header > div #nav-mob {
    position: absolute;
    top: 10px;
    right: 0px;
    width: var(--header-nav-height);
    height: 40px;
    cursor: pointer;
    display: block;
  }
  header > div #nav-mob::before, header > div #nav-mob::after,
  header > div #nav-mob span {
    content: "";
    position: absolute;
    top: 10px;
    left: 15px;
    width: calc(100% - 30px);
    height: 3px;
    background-color: var(--color-blue);
    transition-timing-function: var(--cubic-bezier-elastic);
    transition-duration: 0.2s;
    pointer-events: none;
  }
  header > div #nav-mob::after {
    top: 26px;
  }
  header > div #nav-mob span {
    top: 18px;
    transition-timing-function: var(--cubic-bezier-linear);
  }
  header > div #nav-mob:hover::before {
    transform: translateY(4px);
    background-color: var(--color-blue-7);
  }
  header > div #nav-mob:hover::after {
    transform: translateY(-4px);
    background-color: var(--color-blue-7);
  }
  header > div #nav-mob:hover span {
    opacity: 0;
  }
  header > div #nav-mob.exp::before {
    top: 18px;
    transform: rotate(-45deg);
  }
  header > div #nav-mob.exp::after {
    top: 18px;
    transform: rotate(45deg);
  }
  header > div #nav-mob.exp span {
    opacity: 0;
  }
  header.back > div .container .b {
    height: var(--header-height-lg);
    width: 45px;
    right: unset;
    left: 0;
    padding: 0;
    justify-content: center;
    border-bottom-right-radius: 0;
  }
  header.back > div .container .b::before {
    content: none;
  }
  header.back > div .container .b > span {
    white-space: nowrap;
    width: 20px;
    overflow: hidden;
  }
  header.back > div .logo {
    margin-left: 45px;
  }
  main {
    padding-top: var(--header-height-lg);
  }
  .slideshow {
    height: calc(100vh - var(--header-height-lg));
  }
  .slideshow .box-swiper .swiper .swiper-slide {
    height: calc(100vh - var(--header-height-lg));
  }
  .slideshow .options ul > li {
    margin-right: 15px;
    margin-left: 15px;
  }
  .sede header > div > nav:nth-of-type(2) {
    display: block;
    top: var(--header-height-lg);
    height: calc(100vh - var(--header-height-lg) - 200px);
  }
  .sede header > div > nav:nth-of-type(2) > ul {
    max-width: unset;
  }
  .sede header > div > nav:nth-of-type(2) > ul > li {
    margin: 10px 0;
  }
  .sede header > div > nav:nth-of-type(2) > ul > li a {
    justify-content: flex-end;
  }
  .sede header > div #nav-sede {
    display: none;
  }
  .ricerca-scientifica .trials-clinici > img {
    width: 45%;
    object-fit: cover;
  }
}
@media (max-width: 992px) {
  header {
    height: var(--header-height-md);
  }
  header > div .container {
    align-items: flex-start;
  }
  header > div .container::before {
    content: "";
    position: absolute;
    top: calc(var(--header-height-md) / 2 - 1px);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-blue);
  }
  header > div .container .logo {
    margin: 3px 0 0 0;
  }
  header > div .search,
  header > div .contacts,
  header > div .booking {
    height: calc(var(--header-height-md) / 2);
    top: calc(var(--header-height-md) / 2);
    width: 33.3333333333%;
    background-color: var(--color-transparent);
    color: var(--color-black);
    right: 0;
    padding: 0;
  }
  header > div .search a,
  header > div .search label,
  header > div .contacts a,
  header > div .contacts label,
  header > div .booking a,
  header > div .booking label {
    background-color: var(--color-transparent);
    color: var(--color-black);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size);
    text-transform: uppercase;
  }
  header > div .search .ico-m,
  header > div .contacts .ico-m,
  header > div .booking .ico-m {
    color: var(--color-white);
    background-color: var(--color-blue);
    height: calc(var(--header-height-md) / 2);
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-md) !important;
    width: 40px !important;
  }
  header > div .search input[type=text] {
    color: var(--color-black);
    font-size: var(--font-size);
    padding-top: 17px;
  }
  header > div .search label {
    top: 17px;
  }
  header > div .contacts {
    right: 33.3333333333%;
  }
  header > div .booking {
    right: unset;
    left: 0;
  }
  header > div nav:nth-of-type(1) {
    font-size: var(--font-size);
    height: 160px;
    top: calc(100vh - 160px);
  }
  header > div nav:nth-of-type(2) {
    top: var(--header-height-md);
    height: calc(100vh - var(--header-height-md) - 160px);
  }
  header > div #nav-mob {
    top: 5px;
  }
  header > div::after {
    content: none;
  }
  header.back > div .container .b {
    height: calc(var(--header-height-md) / 2);
  }
  header.back > div .container .logo {
    position: absolute;
    top: 4px;
    left: 55px;
    margin: 0;
  }
  header.back > div .container .logo > span {
    left: 51px;
    font-size: var(--font-size-sm);
  }
  main {
    padding-top: var(--header-height-md);
  }
  footer > div > .row > :nth-of-type(1)::before {
    background-color: var(--color-white);
  }
  footer > div > .row > :nth-of-type(1) nav {
    margin: 0;
    position: absolute;
    top: -40px;
    left: 100%;
    min-width: 190px;
  }
  .slideshow {
    height: calc(100vh - var(--header-height-md));
  }
  .slideshow .box-swiper .swiper .swiper-slide {
    height: calc(100vh - var(--header-height-md));
  }
  .slideshow .options {
    bottom: 10px;
  }
  .slideshow .options ul {
    background-color: var(--color-transparent);
    border-radius: 0;
    justify-content: center;
  }
  .slideshow .options ul > li {
    margin: 10px;
    clip-path: none;
  }
  .slideshow .options ul > li::before {
    top: 0;
    border-radius: var(--border-radius-15);
  }
  .slideshow .options ul > li a {
    padding: 20px;
  }
  .slideshow .options ul > li:has(a:hover)::before {
    transform-origin: center center;
  }
  .slideshow:has(.claim.text) {
    height: auto;
  }
  .slideshow:has(.claim.text) .claim.text {
    height: calc(100vh - var(--header-height-md));
  }
  .slideshow:has(.claim.text) .options {
    position: static;
  }
  [class*=col-]:has(.strut) .strut {
    border-radius: 0 0 0 var(--border-radius-30) !important;
  }
  .home .riabilitazione {
    padding: 0;
    background-color: var(--color-transparent) !important;
  }
  .home .riabilitazione .swiper-pagination {
    position: static;
    margin: 20px 0;
  }
  .home .centri .swiper-pagination {
    top: unset;
    bottom: 0;
    text-align: right;
    padding-right: 20px;
  }
  .home .centri .swiper-pagination .swiper-pagination-bullet:nth-of-type(1) {
    background-color: var(--color-green-2);
  }
  .home .centri .swiper-pagination .swiper-pagination-bullet:nth-of-type(2) {
    background-color: var(--color-orange);
  }
  .home .centri .swiper-pagination .swiper-pagination-bullet:nth-of-type(3) {
    background-color: var(--color-blue-7);
  }
  .sede header > div > nav:nth-of-type(2) {
    top: var(--header-height-md);
    height: calc(100vh - var(--header-height-md) - 160px);
  }
  .specialita .med .container > div {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-lg);
  }
  h1.line {
    font-size: var(--font-size-lg);
    padding-right: 50px;
  }
  h1.line::after {
    width: 30px;
    height: 8px;
    bottom: 7px;
  }
  h2 {
    font-size: var(--font-size-md);
  }
  .font-size-md {
    font-size: var(--font-size) !important;
  }
  .font-size-lg {
    font-size: var(--font-size-md) !important;
  }
  .font-size-xl {
    font-size: var(--font-size-lg) !important;
  }
  .font-size-xxl {
    font-size: var(--font-size-xl) !important;
  }
  .box-data {
    padding: var(--box-margin-sm) 0;
  }
  .box-data .box-title {
    font-size: var(--font-size);
    margin-bottom: 30px;
  }
  .box-data .box-title h2 {
    font-size: var(--font-size-lg);
  }
  .box-image > div {
    bottom: 5px;
  }
  .box-image img {
    min-height: 160px;
  }
  .box-icon:not([class*=background-]) {
    font-size: var(--font-size-md);
    background-color: var(--color-transparent);
    padding: 90px 0 0 0;
    text-align: center;
  }
  .box-icon:not([class*=background-]) > div {
    width: 100%;
  }
  .box-icon:not([class*=background-]) > span:not(.ico-m) {
    width: 80px;
    height: 80px;
    left: calc(50% - 40px);
    border-radius: 100%;
  }
  .box-icon:not([class*=background-]) .ico-m {
    color: var(--color-white) !important;
    right: unset;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 40px;
  }
  .box-icon:not([class*=background-]):hover {
    color: var(--color-blue-7);
  }
  .accordion.bullet .accordion-item .accordion-header {
    width: 100%;
  }
  .accordion.bullet .accordion-item .accordion-header .accordion-button {
    margin-left: 0;
    font-size: var(--font-size);
  }
  .bilancio-impatto .container > div {
    display: none;
  }
  .bilancio-impatto .container h2 {
    color: var(--color-white);
    text-shadow: var(--box-shadow-6);
  }
  .bilancio-impatto .container h2 b::after {
    background-color: var(--color-white);
    box-shadow: var(--box-shadow-6);
  }
  header > div .contacts {
    display: none;
  }
  header > div .search,
  header > div .booking {
    width: 50%;
  }
  footer {
    margin-top: var(--box-margin-sm);
  }
  footer > div {
    padding: var(--box-margin-sm) 0;
  }
  footer > div > .row > :nth-of-type(1)::before {
    top: -10px;
    right: 10px;
    height: calc(100% + 20px);
  }
  footer > div > .row > :nth-of-type(1) nav {
    top: -20px;
  }
  footer > div .bottom {
    margin: 25px 0 0 0;
  }
  .slideshow {
    height: auto;
  }
  .slideshow .claim {
    height: calc(100% - 175px);
  }
  .slideshow .claim h1 {
    font-size: var(--font-size-xl);
  }
  .slideshow .claim h1 > span i {
    left: 2px;
    height: 3px;
    width: calc(100% - 14px);
  }
  .slideshow .claim i {
    font-size: var(--font-size);
  }
  .slideshow .box-swiper {
    /*.swiper {
        .swiper-slide {
            height: 40vh;
        }
    }*/
  }
  .slideshow .box-swiper .swiper-pagination {
    display: none;
  }
  .slideshow .options {
    position: static;
    height: 175px;
  }
  .slideshow .options > ul {
    padding: 15px 0 3px 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
  }
  .slideshow .options > ul > li {
    margin: 0 0 12px 0;
    width: calc(50% - 6px);
  }
  .slideshow .options > ul > li::before {
    border-radius: 0;
  }
  .slideshow .options > ul > li:nth-of-type(1)::before {
    border-bottom-right-radius: var(--border-radius-15);
  }
  .slideshow .options > ul > li:nth-of-type(2)::before {
    border-bottom-left-radius: var(--border-radius-15);
  }
  .slideshow .options > ul > li:nth-of-type(3)::before {
    border-top-right-radius: var(--border-radius-15);
  }
  .slideshow .options > ul > li:nth-of-type(4)::before {
    border-top-left-radius: var(--border-radius-15);
  }
  .slideshow .options > ul > li:has(a:hover)::before {
    transform: none;
  }
  .slideshow > .title h1 {
    font-size: var(--font-size-lg);
  }
  .slideshow > .subtitle {
    font-size: var(--font-size-md);
    padding-bottom: 3px;
  }
  .slideshow:has(.claim.text) .claim.text {
    display: flex;
    align-items: center;
  }
  .slideshow:has(.claim.text) .claim.text::before {
    width: 100%;
    height: 100%;
    top: 0;
  }
  .slideshow:has(.claim.text) .claim.text > div {
    width: 100%;
  }
  .slideshow:has(.claim.text) .options {
    height: auto;
  }
  .slideshow:has(.claim.text) .options ul.tabs > li {
    width: 100%;
  }
  .slideshow:has(.claim.text) .options ul.tabs > li a {
    width: 100%;
    text-align: left;
  }
  .patologia .alfa .container > div .p b {
    font-size: var(--font-size-xl) !important;
    top: 10px;
  }
  .centri .slideshow > .title::before {
    width: 100%;
  }
  .centri .slideshow > .title h1 {
    width: 100%;
    font-size: var(--font-size-lg);
  }
  .ricerca-scientifica .navigation .box-swiper .swiper .swiper-slide {
    text-align: center;
  }
  .ricerca-scientifica .navigation .box-swiper [class*=swiper-button-] {
    top: -9px;
  }
  .ricerca-scientifica .trials-clinici > img {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
  .ricerca-scientifica .progetti-ricerca .sticky,
  .ricerca-scientifica .pubblicazioni .sticky {
    padding-right: 0;
  }
  .ricerca-scientifica .progetti-ricerca .sticky::after,
  .ricerca-scientifica .pubblicazioni .sticky::after {
    content: none;
  }
  .ricerca-scientifica .organizzazione .cont > [class*=col-]:nth-of-type(1) img {
    max-height: 300px;
  }
}
