.no-mobile {
  display: none;
  } 
  .desk {
    display: block;
  }
@media only screen and (max-width: 768px) {
  .home_slider h1 {
    line-height: 45px;
    text-align: center;
  } 
  .icon-header .dropdown-header {
    padding-inline: 5px;
  }
  .testo_slider_left {
    height: 100%;
  }
  .testo_slider_left > div {
    position: relative;
    height: 100%;
  }
  .testo_slider_left_center > div, .testo_slider_right_center > div {
    position: relative;
    height: 100%;
  }
  .navbar-light .navbar-brand {
    margin: 0;
  }
  .navbar .container-fluid {
    padding: 0;
  }
  #header .container {
    padding-inline: 0px;
  }
  .testo_slider_left {
    padding: 2rem 0px;
    margin: auto;
  }

  .testo_slider_left_center, .testo_slider_right_center {
    align-items: end!important;
    height: 100%;
    padding: 2rem 0px;
    margin: auto;
  }

  .home_slider .testo_slider_left_center  h1, .home_slider .testo_slider_right_center h1{
    font-size: 32px!important;
  }
  .home_slider .owl-dots {
    top: 30%;
  }
  .navbar-light .navbar-toggler {
    border: none;
    margin-bottom: 0.35rem;
    padding-inline: 0;
  }
  .testo_slider_left > div > div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .testo_slider_left_center > div > div, .testo_slider_right_center > div > div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .home_slider .item {
    height: 80vh!important;
  }
  .home_slider .item .slider-img {
    height: 80vh!important;
  }
  
  .no-mobile {
  display: block;
  } 
  .desk {
    display: none;
  }
  
  h1 {
    font-size: 32px !important;
    line-height: 34px;
  }
  h2 {
    font-size: 28px !important;
    line-height: 30px;
  }
  h3 {
    font-size: 22px !important;
    line-height: 32px;
  }
  h4 {
    font-size: 20px !important;
    line-height: 22px;
  }
  h5 {
    font-size: 16px !important;
    line-height: 26px;
  }
  h6 {
    font-size: 22px !important;
    line-height: 24px;
  }
  p {
    font-size: 16px !important;
    line-height: 23px;
  }

  .scheda-articolo h3 {
    font-size: 18px;
  }

  .header .logo img {
    max-width: 170px !important;
  }

  .banner-content {
    max-width: 98% !important;
  }

  .secondary-btn {
    line-height: 17px !important;
    padding: 5px 18px !important;
    height: fit-content !important;
    margin: 5px !important;
  }

  .primary-btn {
    line-height: 17px !important;
    padding: 5px 18px !important;
    height: fit-content !important;
    margin: 5px !important;
  }

  .calltoaction-btn {
    line-height: 17px !important;
    padding: 5px 18px !important;
    height: fit-content !important;
    margin: 5px !important;
  }
  .navbar-collapse{
    width: 70% !important;
  }
  .mobile-block {
    display: block !important;
  }

  section {
    padding: 20px 60px;
    overflow: hidden;
  }

  .post-box {
    min-height: 0px;
    padding-bottom: 50px;
  }

  .contact .info {
    padding: 40px 10px;
  }

  #recent-blog-posts .button-b-30 {
    position: absolute;
    right: 13px;
    bottom: 0;
    width: auto;

  }
  .mobile-block {
    display: block !important;
    width: 100%;
  }

  #contenuto-inferiore .calltoaction-btn {
    width: 100%;
  }
  #contenuto-extra .primary-btn{
    width: 100%;
  }
  .margin-mobile {
    margin-top: 0 !important;
  }

  .w-mobile {
    width: 90%;
  }

  .hero-halfscreen {
    height: 88vh !important;
  }

  .hero-fullscreen {
    min-height: 60vh !important;
  }

  .style-card {
    width: 100% !important;
  }

  #blocchi-superiori .button-b-30 {
    bottom: 12px;
  }

  .card-body {
    height: max-content !important;
  }

  td {
    width: 50% !important;
  }
  td img {
    width: 100%;
    height: 100px;
  }

  .onfocus .video-play {
    min-height: 200px;
  }

  .card-text {
    margin-bottom: 1rem !important;
  }

  .style-card {
    width: 100% !important;
  }

  .case-history .post-box p {
    margin: 2px 0 20px 0px;
    color: rgba(var(--color-secondary-dark-rgb), 0.7);
  }

  .post-box {
    padding: 10px;
  }
  .case-history .post-box .meta {
    margin-top: 0px;
  }

  .case-history .post-box {
    transition: 0.3s;
    min-height: max-content;
  }

  #case-history .button-b-30 {
    position: absolute;
    bottom: 12px;
    right: 8px;
  }

  .recent-blog-posts .post-box p {
    margin: 15px 0 35px 0;
  }

  .mobile-nav-active .navbar:before {
    background-image: url(".../img/bg-menu.jpeg");
  }

  .team {
    margin: 70px 0;
    padding: 50px 0;
  }
  .mt-60 {
    margin-top: 1rem;
  }
  .team-slider {
     padding-top: 0px;
     padding-bottom: 0px;
     margin-bottom: 0px;
   }
   section {
    padding: 20px 0px;
    overflow: hidden;
  }
  .section-gap {
    padding: 60px 0;
  }
  .calltoaction-btn {
    margin: 5px 0px !important;
    overflow: hidden;
    width: 95%;
    text-align: center;
  }
  .primary-btn {
    margin: 5px 0 !important;
    width: 95%;
    overflow: hidden;
    text-align: center;
  }
  .onfocus .content {
    padding: 60px 10px;
  }

  .div-icon-position {
    position: absolute;
    top: 55px;
    bottom: 0;
    right: 9%;
    width: 21%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 30%;
  }

  .job-detail-txt {
    padding: 60px 10px;
  }
  ol, ul {
    padding-left: 1rem;
  }

  .col-style {
    padding: 13px 10px;
    border-top: 1px solid #ccc;
    height: max-content;
  }

  #job-detail .card-body {
      min-height: 547px;
  }
  .contact .info {
      padding: 40px 7px;
  }

  .secondary-btn {
    width: 95%;
    margin: 5px 0px !important;
    text-align: center;
  }
  .job-detail {
    position: relative;
    z-index: 0;
    margin-top: 0;
  }
  #tutti-gli-articoli .button-b-30 {
    position: absolute;
    bottom: 6px;
    right: 16px
  }
  #tutti-gli-articoli .secondary-btn{
    width: auto;
  }
  .contact .info {
    padding: 40px;
    box-shadow: 0px 0px 0px rgba(var(--color-black-rgb), 0.1);
    overflow: hidden;
  }
  .job-detail-txt {
      box-shadow: rgba(var(--color-secondary-rgb), 0.2) 0px 0px 0px 0px, rgba(var(--color-secondary-rgb), 0.2) 0px 0px 0px 0px;
  }
  .col-style {
      border-left: 0px solid #ccc;
  }

  .hero-halfscreen p {
    font-size: 18px;
    margin-bottom: 30px;
    width: 65%;
  }
  .fixed_button_mobile {
    position: fixed;
    top: 13%;
    z-index: 999;
    width: fit-content;
    right: 19px;
    border-radius: 0px !important;
    border: 0px;
    box-shadow: 4px 5px #88888869;
  }
  .button-position-fixed{
    display: none;
  }
  .offcanvas-body .button-position-fixed{
    display: block;
  }
  .sticky_collezioni{
    position: relative;
  }
  .padding-left-7rem{
    padding-left: 2rem;
  }
  .justify-center_mobile{
    justify-content: center;
    padding: 2rem;
  }
  .container_form_nolog{
    margin-top: 25px;
    padding: 2rem 0rem;
    margin-bottom: 90px;
  }
  .page-user-login{
    height: auto;
  }
  #profile .w-50 {
    width: 90%!important;
  }
  #user-login-form #edit-submit {
    padding: 10px;
  }
  #profile center {
    width: 65%;
    margin: auto;
  }
 
  .row {
    width: 100%;
    margin: 0;
  }
  .btn-mabo, .button {
    padding: 9px 24.9px;
    width: 100%;
  }
}

