
/*  VARIAZIONI BOOTSTRAP */
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {max-width: 1200px;}
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {max-width: 1320px;}
}

/* MEDIA QUERY INTERVALLI */
@media only screen and (min-width:769px) and (max-width: 1200px) {

}

@media only screen and (min-width:668px) and (max-width: 768px) {
}

@media (max-width: 2055px) {
  .section-finale:after {width:30%}
}

@media (max-width: 1789px) {
  .section-finale:after {width:20%}
}

@media (max-width: 1560px) {
  .section-finale:after {width:10%}
}

@media (max-width: 1530px) {
  .droopmenu > li > a,
  /*.droopmenu > li > span {padding: 0 2vw;}*/
}

@media (max-width: 1465px) {
  .section-finale:before {background-size:cover}
  .section-finale:after {display:none}
}

@media (max-width: 1399px) {
  .grid-block .carousel-cell {width:23%}
  .droopmenu > li > a, .droopmenu > li > span {padding:0 10px}
  .logo-rib {top:-400px}
  .section.section-intro-home .intro .testo-intro {padding-right:0}
  .droopmenu-header:before {width:270px}
  .droopmenu-brand img {width:170px}
  .droopmenu-header:before {left:-70px}
  .droopmenu-header:after {height:124px}
}

@media (max-width: 1240px) {
  .section-richiesta .intro {padding:80px 80px 80px 130px}
}

@media (max-width: 1200px) {
  .container {max-width: unset !important;}
}

/* MEDIA FINO A COL-LG */
@media (max-width: 1199px) {
  a.btn-color, span.btn-color, button.btn-color, a.btn-out, span.btn-out, a.btn-color-light, span.btn-color-light {font-size:14px}
  .header-toolbar .navbar {padding:5px 10px}
  .droopmenu-header:before {left:-90px}
  .droopmenu-brand img {width:150px}
}

@media (max-width: 1160px) {
  .header-menu .nav-brand img {width:140px}
  .header-menu .nav-menu > li > a, .header-menu a {padding:26px 10px}
  .droopmenu > li, .header-toolbar .navbar-nav .nav-link {font-size:13px}
}

@media (max-width: 1116px) {
  .droopmenu-header:before {left:-100px}
  .droopmenu-brand img {width:140px}
  .droopmenu-showbg .droopmenu-brand img {width:130px}
}

@media (max-width: 1090px) {
  .droopmenu > li, .header-toolbar .navbar-nav .nav-link {font-size:12px}
}

@media (max-width: 1040px) {
  .droopmenu-header:before {left:-110px}
}

@media (max-width: 1024px) {
  .header-title .title-h1 {font-size:32px}
  .header-title .title-h2 {font-size:28px}
  .header-menu .container {padding-right:0; padding-left:0}
  .lead {font-size:22px}
}

@media (max-width: 995px) {
  .droopmenu > li > a, .droopmenu > li > span {padding:0 7px}
}

