.loader-wrapper {
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999999;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;

    &.show {
        display: flex;
    }

    .loader {
        border: 6px solid #f3f3f3;
        border-radius: 50%;
        border-top: 6px solid $primary;
        width: 50px;
        height: 50px;
        -webkit-animation: spin 2s linear infinite;
        /* Safari */
        animation: spin 2s linear infinite;
    }
}

/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ui-autocomplete-loading {
    background: url("../images/indicator.gif") no-repeat 98% center;
    background-size: 22px;
}
