
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1501px) and (max-width: 1920px) {
  .section-category-home .name-cat {font-size: 16px !important;}
}
 

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/


@media (min-width: 1367px) and (max-width: 1500px) {
  .container-xxl { max-width: 100%;}
  .nav_cta span {display: none;}
  .nav_cta .btn{padding: 10px !important;}
  .navbar-light {padding: 15px 30px;}
  .navbar-brand {max-width: 12vw;}
  .section-category-home .name-cat {font-size: 16px !important;}
}



/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 1289px) and (max-width: 1366px) {
  
  .container-xxl { max-width: 100%;}
  .nav_cta span {display: none;}
  .nav_cta .btn{padding: 10px !important;}
  .navbar-light {padding: 15px 30px;}
  .navbar-brand {max-width: 10vw;}
}

@media (min-width: 768px) and (max-width: 1280px) {
  .container-xxl { max-width: 100%;}
  .nav_cta span {display: none;}
  .nav_cta .btn{padding: 10px !important;}
  .navbar-light {padding: 15px 30px;}
  .navbar-brand {max-width: 10vw;}
  .section-category-home .name-cat {font-size: 16px !important;}
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
  .nav_cta span {display: none;}
  .nav_cta .btn{padding: 10px !important;}
  .section-category-home .list-cat {flex-direction: column;margin: 0; padding: 50px 0;}
  .py-off {margin: 50px 0; text-align: center !important;}
  .section-category-home .list-cat::before {content: "";top: 0%;width: 50%;transform: translate(-50%, 0%);height: 0vh;margin-left: unset;left: 50%;border-top-left-radius: 7px;border-top-right-radius: 7px;}
  .section-category-home .list-cat.active::before {width: 50%;height: 130%;}
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  :root {--w-container-xxl: 95%;}
  
  /*GENERALE*/
  .container {width: 95%;}
  .btn, .wp-block-button__link {padding: 10px 20px !important;}
  .column-sm-reverse {flex-direction: column-reverse !important;}

  /*NAVBAR*/
  .nav_cta span {display: none;}
  .nav_cta .btn{padding: 10px !important;}
  .navbar-brand,.navbar-shrink .navbar-brand {max-width: 30vw;}
  .navbar-light {padding: 15px 30px;}
  .nav_cta.hidden-mobile {visibility: hidden; height: 0; margin: 0;}
  .nav_cta {justify-content: flex-start; width: 100%;  margin: 25px 0;}
  .menu-item {width: fit-content;}
  .menu-item::before {left: 0;width: 100%;}
  .nav_cta #btn_search {display: none;}
  .navbar-shrink .navbar-light { padding: 15px 30px;}
  .navbar-toggler {color: var(--giallo);}
  .navbar.active .navbar-light {border-radius: 25px;}

  /*HOME*/
  .section-category-home {padding-top: 100px;}
  .section-category-home .list-cat {flex-direction: column;margin: 0; padding: 50px 0;}
  .py-off {margin: 50px 0; text-align: center !important;}
  .section-category-home .list-cat::before {content: "";top: 0%;width: 50%;transform: translate(-50%, 0%);height: 0vh;margin-left: unset;left: 50%;border-top-left-radius: 7px;border-top-right-radius: 7px;}
  .section-category-home .list-cat.active::before {width: 50%;height: 130%;}
  .wp-block-media-text>.wp-block-media-text__content {padding: 50px 8%;}
  .section_imprese .wp-block-spacer,.heycasa_section .wp-block-spacer{height: 0 !important;}
  .section_imprese .wp-block-media-text__media {background-color: #ececec;}
  .heycasa_section img {border-radius: 0; width: 80vw; }
  .heycasa_section {padding-top: 50px; padding-bottom: 25px;}

  /*PAGE*/
  .page .bg_cover { height: 100vh;background-position: 50% 50%;}
  .page .caption_intro {width: 100%;align-items: center;padding-bottom: 30vh;text-align: center;}
  .wp-block-media-text.quaranta-anni figure{padding: 0 8%;}
  .geo_col img {max-width: 24px;}
  .page-id-18 .caption_intro, .page-id-29 .caption_intro {padding-bottom: 15vh;}
  .page-id-18 .bg_cover,.page-id-29 .bg_cover  {height: 40vh;}

  /*CATEGORY*/
  .category_intro.bg_cover {height: 50vh;}

  /*SINGLE POST*/
  article.single-post:not(.category-servizi) .title_intro {text-align: center; line-height: 1 !important;margin-top: var(--h-navbar);}
  article.single-post:not(.category-servizi) .container-breadcrumb ol {display: flex;justify-content: center; align-items: center; text-align: center;}
  .single .bg_cover {height: 60vh;}
  .bg_cover.marchi {height: fit-content !important;}
  .bg_cover.marchi .excerpt {margin-top: 1rem;}
  .single-post .container-breadcrumb nav,.luogo {font-size: 3.34svw;}

  /*FOOTER*/
  .footer {padding: 25px 0;}
  .caption_footer {min-height: 100px;}
  .caption_footer.contatti {margin-top: 25px;}
  .caption_footer img{max-width: 150px;}
  .bottomline p {font-size: 11px;}

}