/* Your custom CSS here */

/* --- Стили для индикатора загрузки нового объявления --- */

#new-ad-loader {
    position: relative;
    width: 100%;
    height: 21px;
    margin-bottom: 20px;
    overflow: hidden;
}

@keyframes progress1 {
    0% {
        transform: scalex(0);
        opacity: .5;
    }
    90% {
        transform: scalex(1);
        opacity: 1;
    }
    92% {
        transform: scalex(1);
        opacity: 1;
    }
    100% {
        transform: scalex(1);
        opacity: 0;
    }
}

@keyframes progress2 {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    90% {
        transform: translateX(300px);
        opacity: 1;
    }
    100% {
        transform: translateX(300px);
        opacity: 0;
    }
}

.line {
    position: absolute;
    top: 50%;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    height: 3px;
    background: rgba(255,255,255,.1);
}

.line:before {
    animation: progress1 3s infinite;
    transform-origin: 0 0;
    content: "";
    display: block;
    width: 300px;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(46, 198, 222, 0.1) 10%,
            rgba(46, 198, 222, 0.6) 80%,
            rgba(46, 198, 222, 1)
    );
}

.line:after {
    content: "";
    position: absolute;
    animation: progress2 3s infinite;
    transform-origin: 90% 50%;
    margin-left: -24px;
    top: -9px;
    width: 30px;
    height: 21px;
    border-radius: 2px;
    background: rgba(210,189,255,.55);
    filter: blur(8px);
    box-shadow:
            0 0 10px 6px rgba(46,198,222,0.4),
            -20px 0 15px 4px rgba(46,198,222,0.3),
            -40px 0 15px 2px rgba(46,198,222,0.2),
            -60px 0 10px 1px rgba(46,198,222,0.1),
            -80px 0 10px 1px rgba(46,198,222,0.05);
}



