
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1921px) {
  .circle {
    max-width: 530px;
    max-height: 530px;
    top: 35%;
    left: -15%;
  }
  .rettangolo {
      width: 242px;
      height: 596px;
      top: 30%;
      right:-5%;
  }
  .circle.c2 {
    max-width: 250px;
    max-height: 250px;
    top: 65%;
    right: -6%;
    left: unset;
  }
  .rettangolo.r2 {
      max-width: 150px;
      top: 78%;
      left:-5%;
      right: unset;
      transform: rotate(39deg);
  }
  .visible_mobile {
    display: none;
  }
 
}

@media (min-width: 1600px) and (max-width: 1920px) {
  .visible_mobile {
    display: none;
  }
  .home .wp-block-cover__inner-container h2{
    font-size: calc(1.325rem + 1.5vw) ;
    max-width: 70%;
  }
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1600px) {
  .wp-block-cover.alignfull {
    min-height: 77vh !important;
  }
  .circle {
    max-width: 26vw;
    max-height: 26vw;
    top: 18%;
    left: -20%;
  }
  .rettangolo {
    width: 10vw;
    height: 40vh;
    top: 17%;
    right: -6%;
  }
  #tab_list_servizi, .bg_news .container,.container_loghi {
    max-width: 80%;
    margin: 0 auto;
  }
  .bg_news p {
    font-size: 16px;
  }
  .titolo_servizio {
    font-size: 17px;
  }
  .circle.c2 {
    max-width: 250px;
    max-height: 250px;
    top: 55%;
    right: -10%;
    left: unset;
  }  
  .img_servizio::after {
    border-bottom: 150px solid var(--arancione);
    border-left: 300px solid transparent;
  }
  .indice {
    left: -29%;
  }
  .indice::after {
    content: "";
    width: 14vw;
  }
  .visible_mobile {
    display: none;
  }
  aside {
    max-width: 100% !important;
  }
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
  .circle,.rettangolo,.rettangolo_2  {
    display: none;
  }
  
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  /* CSS */
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
  
  .circle,.rettangolo,.rettangolo_2  {
    display: none;
  }

  
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  
  .circle {
   display: none;
  }
  .rettangolo,.rettangolo_2 {
    display: none;
  }
  .circle.c2 {
    display: none;
  }
  .rettangolo.r2 {
    display: none;
  }
  .wp-block-cover.alignfull {
    min-height: 80vh !important;
  }
  .home .wp-block-cover__inner-container {
    max-width: 100%;
    margin: 0 auto;
  }
  .heartbeat img {
    max-width: 70% !important;
    margin: 0 auto
  }
  .wp-block-button__link {
    clip-path: polygon(100% 0, 80% 100%, 0% 100%, 0 0);
    padding: 10px 20px;
    width: 311px;
    padding-left: 0px !important;
    background-color: var(--arancione) !important;
    transition: ease-in-out .2s;
    font-size: 18px;
  }
  .img_servizio {
    width: 93%;
    height: 230px;
    top: 330px;
  }
  #tab_list_servizi {
    min-height: 540px;
  }
  .servizi_home::after {
    content: none;
  }
  .titolo_servizio {
    font-size: 15px;
    margin-left: 0;
  }
  .img_servizio span {
    font-size: 15px;
  }
  .img_servizio::after {
    border-bottom: 120px solid var(--arancione);
    border-left: 250px solid transparent;
  }
  .servizi_home {
    border-bottom: 2px solid var(--blu);
  }
  .cards {
    margin-top: calc(var(--bs-gutter-x) * .7);
    min-height: unset;
  }
  .img_card {
    height: 180px;
  }
  .mobile {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .img_mobile img{
    max-width: 120px;
    margin-top: 20px;
  }
  .container_loghi figure {
    flex: 30%;
  }
  .title_clienti {
    margin: 50px 0;
  }
  .single .display-1 {
    font-size: 1.5rem !important;
    padding: 15px;
  }
  .breadcrumb-item {
    font-size: 16px;
    font-weight: 300;
  }
  .contenuto h2 {
    font-size: 1.8rem !important;
  }
  .contenuto h3 {
    font-size: 1.5rem !important;
  }
  .contenuto {
    padding: 0 15px;
  }
  .single p, ul li, ul li a,.has-large-font-size {
    font-size: 16px !important;
  }
  .indice {
    position: static;
    transform: unset;
  }
  .indice::after {
    content: "";
    width: 85vw;
  }
  .long-read .row{
    flex-direction: column-reverse;
  }
  .visible_desktop {
    display: none;
  }
  .visible_mobile {
    display: block;
  }
  .sidebar_servizi {
    margin-top: 0;
  }
  aside {
    max-width: 100% !important;
  }
  .container_breadcrumbs .py-5 {
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
  }
  #tab_indice {
    margin-top: 0;
  }
  .single h4 {
    font-size: 20px;
  }
  .dropdown-item {
    white-space: normal;
  }
  #full-screen-search form div {
    width: 90vw !important;
    height: 100px !important;
    top: 50% !important;
    left: 4.5vw !important;
    margin: 0 auto !important;
  }
  .pop_up_team {
   display: none;
  }
  .content_vantaggi {
    flex-direction: column;
  }
  .p-5 {
    padding: 2rem!important;
  }
  .title_card a {
    font-size: calc(1rem + 2vw) !important;
  }
  .content_news p,.card-body p {
    font-size: 16px;
  }
  .img_card.news_update {
    height: 180px;
  }
  h3 {
    font-size: calc(1.325rem + 4vw)
  }
  #searchform::before {
    content: none;
  }
  #full-screen-search button.close {
    top: 20px !important;
    right: 20px !important;
  }
  .value {
    font-size: 50px;
  }
  #post_14 li:before {
    width: 12px;
    height: 12px;
  }
  ul {
    padding-left: 1.5rem;
  }
  #post_14 li {
    font-size: 18px;
    margin-bottom: 1rem;
  }
  .wrap-md {
    padding-right: 1rem  !important;
    padding-left: 1rem  !important;
  }
  .dropdown-item {
    margin-bottom: 1rem;
  }

  .wp_form {
    padding: 15px;
  }
  .page-id-18 .wp-block-spacer {
    height: 20px !important;
  }
  .page-id-18 .wp-block-columns {
    padding: 0;
  }
  .page-id-18 .wp-container-3.wp-block-columns {
    flex-direction: column-reverse;
  }
  .intro_cat,.bg_intro_post {
    height: 220px;
  }
  :where(.wp-block-group.has-background) {
    padding: 1em;
  }
  .single .wp-block-button__link {
    width: 260px;
  }
  .contenuto h2 {
    font-size: 1.5rem !important;
  }
  p.indice {
    font-size: 24px !important;
  }
  .single h4, .single h2 {
    margin-top: 0.8rem;
  }
  .titolo_servizio.active::after,.active.nav-item::after {
    content: none;
  }
  .active.nav-item a{
    font-weight: bold;
    text-decoration: underline;
    color: var(--arancione) !important;
    text-decoration-color: var(--arancione) !important;
  }
  .titolo_servizio.active {
    text-decoration: underline;
    text-decoration-color: var(--arancione);
  }
  .breadcrumb {
    justify-content: center;
  }
  .active a.dropdown-item {
    font-weight: 500 !important;
    color: var(--blu) !important;
    text-decoration: none;
  }
  .breadcrumb-item.active {
    text-align: center;
  }
}