@media (max-width: 1700px) {
  section {
    padding: 100px 0;
  }
  section:first-of-type::before {
    width: 120px;
    height: 260px;
  }
  .row {
    margin-bottom: 75px;
  }
  .row.row_inside {
    margin-bottom: 35px;
  }
  h1, h2, h3 {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 35px;
  }
  h2, .homepage h2.a_footer {
    font-size: 30px;
    line-height: 35px;
  }
  .homepage h2 {
    font-size: 70px;
    line-height: 75px;
  }
  p {
    font-size: 15px;
    line-height: 25px;
  }
  p:last-of-type {
    margin-bottom: 0 !important;
  }
  a.more {
    min-width: 160px;
    padding: 12px 18px;
    font-size: 11px;
    line-height: 11px;
  }
  a.more.more_margin {
    margin-top: 35px;
  }
  .img_box {
    min-height: 500px;
  }
  .img_box.img_box_mini {
    min-height: 400px;
  }
  .img_box.img_box_profilo {
    height: 300px;
    min-height: 300px;
  }
  .item {
    padding: 75px;
    margin-bottom: 35px;
  }
  .item.item_mini {
    padding: 35px;
  }
  ul.list_dett {
    font-size: 15px;
    line-height: 22px;
  }
  ul.list_dett li::before {
    width: 12px;
    height: 12px;
    margin-right: 12px;
  }
  ul.list_orari {
    font-size: 15px;
    line-height: 22px;
  }
  footer {
    padding: 75px 0 75px 0;
  }
}
@media (max-width: 1199px) {
  .margin-top-lg {
    margin-top: 25px;
  }
  .align-center-lg {
    text-align: center !important;
  }
  .container {
    max-width: 85%;
  }
  .homepage h2 {
    font-size: 55px;
    line-height: 60px;
  }
  p {
    font-size: 14px;
    line-height: 20px;
  }
  footer p {
    font-size: 12px;
    line-height: 18px;
  }
}
@media (max-width: 991px) {
  .hide-md {
    display: none !important;
  }
  .align-left-md {
    text-align: left !important;
  }
  .margin-md-top {
    margin-top: 50px;
  }
  section {
    padding: 75px 0;
  }
  .row {
    margin-bottom: 50px;
  }
}
@media (max-width: 767px) {
  .hide-xs {
    display: none !important;
  }
  .align-left-xs {
    text-align: left !important;
  }
  .margin-xs-top {
    margin-top: 35px;
  }
  .margin-md-top {
    margin-top: 35px;
  }
  #main {
    padding: 0;
  }
  section:first-of-type {
    border: none;
    margin-top: 0;
  }
  section:first-of-type::before {
    display: none;
  }
  h1, h2, h3 {
    font-size: 10px;
    line-height: 14px;
    margin-bottom: 35px;
  }
  h2, .homepage h2.a_footer {
    font-size: 32px;
    line-height: 38px;
  }
  .homepage h2 {
    font-size: 45px;
    line-height: 50px;
  }
  .homepage h2.a_footer, h2.a_footer {
    font-size: 20px;
    line-height: 24px;
  }
  .item_mini p {
    font-size: 12px;
    line-height: 18px;
  }
  ul.list_orari {
    font-size: 12px;
    line-height: 18px;
  }
  a.more {
    min-width: 160px;
    padding: 10px 15px;
  }
  .item {
    padding: 35px 20px;
    margin-bottom: 35px;
  }
  .item.item_mini {
    padding: 35px 20px;
  }
  ul.list_dett {
    font-size: 14px;
    line-height: 18px;
  }
  ul.list_dett li span {
    width: 80%;
  }
  .img_box {
    height: 300px;
    min-height: 300px;
  }
  .img_box.img_box_mini {
    height: 300px;
    min-height: 300px;
  }
  .img_box.img_box_profilo {
    height: 300px;
    min-height: 300px;
  }
  footer {
    border: none;
    padding: 35px 0;
  }
}
@media (max-width: 360px) {
  .homepage h2 {
    font-size: 32px;
    line-height: 38px;
  }
  a.more {
    display: block;
    margin-right: 0;
  }
  .img_box::before {
    display: none;
  }
}