.circle-loader {
    margin: 0 auto;
    padding: 0;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-left-color: #5cb85c;
    animation-name: loader-spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    position: relative;
}

.circle-loader,
.circle-loader:after {
    border-radius: 50%;
    width: 8em;
    height: 8em;
}

.circle-loader.white {
    border-color: #ffffff;
}

.circle-loader.small,
.circle-loader.small:after {
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.overlay-loader {
    width: 124px;
    height: 124px;
    position: absolute;
    top: 50%;
    margin-top: -62px;
    left: 50%;
    margin-left: -62px;
    z-index: 25;
}

.overlay-loader .circle-loader {
    border: 10px solid rgba(0, 0, 0, 0.0);
    border-left: 10px solid #ffffff;
}

.load-complete {
    -webkit-animation: none;
    animation: none;
    border-color: #5cb85c;
    transition: border 500ms ease-out;
}

.checkmark {
    opacity: 0;
}

.load-complete .checkmark.draw {
    opacity: 1;
}

.load-complete.white .checkmark:after {
    border-color: #ffffff;
}

.checkmark.draw:after {
    animation-duration: 1.2s;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
}
.small .checkmark.draw:after {
    animation-duration: 1.2s;
    animation-timing-function: ease;
    animation-name: checkmark-small;
    transform: scaleX(-1) rotate(135deg);
}

.checkmark:after {
    opacity: 1;
    height: 4em;
    width: 2em;
    transform-origin: left top;
    border-right: 2px solid #5cb85c;
    border-top: 2px solid #5cb85c;
    content: '';
    left: 2em;
    top: 4em;
    position: absolute;
}
.small .checkmark:after {
    opacity: 1;
    height: 16px;
    width: 8px;
    transform-origin: left top;
    border-right: 2px solid #5cb85c;
    border-top: 2px solid #5cb85c;
    content: '';
    left: 7px;
    top: 16px;
    position: absolute;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    20% {
        height: 0;
        width: 2em;
        opacity: 1;
    }
    40% {
        height: 4em;
        width: 2em;
        opacity: 1;
    }
    100% {
        height: 4em;
        width: 2em;
        opacity: 1;
    }
}

@keyframes checkmark-small {
    0% {
        height: 0;
        width: 0;
        opacity: 0;
    }
    20% {
        height: 0;
        width: 8px;
        opacity: 1;
    }
    40% {
        height: 16px;
        width: 8px;
        opacity: 1;
    }
    100% {
        height: 16px;
        width: 8px;
        opacity: 1;
    }
}

/* animation for procenka // compare sms send // bo.procenka.css // .sms-send-loader .checkmark:after 
@keyframes checkmark-sms-send {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    20% {
        height: 0;
        width: 8px;
        opacity: 1;
    }
    40% {
        height: 16px;
        width: 8px;
        opacity: 1;
    }
    100% {
        height: 16px;
        width: 8px;
        opacity: 1;
    }
}*/




/* Анимированный лоадер на кнопке в магазине */
.dot-loader::before, .dot-loader::after, .dot-loader {
    border-radius: 50%;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: dot-loader 1.3s infinite ease-in-out;
    animation: dot-loader 1.3s infinite ease-in-out;
}

.dot-loader {
    color: currentcolor;
    position: absolute;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
    display: inline-block;
    width: 17px;
    height: 17px;
    color: inherit;
    color: #cfcfcf;
    vertical-align: middle;
    pointer-events: none;
    position: absolute;
    left: 50%;
    margin-left: -9px;
}

.dot-loader::before, .dot-loader::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: inherit;
    height: inherit;
}
.dot-loader::after {
    left: 100%;
}
.dot-loader::before {
    right: 100%;
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

@keyframes dot-loader {
	0%,
	80%,
	100% {
		box-shadow: 0 1em 0 -1em;
	}
	40% {
		box-shadow: 0 1em 0 -.2em;
	}
}
