/* host-grotesk-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/host-grotesk-v5-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/host-grotesk-v5-latin-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/host-grotesk-v5-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-500italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/host-grotesk-v5-latin-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/host-grotesk-v5-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* host-grotesk-700italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/host-grotesk-v5-latin-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
@keyframes float {
  0% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
@media (max-width: 1600px) {
  footer .footer-last-column .btn-to-top {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 35px;
  }
}
@media (max-width: 1280px) {
  .topbar .container {
    padding: 7px 15px;
  }
  .home-abstract.container {
    padding: 100px 15px;
  }
}
@media (max-width: 1024px) {
  .page-title .page-title-icon-wrapper {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: 50px;
  }
  .contact-block {
    width: 100%;
  }
  footer .container .footer-company {
    margin-bottom: 25px;
  }
}
@media (max-width: 1023px) {
  .container {
    padding: 0 15px;
  }
  .header {
    padding: 10px 15px;
    min-height: 0;
  }
  .header .header-logo {
    padding: 10px 0 10px 10px;
  }
  .header .header-logo img {
    height: 25px;
  }
  .header .header-logo:after {
    content: none;
  }
  .header .header-menu-prenota {
    margin: 0 7px 0 auto;
  }
  .header .header-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    flex-wrap: wrap;
    left: 0;
    top: 0;
    margin: 0px;
    gap: 0px;
    background-color: #55b999;
    background: #55b999 url('../img/menu-mobile-background.svg') no-repeat bottom right;
    background-size: 75% auto;
    padding: 50px 25px 25px 25px;
    box-shadow: inset 0 10px 15px -10px rgba(69, 67, 96, 0.25);
  }
  .header .header-menu .header-menu-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 25px 12px;
    border-bottom: 1px solid #fff;
    margin-bottom: 25px;
  }
  .header .header-menu .header-menu-logo img {
    height: 25px;
  }
  .header .header-menu .header-menu-logo .header-menu-btn {
    background-color: #fff;
    color: #55b999;
  }
  .header .header-menu .menu-item {
    width: 100%;
    color: #fff;
    margin-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    font-size: 47px;
    line-height: 47px;
    font-weight: 600;
  }
  .header .header-menu .menu-item.active {
    color: #fff;
  }
  .header .header-menu .menu-item:hover:after {
    display: none;
  }
  .header .header-menu .menu-item .menu-item-with-submenu svg {
    width: 35px;
    height: auto;
    transform: translateY(5px);
    transition: 0.3s;
  }
  .header .header-menu .menu-item .submenu {
    opacity: 1;
    position: relative;
    top: auto !important;
    pointer-events: all;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    max-height: 0;
    transition: 0.3s;
    overflow: hidden;
  }
  .header .header-menu .menu-item .submenu a {
    color: #000;
    font-size: 35px;
    line-height: 35px;
    padding: 4px 2px;
    transition: 0;
  }
  .header .header-menu .menu-item .submenu a:after {
    display: none;
  }
  .header .header-menu .menu-item .submenu a:hover {
    color: #000;
    background-color: transparent;
  }
  .header .header-menu .menu-item.is-open .menu-item-with-submenu svg {
    transform: rotate(180deg) translateY(-5px);
  }
  .header .header-menu .menu-item.is-open .submenu {
    max-height: 250px;
    transition: 0.5s;
    padding-top: 7px;
  }
  .header .header-menu #m_prenota {
    display: flex;
  }
  .header .header-menu.is-visible {
    display: block;
  }
  .header .header-menu-btn {
    display: block;
    background-color: #55b999;
    padding: 5px;
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    line-height: 0;
    color: #fff;
  }
  .prenota-wrapper .prenota-left {
    order: 2;
  }
  .prenota-wrapper .prenota-calendar {
    order: 1;
  }
}
@media (max-width: 768px) {
  h2.title {
    text-align: center;
    padding-top: 50px;
    margin-bottom: 35px;
  }
  h2.title.with-subtitle {
    padding-top: 50px;
  }
  .topbar .container {
    padding: 7px 15px;
  }
  .topbar .container .topbar-contatti {
    display: none;
  }
  .topbar .container .topbar-social a {
    width: 20px;
    height: 20px;
  }
  .header {
    max-width: 738px;
  }
  .home-hero {
    height: 75vh;
  }
  .home-abstract.container {
    padding: 50px 15px;
  }
  .home-abstract.container .cols {
    gap: 30px;
  }
  .home-servizi h2 {
    margin: 25px;
  }
  .home-servizi .servizi-list {
    display: block;
    margin-bottom: 25px;
  }
  .home-servizi .servizi-list .servizio-item-wrapper {
    padding: 0 10px;
  }
  .home-testimonianze {
    padding: 50px 0;
  }
  .home-testimonianze h2 {
    margin: 0 15px 25px 15px;
  }
  .home-testimonianze .testimonianze-list {
    display: block;
    margin-bottom: 25px;
  }
  .home-testimonianze .testimonianze-list .testimonianze-item-wrapper {
    padding: 0 10px;
  }
  .studio-wrapper .cols .col-text {
    padding: 35px;
  }
  .page-title {
    margin: 0 0 75px 0;
    padding-top: 125px;
    height: 350px;
  }
  .page-title .container h1 {
    margin-left: 25px;
    font-size: 70px;
  }
  .servizi-filters {
    gap: 15px;
  }
  .servizi-filters .btn {
    font-size: 18px;
    line-height: 18px;
    width: calc(50% - 20px);
  }
  .servizi-abstract {
    text-align: center;
  }
  .servizi-list .container {
    justify-content: center;
  }
  .servizi-list .container .servizio-item {
    width: calc(50% - 20px);
  }
  .quote .quote-text {
    width: calc(100% - 150px);
  }
  .quote .quote-image img {
    bottom: -170px;
    left: 400px;
  }
  .servizi-detail .cols {
    gap: 25px;
  }
  .servizi-detail .cols .col {
    flex: auto;
    width: 100%;
  }
  .servizi-detail .cols .col.col-image {
    order: 1;
  }
  .servizi-detail .cols .col.col-text {
    order: 2;
  }
  .servizi-detail .cols p:not(:last-child) {
    margin-bottom: 15px;
    text-align: left;
  }
  .subtitle {
    text-align: center;
  }
  .quote {
    flex-direction: column;
    background: #55b999;
    background: linear-gradient(0deg, #55b999 25%, #9adcea 100%);
    padding-top: 100px;
    margin-top: 175px;
  }
  .quote .quote-text {
    order: 2;
    padding: 35px;
    width: 100%;
  }
  .quote .quote-image {
    order: 1;
    width: 100%;
  }
  .quote .quote-image img {
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .prenota-wrapper .cols .col {
    flex: none;
    width: 100%;
    padding: 20px;
  }
  #days-selected p {
    text-align: left;
  }
  footer .container {
    padding: 50px 25px 25px 25px;
  }
  footer .container .footer-company {
    width: calc(50% - 10px);
    order: 1;
  }
  footer .container .footer-company .footer-logo {
    width: 250px;
  }
  footer .container .footer-last-column {
    width: calc(50% - 25px);
    align-content: flex-start;
    order: 2;
  }
  footer .container .footer-servizi {
    width: 100%;
    order: 3;
  }
  footer .container .footer-servizi h4 {
    margin: 0 0 30px 0;
  }
  footer .container .footer-servizi .footer-servizi-list {
    gap: 15px 50px;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item {
    width: calc(50% - 25px);
  }
}
@media (max-width: 600px) {
  .tns-nav {
    margin-top: 0;
  }
  .topbar .container {
    font-size: 13px;
    line-height: 13px;
  }
  .topbar .container .topbar-orario span b {
    display: none;
  }
  .header {
    width: calc(100% - 30px);
    margin: 0 15px;
    padding: 20px 15px;
    top: 50px;
  }
  .header .header-menu-prenota {
    display: none;
  }
  .header .header-menu {
    padding: 36px 25px 25px 25px;
  }
  .home-hero {
    background: url(../img/home-hero-mobile.jpg) no-repeat center center;
    background-size: cover;
    align-items: flex-end;
  }
  .home-hero .container {
    margin: 0;
  }
  .home-hero h1 {
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 50px;
  }
  .home-hero:after {
    content: none;
  }
  .home-abstract.container {
    padding: 0 15px;
  }
  .home-abstract.container .cols {
    gap: 30px;
  }
  .home-abstract.container .cols .col {
    flex: auto;
    width: 100%;
    text-align: center;
  }
  .home-servizi .servizi-list .servizio-item {
    width: calc(100% - 15px);
  }
  .home-testimonianze .testimonianze-list {
    gap: 100px;
  }
  .home-testimonianze .testimonianze-list .testimonianze-item {
    width: calc(100% - 15px);
  }
  .page-title {
    border-radius: 0 0 40px 40px;
    height: 275px;
    margin: 0 0 50px 0;
  }
  .page-title .container {
    justify-content: center;
  }
  .page-title .container h1 {
    font-size: 55px;
    line-height: 55px;
    margin: 30px auto auto auto;
  }
  .page-title .container .page-title-icon-wrapper {
    width: 250px;
    height: 250px;
    bottom: -125px;
    right: 50%;
    transform: translateX(50%);
  }
  .is-servizi-detail .page-title,
  .is-studio .page-title,
  .is-prenota .page-title,
  .is-contatti .page-title {
    height: 350px;
    margin: 0 0 100px 0;
  }
  .studio-wrapper .cols .col {
    flex: none;
    width: 100%;
    padding: 25px;
  }
  .studio-wrapper .cols .col-text {
    order: 1;
  }
  .studio-wrapper .cols .col-image {
    order: 2;
    aspect-ratio: 16 / 9;
  }
  .studio-team-list .team-member-container {
    width: calc(50% - 15px);
    height: 300px;
  }
  .studio-team-list .team-member-container .card-side.card-front {
    line-height: 20px;
  }
  .studio-team-list .team-member-container .card-side.card-front .team-member-image {
    margin-bottom: 13px;
  }
  .studio-team-list .team-member-container .card-side.card-back {
    padding-top: 20px;
  }
  .studio-team-list .team-member-container .card-side.card-back .team-member-letter {
    width: 125px;
  }
  .studio-team-list .team-member-container .card-side.card-back .team-member-role {
    padding: 0 15px;
    line-height: 20px;
  }
  .servizi-filters .btn {
    padding: 10px 15px;
  }
  .servizi-list .container .servizio-item {
    width: 100%;
  }
  .servizio-faqs .faq {
    width: 100%;
  }
  .quote .quote-text {
    text-align: center;
    padding: 35px 25px;
  }
  .contatti-wrapper .cols .col {
    flex: none;
    width: 100%;
  }
  .contatti-wrapper .cols .col .contact-block {
    border-bottom: 1.5px solid #55b999;
    width: 100%;
  }
  .contatti-wrapper .cols .col .contact-block p:not(:last-child) {
    text-align: left;
    margin: 10px auto 10px 45px;
  }
  .calendar-add-days {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 10px 0;
  }
  .prenota-wrapper p {
    text-align: center;
  }
  .prenota-wrapper .cols .col.prenota-calendar {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-header {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px 5px 0 0;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-header .calendar-arrows {
    justify-content: center;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-header h2 {
    padding-top: 10px;
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 0;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-container {
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 10px;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-container .weekdays {
    font-size: 12px;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 15px 15px 0px 0px;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-container .days {
    gap: 0;
    padding: 0 5px;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-container .days .day {
    padding: 1px;
    min-height: 60px;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-container .days .day .date-number {
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 12px;
    padding-right: 3px;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-container .days .day .slot-button {
    padding: 0;
    margin: 0 0 2px 0;
    font-size: 8px;
    font-weight: 400;
    height: 20px;
  }
  .prenota-wrapper .cols .col.prenota-calendar .calendar-close {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 10px 0;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
  }
  .prenota-wrapper .cols .col.prenota-calendar.is-visible {
    display: flex;
  }
  #days-selected {
    display: block !important;
  }
  .form-wrapper form .cols .col {
    flex: none;
    width: 100%;
  }
  .form-wrapper form .cols .col.left {
    width: 100%;
  }
  .form-wrapper form .cols .col.left .form-line {
    gap: 20px;
  }
  .form-field {
    width: 100%;
  }
  footer {
    border-radius: 40px 40px 0 0;
    position: relative;
    padding-bottom: 75px;
  }
  footer .container .footer-company {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 0;
  }
  footer .container .footer-company .footer-logo {
    width: 250px;
  }
  footer .container .footer-company img {
    width: 50px;
  }
  footer .container .footer-servizi {
    width: 100%;
    margin-top: 30px;
    order: 2;
  }
  footer .container .footer-servizi h4 {
    margin: auto auto 30px 0;
  }
  footer .container .footer-servizi .footer-servizi-list {
    gap: 25px;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item {
    padding-left: 0;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item img {
    display: none;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item.footer-servizio-item-prevenzione {
    order: 1;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item.footer-servizio-item-cura {
    order: 2;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item.footer-servizio-item-estetica {
    order: 3;
  }
  footer .container .footer-servizi .footer-servizi-list .footer-servizio-item.footer-servizio-item-bambini {
    order: 4;
  }
  footer .container .footer-last-column {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 0 0;
    width: 100%;
    order: 3;
    position: static;
    gap: 25px;
  }
  footer .container .footer-last-column .footer-last-item {
    width: calc(50% - 25px);
  }
  footer .container .footer-last-column .footer-last-item.footer-last-item-note-legali {
    padding-left: 0;
  }
  footer .container .footer-last-column .footer-last-item.footer-social {
    width: 100%;
  }
  footer .container .footer-last-column .btn-to-top {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    margin: auto;
    margin-top: 0;
    transform: translateX(30px);
  }
}
