@media (min-width: 1921px) {

  #mainwrapper {
  background: url("../../img/cheese/sfondogiallo.jpg") repeat top left;
  width: 100%;
  /*
  background-color: #cccccc;
  height: 100%;
  background-position: top;
  background-repeat: repeat;
  background-size: cover;
  */
  }

  .body-inner {
  background-position: top right; /* Center the image */
  }

}


@media (min-width: 1025px) and (max-width: 1842px) {
  .loghi img {
    max-height: 25px;
    width: auto;
    margin: 0 5px;
  }
}

/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {



}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {



}

/* ----------- TUTTI GLI iPad  ----------- */

/* Portrait */
@media only screen
  and (min-width: 768px)
  and (max-height: 1366px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1.5) {

    body {

    }

    .body-inner {
    max-width: none;
    width: 100%;
    padding-right: 15px;
    height: 100%;
    background: transparent url("../../img/cheese/sfondoipad.jpg") no-repeat fixed top right;
    }

    .only_tablet {
      display: block;
    }
    .only_landscapes {
      display: none!important;
    }
    .row.libero {
      text-align: right;
    }
    .row.libero h2 {
    width: 100%;
    font-size: 70px;
    margin-right: 15px;
    text-align: right;

  }
  .row.punti .inner {
    flex-direction: column;
  }

  .row.scopri {
    margin-bottom: 10px;
  }

  .container-fluid.footer {
    position: static;
  }

}

/* ----------- TUTTI GLI iPad  landscape----------- */

/* Portrait */
@media only screen
  and (min-width: 768px)
  and (max-height: 1366px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 1.5) {





  }

/* ----------- iPad Pro ----------- */

/* Portrait */
@media only screen
  and (min-width: 1024px)
  and (max-height: 1366px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1.5) {

  }

/* Landscape */
@media only screen
  and (min-width: 1024px)
  and (max-height: 1366px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .row.libero h2 {
    width: 100%;
    font-size: 60px;
    text-align: center;

  }
  .container-fluid.footer {
    position: fixed;
  }

  .loghi img {
    max-height: 23px;
  }
}


/* ----------- iPad classic ----------- */

/* Portrait */
@media only screen
  and (min-width: 768px)
  and (max-height: 1024px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .only_tablet {
      display: block;
    }
    .only_landscapes {
      display: none!important;
    }



}

/* landscape */
@media (min-width: 768px) and (max-height: 1023px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {




    .container-fluid.footer {
      position: static;
    }

    .row.footer .row.first {
      flex-flow: row;
    }

    .loghi {
      display: flex;
    }

    .loghi img {
      max-height: 18px;
    }
    .row.footer p {
      font-size: 8px;
    }

}


@media (max-width: 575px) {
  body {
    background: transparent url("../../img/cheese/sfondoipad.jpg") no-repeat fixed top left;
  }

  .body-inner {
  max-width: none;
  width: 100%;
  height: 100%;
  background: transparent url("../../img/cheese/sfondoipad.jpg") no-repeat fixed top left;
  background-image: url();
  }

  .row.punti .inner {
    flex-direction: column;
  }

  .container-fluid.footer {
    position: static;
  }

  .punto {
    width: 100%;
  }

  .row.libero {
    margin: 30px 0;
  }

  .conosci {
    max-width: 90%;
  }

  .container-fluid.footer,
  .row.scopri {


  }
  .row.scopri .inner {
    display: block;


    text-align: center;
  }
  .row.scopri a {
    margin-right: 0;
  }
  .row.footer p {
    text-align: center;
  }

  .row.footer .row.first {
    flex-direction: column;
  }

  .row.footer .row.first > div {
    margin-bottom: 30px;
  }

  .partners .loghi {
  display: flex;
  flex-flow: row wrap;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  }
  .partners .loghi img {
  max-width: 31%;
  max-height: none;
  height: auto;
  margin-bottom: 15px;
  }


}



@media screen and (min-width: 320px) and (max-width: 850px) and (orientation: landscape) {




   body {
     background: transparent url("../../img/cheese/sfondoipad.jpg") no-repeat fixed top left;
   }
   #mainwrapper {

   }
   .body-inner {
   max-width: none;
   width: 100%;
   height: 100%;
   padding: 0;
   margin: 0;
   padding-top: 30px;
   background: transparent url("../../img/cheese/sfondoipad.jpg") no-repeat fixed top right;
   background-image: url();
   }

   .container-fluid.footer {
     position: static;
   }

   .partners .loghi img {
  margin: 7px;
}

.loghi img {
  max-height: 35px;
  }

  .partners .loghi {
  display: flex;
  flex-flow: row wrap;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  }
  .partners .loghi img {
  max-width: 15%;
  max-height: none;
  height: auto;
  }


}