.btn-primary {
  background: var(--red);
}

/*  caselle dei servizi  */

@media only screen and (max-width: 991px) and (min-width: 768px) {
  .profile-container{
    width: 100% !important;
  }

  .services .details {
    min-height: 328px !important;
  }
  #blocchi-superiori .style-card {
    width: auto !important;
  }
  #blocchi-superiori .card-text {
    margin-bottom: 2rem;
  }
  .card-body {
    min-height: 308px;
  }
  .team .team-member .member-info {
    min-height: 163px;
  }
}

@media only screen and (max-width: 768px) and (min-width: 570px) {
  .onfocus .video-play {
    min-height: 380px;
  }
  #contenuto-inferiore .calltoaction-btn {
    display: inline-block;
  }
  #contenuto-extra .primary-btn {
    display: inline-block;
  }
  .calltoaction-btn {
    width: auto;
    text-align: center;
    display: inline-block;
  }
  .primary-btn{
    width: auto;
    display: inline-block;
  }
  .secondary-btn{
    width: auto;
    display: inline-block;
  }
  .div-icon-position {
    position: absolute;
    top: 0px;
    bottom: 0;
    right: -9%;
    width: 19%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 69%;
}

}

@media only screen and (max-width: 480px) {
  .swiper-backface-hidden .swiper-slide {
    padding: 0 50px;
  }
}

