.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .main-menu li.nav-item .active {
    color: #ffffff !important;
}
    .aos-animated {
        /*CSS transitions*/
        -o-transition-property: none !important;
        -moz-transition-property: none !important;
        -ms-transition-property: none !important;
        -webkit-transition-property: none !important;
        transition-property: none !important;
        /*CSS transforms*/
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        /*CSS animations*/
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }
}

@media (min-aspect-ratio: 16/9) {
  .video-background iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 56.25vw;
  }
}
@media (max-aspect-ratio: 16/9) {
  .video-background iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}

@media (max-width: 480px) {
h1{font-size:2.5em}
h2{font-size:18px;line-height:28px}
h3{font-size:18px;line-height:28px}
h4{font-size: 1.4em;}
  iframe{height: 90vh !important}
  .logo-slide{top: 13% }
}

@media (max-width: 1600px) {
  .annidiv{font-size: .8em}
}
@media (max-width : 1499px){
  .annidiv{font-size: .6em}
  .product-list .list-group-item{font-size: 1em}
}

@media (max-height : 900px) and (min-width:768px){
.mask-container,.mask,.mask-triangle{height: 95vh}
}

@media(max-width:767px) {
  .t-img{width: 70%;margin: auto;text-align: center;}
  .team-box {padding: 1em 2em;}
  .feat-box{height: 130px}
  #topMenu{background-size: 200% 100%;}
  .logo-slide{top:18.7% !important}
  h4.font-weight-bold.text-center.text-uppercase{font-size: .85em !important}
  .dropdown-menu {right: 0;left: 0;  top: 60px;position: fixed; min-height: calc(90vh - 45px );}
.table-listino td{font-size:.9em}
.promo-big{max-width:70%}
.btn-giant{font-size:1.5em}
.vh-95{height:auto}
}
@media (min-width: 576px){
.modal-xl .modal-dialog {
    max-width: 94%;
    margin: 1.75rem auto;
}
}