/* MEDIA FINO A COL-MD */
@media (max-width: 991px) {
  .no-resp {display:none}
  .resp {display:block}
  .nav-menu > li.no-resp {display:none}
  .nav-menu > li.resp {display:flex}
  .navigation-portrait .nav-mail {margin-left:auto}
  .header-menu .nav-brand img {width:130px}
  .navigation-portrait .nav-mail.nav-link, .navigation-portrait .nav-social.nav-link {padding:0}
  .navigation-portrait .nav-link {padding:0 10px 0 0}
  .navigation-portrait .nav-search {margin-right:0; padding:0; z-index:999999}
  .section {padding:80px 0}
  .section.section-intro-servizi-home {padding:80px 0 60px 0}
  .section.section-cat-home {padding:0 0 80px 0}
  .section.section-intro.list-pat {padding:80px 0}
  .section.section-cta {padding:80px 0}
  .section.section-cat-home {padding:80px 0}
  .header-title .lead {font-size:18px}
  .header-title .title-h1 {font-size:28px}
  .title-h1 {font-size:30px}
  .title-h2 {font-size:26px}
  .title-h3 {font-size:24px}
  .blog-post h2 {font-size:26px}
  .banner-interno .title-h3 {font-size:20px}
  .title-h4 {font-size:20px}
  .droopmenu {display:block}
  .droopmenu > li > a, .droopmenu > li > span {color:#fff}
  .header-toolbar {display:none}
  .droopmenu-header {display:block}
  .droopmenu-header:before {width:250px}
  .droopmenu-showbg .droopmenu-header:before {width:250px}
  .droopmenu-brand img {width:120px}
  .droopmenu-showbg .droopmenu-brand img {width:120px}
  .droopmenu-navbar.droopmenu-showbg {height:55px}
  .mtop-mob {margin-top:auto}
  .hero-mediplan {min-height:500px}
  .hero-mediplan .hero-subtitle {padding-right:20px}
  .btn {padding:8px 10px}
  .section.section-cat-home .intro {padding:0}
  .col-mask-consulenza {display:none}
  .carousel-cell.item-cat {width:40%}
  .droopmenu-navbar {padding-top:10px}
  .droopmenu-showbg .droopmenu > li.special-item {padding:0 15px; text-align:center}
  .droopmenu li:hover > a, .droopmenu li li:hover > a, .droopmenu li.active a, .droopmenu li a.active {color:#fff}
  .section.section-contatti {margin-top:70px}
  .section-listing .item-cat a .latest-img {height:380px}
  .box-form {padding:40px 10px}
  .contatti-page .section .intro {padding:0}
  .col-contatti .cont-contatti {padding:20px}
  .droopmenu-brand, .dm-nav-brand a {height:55px}
  .droopmenu-header {height:55px}
  .droopmenu-extra {height:55px}
  .section.section-box-home {padding:40px 0 0 0}
  .section.section-cta-consulenza .intro-consulenza {padding:80px 60px 80px 0}
  .section.section-cta-consulenza .intro-consulenza {align-items: flex-start;}
  .section.section-cta-finale {height:auto}
  .section-finale:before {display:none}
  .footer {background-image:url(../images/shape-footer.svg); background-size:cover; background-position:top center; background-repeat:no-repeat;}
  .section.section-cta-finale .intro {padding:0 40px}
  .section.section-dettaglio-blog {padding:80px 0 0 0}
  .section.section-dettaglio-testo .intro {padding:0 0 0 40px}
  .dettaglio-page .col-img-consulenza {overflow: hidden;}
  .section.section-dettaglio-testo {padding:80px 0 0 0}
  .dettaglio-page .cont-ov {padding-top:80px}
  .section.section-form {padding:80px 0}
}

@media (max-width : 768px) {

}

/* MEDIA FINO A COL-SM */
@media (max-width : 767px) {
  .show-mobile{display:block}
  .show-desktop{display:none;}
  .cont-video {height:600px}
  .video-home {height:600px}
  .section {padding:60px 0}
  .section.section-intro-centro .intro {padding:60px 15px}
  .section.section-intro {padding:}
  .section.section-intro.list-pat {padding:60px 0}
  .section.section-cta {padding:60px 0}
  .section.section-intro-servizi-home {padding:60px 0 40px 0}
  .section.section-cat-home {padding:60px 0}
  .page-text h2 {margin-bottom:30px}
  .header-title {width:90%; padding-top:120px}
  .section.section-box-home {margin-top:0}
  .footer-col {padding-bottom:30px; text-align:center}
  .footer {padding:60px 0 20px 0}
  .sub-footer {padding-top:20px; margin-top:0px}
  .footer .dato-contatto-footer {justify-content: center; display:block}
  .footer .dato-contatto-footer .mr-10 {margin-right:0}
  .mtop-mob {margin-top:inherit}
  .img-centro-home img {width: 100%; height: 100%; -o-object-fit: content; object-fit: content;}
  .col-foto-doc {margin:auto}
  .box-studio-home {padding-top:60px}
  .page-interna .box-studio-home {padding-top:0px}
  .testo-dx {padding-left:0}
  .container-fluid-sticky-right {padding-left:0 !important}
  .section.section-cta-consulenza .intro-consulenza {padding:60px 15px 60px 15px}
  .section-cta .title-h2, .section-cta-light .title-h2 {text-align:center}
  .section.section-listing {padding:60px 0}
  .listing-page .img-centro-int {margin-top:60px}
  .box-vantaggi {margin-top:60px}
  .section-dettaglio .intro {padding-right:0}
  .col-contatti .cont-contatti {width:100%; margin-right:0; height:auto}
  .col-contatti.flex-center{align-items:flex-start;}
  .col-form-contatti {margin-top:60px}
  .col-form-contatti .intro {width:100%}
  .img-bg-consulenza {position: relative; top: inherit; left: 0; transform: none; width: 100%; height: 400px; border-radius: 0; overflow: hidden;}
  .img-bg-consulenza img {object-position: center}
  .section.section-cta-finale img {display:none}
  .sub-footer .col-si, .sub-footer .col-de {text-align: center}
  .sub-footer .col-de {justify-content: center;}
  .carousel-cell.item-cat {width:50%}
  .section.section-intro-home .intro {padding:0}
  .section-intro-home .img-pagina {margin-top:60px}
  .section-testo-foto .img-pagina {margin-bottom:60px}
  .banner-cta:before {content:""; width:100%; height:100%; background:rgba(255,255,255,0.6); position:absolute; top:0; left:0; z-index: 0}
  .banner-cta .row {position:relative; z-index:1}
  .footer .contatti-social {justify-content: center}
  .lead {font-size:16px}
  .section-listing .item-cat {margin-bottom:30px}
  .section.section-testo-centrale .intro {padding:0 20px}
  .banner-cta:before {background: rgba(255,255,255,0.9)}
  .banner-cta {border:2px solid #797979; overflow: hidden;}
  .section .intro {padding:0}
  .hero-mediplan.banner-interno {min-height:400px}
  .section-intro-pagina:before {display:none}
  .carousel-metodo .item-cat .cont-cat {min-height:450px}
  .carousel-cat .item-cat a {min-height:450px}
  .section.section-dettaglio-blog {padding:60px 0 0 0}
  .flex-center.social-news {justify-content: space-between;}
  .section.section-dettaglio-testo {padding:60px 0 0 0}
  .dettaglio-page .cont-ov {padding-top:60px}
  .section.section-form {padding:60px 0}
  .section.section-dettaglio-testo .intro {padding:40px 0 0 0}
  .item-cat a .latest-title h3 {font-size:18px}
  .list-cat .item-cat a .latest-title {padding:20px}
}
@media (max-width : 736px) {
}

@media (max-width : 667px) {

}

@media (max-width : 600px) {
  .carousel-box .box-item {border-radius:10px}
  .social-news.flex-center-left {display:block; text-align:center}
  .social-news .ms-auto {margin-left:inherit !important}
  .social-news .btn {margin-bottom:30px}
}

/* MEDIA FINO A COL- */
@media (max-width: 575px) {
  .title-h2 {font-size:24px}
  .testo-backend h2 {font-size:24px}
  .testo-sx {padding-right:0}
  .testo-dx {padding-left:0}
  .carousel-rev .carousel-cell, .carousel-tecno .carousel-cell {width:100%}
  .timeline-nav ul {font-size:18px}
  .carousel-cell.item-cat {width:90%}
  .section.section-box-home {margin-top:40px}
  .section.section-intro-pagina .img-pagina {height:300px}
  .section.section-box-home {padding: 0}
  .col-form-contatti {padding:30px}
  .section.section-cta-finale .intro {padding:0 20px}
}


@media (max-width: 414px) {

}

/* MEDIA QUERY MIN WIDTH */
@media (min-width: 768px) {

}

@media (min-width: 1024px) {

}

/* MEDIA QUERY HEIGHT */
@media (max-height: 650px) {

}

@media (max-height: 747px) {

}


/* NUOVA COOKIE BAR */
@media (max-width: 1024px) {
  .show_banner_cookies {position: fixed;  width: 100%;   background: #646463; color: #fff; z-index: 999999; padding: 30px; left: 0px; font-size: 12px;}
  .switch-item.pl-20 {padding-left:10px}
}

@media only screen and (max-width : 998px) {
  .switch-label {font-size:11px}
}

@media (max-width: 991px) {
  .show_banner_cookies {width:50%}
  .col-switch {border-left:0; border-bottom:1px solid #f2f2f2; padding-bottom:30px}
  .col-switch .switch-page {padding-left:0}
  .show_banner_cookies.big-ban {width:80%}
  .cookiebar-page hr {border-top:0}
}

@media (max-width : 767px) {
  .show_banner_cookies {width:70%}
  .switch-cont {flex-wrap:wrap}
  .switch-item {width:50%; margin-bottom:10px}
  .switch-item.pl-20 {padding-left:0}
  .switch-item-text {margin-top:10px}
  .show_banner_cookies {padding:20px 10px}
  .show_banner_cookies.big-ban .col-bottoni-cookie {flex-direction:row}
  .show_banner_cookies.big-ban .col-bottoni-cookie .btn-foot.mb-20 {margin-bottom:0}
  .show_banner_cookies.big-ban .btn-foot {width:50%}
  .show_banner_cookies a.btn {padding:10px; min-width:90%; font-size:10px}
  .ml-30-resp {margin-left:0}
}

@media (max-width: 575px) {
  .show_banner_cookies {width:90%}
}
