body {
  margin: 0;
  padding: 0;
/*  Background fallback in case of IE8 & down, or in case video doens't load, such as with slower connections  */
  background: #333;
  background-attachment: fixed;
  background-size: cover;
}

/* The only rule that matters */
#video-background {
/*  making the video fullscreen  */
  position: fixed;
  right: 0; 
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
  width: auto; 
  height: auto;
  z-index: 0;
}

video#video-background {display:none;}	
		


/*img sfondo phone*/
@media(max-width:767px){
    
    
}





/* 
  ##Device = Desktops
  ##Screen = 1921px to higher resolution desktops
*/

@media (min-width: 1921px) {
  
  .img-back-full{background: url(../images/pictures/fondoHD.jpg) no-repeat center top;}
    
  
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) and (max-width: 1920px) {
  
  .img-back-full{background: url(../images/pictures/fondo1920.jpg) no-repeat center top;}
   
  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  
  .img-back-full{background: url(../images/pictures/fondo1280.jpg) no-repeat center top;}
   
  
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
  .img-back-full{background: url(../images/pictures/fondo1280.jpg) no-repeat center top;}
  
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  .img-back-full{background: url(../images/pictures/tablet_landscape.jpg) no-repeat center top;}
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
  
 .img-back-full{background: url(../images/pictures/phoneEdit.jpg) no-repeat center top;}
  
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  
  .img-back-full{background: url(../images/pictures/phone480edit.jpg) no-repeat center top;}
  
}
       
		











