.loading {
	z-index: 20;
	position: absolute;
	top: 0;
	left:0px;
	width: 100%;
	height: 100%;
    background-color: rgba(0,0,0,0.4);
	/*    rgb(249,249,249); */
	/*    rgba(0,0,0,0.4);*/

}

.loading{
/*  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;*/
  /*  z-index: 9999;*/
 /* z-index: 20;
  background-color: rgba(0,0,0,0.4);
  background: url('//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Phi_fenomeni.gif/50px-Phi_fenomeni.gif') 
              50% 50% no-repeat rgba(0,0,0,0.4);*/
}
.loading-content {
	position: fixed;
	border: 16px solid #f3f3f3;  
	border-top: 16px solid #3498db;  
	border-radius: 50%;
	width: 50px;
	height: 50px;
	top: 50%;
    left: 50%;
	animation: spin 2s linear infinite;
	}
	
	@keyframes spin {
		0% { transform: rotate(0deg); }
		100% { transform: rotate(360deg); }
	}

