.splash-screen {
  /* background-color: #f8f8f8; */
  background-image: url("../../images/splash_screen.jpg");
  /* background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQd_dSQu1K7F0dhdpdrPCHEC7nMhNMnZcXDPt2auyzrTkmrHgvd"); */
  background-size: cover;
  max-width: 1920px;
  width: 100%;
  height: 100%;
}

.splash-screen .splash-container {
  padding-top: 45vh;
  width: 250px;
  margin: 0 auto;
  text-align: center !important;
}

.splash-screen .logo {
  display: inline-block;
  vertical-align: middle;
  width: 200px;
  height: 30px;
  background: url("../../images/mps-logo-animated.gif") top left no-repeat;
  background-size: 200px 30px;
}

.logo-image {
  content: url('../../medpharm-logo.png');
}

.splash-screen .load-bar {
  position: relative;
  margin-top: 20px;
  width: 100%;
  height: 6px;
  background-color: #ffffff;
}

.splash-screen .bar {
  content: "";
  display: inline;
  position: absolute;
  width: 0;
  height: 100%;
  left: 50%;
  text-align: center;
}

.splash-screen .bar:nth-child(1) {
  background-color: #E91E63;
  animation: loading 2s linear infinite;
}

.splash-screen .bar:nth-child(2) {
  background-color: #8BC34A;
  animation: loading 2s linear 2s infinite;
}

.splash-screen .bar:nth-child(3) {
  background-color: #FFC107;
  animation: loading 2s linear 2s infinite;
}

@keyframes loading {
  from {
    left: 50%;
    width: 0;
    z-index: 100;
  }
  33.3333% {
    left: 0;
    width: 100%;
    z-index: 10;
  }
  to {
    left: 0;
    width: 100%;
  }
}

.splash-loading {
  position: relative;
  z-index: 999;
  width: 101px;
  height: 3px;
  overflow: show;
  margin: auto;
  top: 60px;
  bottom: 0;
  right: 0;
}

.loading-bar {
  animation: sideToside 2s ease-in-out infinite;
  /*change this for the color of the sideToside line*/
  background-color: #2e6da4;
  height: 100%;
  position: absolute;
  width: 50%;
}

@keyframes sideToside {
  0%,
  100% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(150%);
  }
}