@media (max-width:768px) {
  .logo-slide{top:29.4%}
  .partner-table img{height: .9em}
  .partner-table td,.partner-table .counter{    font-size: 1.1em;}
  .mask-triangle{bottom: -5px;height: 79vh; right: -31%;}
  .giant{font-size: 3em;    line-height: 1em;}
  .featured-box{margin-top:2em}
  .moving img{max-width: 120px}
  .distr-text{top: 93%;right:55%}
  #m2{top:78%}
  .logo-slide h3{font-size: 1.1em;letter-spacing: 0;}
  #topMenu{    background-position-x: -15px;}
  .sfa-single{margin: .5em 0}
  .order-div{margin-top: 1em;margin-bottom: 1em}
  #banner-div{display: none}
  .checkout-table td{font-size: .75em}
  h4.name{font-size: 1em;text-align: center;margin-top: 1em;margin-bottom: 1em;}
  .info-btn{line-height: 1em;}
  .product-list .prod-img{height: 140px;}
  .product-list .name {min-height: 6em;}
  .info-btn .text-info{font-size: .7em}
  .product-list .list-group-item{font-size: .8em}
  #dropdown-customer .cust-name{ width: 80px;white-space: nowrap;overflow: hidden;display: inherit;text-overflow: ellipsis;}
.logo-img{height: 35px;}
div.dt-buttons{width:auto!important}
.card-body{padding:.2rem}
.btn-gradient-grey.filter-select{width: 89px;margin: 5px}
.ls_result_div{height:82vh;margin-top:9px;overflow-y:scroll}
.btn-big{width:62%}
.compose-page{padding-bottom:170px}
.compose-page ~ footer{display:none}
.order-page{padding-top:20px}
.next a{top:25px;right:5px;position:absolute;background:none!important}
.previous a{top:25px;left:5px;position:absolute;background:none!important}
.sub-cart{position:fixed;bottom:0;left:0;right:0;z-index:999;width:100%;background:#fff;border-top:1px solid #dedede}
.mini-box{margin:5px 2px}
.mini-box .img-thumbnail{height:70px}
.mini-box .price{font-size:.8em}
.main-menu li.nav-item{overflow:hidden;width:100%;border-bottom:1px solid #fff}
.giant-title{height:auto;background-position-y:-1%;padding:10px;background-size:cover}
.giant-title h2{font-size:2.5em;padding-bottom:15px}
.giant-title2 h2{font-size:1.8em}
.giant-title2 h4{font-size:1em}
.giant-title3{margin:22px 0;height:30px}
.basket-cat-name{padding:0}
.action-bar{display:none}
.choose-category{padding:0;margin:10px;width:40%!important;box-shadow:0 0 3px rgba(0,0,0,0.4)}
.choose-category.active{box-shadow:0 0 4px rgba(0,0,0,1)}
.product-box img{height:auto}
.choose-category .cat-name{font-size:1em;right:0;position:absolute;top:60%;left:0;text-align:center;width:100%;background:radial-gradient(ellipse at center,rgba(255,255,235,0.6) 0%,rgba(241,218,54,0.7) 100%);color:#194A0A;text-transform:uppercase}
.swiper-container-horizontal{overflow:hidden}
.product-box{margin:5px;padding:0}
.product-box span{font-size:.8em}
.accessory-color + label{width:3px;height:3px;transition:1s all ease}
.product-box:hover label{width:50px;height:30px}
.img-holder{width:100%;margin:auto}
.choose-category.active::after{display:none}
.current-step{display:none}
.basket-box:hover .add-basket-item{opacity:1}
.bl-1{border-left:0}
.slick-slider .prev,.slick-slider .next{display:none}
.hidden-md-down{display:none}
.navbar-brand{margin-right:0}
.back-to-top{bottom:70px}
.navbar-nav{float:left;text-align:left;width: 100%;background: #0667c2;}
.navbar-collapse{transition:all .8s ease-out}
.navbar-inverse .navbar-nav>li>a{color:#000}
.manual-next,.manual-finish{float:right}
.swiper-slide{height:auto}
footer .footer-span{font-size:.8em}
footer h4{font-size:1em}
.shot-links li{list-style:inherit;text-align:left;font-size:1em}
.fa-2x{font-size:1.7em!important}
.modal-header,.modal-footer{padding:.5rem}
.modal-tabs a{padding:5px 25px}
.card-deck{padding:5%}
.col-6.product-box,.col-6.category-box{-ms-flex:0 0 46%;flex:0 0 46%;margin:2%!important;max-width:46%;height:300px}
#ppCart{left:0;right:0;margin:auto}
#ppCart.open{width:90%}
.shop-tracking-status{overflow-x:hidden}
.nophone{display:none}
.chi-siamo h1{font-size:4em}
.chi-siamo h2{font-size:2em}
.cta-big a{font-size:1em}
.cta-big .big{font-size:1em}
.btn-cat{font-size:14px}
.modal-name{font-size:1em}
.capacity table td{padding:0 8px;font-size:.8em}
}
@media (min-width: 769px) {
.t-counter{padding:0 1em 1em 1em}
#rootwizard .pagination{display:none}
.categories-page .category-box .card-body{font-size:1.4em;padding:.5rem}
.big-swiper .swiper-wrapper{display:flex;align-items:center!important}
.hidden-md-up,.manual-next{display:none!important}
.home-frame{min-height:96vh!important;overflow:hidden;width:100%;height:100%}

.img-thumbnail{min-width:100px;min-height:100px}
.col-6.product-box,.col-6.category-box{-ms-flex:0 0 23%;flex:0 0 23%;max-width:23%;margin:1%;padding:0}

}
@media (max-width:1199px) {

    .annidiv{font-size: .5em}
  .list-group.list-group-flush{display: block !important}
  .toggle-container{display: none}
.fa-stack[data-count]:after{    right: -10px;font-size: 1em;background: #0A79F1;border-radius: 50%}
.hidden-xl-down{display:none}
main{padding-top:60px;padding-bottom:50px}
.table-custom,.table-ordini {font-size: .8em}
.table-custom td{white-space: normal !important;}
}
@media (min-width: 1200px) {
.btn-footer i,.btn-footer{color:#085cb5;font-weight: 400}
main{padding-top:35px}
.fa-stack[data-count]:after{right: -10px;font-size: 1em;background: #0A79F1;border-radius: 50%}
.thanks-content{font-size: 1.5em}
.no-buttons #sidebar{display: none}
.no-buttons .page-wrapper{padding-left: 0 !important}
.d-xl-block{display:block}
.page-title.blue{font-size:.9em;padding:7px}
.big-button{min-width:11.2vh;height:11.2vh}
.big-button img{height:20px}
.big-button span{font-size:.8em}
.big-xl{border-radius:50%;text-align:center;min-width:11vh;padding:1.2em 0;height:11vh;color:#fff;background:#30C}
.big-xl img{width:50px}
.big-xl .fa-stack{height:auto;width:auto}
.big-xl .fa-stack[data-count]:after{color:#30C;right:3px;font-size:1.3em;top:4px}
.hidden-xl-up{display:none}
#sidebar{width:175px;height:100%;max-height:100%;position:fixed;top:0;left:0;z-index:999;box-shadow:2px 2px 6px rgba(0,0,0,.3)}
}


@media (max-width:1366px){
.partner-card .card-header{font-size: 1.5em}
  .p {line-height: 1.2em;font-size: 1.3em;}
}
@media (min-width: 1367px) {

.logo-img{height:55px;margin-bottom:5px}
}

@media (max-width: 1499px) {
  .team-img{width:50%;margin:auto;text-align: center;}
}
@media (min-width:1024px) and (max-width:1499px) {
  .team-img{width: 100%;margin: auto;text-align: center;position: absolute;bottom: 0;z-index: 99;}
}
@media (min-width: 1500px) {
  .team-img {height: auto;position: absolute;bottom: -97px;z-index: 999;}
  .team-img img{max-width:140%}
  .col-xxl-7 {
      -ms-flex: 0 0 58.333333%;
      flex: 0 0 58.333333%;
      max-width: 58.333333%;
  }
  .col-xxl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}
.product-list .name{font-size: .7em;}
.big-button{min-width:12vh;height:12vh}
.big-button img{height:35px}
}

@media (max-width:768px){
  [data-aos-delay] {
  transition-delay: 0 !important;
}
  .p15 {font-size: 1.2em;}
    .team-img{width: 100%}

    .svcontent h3 {left: 0;text-align: center;z-index: -1;width: 100%;font-size: 4em;}
