/**
 * Copyright © 2016-2024 The Thingsboard Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.tb-xloader-spinner {
  margin: auto;
  z-index: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 200px;
  height: 134px;
  text-align: center;
}

.tb-xloader-spinner > .tb-xloader-spinner__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 134px;
}

.tb-xloader-spinner > .tb-xloader-spinner__inner img {
  width: 200px;
  height: 134px;
}

.tb-xloader-spinner > .tb-xloader-spinner__inner .wrap-fill {
  position: absolute;
  top: 0px;
  height: 134px;
  width: 134px;
  overflow: hidden;

  -webkit-animation: x-fill 1.4s infinite ease-in-out;
  -moz-animation: x-fill 1.4s infinite ease-in-out;
  animation: x-fill 1.4s infinite ease-in-out;
}

.tb-xloader-spinner > .tb-xloader-spinner__inner .wrap-fill img {
  position: absolute;
  top: 0px;

  -webkit-animation: x-img-fill 1.4s infinite ease-in-out;
  -moz-animation: x-img-fill 1.4s infinite ease-in-out;
  animation: x-img-fill 1.4s infinite ease-in-out;
}

@-webkit-keyframes x-fill {
  0% { width: 0px; left: 0px; right: auto; }
  40% { width: 200px; left: 0px; right: auto; }
  50% { width: 200px; left: auto; right: 0px;  }
  90% { width: 0px; left: auto; right: 0px;  }
  100% { width: 0px; left: 0px; right: auto; }
}

@-moz-keyframes x-fill {
  0% { width: 0px; left: 0px; right: auto; }
  40% { width: 200px; left: 0px; right: auto; }
  50% { width: 200px; left: auto; right: 0px;  }
  90% { width: 0px; left: auto; right: 0px;  }
  100% { width: 0px; left: 0px; right: auto; }
}

@keyframes x-fill {
  0% { width: 0px; left: 0px; right: auto; }
  40% { width: 200px; left: 0px; right: auto; }
  50% { width: 200px; left: auto; right: 0px;  }
  90% { width: 0px; left: auto; right: 0px;  }
  100% { width: 0px; left: 0px; right: auto; }
}

@-webkit-keyframes x-fill {
  0% { left: 0px; right: auto; }
  40% { left: 0px; right: auto; }
  50% { left: auto; right: 0px;  }
  90% { left: auto; right: 0px;  }
  100% { left: 0px; right: auto; }
}

@-moz-keyframes x-fill {
  0% { left: 0px; right: auto; }
  40% { left: 0px; right: auto; }
  50% { left: auto; right: 0px;  }
  90% { left: auto; right: 0px;  }
  100% { left: 0px; right: auto; }
}

@keyframes x-img-fill {
  0% { left: 0px; right: auto; }
  40% { left: 0px; right: auto; }
  50% { left: auto; right: 0px;  }
  90% { left: auto; right: 0px;  }
  100% { left: 0px; right: auto; }
}