/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@-webkit-keyframes spin_b {
  0% { -webkit-transform: rotate(360deg); }
  100% { -webkit-transform: rotate(0deg); }
}
@keyframes spin_b {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

.rotate { /* for own images backward */
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}
.rotate_backwards { /* for own images backward */
    -webkit-animation: spin_b 2s linear infinite; /* Safari */
    animation: spin_b 2s linear infinite;
  }

.loader_icon {
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    border-bottom: 4px solid #3498db;
    margin-top: 10px;
    margin-left: 10px;
    text-align: center;
  }

  .loader_icon_nc {
    width: auto;
    height: 50%;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid;
    color: brightness(50%);
    border-bottom: 4px solid #3498db;
    color: brightness(-50%);
    margin-top: 10px;
    margin-left: 10px;
    text-align: center;
  }



  .loader_table {
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #000000;
    border-bottom: 4px solid #000000;
    margin-top: 10px;
    margin-left: 10px;
    text-align: center;
  }



  #loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
  }
