.servbigLoader, #preloader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.servbigLoader {
    background-color: rgba(0,0,0, .3);
    z-index: 1070;
}

#preloader {
    background-color: #fff;
    z-index: 9999;
    transition-duration: .3s;
}

.servbigLoader.hide, #preloader.hide {
    opacity: 0;
    pointer-events: none;
}
.aml-loader {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.aml-loader .content {
    max-width: 500px;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    width: 500px;
}
@media (max-width: 992px){
    .aml-loader .content {
        max-width: 300px;
    }
}

.aml-loader .content img {
    width: 60%;
    margin: 0 auto;
    max-width: unset;
}

.aml-loader .content .border {
    background-color: #a37f3d;
}

.aml-loader .content .border.top,
.aml-loader .content .border.bottom {
    height: 5px;
    width: 100%;
}

.aml-loader .content .border.left,
.aml-loader .content .border.right {
    width: 5px;
    height: 100%;
}

.aml-loader .content .border {
    position: absolute;
}

.aml-loader .content .border.top {
    top: 0;
    left: -100%;
    animation: animate1 2s linear infinite;
}

.aml-loader .content .border.bottom {
    bottom: 0;
    right: -100%;
    animation: animate3 2s linear infinite;
}

.aml-loader .content .border.left {
    left: 0;
    bottom: -100;
    animation: animate4 2s linear infinite;
}

.aml-loader .content .border.right {
    right: 0;
    top: -100%;
    animation: animate2 2s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }

    20% {
        left: 0;
    }

    40% {
        left: 100%;
    }

    60% {
        left: 100%;
    }

    80% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes animate2 {
    0% {
        top: -100%;
    }

    20% {
        top: -100%;
    }

    40% {
        top: 0;
    }

    60% {
        top: 100%;
    }

    80% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

@keyframes animate3 {
    0% {
        right: -100%;
    }

    20% {
        right: -100%;
    }

    40% {
        right: -100%;
    }

    60% {
        right: 0;
    }

    80% {
        right: 100%;
    }

    100% {
        right: 100%;
    }
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }

    20% {
        bottom: -100%;
    }

    40% {
        bottom: -100%;
    }

    60% {
        bottom: -100%;
    }

    80% {
        bottom: 0;
    }

    100% {
        bottom: 100%;
    }
}
.dot {
    display: inline-block;
    margin: 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 0.4em;
    animation-name: dots;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }

  @keyframes dots {
    50% {
      opacity: 0;
      transform: scale(0.7) translateY(10px);
    }
  }

.dot-1 {
    animation-delay: 0.2s;
}

.dot-2 {
    animation-delay: 0.4s;
}

.dot-3 {
    animation-delay: 0.6s;
}

.dot-4 {
    animation-delay: 0.8s;
}
