.preloader {
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background-color: rgba(255, 255, 255, 1);
	opacity: 1;
	text-align: center;
	animation-name: PreloaderControlAnimation;
	animation-duration: 0.5s;
	animation-iteration-count: 1;
}

.preloader svg {
	display: none;
}

.preloader img {
	width: 250px;
}

html:not(.loaded):not(.preloader-fast) .preloader {
	animation-duration: 3s;
}

html.loaded .preloader {
	z-index: -999999;
	opacity: 0;
	animation-name: PreloaderOutAnimation;
	animation-duration: 1.5s;
	animation-iteration-count: 1;
}

.preloader-logo {
	width: 250px;
	height: auto;
	min-height: 69px;
}

.preloader-logo.img-loaded {
	transition: all .4s ease-in-out 0s;
	opacity: 1;
}

@keyframes PreloaderOutAnimation {
	0% {
		z-index: 999999;
		opacity: 1;
	}
	99% {
		z-index: 999999;
		opacity: 0.01;
	}
	100%{
		z-index: -999999;
		opacity: 0;
	}
}

#PreloaderLogo {
	max-width: 300px;
	text-align: center;
}

#PreloaderLogo path {
	stroke: transparent;
}

html:not(.loaded):not(.preloader-fast) #PreloaderLogo path {
	animation-timing-function: linear;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-delay: 0s;
	animation-duration: 1.75s;
	stroke-dasharray: 2500;
	stroke-dashoffset: 0;
	stroke-miterlimit:10;
}

html:not(.loaded):not(.preloader-fast) #PreloaderLogoEscudo path {
	animation-name: PreloaderEscudoPath;
}

html:not(.loaded):not(.preloader-fast) #PreloaderLogoTexto path {
	animation-name: PreloaderTextoPath;
}


#PreloaderLogoEscudo > path {
	fill: #A50932;
}

#PreloaderLogoTexto > path {
	fill: #fff;
}

@keyframes PreloaderEscudoPath {
	0% {
		stroke-dashoffset: 2500;
		fill: transparent;
		stroke: #A50932;
	}
	57% {
		stroke-dashoffset: 0;
		fill: transparent;
		stroke: #A50932;
	}
	
	100% {
		stroke: transparent;
		stroke-dashoffset: 0;
	}
}
@keyframes PreloaderTextoPath {
	0% {
		stroke-dashoffset: 2500;
		fill: transparent;
		stroke: #fff;
	}
	57% {
		stroke-dashoffset: 0;
		fill: transparent;
		stroke: #fff;
	}
	
	100% {
		stroke: transparent;
		stroke-dashoffset: 0;
	}
}

@keyframes PreloaderControlAnimation {
	0% {
		text-align: center;
	}
	100% {
		text-align: center;
	}
}

.preloader-animation {
	display: inline-block;
	text-align: center;
	margin-top: 25px;
}

html:not(.loaded):not(.preloader-fast) .preloader-animation {
	opacity: 0;
	animation-name: PreloaderRingWrapper;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-delay: 1.75s;
	animation-duration: 0.4s;
}

@keyframes PreloaderRingWrapper {
	0% {
		opacity: 0;
	}
	100% {
		text-align: center;
		opacity: 1;
	}
}


.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 98%;
  height: 98%;
  margin: 1%;
  border-radius: 50%;
  border: 5px solid ;
  border-color:  transparent  transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/** ====== Animation home ====== **/
html.loaded .onload {
    opacity: 1;
    animation-iteration-count: 1;
    animation-delay: 0s;
}

html.loaded .onload.onload-1 {
    animation-name: OnLoad1;
    animation-duration: 2.2s;
}
html.loaded .onload.onload-2 {
    animation-name: OnLoad2;
    animation-duration: 2.9s;
}
html.loaded .onload.onload-3 {
    animation-name: OnLoad3;
    animation-duration: 3.6s;
}
html.loaded .onload.onload-4 {
    animation-name: OnLoad4;
    animation-duration: 4.3s;
}

@keyframes OnLoad1 {
	0%, 68.18% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes OnLoad2 {
	0%, 75.86% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes OnLoad3 {
	0%, 80.55% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes OnLoad4 {
	0%, 83.72% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes OnLoad {
  0% {
      opacity: 0;
  }
  50% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

/*
html.loaded .onload {
    opacity: 0;
    animation-iteration-count: 1;
    animation-delay: 4s;
}

.onload.onload-1 {
    animation-name: OnLoad;
    animation-duration: 1.5s;
}
.onload.onload-2 {
    animation-name: OnLoad;
    animation-duration: 3s;
}
.onload.onload-3 {
    animation-name: OnLoad;
    animation-duration: 4.5s;
}
.onload.onload-4 {
    animation-name: OnLoad;
    animation-duration: 6s;
}

@keyframes OnLoad {
  0% {
      opacity: 0;
  }
  50% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
*/