#preloader {
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d50008;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #ffffff;
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}
#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgb(0, 0, 0);
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

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

.loading {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 4px solid rgba(224, 20, 9, 0.705);
  border-radius: 50%;
  border-top-color: #d50008;
  animation: spin 1s ease-in-out infinite;
}
.loading.in-dropdown{
  position: absolute;
  top: 20px;
  right: 30px;
}

.loading-xs {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(224, 20, 9, 0.705);
  border-radius: 50%;
  border-top-color: #d50008;
  animation: spin 1s ease-in-out infinite;
}
.loading-xs.in-dropdown{
  position: absolute;
  top: 10px;
  right: 35px;
}

/* loading dots */
.looping-rhombuses-spinner, .looping-rhombuses-spinner * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.looping-rhombuses-spinner {
  width: calc(15px * 4);
  height: 15px;
  position: relative;
  left: 50%;
  top: 50%;
}

.looping-rhombuses-spinner .rhombus {
  height: 15px;
  width: 15px;
  background-color: #d50008;
  left: calc(15px * 4);
  position: absolute;
  margin: 0 auto;
  border-radius: 2px;
  -webkit-transform: translateY(0) rotate(45deg) scale(0);
          transform: translateY(0) rotate(45deg) scale(0);
  -webkit-animation: looping-rhombuses-spinner-animation 2500ms linear infinite;
          animation: looping-rhombuses-spinner-animation 2500ms linear infinite;
}

.looping-rhombuses-spinner .rhombus:nth-child(1) {
  -webkit-animation-delay: calc(2500ms * 1 / -1.5);
          animation-delay: calc(2500ms * 1 / -1.5);
}

.looping-rhombuses-spinner .rhombus:nth-child(2) {
  -webkit-animation-delay: calc(2500ms * 2 / -1.5);
          animation-delay: calc(2500ms * 2 / -1.5);
}

.looping-rhombuses-spinner .rhombus:nth-child(3) {
  -webkit-animation-delay: calc(2500ms * 3 / -1.5);
          animation-delay: calc(2500ms * 3 / -1.5);
}

@-webkit-keyframes looping-rhombuses-spinner-animation {
  0% {
    -webkit-transform: translateX(0) rotate(45deg) scale(0);
            transform: translateX(0) rotate(45deg) scale(0);
  }
  50% {
    -webkit-transform: translateX(-233%) rotate(45deg) scale(1);
            transform: translateX(-233%) rotate(45deg) scale(1);
  }
  100% {
    -webkit-transform: translateX(-466%) rotate(45deg) scale(0);
            transform: translateX(-466%) rotate(45deg) scale(0);
  }
}

@keyframes looping-rhombuses-spinner-animation {
  0% {
    -webkit-transform: translateX(0) rotate(45deg) scale(0);
            transform: translateX(0) rotate(45deg) scale(0);
  }
  50% {
    -webkit-transform: translateX(-233%) rotate(45deg) scale(1);
            transform: translateX(-233%) rotate(45deg) scale(1);
  }
  100% {
    -webkit-transform: translateX(-466%) rotate(45deg) scale(0);
            transform: translateX(-466%) rotate(45deg) scale(0);
  }
}

.lds-ellipsis {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d50008;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
