/*Preloader*/

.preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity .5s ease-in-out;
    background-color: #fefefe;
    z-index: 99999;
    overflow: hidden;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
}

.loader div {
    position: absolute;
    width: 6.4px;
    height: 6.4px;
    background: #fc5f45;
    border-radius: 50%;
    animation: loader 1.2s linear infinite;
}

.loader div:nth-child(1) {
    animation-delay: 0s;
    top: 36.8px;
    left: 66.24px;
}

.loader div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22.08px;
    left: 62.29579px;
}

.loader div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11.30421px;
    left: 51.52px;
}

.loader div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7.36px;
    left: 36.8px;
}

.loader div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11.30421px;
    left: 22.08px;
}

.loader div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22.08px;
    left: 11.30421px;
}

.loader div:nth-child(7) {
    animation-delay: -0.6s;
    top: 36.8px;
    left: 7.36px;
}

.loader div:nth-child(8) {
    animation-delay: -0.7s;
    top: 51.52px;
    left: 11.30421px;
}

.loader div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62.29579px;
    left: 22.08px;
}

.loader div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66.24px;
    left: 36.8px;
}

.loader div:nth-child(11) {
    animation-delay: -1s;
    top: 62.29579px;
    left: 51.52px;
}

.loader div:nth-child(12) {
    animation-delay: -1.1s;
    top: 51.52px;
    left: 62.29579px;
}

@keyframes loader {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

/*Efecto de opacidad*/

.preloader.deshabilitar {
    opacity: 0;
}

/*Desaparicion completa*/

.preloader.desaparecer {
    display: none;
}

/*Retardo 0.1s loader*/

.loader.oculto {
    display: none;
}

/*Deshabilitar scroll en movil*/

@media only screen and (max-width: 960px) {
    body.deshabilitar-scroll {
        overflow: hidden;
    }
}