.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /*background: #e0e0e0;*/
    /* Default/fallback — used on the very first-ever visit, before the
       brand class below is known (see index.html's early inline script). */
    background-image: url("../images/login-bg-pic.jpg");
    z-index: 1001;
  }

  /* Same image also used by the login views' .login-bg (views/login/*.html,
     via ng-src="images/wl/{{brand}}/login-bg-pic.jpg" once Angular has
     loaded) — kept in sync here for the preloader, which shows before
     Angular is available to do that templating. */
  html.brand-fieldbee .preloader {
    background-image: url("../images/wl/fieldbee/login-bg-pic.jpg");
  }

  html.brand-cojali .preloader {
    background-image: url("../images/wl/cojali/login-bg-pic.jpg");
  }

  html.brand-latitude .preloader {
    background-image: url("../images/wl/latitude/login-bg-pic.jpg");
  }
  
  .preloader__row {
    position: relative;
    top: calc(50% - 105px);
    left: calc(50% - 105px);
    width: 210px;
    height: 210px;
    margin-top: -35px;
    margin-left: -35px;
    text-align: center;
    animation: preloader-rotate 2s infinite linear;
  }
  
  .preloader__item {
    position: absolute;
    display: inline-block;
    top: 0;
    background-color: var(--brand-primary, #A0CC73);
    border-radius: 100%;
    width: 45px;
    height: 45px;
    animation: preloader-bounce 2s infinite ease-in-out;
  }
  
  .preloader__item:last-child {
    top: auto;
    bottom: 0;
    animation-delay: -0.3s;
  }
  
  @keyframes preloader-rotate {
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes preloader-bounce {
  
    0%,
    100% {
      transform: scale(0);
    }
  
    50% {
      transform: scale(1);
    }
  }
  
  .loaded_hiding .preloader {
    transition: 0.2s opacity;
    opacity: 0;
  }
  
  .loaded .preloader {
    display: none;
  }