@media only screen and (max-width: 1400px) and (min-width: 990px) {
  .services .details {
    min-height: 302px !important;
  }
  .style-card {
    width: auto !important;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .div-icon-position {
    position: absolute;
    top: 0px;
    bottom: 0;
    right: 8%;
    width: 19%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 50%;
}
}
/* Fine caselle servizi */

@media only screen and (max-width: 1400px) and (min-width: 769px) {
  h1 {
    font-size: 34px !important;
    line-height: 36px;
  }
  h2 {
    font-size: 30px !important;
    line-height: 32px;
  }
  h3 {
    font-size: 28px !important;
    line-height: 30px;
  }
  h4 {
    font-size: 25px !important;
    line-height: 27px;
  }
  h5 {
    font-size: 24px !important;
    line-height: 26px;
  }
  h6 {
    font-size: 22px !important;
    line-height: 24px;
  }
  p {
    font-size: 14px !important;
    line-height: 16px;
  }

  .team {
    margin: 0 0 70px 0;
    padding: 140px 0;
  }
  .mobile-nav-toggle {
      top: 7%!important;
      right: 4%!important;
  }
}
.mobile-block{
  display: none;
}
@media (max-width: 1279px){
  .mobile-nav-toggle {
    top: 3.5%;
    right: 4%;
  }
  .navbar a, .navbar a:focus {
    color: white !important;
  }

}
.btn:focus{
  background: var(--red) !important;
  border: 0;
  box-shadow: none;
}
body nav{
    position: sticky;
    top: 0;
}

/* TABLET */
@media (max-width: 769px){
  .paragraph_img_text_right .min-height_col {
    min-height: 18rem;
  }
  .paragraph_img_text_right {
    padding: 2rem 0px 0px 0px;
  }
  .p-r-mobile {
    padding-right: 0 !important;
    padding: 20px 0px !important;
  }
  .row.p-20 .col-md-4 {
    display: grid;
  }
  figure .p-5{
    padding: 0rem!important;
  } 
  figure {
    align-items: center !important;
    display: flex !important;
  }
  .padding_style_right {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
  }
  .profile-div .inner-all {
    margin-bottom: 3rem;
  }
  .style_btn_user {
    margin-bottom: 0.7rem;
  }
  .bi-arrow-right::before {
    color: var(--red);
    padding-left: .5rem;
  }
  .nav-item {
    display: flex;
    align-items: center;
  }
  #header .navbar-light .navbar-nav .nav-link {
    font: normal normal 600 18px/32px Catamaran;
  }
  .dropdown-content {
    position: relative;
  }
  .nav-item .dropdown-item {
    color: #fff !important;
  }
  .container, .container-sm {
    max-width: 100%;
  }
  .aziende {
    margin-bottom: 3rem;
  }
  .aziende img {
    height: 50vh;
  }
  .tab-content>.active {
    padding-right: 4rem;
    padding-left: 1rem;
  }
  .p-l-100 {
    padding-left: 1rem;
  }
  .nav-pills {
    padding-left: 1rem;
  }
  .content ul {
    font-size: 16px;
  }
  .paragraph_img_text_right .position_img {
    object-fit: cover;
  }
  .padding_style {
    padding-left: 2rem;
    padding-right: 1rem;
  }
  .w-70 {
    width: 100%;
  }
  .campagna .card-body {
    min-height: 2rem;
  }
  .card .hover_img img {
    height: 100%;
    object-fit: cover;
  }
  #views-exposed-form-elenco-delle-news-page-1 {
    justify-content: center;
  }
  .eventi .card .hover_img img {
    object-fit: contain;
  }
  .px-5 {
    padding-right: 1rem!important;
    padding-left: 1rem!important;
  }
  .count-title {
    font-size: 52px !important;
  }
  .counter p, .counter h1, .counter h3, .counter h4, .counter h5, .counter h6 {
    font-size: 23px !important;
    line-height: 30px;
  }
  .col-md-6 {
      width: 100%;
  }
}