.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #00539b;
    width: 5%;
    height: 50px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin-left:auto;
    margin-right:auto;
    position: absolute; top: 50%; left: 45%; z-index: 101;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  #dialogoverlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;display:none;z-index:10000}
  #dialogbox{display:none;position:fixed;background:#FFF;border:2px solid #0a5499;width:350px;z-index:10001}
  #dialogbox>div{background:#FFF;margin:8px}
  #dialogbox>div>#dialogboxhead{background:#0a5499;font-size:19px;text-align:left;font-weight:700;padding:10px;color:#FFF}
  #dialogboxicon{background:url(/images/img-cancel.png) no-repeat #0a5499;font-size:19px;text-align:left;font-weight:700;padding:10px;color:#FFF;height:2px;float:right;margin-top:-15px;cursor:pointer;align:right}#dialogbox>div>
  #dialogboxbody{background:#FFF;padding:10px;font-weight:700;text-align:left;font-family:roboto;font-size:12px;color:#000}
  #dialogbox>div>#dialogboxfoot{background:#FFF;padding:10px;text-align:right}

  #overlay {width: 100%; height: 100%; top: 0px; margin:0px !important; left: 0px; position: fixed; display: block;	z-index: 10; background: white;	opacity: 0.1; filter: alpha(opacity=0.1);}
  /*
  #loading {width: 100%; height: 100%; top: 0px; margin:0px !important; left: 0px; position: fixed; display: block; opacity: 0.7;	background-color: #fff;	z-index: 101; text-align: center;}
  */
  #loading {
    width: 100%; height: 100%; top: 0px; margin:0px !important; left: 0px; display: block; opacity: 0.7;	background-color: #fff;	z-index: 101; text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid black;
}

#loading-div {
  width: 100%;
  height: 100%;
  top: 50%;
  position: fixed;
}

/*
  #loading-image {position: absolute; top: 50%; left: 50%; z-index: 101;}
  #loading-label {position: absolute;	top: 50%; left: 47%; z-index: 101; text-align: center;}
@media screen and (min-width:0px) and (max-width:320px) {
    #loading-label {position: absolute;	top: 50%; left: 38%; z-index: 101; text-align: center;}
}
@media screen and (min-width:320px) and (max-width:360px) {
  #loading-label {position: absolute;	top: 50%; left: 38%; z-index: 101; text-align: center;}
}
@media screen and (min-width:360px) and (max-width:410px) {
  #loading-label {position: absolute;	top: 50%; left: 38%; z-index: 101; text-align: center;}
}
@media screen and (min-width:410px) and (max-width:460px) {
  #loading-label {position: absolute;	top: 50%; left: 38%; z-index: 101; text-align: center;}
}
@media screen and (min-width:460px) and (max-width:640px) {
  #loading-label {position: absolute;	top: 50%; left: 41%; z-index: 101; text-align: center;}
}
@media screen and (min-width:640px) and (max-width:768px) {
  #loading-label {position: absolute;	top: 50%; left: 44%; z-index: 101; text-align: center;}
}
@media screen and (min-width:768px) and (max-width:1024px) {
  #loading-label {position: absolute;	top: 50%; left: 44%; z-index: 101; text-align: center;}
}
*/